U Type A80BDE-J61BT13 CC-Link System Local Interface Board Type A80BDE-J61BT13 CC-Link System Local Interface Board , , User s Manual (For SW4DNF-CCLINK-B) A80BDBT13-SW4-U-E MODEL CODE 13JR29 IB(NA)-0800176-G(0511)MEE HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN , Type A80BDE-J61BT13 CC-Link System Local Interface Board User s Manual (For SW4DNF-CCLINK-B) MODEL User s Manual (For SW4DNF-CC
• SAFETY PRECAUTIONS • (Be sure to read these instructions before using the product.) Before using this product, read this manual and the relevant manuals introduced in this manual carefully and handle the product correctly with full attention to safety. Note that these precautions apply only to this product. Refer to the user's manual of the CPU module for the PLC system safety precautions. In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".
[INSTALLATION PRECAUTIONS] ! CAUTION • Use the CC-Link board in an environment as described in the general specifications listed in this operating manual. If the board is used in an environment outside the ranges described in the general specifications, it may result in an electric shock, fire, malfunctioning, damage to or deterioration of the product. • Do not directly touch the conductive area of the CC-Link board. This will result in malfunctioning or failure of the CC-Link board.
! CAUTION • Always house the communication cable and power cable connected to the CC-Link board in a duct or secure it using clamps. If the cables are not housed in a duct or secured with clamps, the cable may dangle, move or be pulled inadvertently. This can cause damage to the CC-Link board or cable, or create a faulty contact with the cable which may lead to. • When disconnecting the communication or power cable connected to the CC-Link board, do not grasp and pull the cable.
REVISIONS The manual number is given on the bottom left of the back cover. Print Date Dec., 2000 Jun., 2001 Manual Number Revision IB(NA)-0800176-A First printing IB(NA)-0800176-B Correction CONTENTS, About the Generic Terms and Abbreviations, Section 1.2, Section 3.4, Subsection 6.1.2, Subsection 7.2.3, Subsection 8.1.2, Subsection 9.3.2, Section 9.4, Section 11.3, Subsection 11.3.1 Addition Subsection 7.2.4, Subsection 7.2.5, Section 9.8, Chapter 10 Jan., 2002 IB(NA)-0800176-C Correction Section 3.
Precautions for use (1) Operating environment of the personal computer used Refer to Section 3.4 Operating Environment in this manual. (2) Multi-thread communication Multi-thread communication is not supported. (3) Installation Install the SW4DNF-CCLINK-B after uninstalling SWnDNF-CCLINK. (4) Overwrite installation When performing an overwrite installation, install in the same folder where the previous program is installed.
INTRODUCTION Thank you for purchasing the Type A80BDE-J61BT13 CC-Link System Local Interface Board. Before using the equipment, please read this manual carefully to develop full familiarity with the functions and performance of the Type A80BDE-J61BT13 CC-Link System Local Interface Board you have purchased, so as to ensure correct use. Please forward a copy of this manual to the end user. CONTENTS SAFETY PRECAUTIONS.............................................................................................
5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION 5- 1 to 5- 7 5.1 Procedure Up to the Point of Operation ................................................................................................. 55.2 Installation ............................................................................................................................................... 55.2.1 Precautions when handling............................................................................................................
7.4 Error Viewer ............................................................................................................................................ 7-25 7.4.1 Screen description............................................................................................................................ 7-25 7.4.2 Log menu.......................................................................................................................................... 7-26 7.4.3 View menu......................
Manuals The following table list the manuals relevant to this product. You can order them as necessary. Relevant Manuals Manual Number (Type Code) Manual Name CC-Link System Master/ Local type AJ61BT11/A1SJ61BT11 User’s Manual This manual explains the system configuration, performance specifications, functions, handling, wiring and troubleshooting for the AJ61BT11 and A1SJ61BT11.
How to Read the Manual "How to Read the Manual" is listed according to the objective when using the CC-Link board. Refer to the following when using this manual. (1) To learn about the features of the CC-Link board (Section 1.1) The features are described in Section 1.1. (2) To learn about compatibility with existing software (Section 1.2) Compatibility with existing software is described in Section 1.2.
Generic Terms and Abbreviations Unless specifically noted, this manual uses the abbreviations and generic terms listed below to explain the Type A80BDE-J61BT13 CC-Link System local interface boards.
Product List The product list for the CC-Link board is given in the table below. Product name A80BDE-J61BT13 CC-Link System local interface board SW4DNF-CCLINK-B model CC-Link software package Quantity 1 1 (Floppy disks; set of 6) Type A80BDE-J61BT13 CC-Link System local interface board user's manual (this manual) 1 Software use agreement 1 Note The terminal resistor is packaged with the CC-Link system master and local modules.
1 OVERVIEW MELSEC 1 OVERVIEW This manual explains the specifications for, and how to handle and monitor the Type A80BDE-J61BT13 CC-Link System local interface board (hereinafter abbreviated as CC-Link board) that is included in the CC-Link system, and loaded as an optional board in the PCI bus of an IBM PC/AT compatible PC. The A80BDE-J61BT13 is applicable to the following CC-Link system. • Applicable to the CC-Link system local station(s). 1.1 Features The I/F board has the features described below.
1 OVERVIEW MELSEC 1.2 Combinations of Boards with Existing Software 1 This section describes the combinations of boards with existing software. (1) When using the CC-Link board and other interface boards in the same PC Board model name Q80BD-J71LP21-25 Q80BD-J71LP21G Q80BD-J71LP21GE Q80BD-J71BR11 Supported OS Software package name DOS NT 3.51 Win 95 Win 98 Win Me NT 4.
1 OVERVIEW MELSEC (2) When using the CC-Link board, Communication Support Software Tool and GX Developer in the same PC Software name Supported OS Software package name DOS NT 3.51 Win 95 1 SW1D5F-CSKP-E Win 98 Win Me NT 4.
2 EMC COMMAND MELSEC 2 EMC COMMAND 2.1 Requirements for EMC Command Compliance EMC commands, which are among the European command sets, are now enforced. The EMC commands regulate "emission (electromagnetic interference)," which requires that a device not emit strong electromagnetic waves externally, and "immunity (electromagnetic sensitivity)," which requires that a device have the ability to resist external electromagnetic waves.
2 EMC COMMAND MELSEC 2.1.2 Installation on the control panel Installing devices on the control panel has a considerable effect not only in securing safety but also in shutting down the noise generated from the PC by the control panel. (1) Control panel (a) Use an electrically conductive control panel. (b) When fastening tightening the control panel's top or bottom panel with bolts, mask the coating so that surface contact is feasible.
2 EMC COMMAND MELSEC 2.1.3 Cable Because the cable that runs from the control panel contains high frequency noise, outside the control panel it acts as an antenna and radiates noise. Always use shielded cable for cable that runs outside the control panel. Except for certain models, using the ferrite core is not mandatory. However, the noise radiated via cable can be suppressed more effectively by mounting a ferrite core. Using a shielded cable is also effective in raising noise resistance.
2 EMC COMMAND MELSEC (2) Grounding treatment for the CC-Link dedicated cable (a) Always ground the twisted cable connected to the CC-Link master station, local station and remote station. Since the twisted cable is a shielded cable, remove part of the outer sheath. Then ground the exposed part of the shield indicated in the figure below as wide a surface area as possible. Control panel All of this area should be grounded. Always use the cable specified for this cable.
2 EMC COMMAND MELSEC 2.1.4 Noise filter (power supply line filter) A noise filter is a part that has a considerable effect in preventing conductive noise. Except for a few models, installation of a noise filter to the power supply line is not mandatory. However, the installation of a noise filter can suppress noise at a higher rate (a noise filter is effective for reducing noise emitted in the range below 10MHz). Use a noise filter equivalent to the models shown below.
3 SYSTEM CONFIGURATION MELSEC 3 SYSTEM CONFIGURATION The configuration for a system using the CC-Link board is explained below. 3.1 System Configuration for A80BDE-J61BT13 The following indicates the system configuration when an CC-Link board is used. The CC-Link board can be connected to a maximum of up to 26 modules per 1 master station. However, the following conditions must be fulfilled.
3 SYSTEM CONFIGURATION MELSEC 3.2 Applicable System The CC-Link system master module which can use an CC-Link board is explained below. The master module that can use an CC-Link board is the product with function version B or later and software version N or later. The product with earlier versions than those listed above cannot use an CC-Link board. The function version is recorded in the DATE column of the rated plate.
3 SYSTEM CONFIGURATION MELSEC 3.3 About Ver. 1.10 A product with a cable length of 20cm or longer between stations, which has been achieved by improving the restriction on the conventional cable distance between the stations, is defined as Ver. 1.10. Whereas, the conventional product is defined as Ver. 1.00. For the maximum total cable length for the Ver. 1.10 products, see Section 4.2.2.
3 SYSTEM CONFIGURATION MELSEC 3.4 Operating Environment The following table shows the operating environment for the CC-Link board. Item Personal computer Description CPU Required memory PCI bus specifications 4, Operating system 5 IBM-PC/AT-compatible personal computer with one or more PCI bus slots, satisfying the specifications described below in "Applicable operating system and the corresponding required PC performance" 1, 2, 3.
3 SYSTEM CONFIGURATION MELSEC Applicable operating system and the corresponding required PC performance Description Operating system CPU Pentium Pentium Pentium Pentium Pentium Windows 95 R Windows 98 R Windows NT Workstation 4.
3 SYSTEM CONFIGURATION MELSEC MEMO 3-6 3-6
4 SPECIFICATION MELSEC 4 SPECIFICATION The performance specifications and functions of the CC-Link board are explained below. 4.1 General Specification (1) The following table indicates general specifications of the CC-Link board. Item Specification Usage ambient temperature 0 to 55 °C Storage ambient temperature -20 to 75 °C Usage ambient humidity 10 to 90 %RH, no condensation Storage ambient humidity 10 to 90 %RH, no condensation Frequency Amplitude Sweep count 0.
4 SPECIFICATION MELSEC 4.2 Performance Specifications The following table indicates the performance specifications for the CC-Link board. Item Specification Transmission speed 156 kbps, 625kbps, 2.5 Mbps, 5 Mbps or 10 Mbps can be selected Maximum transmission distance Differs depending on the transmission speed. (Refer to Section 4.2.1, 4.2.
4 SPECIFICATION MELSEC 4.2.1 Maximum overall cable distance (for Ver. 1.
4 SPECIFICATION MELSEC (Example) When the transmission rate is 10 Mbps, and 43 remote I/O stations and remote device stations are connected using the CC-Link dedicated high performance cable, because the cable connecting the second and third stations is "35 cm (13.78 in.)", the maximum overall cable distance will be "80 cm (31.5 in.)". Master station First Second Third 4th 43th Remote I/O station Remote device station Remote I/O station Remote I/O station Remote device station 1 m (3.28 ft.
4 SPECIFICATION MELSEC 4.2.2 Maximum overall cable distance (for Ver. 1.10) The relation of the transmission speed and maximum overall cable distance when configuring the entire system with Version 1.10 modules and cable is shown below. Master station Remote I/O station or remote device station Remote I/O station or remote device station Local station or intelligent device station Local station or intelligent device station Station to station cable length Maximum overall cable distance Version 1.
4 SPECIFICATION MELSEC 4.3 CC-Link Dedicated Cable Use the CC-Link dedicated cable for the CC-Link system. If a cable other than the CCLink dedicated cable is used, the performance of the CC-Link system cannot be guaranteed. If you have any questions regarding the CC-Link dedicated cable, or if you wish to see its specifications, see the CC-Link Partner Association homepage http://www.cclink.org/. 4.4 List of Functions The following table lists the CC-Link board functions.
4 SPECIFICATION MELSEC 4.4.1 Multiple PLC system support By setting the logical station number using the CC-Link utility, any PLC of a multiple PLC system in which a QJ61BT11 is installed can be accessed by an IBM PC/AT compatible PC in which a CC-Link board is installed. Using logical station number “65,” an access can be made from an IBM PC/AT compatible PC in which a CC-Link board is installed to the PLC No. 4 via a QJ61BT11 (the control PLC is the PLC No.2).
5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION MELSEC 5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION This section explains the operating procedure up to the point the CC-Link board is operated, as well as the names and setting for each part of the CC-Link board, wiring method and hardware testing. 5.1 Procedure Up to the Point of Operation An outline of the procedure up to the point of CC-Link board operation is explained below. Start Perform CC-Link board settings.
5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION MELSEC 5.2 Installation This section gives precautions when handling the CC-Link board and explains the installation environment. 5.2.1 Precautions when handling The followings are precautions to be noted when handling the CC-Link board. DANGER • Do not touch the terminal or the connector while the power is turned on. Doing so may result in electric shock or cause malfunctioning.
5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION MELSEC 5.2.2 Installation environment See the instruction manual accompanying the PC unit regarding installation of the PC unit in which the CC-Link board is mounted. CAUTION • Always ground the PC unit using grounding type D (Class 3 grounding). Otherwise, there is the risk of malfunctioning. If there is an error in operation even when the PC unit is grounded, ground the FG terminal of the PC unit as well as the SLD terminal of the CC-Link board.
5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION MELSEC 5.3 Name and Setting for Each Part This section explains the name and settings for each part of the CC-Link board. 4) RUN ERR HIGH 1) LOW SD RD 2) 1 2 3) BD NO.
5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION Number 3) Name MELSEC Contents Channel number setting switch Sets the channel number for the CC-Link board. 1 2 ON BD NO. Board number Channel number Switch 1 2 Notes 0 81 OFF OFF 1 82 ON OFF 2 83 OFF ON 3 84 ON ON Default setting Set the board number, so that there is no duplication when two or more CC-Link boards are installed.
5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION MELSEC Master module Terminal resistor Module other QJ61BT11 than QJ61BT11 NC DA NC DB NC DG NC NC NC DA SLD DB Remote module A80BDE-J61BT13 FG DG SLD DA DB DG DA SLD DG +24V 24G NC FG Terminal resistor CC-Link dedicated cable DB SLD FG Ground the SLD terminal of A80BD-J61BT13 as needed [Simplified Diagram] The following shows a simplified diagram of the connection diagram on the previous page.
5 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION MELSEC 5.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC 6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE This section explains how to install and uninstall the software package. 6.1 Installing the Software Package The following explains the installation procedure of the driver and the installation procedure of the utility. 6.1.1 Installing the driver The following explains the installation procedure of the CC-Link board driver.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC (From the previous page) 4. When the screen shown left is displayed, select "Specify a location" and click the Next> button. 5. When the screen shown left is displayed, enter "A:\Win2000\Us" for "Copy manufacturer's files from." Insert Disk 6 into the floppy disk drive, then click the OK button. 6. When the screen shown left is displayed, click the Next> button. 6 7. The installation is complete when the screen shown left is displayed.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC (2) When Microsoft Windows XP Professional Operating System is used. R R 1. Mount a CC-Link board to a PC, and then power on the PC to start Windows XP Professional. R 2. When the screen shown left is displayed, select "Install from a list or specific location (Advanced)" and then click the NEXT button. 3. As the screen shown left is displayed, select "Search for the best driver in these locations".
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC (3) When Microsoft Windows 95 Operating System or Microsoft Windows 98 Operating System is used R R R R 1. Mount the CC-Link board to a PC, then power on the PC to start Windows 95 or Windows 98. R R 2. When the screen shown left is displayed, click the Next> button. 3. When the screen shown left is displayed, select "Search for the best driver for your device [Recommended]," then click the Next> button. 4.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC (From the previous page) 5. The driver file for the device will be searched. Click the Next> button. 6. The installation is complete when the screen shown left is displayed. Click the Finish button.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC 6.1.2 Installing the utility The following explains the installation procedure of the utility. The screens of Windows 2000 Professional are used in the explanation. Therefore, these screens are slightly different from other operating systems. R Install the utilities with reference to REMARK . POINT (1) When using the following Operating systems, logon as a user who has administrator authority.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC (From the previous page) 4. When the screen shown left is displayed, insert Disk 1 into the floppy disk drive and click the Next> button. 5. When the screen shown left is displayed, "Setup.exe" has been found. Click the Finish button and start the installation. If "Setup.exe" was not found, click the Browse... button and change to the location where "Setup.exe" exists. 6.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC (From the previous page) 8. Specify the installation destination folder. The default installation destination folder of SW4DNF-CCLINK-B is "C:\MELSEC." To accept the default, click the Next> button. To change the installation destination folder, click the Browse... button. 9. The installation will start. Switch floppy disks in the order, as instructed on the screen.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC 6.2 Icons to be Registered When the software package is installed, the following icons are registered in [Start] [Programs] - [MELSEC]. REMARK When Windows XP Professional is used, the following icons are registered in [Start] [All Programs] - [MELSEC]. R Icon Utility name CC-Link utility Error Viewer 1: Supported for Windows 6-9 R Description Starts the CC-Link utility. 1 95 and Windows Starts Error Viewer. R 98 only.
6 INSTALLING AND UNINSTALLING THE SOFTWARE PACKAGE MELSEC 6.3 Uninstalling the Software Package The following explains how to uninstall the software package. The screens of Windows 2000 Professional are used in the explanation. Therefore, these screens are slightly different from other Operating systems. R Uninstall the utilities with reference to REMARK . POINT (1) When using the following Operating systems, logon as a user who has administrator authority.
7 UTILITY OPERATION MELSEC 7 UTILITY OPERATION POINT When using the following Operating systems, logon as a user who has administrator authority. • Windows XP Professional • Windows 2000 Professional • Windows NT Workstation 4.0 R R R 7.1 Utility Common Operations This section explains the common operations for each utility. 7.1.1 Starting a utility An utility can be started by clicking on the following menus found in the [Start] – [Program 1] – [MELSEC] menu. Starts the CC-Link Utility.
7 UTILITY OPERATION MELSEC 7.1.3 Ending a utility This section explains how to end a utility. (1) To end the utility, click the Exit button at the bottom of the utility screen. Click ! (2) To end the device monitor utility, click [Menu] – [Exit] from the menu bar. When a dialog box is displayed, clicking the Yes button ends the device monitor utility. 7 Click ! (3) To end the error viewer, click [Log] – [Exit] menu from the menu bar.
7 UTILITY OPERATION MELSEC 7.1.4 Displaying the help screen This section explains how to display the utility's help screen. (1) To display the utility's help screen, click the Help button at the lower right-hand corner of the utility screen. Click ! (2) To display the help screen for the device monitor utility and error viewer, click [Help] – [Help] from the menu bar.
7 UTILITY OPERATION MELSEC 7.1.5 Verifying the version This section explains how to verify the utility version. (1) To verify a utility's version, click the "Version" tab. Click ! (2) To verify the version for the device monitor utility and error viewer, click [Help] [Version] from the menu bar.
7 UTILITY OPERATION MELSEC 7.2 CC-Link Utility This section explains how to operate the CC-Link utilities. 7.2.1 Operation procedure The following explains the operation procedure for the CC-Link utilities. Start · · · · · · See section 5.1. Connect a PC to CC-Link. Perform settings using the CC-Link utilities. Perform settings using the board information screen. · · · · · · See Section 7.2.3. Confirm the host line status using the network monitor screen. · · · · · · See Section 7.2.4.
7 UTILITY OPERATION MELSEC 7.2.2 Operations on Information screen The hardware information that is set for CC-Link board is displayed. Item Channel No. 7-6 Description Displays the channel number. Board Model Name Displays the model of CC-Link board that is connected. IRQ No. Displays the IRQ number that CC-Link board uses. Memory Address Displays the range of dual-port memory that CC-Link board occupies. I/O Port no. Displays the ranges of I/O port that CC-Link board occupies. ROM Ver.
7 UTILITY OPERATION MELSEC 7.2.3 Operations on Board Information screen The card information screen is used to set and to display various information about the installed CC-Link board. POINT When switching screens, set the mode setting to "On-line" or "Off-line." Item Channel Description Sets a channel to be used. Sets information on the host.
7 UTILITY OPERATION MELSEC Item Description Display present status of CC-Link board. LED name LED On RUN ERR. MST LOCAL CPU R/W SW M/S PRM CC-Link system normal Communication abnormal Master station Local station Communicating Switch setting error Master station duplication error Parameter error No response is received from all stations due to cable disconnection or the transmission path being affected by noise.
7 UTILITY OPERATION MELSEC 7.2.4 Operations on Network Monitor screen This screen monitors the line status of the host. POINT To restart monitoring after monitoring stops due to an error, display a screen other than the "Network Monitor" screen first, and then display the "Network Monitor" screen again. Item Description Displays the channel number. Displays the station number of the host. Monitors and displays the startup status of the data link. Channel St.
7 UTILITY OPERATION MELSEC 7.2.5 Operations on Station's Link Status screen Displays the line status of another station. POINT (1) The Station's Link Status only monitors when the host status is "data linking." (2) To restart monitoring after monitoring stops due to an error, display a screen other than the " Station's Link Status" screen first, and then display the "Station's Link Status" screen again. Item Channel Board Setting St. Occupy St. Type Description Sets the channel to be used.
7 UTILITY OPERATION MELSEC Item Description A list of communication status for other stations is displayed. When a reserve station has been set in the data link parameter that is to set in the master station, the reserve station is displayed as a normal communication station in the following list of other station communication statuses. All Station View button 7.2.6 Operations on Target screen Set the logical station number to access a multiple PLC system.
7 UTILITY OPERATION MELSEC 7.2.7 Operations on Memory I/O Test screen Diagnoses the dual-port memory and I/O port used by the CC-Link board. POINT (1) Start the diagnostic operation after disconnecting the external cable. (2) To switch the screens during the diagnostic operation, click the Stop button to terminate the diagnosis and then switch screens. Item Description Channel Set the channel to be used. Diagnose Displays the address being diagnosed and number of the diagnosis and status.
7 UTILITY OPERATION MELSEC 7.2.8 Operations on Network Test screen Tests the CC-Link board that is loaded. Item Channel Board Setting Description Sets the channel to be used. Displays information on the host. Sets the items to be tested. Test Mode Item Network Test Setting Performs a test for data link start and stop. The following dialog box is displayed by clicking. Select when starting data link. Select when stopping data link. Start button Closes the dialog box sithout performing the test.
7 UTILITY OPERATION MELSEC 7.3 Device Monitor Utility This section explains how to operate and set the device monitor utility. POINT In the device monitor utility, SB (link special relay) and SW (link special register) are indicated as SM and SD, respectively. 7.3.1 Operation procedure The following explains how to operate the device monitor utility. Start Select [Setting] - [Network setting] from the menu bar and set the channel to be used. · · · · · · See Section 7.3.
7 UTILITY OPERATION MELSEC 7.3.2 Setting as batch monitoring Monitors only one device that has been specified. (1) Selecting the menu Select [Menu] – [Batch monitor] from the menu bar. (Selectable for 16-point register monitor only.) (2) Display screen 1) 2) Item 1) Device information 3) Description Displays the current device status. See Section 7.3.9 when the display form is changed. 2) Network status Displays the network status currently set. See Section 7.3.4 when the network is set.
7 UTILITY OPERATION MELSEC 7.3.3 Setting as 16 point register monitor Monitors up to five bit devices and one word device simultaneously. (1) Selecting the menu Select [Menu] – [16 point register monitor] from the menu bar. (Selectable at batch monitoring only.) (2) Display screen 1) 2) Item 1) Device information 3) Description Displays the current device status. See Section 7.3.9 when changing the display form. 2) Network status Displays the network status currently set. See Section 7.3.
7 UTILITY OPERATION MELSEC 7.3.4 Setting the monitoring destination Sets the network to be used for device monitoring. Set this when starting the device monitor utility. (1) Selecting the menu Select [Setting] – [Network Setting] from the menu bar. (2) Dialog box Item Channel Description Sets the channel to be used. Network Setting Sets the host and other stations along with network number and station number.
7 UTILITY OPERATION MELSEC 7.3.5 Setting the device to monitor Set the device to perform monitoring. (1) Selecting the menu Select [Setting] – [Device Setting] from the menu bar. (2) Dialog box Batch monitoring Item Device No. Register Device List Change Delete Description Sets the device type, block number, and network number to monitor. And, to monitor the host station device on the CC-Link board, set as follows.
7 UTILITY OPERATION MELSEC 7.3.6 Changing word device values Changes the specified word device data. (1) Selecting the menu Select [Device Write] – [Data Changing] from the menu bar. (2) Dialog box Item Device Type Description Sets the device type, block number, and network number to change the data. Device No. Sets the device number to change the data. (HEX : Hexadecimal, DEC : Decimal, OCT : Octal) Setting Data Sets the data to be changed.
7 UTILITY OPERATION MELSEC 7.3.7 Changing word device values continuously Change the specified word device data for the number of specified points being set. (1) Selecting the menu Select [Device Write] – [Continuous Change in Data] from the menu bar. (2) Dialog box Item Description Device Type Sets the device type, block number, and network number to change the Device No. Sets the head address to change the data. data.
7 UTILITY OPERATION MELSEC 7.3.8 Tuning on/off a bit device Turns on/off the specified bit device. (1) Selecting the menu Select [Device Write] – [Bit Device Setting (reset)] from the menu bar. (2) Dialog box Item Description Device Type Sets the bit device type, block number, and network number to turn Device No. Sets the bit device number to turn on/off. on/off.
7 UTILITY OPERATION MELSEC 7.3.10 About the Numerical Input pad By choosing [Option]-[Numerical Pad] on the menu bur, you can use the numerical pad when setting the device value, etc. 1. Click the numerical input column. 2. As the Numerical Pad appears, enter the value with the buttons. Then, click the OK button. 3. The value is entered.
7 UTILITY OPERATION MELSEC 7.3.11 Other operations Changing data in word device and turning on/off a bit device can be performed by double-clicking the device number on the screen while monitoring. (1) Word device The following shows the operation for changing a word device. (Only when the display form is 16 bit.) 1. Double-click the number of the word device to be changed. 2. As the dialog box shown below is displayed, set any desirable value. Then, click the Execute button. 3.
7 UTILITY OPERATION MELSEC (2) Bit device The following shows the operation for turning on/off a bit device. However, this is operable only when the display form is "Portrait." 1. Double-click the number of the bit device to be changed. 2. Select Yes Select No DANGER 7 - 24 in the dialog box shown below, if the change is acceptable. to cancel it.
7 UTILITY OPERATION MELSEC 7.4 Error Viewer This section explains how to operate or set the error viewer. POINT Error Viewer can be used only when the operating system (OS) is either Windows 98 or Windows 95. R R 7.4.1 Screen description The following explains the error viewer screen. Item Type Description The error types are displayed by symbols shown below. Normal message (Indicates comments that are generated from normal processing.
7 UTILITY OPERATION MELSEC 7.4.2 Log menu The following explains the contents of log menu. Item Description Selecting error-entry source Select the error-entry source type to be displayed in the error viewer. type The currently selected items are checked. Driver • • • • • • • • • • • • • Displays the messages generated by drivers such as common memory device. Basic Middle Ware • • • • Displays the messages generated by the common memory data server and tab control process.
7 UTILITY OPERATION MELSEC 7.4.3 View menu The following explains the contents of display menu. Item Description All Errors Displays all the errors that occurred per type of error entry source. Specific Error Sets the errors displayed on the screen according to the conditions in the dialog box shown below. Start display from the first error log. Start error display from the specified date. Display log up the last error specified date. Display errors up to the specified date.
7 UTILITY OPERATION MELSEC Item Detail Description Displays detailed information on the error log currently being selected. (pressing the Enter key after selecting a display item will display the same.) Display the details of the error. No details are given according to the type of the source. Displays when the contents of a driver or buffer memory are referenced. No data may be displayed according to the type of the source. Displays the details of the next error log information.
8 ACCESSIBLE DEVICES AND RANGES MELSEC 8 ACCESSIBLE DEVICES AND RANGES This chapter describes the devices and ranges that can be accessed during CC-Link communication. 8.1 Accessible Devices The following lists the devices that can be accessed during CC-Link communication. POINT The "Batch" in the following table indicates Batch Read and Batch Write. The "Random" in the table indicates Random Read, Random Write, Bit Set, or Bit Reset. 8.1.
8 ACCESSIBLE DEVICES AND RANGES MELSEC 8.1.
8 ACCESSIBLE DEVICES AND RANGES MELSEC Access destination Device C (set value main) C (set value sub 1) C (set value sub 2) C (set value sub 3) A Z V (index register) R (file register) ER (extended file resister) B W Q/QnA link special relay (within Q/QnA CPU) Retentive timer (contact) Retentive timer (coil) Q/QnA link special register (within Q/QnA CPU) Q/QnA edge relay (within Q/QnA CPU) Host random-access buffer Retentive timer (present value) Host link register (for transmission) Host link register
8 ACCESSIBLE DEVICES AND RANGES MELSEC Access destination Device Q/QnA SEND function (Arrival acknowledgment) A1N A2A(-S1) A2U(-S1) A3N A2AS(-S1/-S30) A3A A2USH-S1 A3U Q02(H)-A Q06H-A A4U Q00J Q00 Q01 Q2A(-S1) Q02(H) Q3A Q06H Q4A Q12H Q4AR Q25H Q2AS(-S1) Q12PH Q2ASH(-S1) Q25PH Q12PRH Q25PRH IBM PC/AT compatible PC Batch Random Batch Direct link input Random Batch Direct link output Random Batch Direct link relay Random Batch Direct link register Random Batch Direct link special relay (net
9 MELSEC DATA LINK LIBRARY MELSEC 9 MELSEC DATA LINK LIBRARY This chapter describes the functional overview of the functions included in the library. REMARK The screens of the Microsoft Windows 95 Operating System are used in this section. Please note that these screens are slightly different from other Operating systems. R R 9.1 Overview of the MELSEC Data Link Library These functions are used when creating a user program that communicates with a PLC CPU.
9 MELSEC DATA LINK LIBRARY MELSEC 9.2 Function List The following table lists the functions comprising the MELSEC data link library that is provided with the software package. Function name Description mdOpen Opens a communication line. mdClose Closes a communication line. mdSend Performs batch write of devices. mdReceive Performs batch read of devices. mdRandW Writes devices randomly. mdRandR Reads devices randomly. mdDevSet Sets a bit device. mdDevRst Resets a bit device.
9 MELSEC DATA LINK LIBRARY MELSEC 9.3 Settings for Using Functions This section describes the setting operation in order to use functions. POINT If Windows 2000 Professional or Windows XP Professional is used, Microsoft Visual Basic 5.0 and Microsoft Visual C++ 5.0 cannot be used. Please use Microsoft Visual Basic 6.0 and Microsoft Visual C++ 6.0. R R R R R R R R R R 9.3.1 When using Visual Basic 5.0 and Visual Basic 6.
9 MELSEC DATA LINK LIBRARY MELSEC 9.4 Procedure for Programming The following describes the procedure for programming using the MELSEC data link library. In this section, it is assumed that the software package has already been installed. 1) Power on the personal computer and start Windows . Has the utility setting been performed? Yes No 2) Perform utility setting. See Chapter 7 for the operation. Yes Change the setting? No 3) Perform setting so that the MELSEC data link library can be used.
9 MELSEC DATA LINK LIBRARY MELSEC (From the previous page) 5) Invoke the created user application. 6) Access with the PLC CPU and communication board. 7) End the user application. POINT (1) Perform the processing for opening and closing a communication line (mdOpen/ mdClose) only once at the beginning and end of a program. Repeatedly opening and closing a communication line for each transaction will degrade the communication performance.
9 MELSEC DATA LINK LIBRARY MELSEC 9.6 Station Number Settings The following lists the station numbers specified via functions. Communication Station number specification Host: 255 (0xFF) Other station: 1, CC-Link 2 1: Higher Lower Network No. 0: When CC-Link is used Station No. or group No. 1(1h) to 64(40h), other station described above, then specify the logical station number to Set "0" to the upper byte (network No.
9 MELSEC DATA LINK LIBRARY MELSEC 9.7 Device Types Either code number or device name can be specified for functions as the device type. (1) Only when via CC-Link board The following table shows the CC-Link dedicated device type when accessing to the device via CC-Link board.
9 MELSEC DATA LINK LIBRARY MELSEC (2) Common The following table shows the common device type for all communication course.
9 MELSEC DATA LINK LIBRARY MELSEC Device type Code specification Device Device name specification Decimal Hexadecimal 33 21H DevMRB Host random access buffer 35 23H DevSTN 36 24H DevWw Retentive timer (present value) Host link register (for transmitting) 37 25H DevWr Host link register (for receiving) 40 28H DevFS 50 32H DevSPB FXCPU S-device Host buffer memory 101 65H DevMAIL Q/QnA SEND/RECV function (Arrival acknowledgment) 1 1 1 1 102 66H DevMAILNC Q/ QnA SEND/RECV
9 MELSEC DATA LINK LIBRARY MELSEC 9.8 Sample Programs When SW4DNF-CCLINK-B is installed in a PC, sample programs are registered in --. Sample programs are provided as a reference for creating user application programs. The user is solely responsible for the use of the sample programs provided. (1) MasterStation folder Sample programs for the A80BD-J61BT11 (cannot be used for the A80BDJ61BT13.
10 ERROR CODE MELSEC 10 ERROR CODE An error code is returned as the return value when a function is executed. The error definition and corrective action that correspond to each error code are described. Return value (HEX) 0 1 2 65 (41H) 66 (42H) 67 (43H) 68 (44H) 69 (45H) 70 (46H) 71 (47H) 72 (48H) 73 (49H) Error definition Normal completion Driver not started The driver has not been started. The interrupt number/I/O address are overlapping with other board.
10 ERROR CODE Return value (HEX) Error definition 103 (67H) Data receiving error Data receiving has failed. 129 (81H) Device type error The specified device type is invalid. Device number error The specified device number is out of range. When specifying the bit device, the device number is not a multiple of 8. Device points error The specified number of points is out of device range. When specifying the bit device, the device number is not a multiple of 8.
10 ERROR CODE Return value (HEX) 242 (F2H) MELSEC Error definition Special module time over No response from the specified special module. No response from the MELSECNET (II) board.
10 ERROR CODE Return value (HEX) 8230 (2026H) 8231 (2027H) 8232 (2028H) 8233 (2029H) 8234 (202AH) 8235 (202BH) 8236 (202CH) 8237 (202DH) 8238 (202EH) 8239 (202FH) 8240 (2030H) 8241 (2031H) 8242 (2032H) 8243 (2033H) 8244 (2034H) 8245 (2035H) 8246 (2036H) 8247 (2037H) 8248 (2038H) 8249 (2039H) 8250 (203AH) 8251 (203BH) 8252 (203CH) 8253 (203DH) 8254 (203EH) 8255 (203FH) 8258 (2042H) 8259 (2043H) 8260 (2044H) 8262 (2046H) 8263 (2047H) 10 - 4 MELSEC Error definition Corrective action Data error System dat
10 ERROR CODE Return value (HEX) 8264 (2048H) 8265 (2049H) 8266 (204AH) 8267 (204BH) 8268 (204CH) 8269 (204DH) 8270 (204EH) 8271 (204FH) 8272 (2050H) 8273 (2051H) 8274 (2052H) 8275 (2053H) 8276 (2054H) 8277 (2055H) 8278 (2056H) 16384 to 20479 (4000H to 4FFFH) 16386 (4002H) 16432 (4030H) 16433 (4031H) 16448 (4040H) 16449 (4041H) 16450 (4042H) 16451 (4043H) 28672 to 32767 (7000H to 7FFFH) 40577 (9E81H) 40578 (9E82H) 40579 (9E83H) 10 - 5 MELSEC Error definition Corrective action Boot former ROM forward
10 ERROR CODE Return value (HEX) -1 (FFFFH) -2 (FFFEH) -3 (FFFDH) -4 (FFFCH) -5 (FFFBH) -6 (FFFAH) -8 (FFF8H) -11 (FFF5H) -12 (FFF4H) -13 (FFF3H) -14 (FFF2H) -15 (FFF1H) -16 (FFF0H) -17 (FFEFH) -18 (FFEEH) -19 (FFEDH) -21 (FFEBH) -24 (FFE8H) -25 (FFE7H) -26 (FFE6H) -28 (FFE4H) -29 (FFE3H) 10 - 6 MELSEC Error definition Corrective action Path error The specified path is invalid. Device number error The specified device number is out of range.
10 ERROR CODE Return value (HEX) -30 (FFE2H) -31 (FFE1H) MELSEC Error definition Sequence number error The received sequence number is abnormal. DLL load error An attempt to load a DLL, which is necessary to execute the function, has failed. -32 (FFE0H) Other task/thread is occupying the resource and the resource is not released within 30 seconds. -33 (FFDFH) -34 (FFDEH) -35 (FFDDH) -36 (FFDCH) Incorrect access destination The setting for the communication destination is incorrect.
10 ERROR CODE Return value Error definition (HEX) -16384 to -12289 Errors detected by the Ethernet interface module (C000H to CFFFH) -20480 to -16385 Errors detected in the CC-Link system.
10 ERROR CODE MELSEC *1: Procedures and sample program for increasing the minimum working set area of the PC The following provides measures for increasing the minimum working set area of the PC when an error of error code 77 occurs due to MD function execution, and its sample program. The PC board driver runs using the minimum working set area in the memory area reserved in the application program. Some application program may use a large area of the minimum working set area.
10 ERROR CODE MELSEC (c) Sample program: When setting by VC (Example of min. working set size 1MB and max.
11 TROUBLESHOOTING MELSEC 11 TROUBLESHOOTING This chapter describes how to determine the cause of trouble that may occur during system construction as well as appropriate corrective actions. 11.1 When Performing Troubleshooting Ideally occurrence of trouble should be kept to a minimum in order to startup the system effectively. However, once an error occurs, it is important that we identify the cause as quickly as possible.
11 TROUBLESHOOTING MELSEC 11.2 Troubleshooting Table by the Type of Error Occurring 11 When trouble occurs, refer to the methods in Table 11.1 for determining the cause of the trouble. Table 11.1 Troubleshooting table by the type of error occurring No. 1 2 Error detail A CC-Link board did not operate normally upon startup. Cause determination method/Action Refer to the flowchart found in Section 11.3 for when the board and PC do not operate.
11 TROUBLESHOOTING MELSEC 11.3 Flowchart to Use when the Board or PC do not Operate The following indicates a check procedure in the PC unit when the CC-Link board does not run normally during startup. START Is the A80BDE-J61BT13 "RUN" LED lit? NO YES Is the operating system starting normally? NO Remove any other optional boards and leave only the A80BDE-J61BT13 in. YES Is there a driver message in the management tool event viewer? *1 NO Replace the A80BDE-J61BT13.
11 TROUBLESHOOTING MELSEC 2) 1) Is there a driver message in the control tool event viewer? 1 YES NO Start the monitor function (utility). Check switching settings, etc. according to the error contents in the event viewer. Did the monitor function (utility) start normally? NO Remove any other optional boards and leave only the A80BDE-J61BT13 in.
11 TROUBLESHOOTING MELSEC 11.3.1 Table of error event messages that may occur during driver startup The table below lists the errors displayed in the event viewer/error viewer.
11 TROUBLESHOOTING MELSEC Event ID Error content (HEX) DUMP value 01h Initialization 02h of the 1281 (501H) CC-Link 03h board has Corrective action Error contents (details) ———————— There is no response from the hardware. The IRQ or memory is overlapping. 2 Remove other optional boards. There is no response from the hardware. Handshaking with the failed. 04h shared memory area has failed. 66h Replace the CC-Link board. There is no response from the hardware.
11 TROUBLESHOOTING MELSEC 11.4 Flowchart to Use when the Data Link could not be Completed The following flowchart indicates when the data link could not be completed even though the CC-Link board was connected to another station. START Check the A80BDE-J61BT13 LED. Is the "RUN" LED unlit? YES See Section 11.4.1, "Flowchart to use when RUN LED is unlit." NO Is the "SD/RD" LED lit? YES See Section 11.4.2, "Flowchart to use when the SD/RD LED does not light.
11 TROUBLESHOOTING MELSEC 11.4.1 Flowchart to use when RUN LED is unlit START Is it unlit during communication with other stations? YES Is communication with other station continued? NO (The "RUN" LED has been off since the power was turned on.) Replace the A80BDE-J61BT13. NO (The "RUN" LED turned off while communicating) YES Replace the A80BDE-J61BT13. Is the "RUN" LED still unlit even after the A80BDE-J61BT13 was replaced? NO YES Adjust PC hardware, etc.
11 TROUBLESHOOTING MELSEC 11.4.2 Flowchart to use when SD/RD LED does not turn on An error occurs. Are the parameters for the master station OK? NO Check the parameters for the master station. NO Does the "RD" LED remain unlit? YES YES Does the "SD" LED remain unlit? NO YES Using the PC, turn the RX, RY, RWw and RWr assigned to the host on/off. Using the other station, turn the RX, RY, RWw and RWr being used in the PC on/off. Monitor the RX, RY, RWw and RWr with the other station.
11 TROUBLESHOOTING MELSEC 11.4.3 Flowchart to use when there is a communication error between the master station and CC-Link board When a station number duplicate bit turns on in the link special register SW0098 to SW009B (station number duplicate status), check the CC-Link board of the relevant station number using the following procedure. Troubleshooting flowchart when the "ERR." LED for the master station is flashing "ERR.
11 TROUBLESHOOTING 1) MELSEC 2) 3) Is the "RUN" LED lit? NO YES NO Is the "SD" LED lit (flashing)? YES Is the "SD" LED lit (flashing)? YES Is the transmission speed setting correct? NO YES Failure in the A80BDE-J61BT13 NO Correct the transmission speed setting Reset the board Is the communication cable wired correctly? *1 YES NO Reset the board Failure in the A80BDE-J61BT13 Is the station number switch set correctly? (Is there a duplication with another station?) YES NO Set the correct
11 TROUBLESHOOTING MELSEC 11.5 Flowchart to Use when an Error Occurs During Data Linking The following flowchart indicates when an error occurs during data linking is shown. Contents of generated error A value different from the schedule enters the special link device Section 11.5.1 Flowchart to use when a value different from the schedule enters the special link device Reading from and writing to the device cannot be done using the communication function Section 11.5.
11 TROUBLESHOOTING MELSEC 11.5.2 Flowchart to use when reading from and writing to the device cannot be done using the communication function START Is the communication function's return value abnormal? YES See Ch-10 ERROR CODE NO Monitor the device to be accessed from the monitoring function's (utility) device monitor. Also, perform a data change to see if data can be written. Can the device be monitored? (Was the data written?) YES Check the user program.
11 TROUBLESHOOTING MELSEC 11.5.3 Flowchart to use when communication is disabled from time to time during user program execution START Did the user program return an error code? YES Check the contents of the error using the ERROR CODE, and check the user program and station accessed. NO Start the line monitor utility. Is there any faulty station? YES Replace the link cable or faulty station. NO Change system configuration with only the master station and host.
11 TROUBLESHOOTING MELSEC 11.5.4 Flowchart to use when the system goes down or resets during the user program execution START Remove all optional boards and restart. Did the operating system start normally? NO After formatting the hardware, reinstall Windows NT 4.0, Windows 95/98 and each application software, then reboot. YES Did the operating system start normally? NO Contact the PC manufacturer. YES Install the A80BDE-J61BT13 only, then install the software package.
11 TROUBLESHOOTING 2) MELSEC 1) Change the user program in which the error occurred and create a program that is valid only in the areas of communication functions, then slowly add processes to the program. Execute the program continuously for a sufficient period. Did the operating system start normally? YES Check the added sections of the user program.
11 TROUBLESHOOTING MELSEC 11.6 Measures for WDT error occurrence The following explains the causes of WDT error occurrence in CC-Link board and measures for them. (1) Cause of WDT error occurrence The WDT error occurs in CC-Link board as follows: 1) CC-Link driver cannot operate because the PC or OS is hang up. 2) The CPU cannot start to control the CC-Link driver within the WDT time, as the other drive has occupied the CPU processing.
11 TROUBLESHOOTING MELSEC (From the previous page) 3) Execute WDTSETNE.exe. Enter "A:\Tools\WDTSETNT.exe", and then press the Enter key. REMARK Above enter example is relevant to Windows NT Workstation 4.0 and Windows 2000 Professional or Windows XP Professional. When Windows 95 or Windows 98 is used, enter R R R R R "A:\Tools\WDTSET95.exe", and then press the Enter key.
11 TROUBLESHOOTING MELSEC 11.7 Precautions for installing other optional board Executing user applications (including the device monitor utility) for each board simultaneously under the following condition may cause an error. When an error occurs in the user application, take the action shown below. A personal computer into which the CC-Link board and other optional board are installed and where the resources were allocated automatically by Plug-and-Play is used.
11 TROUBLESHOOTING MELSEC 11.8 Information Needed when Calling with Inquiry The following conditions and status must be reported when calling us with an inquiry regarding a damaged board. (1) Error state (be specific) Example) The system does not start during the startup process after turning on the power, displaying a "board Not response" message.
APPENDIX MELSEC APPENDIX Appendix 1 Communication with the Redundant CPU This section explains communication with the Redundant CPU when the CC-Link board is used. (1) Access to the Redundant CPU (a) Redundant CPU specify To access the Redundant CPU, directly specify the station number of the CC-Link module mounted on the station of the target Redundant CPU.
APPENDIX MELSEC (2) Retry processing for error that will occur during system switching processing Any of the following errors will occur when the MELSEC data link library is used to access the Redundant CPU during system switching processing.
APPENDIX MELSEC (b) The following example gives a flowchart for error occurrence at batch write. START Write processing (mdSend instruction), etc. Has error occurred? NO YES Error code is checked.* 1 Does the error require retry processing? YES Retry processing NO Normal processing is executed. Error handling is executed.* 2 Wait processing is executed. END 1: Refer to the following manual for the details of and corrective action for the error code.
APPENDIX MELSEC Appendix 2 External Dimensions 188 (7.4) 6 (0.24) RUN ERR HIGH LOW 107 (4.21) 98 (3.86) 126 (4.96) RD 122 (4.80) SD 1 2 BD NO. 176 (6.93) 192 (7.56) 18 (0.71) App - 4 (Unit : mm (in.
WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
Microsoft, Windows, Windows NT, Visual Basic, Visual C++ are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium is a registered trademark of Intel Corporation in the United States and other countries. Other company and product names herein are either trademarks or registered trademarks of their respective owners.
Type A80BDE-J61BT13 CC-Link System Local Interface Board , User s Manual (For SW4DNF-CCLINK-B) MODEL A80BDBT13-SW4-U-E MODEL CODE 13JR29 Type A80BDE-J61BT13 CC-Link System Local Interface Board , User s Manual (For SW4DNF-CCLINK-B) IB(NA)-0800176-H(0606)MEE HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Econo