Home

Type A80BDE-J61BT11 CC-Link System Master

image

Contents

1. Access destination A0J2H Q2A S1 E A A1S S1 A2A S1 A1SH A2UCS1 Q4A A1SJ S3 ADAS Q4AR Device A1SJH S8 51 530 Q2AS S1 IBM PC AT A2C Q2ASH S1 compatible PC A2USH S1 A2CJ S Q02 H A Q02 H A2N S1 QO6H A QO6H A2S S1 Q12H A2SH S1 Q25H Batch C setting value main 2 2 S S x x Random x x x x x m Batch setting value sub 1 x x s 2 x x Random x x x Batch setting value sub 2 x x x x x x Random x Batch setting value sub 3 x x x X Random x Batch A Q O O O x x Random Batch 2 x Random Batch V index register x x Random Batch R file register x x Random Batch ER extended file resister x O Random Batch B x Random Batch Ww O O O O O O x Random Q QnA link special relay Batch 2 T on Q QnACPU Random 5 i i Batch O Retentive timer contact x x x X x x Random x Batch O Retentive timer coil x x x X x x Random x Q QnA link special register Batch d T on Q QnACPU Random 5 T z Q QnA edge relay Batch E on Q QnACPU Random P d s Own station random access Batch x x X X x x x buffer Random Retentive timer Batch x x x x x x current value Random Own station link register Batch i x x x x x x x for sending Random Own station link register Batch x x x x x x x for receiving
2. CC Link dedicated cable Ground the SLD terminal of the ABOBDE J61BT11 as needed 8 PROCEDURE BEFORE STARTING THE DATA LINK Simplified diagram Master board A80BDE J61BT11 Local module Remote module Terminal resistor DB resistor DG La _ SLD H CCLink dedicated cable Ground the SLD terminal of ithe ABOBDE J61BT11 as needed 1 Connect the terminal resistors supplied with the master module at both ends of the CC Link system Connect the terminal resistors between DA and DB 2 Connect the shielded wire of the CC Link dedicated cable to SLD of each module and ground both ends of the shielded wire using a D type grounding Class 3 grounding via FG The SLD and FG are connected inside the module 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 7 T Branch Connection with the CC Link Dedicated Cable This section explains how to perform a T branch connection using the CC Link dedicated cable 8 7 1 T Branch system configuration The following shows a system configuration using T branch connection T branch terminal block connector Local station Remote station remote device station intelligent device Branch line Main line station Master station Branch line Remote I O station remote device station gt Remote
3. Intelligent device station The station that controls the data link system A remote station that handles bit unit data only A remote station that handles bit unit and word unit data A station having a PLC CPU and the ability to communicate with the master and other local stations A station that can perform transient transmission 1 OVERVIEW MELSEC 1 1 Features of the I F Board The features of the I F board are as follows 1 IBM PC AT compatible PCs can be incorporated into the CC Link system An IBM PC AT compatible PC can be used as a master station standby station or local station by installing an I F board on an IBM PC AT compatible PC By using the I F board as the master station it is possible to control remote I O stations remote device stations intelligent device stations and local stations from the IBM PC AT compatible PC Using the PCI bus eliminates troublesome switch settings Simply installing the I F board on the PCI bus automatically executes the initial settings Parameters can easily be set The parameters necessary for the operation of the CC Link system can easily be set with a utility program thus programming is simplified It displays the test and monitoring information related to the CC Link The test status and monitoring status of the CC Link system can be displayed on the IBM PC AT compatible PC to facilitate the operat
4. Local station Station number 1 occupies 1 station Remote output RY RYOF to RYOO and the local stations Local station Station number 2 occupies 4 stations Remote output RY RY1D to RY10 RY2F to RY20 RY3F to RY30 RY4F to RY40 RY5F to RY50 _RY6F to RY60 RY7F to RY70 RY8F to RY80 RYOF to RYOO PLC CPU 9 5 FUNCTIONS MELSEC On off information from the master station to the local stations 6 The program uses the mdSend function to write the on off information to the remote output RY buffer memory of the master station 7 The information in the remote output RY buffer memory is automatically stored for each link scan in the remote input RX buffer memory of each of the local stations 8 The input status stored in the buffer memory remote input RX is stored in the CPU device set with automatic refresh parameters Local station Local station PC AT compatible PC Master station Station number 1 Station number 2 I F board occupies 1 station occupies 4 stations PLC CPU Remote output RY Remote inputRX Remote input RX Program RYoFteRYoo l 7 i f RXOF to RX00 7 RXOF to RX00 RX1D to RX10 RX2F to RX20 RYSFio RY30 RX9F to RX30 6 J RY4Fto RXMFtoRX40 C mdSend M Sv nS i cp
5. ren Remote input RY Handshaking signals Such as error reset request flag and initial ata processing t Program Remote output RY i complete flag Remote input RY RYOF to RYOO d signals f such as error reset to RY10 request flag and initial EE data processing E 4 E0000 2s complete flag i aye Pe RYOF to RYOO to RYOO RY1F to RY10 ounce M Signal direction Master module gt AJ65BT 64DAV Device No Signal name CH1 analog output enable signal CH2 analog output enable signal CH3 analog output enable signal CH4 analog output enable signal RY04 Selection of offset gain values RY05 to Not used RY17 RY18 Initial data processing complete flag RY19 Initial data setting request flag RY1A Error reset request flag RY1B Not used 5 FUNCTIONS MELSEC Writing to the remote register RWw 6 The program uses the mdSend function to write the transmission data to the remote register RWw buffer memory 7 The data stored in the temote register RWw buffer memory is automatically sent to the remote register RWw of each remote device station Remote device station Remote device station IBM PC AT compatible PC Master station Station number 1 Station number 3 board occupies 2 stations occupies 2 stations Remote device RWw Numerical data s
6. Start the utility Click the Apply button in the Board Information window and reset the board YES Replace the ABOBDE J61BT11 Did WDT error occur NO END the operating system and a system error displayed NO Remove all ABOBDE J61BT11 boards J Did the screen display turn blue when starting YES i Replace the ABOBDE J61BT11 up the operating system and a system error displayed NO Replace the ABOBDE J61BT11 16 2 Reinstall Windows NT 4 0 or Windows 95 98 or call Microsoft Technical Support 16 TROUBLESHOOTING Is a driver message YES MELSEC displayed on event viewer of the management tool 1 Start the monitor function utility Did the monitor NO Check switch and other settings according to the error description in event viewer function utility start normally Is the correct number of installed NS Remove other optional board s and leave only the ABOBDE J61BT11 Did the monitor function utility start normally YES Check the I O IRQ and memory address A80BDE J61BT11 boards settings of other optional board s YES Replace the IBM PC AT compatible PC END 1 If Windows 95 98 is used check the driver message in error viewer 16 3 16 TROUBLESHOOTING
7. 13 8 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 14 1 14 12 14 1 Configuring a System sssssssssssssssseeeesees enitn tnit nnt 14 1 14 1 1 Setting up the master Stationissa eaa 14 2 14 1 2 Setting up the intelligent device station esssssssssssseeeeeeeeeee nennen 14 2 14 2 Setting the Parameters 5 eir e diede e mh oec i et ve eere a ee 14 3 14 3 Creating a 14 5 14 3 1 InitialiZation o oo nnne nennen nnne rennen nennen nnns nnne 14 5 14 3 2 Sending procedure cit etn ee i er e cath kl vs RT eR e ver 14 7 14 3 3 Receiving proced re 52 ense gute ttes peli 14 8 14 4 Executing the Data blink oto e S neo tati dette 14 9 14 4 1 Confirming the operation with the LED displays 14 9 14 4 2 Confirming the operation with a user program ssssssssssseeeseeeeeeenenn nnne 14 10 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 15 1 15 14 15 1 Configuring System e i e e ode a e d e d ten 15 1 15 1 1 Setting up the master station sssssssssssssss
8. 16 4 16 2 Programming Troubleshooting sssessesssssesseseeee nennen nnne nennen nnns 16 6 16 2 1 Error codes when executing functions sessssseeneenenne nennen 16 6 16 3 CC Link System Troubleshooting sss innn nnne 16 12 16 3 1 Verification of problem 16 12 16 3 2 Troubleshooting flow when the ERR LED on the master station is flashing 16 19 16 3 3 List of link special relays SBs sse enne 16 23 16 3 4 List of link special registers SWs sssssssssssssssssssseseeeeee nennen ener 16 26 16 3 5 Error codes stored in the link special registers sn 16 31 16 4 Required Items when Making an Inquiry sese ennt 16 37 Appendix 1 External Dimension Diagram eeseseseeeeeeneeneennen nennen nemen enne App 1 Appendix 2 Dealing with the Year 2000 Problems ssseeeeeeneenen enne App 2 Appendix 3 Setting GHeckliStS siia 3 Appendix 3 1 Parameter setting checklist sseseeeeeneeneneen ener App 3 Appendix 3 2 Station information setting CheCkIiSt cccceccecceseceeceeeeeeeeeeaeceeeeeeaesaeseeeeaeeaeseeeeeeateaes App 5 Appendix 3 3 Device assignment checklist
9. Parameter Setting Ey 156K geek 25M 5M 10M E T TEST Parameter Write Device Monitor Exit Help 14 1 2 Setting up the intelligent device station The settings of the intelligent device station switches are shown below Baud rate mode setting switch 4 10 Mbps online Station No setting switch AJ65BT R2 0 1 C N MITSUBISHI MELSECAJesBT R2 B RATE eee amp RS 232 C 204 04 901 500 xcO 2 28 2 RUNO RDO G8 05 IOF L RUNO ERR a AS Ser 9d YO SW 12345678 L ERR O DARE 5 o SUD ain C 19 RS 232 C 7 VO i 0 N Nuus More uy O Si RS 232C transmission specification setting switches according to the transmission specification of the 14 2 r Mode setting Online ternal device 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC 14 2 Setting the Parameters This section explains how to set the network parameters for the master station 1 Setting the network parameters Set the network parameters as shown below using the attached parameter setting checklist and station information setting checklist Setting range Setting value Input data latch clear Operation settin Latch clear D besote res Clear
10. Total 64 3 1 3 SYSTEM CONFIGURATION MELSEC 3 2 Applicable Systems This section describes applicable CPU modules and provides some precautions on the system configuration 3 2 1 Applicable IBM PC AT compatible PCs and number of boards that can be installed 1 Applicable PC AT compatible PCs The operating environment of the I F board is shown below Item Used as a master station Used as a local station IBM PC AT compatible PC with IBM PC AT compatible PC with Pentium 133 MHz CPU or faster and Pentium 133 MHz CPU or faster and IBM PC AT compatible PC main body Windows 95 Windows 98 or Windows NT Workstation 4 0 installed having one or more PCI bus slots PCI bus 5 V DC 32 bit bus specification Basic clock 33MHz Windows NT Workstation 4 0 installed having one or more PCI bus slots Windows 95 English version Windows NT Workstation 4 0 Windows 98 English version or English version Windows NT Workstation 4 0 English version Operating system OS P Visual Basic Ver 5 0 English version Visual Basic Ver 6 0 English version rogramming language G A Visual C Ver 5 0 English version and Visual C Ver 6 0 English version Required memory size 32 MB or more Hard disk space 15 MB or more Disk drive 3 5 inch 1 44 MB floppy disk drive required to install a driver Multiprocessor based IBM PC AT compatible PCs cannot be used because of unsupported driver
11. R 5 TEST 9 PRM E p TMET T gt R LINE Parameter Write LRUN sp LERR F F RD Device Monitor Exit Help 12 2 12 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE STATIONS MELSEC 12 1 2 Setting up the remote I O stations The settings of the remote I O station switches are shown below Station No setting switch Baud rate mode setting switch XT eee eo ee 4 10 Mbpsentne No 40 201101 8 4 2 t Setting Setting switch status RESSSTCTGEDT 1 AJSSBTCT SZT 2 1 i PW LRINLERR X01234567 X89ABCDEF XO XF STATION NO BRATE o o o jo fa 4020108 4 2 1 4 2 1 X1011121314151617 X18191A1B1C1D1E1F 6 ON EREEEREREE C3 MITSUBISHI 11980 AJessBTC1 32D1 X10 X1F JDA DG 424V 24G X4 X8 XC X10 X14 X18 X1C xi X5 X9 xo xi xis XiD X2 X6 XE Xi2 Xi6 XIE SLD D FG X7 XB i7 o o o o o o o o o o o o o o o o HS 3 00 2 53 o o o o o o 12 3 12
12. sse nennen App 7 About Manuals The following manuals are also related to this product In necessary order them by quoting the details in the tables below Related Manuals Manual Number Manual Name Model Code CC Link System Master Local Module type AJ61BT11 A1SJ61BT11 User s Manual IB 66721 This Manual explains the system configuration Performance specifications functions handling wiring 139872 and troubleshooting for the AJ61BT11 and A1SJ61BT11 Sold separately CC Link System Master Local Module type AJ61QBT11 A18J61QBT11 User s Manual This Manual explains the system configuration Performance specifications functions handling wiring and troubleshooting for the AJ61QBT11 A1SJ61QBT11 Sold separately CC Link System Master Local Module type QJ61BT11 User s Manual ipsa This Manual explains the system configuration Performance specifications functions handling wiring and troubleshooting for the QJ61BT11 Sold separately A 12 How to Use this Manual The following lists the key items that represent the main usage of the I F board by the purpose Please use the following key items to refer to the appropriate section of this manual 1 To learn about the features of the I F board Section 1 1 The features are described in Section 1 1 2 learn about compatibility with existing software Section 1 2 Compatibility with existing software is described in Sectio
13. Formula LS xX 3 SL ms Note 3 LS Link scan time see Section 6 1 SL Local station s sequence program scan time Example When the link scan time is 3 ms and the local station s sequence scan time is 10 ms LS X 3 SL ms 3X3 10 19 ms Master station I F board RWw Local station PLC RWr This indicates the time from the moment RWw of the master station I F board is changed until data is stored in the local station s CPU device Formula LS 3 1 ms Note 4 LS Link scan time see Section 6 1 SL Local station s sequence program scan time Example When the link scan time is 3 ms and the local station s sequence scan time is 10 ms LS 3 SL ms 3 3 10 19 ms Note 3 When reading RWr from the I F board with the md function it is necessary to add the own station access processing time of the md function Note 4 When writing RWw to the I F board with the md function it is necessary to add the own station access processing time of the md function 6 DATALINK PROCESSING TIMES MELSEC 6 2 4 Master station I F board intelligent device station The transmission delay time between the master station I F board and the intelligent device station varies depending on the type of intelligent device station used See the User s Manual for the intelligent device module to be used 1 When reading RX and RWr from the I F board with the md function it is necessary to add the own stati
14. Local station occupying Station number 5 4 stations Hemote station occupying 2 stations Lc Master station n Data link continues i Station number 4 Faulty station Local station occupying Station number 1 Station number 3 1 station Remote station Remote station occupying occupying 2 stations 1 station a wa Station number 7 Local station occupying Station number 5 4 stations Remote station occupying 2 stations 6 Auto return function When a module that has been disconnected from the link due to power off recovers and returns to the normal status it will join the data link automatically 7 Input data status setting from a data link faulty station The data entered received from a data link faulty station can be cleared or the status immediately before the error can be restored 1 OVERVIEW MELSEC 8 Standby master function This function enables the data link to continue working by switching to a standby master station backup station for the master station if a malfunction occurs in the master station The IBM PC AT compatible PC can be set as a standby master station only when the master station is also an IBM PC AT compatible PC If the master station is a PLC CPU the IBM PC AT compatible PC cannot be set as a standby master station Data link control by the master station Master station Remote station Station
15. the buffer memory The number of remote device stations was set to 43 stations or more with a station information parameter addresses 20 to 5 Remote device station setting error parameter The number of intelligent device stations including local stations was set to 27 stations or more with a station information parameter addresses 20 to 5F Intelligent device station setting error parameter The invalid station designation parameter addresses 14 to 174 was set to a value other than module s head station number or station Invalid station designation error number not specified in the parameter parameter Example of other than head station number A bit other than for station number 5 was on for a module occupying 4 stations station numbers 5to 8 The total size of the communication buffer set with a station information parameter addresses 20 to 5 exceeded 4 k words Communication buffer assignment error The total size of the automatic update buffer set with a station information parameter addresses 20 to 5 exceeded 4 k words Automatic update buffer assignment error 16 32 Standby master station designation Master station switching was directed to a Designate the station number of error station other than the standby master station the standby master station i j A temporary error invalid station was designated Designate a temporary error before the link
16. The following functions can be used for transient transmission TN dRecei Reads data from the buffer memory of the designated i mdReceive Master station station or the PLC CPU device of the designated station station intelligent HE UT n civica station mdSend rites data to the buffer memory of the designated station or the PLC CPU device of the designated station Reads data from the randomly specified CPU device of mdRandR Mod E PP the specified station Writes data to the randomly designated CPU device of the designated station Local station Sets the CPU device bit device of the designated mdDevSet deni mdRandW Resets the CPU device bit device of the designated mdDevRst devi evice Transient transmission is performed only when these functions are executed to other stations 6 DATALINK PROCESSING TIMES MELSEC 6 DATA LINK PROCESSING TIMES This chapter explains the data link processing times such as the link scan time and transmission delay time 6 1 Link Scan Time This section explains the CC Link scan time and describes the calculation method Link scan time LS LS BT 29 4 NI X 4 8 NW X 9 6 N X 32 4 ni X 4 8 nw X 9 6 ST F us BT Constant transmission rate 156kbps 625kbps 2 5Mbps 5Mbps 10 Mbps a e NI The final station number among b This value includes the number of occupied stations but excludes reserved st
17. sss nnne tnn nennen 9 7 9 2 4 Network monitor window operation sssssssssseseeneeeneenenne nennen nennen entren nnne nnns 9 10 9 2 5 Operating the station s line status windOw sse nennen tnn 9 11 9 2 6 Operating the memory I O test window ssssssssssssseeeeeeeee ennt 9 12 9 2 7 Operating the network test window ssessseeeeeeenneneenenennenennnnennennnne nennen 9 13 9 3 Device Monitor Utility iia S ppp nla ep 9 15 9 3 1 Operating procedure titre tpi tee tet Eee RUE EE LEER ERG ERER TERES 9 15 9 3 2 Setting the batch monitoring essent nnne 9 16 9 3 3 Setting the 16 point entry monitor nennen nennen nnne 9 17 9 3 4 Setting the monitoring destination sse tenni 9 18 9 3 5 Setting the device to be monitored esssssssssssssesseseee nennen nnne nnne 9 19 9 3 6 Changing word device values ssssssssssssseseeseseee nennen nine nnne tnn 9 20 9 3 7 Changing word device values continuously eese nennen 9 21 9 3 8 Switching a bit device 9 22 9 3 9 Switching the data 9 22 9 3 10 Numerical pad eorias edited Poi deiode sae be d 9 23 9 o T 1 Other operations Drap i rf du
18. 2 Number of boards that can be used in one system A maximum of 4 boards can be used total number of A80BDE J61BT11 and A80BDE J61BT13 boards 3 SYSTEM CONFIGURATION MELSEC 3 2 2 Notes on the system configuration The system should be designed by considering the following in order to prevent erroneous inputs from the remote I O modules 1 When powering on and off Start the data link after turning on the power to the remote I O modules Turn off the power to the remote I O modules after stopping the data link Data link start Data link stop Executing I F board data link status Stopped ON Remote I O module power status OFF 2 During momentary power failure of the remote I O modules When a momentary power failure occurs in the power being supplied to the remote I O modules 24 V DC an erroneous input may occur Cause for erroneous inputs due to a momentary power failure The remote I O module hardware uses the power by internally converting the module power 24 V DC to 5 V DC When a momentary power failure occurs in a remote I O module the following situation occurs Time for the 5 V DC power in the remote I O module to turn off gt Response time for input module on off Thus an erroneous input occurs when a refresh is performed within the time indicated by 1 in the figure below Remote I O module module power supply and input external supply power Remote I O module internal
19. 5 1 Function List MELSEC This chapter explains the functions of the I F board dividing them into four sections Basic Functions Functions for Improving System Reliability Useful Functions and Transient Transmission Function 1 Table 5 1 lists the basic functions Table 5 1 List of the basic functions m Reference Item Description section Communication with remote Performs the communication of on off Section 5 2 1 I O station information with remote I O station m Performs the communication of on off Communication with remote device station Communication with local Performs the communication of on off Section 5 2 3 ection 5 2 station information and numeric data with local station Performs communication with intelligent device Communication with station via cyclic transmission and transient Section 5 2 4 intelligent device station transmission 2 Table 5 2 lists the functions for improving system reliability Table 5 2 List of the functions for improving system reliability A Reference Item Description section Disconnects modules that cannot continue data Slave station disconnect link because of power off etc and continues the Section 5 3 1 function data link with only the normal modules When a module which has been disconnected from data link because of power off etc returns Auto return function m Section 5 3 2 to
20. MELSEC 8 8 Utility Software Settings This section explains the settings required for the I F board 8 8 1 Station number setting The following explains how to set the station numbers for the master station local station standby master station remote station and intelligent device station For details on the station number settings see Section 9 2 3 Specify the station numbers according to the following conditions 1 Assign sequential station numbers Station numbers can be specified regardless of the order in which the stations are connected For a module occupying two or more stations specify the first station number 2 Specify unused station numbers as reserved stations If unused station numbers are not specified as reserved stations they will be handled as data link faulty stations can be checked with special link registers SW0080 to SW0083 3 Specify unique station numbers If duplicate station numbers are specified an installation error occurs Error codes are stored in SW0069 Setting example One station was skipped when station numbers were specified Station Station number 5 number 10 5 Station Local station number 2 i occupies i 1 station 2 Remote device station occupies 2 stations Station number 0 Master station 4 Intelligent device station occupies 1 station 1 Remote 1 0 station occupies 1 station 1 Remote 2 Rem
21. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2000 MITSUBISHI ELECTRIC CORPORATION A 4 Usage Precautions 1 When using the ABOBDE J61BT11 as a master board Use the Windows NT 4 0 operating system when using the ABOBDE J61BT11 as a master board 2 When using the ASOBDE J61BT11 as a standby master station Use the ASOBDE J61BT11 as a master station when using the ABOBDE J61BT1 1 as a standby master station 3 When using Windows NT 4 0 When using Windows NT 4 0 the installation and use of this product are possible only with Administrator privilege 4 Multi thread communication Multi thread communication is not supported 5 Installation When using the ASOBDE J61BT11 with an IBM PC AT compatible PC that uses the A80BDE J61BT13 uninstall SWnDNF CCLINK provided with the ABOBDE J61BT13 first and then install the SW3DNF CCLINK provided with the ABOBDE J61BT11 6 Overwrite installation When performing an overwrite installation install the program in the same folder in which the previous program is installed 7 Start menu After the utility software is uninstalled the program name may still be displayed in the Start menu In this case restart the IBM PC AT compatible PC 8 Software versions of the CC Link master and local modules Use software of version N or later fo
22. Number of occupied stations 1 The data shown in the shaded areas in the standby master station is either input or retained according to the Data link faulty station setting in network parameters 5 FUNCTIONS MELSEC 2 Setting method The setting is performed using the CC Link utility For the detail on the setting method see Section 9 2 3 a Setting the master station First set the I F board as the master station on the Board Information screen fez CC Link Utility Information Board Information Network Monitor Station s Link Status Memory 1 0 Test Network Test Version Channel 1 CC Link 1 Board Setting Occupy St LinkEmX Data Baud Rate Oo Master E Latch Clear is CC Link Mode Seting RUN F 156K Janine ERR gosk MST F 25M LOCAL 5M T BW 10M JE Parameter Setti MS TEST arameter Setting PRM o Tr LRUN F sp LERR F RD Device Monitor Exit Help b Setting the standby master station Specify the Number of Connected modules Type and Occupy Station on the Parameter Setting screen Set the Standby master station to 1 on the Auxiliary Setting screen lt Parameter Setting screen gt modules ABUSE einem had D pem tm oe E iz E gum E med zil ENEE EE EE
23. Own station device to be monitored Device type to be designated RX X RY Y Device Type SB SW RWw RWr Random access buffer Buffer memory SPB Set the head number of the device to be monitored HEX Hexadecimal DEC Decimal OCT Octal Displays a list of registered devices Registers the items set for Device Type and Device No and then adds them to the Register Device List Selects the device to be changed Click this button to change the registered data Selects the device to be deleted Click this button to delete the device from the Registered Device List Device No Register Device List Change button The only devices that can be monitored by the 16 point entry monitoring are those that can be randomly accessed If any device that does not allow random access is designated a device type error 3 will occur For whether or not each device allows random access see Chapter 10 Accessible Devices and Ranges 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 6 Changing word device values The designated word device data can be changed as follows 1 Menu selection Select Device Write Data Changing on the menu bar 2 Dialog box Data Changing Device Type Device Type SDispecial register v Block Network No DeviceNo C HEX DEC 11 Setting Data C HEX C DEC 35 kl Device Type Sets the type and block network number
24. YES cable wiring Y Corresponding module failure gt Y Y 1 2 3 x1 Check for short circuits reversed connections disconnections terminal resistors FG connections overall distance and distance between stations 16 19 16 TROUBLESHOOTING Is the RUN LED lit Is the SD LED lit flashing Are the station number switches set correctly Are there any duplicate station numbers YES Corresponding module failure station number switch Is the SD LE D lit flashing Is the transmission rate set corerctly YES Corresponding module failure Is the communication cable wired correctly 1 YES MELSEC AA Set the correct transmission rate v Reset the ABOBDE J61BT11 Wire the communication cable correctly Corresponding module failure baud rate switch Are the station number NO switches set correctly Are there any duplicate station numbers Set the correct station numbers YES Reset the ABOBDE J61BT11 Corresponding module failure station number switch Y Set the correct station numbers v Reset the ABOBDE J61BT11 Complete x1 Check for short circuits reversed connections disconnections terminal resistors FG connections overall distance and distance between stations 16 20 16 TROUBLESHOOTING MEL
25. ese td for this installation fom Select English United States and click the OK button English United States M Welcome x 7 After verifying the contents of the screen display click the Next gt Welcome to the SW3DNF CCLINK Setup program This program will install SW3DNF CCLINK on your button It is strongly recommended that you exit all Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Next to continue with the Setup program WARNING This program is protected by copyright law and intemational treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under law Cancel Choose Destination Location x 8 Designate the installation destination folder Setup will install SW3DNF CCLINK in the following folder Tossa to ttis folder cick Newt The default installation destination folder for SW3DNF CCLINK is rea to a different folder click Browse and select another C L 5 E aca a maa To select the default folder click the Next gt button To change the installation destination folder click the Browse button and change the folder Destination Folder CAMELSEC Browse ET lt Back To
26. 5 0 or 6 0 and select the Tool Options menus Select the Directory tab and set the directory type to Include files Double click the item to set and reference the include file MDFUNC H has been saved in the following directory during installation User specified folder COMMON INCLUDE Add include lt mdfunc h gt at the beginning of your program 2 Setting up the library file Start Visual 5 0 or 6 0 and select the Tool Options menus Select the Directory tab and set the directory type to Library files in the same manner as in 1 above Open the workspace to create and select Project Settings menus Select the Link tab set General as the category and then type mdfunc32 lib in the object library module field 11 3 11 MELSEC DATA LINK LIBRARY MELSEC 11 4 Programming Procedure The following describes the programming procedure using the MELSEC Data Link Library In this section it is assumed that the utility software has already been installed 1 Turn on the power of the IBM PC AT compatible PC and start Windows Has the utility been set up 2 Perform utility setup See Chapter 9 for the setup procedure Change the settings 3 Perform the setup required for the MELSEC Data Link Library See Section 11 3 4 Create a user application using the MELSEC Data Link Library Open the communication port
27. Explanation Failed to initialize the VF board d Trouble Shooting Detail Displays the details of the error E Details may not be displayed for some sources Data Contents Detail 10000 68 0000 00 0000 00 00 0008 00 00 0000 0000 0000 0018 00000000 00000000 Displays details when the contents of a driver 0026 00 000000 00000000 s or buffer memory are referenced ET EE E Details may not be displayed for some sources P Displays the details of the next error log information Displays the details of the previous error log information Closes this dialog box Updates the information currently being displayed 9 OPERATING THE UTILITY SOFTWARE MELSEC MEMO 10 ACCESSIBLE DEVICES AND RANGES MELSEC 10 ACCESSIBLE DEVICES AND RANGES This chapter explains the devices and ranges that can be accessed during CC Link communication 10 1 Accessible Devices The following lists the devices that can be accessed during CC Link communication The term Batch in the following tables indicates Batch Read or Batch Write the term Random indicates Random Read Random Write Bit Set or Bit Reset 10 1 1 Own station IBM PC AT compatible PC X RX EN Bath Y RY EM Bath w RWw Random r RWr Random Own station buffer memory Random Own station random access buffer Random 10 ACCESSIBLE DEVICES AND RANGES 10 1 2 Other station MELSEC
28. switching and data link 0 Normal startup Other than 0 An error code is stored See Section 16 3 5 SW0073 Standby master station Stores the station number of the standby master station 6739 number 1to 63 5 FUNCTIONS MELSEC 5 Program example when the standby master function is used The following shows a program example when the standby master function is used void Change_StanbyMaster short Counter General counter short StNo Station number unsigned short DevType Device type short DevNo Device number short Size Sending data size short RecvBuf 10 Buffer for receiving unsigned short ret Return value Turn on SB1 switching request StNo OxFF Set the station number DevType 5 Set the device type SB equivalent to special M DevNo 0x1 Set the device number mdDevSet path StNo DevT ype DevNo if ret 0 printf SBI ON processing failed error code x n ret printf Press any key n getch mdClose path exit 0 for Counter 0 Counter lt 100 Counter Confirm completion of switching Read SB equivalent to special SM 43 Size 2 Set the size of sending data StNo OxFF Set the station number DevType 5 Set the device type SB equivalent to special M DevNo 0x20 Set the device number ret mdReceive path StNo DevType DevNo amp Size amp RecvBuf 0 if ret 0 printf mdReceive SB43 read processing fail
29. 24 V DC 7 mA 16 points common AJ65SBTB1 1 line DC input 16 point module sink source shared Compact type remote I O module 16D1 24 V DC 5 mA 16 points common high speed response type 1 DC input 32 point module sink source shared DC 7 mA 32 points common 3 SYSTEM CONFIGURATION Table 3 1 Equipment List 2 3 MELSEC Number of Product name Model name Description Station type occupied stations Compact type remote I O module Analog digital converter module Digital analog converter module AJ65SBTB1 32D1 AJ65SBTC1 32D AJ65SBTC1 32D1 AJ65SBTC4 16D AJ65SBTW4 16D AJ65SBTB1 8T 1 AJ65SBTB1 16T 1 AJ65SBTB1 32T i AJ65SBTC1 32T AJ65BT 64AD AJ65BT 64DAV AJ65BT 64DAI 1 line DC input 32 point module sink source shared 24 V 5 mA 32 points common high speed response type 1 line DC input 32 point module sink source shared 24 V DC 5 mA 32 points common 1 line DC input 32 point module sink source shared 24 V DC 5 mA 32 points common high speed response type 2 3 4 line DC input 16 point module sink source shared 24 V DC 5 mA 16 points common Waterproof 4 line DC input 16 point module sink source shared 24 V DC 5 mA 16 points common waterproof type ransistor output 8 point module sink V DC 0 5 A point 2 4A common 8 points common ransistor output 16 point module sink V DC 0 5 A point 3 6A com
30. 5 2 1 Communication with remote I O stations sess 5 3 5 2 2 Communication with the remote device stations 5 5 5 2 3 Communication with the local stations 5 10 5 2 4 Communication with the intelligent device station 5 16 5 3 Functions for Improving System Reliability sse 5 22 5 3 1 Disconnecting a data link faulty station and continuing the data link with only normal stations slave station disconnect function sss nennen rennen nnns 5 22 5 3 2 Automatically reconnecting a disconnected data link faulty station when it returns to normal PER 5 23 5 3 3 Retaining the device status of a data link faulty station setting the input data status from a data link faulty Station sss 5 24 5 3 4 Continuing the data link even when the master station is faulty standby master function 5 25 5 4 Useful FUNCIONS iasan aian iraia E ext er eem iei entree alla aaa 5 33 5 4 1 Creating a program that contains modules to be added in the future reserved station 5 33 5 4 2 Powering off a station in operation without detecting an error error invalid station setting function ennea R rennes 5 34 5 4 3 Checking operations for
31. Access destination A0J2H Q2A S1 A1S S1 Q3A A2A S1 A1SH Q4A A2U S1 A1SJ S3 Q4AR A2AS A3N Device A1SJH S8 Q2AS S1 IBM PC AT A1N S1 S30 A4U A2C Q2ASH S1 compatible PC A2USH S1 A3U A2CJ S Q02 H Q02 H A A2N S1 QO6H QO6H A A2S S1 Q12H A2SH S1 Q25H Randami Batch Y x Random Batch L x Random Batch M O x Random Batch Special M SM SB D G x Random Batch F O O O O O O x Random Batch O T contact o x Random x T coil O O x Random Batch contact Oo x Random x Batch o x Random x Batch T current value x Random Batch C current value O O O O O x Random Batch D O x Random Batch Special D SD SW O O O x Random Batch O Q T setting value main x x Random x x x x x Batch T setting value sub 1 X x x x Random x x x Batch T setting value sub 2 X x x x x x Random x Batch T setting value sub 3 xX x x X x x Random x 1 A2A S1 cannot be accessed 10 2 10 ACCESSIBLE DEVICES AND RANGES MELSEC
32. BUN wo LOCAL The master station is set CPU RAW The baud rate is set to 10 Mbps Sw T M S TEST E B TIME i UNE Sending data The data link is being executed LRUN sp 2 LED displays of the remote device station Be sure that the LED displays show the following status 24 V DC is being supplied 4 he module is ru Ing no ally RUN e The data link is being executed SD e normally RD Sending data LERR Se Receiving data on o ot 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION MELSEC 13 4 2 Confirming the operation with a user program Using a user program confirm that the data link is being executed normally With the sample program an analogue voltage is output by setting the digital value to 300 Analogue output of the AJ65BT 64DAV CH1 Digital output value Digital value 300 Master station A80BDE J61BT11 Terminal resistor Occupies 2 stations Remote device station station No 1 AJ65BT 64DAV 000 D A conversion module Terminal resistor Analogue output The sample program can be found in the CCLINK SAMPLE directory under the SW3DNF CCLINK utility software installation directory the default installation directory is CAMELSEC 1
33. EEE NES E EE E EE EE T EIEE EE es ien oc vd 1 ers ey a Ten Key Pad OK Cancel Apply All Clear Auxiliary Setting screen Delay Timer p X 5Dus aao penn i Number of Reetries Standby 1 master station 5 FUNCTIONS MELSEC 3 Notes on using the standby master function Only one standby master station is allowed in a single data link system The total number of stations can be no more than 64 including the standby master station The number of stations that can be occupied by the standby master station is one or four Do not specify station number 64 for a system in which a standby master station exists If it is used station number 64 cannot communicate normally If any abnormality is detected at the master station in the initial status before parameter communication starts the switch to the standby master station will not be executed When the master station becomes faulty the data link control will automatically be transferred to the standby master station but the cyclic transmission data will not be transferred Perform this transfer with a user program Once permitted the information before the detection of abnormality at the master station will be output to each station When the standby master station is controlling the data link parameters cannot be updated If the terminal block of the master station is removed and then replaced in its original position w
34. However the following conditions must be satisfied 1 1 x a 2 0 3 xc 4 d x64 a Number of modules occupying 1 station c Number of modules occupying 3 stations b Number of modules occupying 2 stations d Number of modules occupying 4 stations 2 16 x A 54 x B 88 x C A Number of remote I O stations lt 2304 lt 64 B Number of remote device stations lt 42 C Number of local stations standby stations and intelligent device stations Master station lt 26 IBM PC AT compatible PC A80BDE J61BT11 o BEA Local station Maximum 26 Local station Local station Local station QJ61BT11 A1SJ61BT11 AJ61BT11 A1SJ61QBT11 AJ61QBT11 Terminal resistor required Maximum 26 Intelligent device station Maximum 42 Remote device station CC Link dedicated cable Maximum 64 Remote I O station Mt 00 OOO RS 232C interface module AJ65BT R2 00 OOO Analog digital converter AJ65BT 64AD Remote I O module AJ65BTB1 16D AJ65BTC1 32D ge pa IBM PC AT compatible PC A80BDE J61BT11 A80BDE J61BT13 Terminal resistor required CC Link dedicated cable
35. I F board RX lt Local station PLC RY This indicates the time from the moment the local station s CPU device turns on off until RX of the master station I F board turns on off Formula LS x 3 SL ms Note 1 LS Link scan time see Section 6 1 SL Local station sequence program scan time Example When the link scan time is 3 ms and the local station s sequence scan time is 10 ms LS X 3 SL ms 3 3 10 19 ms 2 Master station I F board RY gt Local station PLC RX This indicates the time from the moment RY of the master station I F board turns on off until the local station s CPU device turns on off Formula LS x 3 1 Note 2 LS Link scan time see Section 6 1 SL Local station s sequence program scan time Example When the link scan time is 3 ms and the local station s sequence scan time is 10 ms LS X 3 SL ms 3 3 10 19 ms Note 1 When reading RX from the I F board with the md function it is necessary to add the own station access processing time of the md function Note 2 When writing RY to the I F board with the md function it is necessary to add the own station access processing time of the md function 6 DATALINK PROCESSING TIMES 3 MELSEC Master station I F board RWr Local station PLC RWw This indicates the time from the moment data is set in the local station s CPU device until RWr of the master station I F board is changed
36. SM3 0 5 19 0 5 35 0 503 0 0004 0 0004 0 SM4 0 5 20 0 SM 36 0 504 0 0005 0 0005 0 5 5 0 5M 21 0 5M 37 0 505 0 0006 0 0006 0 5 0 5 22 0 5 38 0 506 0 jx 0007 0 0007 0 SM7 0 5 23 0 5 39 0 507 0 x 0008 0 0008 0 5 8 0 SM 24 0 5 40 0 508 0 0009 0 0009 0 5 9 0 5 25 0 5 41 0 509 0 000A 0 0004 0 M 10 0 5 26 0 SM 42 0 5010 0 x lt 0008 0 0008 0 5 11 0 5 27 0 5 43 0 5011 0 x 000C oooc 0 5 12 0 5 28 0 5 44 0 5012 0 0000 0 0000 0 5 13 0 5 29 0 SM 45 0 5013 0 lt 000E 0 000E 0 5 14 0 5M 30 0 5M 46 0 5014 0 lt OOOF 0 GOOF 0 J SM 15 0 J SM 31 0 J SM 47 D 150 15 0 81 CC Link 1 slot Data Format The Channel Information in the Current Display Word device Network No 0 Station No 255 DEC 16bit M Y aL X f 2 2 3 Displays the current device status 1 Device Information To change the data format see Section 9 3 9 Displays the status of the network that is currently set 2 Network Status To set up the network see Section 9 3 4 Shows the data format and the type of the device being displayed word device and bit device 3 Data Format To change the device type see Section 9 3 5 To change the data format see section 9 3 9 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 4 Setting the monitoring destination This section describes how to set
37. Test Mode Selects the test to be performed Item Setting Network Test Performs a data link start and stop test Line Test Checks whether the connected station is normal or abnormal 9 OPERATING THE UTILITY SOFTWARE MELSEC Description When the Select button is clicked the following dialogue box is displayed lt Network Test gt lt Line Test gt Select this to perform the line test for Select this to start data link all stations stations 1 to 64 Select this to perform the line test Select this to stop data link by designating a station number OK Cancel station Tlo64 Click Cancel to close the dialog box CT 159 Designate the number of the station without performing the test stations 1 to 64 to be tested Click OK to start the test 4 only when a station is designated Click Cancel to close the dialog box without performing the test Test result Click OK to start the test Error stations were detected by line test Select button EnrorCode 058300 Test result of designated station CC Link Utility x Test result for all stations Line Test Status Station s Status 2 s Bei 7 2 05 iS fu 20 1 22 28 pod p pe p o 6 Sz 88 59 Bs D S2 6S 58 58 62 53 Normal Status Error s
38. are communicated using the remote input RX and remote output RY Numeric data positioning start number present feed value etc is communicated using the remote register RWw and remote register RWr IBM PC AT compatible PC Master station Program I F board co Write Write co 1 Network parameters Buffer memory Remote input RX Remote output RY Remote register RWw Remote register RWr Intelligent device station Remote input RX Handshaking signals such as initial data processing request and positioning complete Remote input RY Handshaking signals such as initial data processing complete and positioning start Remote register RWw Numeric data such as positioning start number and speed change value Remote register RWr er data such as present feed valu and send speed 5 FUNCTIONS Data link startup MELSEC 1 When the IBM PC AT compatible PC is powered on the CC Link system automatically starts up in accordance with the network parameters set by the utility Remote input 2 The remote input RX of the intelligent device station is automatically stored for each link scan in the remote input RX buffer memory of the master station 3 The program uses the mdReceive function to read the input status stored in the remote input
39. cable Pulling the cable that is connected to the I F board may cause damage to the I F board and cable or malfunction due to bad cable contacts START UP AND MAINTENANCE PRECAUTIONS N CAUTION Do not disassemble or modify each module Doing so could cause failure malfunction injury or fire Switch all phases of the external power supply off when mounting or removing the I F board Not doing so may cause failure or malfunction of the I F board Do not touch the terminal while the power is on Doing so may cause malfunction Switch all phases of the external power supply off when cleaning or retightening terminal screws or module installing screws Not doing so may cause failure or malfunction of the I F board If the screws are loose it may cause the short circuits or malfunction If the screws are tightened too much it may cause damages to the screws and or the I F board resulting in short circuits or malfunction DISPOSAL PRECAUTIONS N CAUTION When disposing of this product treat it as industrial waste REVISIONS The manual number is given on the bottom left of the back cover Print Manual Number Mar 2000 18 0800110 First Printing sss 2000 IB NA 0800110 First Printing Japanese Manual Version IB 0800062 A This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses
40. getch mdclose path exit 0 Use the paths that are already obtained in other processing for the path parameters in the standby master switching sample program They correspond to the path values obtained by mdOpen 5 FUNCTIONS MELSEC 5 4 Useful Functions This section explains some useful functions for the I F board 5 4 1 Creating a program that contains modules to be added in the future reserved station function This function prevents any of the remote stations local stations intelligent device stations and standby master station that is not actually connected but that will be connected in the future from being treated as a data link faulty station by the master and local stations Station that will be connected in the future Reserved station Station number 4 Local station Master Reserved station station Station number 1 Station number 3 occupies Station number 8 Station number 9 Remote station Remote station 4 stations Remote station Remote station occupies occupies occupies occupies 2 stations 1 station LN S E 2 stations 1station If any of the connected remote stations local stations intelligent device stations or standby master station is designated as a reserved station the data link with that station will become disabled Setting method Use the utility to specify reserved stations with the Station information settings of network
41. local station standby master station and intelligent device station at error Data link status When the local station s PLC CPU is stopped data link continues Remote device station Local station standby master station intelligent device station Remote input RX Continue Remote output RY Continue Remote register RWw Continue Remote register RWr Continue Remote input RX Continue Remote output RY Treats the own station send area with all O s When stopped all points of only the receive area from the local station are set to off Remote register RWw Continue Remote register RWr Continue When data link for the entire System is stopped Input data setting of the CC Link utility at error Master station Clear Latch Local station Clear Latch All points off Clear Clears the receive areas from other stations Latch Retains the receive areas from other stations Retains the receive areas from other stations Latch When communication error power off etc occurs in a remote I O station Input data setting of the CC Link utility at error Master station Clear Latch Local station Clear Latch Continue Continue Continue Continue Continue Clears the receive area from the remote VO station having a communication error Retains the re
42. master station 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC 14 3 Creating a Program This section describes the program that controls the intelligent device station The following three procedures are explained separately e Initialization procedure See Section 14 3 1 e Sending procedure See Section 14 3 2 e Receiving procedure See Section 14 3 3 14 3 1 Initialization procedure The following diagram shows the relationships among the user program of the IBM PC AT compatible PC and the remote inputs outputs and AJ65BT R2 buffer memory of the intelligent device station The shaded areas indicate the devices that are actually used For detailed information on the intelligent device station see the Type AJ65BT R2 CC Link System RS 232C Interface Module User s Manual Master station station No 0 Intelligent device station station No 1 IBM PC AT compatible PC AJ65BT R2 User program I F board Remote inputs RX RX4 initialization normal completion 3 5 i i 5 initialization abnormal completion RY4 initialization request Buffer memory OH sending area head address designation 1H sending area size designation 2H receiving area head address designation 1 3H receiving area size designation ee 100H word byte unit designation 111H receiving end data count designa
43. mdOpen Access the PLC CPU communication board using various functions See HELP for the MELSEC Communication functions provided with the utility software End the program Close the port that was opened by the mdOpen function mdClose Continued on the next page 11 4 11 MELSEC DATA LINK LIBRARY Continued from the previous page y 5 Start the created user application y 6 Access the PLC CPU and communication board Y 7 End the user application 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 It is necessary to perform only steps 5 to 7 above to access the PLC CPU and communication board again using an application program that has already been created by the user The functions get detailed PLC information at the initial execution when the corresponding devices are added Therefore the initial function execution time gets longer than usual 11 5 Channels The MELSEC Data Link Library uses the following channels Lr esame These channels are used when communicating via the I F board They are set with the BD No DIP switches on the 81 to 84 CC Link 1st to 4th boards back of the I F board The channels are set as fol
44. 2 starts the positioning operation and the AJ65BT D75P2 S3 turns on the dual axis operation completion RX2 and dual axis BUSY RX5 9 The AJ65BT D75P2 S3 turns off the single axis BUSY RX4 when Axis 1 completes the positioning operation 10 The AJ65BT D75P2 S3 turns off the dual axis BUSY RX5 when Axis 2 completes the positioning operation a 11 The single axis positioning start RY10 is turned off by the user program 12 The dual axis positioning start RY11 is turned off by the user program 13 The AJ65BT D75P2 S3 turns off the positioning start RX1 14 The AJ65BT D75P2 S3 turns off the positioning start RX2 15 The single axis servo RY20 is turned off by the user program 16 The dual axis servo on RY40 is turned off by the user program Parameters set in the sample program For home position return Positioning identifier setting 0x200 INC linear 1 M code setting 0 Dwell time 0 Axis 1 No 1 Command speed 0 30040 20000 Positioning address 1000 Arc address 0 Positioning identifier setting 0x200 INC linear 1 M code setting 0 Dwell time 0 Axis2 No 1 Command speed 0 30040 20000 Positioning address 1000 Arc address 0 15 10 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 3 4 JOG operation procedure The following diagram shows the relationships among the user program of the IBM PC AT compatible PC and
45. AND REMOTE STATIONS MELSEC 12 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE STATIONS This chapter explains the procedures ranging from module setup parameter settings programming to final operation check using a system configuration example 12 12 1 Configuring a System In this example a system consisting of a master station and two remote I O stations as shown below is used Master station IBM PC AT compatible PC A80BDE J61BT11 Terminal resistor Remote I O station station No 1 Remote I O station station No 2 AJ65SBTC1 32D1 AJ65SBTC1 32T 0000 O 1000 O OO OO Input module Output module eee Terminal resistor 12 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE STATIONS MELSEC 12 1 1 Setting up the master station The settings of the master station utility are shown below Link error X data setting Clear Information Board Information Network Monitor Station s Link Stats Memory 1 0 Test Network Test Version Channel 1 CC Link 1 Station number Board Setting setting Occupy St Lin xData BaudRate 0 master station 4 Lach TEY CC Link Utility Baud rate setting 10 Mbps LED EC Link 5 settin ERR 625K Online MST 8 25 v LOCAL T 5M i cPURAY 10M JE Sw T T Parameter
46. Cannot output data from a remote I O station Cannot receive the remote input RX of a remote device station Is the corresponding station set as a reserved station Are there any duplicate station numbers Do the settings match Is the corresponding remote O station performing data link Is data written to the correct address of the remote output RY buffer memory Is the correct master station s parameter information area CPU internal parameters default parameters being used Is the corresponding remote I O station number recognized by the master station Is the corresponding station set as a reserved station Are there any duplicate station numbers Do the settings match Is the corresponding remote device station performing data link 16 13 Check the parameters Check the reserved station designation status SW0074 to SW0077 Check the station number setting Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation parameter matching status SWO09C to SWOO9F Check the LED displays on the corresponding remote I O station Check the communication status of the master station with other stations SW0080 to SW0083 Check the user program Check the parameter information SW0067 Che
47. Displays errors from the first error log C Initial time and Date Specification saone 222542 Displays errors from the designated date End Display Condition LastenorLog Displays errors until the last error log C Latesttime and Date Specificatior gers 222327 4 4 Displays errors until the designated date Source Name No Setting 1 Displays errors having only the designated source name Error No Displays errors having only the designated error number Searches the error information having the source and error code from the error log data that is currently being displayed using the Search dialog box shown below Pressing the F3 key will do the same search operation Specifies the name of the source to be searched Search Source Name No Setting Search Next E lal Searches the next error information Helpt Inputs the error code to be searched 9 OPERATING THE UTILITY SOFTWARE MELSEC Description Displays the detailed information on the error log that is currently being selected Pressing Enter after selecting a display item will do the same display operation Detail of Error Log Classification Driver Date 99 07 16 Error No 1281 Time 22 25 42 Continuity ON Source Name MCCLINK1 Meecane Contents Initialize error
48. Error There is a station in which a fuse has blown Duplicate Station No Error Duplicate station number exists Switch Changed A switch has been changed An error invalid station is set Invalid Display Description Invalid An error invalid station is set No display No setting Displays the status of any transient errors Transient Err Display Contents Transient Err There is a transient error No display No transient error 9 OPERATING THE UTILITY SOFTWARE MELSEC A list of the communication status of other stations is displayed When a reserved station has been set in a data link parameter that is set at the master station that reserved station is displayed as a normal communication station in the following list of communication status of other stations All Station s Link Status View Station s Status All Station s Link Status View 2 RRB ERR eee m Re 21 2 ps 25 26 pz 29 80 872 ss Ba 85 36 87 88 89 0 Fil 6 52 eS ow es 59 50 61 52 63 a Error invalid Bl Reeve Temp Invalid OK 9 2 6 Operating the memory I O test window The Memory I O Test window diagnoses the dual port memory and I O port used by the I F board 1 Before starting a diagnostic operation be sure to disconnect the external cable 2 To switch windows during a diagno
49. Executing the Data Link To start the data link first turn on the power to the intelligent device station and then the master station 14 4 1 Confirming the operation with the LED displays The following shows the LED display status of the master station and intelligent device station when the data link is being executed normally 1 LED displays of the master station Be sure that the LED displays show the following status The I F board is normal The master station is set TINN The baud rate is set to 10 Mbps Sending data The data link is being executed normally LEONEL WEN 1717717 2 LED displays of the remote device station Be sure that the LED displays show the following status 24 V DC is being supplied AJ65BT R2 PW The module is normally RUN 9 4 The data link is being executed SD normally RD els 2 Sending data LERR O Receiving data 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC 14 4 2 Confirming the operation with a user program Using a user program confirm that the data link is being executed normally With the sample program initialization transmission and receiving can be performed Sending Sending data ABCD Master station IBM PC AT compatible PC R
50. F 2 3e 37 s 3 C C p RNO 624 6 54 C C LRUN C 2 C gt sD O C C gt 1 RD MODE RESET C 2 C gt C gt lt C C gt C 5 2 5422 2 M 2 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 2 Setting the Parameters This section explains how to set the network parameters for the master station 1 Setting the network parameters Set the network parameters as shown below using the attached parameter setting checklist and station information setting checklist Setting range Setting value Input data latch clear Operation settin Latch clear D besote res Clear Master Local Standby master Standby master Default Local Online remote net mode Offline Mode setting Module standalone hardware Offline operation check Online remote net mode Module standalone hardware operation check Default Online remote net mode Number of connected 1 to 64 1 module modules Default 1 1to7 Number of retries 3 times Default 3 1 to 10 Auto return station No 1 station Default 1 0 to 64 0 No standby master Standby master station designated Default 0 0 to 100 0 Not designated Delay timer Default 0 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC Station Information Setting Checklist In
51. F board CC Link module 11 1 11 MELSEC DATA LINK LIBRARY 11 2 Function List MELSEC The following table lists the functions that are provided by the MELSEC Data Link Library that comes with the utility software Reads the LED information of the own board For details of the functions see HELP for the MELSEC Communication Functions provided with the utility software HELP for the MELSEC Communication Functions can be found in the following directory if the utility software is installed by designating the default installation directory CX lt MELSEC gt L_____ lt DrvCommon gt L Help Mdfunc hlp 11 2 11 MELSEC DATA LINK LIBRARY MELSEC 11 3 Settings for Using the Functions This section explains the setting procedure for using the functions 11 3 1 When using Visual Basic 5 0 or 6 0 The following shows the setup procedure when using Visual Basic 5 0 or 6 0 1 Start Visual Basic 5 0 or 6 0 and select Project Add Standard Module menus 2 Select the Existing Files tab and select MDFUNC BAS MDFUNC BAS has been saved in the following directory during installation User specified folder COMMON INCLUDE 11 3 2 When using Visual C 5 0 or 6 0 The following shows the setup procedure when using Visual 5 0 or 6 0 1 Setting up the include file 1 2 4 Start Visual C
52. FFD3 Control cannot be performed properly in Ethernet communication Check if the system is operating normally 16 10 16 TROUBLESHOOTING MELSEC Return value PEIA i Error description Corrective action HEX Memory may be insufficient Close all other applications USB open error that are currently running Initialization and opening of the USB port failed Check if the system is operating normally Restart the system Conditioned random read is set from a software such as GPPW Wait until the conditions are satisfied Random read condition unsatisfied error Random read cannot be performed because the random read condition is not satisfied M Clear the condition settings Maximum open path value error Close several paths The number of open paths exceeds the maximum value 32 Exclusive control error Retry FFCD An exclusive control error occurred Check if the system is operating normally 16386 to 20222 See Section 16 3 5 Error codes stored in the link special registers See Section 16 3 5 B102 to BFFE 18560 B780 A transient request was issued to a remote station Check the request destination station 18575 i 8771 Other station s dedicated device was accessed to own station Check the device type Number of device points error 24957 The number of points set for the request destination station is out of device range Check the size 9E83 When bit
53. I O station remote device station Local station intelligent device N Remote station remote device station Remote I O station Local station Remote I O station remote device station intelligent device remote device station station A maximum of 6 stations can be connected station Remote I O station remote device station Branch line Remote I O station remote device station Terminal resistor between DA and DB Terminal resistor between DA and DB A maximum of 6 stations can be connected The number of branch lines is determined bythe branch line length per branch line and the overall branch line length 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 7 2 T Branch communication specifications list The following explains the communication specifications for T branch connection For communication specifications not listed below see Section 4 2 Performance Specifications Specification Remarks Transmission rate 625 kbps 156 kbps 10 M 5 M 2 5 Mbps are not allowed to use 100m 500 m Indicates the length of the cable between terminal Maximum length of the main line resistors The length of the T branch cable branch line 328 1 ft 1640 5 ft 3 length is not included Maximum length of the main line Indicates the overall cable length per branch Overall branch line length 50 m 164 05 ft 200 m 656 2 ft I
54. J61BT11 Procedure Connect a terminal resistor between the DA and DB terminals Set the mode to Hardware test and press the Apply button Apply button The contents of the setting corresponding to the I F board selected with Channel are updated Performs parameter settings Selectable only when setting the master station Parameter Setting button For information see 2 Parameter Setting window on the next page Parameter Write button Transfer the parameters that have been set Selectable only when setting the master station Hardware test 9 OPERATING THE UTILITY SOFTWARE MELSEC 2 Parameter setting window Parameter Setting Number of gt s Connected modules Occupy Station Intelligent Buffer Specify Word t S Ame 8 Type Station Specify Sending Received Automatic Remote 120 xl fi No setting v Up il E 2 el e m Intelligent Device v 4 No setting gt B4 64 128 Down Remote Device xl 2 El Nos setting gt Sox Remote 120 xl 1 Nos ELE p bs Remote Device v a E 13 inteligent Device x 4 Reserve 54 54 128 7 Intelligent Dev fice fi No B4 64 28 E si E Eos E E eI ig TenKey Pad i Cancel Apply All Clear Description Number of Connected Sets the number of modules to be connected to the CC
55. Link system modules By clicking this button the following dialogue box is displayed Sets the delay timer 098 Time p xsous QuoRewm Sets the number of auto Station No Sets the number of retries 99 imber of return stations Retries ii Sets the station number of gt 2anc n Auxiliary Setting master station the standby master station wc Cancel Closes the dialogue box without performing any auxiliary setting Exit the auxiliary setting by clicking this button No Displays the numbers of modules set with the Number of Connected modules Se Displays the station number of each module Occupy Station Sets the number of occupied stations one to four stations Tye the type of station Remote I O Remote Device Intelligent Device Sets the status of each module Description Reserve Sets as a reserve station Invalid Sets as an invalid station No setting No setting is performed wor 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 2 4 Network monitor window operation The Network Monitor window is used to monitor the line status of the own station CC Link Utility Information Board Information Network Monitor Station s Link Status Memory 1 0 Test Network Test Version Network Monitor Link Scan Time ms Channel St Type Data Link Status Error Status Max Curent Min 8o Master IDisconnecting Line Error Time
56. MELSEC 16 1 3 List of messages of error events that may occur when starting the driver Table 16 2 lists the error messages that are displayed in event viewer error viewer Table 16 2 List of error displayed in event viewer error viewer Event ID rd i Error description Corrective action HEX 256 T he driver could not be executed because an error occurred when starting Reinstall the driver software If the error persists reinstall 100 the driver Windows 95 98 or Windows NT 4 0 257 261 The I F board could not be detected Check the installation status of the I F board 258 jo here was no response from hardware Replace the I F board 259 he number of boards detected exceeded the maximum number of 103 boards that can be loaded 262 i56 An attempt to link a device name has failed Reinstall Windows 95 98 or Windows NT 4 0 268 An error occurred during reception processing 10C The request packet is invalid Check the programs of the IBM PC AT compatible PC and PLC 69 that requested the processing to this IBM PC AT compatible PC 10D An error occurred during transmission processing 1 Remove excessive boards An error occurred while writing to the registry Reinstall the utility software A request that could not be processed was received from other station Check the programs of the IBM PC AT compatible and PLC 118 A request for which a response request could not be processed was that request
57. Q QnACPU 26 1 DevSTT Retentive timer contact 27 1 DevSTC Retentive timer coil 28 1 DevQSW Q QnA link special register on Q QnACPU 30 1 DevQV Q QnA edge relay on Q QnACPU 11 7 11 MELSEC DATA LINK LIBRARY Device type Decimal Code designation Hexadecimal Device name designation DevSTN MELSEC Device Retentive timer current value DevFS S device of FXCPU DevMAIL Q QnA SEND function with arrival acknowledgment and RECV function 1001 to 1255 9 to 4 7 DevMAILNC DevLX1 to DevLX255 Q QnA SEND function without arrival acknowledgment Direct link input 2001 to 2255 701 to 8 DevLY1 to DevLY255 Direct link output 23001 to 23255 59 9 to 5AD74 DevLB1 to DevLB255 Direct link relay 24001 to 24255 5DC1 to SEBFu DevLW1 to DevLW255 Direct link register 25001 to 25255 61 9 to 62 7 DevLSB1 to DevLSB255 Direct link special relay network module side 28001 to 28255 6061 to 5 DevLSW1 to DevLSW255 Direct link special register network module side 29000 to 29255 71484 to 7247 DevSPG0 to DevSPG255 Special direct buffer register 31000 to 31255 7918 to 7 17 DevEMO to DevEM255 EM shared device 32000 to 32255 7000 to 7DFFH DevEDO to DevED255 11 8 ED shared device 12 COMMUNICATION BETWEEN THE MASTER STATION
58. Qut Error 0 0 0 Device Monitor E Help Displays the channel number Displays the own station s station number Monitors and displays the startup status of the data link Status Description Initial status Data link is in the initial status Waiting to receive parameters Parameters have not been received yet Data linking Executing data link Data link stopped Data link has stopped Disconnecting No Polling There is no inquiry from the master station and the Data Link Status link is being disconnected Disconnecting Line Error Disconnecting the link due to a line error Disconnecting Other Disconnecting the link due to other reasons Line test being performed Performing a line test Parameter setting test being Performing a parameter setting test from the master performed station Auto return being performed Performing an auto return of a disconnected station Resetting Resetting the board Monitors and displays the error status Display Description Normal Normal status Communication Path Error An error was detected in a communication path Error Status Parameter Error An error was detected in a parameter CRC Error A CRC error was detected Time Out Error A timeout error was detected Abort Error An error was detected in the I F board gate array Setting Error A setting error was detected Other Error An error
59. RX buffer memory IBM PC AT compatible PC Master station Intelligent device station Station number 1 occupies 4 stations Remote input RX RXOF to RX00 RX1F to RX10 RX2F to RX20 RX3F to RX30 Remote input RX H Handshaking signals such as positioning complete RxoF to Rxoo RX1F to RX10 RX2F to RX20 RX3F to RX30 3 mdReceive 1 4 RX4F to RX40 RX5F to RX50 RX6F to RX60 RX7F to RX70 2 RX8F to RX80 RX7FF to RX7FO RX4F to RX40 RX5F to RX50 RX6F to RX60 RX7F to RX70 Remote input RX when the AJ65BT D75P2 S3 is set to station number 1 to t 5 FUNCTIONS MELSEC Remote output 4 The program uses the mdSend function to write the on off information to the remote output RY buffer memory 5 The remote output RY of the intelligent device station is automatically set to on off for each link scan according to the output status stored in the remote output RY buffer memory IBM PC AT compatible PC Master station Intelligent device station Station number 1 occupies 4 stations Remote input RX i i Handshaking signals such as positioning Remote input RX complete Program RYOF to RYOO RY1F to RY10 RY2F to RY20 RY3F to RY30 RYOF to RYOO RY1F to RY10 RY2F to RY20 RY3F to RY30 RY4F to RY40 RY5F to RY50 RY6F to RY60 RY7F to RY70 RY4F to RY40 RY
60. RX buffer memory Remote device station Master station Station number 1 mdReceive occupies 2 stations Remote input RX Handshaking signals such as initial data processing request flag RXOF to RX00 RX1F to RX10 Remote device station Station number 3 occupies 2 stations Remote input RX Handshaking signals such as initial data 1 processing request flag RXOF to RX00 RX1F to RX10 Remote input RX when the AJ65BT 64DAV is set to station number 1 Signal direction AJO5BT 64DAV Master module RX00 to Not used RX17 RX18 Initial data processing request flag RX19 Initial data setting complete flag RX1A Error status flag RX1B Remote READY RX1C to Not used RX1F 5 FUNCTIONS MELSEC Remote output 4 The program uses the mdSend function to write the on off information to the remote output RX buffer memory 5 The remote output RY is automatically set to on off for each link scan according to the output status stored in the remote output RY buffer memory Remote device station Remote device station IBM PC AT compatible PC Master station Station number 1 Station number 3 get Swe tue iil csece seat TU I F board occupies 2 stations occupies 2 stations nmn HMH U
61. RY mdSend Remote register RWw mdSend Remote register RWr mdReceive b Transient transmission Link scan Link scan v Automatic refresh Remote register RWr Remote register RWw Automatic refresh 5 Automatic refresh 5 Read and write operations can be performed for the local station buffer memory and CPU device at an arbitrary timing using the mdReceive and mdSend functions respectively IBM PC AT compatible PC Master station I F board Program r 1 Write mdSend Transient transmission Local station PLC CPU Read mdReceive mdSend Transient transmission Transient transmission Transient transmission Buffer memory mdReceive 1 OVERVIEW MELSEC 4 Intelligent device station communication The communication between the master station and the intelligent device station uses two types of transmission methods cyclic transmission and transient transmission a Cyclic transmission Handshaking signals with the intelligent device station positioning start positioning end etc are communicated using the remote input RX and remote output RY Numeric data positioning start number present feed value etc is communicated using the remote registers RWw and RWr IBM PC AT compati
62. SWODNF CCLINK SW1DNF CCLINK and SW2DNF CCLINK The utility software setup needs to be performed again since all data set by each utility is erased Install SW3DNF CCLINK using Add Remove Programs in Control Panel Or execute SETUP EXE by clicking SETUP EXE to begin installation from Item 6 1 Preparation for the installation Required only when Windows 95 or 98 is used as an operating system The following explains the preparation procedure to be performed before installing SW3DNF CCLINK 1 Turn on the power to the IBM PC AT compatible PC and start Windows Add New Hardware Wizard 2 When the window shown at the left is displayed click the Next gt button This wizard searches for new drivers for PCI Network Controller m j E device driver is a software program that makes 9 hardware device work b gt To the next page 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC From the previous page What do you want Windows to do Add New Hardware Wizard 3 When the window shown at the left is displayed select Search for the best driver for your device Recommended and then click the Next button C Display a list of all the drivers in a specific location so you can select the driver you want 4 When the window shown at the left is displayed check the Specify a vile dere lees cessas location check box and then enter A US to the
63. and the I F board The processing time varies depending on the performance of the IBM PC AT compatible PC load condition and other factors The following table shows an example of the processing time for an IBM PC AT compatible PC equipped with a Pentium II 233 MHz CPU ea s sah wie Link scan time see Section 6 1 5i Local station s sequence program scan time Number of request data Number of write points 2 Number of response data Number of read points a Constant internal processing time of the sender Psst 120 points 121 to 240 points 241 to 360 points 361 to 480 points Master Read tS 05 E m LS ATR B Constant internal processing time of the receiver LS for the master station and local station bps Constant 1 Round up below the decimal point 2 When reading 1 LS 3 When writing 1 LS When performing a transient transmission using the md functions the transient transmission is executed in several runs by dividing the number of request data into sizes inside the md functions that can be received by the opposite station In addition after the communication line is opened the first md function performs extra transient transmission in order to obtain detailed information of the PLC 6 DATALINK PROCESSING TIMES MELSEC 6 3 2 Master station I F board intelligent device station 1 Master station I F board Intelligent device station This indi
64. by a temporary error invalid request temporary error invalid cancel request Request again after the data link becomes normal Set the station number of the slave station within the range between 1 and 64 Check the module station number Set the correct parameters 16 TROUBLESHOOTING Error code hexadeci mal Error description Cause of error details Installation parameter mismatching The contents of the installation status and network parameters do not match B30C Temporary error invalid station B30D designation error The station number was set to a value other than 1 to 40 with a station information parameter addresses 20 to 5 Station number setting error parameter The total number of occupied stations set with a station information parameter addresses 20 to 5 exceed 64 Total number of stations error parameter Nurmber of occupied stations The number of all occupied stations was set to p 9 0 with a station information parameter error parameter addresses 20 to 5 A write operation was performed to a use Use prohibited area write error E prohibited area not used in the buffer memory The station type was set to a value other than 0 to 2 with a station information parameter addresses 20 to 5F Station type setting error A write operation was performed to a use Use prohibited area write error prohibited area not used
65. completion RY78 is turned off by the user program The initial data setting request RY79 is turned on by the user program The AJ65BT D75P2 S3 turns on the initial data setting completion RX79 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 3 2 Home position return procedure The following diagram shows the relationships among the user program of the IBM PC AT compatible PC and the remote inputs outputs remote registers and AJ65BT D75P2 S3 buffer memory of the intelligent station The shaded areas indicate the devices that are actually used For detailed information on the intelligent device station see the Type AJ65BT D75P2 S3 Positioning Module User s Manual Master station station No 0 Intelligent device station station No 1 IBM PC AT compatible PC AJ65BT D75P2 S3 User program RX79 initial data setting completion mdReceive RX7B remote station ready RY10 single axis positioning start RY11 dual axis positioning start RY20 single axis servo on RY40 dual axis servo on RY 79 initial data setting request Remote registers i RWw i 3 i OET NEM RWw0 single axis positioning start number ees RWw8 dual axis positioning start number pro pL LIII T cT 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATIO
66. correctly Is the SD LED lit flashing v A80BDE J61BT11 failure Is the communication cable wired correctly 1 MELSEC 3 Set the correct transmission rate Reset the ABOBDE J61BT11 Reset the ABOBDE J61BT11 Are the station number switches set correctly Are there any duplicate station numbers y A80BDE J61BT11 failure NO Set the correct station numbers A80BDE J61BT11 failure Are the station number switches set correctly Are there any duplicate station numbers Set the correct station numbers Reset the ABOBDE J61BT11 Reset the ABOBDE J61BT11 A80BDE J61BT11 failure Complete 1 Check for short circuits reversed connections disconnections terminal resistors FG connections overall distance and distance between stations 16 22 16 TROUBLESHOOTING MELSEC 16 3 3 List of link special relays SBs The data link status can be checked by the bit information link special relays SBs Table 16 5 List of link special relays SBs Availability Available Not available Number Name Description Master Offline Local station station Restarts the data link that was stopped by SB0002 580000 Data link restart Off Restart not directed On Restart directed Switches the output information from the standby ma
67. corresponding dedicated instruction was executed station within the range The transient data was longer than the Make the communication buffer communication buffer size of the corresponding size of the corresponding station when a dedicated instruction was station larger than the transient executed data length 4 The corresponding station that is being tested the cable and the BA19 Corresponding station error M e x stopped communication during line test corresponding station All stati t d ications during li 1 All stations error fici SUI SUPPE eos SH Check the cables Th de itch of a local station is not BBC1 Mode setting error switch B js E seing switch or a local station IS NOt Set the switch to 1 x set to 1 BBC2 Station number setting error The station number setting switch of the module Set the switch to a value within switch is set to a value other than 0 to 64 the range from 0 to 64 BBC3 Transmission rate setting error The station number setting switch of the module Set the rate to a value within the switch is set to a value other than 0 to 4 range from O to 4 Tried to ch from th ter station 0 t Station type change error bon ial lie a aca 2 ior toa Execute the change by station number local station 1 to 64 or a local station to the resetting the PLC CPU master station by resetting the module Yn4 9 R the stati b BBC5 station duplic
68. device was designated the number of points was not a multiple of 8 This is checked by the request destination s link module Device number error The device number designated for the request destination station is out of device range Check the device number When bit device was designated the device number was not a multiple of 8 This is checked by the request destination s link module Device type error 24959 9 81 The device type designated for the request destination station is invalid Check the device type This is checked by the request destination s link module Processing code error 25056 A processing code that could not be processed by the request destination station Check the request destination station number and 9E29 was set processing codes This is checked by the request destination s link module Access a CPU other than a QCPU Q mode 26333 5955 The ROM version of the I F board does not support the QCPU mode Use the I F board ROM version W or later packed with SW3DNF CCLINK or later 26334 Board reset error 9922 Anote process that used the same channel executed a board reset while Retry accessing other station 26336 Request error for another loop Change the routing request destination to an ANUCPU Device access error of the data link interrupted station 28150 inki Ena Data can be read and written but the validity of the 920A Attempt was made to access the d
69. devices that are actually used For detailed information on each remote device station see the user s manual for each module Master station station No 0 Intelligent device station station No 1 IBM PC AT compatible PC AJ65BT R2 User program I F board 3 sending normal completion 39 RX1 sending abnormal completion mdSend RYO sending request Buffer memory 200H sending data count designation area i to sending data designation area S555 1 The sending data is written to the sending area of the AJ65BT R2 s buffer memory by the user program 2 Data is sent to the external device when the sending request RYO is turned on by the user program 3 Ifthe sending is normal the AJ65BT R2 turns on the sending normal completion RXO If the sending is abnormal the AJ65BT R2 turns on the sending abnormal completion RX1 4 The sending request RYO is turned off by the user program 5 The AJ65BT R2 turns off either the sending normal completion or sending abnormal completion RX1 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC 14 3 3 Receiving procedure The following diagram shows the relationships among the user program of the IBM PC AT compatible PC and the remote inputs outputs and AJ65BT R2 buffer memory of the intelligent devic
70. each station data link stop restart 5 35 5 4 4 Station number duplicate check sse nne tnnt nennt 5 35 5 5 Transient Transmission Functions ssessssssssssssssesseeeeee enne nnne 5 36 5 5 1 Performing transient transmission functions sse 5 36 Si Eire Scar Time ere edere eee a aed a ee lee ea eed ee e Tee Y aed ea ves 6 1 6 2 Cyclic Processing Time essent nennen 6 3 6 2 1 Master station I F board remote I O station sse 6 3 6 2 2 Master station I F board lt remote device station 6 4 6 2 3 Master station I F board local station PLC sse 6 6 6 2 4 Master station I F board intelligent device station s 6 8 6 3 Transient Transmission Processing Time sese 6 9 6 3 1 Master station I F board local station 6 9 6 3 2 Master station I F board intelligent device station en 6 10 6 4 Station Status at EnG ea e dn Dead gua 6 11 6 4 1 Status of the master station and remote I O station at error 6 11 6 4 2 Status of the remote device station local station standby master station and intelligent device ied oe dt cette nee ace pr
71. eicere ve dete o iet e 6 12 7 PARAMETER SETTINGS 7 1to7 6 Parameter Setting tete Fe t he EU a eR n ede Do e rdi red ga 7 1 7 2 Example of Parameter Settings nennen nennen ennt 7 8 7 2 1 Master station network parameter settings sse 7 8 7 2 2 Local station network parameter settings sse 7 5 8 PROCEDURE BEFORE STARTING THE DATA LINK 8 1to 8 20 8 1 Procedures Before Operating the I F Board essent nnne nnne 8 1 9 2 1 enc Lee IRR Dice ee eate Ln die ee Leda a ev en es 8 2 8 2 1 Precautions on handling the I F board seen enne 8 2 8 2 2 Installation environment sss ia ikarak n 8 3 8 2 3 Mounting and removing the terminal block sssseeneeeeneenne nne 8 3 8 3 Component Names and Settings sse enne nnn nni 8 4 8 4 Installing and Uninstalling the Utility Software ssssessseeeeeeeeeee nnne 8 6 8 4 1 Installing the utility software sseesieseeeeeeseeeeseeeeeeennen nennen trennen entere 8 6 814 2 Displayed Cons idi d ite ih iei d i ee ee d i ie ete ee 8 10 8 4 3 Uninstalling the utility software essent 8 11 8 5 Checking the Board Status Hardware Test cc cccccscceceeseeeeceeeeeeeeecaeceeeeeesaesaesaeseeesaesaeseeseaesaeeaeeaseaees 8 13 8 6 Connecting the Modules Using
72. error code is stored in SWO0068 Indicates the operation status of the own station data link Off Data link being executed On Data link not executed Indicates the data link status Off Data link by the master station On Data link by the standby master station Indicates whether or not a standby master station exists Off Standby master station does not exist On Standby master station exists 16 24 MELSEC Availability Available X Not available Offline Master A Local station station Be X x x x x x x x x x x x x x e x 16 TROUBLESHOOTING Number SB0074 SB0075 SB0076 SB0077 SB0078 SB0080 SB0081 SB0082 SB0083 SB0090 SB0094 SB0095 Reserved station designation status Error invalid station designation status Temporary error invalid station setting information Parameter receiving status Own station switch change status Other station data link status Other station watchdog timer error status Other station fusing status Other station switch change status Own station line status Transient transmission error status Master station transient transmission status MELSEC Availability O Available X Not available Master Offline Local station station Indicates the reserved station designation status by the Parameter Setting of the CC Link Utility SW0074 SW0077 Off Not designated On Design
73. forward JOG start RY16 is turned off by the user program The JOG operation will stop 8 When the dual axis JOG operation is stopped the dual axis forward JOG start RY18 is turned off by the user program The JOG operation will stop 9 The single axis servo on RY20 is turned off by the user program 10 The dual axis servo on RY40 is turned off by the user program 15 12 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 4 Executing the Data Link To start the data link first turn on the power to the intelligent device station and then the master station 15 4 1 Confirming the operation with the LED displays The following shows the LED display status of the master station and the intelligent device station when the data link is being executed normally 1 LED displays of the master station Be sure that the LED displays show the following status LED CC Link The I F board is normal RUN ERR MST F The master station is set CPURAY The baud rate is set to 10 Mbps Sw 5 F PRM TRE rr Sending data The data link is being executed LRUN 2 LED displays of the remote device station Be sure that the LED displays show the following status 24 V DC is being supplied AJ65BT D75P2 S3 PW e The module is normal RUN 9
74. information when the standby station operates as a local station thus it does not need to be transferred to another device 5 FUNCTIONS MELSEC c Standby master station output when the master station is down and the standby master station is controlling the data link tandby master station Station number 1 Master station Number of occupied stations 1 Remote Remote mE Remote I O station BOE bipul RY Station number 2 RX00 to RXOF Cet i Number of occupied stations 1 Remote station RX10 to RX1F Station number 3 RX20 to RX2F Remote Remote 1 1 1 1 pOBpAET T7 im LF Number of occupied stations 1 RX30 to RX9F YioioYib d ses t TUERI E i i RX40 to RX4F aro d a a eh tg 00 YOF RRR LI dL LL RX50 to RX5F Yioto The data sent to the remote output RY of the standby master station by a sequence program is sent to the remote I O stations as output information d Standby master station input when the master station is down and the standby master station is controlling the data link Standby master station Station number 1 Master station Number of occupied stations 1 Remote Remote Remote Remote input RX output RY Remote I O station Station number 2 Number of occupied stations 1 Remote I O station Station number 3 Sere
75. jx OOOF x OO1F Eaj 81 CC Link 1 slot Data Format The Channel Information in the Current Display Network No 0 Station No 255 Bit device Vertical indication Displays the current device status 1 Device Information To change the data format see Section 9 3 9 Displays the status of the network that is currently set 2 Network Status To set up the network see Section 9 3 4 Shows the data format and the type of the device being displayed word device and bit device 3 Data Format To change the device type see Section 9 3 5 To change the data format see section 9 3 9 9 OPERATING THE UTILITY SOFTWARE 9 3 3 Setting the 16 point entry monitor MELSEC Set the Device Monitor Utility so that it monitors up to five bit devices and one word device simultaneously 1 2 Menu selection Select Menu 16 Point Entry Monitor on the menu bar Selectable for batch monitoring only Display window fg Device Monitor Utility BE Menu Setting Device Write DataFormat Option Help 0000 0 0000 0 SM 0 SM 16 0 5 32 0 500 0 0001 0 0001 0 5M 1 0 SM17 0 5 33 0 5D1 0 0002 0 0002 0 SM2 0 SM 18 0 SM 34 502 0 0003 0 0003 0
76. list and click Add Remove Add Remove OK To the next page 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC From the previous page Confirm File Deletion E 3 Are you sure you want to completely remove SW3DNF CCLINK and all of its components 95 5 If the window shown at the left is displayed click the No to All 4 Click the Yes button to start the uninstall procedure The system indicates that the following shared file is no longer used by any programs any programs are still using this file and it is removed those butto n rograms may not function Are you sure you want to remove the shared file oux nun Clicking the Yes or Yes to All button removes the shared files of the MELSEC utility software group and as a result other utility software may not function normally Leaving this file will not harm your system If you are not sure what to do it is suggested that you choose to not remove this shared component File name Located in C NWINDOWSNSYSTEMN Yes To Al No No to All uninstallShield will remove the software SW3DNF CCLINK from your computer Please wait while each of the following components is removed Remove Programs From Your Computer 6 When the utility software has been uninstalled click the OK button Shared program files Standard program files Folder items Program folders Program directo
77. ms 6 DATALINK PROCESSING TIMES 3 MELSEC Master station I F board RWr Remote device station RWr This indicates the time from the moment a signal is input to the remote device station until RWr of the master station I F board is changed Formula LS X 2 Remote device station processing time ms Note 3 LS Link scan time see Section 6 1 Example When the link scan time is 3 ms and the remote device station processing time is 1 5 ms LS X 2 Remote device station processing time ms 3X24 1 5 7 5 ms Master station I F board RWw Remote device station RWw This indicates the time from the moment RWw of the master station I F board is changed until the data of the remote device station is changed Formula LS X 3 Remote device station processing time ms Note 4 LS Link scan time see Section 6 1 Example When the link scan time is 3 ms and the remote device station processing time is 1 5 ms LS X 3 Remote device station processing time ms 3 3 1 5 10 5 ms Note 3 When reading RWr from the I F board with the md function it is necessary to add the own station access processing time of the md function Note 4 When writing RWw to the I F board with the md function it is necessary to add the own station access processing time of the md function 6 DATALINK PROCESSING TIMES MELSEC 6 2 3 Master station I F board lt local station PLC 1 Master station
78. number 2 Datalink control Number of occupied stations 1 in progress Remote I O station Station number 3 Number of occupied stations 1 Standby master station Station number 1 Number of occupied stations 1 Standby L Cyclic communication Cyclic communication Master station is down gt Data link control by the standby master station Master station Remote station Station number 2 Number of occupied stations 1 Remote I O station Station number 3 Number of occupied stations 1 Cyclic communication Standby master station Station number 1 Number of occupied stations 1 Data link control in progress Cyclic communication Cyclic communication Cyclic comsetinication 9 Reserve station function Stations that are not actually connected stations to be connected in the future will not be treated as faulty stations if they are specified as reserve stations Stations that will be connected in the future Reserve station Station number 4 Master Local station Reserve station Station Station number 1 Station number 3 occupying Station number 8 Station number 9 Remote station Remote station 4 stations Remote station Remote station occupying 1 station occupying 2 stations occupying occupying E 2 stations 1 OVERVIEW Master station Master station Np a 10 Error i
79. number of connected modules 51 0072 16 TROUBLESHOOTING MELSEC Description of problem Check item Check procedure Cannot communicate from a local station remote output RY to the master station remote input RX Cannot communicate from the master station remote register RWw to a local station remote register RWr Cannot communicate from a local station remote register RWw to the master station remote register RWr Is the corresponding station set as a reserved station Are there any duplicate station numbers Do the settings match Is the corresponding local station performing data link Is data written to the correct address of the remote register RWw buffer memory of the master station Is data read from the correct address of the remote register RWr buffer memory of the local station Is the corresponding local station number recognized by the master station Is the corresponding station set as a reserved station Are there any duplicate station numbers Do the settings match Is the corresponding local station performing data link Is data written to the correct address of the remote register RWw buffer memory of the local station Is data read from the correct address of the remote register RWr buffer memory of the master station Is the corresponding local station number recognaized by the master station 16 17 Check the parameters Check the reserved sta S
80. of the device for which data is to be changed Sets the number of the device for which data is to be changed HEX Hexadecimal DEC Decimal OCT Octal Setting Data Sets the data to be changed HEX Hexadecimal DEC Decimal Device No DANGER e Configure an interlock circuit in a sequence program so that the entire system works safely at all times when controlling the data change to the PLC during operation Also determine which corrective actions to take in the event of a data communication error between the IBM PC AT compatible PC and PLC CPU in use 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 7 Changing word device values continuously The designated word device data can be changed to the designated data for the number of points set 1 Menu selection Select Device Write Continuous Change in Data on the menu bar 2 Dialog box Continuous Change in Data Device Type Device Type SD special register v Block Network No DeviceMo C HEX DEC C OCT 22 4 Setting Data C HEX DEC 35 Points C HEX DEC 4 Device Type Set the type and block network number of the device for which data is to be changed Set the head address of the device number to change data Device No HEX Hexadecimal DEC Decimal OCT Octal Set the data to be continuously changed Setting Data HEX Hexadecimal DEC Decimal Set the number of points to perform contin
81. own station Or the station number corresponds to own station OxFF but the network number is not 0 71 Receiving data error when RECV is requested Wait until data is received 47 Data has not been received End all other application programs that are currently 77 Memory allocation error running 4D Sufficient memory could not be allocated Check if the system is operating normally Restart the system Make sure that the dual port memory is not used by Tim rror during m ettin imeout error during Mode seling another board and restart Mode setting was attempted but failed due to timeout Hardware failure Software setting data error Check the contents of the argument parameters in the Argument parameters were not set correctly during software setting software setting data Retry Startup source channel response error when SEND is requested Check if the system is operating normally A response error when SEND is requested is abnormal Restart the system 85 Channel number error when RECV is requested Check the channel number used when RECV is 55 Channel number error requested 16 6 16 TROUBLESHOOTING MELSEC Return value e i Error description Corrective action HEX Accessing own station board or requesting SEND An access request was issued to the own station board while accessing the own station board Routing parameter error Correct the routing parameters The routing pa
82. parameters For more details on the setting see Section 9 2 3 5 FUNCTIONS MELSEC 5 4 2 Powering off a station in operation without detecting an error error invalid station setting function Master station Master station By setting network parameter this function prevents any of the remote stations local stations intelligent device stations and standby master station that is powered off in the system configuration from being treated as a data link faulty station by the master and local stations Note that if a station is set as an error invalid station problems occurring in that station can no longer be detected In addition the error invalid station settings cannot be changed while online because they are set with network parameters Station number 1 Remote station occupies 2 stations Stations to be set as error invalid stations Station number 3 Remote station occupies 1 station Station number 1 Remote station occupies 2 stations Station number 3 Remote station occupies 1 station Station number 4 Local station occupies 1 station This station does not become data link faulty Station number 4 Local station occupies 1 station Station number 5 Remote station occupies 2 stations Station number 5 Remote station occupies 2 stations Station number 7 Local station occupies 4 st
83. power to the IBM PC AT compatible PC and start Windows 2 Click the Start button point to Settings and then click Control Panel Add Remove Programs Properties 2 x Install Uninstall windows Setup Startup Disk a To install a new program from a floppy disk or CD ROM drive click Install z 72 The following software automatically removed by cel Windows To remove a program or to modify its installed components select it from the list and click Add Remove OK Cancel Install Program From Floppy Disk or CD ROM Insert the product s first installation floppy disk or CD ROM J and then click Next Ss gt 3 Click Add Remove Programs Click the Install button 4 When the window shown at the left is displayed insert the floppy disk labeled as 1 5 the 1st disk into the floppy disk drive After inserting the floppy disk click the Next gt button To the next page 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC From the previous page Ic The window shown at the left is displayed to indicate that M ETT SETUP EXE has been found Click the Finish button and start the installation If SETUP EXE was not found click the Browse button and Browse change to the directory where SETUP EXE is located 6 After a few moments the window shown at the left is displayed
84. search location M id When the setting is complete insert the floppy disk labeled as 5 5 the 5th disk into the floppy disk drive and then click the Next button Windows will search for new drivers in its driver database CD ROM drive T Microsoft Windows Update Specify a location asus Back Nest Cancel l Windows driver file search for the device Add New Hardware Wizard 5 The system searches for a device driver file Click the Next gt button PCI MELSEC CC LINK Controller Windows is now ready to install the best driver for this device Click Back to select a different driver or click Next to continue Location of driver A SUSSMCCLINK INF Cancel Add New Hardware Wizard 6 The operation is complete when the window shown at the left is displayed Windows has finished installing the software that your new Click the Finish button hardware device requires E PCI MELSEC CC LINK Controller 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 2 Installing SW3DNF CCLINK Install SW3DNF CCLINK according to the procedure below Control Panel 151 File Edit View Help Control Panel z e e 9 Ss l 32bit ODBC Accessibility Date Time Options Hardware 9 W da 4 Display Find Fast Fonts Internet Keyboard a X Sets up programs and creates shortcuts 1 Turn on the
85. station link register Random x x x x x x x Batch Q Other station SB 1 S 2 2 E Random x x x x x x x Batch Other station SW 1 S 2 2 2 9 S 2 Random x x x x x x x 1 Access to the CC Link intelligent device station module s buffer memory installed in each CPU 10 2 Accessible Ranges The accessible ranges during CC Link communication include only the master station in which the I F board is installed the local station PLC the intelligent device station and the IBM PC AT compatible PC in which the I F board is installed 10 4 11 MELSEC DATA LINK LIBRARY MELSEC 11 MELSEC DATA LINK LIBRARY This chapter explains an overview of the functions included in the MELSEC Data Link Library Note that the screens shown in this manual are Window 95 screens Therefore they may be slightly different from the screens for Windows NT Workstation 4 0 and Windows 98 11 1 Overview of the MELSEC Data Link Library The functions provided by the MELSEC Data Link Library are used when creating a user program that communicates with a PLC CPU With these functions the user can perform communications without worrying about the hardware type of the destination device or the communication protocol PC AT compatible The user can easily communicate with a designated PLC without worrying about the L3 communication protocol T EF MELSEC Data Link Library I
86. the CC Link Dedicated Cable sese 8 14 8 7 T Branch Connection with the CC Link Dedicated Cable sse 8 16 8 7 1 T Brarich system configuration erraia ee toan ed eed etd ettet 8 16 8 7 2 T Branch communication specifications list sese 8 17 8 8 Utility Software Settings aE aE aia 8 18 8 8 1 Station number setting sess trennen tnter nnns inne nnn nnns 8 18 8 8 2 Transmission rate and mode settings sssssssseseseenennennen enne 8 19 9 1 Operations Common to All Utility Software esee 9 1 9 171 Starting eee ed ante dete d ttd iet doe d edd eed eds 9 1 9 1 2 Starting the device monitor utility ennt 9 1 9 19 Quitting aA CUTIE seg ob cases 5 3 9 2 9 1 4 Displayirig the helpwiridOw 3 oit ette tete toe ted etd uet ted ut des 9 3 9 1 5 Veritying th pip p PIC pR IPRC PRI Dp EE 9 4 9 2 Operating the CC Link Utility sisse nennen nnns 9 5 9 2 1 Operating procedure sse nennen nne nnt tre trn 9 5 9 2 2 Operating the information 9 6 9 2 3 Operating the board information windOw
87. the control panel has a considerable effect not only securing safety but also shielding the noise generated from the IBM PC AT compatible PC in the control panel 1 Control panel a b Use an electrically conductive control panel Mask the coating when fastening the control panel s top or bottom panel with bolts so that the surface contact can be provided c To ensure good electrical contact between the inside panel of the control d e panel and the control panel s main unit mask the coating around the installation bolts connecting to the main unit so that conductivity can be secured in the largest surface area possible Ground the control panel s main unit using a thick ground cable so that low impedance can be secured even at high frequency Be sure the holes on the control panel are less than 10 cm 3 94 in in diameter A hole larger than 10 cm 3 94 in may leak electric waves Layout of the power supply cable and ground cable The power supply cable and ground cable for an IBM PC AT compatible PC should be laid out as follows Specify a grounding point that enables the grounding of the control panel close to the power supply to the IBM PC AT compatible PC Ground the FG frame ground terminal of the IBM PC AT compatible PC or the SLD shield terminal of the I F board using the thickest shortest cable possible about 30 cm 11 81 in or less in length Since the FG and SLD terminals function to gro
88. the device SD 23 to 123 All right Yes lt DANGER Configure an interlock circuit in a sequence program so that the entire system works safely at all times when controlling the data change to the PLC during operation Also determine which corrective actions to take in the event of a data communication error between the IBM PC AT compatible PC and PLC CPU in use 9 OPERATING THE UTILITY SOFTWARE MELSEC 2 Bit device The following explains how to switch the bit device on off Note that this operation is enabled only when the data format is Vertical Indication 1 Double click the number of the bit device to be changed UU u h nmt n 2 Select Yes in the dialog box shown below to change the bit device status Select No to cancel the change operation Device Monitor Utility x Change the device 0017 to ON All right Yes DANGER e Configure an interlock circuit in a sequence program so that the entire system works safely at all times when controlling the data change to the PLC during operation Also determine which corrective actions to take in the event of a data communication error between the IBM PC AT compatible PC and PLC CPU in use 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 4 Operating Error Viewer This section explains how to set up and operate Error Viewer 9 4 1 Window description The following explains the Error Viewer window B Communication Support Softwa
89. the next page 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC From the previous page 9 The installation will start Insert the floppy diskettes in sequence c melsec cclink sample vb project vip according to the directions displayed on the screen 10 The dialog box shown at the left is displayed to indicate that the Bette you can use the you must eat Windows or installation has successfully been completed mi To restart verify that Yes want to restart my computer now is checked then click the Finish button To restart later check No will restart my computer later and click the Finish button Setup has finished copying files to your computer Fes want to restart my computer now will restart my computer later Remove any disks from their drives and then click Finish to complete setup 1 If the installation failed to complete successfully and it is possible to uninstall the utility software execute the uninstall procedure 2 To reinstall the utility software reinstall it after uninstalling it first 8 4 2 Displayed icons After the utility software is installed the following icons are displayed by selecting the Start button pointing to Programs and then to MELSEC 1 fi MELSEC CC Link Utility Starts CC Link Utility 2 Error Viewer for Windows 95 Windows 98 only Starts Error Viewer POINT 1 If the utilit
90. the normal status it automatically joins the data link Sets the status clear latch of the input Input data status setting f reception data from a station that became data Section 5 3 3 from data link faulty station link faulty because of power off etc Continues data link by switching to the standby Standby master function master station when a problem occurs in the Section 5 3 4 master station 5 FUNCTIONS MELSEC 3 Table 5 3 lists the useful functions Table 5 3 List of the useful functions e Reference Item Description section Performs communication with all stations Remote net mode remote stations local stations intelligent device Section 5 4 4 stations and standby master station By assigning modules that will be connected in the future as reserved stations these will not be Reserved station function treated as data link faulty stations If any of the Section 5 4 6 connected modules is designated as a reserved station it cannot perform data link Prevents modules that will be powered off in the Error invalid station setting system configuration from being treated as data Section 5 4 7 link faulty stations by setting network parameters Stops or restarts the data link that is being Data link stop restart Section 5 4 10 executed Station number duplicate Checks for duplicate modules having the same y Section 5 4 11 check function station n
91. the remote I O station response time is 1 5 ms LS X 3 Remote I O station response time ms 3X34 1 5 10 5 ms Note 1 When reading RX from the I F board with the md function it is necessary to add the own station access processing time of the md function Note 2 When writing RY to the I F board with the md function it is necessary to add the own station access processing time of the md function The own station access processing time of the md function varies depending on the performance of the IBM PC AT compatible PC load condition and other factors The following shows an example of the processing time for an IBM PC AT compatible PC equipped with a Pentium II 233 MHz CPU Own station access processing time IBM PC AT compatible PC equipped with a Pentium II 233 MHz CPU 2 md function 2 bytes 512 bytes 1024 bytes Batch read mdReceive 0 3 ms 0 7 ms 1 2 ms Batch write mdSend 0 3 ms 0 4 ms 0 5 ms 6 DATALINK PROCESSING TIMES MELSEC 6 2 2 Master station I F board lt remote device station 1 Master station I F board RX Remote device station RX This indicates the time from the moment a signal is input to the remote device station until RX of the master station I F board turns on off Formula LS X 2 Remote device station processing time ms Note 1 LS Link scan time see Section 6 1 Example When the link scan time is 3 ms and the remote devi
92. up the network to be used when performing device monitoring The destination should be specified when starting the Device Monitor Utility 1 Menu selection Select Setting Network Setting on the menu bar 2 Dialog box Channel 81 CC Link 1 slot Network Setting C Own 8 Other Sta Sta No Set the channel to be used Network Setting Set the own and other stations as well as the network number and station number Logical Sta No Set the logical station number POINT Do not designate a remote I O station or an intelligent device station connected to the CC Link as the monitor destination If designated an error will occur 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 5 Setting the device to be monitored This section describes how to set up the device to be monitored 1 Menu selection Select Setting Device setting on the menu bar 2 Dialog box For batch monitoring For 16 point entry monitoring Device Device Type Device Type Device Type input M bv Block NetworkNo Block Network No DeviceNo C HEX DEC 0 E DeviceNo HEX C DEC 0000 Register Device List Bit device Word device Y 0000 smo SM 10 Execute Cancel Set the type and block network number of the device to be monitored To monitor the own station device of the I F board set as shown below
93. v 12 1 12 1 1 Setting up the master station ssssssssssssssssssseeeeeeeeeee 12 2 12 1 2 Setting up the remote I O stations 12 3 12 2 Setting the Parameters ccena nete eie n e n UE en genito 12 4 12 3 Creating a PIOQFaIm oe icit ineo egli PEERS Ig abbas 12 6 12 4 Executing the Data Link o ioc ect ue 12 7 12 4 1 Confirming the operation with the LED displays 12 7 12 4 2 Confirming the operation with a user program sssssssssseeseeeeeenennen nennen 12 8 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION 13 110 13 8 13 1 Configuring a System sss 13 1 13 1 1 Setting up the master station essent nnne nnne nnne 13 2 13 1 2 Setting up the remote device station sessi nennen 13 2 13 2 Setting the Parameters i LL e Ihe tee cad d rece een 13 3 19 9 Greatirng a PFOQEAITI s ooi tert D rene D erre gt o D freta te 13 5 13 4 Executing the Data Link 13 7 13 4 1 Confirming the operation with the LED displays 13 7 13 4 2 Confirming the operation with a user
94. you have checked the faulty board with another IBM PC AT compatible PC Switch settings 10 The detailed error descriptions of the CC Link driver registered in Event Viewer for Windows NT 4 0 or Error Viewer for Windows 95 98 16 37 16 TROUBLESHOOTING MELSEC MEMO 16 38 APPENDIX MELSEC APPENDIX Appendix 1 External Dimension Diagram 188 7 4 6 024 T T Ly om 9 q L e N hl JE BS zw x of z E i vov U 4 gt 176 6 93 0 71 18 192 7 56 Unit in App 1 APPENDIX MELSEC Appendix 2 Dealing with the Year 2000 Problems The problems regarding the year 2000 include recognizing the years 1999 and 2000 and date adjustment for leap years The following table shows how the year 2000 is handled Operating Systems Utility software name Windows 95 Windows 98 Windows NT 4 0 ew sos 6 Js A Normal year transition B Automatic adjustment of dates for leap years Countermeasure not x Countermeasure required required 1 lt IBM PC AT compatible PCs that support the year 2000 gt No countermeasures are required IBM PC AT compatible PCs that do not support the year 2000 If the system is continuously being operated when the yea
95. 0 m 360 9 ft 5 Mbps 59 cm 23 2 in 60 cm 236 in or more 1 m 3 28 ft or more 150 m 492 1 ft 30 cm 11 8 in to 164 1 59 cm 23 2 in 50 m 164 1 ft 60 cm 23 6 in to 262 4 ft 99 cm 38 9 in Som 1 m 3 28 ft or more 100 m 328 1 ft CC Link dedicated high performance cable uses a terminal resistance of 130 Station to station cable length Transmission rate gt Overall cable distance 156 kbps 1200 m 3937 2 ft 625 kbps 30 cm 11 8in or more 600 m 1968 6 ft 2 5 Mbps 200 m 656 2 ft 30 cm 11 8 in to 11 0 9 ft 5 Mbps 59 cm 23 2 in 1 m 3 28 ft or more 960 9 1 60 23 6 in or more 150 m 492 1 ft 70 cm 27 5 in to 50 m 164 1 ft 10 Mbps 99 cm 38 9 in m 1 3 28 ft or more 80 m 262 4 ft The cable length between remote I O stations or remote device stations is within this range and if even one location is wired the overall cable distance will be as indicated above 4 SPECIFICATIONS MELSEC 4 3 CC Link Dedicated Cable Specifications Use the CC Link dedicated cable for the CC Link system If a cable other than the CC Link 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 Catalog L NA 74108143E 4 SPECIFICATIONS MELSEC MEMO 5 FUNCTIONS 5 FUNCTIONS
96. 071 Check the number of connected modules 51 0072 Check the parameters Check the reserved station designation status SW0074 to SW0077 16 TROUBLESHOOTING MELSEC Description of problem Check item Check procedure Cannot write data to the remote register RWw of a remote device station Cannot communicate from the master station remote output RY to a local station remote input RX Cannot communicate from a local station remote output RY to the master station remote input RX Are there any duplicate station numbers Do the settings match Is the corresponding local station performing data link Is data written to the correct address of the remote output RY buffer memory of the master station Is data read from the correct address of the remote input RX buffer memory of the local station Is the corresponding local station number recognaized by the master station Is the corresponding station set as a reserved station Are there any duplicate station numbers Do the settings match Is the corresponding local station performing data link Is data written to the correct address of the remote output RY buffer memory of the local station Is data read from the correct address of the remote input RX buffer memory of the master station Is the corresponding local station number recognaized bu the master station 16 16 Check the station number setting Check the i
97. 2 1991 IEC801 2 Static electricity immunity Immunity test by applying static electricity to the unit enclosure 4 kV contact discharge 8 kV air discharge IEC801 3 Radiated electromagnetic field Immunity test by exposing the product to radiation from an electric field 10 V m 27 500 MHz IEC801 4 First transient burst noise Immunity test by applying burst noise to the power line and signal line 2kV EN50082 2 1995 EN61000 4 2 Static electricity immunity mmunity test by applying static electricity to the unit enclosure 4 kV contact discharge 8 kV air discharge EN61000 4 4 First transient burst noise mmunity test by applying burst noise to the power line and signal line 2kV ENV50140 Radiated electromagnetic field AM modulation mmunity test by exposing the product to radiation from an electric field 10 V m 80 1000 MHz 80 AM modulation 1 kHz ENV50204 Radiated electromagnetic field Pulse modulation mmunity test by exposing the product to radiation from an electric field 10 V m 900 MHz 200 Hz pulse modulation 50 96 duty ENV50141 Conduction noise Immunity test by inducting an electromagnetic field to the power line and signal line 10 Vrms 0 15 80 MHz 80 AM modulation 1 kHz 1 QP Quasi Peak Quasi peak value Mean Mean value 2 1 2 EMC DIRECTIVE MELSEC 2 1 2 Installing devices in the control panel Installing devices in
98. 39B Reserved station designation error All stations were set as reserved stations with Check the parameter s reserved parameter parameter station setting Change the parameter after all A parameter change was executed during a i B401 Parameter change error p 9 9 tansient requasts are transient request completed or before any are requested Set a longer monitor time A response from the requesting station was not in lue If B404 Response error ponso seeds Sian T ANS returned within the monitor time period persists check the requesting module and cables Standby master station designation error installation status Check the parameter or condition setting switch 16 33 16 TROUBLESHOOTING MELSEC Error code Detectability hexadeci Error description Cause of error details Corrective action Master mal Local station station A transient request was issued to a remote I O the target station to a local Transient target station error station or remote device station station or intelligent device station Always turn RY off and then A request was issued without turning RY on RY RY simultaneous on error issue a request after the off before the response is completed response is completed Transient communication number The numbers for request data and response Check the line mismatch error data do not match The same channel cannot be used at the same t
99. 4 The data link is being executed SD normally RD els 2 Sending data LERR O Receiving data 15 13 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 4 2 Confirming the operation with a user program Using a user program confirm that the data link is being executed normally With the sample program initialization home position return positioning and JOG operation can be performed Program execution Initialization Home position return Positioning JOG operation X Master station IBM PC AT compatible PC A80BDE J61BT11 Terminal resistor Occupies 4 stations Initialization operation Home position return Intelligent device station station No 1 operation AJ65BT D75P2 S3 Positioning operation JOG operation E 060 p oO Positioning module Terminal resistor Servo amplifier __ ER CI amplifier The sample program can be found in the CCLINK SAMPLE directory under the SW3DNF CCLINK utility software installation directory the default installation directory is CAMELSEC 15 14 16 TROUBLESHOOTING 16 TROUBLESHOOTING MELSEC This chapter describes the details of the problems that may occur in the CC Link System It presents a list of check items and corrective actions to take for possib
100. 4 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 This chapter explains the procedures ranging from module setup parameter settings programming to final operation check using a system configuration example 14 1 Configuring a System In this example a system consisting of a master station and one intelligent device station AJ65BT R2 as shown below is used Master station IBM PC AT compatible PC A80BDE J61BT11 X Terminal resistor Occupies 1 station Intelligent device station station No 1 AJ65BT R2 000 co RS 232C module Terminal resistor External device 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 14 1 1 Setting up the master station The settings of the master station utility are shown below we CC Link Utility Clear Link error X data setting MELSEC Information Board Information Network Monitor Station s Link Stays Memory 1 0 Test Network Test Version Channel CC Link 1 z Station number Board Setting setting gt 0 master station LED CC Link UIN 11777 111 111 Occupy St Lip Data c C Latch Clear ME r Baud rate setting 10 Mbps
101. 5 V DC Input Xn turns off after the response time for the input module changes from on to off When the input external power supply turns off the input Xn 3 SYSTEM CONFIGURATION MELSEC When supplying power from a single power source to multiple remote I O modules select the proper type of cable and perform wiring by considering the voltage drop Connections can be established if the receiving port voltage at the remote I O module is within the specified range of the remote I O module to be used Qua Stabilized power supply Remote module Remote module CONFIGURATION 2 MELSEC 3 2 3 Equipment list Table 3 1 lists the equipment that configures the CC Link Table 3 1 Equipment list 1 3 Number of Product name Model name Description i Station type occupied stations Master local board for IBM A80BDE CC Link master local interface board for IBM PC AT compatible PC AT compatible PC J61BT11 PC for PCI bus slot A1SJ61BT11 Master local module for Q series For a local AJ61BT11 Master local module for AnS series station dora MAST a or local s station Master local module A1SJ61QBT11 Master local module for A series stations AJ61QBT11 Master local module for Q2AS series QJ61BT11 Master local module for QnA series 1 line DC input 16 point module sink source shared AJ65BTB1 16D 24 V DC 7 mA 16 points common 2 l
102. 5F to RY50 RY6F to RY60 RY7F to RY70 RY8F to RY80 RY7FF to RY7FO R5 Remote output RY when the AJ65BT D75P2 S3 is set to station number 1 Signal direction 65 075 2 53 Master module RYO1 RYOF RY10 Single axis positioning start RY11 Dual axis positioning start Use prohibited RY12 Use prohibited RY13 Single axis stop RY14 Dual axis stop 5 FUNCTIONS MELSEC Writing to the remote register RWw 6 The program uses the mdSend function to write the sending data to the remote register RWw buffer memory 7 The data stored in the remote register RWw buffer memory is automatically sent to the remote register RWw of the intelligent device station T O AT compatible aeaa E M aster station Intelligent device station Station number 1 occupies 4 stations Remote register RWw Numeric data such s positioning sa number Remote register RWw H 5 r RWwO RWw1 d i RWw2 i Program RWw3 RWw4 RWw5 RWw6 6 RWw7 7 i RWw7 mdSend i P i J RWw8 RWw8 i RWw9 RWw9 RWwA RWwA RWwB RWwB RWwC RWwC RWwD RWwD RWwE RWwE RWwF i RWwF eS RWw10 to RWwFF Remote register RWw when the AJ65BT D75P2 S3 is set to station number 1 Single axis new present value Single axis new speed value Single axis JOG speed 5 FUNCTIONS MELSEC Reading fro
103. 8 in to 1 m 3 28 ft or more 39 15 3 in 80 262 4 ft Number of connected stations 33 to 48 40 cm 15 7 in or more 30 cm 11 8 in to 39 15 3 in 40 cm 15 7 in to 69 cm 27 1 in 100 m 328 1 ft 20 m 65 6 ft Number of connected stations 49 to 64 30 m 98 4 ft 70 27 5 in or more 100 m 328 1 ft The cable length between remote I O stations or remote device stations is within this range and if even one location is wired the overall cable distance will be as indicated above 4 SPECIFICATIONS MELSEC 2 For a system consisting of remote I O stations remote device stations local stations and intelligent device stations R stati Remote I O stati Local station Local station emote I O station emote I O station or o Ld or or intelligent device intelligent device station station remote device station remote device station 2 1 2 2 I Overall cable distance 1 Cable length between remote I O stations or remote device stations 2 Cable length between the master station or the local or intelligent device station and the adjacent stations CC Link dedicated cable uses a terminal resistance of 110 Q m Station to station cable length Transmission rate 5 Overall cable distance 156 kbps 1200 3937 2 ft 625 kbps 30 cm 11 8 in or more 600 m 1968 6 ft 2 5 Mbps 200 m 656 2 ft 30 cm 11 8 in to 11
104. B MELSEC CC Link Utility WS FL E ErrorViewer Starts Error Viewer 1 1 Error Viewer is available only when the operating system is either Windows 95 or 98 9 1 2 Starting the device monitor utility The following explains how to start the Device Monitor Utility from the CC Link Utility The Device Monitor Utility can be started by clicking the Device Monitor button at the bottom of the CC Link Utility window fez CC Link Utility Board Information Network Monitor Station s Link Status Memory 1 0 Test Network Test Version Board List Channel No Board Model Name IRQ No Memory Address 1 0 Port No ROM Ver 81 S80BDEJ61BT11 CC Link 11 00 F3FBFFFFH 7800 78FFH we EEA cuin ems bum ovo ini A 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 1 3 Quitting a utility The following explains how to quite a utility 1 To quite a utility click the Exit button at the bottom of the Utility window f CC Link Utility Bie Board Information Network Monitor Station s Link Status Memory 120 Test Network Test Version Board List Channel No Board Model Name IRQ No Memory Address 1 0 Port No ROM ar FDEJT Cek FOF 7830 7898 SS Se Baa ES a 18080 gt 0 ql e ERI Device Monitor Help Click 2 To quite the Device Monitor Utility click Menu Exit
105. COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE STATIONS MELSEC 12 2 Setting the Parameters This section explains how to set the network parameters for the master station 1 Setting the network parameters Set the network parameters as shown below using the attached parameter setting checklist Setting range Setting value Input data latch clear Operation settin Latch clear D Master Local SS Standby master Standby master Default Local Online remote net mode cults Online remote net mode Mode setting Module standalone hardware Offline operation check Module standalone hardware operation check Default Online remote net mode Number of connected 1 to 64 2 modules modules Default 1 1to7 Number of retries 3 times Default 3 11010 Auto return station No 1 station Default 1 0 to 64 0 No standby master Standby master station station designated Default 0 0 to 100 0 Not designated Delay timer Default 0 12 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE STATIONS MELSEC 2 Example of network parameter settings An example of network parameter settings is shown below lt Parameter Setting window gt pram modules 2 _ Seting Seting No St ine Occupy Station Intelligent Buffer Specily Word Station Specify Sending Received Automatic EI cmm SS pem ama NE Tf dimos e emt a puer des osos v jum
106. MITSUBISHI Type A80BDE J61BT11 CC Link System Master Local Interface Board User s Manual For SW3DNF CCLINK melse Mitsubishi Programmable Logic Controller e SAFETY PRECAUTIONS e Always read these instructions before using this equipment Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly The instructions given in this manual are concerned with this product For the safety instructions of the programmable controller system please read the CPU module user s manual In this manual the safety instructions are ranked as DANGER and CAUTION D DANGER Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury CAUTION Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight personal injury or physical damage M Note that the NCAUTION level may lead to a serious consequence according to the circumstances Always follow the instructions of both levels because they are important to personal safety Please store this manual in a safe place and make it accessible when required Always forward it to the end user DESIGN PRECAUTIONS 4 DANGER For details on the operating status of each station when a communicati
107. Master Local Standby master Standby master Default Local Online remote net mode Offline Mode setting Module standalone hardware Offline operation check Online remote net mode Module standalone hardware operation check Default Online remote net mode Number of connected 1 to 64 1 module modules Default 1 1to7 Number of retries 3 times Default 3 1 to 10 Auto return station No 1 station Default 1 0 to 64 0 No standby master Standby master station designated Default 0 0 to 100 0 Not designated Delay timer Default 0 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC Station Information Setting Checklist Intelligent Buffer Specify Word Type Station Specify DIC ERES 2 Example of network parameter settings An example of network parameter settings is shown below Parameter Setting window Parameter Setting Number of jl Connected modules hz elmer Occupy Station Intelligent Buffer Specify Word Mee 95 Type Station Specify Sending Received Automatic Inteligent Device fi x No setting v 64 64 128 5 5 Hz Ld p Ls Ls Ls Ls Ki 1 Ld Ls Ls Ten Key Pad OK Cancel Apply All Clear Auxiliary Setting window gt DaeyTine Do xa T Number of 3 Retries Standby
108. N AJ65BT D75P2 S3 MELSEC 1 The initial data setting request flag RY79 is turned on by the user program 2 The AJ65BT D75P2 S3 turns on the initial data setting completion RX79 3 The start number is written to the single axis positioning start number RWwO by the user program 4 The start number is written to the dual axis positioning start number RWw1 by the user program 5 initial data setting request flag RY79 is turned off by the user program 6 The AJ65BT D75P2 S3 turns off the initial data setting completion RX79 7 The AJ65BT D75P2 S3 turns on the remote station ready RX7B 8 The single axis servo on RY20 is turned on by the user program 9 The dual axis servo on RY40 is turned on by the user program 10 The single axis positioning start RY10 is turned on by the user program The home position return operation will start 11 The dual axis positioning start RY11 is turned on by the user program The home position return operation will start Parameters set in the sample program For home position return Basic parameters Extended parameters Home position return method 5 counting system 2 Home position return dwell time 0 zero point signal is not Displacement setting after near point dog 1000 used Home position return acceleration time selection 0 Home position return direction 0 forward direction Home position return deceleration time selection 0 Home position add
109. Pad dn d rea ede rade atris 9 24 9 4 Operating Error Vie Wetini nini aiina P o n P Lr evened e ad t P t a devon ies 9 26 9 40 1 Window deScriptionan 9 26 9 4 2 Log MONU epp pn ep 9 27 QS VIG WMS Mes 9 28 10 4 Accessible Devices a iad ppp 10 1 10 1 1 Own station IBM PC AT compatible PO nennen 10 1 101 2 Otherstatio Mes xii dnce d Noli 10 2 10 2 Accessible RINGES c t dn rare e ED eR Dru 10 4 11 MELSEC DATA LINK LIBRARY 11 1to11 8 11 1 Overview of the MELSEC Data Link Library sesesssssssssssseeeennennenn nennen nennt 11 1 TS Function EISE o e oto 11 2 11 3 Settings for Using the FUNCtIONS ccccecceceeseeeeceeceeeeeeeaeceeesaeeaeeaeceeesaseaecaecaeseaeeaesaeseeeaeeaesaeseeseaeeaes 11 3 11 3 1 When using Visual Basic 5 0 or Doarren o ea Ea nennen nennen nennen 11 3 11 3 2 When using Visual C 5 0 or 6 0 nennen 11 3 11 4 Programming Proceduro neinir einni ieia i ia ETEA ANET AAEE I 11 4 115 lt a vex a dino risu pras tr EE Saa a I 11 5 11 6 Station Number 8 a a a ai 11 5 11 7 DEVICE Types aite rro eere eh ge ee e eee eee ree lhe 11 6 12 1 Configuring a System iicet iae e Lc ee eee rere eni adi
110. Random Batch S device of FXCPU x x x x x x x Random 1 A2A S1 cannot be accessed 10 3 10 ACCESSIBLE DEVICES AND RANGES Access destination MELSEC A0J2H Q2A S1 NSP sensn A2U S1 A1SJ S3 joe Q4AR Device A1SJH S8 51 530 Q2AS S1 IBM PC AT A2C Q2ASH S1 compatible PC A2USH S1 A2CJ S Q02 H A Q02 H A2N S1 QO6H A Q06H A2S S1 Q12H A2SH S1 Q25H Own station buffer memory Q QnA SEND function with arrival acknowledgment Q QnA SEND function Batch without arrival x x x x x x x acknowledgment Random Batch O Direct link input x x x x x x Random x Direct link output x x X x x x Random x Batch O Direct link relay x x x x x x Random x Batch O Direct link register x x X x x Random Direct link special relay Batch O x x x x x x network module side Random x Direct link special register Batch x x x x x x network module side Random x Batch Special direct buffer register x x X x x x Random x Other station buffer memory Batch 1 Random x x x x x x x Other station random access Batch O O O buffer Random x x x x x x x Batch Other station RX 1 2 S 2 2 9 Random x x x x x x x Batch Other station RY 1 9 2 E 2 Random x x x x x T Batch Q Q O O O Q Other
111. SEC 2 When the I F board is used as a local board The ERR LED of the master station is flashing Do the parameter settings and installed system configuration match correctly Y Correct the parameter settings or installed system configuration Are the master tation link special register 510080 to SW0083 data link status of other stations NO turned on Master station failure Are the master Station link special registers NO 510098 to SWO09B duplicate station number status turned on Check the module for which Check the module for which SW0098 to SWO009B are on SW0098 to SWOO9B are on Are the station numbers Is the power on set correctly P Y Set the station numbers correctly Y Reset the A80BDE J61BT11 A80BDE J61BT11 failure Is the RD LED lit M M 1 2 Check the master station side Check the ABOBDE J61BT11 side v Turn on the power Is the communication cable wired correctly 1 Correct the communication cable wiring A80BDE J61BT11 failure 3 1 Check for short circuits reversed connections disconnections terminal resistors FG connections overall distance and distance between stations 16 21 16 TROUBLESHOOTING Is the L RUN LED lit Is the SD LED lit flashing Is the transmission rate set
112. SEC Availability Available Not available Number Name Description Master Offline Local station station Stores the Mode Setting status of the CC Link Utility 0 Online remote net mode 2 Offline 6 Module standalone hardware operation check SWO0060 Mode setting status Stores the Own Station Setting status of the CC Link Utility Station number setting SW0061 0 Master station status 1 to 64 Local station Stores the setting status of the CC Link Utility 0 Off 1 015 b8 b7 66 b5 b4 b3 b2 61 bO o te o o o o ojo Type Link Err X Data Occupy St SWO0062 Condition setting status Setting status ON OFF Master station Standby master ype local station station Link Err X Data Clear Latch Occupy St 1 station 4 stations N NT Stores the setting status of the number of retries designation at the time of an SWO064 umber of retries setting error response status 1 to 7 times b Stores the setting status of the number of auto return stations during one link return number Swo06s uto eturn station number san setting status 1 to 10 stations Stores the setting status of the scan interval delay timer SWO0066 Delay timer setting status Oto 100 ms Stores the parameter information area to be used SWO0067 information 1 Buffer memory data link started by Yn6 2 data link started by Y
113. T J61BT13 or I F board A response was not received from the requested station when the requesting station is the A8GT J61BT13 or I F board A transient transmission was executed even though the target station was set in the I O mode Transient request overload error Transient request error Response timeout Module mode setting error Wait a while and then resend transient transmission overloaded status Check if the target station is an intelligent device station Check the requested module and cables Set the target station in the intelligent mode An access code attribute that does not exist was Set the correct access code B801 Access code setting error attribute B802 An access code that does not exist was used Use the correct access code Number of data points error The number of data points is out of range Number of data error The number of data is out of rage Set the number of data points Ho a value in the range from 1 to 960 bytes B804 Attribute definition error The attribute definition was invalid Review the attribute definition wp xe Set the number of data to a value in the range from 1 to 100 when writing and 1 to 160 when reading xv The address was not a multiple of 16 when a bit Set the address to a multiple of B807 Address definition error device was accessed 16 when accessing a bit device The combination of the set address and number Se
114. The user programs writes to the RY outputs of the I F board Arguments to be set Station number FF own station Device type 2 own station RY Device number 2F 4 The RY outputs of the I F board are output to the remote I O by link refresh MELSEC Remote station station No 1 12 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE STATIONS MELSEC 12 4 Executing the Data Link To start the data link first turn on the power to the remote I O stations and then the master station 12 4 1 Confirming the operation with the LED displays The following shows the LED display status of both the master and remote I O stations when the data link is being executed normally 1 LED displays of the master station Be sure that the LED displays show the following status LED CC Link The I F board is normal BUN wo EET LOCAL The master station is set CPU RAW The baud rate is set to 10 Mbps Sw T M S TEST E B TIME n UNE Sending data The data link is being executed RUN sp 2 LED displays of the remote I O station Be sure that the LED display shows the following status AJ65SBTC1 32D1 O Off AJ65SBTC1 32T PW LRUN LERR oN oN 24 V DC is being supplie
115. W0074 to SW0077 Check the station number setting atus SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation si ion designation status e Check the installation si atus SW0069 Check the station number duplicate status SW0098 to SWO009B e Check the installation parameter matching status SWO09C to SWOO9F Check the LED displays on the corresponding local station Check the communication status of the master station with other stations SW0080 to SW0083 Check the user program Check the user program Check the parameters e Check the total number of stations SW0070 Check the maximum communication station number SW0071 Check the number of connected modules 51 0072 Check the parameters Check the reserved sta SW0074 to SW0077 Check the station number setting atus SWO0069 Check the station number duplicate status SW0098 to SWO009B Check the installation si ion designation status e Check the installation si atus SW0069 Check the station number duplicate status SW0098 to SWO009B e Check the installation parameter matching status SWO009C to SWOO9F Check the LED displays on the corresponding local station Check the communication status of the master station with other stations SW0080 to SW0083 Check the user program Check the user program Check the paramet
116. Windows NT Workstation 4 0 IBM PC AT compatible PC IBM PC AT and compatible personal computer Generic term for AOJ2HCPU A1SCPU A1SCPU S1 A1SCPUC24 R2 A1SHCPU A1SJCPU A1SJCPU S3 AnNCPU A1SJHCPU A1SJHCPU S8 A1TNCPU A2CCPU A2CCPUC24 A2CCPUC24 PRF A2CJCPU A2NCPU A2NCPU S1 A2SCPU A2SCPU S1 A2SHCPU A2SHCPU S1 A3NCPU and A1FX AnACPU Generic term for ABACPU A2ACPU S1 A2ACPUP21 R21 A2ACPUP21 R21 S1 ASACPUP21 R21 and ASACPU AnUCPU Generic term for ABUCPU A2UCPU S1 A2ASCPU S1 A2ASCPU S30 AZUSHCPU S1 ASUCPU and A4UCPU QnACPU Generic term for Q2ACPU Q2ACPU S1 Q2ASCPU Q2ASCPU S1 Q2ASHCPU Q2ASHCPU S1 Q3ACPU Q4ACPU and Q4ARCPU ACPU Generic term for ANNCPU AnACPU and AnUCPU A mode Generic term for QO2CPU A Q02HCPU A and QO6HCPU A OUT Q mode Generic term for QO2CPU QO2HCPU QO6HCPU Q12HCPU and Q25HCPU Master station The station controlling the remote station local station and intelligent device station Local station A station that has a CPU and can communication with the master station and local station A remote station that can only handle bit information AJ65BTBO OO AJ65BTCO O0 Remote I O station Remote station General term for the remote I O station and remote device station Intelligent device station A slave station such as the AJ65BT R2 in the CC Link system that can perform transient transmission Master and local modules General term for the AJ61QBT11 A1SJ61QBT11 AJ61BT11 A1SJ61BT11 a
117. an 1 to parameter 7 from 1 to 7 The number of auto return stations setting Number of auto return stations Set a value within the range 1 parameter address was set to a value other setting error parameter 4 from 1 to 10 than 1 to 10 A duplicate station number was set with a Set the parameter so that station information parameter addresses 20 to station numbers are not 5Fu duplicated Station number duplicate error parameter The station information parameter addresses 201 to 5 setting does not satisfy the following condition 16 X 4 54 X 88 X C 2304 Set the parameter so that it satisfies the condition shown at the left Station data setting error parameter A Number of remote I O stations B Number of remote device stations C Number of intelligent device stations including local stations The number of occupied stations in a station information parameter addresses 204 to 5 was set to a value other than 1 to 4 Number of occupied stations setting error parameter Set a value within the range from 1 to 4 The number of connected modules parameter Number of connected modules Set a value within the range address 1 was set to a value other than 1 to setting error parameter 64 from 1 to 64 The condition setting switch for the station number not specified with a parameter is designated for the standby master station B
118. ansmission when the standby master function is used a Master station output while the master station is controlling the data link Standby master station Station number 1 Number of occupied stations 1 Remote Remote I O station output RY Station number 2 Number of occupied stations 1 Remote I O station Station number 3 Number of occupied stations 1 X00 to XOF YOO to YOF The master station data sent to the remote input RX in the standby master station shown by the shaded areas in the figure above is used as the output information when the master station becomes faulty thus it should be transferred to another device using a sequence program In addition when the master station becomes faulty the transferred data is transferred to the remote output RY of the standby master station using a sequence program b Master station input while the master station is controlling the data link Standby master station Station number 1 Number of occupied stations 1 Remote input RX Remote Remote I O station output RY Station number 2 Number of occupied stations 1 Remote I O station Station number 3 Number of occupied stations 1 X00 to XOF X10 to X1F to YOF Y10 to Y1F The remote I O station data sent to the remote output RY of the standby master station is being used by the standby master station as the input
119. arising from some other cause was detected Max maximum value of the link scan time is displayed 1 ms units Link Scan Time iris Current The current value of the link scan time is displayed 1 ms units ms Min minimum value of the link scan time is displayed 1 ms units 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 2 5 Operating the station s line status window The Station s Line Status window displays the line status of other stations The Station s Line Status is monitored only when the own station status is Data Linking 2 CC Link Utility Information Board Information Network Monitor Station s Link Status Memory 1 0 Test Network Test Version Channel 1 CC Link 1 Board Setting St Master St Occupy St Status Reserve Invalid Transient Err Device Monitor Exit Displays the type of the station that is set Display Description Type Remote Device Remote device station Remote I O Remote I O station Intelligent Device Intelligent station local station Displays the status of other stations Display Description 1 Communicating Normally Normal Communication Interrupted Communication is stopped Status of Status Link Error A link error has occurred WDT Error A watchdog timer error has occurred Fusing
120. array variables is too small size Block error Check the block number device type of the extension The block number of the designated extension file register is invalid file register Check the block number device type of the extension n i Write protect erro file register The block number of the designated extension file register duplicates with the write protect area of the memory cassette Check the write protection DIP switch of the access destination s memory cassette Memory cassette error No memory cassette is installed in the accessed CPU or an incorrect memory Check the memory cassette of the access destination cassette is loaded Read area length error Check the read size and read data storage destination The read area size for read data storage array variables is too small size Station number network number error t Check the designated station number network number The station number network number is out of range All station group number designation error Check if the function supports all station group number All station group number was designated for a function that does not support all designation station group number designation Check the designated code FFEE An undesignated code was designated Check the designated channel number FFED The channel number designated with the SEND RECV function is out of range 21 Error occurred in gethostbyname Check if the designa
121. at may threaten to cause serious accident N CAUTION Do not bunch the control wires or communication cables with the main circuit or power wires or install them close to each other They should be installed 100mm 3 94 in or more from each other Not doing so could result in noise that may cause malfunction INSTALLATION PRECAUTIONS N CAUTION Use the I F board in an environment that meets the general specifications contained in this user s manual Using this I F board in an environment outside the range of the general specifications may cause electric shock fire malfunction and damage to or deterioration of the product e Do not directly touch the conductive area or electronic components of the I F board Doing so may cause malfunction or failure in the I F board e Fix the I F board securely with the installation screws and tighten the installation screws within the specified torque range If the screws are loose it may cause short circuits or malfunction If the screws are tightened too much it may cause damage to the screws resulting in short circuits or malfunction WIRING PRECAUTIONS N CAUTION Switch all phases of the external power supply off when installing or placing wiring Not doing so may cause electric shock damage to the product or malfunction When turning on the power and operating the module after installation and wiring are completed always attach the terminal cover that com
122. ate error A master station already exists Syiew the station numper setting switch Tried to change from mode 0 or 2 to the test Execute the change by BBC6 Mode ch eios modechangeenor mode by resetting the module Yn4 resetting the PLC CPU BBC7 The module is faulty Replace the module BFFE CPU monitor timer timeout The CPU monitor timer timed out check the operation sithe target station Transient data length error 16 36 16 TROUBLESHOOTING MELSEC 16 4 Required Items when Making an Inquiry When making an inquiry after determining that the board is faulty please provide us with the following information 1 8 9 Trouble description in specific Example When starting up after powering on the message board Not response is displayed and the board does not start Manufacturer type and model name of your IBM PC AT compatible PC Main memory capacity hard disk capacity and CPU model name Operating system name Windows NT Workstation 4 0 Windows 95 98 The slot position where the board is installed and the number of installed boards Whether or not other manufacturer s optional boards are used If other manufacturer s optional boards are installed please provide us with the following information for each board Board model name Board manufacturer Memory address head address and occupied size O address head address and occupied size IRQ number and DMA number Whether or not
123. ated Indicates the error invalid station designation status by the Parameter Setting of the CC Link Utility SW0078 to SW007B Off Not designated On Designated Indicates whether or not a temporary error invalid station is set SW007C to SW007F es the parameter receiving status from the master station Off Reception complete On Reception not complete Detects changes in the CC Link Utility during data linking Off No change detected On Change detected Indicates the data link status with other stations SW0080 SW0083 Off All stations are normal On Faulty station exists Indicates of a watchdog timer error status in other stations SW0084 to SW0087 Off No error On Error occurred Indicates whether or not a fuse has blown in other stations SW0088 to SW008B Off No fusing On Fusing occurred Detects changes in the setting switches of other stations during data linking SWO008C to SWO008F Off No change On Change detected Indicates the line status of own station Off Normal On Abnormal disconnected Indicates whether or not a transient transmission error occurred SW0094 to SW0097 Off No error On Error occurred Indicates the transient transmission status of the master station Off Normal On Abnormal 16 25 16 TROUBLESHOOTING MELSEC 16 3 4 List of link special registers SWs The data link status can be checked by the word information link special regi
124. ations Station number 7 Local station occupies 4 stations If any of the remote stations local stations intelligent device stations or standby master station that has been specified as an error invalid station is also specified as a reserved station the reserved station function overrides the error invalid station setting function Setting method Use the utility to specify error invalid stations with the Station information settings of network parameters For more details on the setting see Section 9 2 3 5 FUNCTIONS MELSEC 5 4 3 Checking operations for each station data link stop restart Line monitoring own station and other stations and network tests can be performed using the CC Link utility For more details see Section 9 2 5 4 4 Station number duplicate check This function checks whether or not multiple modules with the same station number exist in the system when the master station is started up 1 When there is a duplicate station number the ERR LED is lit an error code is stored in the SWOO6A switch setting status and the SBOO6GA turns on 2 By correcting the switch setting to normal and restarting the data link the ERR LED can be turned off and the data the SWOO6A can be cleared 5 FUNCTIONS MELSEC 5 5 Transient Transmission Functions The following explains the transient transmission functions 5 5 1 Performing transient transmission functions
125. ations and must be a multiple of 8 a Total number of occupied stations for remote I O stations b Total number of occupied stations for remote device stations c Total number of occupied stations for local stations standby master station and intelligent device stations NW The final station number between b and c This value includes the number of occupied stations but excludes reserved stations and must be a multiple of 8 ww te N Number of connected stations excluding reserved stations ni a b c excluding reserved stations nw b c excluding reserved stations ST Constant Must be the largest value among 1 to 3 below However 2 is disregarded when b 0 and 3 is disregarded when 0 1 800 a X 15 2 900 b X 50 3 When c lt 26 1200 c X 100 When c gt 26 3700 c 26 X 25 F Return processing time only when there is a faulty station including error invalid and temporary error invalid stations Number of faulty stations X 48 X BT X number of retries 6 DATALINK PROCESSING TIMES MELSEC Example Using the following system configuration example when the transmission rate is 10 Mbps assuming that there is no faulty station or transient transmission Station 3 Station Station Station numberg Station number 1 1 number 2 2 number 4 3 number 12 Master Local station Remote Remote Intelligent station Remote I O station device station devic
126. ber during temporary error invalid request temporary error invalid cancel request The designated station numbers were not set during temporary error invalid request temporary designate error invalid cancel request When line test was performed an error was detected in a local station A station number other than the head station was designated by a temporary error invalid request temporary error invalid cancel request All stations were in data link error status when either of the following requests was made SB0000 data link restart SB0002 data link stop The station number of the slave station is outside of the range between 1 and 64 A duplicate station number was specified for the connected module including the number of occupied stations However this excludes the duplicate head station numbers The station types of the module are different from the parameter settings Example Parameter setting module Remote I O Remote I O Connected 16 31 Check the line Check the communication status of other stations whether or not a temporary error invalid station is designated or if the own station is stopped Designate a station number that is no greater than the maximum communication station number Set station numbers to SW0003 SW0004 to SW0007 Verify that the local station is operational and that the cable is not disconnected Designate the head station
127. bers 1 to 64 in the above table indicate the station numbers 1 Only the bit for the head station number is turned on x3 The number of bits that equals to the number of occupied stations are turned on 16 28 16 TROUBLESHOOTING Number SW0084 SW0085 SW0086 SW0087 SW0088 SW0089 SWO008A SW008B SW008C Swo0sD SWO08E SWO008F SW0090 SW0094 SW0095 SW0096 5 0097 Watchdog timer error status in other stations Other station fusing status 3 Other station switch change status Own station line status Transient transmission error status MELSEC Availability ae Available X Not available Description Onie Master Offline Local station station Stores the watchdog timer error status of each station 0 Normal 1 Watchdog timer error occurred b15 b14 b13 b12 SW0084 SW0085 SW0086 SW0087 Numbers 1 to 64 in the above table indicate the station numbers Stores the blown fuse occurrence status of each station 0 Normal 1 Abnormal b15 b14 b13 012 SW0088 SW0089 SW008A SW008B Numbers 1 to 64 in the above table indicate the station numbers Stores the switch change status of other stations performing data link 0 No change 1 Change occurred b15 b14 613 612 SW008C SWO008D 15 14 SWO008bE SWO008F Numbers 1 t
128. ble menus 1 Menu selection Select Data Format Word Bit Device on the menu bar 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 10 Numerical pad The Numerical Pad can be used to set device values and other numeric values To display the Numerical Pad select Options Numerical Pad on the menu bar 1 Click the numeric value input field Device SD 0 eec o h Cancel 2 The Numerical Pad is displayed Enter a desired value by pressing the corresponding buttons and then click the OK button Numerical Pad 3 The value is entered in the system Data Changing Device SD 0 C HEX DEC 20 seen 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 11 Other operations By double clicking a device number on the Device Monitor Utility window the word device data can be changed or the bit device can be switched between on and off 1 Word device The following explains how to change the word device Note that this operation is enabled only when the data format is DEC 16bit 1 Double click the number of the word device to be changed 2 When the following Data Changing dialog box appears set a desired value and then click the Execute button Device SD 23 C HEX amp pec 123 d Cancel 3 Select Yes in the dialog box shown below to change the word device Select No to cancel the change operation Device Monitor Utility gt Change
129. ble PC Master station Program I F board Intelligent device station i lscsii Read Remote input Link scan Remote input VIEN NEN eceive RX RX Write Remote output Link scan Remote output mdSend gt RY RY Write Remote Link scan mdSend gt register register 4 RWw RWw Read Remote Link scan Remote mdReceive 71 register register x RWr RWr b Transient transmission Read and write operations can be performed for the intelligent device station buffer memory at an arbitrary timing using the mdReceive and mdSend functions respectively IBM PC AT compatible PC Master station Program I F board Intelligent device station Write mdSend gt Transient transmission Buffer memory Read mdReceive Transient transmission 1 OVERVIEW Master station ncc MELSEC 5 System down prevention Slave station disconnect function Even if a module system fails because of power failure or power off it will not affect the communication with other normal modules since the system employs the bus connection method Also for a module using a 2 piece terminal block the module can be replaced during data link However if the cable is disconnected the data link to all stations is disabled Station number 4 Local station occupying Station number 1 Station number 3 1 station Hemote station Remote station occupying occupying 2 stations 1 station Station number 7
130. cates the time from the moment an instruction is issued by the master station I F board until a response from the intelligent device station is received Formula OT LS number of request data 16 72 XLS a LS 2 number of response data 16 1 65 xX LS4 B4 bps ms OT Data transmission time between the IBM PC AT compatible PC and the I F board The processing time varies depending on the performance of the IBM PC AT compatible PC load condition and other factors The following table shows an example of processing time for an IBM PC AT compatible PC equipped with a Pentium II 233 MHz CPU LS Link scan time see Section 6 1 Number of request data Number of write points e Number of response data Number of read points a Constant internal processing time of the sender 120 points 121 to 240 points 241 to 360 points 361 to 480 points Write LS B Constant internal processing time of the receiver B LS bps Constant 156kbps 625 kbps 2 5 Mbps 5Mbps 10 Mbps 1 Round up below the decimal point 2 When reading 1 LS 8 When writing 1 LS POINT When performing a transient transmission using the md functions the transient transmission is executed in several runs by dividing the number of request data into sizes inside the md functions that can be received by the opposite station In addition after the communication line is opened the first md function performs ext
131. ce station processing time is 1 5 ms LS X 2 Remote device station processing time ms 3X24 1 5 7 5 ms 2 Master station I F board RY gt Remote device station RY This indicates the time from the moment RY of the master station I F board turns on off until the remote device station output turns on off Formula LS X 3 Remote device station processing time ms Note 2 LS Link scan time see Section 6 1 Example When the link scan time is 3 ms and the remote device station processing time is 1 5 ms LS X 3 Remote device station processing time ms 3X 341 5 10 5 ms Note 1 When reading RX from the I F board with the md function it is necessary to add the own station access processing time of the md function Note 2 When writing RY to the I F board with the md function it is necessary to add the own station access processing time of the md function The own station access processing time of the md function varies depending on the performance of the IBM PC AT compatible PC load condition and other factors The following shows an example of the processing time for an IBM PC AT compatible PC equipped with a Pentium II 233 MHz CPU Own station access processing time IBM PC AT compatible PC equipped with a Pentium Il 233 MHz CPU x md function 2 512 bytes 1024 bytes Batch read mdReceive 0 3 ms 0 7 ms 1 2 ms Batch write mdSend 0 3 ms 0 4 ms 0 5
132. ceive area from the remote station having a communication error Continue Continue When communication error power off etc occurs in a remote device station Input data setting of the CC Link utility at error Master station Clear Latch Local station Clear Latch 1 This is because YnO refresh direction is turned off Continue Clears the receive area from the remote device station having communication error Retains the receive area from the remote device station having communication error Retains the receive area from the remote device station having a communica tion error Continue 6 DATALINK PROCESSING TIMES When communication error power off etc occurs Data link status Input data setting of the CC Link utility at error Remote device station MELSEC Local station standby master station intelligent device station Clear Master station Latch Clear Local station Latch Remote input RX Continue Remote output RY Continue Remote register RWw Continue Remote register RWr Continue Remote input RX Remote output RY Remote register RWw Remote register RWr Continue Clears the receive area from the local station having a communication error Retains the receive a
133. cified and 1 1 communication is performed at an arbitrary timing IBM PC AT compatible PC Master station Local station Program VF board 1st station Write mdSend Buffer memory Read mdReceive 1 OVERVIEW 1 3 Combined Use with Existing Software MELSEC The following table lists with which existing software packages the SW3DNF CCLINK can be used SW3DNF CCLINK Remarks SWODNF CCLINK SW1DNF CCLINK SW2DNF CCLINK SWOIVDWT MNET10P SW1IVDWT MNET10P SW1D5F CSKP E SW2D5F CSKP E SW2D5F OLEX E SW2D5F XMOP E SW2DNF MNET10 SW3D5F CSKP E SW3D5F OLEX E SW3D5F XMOP E SW3DNF MNET10 JO JO JO JO JO JO JO x SWODNF ANU B Conventional software packages O Simultaneous operation possible X Simultaneous operation not possible User program EXE files that have been generated using the MDFUNC32 LIB supplied with the conventional software packages must be linked again using the MDFUNC32 LIB supplied with the new driver software package 1 10 2 EMC DIRECTIVE 2 EMC DIRECTIVE MELSEC 2 1 Requirements for Compliance with the EMC Directive The EMC Directive one of the European Union s directives is now being enforced The EMC Directive regulates the emission electromagnetic interference which 2 requires that a device must not emit strong electromagnetic waves to the surroundi
134. ck the parameters e Check the total number of all stations SW0070 Check the maximum communication station number SW0071 Check the number of connected modules 51 0072 Check the parameters Check the reserved station designation status SW0074 to SW0077 Check the station number setting Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation parameter matching status SWO009C to SWOO9F Check the LED displays on the corresponding remote device station Check the communication status of the master station with other stations SW0080 to SW0083 16 TROUBLESHOOTING MELSEC Description of problem Check item Check procedure Cannot receive the remote input RX of a remote device station Cannot turn on off the remote output RY of a remote device station Is data read from the correct address of the remote input RX buffer memory Is the correct master station s parameter information area CPU internal parameters default parameters being used Is the corresponding remote device station number recognized by the master station Is the corresponding station set as a reserved station Are there any duplicate station numbers Do the settings match Is the corresponding remote device station p
135. ckage 1 Floppy disks set of 5 CC Link System Master Local Interface Board Type ABOBDE J61BT1 1 User s Manual corresponding to SWSDNF CCLINK this manual 1 Software License Agreement 1 OVERVIEW 1 OVERVIEW The term CC Link is the abbreviation for Control and Communication Link MELSEC Throughout this manual it is referred to as CC Link The CC Link system connects distributed modules such as an I O module and a special functional module using d controlled by the PLC CPU edicated cables so that these modules can be 1 By distributing each module to facility equipment such as a conveyor line and a machine device the entire system can be connected in the most efficient manner 2 The on off information of input output and numeric data handled by modules can easily be sent and received at high speed 3 Asimple distributed system can be configured by connecting multiple IBM PC AT compatible PCs and PLC CPUs 4 By connecting various devices made by Mitsubishi s partner manufacturers the System that can provide flexi be configured ble solutions to meet a wide range of user needs may Master station x n en LU E d Device manufactured by ja partner manufacturer Remote station PLC CPU Master station 000000000000000000 Remote 1 station Remote device station Local station
136. d The data link is being executed normally 12 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE STATIONS MELSEC 12 4 2 Confirming the operation with a user program Using a user program confirm that the data link is being executed normally With the sample program both input and output operations can be performed When the input RXO in 1 is turned on the output YF RY2F in 2 turns on When the input RXO in 1 is turned off the output YF RY2F in 2 turns off Master station IBM PC AT compatible PC A80BDE J61BT11 A Terminal resistor Remote I O station station No 1 Remote I O station station No 2 AJ65SBTC1 32D AJ65SBTC1 32T 0000 0000 O OO OO Input module Output module Kj A Tema ee UP YOF The sample program can be found in the CCLINK SAMPLE directory under the SW3DNF CCLINK utility software installation directory the default installation directory is CAMELSEC 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION MELSEC 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION This chapter explains the procedures ranging from module setup parameter settings programming to final operation check using a system configuration example 13 1 Configuring a System In this example a system consisting of a master station and only one remote I O stati
137. d as shown below increases high frequency impedance and losses the effect of the shield Shielded cable PVC electric wire 7 Crimp contact 2 EMC DIRECTIVE MELSEC 2 Grounding procedure for the CC Link dedicated cable a Always ground the CC Link dedicated cable connected to the CC Link master station local station and remote station Since the CC Link dedicated cable is a shielded cable remove a part of the outer sheath Then ground the exposed part of the shield indicated in the figure below using as wide a surface area as possible EB Control panel CC Link dedicated All of this area should be grounded cable Shield wmm Always use the designated cable for this cable Remote station Local station Remote station Control panel Furthermore the grounding should be made within 30 cm 11 81 in of the board terminal area and at the position closest to the exit of the control panel b Always use the designated cable for the CC Link dedicated cable c Do not use a ferrite core for the CC Link dedicated cable coming from each module and board d Ground both the FG terminal and SLD terminal of each module and board CC Link dedicated cable Terminal L3 resistor 2 EMC DIRECTIVE MELSEC 2 1 4 Noise filter power supply line filter A noise filter is a com
138. d check hardware 16386 4002 A request that could not be processed was received Change the request destination 16432 4030 The designated device type does not exist Check the designated device type 16433 asi The designated device number is out of range Check the designated device number 16448 Do not issue the request that generated the error to the A module does not exist Y 4040 designated special module 16449 4041 T Check the head address and number of access points The number of device points is out of range NE n and access the devices within the existing range Corresponding module is abnormal Check if the designated module is operating normally A module does not exist at the designated location Check the start I O number of the designated module Device type error The device type designated for the request destination station is invalid This is checked by the request destination s link module Device No error The device number designated for the request destination station is out of range A device number other than a multiple of 8 was designated for bit device designation This is checked by the request destination s link module Error in the number of devices points The number of points set for the destination station is out of range A device number other than a multiple of 8 was designated for bit device designation This is checked by the request destination s l
139. de Not used RWr7 5 FUNCTIONS MELSEC 5 2 3 Communication with the local stations The following explains an overview of the communication between the master station and the local stations 1 Communication between the master station and the local stations by cyclic transmission The data communication between PLC CPUs and IBM PC AT compatible PCs can be performed in n n mode using the remote input RX and remote output RY bit information used in local station systems as well as the remote register RWw and remote register RWr word information for writing and reading used in local station systems IBM PC AT compatible PC Master station Local station station number 1 Local station station number 2 PLC CPU I F board Network Network parameters 1 parameters 1 Network Automatic refresh Automatic refresh parameters parameters parameters Program Buffer memory Buffer memory Buffer memory qr TET he ate eee Ch 1 1 meme em E 1 1 f 1 1 1 Remote input RX Remote output RY Remote output RY 4 1 1 3 1 1 3 1 1 5 i Own station F mdReceive Receive area station number 1 Receive area from tomatic refresh Y station No 1 send area local station No 1 4 7 41 3 HF 3 7 z B 2 Receive area from Receive area from On mdReceive Read Tink scan Tink sean station number 2 Automatic refresh local station No 2 loca
140. e range from B51A Arrival monitor time error The arrival monitor time is out of the setting et a value in the from 0 range seconds Other than 0 is set for the target station B520 Target station number error number 9 Target station CPU error The target station s CPU is faulty There are too many transient requests to the Transient request overload error 3 corresponding station requests transient transmission overload status Wait a while and then send the There are too many transient requests to the Transient request overload error requests transient transmission corresponding station overload status 16 34 16 TROUBLESHOOTING Error code hexadeci Error description Cause of error details MELSEC Detectability Master Local station station Corrective action mal A transient transmission was performed while a B604 Line test in progress P Wait a while and then resend line test was in progress Cannot access the communication Access to the communication buffer failed buffer Wait a while and then resend B607 Target station CPU error There is an error in the target station s CPU Check the target CPU There are too many transient requests to the corresponding station when the requesting station is the AJ65BT G4 A8GT J61BT13 or I F board The target station was not an intelligent device station when the requesting station is the A8G
141. e station station 1 Occupies 1 station 2 Occupies 2 stations 3 Occupies 4 stations BT 0 8 ST 2000 NI 1216 1 800 2 15 830 NW 1116 2 900 2 50 1000 N 5 3 1200 8 100 2000 ni 12 a 2 b 2 c 8 nw 10 LS 0 8 29 4 16 X 4 8 16 X 9 6 5 X 32 4 12 X 4 8 10 X 9 6 2000 2556 2 us 2 56 ms 6 DATALINK PROCESSING TIMES MELSEC 6 2 Cyclic Processing Time The cyclic processing time indicates the transmission delay time the time until data is transmitted 6 2 1 Master station I F board gt remote I O station 1 Master station I F board RX lt Remote I O station input This indicates the time from the moment a signal is input to the remote I O station until RX of the master station I F board turns on off Formula LS X 2 Remote I O station response time ms Note 1 LS Link scan time see Section 6 1 Example When the link scan time is 3 ms and the remote I O station response time is 1 5 ms LS X 2 Remote I O station response time ms 3X2 1 5 7 5 ms Master station I F board RY Remote I O station output This indicates the time from the moment RY of the master station I F board turns on off until the remote I O station output turns on off Formula LS X 3 Remote I O station response time ms Note 2 LS Link scan time see Section 6 1 Example When the link scan time is 3 ms and
142. e station The shaded areas indicate the devices that are actually used For detailed information on each intelligent device station see the user s manual for each module Master station station No 0 Intelligent device station station No 1 IBM PC AT compatible PC AJ65BT R2 i User program I F board Remote inputs RX TT me 1 4 RX2 receiving normal read request i RX receiving abnormal read request Remote outputs RY 3 5 RY2 receiving read completion Buffer memory 400H receiving data count designation area 2 mdReceive i 401H a2 Ae to receiving data designation area i L 5FFH RAK Ea RAKAS AA ARA Eni sages cadet hiia khinh ehin k bhin ESEA ARA AR A E Naa Vani AR Aaa O MepuaraiHbrabaNsiARaiRSARRHARCiERGA N EErEE Ern R RR 1 The AJ65BT R2 turns on either the receiving normal read request RX2 or receiving abnormal read request RX3 upon receiving data 2 The receiving data is read by the user program 3 The receiving read completion signal RY2 is turned on by the user program 4 The AJ65BT R2 turns off either the receiving normal read completion signal RX2 or receiving abnormal read completion signal RX3 5 The receiving read completion signal RY2 is turned off by the user program 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC 14 4
143. eceiving Receiving data ABCD A80BDE J61BT11 Occupies 1 station Remote device station station No 1 AJ65BT R2 000 Receiving Receiving data RS 232C module ABCD Terminal resistor External device Sending Sending data ABCD 14 10 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC The sample program can be found in the CCLINK SAMPLE directory under the SW3DNF CCLINK utility software installation directory the default installation directory is CAMELSEC 14 11 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC MEMO 14 12 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 This chapter explains the procedures ranging from module setup parameter settings programming to final operation check using a system configuration example 15 1 Configuring a System In this example a system consisting of a master station and one intelligent device station AJ65BT D75P2 S3 as shown below is used Master station IBM PC AT compatible PC A80BDE J61BT11 Occupies 4 stations Intelligent device station station No 1 AJ65BT D75P2 S3 eooo Positioni
144. ed error code xYn ret printf Press any key n getch mdClose path exit 0 if RecvBuf 0 amp 0x0800 0 Exit from the loop if SB43 is on break Sleep 100 Wait for 100ms Confirm the time out if Counter gt 100 printf SB43 ON conformation timed out n 5 FUNCTIONS MELSEC printf Press any key getch mdClose path exit 0 Turn on SB1 switching request StNo OxFF Set the station number DevType 5 Set the device type SB equivalent to special M DevNo 0x1 Set the device number ret mdDevRst path StNo DevType DevNo if ret 0 printf SBI ON processing failed error code x n ret printf Press any key n getch mdClose path exit 0 Read SW equivalent to special SD 43 switching result Size 2 Set the size of sending data StNo OxFF Set the station number DevType 14 Set the device type SD equivalent to special D DevNo 43 Set the device number ret mdReceive path StNo DevT ype DevNo amp Size amp RecvBuf 0 if ret 0 printf mdReceive SW43 read processing failed error code x n ret printf Press any key n getch mdClose path exit 0 if RecvBuf 0 amp 0x0800 0 Exit from the loop if SB43 is on break Sleep 100 Wait for 100ms if RecvBuf 0 0 Exit when the switching result is abnormal printf Failed to switch to the standby master station n printf Press any key n
145. ed the processing to this IBM PC AT compatible PC 2 2 2 received 2 2 2 ac The IRQ of the I F board is also used by other hardware Remove other optional board s 2 The I F board detected a temperature abnormality thus it may not operate Install the IBM PC AT compatible PC in a location maintained at 11D normally a proper temperature 2 11E 288 A WDT error occurred Remove other optional board s 289 dos Handshaking with the shared memory area has failed Reset the board If the error persists replace the board 290 i Duplicate I F board number Do not use duplicate board numbers 291 don The mapping of the shared memory area has failed Remove other optional board s 293 94 79 80 The mapping of the I O port has failed 83 84 85 86 Failed to allocate enough memory area to start the driver Increase the system memory An attempt to perform interrupt registration has failed Remove other optional board s 2 1256 The I O port of the I F board is also used by other hardware Remove other optional board s 1 16 4 16 TROUBLESHOOTING Event ID HEX 2 This event error may occur when the PCI bus controller is not functioning correctly MELSEC Error description Corrective action Error description details Th fi ere was no response from Replace the VF board hardware Initialization of Duplicate IRQ or memory Remove other op
146. emote output RY mdSend 2 Remote device station communication Handshaking signals with the remote device station initial request error occurred flag etc are communicated using the remote input RX and remote output RY The setting data to the remote device station are communicated using the remote registers RWw and RWr IBM PC AT compatible PC Master station I F board Program Remote device station Read Remote input Link scan RX Remote input RX mdReceive Remote output RY Link scan Remote output RY Remote Remote register register RWw RWw Link scan Remote register RWr Remote mdReceive 1 1 register RWr Link scan 1 OVERVIEW Local station communication MELSEC The communication between the master station and the local station uses two types of transmission methods cyclic transmission and transient transmission a Cyclic transmission Data communication between stations can be performed in N N mode using bit data remote input RX and remote output RY and word data remote registers RWw and RWr IBM PC AT compatible PC Master station Link scan Local station Remote output RY PLC CPU Automatic refresh Link scan Remote input RX Program I F board Remote input RX mdReceive Remote output
147. emove the covering as much as possible CC Link dedicated cable uses 110 terminal resistor Length of cable between the master Transmi Maximum Distance Length of cable between the remote I O i s local station or intelligent device station Maximum length of main line distance ssion length of between stations or remote device stations between T branches and length of rate main line T branches and the adjacent station s cable between stations 625 kbps 00 m 328 1 ft No limit 30 cm 11 8 in or longer 1 3 28 ft or longer 5 500m 2 m 6 56 ft or longer 156 kbps 1540 5 1 The cable length of 1 m 3 28 ft or longer is for a system configured only with remote I O stations and remote device stations 2 The cable length of 2 m 6 56 ft or longer is for a system configuration that contains local stations and intelligent device stations Terminal resistor Distance between T branches M Maximum length of main line not including the branch line length Terminal resistor pe jy ee 1 Lenght of branch line 8 m 26 25 ft or shorter Indicates a remote station or a remote device station Indicates a local station or an intelligent device station 1 Lenght of branch line 8 m 26 25 ft or shorter 8 PROCEDURE BEFORE STARTING THE DATA LINK
148. enne tnter 1 10 2 EMC DIRECTIVE 2 1102 6 2 1 Requirements for Compliance with the EMC Directive 2 1 24 T EMQG difective cto e teo eate te utate t t otia a idt 2 1 2 1 2 Installing devices in the control panel seeeeeeneeee nennen nnns 2 2 21 97 C8bl6S orat en ien utet etna ern etre ne Bened 2 3 2 1 4 Noise filter power supply line filter 2 5 3 SYSTEM CONFIGURATION 3 1to3 8 Overall Gonflguratiol str e re e tet e e Pn eee ee LU ERE n Ere eve 3 1 3 2 Applicable tns tr etn 3 2 3 2 1 Applicable IBM PC AT compatible PCs and number of boards that can be installed 3 2 3 2 2 Notes on the system configuration sss nennen nnne nnns 3 3 3 2 3 Equipment list te iced ee ae lee el eles rende ecce ete 3 5 4 SPECIFICATIONS 4 110 4 6 General Specifi A OSa a ute ern D e e t Pe re en tiv E Ene id te o e 4 1 4 2 Performance Specifications sse enne enne tnnt nnn tnnt nnns 4 2 4 2 1 Overall cable 4 3 4 3 CC Link Dedicated Cable Specifications sssssssssssseseeeee nennen 4 5 5 FUNCTIONS 5 1 to 5 36 HA RETE n 5 1 5 24 BasIC FUNCIONS a 5 3
149. ent device station information match the settings of the Check the parameters station standby master station does not start up modules that do not start up Are there any duplicate station numbers Check the station number setting Is the station set as an error invalid station Check the parameters Faulty stations cannot be detected Are there any duplicate station numbers Check the station number setting Can the faulty station be identified using the Check the switch settings for the faulty station communication status of other stations SW0080 to Check that the cable is properly wired SW0083 Faulty stations are generated depending on the Check that the shield of the cable is grounded transmission rate Can communication be performed normally if the Connect the terminal resistors that match the transmission rate is reduced to a lower speed such cable type used to the terminal stations at both as 156 kbps ends of the CC Link system x Are there any errors in the initial settings of the Check the parameters The remote device station is not operating normally remote device station Check the user program When multiple remote stations are powered off at the same time at 156 kbps the L RUN LED goes What is the setting for the number of retries off temporarily Increase the transmission rate Reduce the number of retries 16 18 16 TROUBLESHOOTING MELSEC 16 3 2 Troublesho
150. er than Mitsubishi products and other duties 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable logic controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable logic controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi general purpose programmable logic controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or National Defense purposes shall be excluded from the programmable logic controller applications Note that even with these applications if the user approves that the application is to be limited and a special quality is not required application shall be possible When considering use in aircraft medical applications railways incineration and fuel devices manned transport devices equipment for recreation and amusement and safety devices in which human life or assets could be great
151. erforming data link Is data read from the correct address of remote output RY buffer memory Is the correct master station s parameter information area CPU internal parameters default parameters being used Is the corresponding remote device station number recognized by the master station Is the corresponding station set as a reserved station Are there any duplicate station numbers Do the settings match 16 14 Check the user program Check the parameter information SW0067 Check the parameters Check the total number of stations SW0070 Check the maximum communication station number SW0071 Check the number of connected modules 51 0072 Check the parameters Check the reserved sta SW0074 to SW0077 Check the station number setting atus SWO0069 Check the station number duplicate status SW0098 to SWO009B Check the installation si ion designation status e Check the installation si atus SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation parameter matching status SWO009C to SWOO9F Check the LED displays on the corresponding remote device station Check the communication status of the master station with other stations SW0080 to SW0083 Check the user program Check the parameter information SW0067 Check the parameters e Check the total number of stations SW0070 C
152. ers Check the total number of stations SW0070 Check the maximum communication station number SW0071 Check the number of connected modules 51 0072 16 TROUBLESHOOTING MELSEC Description of problem Check item Check procedure Check the parameters Is the corresponding station set as a reserved station Check the reserved station designation status SW0074 to SW0077 Check the station number setting Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation status SW0069 Check the station number duplicate status Do the settings match SW0098 to SWO009B Check the installation parameter matching status SWO09C to SWOO9F Is the data link stop 580002 turned on Check the user program Cannot stop data link Is the data link restart SB0000 turned on Check the user program Check the data link restart result SW0041 Check the cable connection visually or with a line Cannot restart data link test Cannot communicate from a local station remote there any duplicate station numbers register RWw to the master station remote register Is the corresponding station disconnected Check the parameters for local station Check the operation status of the PLC CPU in the corresponding station Do the parameters for the number of modules and The remote station local station intellig
153. es with the product There is a risk of electric shock if the terminal cover is not attached e Always ground the FG terminal on the IBM PC AT compatible PC side using D type grounding Class 3 grounding or higher specifically for the IBM PC AT compatible PC There is a risk of malfunction If a malfunction occurs even when the IBM PC AT compatible PC is grounded ground both the FG terminal for the IBM PC AT compatible PC and the SLD terminal for the I F board WIRING PRECAUTIONS N CAUTION e Tighten the terminal screws within the range of specified torque If the terminal screws are loose it may cause short circuits or malfunction If the terminal screws are tightened too much it may cause damage to the screw and or the I F board resulting in short circuits or malfunction Be careful not to let foreign objects such as swarf or wire chips get inside the I F board They may cause fires failure or malfunction Be sure to fix communication cables or power cables leading from the I F board by placing them in the duct or clamping them Cables not placed in the duct or without clamping may hang or shift allowing them to be accidentally pulled which may cause damage to the I F board and cable or malfunction due to bad cable contacts e When removing the communication cable or power supply cables from the I F board do not pull the cable First loosen the screws where the cable is connected to the I F board and then remove the
154. esent environment Operating height 2000 m 6562 ft or less Installation area On the control board Over voltage category 1 1 Indicates the distribution area where the device is assumed to be connected from the public power distribution network humidity ll or less to the local machine device Category Il is applied to the devices to which the power is supplied from a fixed equipment The surge resistance voltage of a rated 300 V device is 2500 V 2 This is an index which indicates the occurrence rate of the conductive object in the environment where the device is used Pollution rate Il indicates that only non conductive pollution may occur with a possibility of generating temporary conductivity due to accidental condensation 2 The general specifications after installing the I F board should conform to those of the IBM PC AT compatible PC 4 SPECIFICATIONS MELSEC 4 2 Performance Specifications Table 4 1 shows the performance specifications of the CC Link Table 4 1 Performance specifications Can select from 156 kbps 625 kbps 2 5 Mbps 5 Mbps 10 Mbps Overall cable distance PES MP Varies according to the transmission rate See Section 4 2 1 maximum transmission distance Maximum number of connected stations m 64 See Section 3 1 for the conditions for the number of connected stations master station Number of occupied stations local station 1 or 4 station s The number
155. et the station type for Board Setting Example Set the station type to Local Default value Local station number 1 Setting range Master station number 0 Local station number 1 to 64 Standby Master station number 1 to 64 b Set the number of occupied local stations for Occupy St Example Set the number to 4 stations Default value 1 st Setting range 1 st 4 st c Set the input status of the data link faulty station for Link Err X Data Example Set the status to Clear Default value Clear Setting range Latch Clear d Setthe CC Link mode for Mode setting Example Set the mode to Online Default value Online Setting range Online Offline Standalone unit hardware operation confirmation mode see CC Link Utility Information Network Monitor Station s Link Status Memory 1 0 Test Network Test Version Channel 81 CC Link 1 M Board Setting Occupy St Link Erx Data Baud Rate 1 Local Latch 451 Clear LED CE Link 5 Seting RUN 7 156K Onine Ei 7 625K JR MST T 25M LOCAL 5M Apply CPURAv 10 JE E Sw n MST test PRM o S n T LRUN F sp ri r RD Device Monitor Exit Help 7 PARAMETER SETTINGS MELSEC MEMO 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 PROCEDURE BEFORE STARTING THE DATA LINK This chapter explains the operating p
156. ettings of the master module see the user s manual for the master module 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 2 Installation This section explains the handling precautions and installation environment of the I F board 8 2 1 Precautions on handling the I F board The following explains the handling precautions of the I F board lt DANGER Do not touch the terminal or connector while the power is on Doing so may cause electric shock or malfunction NCAUTION e Fix the I F board securely with the installation screws and tighten the installation screws within the specified torque range If the screws are loose it may cause malfunction If the screws are tightened too much it may cause damage to the screws resulting in malfunction Do not directly touch the conductive area or electronic components of the I F board Doing so may cause malfunction or failure in the I F board Tighten the terminal screws within the range of specified torque If the terminal screws are loose it may cause short circuit or malfunction If the terminal screws are tightened too much it may cause damage to the screws and or the I F board resulting in short circuits or malfunction e While handling the I F board be sure to keep it free of static electricity Static electric charges may damage the I F board or result in malfunction Be careful not to let foreign objects such as swarf or wire chips get inside the IBM PC AT compat
157. evice ranges of a data link interrupted station data is not guaranteed the own station devices RX RY RWw and RWr as well as a reserved station 28151 APS NO error 9209 Invalid response data was received 28156 9204 Dual port memory handshake error Remove other optional board s 28158 Reset the board WDT error 9202 Restart the IBM PC AT compatible PC Change the device that requested the processing 16 11 16 TROUBLESHOOTING MELSEC 16 3 CC Link System Troubleshooting This chapter describes the details of the problems that may occur in the CC Link System It presents a list of check items and procedures for possible problems 16 3 1 Verification of problem occurrence The following shows the details of check items and procedures for possible problems Table 16 4 List of check items when a problem occurs Description of problem Check item Check procedure The entire system cannot perform data link Cannot receive inputs from a remote station Check the cable connection visually or with a line Are there any disconnected cables test Check the line status SW0090 Connect the supplied terminal resistors to the terminal stations at both ends of the CC Link System Are terminal resistors connected to the terminal stations of the CC Link system Connect the terminal resistors that match the cable Are the correct terminal resistors connected type used to the terminal stations located at bot
158. gnment checklist s pooner mer 71 7 17 pweremor werommr weones Ls peneme mem wicca _ RX100 to RX11F gt RY100 to RY11F gt RWw23 gt RWr20 to RWr23 gt a mwmcemra RX280 to RX29F RY280 to RY29F RWr50 to RWr53 s mecremuor meme pwomes s eene ero marr RX400 to RX41F gt RY400 to RY41F o RWw83 gt RWr80 to RWr83 wecomupr wesormwen Wwesemues Le esemar avin nv eo seer aver RX500 to RX51F RY500 to RY51F o RWwA3 RWrA0 to RWrA3 gt App 7 APPENDIX MELSEC ms m RX640 to RX65F RY640 to RY65F RWwCs to RWwCB gt WED RWES Rweromwer REDO RES RX740 to RX75F RY740 to RY75F RWwE8 to RWwEB gt RWrE8 to RWrEB gt s room BwmenvmE Wwowmwser weoemueE App 8 APPENDIX MELSEC MEMO App 9 WARRANTY Please confirm the following product warranty details before starting use 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 dealer or Mitsubishi Service Company Note that if repairs are required at a site overseas on a detached island or remote place e
159. h ends of the CC Link system See Section 4 3 Check the error code of the I F board and take a Has an error occurred in the I F board necessary corrective action Check the contents of the parameters for the I F Are the CC Link parameters set for the I F board Check the own station parameter status 51 0068 Check the switch setting status SW006A Check the installation status SW0069 Check to see if the ERR LED on the master station is flashing See Section 16 3 2 Has an error occurred in the master station Check the LED displays on the corresponding Is the corresponding remote I O station performing remote I O station data link Check the communication status of the master station with other stations SW0080 to SW0083 Is data read from the correct address of the remote Cheskahe user proarari input RX buffer memory program Is the correct master station s parameter information area CPU internal parameters default parameters Check the parameter information SW0067 being used Check the parameters Check the total number of stations SW0070 Is the corresponding remote I O station number Check the maximum communication station recognized by the master station number SW0071 Check the number of connected modules 51 0072 16 12 16 TROUBLESHOOTING MELSEC Description of problem Check item Check procedure Cannot receive inputs from a remote station
160. he hardware information that is set up for the I F board 5 CC Link Utility Bl Board Information Network Monitor Station s Link Status Memory 1 0 Test Network Test Version Board List Channel No Board Model Name IRQ No Memory Address 170 Port No ROM Ver 81 JA80BDEJ61BT11 CC Link 11 00 F3FBFFFFH 7800 78FFH w Ih peu EMEN EE p ap ips n Ens E pis t Device Monitor Exit Help Channel No Displays the channel number Board Model Name Displays the model of the I F board that is connected 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 2 3 Operating the board information window The Board Information window is used to set up and display various information on the installed I F board Important Do not use station number 64 for a system in which a standby master station exists If it is used the station with station number 64 cannot communicate normally When switching windows set the mode setting to Online or Offline 1 Board Information window S2 CC Link Utility Information Board Information Network Monitor Station s Link Status Memory 1 0 Test Network Test Version Channel 91 CC Link 1 v Board Setting Occupy St Link Er x Data Baud Rate 0 Master E C Latch Clear LED i CC Link Mode Seting RUN FT 156K Online ERR 625K MST 25M LOCAL T T 5M Ap
161. he target buffer memory areas Remote I O station Remote device station Local station Local station Master station station number 1 station number 2 station number 3 station number 4 Remote input RX Remote output RY Remote output RY Station number 1 Station number 1 Station number 1 Station number 2 4 Remote input RX rM Station number 2 ENK Station number 2 Station number 3 Station number 3 Station number 3 Station number 4 Station number 4 Station number 4 Remote ontput RY Remote input RX emote input RX Station number a a Output Station number 1 Station number 1 Remote output RY Station number 2 gt Station number 2 Station number 3 H Station number 3 gt Station number 3 4 Station number Station number 4 Station number 4 Remote register RWr Station number 1 Remote ad Station number 2 Station number 2 h Station number 3 gt Station number Station number 4 Station number 4 Remote register 2 t ma 25 3 o Q 2 3 2 e E o E tation number tation number tation number tation number Station number 1 nj Aj Remote register Remote register RWw RWw Station number 1 Station number 1 Remote register RWr Station number 2 Station number 2 Station number 3 rT Station number 3 Station number 4 RWr
162. heck the maximum communication station number SW0071 Check the number of connected modules 51 0072 Check the parameters Check the reserved station designation status SW0074 to SW0077 Check the station number setting Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation parameter matching status SWO009C to SWOO9F 16 TROUBLESHOOTING MELSEC Description of problem Check item Check procedure Data cannot be received by the remote register RWr of a remote device station Cannot write data to the remote register RWw of a remote device station Is the corresponding remote device station performing data link Is data read from the correct address of the remote register RWr buffer memory Is the correct master station s parameter information area CPU internal parameters default parameters being used Is the corresponding remote device station number recognized by the master station Is the corresponding station set as a reserved station Are there any duplicate station numbers Do the settings match Is the corresponding remote device station performing data link Is data read from the correct address of the remote register RWw buffer memory Is the correct master station s parameter infor
163. ible PC They may cause fires failure or malfunction Do not disassemble or modify the I F board Doing so could cause failure malfunction injury or fire Switch all phases of the external power supply off when mounting or removing the I F board to or from the IBM PC AT compatible PC Not doing so may cause failure or malfunction of the I F board or IBM PC AT compatible PC e When disposing of this product treat it as industrial waste Do not drop the I F board or subject it to any excessive shock It may damage the I F board or result in malfunction 1 Tighten the mounting screws and terminal screws of the I F board using a torque within the following ranges Clamping torque range Terminal block terminal screws M3 5 screws 59 to 88 N cm Terminal block mounting screws M3 5 screws 59 to 88 N cm 2 See the instruction manual provided with the IBM PC AT compatible PC for the clamping torque of the I F board mounting screws 8 2 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 2 2 Installation environment See the instruction manual provided with the IBM PC AT compatible PC for information on how to install the IBM PC AT compatible PC in which the I F board has been mounted CAUTION Always ground the IBM PC AT compatible PC s main unit using a D type grounding Class 3 grounding or higher Otherwise malfunction may occur If a malfunction occurs even when the IBM PC AT compatible PC s main uni
164. ime Change Sending channel in use The selected channel is already in use the channel number or try not to own station use the same channel at the same time Execute the mdSend instruction after a while Check to see if The channel of the target station is already in more than one request is made use to the channel of the target station from own station and or multiple stations W R Receiving channel in use Increase the arrival monitor time if this error occurred in the mdReceive instruction and when another station was executing the SEND instruction mdSend instruction in case of the I F board Increase the arrival monitor time when own station was executing an instruction If the error persists check the network and target station The arrival monitor time has exceeded when the resend count is 0 or the mdReceive Arrival wait timeout instruction was executed when the mdReceive instruction execution request flag was not turned on Increase the arrival monitor Number of retries exceeded The number of retries exceeded the set number time If the error persists check the network and target station Set the channel of own station B515 Channel number error A channel number is out of the setting range M and target station to 1 or 2 The number of resends is out of the settin Set a value in the range from 0 B519 Resend count error 9 9 to 15 times f th n lue in th
165. ination is correctly set Registry write error by the utility Retry Memory may be insufficient Close all other applications Communication initialization setting error that are currently running An attempt to perform initial setting for communication has failed 7 2 Pay 9 Check if the system is operating normally Restart the system Retry Ethern mmunication error nmm TE themercommunicaton erro Check if the communication destination is correctly set An attempt to set an Ethernet communication has failed by the utility Memory may be insufficient Close all other applications that are currently running COM commu icationsetting error Check if the system is operating normally An attempt to set a COM communication has failed Restart the system COM control error etry Control cannot be performed properly in COM communication 7 f Check if the system is operating normally Close error Restart the system Communication cannot be closed ROM operation error A Change the TC setting value during RAM operation ATC setting value was written to the CPU during ROM operation Retry Check if the communication destination is correctly set LLT communication setting error x by the utility An attempt to set an LLT communication has failed Memory be insufficient Close all other applications that are currently running 45 Ethernet control error Retry
166. individually regardless of the SB 16 30 16 TROUBLESHOOTING 16 3 5 Error codes stored in the link special registers MELSEC Table 16 8 lists the error codes that are stored in the link special registers SWs Table 16 8 Error code list Error code hexadeci mal B110 A line error has occurred Check the line Error description Cause of error details Detectability Master station Corrective action Local station he line Bi11 Message data receiving order error line error has occurred Check the line eae ee B112 Message data length error A line error has occurred Check B113 Message data ID error A line error has occurred Check the line Ea aoe B116 Abnormal head bit Corresponding station error during sending B301 Processing request error during link A line test request was issued while the link was Perform a line test during link stop stopped startup Designated station number setting error Designated station number not set error Line test error station detected Designated station number setting error All stations data link error Station number setting error installation status Duplicate station number error Installation parameter mismatching error A line error has occurred A data link error occurred in the corresponding station during transient transmission The designated station number exceeded the maximum communication station num
167. ine DC input 16 point module sink source shared AJ65BTB2 16D 24 V DC 7 mA 16 points common 1 line DC input 32 point module sink source shared 24 V DC 7 mA 32 points common 1 line transistor output 16 point module sink AJ65BTB1 16T 12 24 V DC 0 5 A point 4 8 points common 2 line transistor output 16 point module sink AJ65BTB2 16T 12 24 V DC 0 5 A point 4 A common 8 points common line transistor output 32 point module sink AJ65BTC1 32T 12 24 V DC 0 1 A point 2 A common 32 points common line contact output 16 point module AJ65BTB2 16R 4 V DC 240 V AC 2 A point 8 A common 8 points common Remote I O module module nput 1 line DC input 8 points sink AJ65BTB1 16DT 24 V DC 7 mA 8 points common Output 1 line transistor output 8 points sink 12 24 V DC 0 5 A point 8 points common 1 station Remote I O station module Input 2 line DC input 8 points sink AJ65BTB2 16DT 24 V DC 7 mA 8 points common Output 2 line transistor output 8 points sink 12 24 V DC 0 5 A point 4 A common 8 points common module Input 2 line DC input 8 points sink source shared AJ65BTB2 16DR 24 V DC 7 mA 8 points common Output 2 line contact output 8 points 24 V DC 240 V AC 2 A point 8 A common 8 points common AJ65BTC1 32D ine DC input 8 point module sink source shared DC 7 mA 8 points common 1 line DC input 16 point module sink source shared AJ65SBTB1 16D
168. ink module Bus error The designated bus is invalid Device number error The designated device number is out of range When bit device was designated the device number was not a multiple of 8 Check the device type Check the device number Check the size Check the bus that was returned by the mdOpen function Check the head device number for the designated device 3 Device type error f 577 E Check if the device type used is found in the device list FFFD The designated device type is invalid 4 CPU error Check the status of the communication station FFFC An invalid station was designated Check the designated station number 16 8 16 TROUBLESHOOTING MELSEC Return value i i Error description Corrective action HEX Size error The device number and size exceeded the device range Check the designated device size Access was attempted using an odd numbered device Check the device number and size The device number and size exceeded the range for the same block Number of blocks error The number of blocks designated in dev 0 for device random read write is outof Check the number of blocks designated dev 0 range Channel number error 1 SEM Check the designated channel number The channel number designated in the mdOpen function is invalid Insufficient buffer area Check the read size and read data storage destination The read area size for read data storage
169. ion It provides the functions that support user programming It is possible to perform the remote control of remote I O stations remote device stations intelligent device stations and local stations as well as reading and writing of devices using the functions that support Visual C and Visual Basic Thus user applications can easily be created Example Control of the input signal X and output signal Y of a remote I O station Analogue voltage output control of a remote device station analogue module Communication control of an intelligent device station RS 232C module It provides the drivers for various operating systems Various drivers are provided for easy system configuration according to the user environment When using the I F board as a master station Supported OS Windows NT Workstation 4 0 English version When using the I F board as a local station Supported OS Windows 95 English version Windows 98 English version Windows NT Workstation 4 0 English version 1 OVERVIEW MELSEC 1 2 Features of the CC Link System This section explains the features of the CC Link 1 Remote I O station communication The on off status of a switch or indicator lamp is communicated using the remote input RX and remote output RY IBM PC AT compatible PC Master station Remote I O station Program I F board Read i Link scan mdReceive He Input oo Write Link scan Output 0 R R
170. ion to write data from the master station to the designated buffer memory of the intelligent device station 2 When writing is completed 0 is stored as a return value IBM PC AT compatible PC Master station Intelligent device station I F board 1st station Program 1 mdSend Buffer memory Return value When reading data from the buffer memory of the intelligent device station using the mdReceive function 1 The program uses the mdReceive function to read data from the designated buffer memory of the intelligent device station to the variables of the program in the master station 2 When reading is completed 0 is stored as a return value IBM PC AT compatible PC Master station Intelligent device station I F board 1st station Buffer memory Program mdReceive Value return value 5 FUNCTIONS MELSEC 5 3 Functions for Improving System Reliability This section explains how to use the functions for improving the reliability of the CC Link system 5 3 1 Disconnecting a data link faulty station and continuing the data link with only normal stations slave station disconnect function This function disconnects any of the remote stations local stations intelligent device stations and standby master station if it has become data link faulty due to power off or other cause and continues the data link among normal remote stations local stations intel
171. is used If a shielded cable is not used or if a shielded cable is not grounded properly the noise resistance may drop below 2 kV Note The EN50082 2 regulates the noise resistance based on the application of the signal line Signals related to control process control 2 kV Signals not related to control process control 1 kV The EN50082 2 does not define the meaning of signals related to control However considering the original intent of the EMC Directive any signal line that poses a possible danger to people or equipment if incorrectly operated shall be defined as a signal related to control and a high noise resistance is thus considered to be required 1 Grounding procedure for shields a Perform shielding process at a location near the exit of the control panel If the grounding point is far from the exit position the portion of the cable after the grounding point will cause electromagnetic induction and generates high frequency noise b Use a grounding method that allows the shield to ground in a large area against the control panel Alternatively a clamping fixture as shown below may be used When such clamping fixture is used be sure to mask the coating on the internal wall of the control panel that makes contact with the clamping fixture Shield section Coating mask Note The method that solders a PVC electric wire to the shield section of the shielded cable and grounding is performed at that en
172. ithout turning the power off while the master station is controlling the data link both the master and standby master stations will attempt to operate as master stations and an error will occur The ERR LED will be lit When an IBM PC AT compatible PC is set as the master station only another IBM PC AT compatible PC can be specified as a standby master station A PLC CPU cannot be specified as a standby master station For more details see Section 5 3 4 5 FUNCTIONS MELSEC 4 Special link relays registers SB and SW related to the standby master function The following explains the special link relays and registers related to the standby master function They are stored in the buffer memory a Special link relays SB The special link relays SB relating to the standby master function are as follows The numeric values in parentheses in the number column indicate buffer memory addresses and bit locations Example When the buffer memory address is 5EOH and the bit location is 0 5E0n bO Table 5 5 List of special link relays related to the standby master function Applicability Applicable Not applicable Number Name Description Standby master Master station 1 station Switches the output information from the standby master station to SB0001 Master station switching the master station and starts up the data link 5E0n b1 and data link startup Off Without switching direction On With switching di
173. itten to the analogue output enable prohibit area RWw4 by the user program When the remote output RY18 is turned on by the user program the initial data setting complete RY18 of the AJ65BT 64DAV turns on The AJ65BT 64DAV turns off the initial data setting request RY18 The initial data setting complete RX18 is turned off by the user program The initial data setting request RY19 is turned on by the user program The AJ65BT 64DAV turns on the initial data setting complete RX19 The initial data setting request RY19 is turned off by the user program 10 The AJ65BT 64DAV turns off the initial data setting complete RX19 11 The remote station ready RX1B of the AJ65BT 64DAV turns on 12 The analogue output enable signals RYO to RY3 of all channels are turned on by the user program The voltage is output by the AJ65BT 64DAV 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION MELSEC 13 4 Executing the Data Link To start the data link first turn on the power to the remote device station and then the master station 13 4 1 Confirming the operation with the LED displays The following shows the LED display status of both the master station and remote device station when the data link is being executed normally 1 LED displays of the master station Be sure that the LED displays show the following status LED CC Link The I F board is normal
174. l BYEE S ENER PEAT lo nao L madsen RY5F to 50 7 RX5F to 50 7 J RX5F to RX50 RveFtoRYeo RXeFto RX60 f RX6F to RX60 RY7F to RY70 i _RX7F to RX70 RY8Fto RY80 RX8F to RX80 IRX7FF to RX7FO eeseeee The last two bits cannot be used the communication between the master station and the local stations 5 FUNCTIONS MELSEC Word information from the master station to all local stations 9 The program uses the mdSend function to write the word information to the remote register RWw buffer memory of the master station The remote register RWw is used as the word information for writing to be used by local station systems 10 The information in the remote register RWw buffer memory is automatically stored for each link scan in the remote registers RWr of all local stations The remote register RWr is used as the word information for reading to be used by local station systems 11 The word information stored in the remote register RWr buffer memory is stored in the CPU device set with automatic refresh parameters Local station Local station PC AT compatible PC Master station Station number 1 Station number 2 i occupies 1 station occupies 4 stations PLC CPU Program 9 L__mdSend i 5 FUNCTIONS MELSEC Word information from a local
175. l be used as a return value The table 16 3 lists the error description and corrective actions to take for each of the return values Table 16 3 List of error codes when executing functions Return value Error description Corrective action HEX Driver not started A Correct the error occurred when starting the driver The driver has not been started Check the board settings The same interrupt number and I O address as those of another board are used Review the operation status and board loading Board response error e p conditions of the access station A timeout has occurred while waiting for a response to the corrective action Retry with application program Channel error Check the channel number An unregistered channel number was designated Already open error i Open only once The designated channel has already been open Already closed error Close only once The designated channel has already been closed Path error Set the path to the station number that has an open A path other than for an open line was set line Processing code error A Use supported processing codes An unsupported processing code was issued Station number designation error The designated station number is incorrect 70 9 Correct the designation of the station numbers in an application program 46 A process that should have been requested to other station was requested to
176. l station No 2 send area to to to Remote output RY 6 7 Send area to mdSend Wile gt pcr tan ho 7 1 Send area to ocal station No 2 Link scan Remote input RX Remote input RX Receive area from 8 master station Automatic refresh x 08 Receive area from master station Automatic refresh 7 Receive area from master station Link sean 7 Receive area from master station Link scan mdSend to Remote register Remote register Remote register RWw RWr RWr 9 10 10 11 dSend Send area to Receive area from Receive area from mdSen wite 7 local station No 1 Unkscan gt master station Unkscan gt master station Automatic refresh D EO 9 1 1 tt 11 dSend Send area to 10 Receive area from 19 Receive area from mdSen we gt local station No 2 master station master station Automatic refresh D to to to Remote register Remote register Remote register 14 RWr RWw RWw 13 z 13 i 15 dReceiv Receive area from Tks oun station Unkscan gt Receive area from 2 local station No 1 Ge eres local station No 1 Automatic refres 14 cni 13 In 13 1 1 12 1 Hisce Receive area from Receive area from Own station mdReceive local station No 2 local station No 2 station number 2 KAutomatic ref
177. le problems 16 1 Hardware Troubleshooting 16 1 1 Verification of problem occurrence If a problem occurs when starting up the I F board check the appropriate procedure for checking the cause of the problem according to Table 16 1 below Table 16 1 Troubleshooting flow by the problem occurrence type Error description See the following section The system is not operating normally when the I F board is started up 2 Errors are displayed on event viewer error Viewer 16 1 See Section 16 1 2 Troubleshooting flow when the board and IBM PC AT compatible PC are not operating See Section 16 1 3 List of messages of error events that may occur when starting the driver 16 TROUBLESHOOTING MELSEC 16 1 2 Troubleshooting flow when the board and IBM PC AT compatible PC are not operating The following shows a flowchart for checking the I F board in the standalone IBM PC AT compatible PC when the I F board was not operating normally at startup Is the RUN LED on the NO A80BDE J61BT11 lit YES Did the screen display turn blue when starting up YES NO Has the operating system started up normally S driver message displayed on event viewer of th Y Remove other optional board s and leave only the ABOBDE J61BT11 M 2 management tool Did a WDT error occur RO Y Replace the ABOBDE J61BT11
178. le Master station station No 0 Remote device station station No 1 IBM PC AT compatible PC AJ65BT 64DAV User program I F board Remote inputs RX 1 5 5 X18 initial data processing request 8 10 X19 initial data setting completion pono 1 eit X1B remote station ready Remote output RY i 12 5 YOO CH1 analogue output enable signal EE MM SENE Y01 CH2 analogue output enable signal mdSend Y02 CH3 analogue output enable signal Y03 CH4 analogue output enable signal T 18 initial data setting completion mdSen m lt pL E RY19 9 Y19 initial data setting request Remote registers RWw 2 i 2 oa H3 RWw0 CH1 digital value setting area d RWw1 RWw1 CH2 digital value setting area RWw2 RWw2 CH3 digital value setting area RWw3 RWw3 CH4 digital value setting area H RWw4 analogue output enable prohibit area 13 5 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION MELSEC When the power to the remote device station AJ65BT 64DAV is turned on or the reset switch is pressed the initial data processing request RX18 turns on The initial data processing request RX18 is read by the user program When the digital value is written to the remote register RWwO by the user program it is written to the CH1 digital value setting area RWwoO of the AJ65BT 64DAV Data is wr
179. ligent device stations and standby master station no setting is required Master Down Local Local station station station Remote station Remote 9 AX JA e Am Terminal Terminal resistor Lb resistor Continues data link excluding faulty station POINT In the event of a cable breakdown the data link cannot be performed because there is no terminal resistor Master Local Local station station station Remote station Remote station EN E PNEU MED AW Terminal Breakdown Terminal resistor resistor 5 FUNCTIONS MELSEC 5 3 2 Automatically reconnecting a disconnected data link faulty station when it returns to normal auto return function This function allows any of the remote stations local stations intelligent device stations and standby master station that has been disconnected from the data link due to power off or other cause to automatically reconnect to the data link when it returns to the normal status Setting method Set the number of auto return modules of network parameters using the utility For more details on the setting see Section 9 2 3 5 FUNCTIONS MELSEC 5 3 3 Retaining the device status of a data link faulty station setting the input data status from a data link faulty station This function sets the input reception data status from a data link faulty station 1 Target input reception data The following shows t
180. line remote net mode Offline Module standalone hardware operation check Mode setting Module standalone hardware operation check Default Online remote net mode App 3 APPENDIX MELSEC 2 For the parameter setting window Parameter setting checklist for the parameter setting window 1 to 64 Number of connected modules Module Default 1 Remote I O Remote Device Remote Remote device Intelligent Intelligent Default Remote I O 1to4 Occupy station Station Default 1 Reserve Reserve Invalid i Invalid No setting No setting Default No setting 64 to 4096 word unit Default 64 Inteligent 64 to 4096 word unit buffer specify Receiving Default 64 word 7 128 to 4096 word unit Automatic Default 128 0 to 100 0 Not designated Delay timer X 50 us Default 0 1to7 Number of retries Times Default 3 0 to 64 0 No standby master station Standby master station designated Default 0 1 to 10 Auto return St No Modules Default 1 App 4 APPENDIX MELSEC Appendix 3 2 Station information setting checklist Station information setting checklist i Intelligent Buffer Specify Word No Type Occupy Station Station Specify App 5 APPENDIX MELSEC Intelligent Buffer Specify Word Type Occupy Station Occupy Station App 6 APPENDIX MELSEC Appendix 3 3 Device assignment checklist Device assi
181. lity g SW3DNF CCLINK 108 Ti CC Link Utility 1999 10 04 Copyright C 1999 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED Device Monitor Exit Help 2 To verify the version information for the Device Monitor Utility and Error Viewer click Help Version on the menu bar Version 9 OPERATING THE UTILITY SOFTWARE 9 2 Operating the CC Link Utility This section explains how to operate the CC Link Utility 9 2 1 Operating procedure The following shows the operating procedure of the CC Link Utility seesseseseeees Section 8 1 Connect an IBM PC AT compatible PC to CC Link Perform setup using the CC Link Utility Perform setup in the Board Information window See Section 9 2 3 Check the line status of the own station Hoo Sada dd in the Network Monitor window ee To check the list of boards open the Information window To check the line status of other stations f 5 2 5 open the Station s Line Status window SPE SECON ES To perform a memory I O test and board eseeeeeeeseees Sce Section 9 2 6 reset open the Memory I O Test window To perform a network test open the eseeeeesseeeeo Goo Section 9 2 7 Network Test window eeeeeeeeeeeees Section 9 2 2 MELSEC 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 2 2 Operating the information window The Information window displays t
182. lows according to the SW1 and SW2 settings 81 Off Off 82 On Off 83 Off On 84 On On 11 6 Station Number Settings The following is a list of station numbers that are designated by the functions Station number designation CC Link Own station 255 OxFF Other station 0 to 64 0x40 1 1 Station number 64 cannot be designated in the CC Link communication except for buffer memory access 11 5 MELSEC 11 MELSEC DATA LINK LIBRARY 11 7 Device Types MELSEC A device type can be specified in the functions either by a code number or device name 1 Device types when the I F board is used The following table shows the CC Link dedicated device types when the I F board is used to access devices Device type Code designation Decimal Hexadecimal Device name designation 1 1 DevX Own station RX 2 DevY Own station RY 5 DevSM Own station SB link special B for CC Link 14 DevSD Own station SW link special W for CC Link 33 21 DevMRB Own station random access buffer 36 244 DevWw Own station link register for sending 37 254 DevWr Own station link register for receiving 50 32H DevSPB Own station buffer memory 32768 8000 DevRBM Other station buffer memory 1 32800 80204 DevRAB Other station random access buffer 1 32801 80214 DevRX Other station RX 1 32802 8022 DevRY Other station RY 1 32804 8024 DevRW Other stati
183. lues Send buffer size 64 words Receive buffer size 64 words Assignments of Automatic update buffer size 128 words communication buffer and automatic update buffer Setting range Communication buffer 64 to 4096 words However the total communication buffer size must be 4096 words or less Automatic update buffer 64 to 4096 words However the total automatic update buffer size must be 4096 words or less 7 PARAMETER SETTINGS MELSEC 7 2 Example of Parameter Settings This section explains the parameter settings using the CC Link Utility The explanations in this section are based on the following system configuration example For more details on the CC Link Utility see Section 9 2 Station number 4 Station Station Station Station number 9 Master number number2 Localstation number 8 intetigent station Remote Remote occupies Reserve device station station device station 4 stations station occupies occupies occupies occupies 4 stations 1 Station _ 1 station 2 stations 7 2 1 Master station network parameter settings 1 Setthe network parameters according to the following procedure a Setthe station type for Board Setting Example Set the station type to Master station number 0 Default value Local station number 1 Setting range Master station number 0 Local station number 1 to 64 Standby Master sta
184. ly affected and for which a particularly high reliability is required in terms of safety and control system please consult with Mitsubishi and discuss the required specifications A8OBDE J61BT11 CC Link System Master Local Interface Board User s Manual For SW3DNF CCLINK MobDEL A80BD BT11 SW3 U E MODEL 13JR14 IB NA 0800110 A 0003 MEE s MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100 8310 TELEX J24532 CABLE MELCO TOKYO NAGOYA WORKS 1 14 YADA MINAMI 5 HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of International Trade and Industry for service transaction permission Specifications subject to change without notice
185. m the remote register RWr 8 The remote register RWr data of the intelligent device station is automatically stored in the remote register Rwr buffer memory of the master station 9 The program uses the mdReceive function to read the remote register RWr data of the intelligent device station stored in the remote register RWr buffer memory IBM PC AT compatible PC Master station ee ee Intelligent device station I F board Station number 1 occupies 4 stations MN EE Remote register RWr data such i Remote register RWr as present feed value Rwo RWrO RWr1 RWr1 Program RWr2 RWr2 i RWr3 RWr3 RWr4 RWr4 RWr5 RWr5 RWr6 RWr6 9 j RWr7 8 i RWI7 mdReceive H RWra j RWr8 RWr9 RWr9 RWrA RWrA RWrB RWrB RWrD RWrD RWrE RWrE RWrF RWrF RWr10 to RWrFF Remote register RWw when the AJ65BT D75P2 S3 is set to station number 1 Address RWrO RWr1 RWr2 RWr3 RWr4 RWr5 RWr6 RWr7 5 FUNCTIONS MELSEC 2 Communication between the master station and the intelligent device station by transient transmission The transient transmission is a transmission method that sends and receives data in 1 1 mode by designating an opposite station at an arbitrary timing When writing data to the buffer memory of the intelligent device station using the mdSend function 1 The program uses the mdSend funct
186. mation area CPU internal parameters default parameters being used Is the corresponding remote device station number recognized by the master station Is the corresponding station set as a reserved station 16 15 Check the LED displays on the corresponding remote device station Check the communication status of the master station with other stations SW0080 to SW0083 Check the user program Check the parameter information SW0067 Check the parameters e Check the total number of stations SW0070 Check the maximum communication station number SW0071 Check the number of connected modules 51 0072 Check the parameters Check the reserved sta SW0074 to SW0077 Check the station number setting atus SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation si ion designation status e Check the installation s atus SW0069 Check the station number duplicate status SW0098 to SWO009B e Check the installation parameter matching status SWO009C to SWOO9F Check the LED displays on the corresponding remote device station Check the communication status of the master station with other stations SW0080 to SW0083 Check the user program Check the parameter information SW0067 Check the parameters e Check the total number of stations SW0070 Check the maximum communication station number SW0
187. mon 16 ransistor output 32 point module sink V DC 0 5 A point 4 8A common 32 points common ransistor output 32 point module sink 12 24 V DC 0 1 A point 32 points common module nput 1 line DC input 16 points sink 24 V DC 5 mA 32 points common Output 1 line transistor output 16 points sink 24 V DC 0 1 A point 32 points common module high speed response type 1 station Input 1 line DC input 16 points sink 24 V DC 5 mA 32 points common Output 1 line transistor output 16 points sink 24 V DC 0 1 A point 32 points common module Input 2 3 4 line DC input 8 points sink 24 V DC 5mA 16 points common Output 2 3 4 line transistor output 8 points sink 24 V DC 0 5 A point 16 points common module waterproof type Input Waterproof 4 line DC input 8 point sink 24 V DC 5 mA 16 points common Output Waterproof 4 line transistor output 8 point sink 24 V DC 0 5 A point 16 points common 4 channel input Analog input 1 10 V to 10 V 20 mA to 20 mA Digital output 2000 to 2000 0 to 4000 4 channel voltage output Digital input 2000 to 2000 2 stations Analog output 1 10 V to 10 V 4 channel current output Digital input 0 to 4000 Analog output 4mA to 20 mA Remote O station Remote device station 3 SYSTEM CONFIGURATION MELSEC Table 3 1 Equipment List 3 3 N f Product name Model name Description mbero Station t
188. n 1 2 3 learn about the conformation to the EMC Directive Chapter 2 Conformation to the EMC Directive is described in Chapter 2 4 To learn about the system configuration Chapter The system configuration using the I F board is described in Chapter 3 5 Tolearn about the operating environment of the I F board Section 3 2 1 The operating environment of the I F board is described in Section 3 2 1 6 To learn about specifications of the I F board Chapter 4 The specifications of the I F board are described in Chapter 4 7 To learn about the functions of the I F board Chapter 5 The functions of the I F board are described in Chapter 5 8 To learn about the data link processing time Chapter 6 The data link processing time is described in Chapter 6 9 learn about how to set parameters Chapter 7 How to set parameters is described in Chapter 7 10 To learn about the I F board settings Chapter 8 The I F board settings are described in Chapter 8 11 To learn about how to install and uninstall utility software Section 8 4 How to install and uninstall utility software is described in Section 8 4 12 To learn about the utility software operating procedures Chapter 9 The utility software operating procedures are described in Chapter 9 13 To learn about accessible devices and ranges Chapter 10 The device specifications and the contents of the information stored in the system area are de
189. n8 Stores the parameter setting status Own station parameter swooeg 0 Normal status Other than 0 Stores an error code see Section 16 3 5 Stores the duplicate station number and parameter matching with each station 0 Normal SW0069 __ Installation status 2 Other than 0 Stores an error code see Section 16 3 5 Details are stored SW0098 to 9B and SW009C to 9F Stores the setting status of the CC Link Utility SWO06A CC Link Utility setting 0 Normal status Other than 0 Stores an error code see Section 16 3 5 SWO006D Maximum link scan time Stores the maximum value of the link scan time in 1 ms units SWOO6E Current link scan time Stores the current value of the link scan time in 1 ms units SWOO6F Minimum link scan time Stores the minimum value of the link scan time in 1 ms units 2 This is checked and stored only at link startup 16 27 16 TROUBLESHOOTING MELSEC Availability mar me Available X Not available Number Name Description Master Offline Local station station Stores the last station number set in the Parameter Setting of the CC Link Utility SW0070 Total number of stations 1 to 64 stations sWoori Maximum communication Stores the maximum station number that is performing data link station number 1 to 64 stations 200055 Number of connected Stores the number of modules that are performing data link modules 1 to 64 stations Standby master station St
190. nated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and Failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found not to be the responsibility of Mitsubishi or the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not possible after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of chance loss and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation to damages caused by any cause found not to be the responsibility of Mitsubishi chance losses lost profits incurred to the user by Failures of Mitsubishi products damages and secondary damages caused from special reasons regardless of Mitsubishi s expectations compensation for accidents and compensation for damages to products oth
191. nd QU61BT11 General term when the AJ61QBT11 A1SJ61QBT11 AJ61BT11 A1SJ61BT11 and QJ61BT11 are used as master stations General term for AJ65BTB 5 00 AJ65BTC 00 AJ65BT 64AD AJ65BT 64DAV AJe5BT 64DAI A852GOT etc Master module Remote module Intelligent module A module such as the AJ65BT R2 that can perform transient transmission Cyclic transmission Function that periodically updates the contents of the remote I O and remote register Transient transmission Function that communicates data to the designated station when there is an access request from the PLC CPU SB Special link relay SW Special link register RX Remote input RY Remote output RWw Remote register write area RWr Remote register read area Microsoft Windows Microsoft Windows NT Microsoft Visual Basic Microsoft Visual C and MS DOS are trademarks or registered trademarks of Microsoft Corporation in the United States and other countries Other company names and product names used in this document are trademarks or registered trademarks of respective companies Product Configuration The following shows a list of the product configuration of the I F board Item name Quantity Model A80BDE J61BT11 CC Link System Master Local Interface Board Terminal resistor 110 1 2 W brown brown brown O Terminal resistor 130 1 2 W brown orange brown 0 Model SW3DNF CCLINK CC Link Utility Software Pa
192. ndicates the overall length of the entire branch cable Maximum number of connected The total number of connected stations depends on 6 stations per branch D stations on the branch line the CC Link specifications The CC Link dedicated high performance cable CC Link dedicated cable cannot be used example FANC SBH Connected cable Example FANC SB CSFV SLAB Cables of different manufacturers cannot be used 100ZCLK SB 20AWGXSC together See the cable catalogue for details on the manufacturers Terminal resistor 11024 5 1 2W X 4 connection method Connect between DA and DG DB and DG both ends ACSUSTBTI mM A 1S J61QBT11 is used ABOBDERGIBTM NET gera Use a commercially available terminal resistor of as the master station Foa pa L a 25 110 Q 5 9 1 2 W resistance Terminal es E x When the QU61BT11 is ue iog 08 Pa 110 and 130 Q resistors that are supplied with the used as the master station es DG I F board master local modules cannot be used connect the 110 Q resistor SLD that is supplied with the FG module For the connection method see Section 8 6 IB Terminal block Off the shelf terminal block T branch terminal block connector Connector Connector NECA4202 for the FA sensor ICE947 5 2 comparable product is recommended When wiring cables for the main line side try not to r
193. ng and writing from to the buffer memory the communication time delay may occur and the user program becomes complicated 15 3 1 Initialization procedure The following diagram shows the relationships among the user program of the IBM PC AT compatible PC and the remote inputs outputs and AJ65BT D75P2 S3 buffer memory of the intelligent device station The shaded areas indicate the devices that are actually used For detailed information on the intelligent device station see the Type AJ65BT D75P2 S3 Positioning Module User s Manual Master station station No 0 Intelligent device station station No 1 IBM PC AT compatible PC AJ65BT D75P2 S3 User program RX78 initial data processing request RX79 mdReceive initial data setting completion RX7B remote station ready RY78 initial data processing completion RY79 initial data setting request 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 6 MELSEC When the intelligent device station AJ65BT D75P2 S3 is powered on or the reset switch is pressed the initial data processing request RX78 turns on The initial data processing request RX78 is read by the user program The initial data processing completion RY78 is turned on by the user program The AJ65BT D75P2 S3 turns off the initial data processing request RX78 The initial data processing
194. ng module Terminal resistor Servo _ amplifier Zr ERN TE CI amplifier YN 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 1 1 Setting up the master station The settings of the master station utility are shown below Link error X data setting Clear CC Link Utility Information Board Information Network Monitor Station s Link Stalls Memory 120 Test Network Test Version Channel 1 cC Link 1 Station number E Setting poe Chere Link Data Baud Rate C Lat master station ey ey Baud rate setting 10 Mbps Link B d T Sp settin ERR Online MST 25 JA LOCAL T 5M CPURAw 10M E E a T i F TF TEST T Parameter Setting p R LINE Parameter Write LRUN E sp LERR RD Device Monitor Exit Help 15 1 2 Setting up the intelligent device station AJ65BT D75P2 S3 The settings of the intelligent device station AJ65BT D75P2 S3 switches are shown below Baud rate mode setting switch 4 10 Mbps online Station No setting switch Module AJ65BT D75P2 S3 x10 MITSUBISHI MELSEC AJ65BT D75P2 S3 eq 04 at PW 28 2 5 A
195. ng range is specified Note Set this in the CC Link master or local station that is connected to the target CPU Indicates the module status SW0020 Module status 0 Normal Other than 0 Stores an error code see Section 16 3 5 Stores the execution result of the data link restart direction by SBO000 SW0041 Data link restart result 0 Normal Other than 0 Stores an error code see Section 16 3 5 Indicates the execution result of the switching direction Stores the execution odds Master station switching esult of the master station switch and data link startup direction by 580001 and data link startup result 0 Normal can be used for the standby master station Other than 0 Stores an error code see Section 16 3 5 Stores the execution result of the data link stop direction by SB0002 51 0045 Data link stop result 0 Normal Other than 0 Stores an error code see Section 16 3 5 Stores the execution result of the temporary error invalid station s request i i direction by SB0004 jenen requestresut Normal Other than 0 Stores an error code see Section 16 3 5 Stores the execution result of the temporary error invalid station s cancel Temporary error invalid request direction by SB0005 SW004B station cancel request 0 Normal result Other than 0 Stores an error code see Section 16 3 5 1 Only the bit for the head station number is turned on 16 26 16 TROUBLESHOOTING MEL
196. ng status SWOO9E 9 SWO09C 13 4 3 2 SWO009D 29 19 18 SWO009F SWOO9E SWO09F Numbers 1 to 64 in the above table indicate the station numbers 2 Stores the status of the parameter registration to EPROM E PROM registration SW00B9 status 0 Normal Other than 0 Stores an error code see Section 16 3 5 1 Only the bit for the head station number is turned on x3 The number of bits that equals to the number of occupied stations are turned on 4 Only the bit for the head station number is turned on In addition this is checked and stored only at link startup The update timing of the data in a link special register SW differs depending on the link register number Table 16 7 lists the update timings of the link special registers Table 16 7 Update timings of the link special registers Link special register Data update timing Link special register Data update timing SWO0041 SW0071 Updated individually regardless of the SB Updated individually regardless of the SB Updated after each station reaches a stable SW0045 SW0072 m condition SW0060 When the SB0060 changes SW0074 SW0077 When the SB0074 changes SW0061 When the SB0061 changes SW0078 to SW007B When the SB0075 changes 51 0062 51 0080 SW0083 When the SB0080 changes SW0067 SW0088 to SW008B Updated individually regardless of the SB Updated individually regardless of the SB SWO009C to SWO009F Updated
197. ngs and the immunity electromagnetic sensitivity which requires that a device must have the ability to resist external electromagnetic waves Sections 2 1 1 through 2 1 4 describe the items to which special attention should be paid when configuring a machine device using the I F board in order to conform to the EMC Directive Although we have made every effort to document this based on the requirements for the regulation as well as the standards we have researched it does not guarantee the compliance of the entire machine device created according to the description of this document with the EMC Directive The method to make such device conform to the EMC Directive and the decision on the conformity must be determined by the manufacturer of the machine device 2 1 1 EMC directive Specification EN50081 2 1995 The standard for the EMC Directive is listed in the table below All test items were tested by installing each device on an IBM PC AT compatible PC bearing a CE certification logo Test item EN55011 Radiated noise Test description Measure the electric wave released by the product Standard values 30 M 230 MHz 50 dBuV m 3 m 9 84 ft measurement 1 230 M 1000 MHz 57 dBuV m 3 m 9 84 ft measurement EN55011 Conduction noise Measure the noise released by the product to the power line 150 k 500 kHz 79 dB Mean 66 dB T 500 k 30 MHz 73 dB Mean 60 dB prEN50052
198. nstallation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation parameter matching status SWO009C to SWOO9F Check the LED displays on the corresponding local station Check the communication status of the master station with other stations SW0080 to SW0083 Check the user program Check the user program Check the parameters e Check the total number of stations SW0070 Check the maximum communication station number SW0071 Check the number of connected modules 51 0072 Check the parameters Check the reserved station designation status SW0074 to SW0077 Check the station number setting Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation status SW0069 Check the station number duplicate status SW0098 to SWO009B Check the installation parameter matching status SWO009C to SWOO9F Check the LED displays on the corresponding local station Check the communication status of the master station with other stations SW0080 to SW0083 Check the user program Check the user program Check the parameters Check the total number of stations SW0070 Check the maximum communication station number SW0071 Check the
199. ntelligent device station station No 1 IBM PC AT compatible PC AJ65BT D75P2 S3 User program RX01 single axis start RX02 dual axis start mdReceive RX04 single axis BUSY RX05 dual axis BUSY RY10 single axis positioning start RY11 dual axis positioning start RY20 single axis servo on RY40 dual axis servo on Remote registers RWw 3 i RWw0 single axis positioning start number T RWw 8 dual axis positioning start number pm 1 The single axis servo on RY20 is turned on by the user program 2 The dual axis servo on RY40 is turned on by the user program 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 3 The start number is written to the single axis positioning start number RWw0 by the user program 4 The start number is written to the dual axis positioning start number RWw1 by the user program 5 single axis positioning start RY10 is turned on by the user program The home position return operation will start 6 The dual axis positioning start RY11 is turned on by the user program The home position return operation will start 7 Axis 1 starts the positioning operation and the AJ65BT D75P2 S3 turns on the single axis axis operation completion RX1 and single axis BUSY RX4 8 Axis
200. number 3 Data link control Number of occupied stations 1 Number of occupied stations 1 Standby in progress Cyclic communication Cyclic communication Cyclic communication Standby master station Master station is down Data link control by the standby master station Station number 1 Master station Number of occupied stations 1 Remote O station Remote I O station Station number 2 Station number 3 Number of occupied stations 1 Number of occupied stations 1 Data link control in progress Cyclic comsetinication Cyclic communication Cyclic communication In this section the above system configuration will be used in the explanation The IBM PC AT compatible PC with an I F board can be set as a standby master station only when the master station is also an IBM PC AT compatible PC with an I F board The possible master station and standby master station combinations are shown in the table below Standby master station Master station PC AT compatible PC I F board IBM PC AT compatible PC Q VF board PLC Setting allowed X Setting not allowed 5 FUNCTIONS Master station Remote Remote input RX output RY Master station Remote Remote input RX output RY 1 MELSEC Overview of link data transmission when the standby master function is used The following provides an overview of link data tr
201. nvalid station function By setting network parameters a module that is powered off in the system configuration will not be treated as a data link faulty station by the master station and local station However exercise caution since errors are no longer detected Station number 1 Remote station occupying 2 stations Stations to be set as error invalid stations Station number 3 Remote station occupying 1 station Station number 1 Remote station occupying 2 stations Station number 3 Remote station occupying 1 station Station number 4 Local station occupying 1 station Station number 5 Remote station occupying 2 stations MELSEC Station number 7 Local station occupying 4 stations This station does not become a data link faulty station Station number 4 Local station occupying 1 station aC US Station number 5 Remote station occupying 2 stations Station number 7 Local station occupying 4 stations 11 Data link stop restart function The data link can be stopped and restarted while it is being used 12 Duplicate station number check function This function checks whether or not multiple number of modules having the same station number exist in the system when the master station is started 1 OVERVIEW MELSEC 13 Transient transmission In this method of transmission a counterpart is spe
202. o 64 in the above table indicate the station numbers Stores the line status of own station 0 Normal 1 Abnormal disconnected Stores a transient transmission error status of each station 0 Normal 1 Abnormal b15 b14 b13 b12 to b3 b2 b Swo0094 suo se 5r 5o 25 w 25 35 v8 swoooe SW0097 64 iss 1 to 64 in as niis desto the station numbers 1 Only the bit for the head station number is turned on x3 The number of bits that equals to the number of occupied stations are turned on 16 29 16 TROUBLESHOOTING MELSEC Availability Available X Not available Number Name Description Online Master Offline Local station Stores the station number duplicate status when the head station number of each module is not duplicated 0 Normal SWOUSS 1 Duplicate station number head station number only b15 b14 b13 b12 b3 b2 SW0099 Station number duplicate SWO0098 16 13 4 3 4 SW009A SAS SW0099 32 29 SWO09A SW009B SWO009B Numbers 1 to 64 in the above table indicate the station numbers Stores the matching status between the installed station and parameter settings 0 Normal Installation 1 Mismatching error Installation Parameters SW009C Remote device station gt Remote I O station Local station Remote I O station Remote device station SW009D Installation parameter b14 b13 b12 b2 bi Q4 matchi
203. oard 2 piece type terminal block DA DB DG 8 PROCEDURE BEFORE STARTING THE DATA LINK Channel No setting switch MELSEC Description Sets the channel number of the I F board Board No Channel No Switch 1 Remarks 81 OFF Default setting 82 ON 0 1 2 3 83 OFF ON 84 ON ON When mounting more than two I F boards do not use duplicate board numbers Temperature abnormality pin detection switching setting Setting Sets the temperature to detect abnormal temperatures 55 C 45 C Sets the detecting temperature at CU Sets the detecting temperature at Default setting 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 4 Installing and Uninstalling the Utility Software The following explains how to install and uninstall the utility software 8 4 1 Installing the utility software The following describes the preparation for installing the utility software and the utility software installation procedure POINT 1 If the operating system in use is Windows NT 4 0 log on as a user with Administrator privilege 2 Remove all applications that are included in the Startup menu and then restart Windows before installing the utility software 3 Use the floppy disks labeled as 1 5 1st disk through 5 5 5th disk for installation Install SW3DNF CCLINK after uninstalling
204. odules Default value 1 module Setting range 1 to 10 modules Designates the station number of the standby master station Standby master station Default value 0 no standby master station designated Section 5 3 4 designation Setting range 0 to 64 0 No standby master station designated Sets the link scan interval Unit 50 us Delay time setting Default value 0 not designated Setting range 0 to 100 0 Not designated Designates the reserved station Reserved station f Default value Not designated Section 5 4 2 designation Setting range Not designated designated Designates the error invalid station Invalid station designation Default value Not designated Section 5 4 3 Setting range Not designated designated 7 PARAMETER SETTINGS MELSEC Table 7 1 Parameter setting items ME T Reference Setting item Description section Sets the type of the connected remote station local station intelligent device station and standby master station Default value Remote I O station occupies 1 station station number 1 Setting range Station information Station type Remote I O station remote device station intelligent station Number of occupied stations 1 to 4 occupied stations Station number 1 to 64 Designates the assignments of buffer memory sizes during transient transmission to the local station standby master station and intelligent device station Default va
205. of stations can be switched using the utility parameter setting Remote I O RX RY 2048 points Remote register RWw 256 points master station remote station local station intelligent Maximum number of link points per system device station standby master station Remote register RWr 256 points remote station local station intelligent device station standby master station master station Remote I O RX RY 32 points local station is 30 points Remote station local station intelligent Remote register RWw 4 points master station remote station local station intelligent device station standby master station device station standby master station Number of link points per link Remote register RWr 4 points remote station local station intelligent device station standby master station master station Auto return function RAS function Slave station disconnect function Error detection by the link special relay register Number of boards that may be used in one Maximum 4 system 5 V DC internal current consumption A Weg ig 1 The CC Link dedicated cable and CC Link dedicated high performance cable cannot be used together 2 This indicates the total number of ABOBDE J61BT11 and ABOBDE J61BT13 boards 4 SPECIFICATIONS MELSEC 4 2 1 Overall cable distance The following describes the relationship between the transmission rate and the overall cable distance 1 For a s
206. on access processing time of the md function 2 When writing RY and RWw to the I F board with the md function it is necessary to add the own station access processing time of the md function POINT The own station access processing time of the md function varies depending on the performance of the IBM PC AT compatible PC load condition and other factors The following shows an example of the processing time for an IBM PC AT compatible PC equipped with a Pentium II 233 MHz CPU Own station access processing time IBM PC AT compatible PC equipped with a Pentium Il 233 MHz CPU A md function 2 bytes 512 bytes 1024 bytes Batch read mdReceive 0 3 ms 0 7 ms 1 2 ms Batch write mdSend 0 3 ms 0 4 ms 0 5 ms 6 DATALINK PROCESSING TIMES MELSEC 6 3 Transient Transmission Processing Time This indicates the transient transmission processing time the time from the moment an instruction is issued until a response is received 6 3 1 Master station I F board lt local station PLC 1 Master station I F board Local station PLC This indicates the time from the moment an instruction is issued by the master station I F board until a response from the local station PLC is received Formula OT LS number of request data 16 72 xXLS a SL LS 2 number of response data 16 1 65 xX LS4 B4 bps ms OT Data transmission time between the IBM PC AT compatible PC
207. on as shown below is used 13 Master station IBM PC AT compatible PC A80BDE J61BT11 Terminal resistor Occupies 2 stations Remote device station station No 1 AJ65BT 64DAV 000 D A conversion module Terminal resistor 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION 13 1 1 Setting up the master station The settings of the master station utility are shown below Link error X data settin B Clear Information Board Information Network Monitor Station s Link Stayis Memory 1 0 Test Network Test Version ga CC Link Utility Channel 81 CC Link 1 M Station number Board Setting setting Occupy St LinkEexDatY Baud Rate i c C Latch 0 master station G Clear p Baud rate setting 10 Mbps MELSEC LED CC Link E SS ERR 625K MST 25M A LOCAL T T 5M T 1 Apply CPURAv PF 10M docct E SUE T Parameter Settin n TEST g PRM E TIME E 0 z R Parameter Write r r Device Monitor Exit Help 13 1 2 Setting up the remote device station The settings of the remote device station switches are shown below Baud rate mode setting switch 4 10 Mbps online Station No setting switch AJ65BT 64DAV 0 Online Module xt 1 C B RATE STATION NO MITSUBISHI MELSEC Avse
208. on having a communication error Clear Local station Latch Clears the receive area from the remote device TRA station having a Retains the When a communication receive area from error communication Input data Master station Continue Continue the remote device error power setting of the Retains the station having a boni IN off etc occurs CC Link utility receive area from communication ontinue Continue in a remote at error Latch the remote device error device station station having a communication error Clear Local station Latch Clears the receive area from the local station Clear having ae Retains the When a communication receive area inati error communication Input data Master station Continue Continue from the local error power _ setting of the Retains the station having a Coi off etc occurs CC Link utility receive area from communication ontinue Continue in a local at error Latch the local station error station having a communication error Clear Local station Latch 1 This is because YnO refresh direction is turned off 6 DATALINK PROCESSING TIMES MELSEC 6 4 2 Status of the remote device station local station standby master station and intelligent device station at error Table 6 2 lists the status of the remote device station local station standby master station and intelligent device station at error Table 6 2 Status of the remote device station
209. on link register 1 32867 8063 DevSB Other station SB link special B for CC Link 1 32868 8064 DevSW Other SW link special W for CC Link 1 amp 1 Cannot be used with the mdRandR mdRandW mdDevSet mdDevRst functions 11 6 11 MELSEC DATA LINK LIBRARY MELSEC 2 Common device types The following table lists the device types common to all communication paths Device type Code designation Device name designation Decimal Hexadecimal 1 1 DevX x 2 2 DevY Y 3 DevL L 4 4 DevM M R esM SB link th and CC Link 6 6 DevF F 7 7 DevTT T contact 8 8 DevTC T coil 9 9 DevCT C contact 10 DevCC C coil 11 Bu DevTN T current value 12 Cu DevCN C current value 13 Du DevD D Special D SD SW link special W for MNET 10 and CC Link DevTM T setting value main DevTS setting value sub 1 DevTS2 T ue sub 2 16003 8 DevTS3 T setting value sub 3 17 11 DevCM C setting value main 18 12 DevCS C setting value sub 1 18002 4652 DevCS2 C setting value sub 2 18003 4653 DevCS3 C setting value sub 3 19 13H DevA A 20 144 DevZ Z 21 15H DevV V index register 22 16H DevR R file register 22001 to 22256 55F 1H to 56F0u DevER1 to DevER256 ER extension file register 23 17H DevB B 24 18H DevW Ww 25 19H DevQSB Q QnA link special relay on
210. on problem occurs in the data link see Chapter 6 of this manual When performing the control of the IBM PC AT compatible PC in operation changing data configure an interlock circuit in a user program so the safety of the overall system is always maintained When performing other controls of the IBM PC AT compatible PC in operation changing program and operation status status control read this manual carefully and confirm if the overall safety is maintained Especially when this control is performed to a remote IBM PC AT compatible PC from an external device problems that have occurred on the IBM PC AT compatible PC side may not be able to immediately be handled if there is a data communication error Define a troubleshooting agreement between external devices and the IBM PC AT compatible PC for data communication error occurrences as well as construct an interlock circuit in the user program Do not write data into the system area of the buffer memory of intelligent function modules Also do not use any prohibited to use signals as an output signal to an intelligent function module from the I F board A80BDE J61BT11 Writing data into the system area or outputting a signal for prohibited to use may cause a PLC system malfunction DESIGN PRECAUTIONS 4 DANGER e A failure in the I F board may cause I O to change to on status or off status Establish a circuit to be observed externally for those I O signals th
211. on the menu bar When a dialog box is displayed click the Yes button to quite the Device Monitor Utility Setting Device Write Data Fi 16 point register monitor 3 To quite Error Viewer click Log Exit on the menu bar 5B Communication Support Soft View Help Driver Basic Middle Ware 27 Applied Middle Ware 07 Others 27 7 A Open the Selected File Save with a Name fe p 33 Delete B20 Log Setting id 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 1 4 Displaying the help window The following explains how to display the Utility Help window 1 To display the Utility Help window click the Help button at the lower right corner of the Utility window f CC Link Utility Board Information Network Monitor Station s Link Status Memory 120 Test Network Test Version Board List Channel No Board Model Name IRQ No Memory Address 1 0 Port No ROM er ar FGFSCOXI FGFBFFFEH E SS esr pen pee El pum SSS ret pm Device Monitor Exit Click 2 To display the Help window for the Device Monitor Utility and Error Viewer click Help Help on the menu bar 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 1 5 Verifying the version The following explains how to verify the utility s version 1 To verify the utility s version click the Version tab in the CC Link Utility window CC Link Uti
212. ores the station number of the standby master station number 1 to 63 stations SW0073 Stores the reserved station designation status SW0074 0 Other than reserved station 1 Reserved station b15 b14 b13 b12 Reserved station 810074 16 designation status 1 SWO0075 SW0075 SW0076 SW0077 SW0076 46 45 SW0077 62 61 Numbers 1 to 64 in the above table indicate the station numbers Stores the error invalid station designation status SW0078 0 Other than error invalid station SW0079 SW007A SW007B 1 Error invalid station b15 014 b13 6012 Error invalid station SW0078 13 designation status 1 0079 29 SW007A 45 SW007B Numbers 1 to 64 in the above table indicate the station numbers Stores the temporary error invalid station designation status SWO007C 0 Other than temporary error invalid station 1 Temporary error invalid station b15 014 613 b12 to SW007C 13 to SWO007D 29 to SWO007E 45 to SW007F SW007D Temporary error invalid station designation SwoozE status SW007F Numbers 1 to 64 in the above table indicate the station numbers Stores the data link status of each station SWOO080 0 Normal SW0081 SW0082 SW0083 1 Data link error occurred 015 014 b13 b12 Other station data link SWO0080 status 3 SWO0081 Swo0082 SW0083 Num
213. ote device station I O station 3 Standby master station 4 Intelligent 5 Local station device station Data link faulty station If this station was specified as a reserve station it would not have been treated as a faulty station 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 8 2 Transmission rate and mode settings The transmission rate and mode settings are specified with the CC Link Utility For details on the transmission rate mode settings see Section 9 2 3 The transmission rates that can be set vary depending on the overall distance For more details see Section 4 2 1 Use the same transmission rate for the master station remote stations local stations intelligent device stations and standby master station If any of the settings for at least one station is different data link cannot be established normally 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC MEMO 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 OPERATING THE UTILITY SOFTWARE When Windows NT 4 0 is being used as an operating system OS log on as a user with Administrator privilege in order to use various utilities 9 1 Operations Common to All Utility Software This section explains the operations common to all utility software 9 1 1 Starting a utility Start a utility by clicking one of the following menus under the Start Programs MELSEC menus Starts the CC Link Utility
214. oting flow when the ERR LED on the master station is flashing 1 When the I F board is used as the master board The ERR LED of the A80BDE J61BT11 is flashing Do the parameter settings and installed system configuration match correctly Correct the parameter settings or installed system configuration Are the master Station link special registers SW0080 SW0083 data link status of other stations turned on A80BDE J61BT11 failure Are the master tation link special registers SW0098 to SW009B duplicate station number status turned on YES Check the module for which SW0098 to SWOOSB are on Check the A80BDE J61BT11 side Check the module for which SW0080 SW0083 are on Check the slave station side Is the power on Are the station number Switches set correctly Turn on the power Set the station number Switches correctly Turn on the power again turn on the reset switch Is there a POWER LED on the module Corresponding module failure Is the POWER LED lit Is the supplied voltage within the specified range NO Set the supplied voltage within the specified range Corresponding module failure Is the RD LED lit Is the communication cable wired correctly 1 Correct the communication
215. patible PC Master station Station number 1 Station number 2 VF board occupies 1 station occupies 1 station Program ced Ed ME NS Mu ye ee d Remote input RX i 2 XOF to X00 eae ET X1F to X10 to RX7FF to RX7FO i 16 point module i 32 module Remote output 4 The program uses the mdSend function to write the on off information to the remote output RY buffer memory 5 The output status stored in the remote output RY buffer memory is output automatically for each link scan to the remote I O stations Remote I O station Remote I O station IBM PC AT le P i AT compatible Pe Master station ANNE i Station number 3 Station number 4 E VF board asd ou occupies 1 station occupies 1 station eee esa eMe cune RY2F to RY20 5 4 YOF to YOO mdSend i c TT i f to Yoo to Y10 to RY7FF to RY7FO 16 module 32 point module 5 FUNCTIONS 5 2 2 Communication with the remote device stations MELSEC This section explains an overview of the communication between the master station and the remote device station In the communication with the remote device station the handshaking signals with the remote device station initial data request flag error reset request flag etc are communicated using the remote input RX and remote o
216. ply f CPURAv 10M mee E T Parameter Setting Rn 7 TEST m E c p TIME s 7 R LINE Parameter Write LRUN sp LERR RD Device Monitor Exit Help Sets the channel to be used Displays the information on the board own station Setting 0 Master station Channel 1 to 64 Local station standby master station Board Setting Local station standby A standby master station can be selected master station setting only when the OS is Windows NT 4 0 Occupy St 1 station 4 stations Link Err X Data Latch Clear Baud Rate 156 k 625 k 2 5 M 5 M 10 Mbps 9 OPERATING THE UTILITY SOFTWARE MELSEC Displays the current operation status of the I F board LED name When LED is lit RUN CC Link system normal ERR Communication error MST Master station LOCAL Local station CPU R W Communicating SW Switch setting error M S Duplicate master station error PRM Parameter error TIME Time out Executing data link Communication error The LED for the set baud rate lights up Executing off line test Sp Sending data Receiving data Performs mode setting for the I F board and displays the present mode status Mode Description Online auto return Used for normal communication enabled Mode setting Off line Enters the state in which there is no connection to the network Performs the hardware test on the ABOBDE
217. ponent that has a considerable effect in preventing conductive noise Except for a few models the installation of a noise filter on the power supply line is not required However the installation of a noise filter can attenuate noise at a higher rate a noise filter is effective for reducing noise emitted in the range below 10 MHz Use a noise filter double type filter equivalent to the models shown below FN343 3 01 FN660 6 06 ZHC2203 11 Rated current Rated voltage 250V The following explains the notes on installation of a noise filter 1 Do not bundle the wires of the input and output sides of the noise filter If they are bundled noise on the output side will be inducted to the wire of the input side in which the noise has been removed by a filter Input side Input side power supply side power supply side Induction Induction Filter Filter Output side device side Output side device side 2 Ground the ground terminal of the noise filter to the control panel using as short wiring as possible about 10 cm 3 94 in 2 EMC DIRECTIVE MELSEC MEMO 3 SYSTEM CONFIGURATION 3 SYSTEM CONFIGURATION This chapter explains the system configuration of the CC Link 3 1 Overall Configuration MELSEC A total of 64 remote I O stations remote device stations local stations standby master stations and intelligent device stations can be connected to a single master station
218. positioning control pulse chain output Positioning module 2 axes independent simultaneous dual axes dual axis linear 4 stations interpolation dual axis arc interpolation Local board for IBM PC AT A80BDE CC Link interface board for IBM PC AT compatible PC for PCI compatible PC J61BT13 bus slot CC Link VF unit for GOT 1 or 4 stations Local station In unt Communication module for ASGT J61BT13 CC Link connection for intelligent device station For products being offered by our partner manufacturers see the CC Link Catalog L NA 74108143E 3 SYSTEM CONFIGURATION MELSEC MEMO 4 SPECIFICATIONS MELSEC 4 SPECIFICATIONS This chapter explains the specifications of the I F board 4 1 General Specifications 1 The following table shows the general specifications of the I F board Operating ambient to 55 temperature Storage ambient 20 to 75 C temperature Operating ambient 10 to 90 RH No condensation humidity Storage ambient 10 to 90 RH No condensation When there is 10 to 57 Hz aes ill 0 075 mm eee Conforming intermittent 10 times Vibration 57 to 150 Hz 9 8 m s to JIS B 3501 vibration each in X Y resistance IEC 61131 2 Whenthereis 10 to 57 Hz wc 0 035 mm andZ axis continuous 2 80 minutes M 57 to 150 Hz 4 9 m s vibration Shock resistance Conforming to JIS B3501 IEC 61131 2 147 m s 3 times each 3 directions XYZ Operating No corrosive gas pr
219. r changes from 1999 to 2000 the date change and date adjustments for leap years are performed normally However if the system is reset or powered on again after the start of the year 2000 the date may become incorrect depending on the model If a log is recorded in Error Viewer when such date data error occurs for example if a driver error has occurred it is recorded with a wrong date Countermeasure Reset the date using the setting utility in the BIOS or Date and Time in Control Panel of Windows 95 98 when starting up the IBM PC AT compatible PC for the first time after the start of the year 2000 App 2 APPENDIX MELSEC Appendix 3 Setting Checklists The following checklists are used to set the parameters required to configure a CC Link system Please make a copy of these checklists and use them as needed Appendix 3 1 Parameter setting checklist 1 For the board information window Parameter setting checklist for the board information window 81 CC Link 1st board 82 CC Link 2nd board 83 CC Link 3rd board 84 CC Link 4th board 0 to 64 Station No Default 1 Master station 81 CC Link 1st board to 84 CC Link 4th board Default 81 CC Link 1st board Local station Standby master station Default Local Latch clear Link Err X data Latch clear Default Clear 156 k 625 k 2 5 M 10 Mbps Baud rate 156 k 625 k 2 5 M 10 Mbps Default 10 Mbps Online remote net mode Offline On
220. r the CC Link master and local modules A module running software version M or earlier will not operate properly 9 Multiprocessor based IBM PC AT compatible PCs Multiprocessor based IBM PC AT compatible PCs cannot be used because the driver does not support multiprocessor based PCs INTRODUCTION Thank you for purchasing the Model ABOBDE J61BT11 CC Link system Master Local Interface Board Please read this manual thoroughly to fully understand the functions and performances of the Model ABOBDE J61BT11 CC Link System Master Local Interface Board in order to use the product properly Please be sure to deliver this manual to the end users CONTENTS SAFETY NSTRUGTIGONS recat nre re b bein e oe ib nett b e ee A 1 5 4 Usage Precautions 1 1 iini pecie ete ete Lcid ree ede Eod te e ode de eo daas A 5 CONTENTS terr e etse MM HM AI Me A 6 About Man als 5 2mm pd ES Seed Md A 12 How to Use this Manual 6i ero e ee re Een iP e ero tr Per tee RD e dcus A 13 About the Generic Terms and Abbreviations Used in this Manual sse A 15 Product OConfig rallOi en n o e 16 1 OVERVIEW 1 1to 1 10 Vel Features or the VF Board niit tette e ne ea ee et 1 2 1 2 Features of the CC Link System sse nentes tnnt tnnt nns 1 3 1 3 Combined Use with Existing Software essent n
221. ra transient transmission in order to obtain detailed information of the PLC 6 DATALINK PROCESSING TIMES 6 4 Station Status at Error This section explains the status of each station at error 6 4 1 Status of the master station and remote I O station at error MELSEC Table 6 1 lists the status of the master station and remote I O stations when an error occurs Table 6 1 Status of the master station and remote I O station at error Master station Remote I O station Data link status When the local station s PLC CPU is stopped data link continues Remote input RX All points are set to off for only the receive area from the stopped local station Remote output RY Continue Remote register RWw Continue Remote register RWr Continue Input Continue Output Continue When data link Input data Master station Clear Clear PES EN Latch for the entire setting of the Latch Latch AI points system is CC Link utility off stopped at error Local station Laisk Clears the receive area from the remote I O lear station having a When a communication vnum error communication Input data Master station Continue Continue Continue error power setting of the Retains the All points off etc occurs CC Link utility receive area from off in a remote I O at error Latch the remote I O station stati
222. rameters are not set Retry Data sending error Check if the system is operating normally Data sending has failed Restart the system ha Retry Data receiving error Check if the system is operating normally Data receiving has failed Restart the system Device type error y A e Check the device type The designated device type is invalid Device number error Th i i i f designated device number is out of range Chack thie device number A device number other than a multiple of 8 was designated for bit device designation Number of device points error Th ign number of points i t of device range e designated number of points is ou vi 9 Check the size A device number other than a multiple of 8 was designated for bit device designation 132 Number of write bytes error NS Set the number of bytes to be written within the range 84 The designated number of bytes to be written was out of range Link parameter error The link parameters are corrupted wo wo 85 The total number of slave stations is 0 a link parameter Reset the link parameters Link parameter s fixed pattern is corrupted Link parameter s sum check is corrupted 136 Random write designation error f Correct the setting value to 0 to 2 88 A value other than 0 to 2 was designated for random read Receiving data length error Retry 215 Receiving data length or byte length exceed
223. re Tool Error viewer driver Log View Help Type Date Time Source Error No Massage Contents 99 07 16 MCCLINK1 Initialize error MCCLINK1 1281 Initialize error Different error types are indicated by the symbols shown below Normal messages Indicates messages generated in normal processing Type 4 Warning messages Indicates messages generated to get the user s attention although they do not represent any errors x Error messages Indicates the descriptions of errors generated in each module Double click the line showing this symbol to see a detailed message and then promptly correct the cause of the error 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 4 2 Log menu This section explains the menu items of the Log menu BP Communication Support Soft View Help Driver Basic Middle Ware Applied Middle Ware Others Open the Selected File Save with a Name Delete Log Setting Exit Select the error registration source type to be displayed in Error Viewer Driver Displays messages generated by drivers such as the common memory device Error registration source 9 Basic Middle Ware Displays messages generated by the common memory data type selections server and tag control process Applied Middle Ware Displays messages generated by XMOP and OLEX Others Displays messages generated by application packages Open the Selected File Open
224. rea from the local station having a communication error Retains the receive area from the local station having communicati on error Continue DATA LINK PROCESSING TIMES 6 MELSEC MEMO 7 PARAMETER SETTINGS MELSEC 7 PARAMETER SETTINGS This chapter explains the parameter settings that are required to perform data link in the CC Link system 7 1 Parameter Setting Items Table 7 1 lists the items to be set in the master station s buffer memory Each parameter is set using the CC Link Utility For more details see Section 9 2 Do no set station number 64 for a system in which a standby master station exists If itis used the station numbered 64 cannot communicate normally Table 7 1 Parameter setting items us Reference Setting item Description section Sets the total number of remote stations local stations intelligent device stations and standby master station that are connected to the master station Number of connected including reserved stations modules Default value 1 module Setting range 1 to 64 modules Sets the number of retries to be performed when a communication error occurs Number of retries Default value 3 times Setting range 1 to 7 times Sets the total number of remote stations local stations intelligent device stations and standby master station that can be returned to system operation Number of auto return by a single link scan Section 5 3 2 m
225. rection Shows the acknowledge status of the data link startup switching SB0042 Acknowledge status of _ direction from the standby master station to the master station master Station switching Off Not acknowledged link startup On Direction acknowledged 4 62 Shows the complete status of the data link startup switching direction from the standby master station to the master station Off Not complete On Switching complete Shows the data link status Master station information Off Data link control by the master station On Data link control by the standby master station Complete status of master station switching and data link startup SB0043 BE4 b3 SB0070 BE7 b0 Indicates whether or not there is a standby master station Off No standby master station On Standby master station exists SB0071 Standby master station BE7u b1 information b Special link registers SW The following explains the special link registers SW related to the standby master function The numeric values in parentheses in the number column indicate buffer memory addresses Table 5 6 List of special link registers related to the standby master function Applicability Applicable Not applicable Number Name Description Standby master Master station station The execution result of the master station switching and data link Result of master station startup direction by the SB0001 is stored
226. resh d send area to to 1 1 1 5 FUNCTIONS IBM PC AT compatible PC Program mdReceive Data link startup 1 When the IBM PC AT compatible PC is powered on the CC Link system automatically starts up in accordance with the network parameters set by the utility MELSEC On off information from a local station to the master station or another local station 2 The on off information of the CPU device set with automatic refresh parameters is stored in the remote output RY buffer memory of a local station The remote output RY is used as the output information to be used by the local station system 3 The information in the remote output RY buffer memory of the local station is automatically stored for each link scan in the remote input RX buffer memory of the master station and the remote output RY buffer memory of another local station 4 The program uses the mdReceive function to read the input status stored in the remote input RX buffer memory The remote input RX is used as the input information to be used by the local station systems 5 The input status stored in the remote output RY buffer memory is stored in the CPU device set with automatic refresh parameters Master station Remote input RX RXOF to RX00 RX3F to RX30 RX6F to RX60 RX4F to RX40 RX5F to RX50 RX7F to RX70 RX8F to RX80
227. ress 0 Home position shift amount 0 Home position return speed 2000 Home position return torque limit value 300 Creep speed 1000 Speed designation at home position shift 0 Home position return retry 0 no retry Dwell time setting at home position retry 0 Home position return method 5 counting system 2 Home position return dwell time 0 zero point signal is not Displacement setting after near point dog 1000 used Home position return acceleration time selection 0 Home position return direction 0 forward direction Home position return deceleration time selection 0 Home position address 0 Home position shift amount 0 Home position return speed 2000 Home position return torque limit value 300 Creep speed 1000 Speed designation at home position shift 0 Home position return retry O no retry Dwell time setting at home position retry 0 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 3 3 Positioning procedure The following diagram shows the relationships among the user program of the IBM PC AT compatible PC and the remote inputs outputs remote registers and AJ65BT D75P2 S3 buffer memory of the intelligent device station The shaded areas indicate the devices that are actually used For detailed information on the intelligent device station see the Type AJ65BT D75P2 S3 Positioning Module User s Manual Master station station No 0 I
228. ries ba ci e is es Program registty entries Uninstall successfully completed 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 5 Checking the Board Status Hardware Test The hardware test checks whether or not each module works properly by itself Always perform this hardware test before configuring the system Execute the hardware test according to the following procedure Connect the terminal resistor supplied with the I F board between the DA and DB terminals of the I F board Select the Module Standalone Hardware Operation Check Mode in the MELSEC eesese Gee Section 9 2 3 CC Link utility The test result is displayed by the LED indicator lamps of the CC Link utility When normal The LEDs turn on in this order SW 5 gt PRM TIME we O M S O 9 O0 O0 PMO O O TIME Q Q e x When abnormal Repeated The error description of each check item is shown in the table below Replace the module if it becomes faulty Check to verify again that the terminal resistor that comes with the I F board is connected between terminals DA and DB LED status Check item display Description Self loop back test SW is lit Module error ROM check M S is lit ROM error RAM check PRM is lit RAM error The RUN LED turns off End 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 6 Connec
229. rocedures required before starting the I F board operation as well as the names and settings of the I F board components the wiring method and how to perform hardware tests 8 1 Procedures Before Operating the I F Board The following flowchart explains the procedures before operating the I F board Perform I F board setup See Section 8 3 Component Names and Settings Turn off the power of the IBM PC AT compatible PC if it is on Remove the terminal block of the I F board Mount the I F board in the IBM PC AT compatible PC Fix the I F board with the fastening screws of the IBM compatible PC Attach the terminal block of the I F board Perform the wiring between the I F board and modules See Section 8 6 Wiring Y Turn on the power of the IBM PC AT compatible PC and install the utility software J See Section 8 4 Installing and Uninstalling the Utility Software Test the I F board seeeeeeeSee Section 9 2 7 Operating the network test window Set up the data link of the I F board seeeeeeeSee Section 9 2 Operating the Utility Software Start up the CC Link system v Run the program of the IBM PC AT compatible PC v Complete Caution When using the I F board as a local board it is necessary to set up the master module in order to run the CC Link system Perform the settings of the master module as needed For information on the s
230. s the error log file ELF Saves the error log information of the error registration source driver etc that is currently Save with a Name being selected in the designated file Deletes the error log information of the error registration source driver etc that is currently being displayed Perform operation by follow the directions displayed in the dialog box Select a processing method to be used when the number of error logs exceeds the maximum registration entries How to Control Messages of Exceeding the Log Size Limit Log Setting Overwrites information starting with the oldest message C Suspend Logging until there will be an enough space 4A No new registration entries will be made until enough space becomes available by deleting existing data Replace Old Messages 4 owes 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 4 3 View menu This section explains the menu items of the View menu BP Communication Support Softwa Loo All Errors Specific Error Search F3 Detail Enter Renew All Errors Displays all errors for each type of error registration source Sets the errors to be displayed on the screen according to the conditions specified in the Specific Error dialog box shown below Specific Eon Display Condition Start Display Condition C FistEmorLog
231. s the range Check the cable D7 The request data buffer length exceeded the limit Make the request data smaller The request data length exceeded the request data area PC number error TAPIE Correct the station number The request destination is not found Processing mode error A processing code that could not be processed by the request destination s ACPU Review the request destination s ACPU and processing was set codes This is checked by the request destination s ACPU Other data error Data such as the address head step or number of shifts of the request data was Correct the request data incorrect Link designation error A processing code that could not be processed by the request destination station Check the request destination s station number and was set processing codes This is checked by the request destination s link module 16 7 16 TROU BLESHOOTING MELSEC Return value i i Error description Corrective action HEX 1281 501 16451 4043 16450 4042 40577 9E81 40578 9E82 40579 9E83 1 2 FFFE Own board memory access error Cannot access the I O port Check the switch settings of the own board and move the memory address to an area that is not affected by other board Change the memory access setting to 16 bits if it is set to 8 bits Check the I O port address setting Perform a self loopback test of the board an
232. scribed in Chapter 10 14 To learn about how to use the functions Chapter 11 How to use the functions is described in Chapter 11 15 To learn about how to communicate with each station Chapters 12 to 15 Some examples of communication between the master board and each station are described in Chapters 12 to 15 16 To learn about the actions to take when the system does not operate Chapter 16 The troubleshooting procedures are described in Chapter 16 17 To learn about the error descriptions Sections 16 2 1 and 16 3 3 The descriptions of errors are described in Sections 16 2 1 and 16 3 3 About the Generic Terms and Abbreviations Used in this Manual This manual uses the following generic terms and abbreviations to describe the Model A80BDE J61BT11 CC Link System Master Local Interface Board unless otherwise specified CC Link Abbreviation for the Control and Communication Link System VF board Abbreviation for the Model ABOBDE J61BT11 CC Link System Master Local Interface Board Master board Abbreviation for the I F board when used as a master board Local board Abbreviation for the I F board when used as a local board Windows NT 4 0 Abbreviation for Windows NT Workstation 4 0 English version Windows 95 Abbreviation for Windows 95 English version Windows 98 Abbreviation for Windows 98 English version Windows Generic term for Windows 95 Windows 98 and
233. ss 2 wem __ 2 Example of network parameter settings An example of network parameter settings is shown below lt Parameter Setting window gt Number of ili Connected modules _ Setting Occupy Station Intelligent Buffer Specify Word Station Specify Sending Received Automatic Remote Device 2 x No setting No St Type 1 vs E oc om occ o xc eam acm n rco px gx fos eli eee I ee ee Be SSS eee e eee d omms ae ped E E E Ton fossae e iun sa enm E pei mm er a pn e es qi ferm ed led ee Ten Key Pad H Cancel Apply All Clear lt Auxiliary Setting window gt te Delay Timer fo X 50us Aen n Number of 3 etries Standby master station 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION MELSEC 13 3 Creating a Program This section describes the program that controls a remote device station The following diagram shows the relationship among the devices of the PLC CPU the remote inputs outputs of the remote device station and the remote registers The shaded areas indicate the devices that are actually used For detailed information on each remote device station see the user s manual for each modu
234. sssssseseeeeeee ener tnnt 15 2 15 1 2 Setting up the intelligent device station 65 075 2 53 15 2 15 2 Setting the Paraimrieters rias e Ro Let aoa eco ede ug 15 3 15 9 Creating Program aae 15 5 15 31 Initialization Procedure si omae ote 15 5 15 3 2 Home position return procedure ssssssssesseeseeene nne 15 7 15 3 3 Positioning Procedure wie cise c e ele ne e e S e a ee eei 15 9 15 3 4 JOG operation procedure sssssssssssssssessseeee 15 11 15 4 Executing the Data Link icis aee desc esce Hv ec Edu e Ev in D n EV E 15 13 15 4 1 Confirming the operation with the LED displays 15 13 15 4 2 Confirming the operation with a user 15 14 16 TROUBLESHOOTING 16 1 to 16 38 16 1 Hardware Troubleshooting een eee Re e Ric RE 16 1 16 1 1 Verification of problem occurrence ssssssessssseeseeeneene nennen nennen nennen 16 1 16 1 2 Troubleshooting flow when the board and IBM PC AT compatible PC are not operating 16 2 16 1 3 List of messages of error events that may occur when starting the
235. sst capav x10 x1 S d SE PWO Q3 73 RUN O 924 Bu4 Gu LRUN O ri CH OFFSET UP RESET RD O 1 SET A2 A GOTO b GAIN DOWN F r M Rum MU 1 13 2 E Mode setting 7 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION MELSEC 13 2 Setting the Parameters This section explains how to set the network parameters for the master station 1 Setting the network parameters Set the network parameters as shown below using the attached parameter setting checklist and station information setting checklist Setting range Setting value Input data latch clear Operation settin Latch clear D Master Local SS Standby master Standby master Default Local Online remote net mode cults Online remote net mode Mode setting Module standalone hardware Offline operation check Module standalone hardware operation check Default Online remote net mode Number of connected 1 to 64 1 module modules Default 1 1to7 Number of retries 3 times Default 3 1 to 10 Auto return station No 1 station Default 1 0 to 64 0 No standby master Standby master station station designated Default 0 0 to 100 0 Not designated Delay timer Default 0 13 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE DEVICE STATION MELSEC Station Information Setting Checklist Intelligent Buffer Specify Word Type Occupy Station Station Specify 3 emes
236. station to the master station and another local station 12 The word information set with automatic refresh parameters is stored in the remote register RWw buffer memory of a local station However it can only be stored in the area corresponding to the station number of the own station 13 The information in the remote register RWw buffer memory is automatically stored for each link scan in the remote register RWr of the master station and the remote register RWw of another local station 14 The program uses the mdReceive function to read the word information stored in the remote register RWw buffer memory 15 The word information stored in the remote register RWw buffer memory is stored in the CPU device set with automatic refresh parameters Local station Local station ou ee Master st tion Station number 1 Station number 2 I F board i occupies 1 station occupies 4 stations PLC CPU pR RAS NRHN RREA RNR ANAR NAS RARA RAA RAR RERS NAHNANAR RANAH 4 i Remote register RWw DC Program mdReceive 5 FUNCTIONS 2 IBM PC AT compatible PC MELSEC Communication between the master station and the local station by transient transmission The transient transmission is a transmission method that sends and receives data in 1 1 mode by designating the opposite station at an arbitrary timing When writing data to the buffer memor
237. ster station to the master spooo Master station switching and station and starts data link data link startup Off Switching not directed On Switching directed can be used for the standby master station Stops own station s data link Use SBO0000 for restart However when the master station executes this the entire system will stop Off No stop directed On Stop directed 580002 Data link stop Sets the stations designated by SW0003 to SW0007 as temporary error Temporary error invalid invalid stations B0004 PEN station request Off Not requested Cancels the temporary error invalid stations designated by SW0003 to Temporary error invalid SWO0007 950005 station cancel request ed Reads the parameter information for the actual system configuration and sets Parameter setting test iti er information area request ed 580009 es the buffer access status 580020 Module status Off Not requested On Requested es the data link restart direction acknowledgement status Data link restart B004 Off Not acknowledged 9B0040 acknowledgement status Wed On Startup direction acknowledged Indicates the data link restart direction acknowledgement completion status Data link restart completion status SB0041 Off Not complete On Startup complete Indicates the acknowledgement status of the data link startup and switching Acknowledgement status of direction from the standby master station to the mas
238. sters SWs Availability Available Not available Number Description Offline E Local station station Selects whether or not multiple temporary error invalid stations are designated Multiple temporary error 00 Designates multiple stations indicated by SW0004 to SW0007 invalid station designation 01 to 64 Designates a single station from 1 to 64 Designate the station number of a temporary error invalid station Table 16 6 List of link special registers SWs SW0003 Designates a temporary error invalid station swo004 0 Does not designate as a temporary error invalid station 1 Designates as a temporary error invalid station 015 6014 b13 6012 b3 5 0005 SW0006 Temporary error invalid SWo0004 station designation 1 SWO0005 SW0006 SW0007 SW0007 Numbers 1 to 64 in the above table indicate the station numbers Sets the response monitor time when a dedicated instruction is used Default value 5 Seconds SW0009 Monitor time setting Setting range 0 to 360 seconds The setting of 360 seconds will be used if a value outside of the above setting range is specified Sets the CPU response monitor time when the CPU is accessed with a dedicated instruction or via the AJ65BT G4 Default value 5 Seconds SWO00A CPU monitor time setting Setting range 0 to 3600 seconds The setting of 3600 seconds will be used if a value outside of the above setti
239. stic operation click the Stop button to stop the diagnosis and then switch windows ig CC Link Utility Information l Board Information Network Monitor l Station s Link Status Memory 1 0 Test Network Test Version Channel s1 CCLink 1 Diagnose Board Reset Address Count Memory F3FBCO00 F3FBFFFFH 1 0 Pot 7800 78 Status Start Normal Device Monitor Sets the channel to be used Displays the address being diagnosed the number of the diagnoses and the status Start button Starts the memory and I O test Stop button Ends the memory and I O test Board Reset button Resets the I F board 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 2 7 Operating the network test window The Network Test window is used to test the installed I F board When an error occurs in the Line Test see the following items to check the error description and action to take Section 16 2 1 Errors that may occur when executing functions Section 16 3 5 Error codes stored in the special link registers fez CC Link Utility Information Board Information Network Monitor Station s Link Status Memory 120 Test Network Test Version Channel 181 CC Link 1 4 Board Setting st Master Test Mode Network Test m Device Monitor Exit Help Sets the channel to be used Board Setting Displays the own station s information
240. t designated Setting range 0 to 100 unit 50 us i Set the station data in the Parameter Setting Example Set the station data according to the system configuration designated in Section 7 2 Default value No setting for the remote I O station occupying 1 station or reserved station error invalid station Setting range Type Remote I O Remote Device Intelligent Device including local station and standby master station Occupy Station 1 1 station 2 Occupies 2 stations 3 Occupies 3 stations 4 Occupies 4 stations Station Specify Reserve Invalid error invalid station No setting Intelligent Buffer Specify Word Sending 64 to 4096 Received 64 to 4096 Automatic 128 to 4096 Parameter Setting Number of Connected modules s _ Auson Setting us Occupy Station Intelligent Buffer Specify Word ype Station Specily Sending Received Automatic a te Power TT up EI Inteligent Device 4 E No setting E 64 64 128 58 fs Inteligent Device 4 X No setting 64 64 128 Be aa ee SS aS aa m ae JE gt a an BE a i ee ee m ES eee cae Tct LR mee Ten Key Pad OK Cancel Apply All Clear 7 PARAMETER SETTINGS MELSEC 7 2 2 Local station network parameter settings 1 Set the network parameters according to the following procedure a S
241. t has been grounded ground both the FG terminal of the IBM PC AT compatible PC s main unit and the SLD terminal of the I F board 8 2 3 Mounting and removing the terminal block Since a 2 piece type terminal block is used the I F board can be replaced without disconnecting the signal line to the terminal block The following shows how to mount and remove the terminal block Screwdriver Remove the two screws on both ends of the terminal block and pull the terminal block out 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 3 Component Names and Settings This section explains the component names and settings of the I F board 61 11 0 08 083951 Description Operation display LEDs F Description On Oft Turns on when the I F board functions I F board normal WDT error normally and turns off when a WDT error The power of the IBM occurs PC AT compatible PC is off Turns on when the network Data link Data link communication status is abnormal communication error communication normal SD Flashes when data link data is sent Flashes during data link sending RD Flashes when data link data is received Flashes during data link receiving Terminal block for data link Connects the CC Link dedicated cable for data linking I surface of the b
242. tation number tation number tation number AA 5 alo Station number 4 E eee Target areas for clear latch Areas retained regardless of the setting The remote input RX in the master station and the remote input RX and remote output RY in the local stations will either clear or retain the data from faulty stations according to the setting The remote register RWr in the master station and the remote registers RWw and RWr in the local stations retain data from faulty stations regardless of the setting When a data link faulty station is set as an error invalid station the input data remote inout RX and remote output RY from that station is retained regardless of the setting 2 Setting method The input data status is set by the Operation setting in network parameters using the utility For more details on the setting see Section 9 2 3 5 FUNCTIONS MELSEC 5 3 4 Continuing the data link even when the master station is faulty standby master function This function enables the data link to continue by switching a faulty master station to a standby master station i e a backup station for the master station Data link control Standby master station by the master station Station number 1 Master station Number of occupied stations 1 Remote O station Remote I O station Station number 2 Station
243. tations were detected from 1 to 64 Ero ErrorCode 0 6 300 9 14 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 Device Monitor Utility This section explains how to set up and operate the Device Monitor Utility In the Device Monitor Utility the SB link special relay and SW link special register are displayed as the SM and SD respectively 9 3 1 Operating procedure The following explains the operating procedure of the Device Monitor Utility Select Setting Network Setting from the menus See Section 9 3 4 set the channel to be used Y Set the device to be monitored peemMA See Section 9 3 5 Y Change the monitoring method device value or data LsesssuucBes Sections 9 3 2 9 3 3 format as needed and 9 3 6 through 9 3 11 End 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 2 Setting the batch monitoring Set the Device Monitor Utility so that it monitors only a single designated device 1 Menu selection Select Menu Batch Monitoring on the menu bar Selectable for 16 point entry monitor only 2 Display window Device Monitor Utility BE Menu Setting Device Write DataFormat Option Help x 0000 x 0010 x 0001 x 0011 0002 x 0012 x 0003 x 0013 0004 x 0014 0005 lt 0015 0006 x 0016 x 0007 x 0017 0008 lt 0018 x 0009 x 0019 0005 x 0014 x 0008 x 00168 x lt 000C x 001C x 0000 x 001D I lt 000E x 001E
244. ted host name exists in the An error occurred in the gethostbyname function 24 Timeout error occurred in select Check if the MGW server service has been started in FFE8 A timeout error occurred in the select function 25 Error occurred in sendto An error occurred in the sendto function 26 Error ocurred in recvfrom An error occurred in the recvfrom function Check if normal Ethernet communication can be 28 Abnormal response received performed with the server machine 29 Receiving data length error Too much data was received 16 9 16 TROUBLESHOOTING MELSEC Return value i i Error description Corrective action HEX 30 Sequence number error Check if normal Ethernet communication can be FFE2 The received sequence number is abnormal performed with the server machine 31 DLL load error 5 Set up the utility software again FFE1 An attempt to load a DLL required to execute functions has failed Retry Memory may be insufficient Close all other applications that are currently running 32 Another task thread is occupying the resource and the resource is not released FFEO within 30 seconds Check if the system is operating normally Restart the system 33 Invalid access destination error FFDF Check if the communication destination is correctly set Registry error by the utility FFDD An attempt to read from the registry has failed Check if the communication dest
245. telligent Buffer Specify Word Type Station Specify Ec EET 2 Example of network parameter settings An example of network parameter settings is shown below Parameter Setting window Parameter Setting sabia modules Asin Seting Occupy Station Intelligent Buffer Specify Word ius ES Station Specify Sending Received Automatic 1 1 Intelligent Device v 4 x No setting v 64 e 128 Up Ti peg red n d rt gamme zj zj h gesti a e E ay eem cr rm irm H zif pase gez pem a ES cecus i ges ers SiS rp el pe Ten Key Pad OK Apply All Clear lt Auxiliary Setting window gt Delay Timer 0 x50us n Number of 3 Retries Standby master station Cancel 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 15 3 Creating a Program This section describes the program that controls the intelligent device station The following four procedures are explained separately e Initialization proceduresrseseseeeeeeeeSee Section 15 3 1 e Home position return procedures See Section 15 3 2 Positioning procedurereeeeeeeeeeeeeeS ee Section 15 3 3 e JOG operation proceduresssesssessSee Section 15 3 4 Set parameters and perform positioning settings in advance with the AD75P If a user program is used to perform readi
246. ter station SB0042 station switching and Off Not acknowledged data link startup nee On Direction acknowledged can be used for the standby master station Indicates the acknowledgement completion status of the data link startup and Completion status of master witching direction from the standby master station to the master station 580043 station switching and data Off Not complete link startup On Switching complete can be used for the standby master station 16 23 16 TROUBLESHOOTING Number SB0044 SB0045 SB0048 SB0049 SB004A SB006A Data link stop acknowledgement status Data link stop completion status Temporary error invalid station acknowledgement status Temporary error invalid station completion status Temporary error invalid station cancel acknowledgement status Temporary error invalid station cancel completion status Station type Standby master station designation status Input data status of data link faulty station Number of occupied stations Switch setting status Parameter setting status Own station operation status Master station data link status Standby master station presence information Description Indicates the data link stop direction acknowledgement status Off Not acknowledged On Stop direction acknowledged Indicates the data link stop instruction acknowledgement completion status Off Not complete On S
247. the remote inputs outputs and remote registers of the intelligent device station The shaded areas indicate the devices that are actually used For detailed information on the intelligent device station see the Type AJ65BT D75P2 S3 Positioning Module User s Manual Master station station No 0 Intelligent device station station No 1 IBM PC AT compatible PC AJ65BT D75P2 S3 i User program I F board RY16 single axis forward JOG start RY18 dual axis forward JOG start 9 1 9 RY20 single axis servo on RY40 dual axis servo on Remote registers RWw RWw6 RWw7 single axis JOG speed mdSend RWw14 RWw15 dual axis JOG speed 15 11 15 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT D75P2 S3 MELSEC 1 The single axis servo on RY20 is turned on by the user program 2 The dual axis servo on RY40 is turned on by the user program 3 The JOG speeds are written to the single axis JOG speeds RWw6 and RWw7 by the user program 4 The JOG speeds are written to the dual axis JOG speeds RWw14 and RWw15 by the user program 5 The single axis forward JOG start RY16 is turned on by the user program The JOG operation will start 6 The dual axis forward JOG start RY18 is turned on by the user program The JOG operation will start 7 When the single axis JOG operation is stopped the single axis
248. ting the Modules Using the CC Link Dedicated Cable This section explains how to connect the master board master module local module standby master module remote module and intelligent device module using CC Link dedicated cables 1 CC Link cables can be connected from any station number 2 Connect the supplied terminal resistors to both ends of each module Also connect the terminal resistors between the DA and DB terminals 3 The master module can be connected at points other than both ends 4 A star connection is not allowed For the T branch connection see Section 8 7 T branch Connection Using the CC Link Dedicated Cable b The connection method is shown below NCAUTION Always ground the IBM PC AT compatible PC s main unit using a D type grounding Class 3 grounding or higher Otherwise malfunction may occur If a malfunction occurs even when the IBM PC AT compatible PC s main unit has been grounded ground both the FG terminal of the IBM PC AT compatible PC s main unit and the SLD terminal of the I F board e The CC Link dedicated cable and CC Link dedicated high performance cable cannot be used together If they are used together normal data transmission cannot be guaranteed Module other than QJ61BT11 QJ61BT11 Terminal resistor EXT Master board A80BDE J61BT11 eee Remote module
249. tion 112H receiving timeout duration designation 11AH sending timeout duration designation 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC The initial setting values for sending and receiving are written to the buffer memory of the AJ65BT R2 by the user program Arguments to be set Word byte unit designation 0 Sending area head address designation 200 Sending area size designation 200H Receiving area head address designation 400 Receiving area size designation 200H Sending timeout duration designation 0 The initialization request RY4 is turned on by the user program If the initialization is normal the AJ65BT R2 turns on the initialization request normal completion signal RX4 If the initialization is abnormal the AJ65BT R2 turns on the initialization request abnormal completion signal RX5 The initialization request signal RY4 is turned off by the user program The AJ65BT R2 turns off both the initialization normal completion signal RX4 and initialization abnormal completion signal RX5 14 COMMUNICATION BETWEEN THE MASTER STATION AND INTELLIGENT DEVICE STATION AJ65BT R2 MELSEC 14 3 2 Sending procedure The following diagram shows the relationships among the user program of the IBM PC AT compatible PC and the remote inputs outputs and AJ65BT R2 buffer memory of the intelligent device station The shaded areas indicate the
250. tion number 1 to 64 b Setthe input status of the data link faulty station for Link Err X Data Example Set the status to Clear Default value Clear Setting range Latch Clear c Set the CC Link mode for Mode Setting Example Set the mode to Online Default value Online Setting range Online Offline Standalone unit hardware operation confirmation mode d Setthe total number of connected modules in the CC Link system including reserved stations for Number of Connected modules Example Set the number to 5 modules Default value 1 modules Setting range 1 to 64 modules e Set the number of retries when a communication error occurs for Number of Retries Example Set the number to 5 times Default value 3 times Setting range 1 to 7 times f Set the number of modules that can return to system operation by a single link scan for Auto Return Station No Example Set the number to 2 modules Default value 1 module Setting range 1 to 10 modules 7 PARAMETER SETTINGS MELSEC g Set the station number of the standby master station for Standby master station designation Example Set the station number to 0 no standby master station designated Default value 0 No standby master station designated Setting range 0 to 64 0 No standby master station designated h Set the link scan interval for Delay Timer Example Set the interval to 10 500 us Default value 0 No
251. tional boardis the I F board has assignment 2 P failed There was no response from T P Replace the I F board hardware Handshaking with the shared Restart If the error persists replace the memory area has failed board Th fi ere was no response from Replace the VF board hardware DUMP value Value of the first 1 byte in the detailed data description area If this event error is displayed in Windows NT 4 0 Event Viewer on an IBM PC AT compatible PC that has the BIOS setup values shown below restart the system after setting the Plug amp Play O S to No and Reset Configuration Data to Yes as in the following example Example BIOS Setup Utility Set the following Plug amp Play O S YES No Reset Configuration Data No gt YES Then restart If an IBM PC AT compatible PC preinstalled with Windows 95 98 is used use the Windows 95 98 and PCI bus controller driver supplied with the IBM PC AT compatible PC If Windows 95 98 was purchased separately obtain the PCI bus controller driver supplied by the PC manufacturer and install it This error may also occur if the USB driver is not functioning correctly In this case reinstall the USB driver and make sure that it functions correctly 16 TROUBLESHOOTING MELSEC 16 2 Programming Troubleshooting 16 2 1 Error codes when executing functions When an error occurs during the execution of a function the error code that is returned wil
252. top complete Indicates the acknowledgement status of the temporary error invalid station request direction Off Not acknowledged On Direction acknowledged Indicates the acknowledgement completion status of the temporary error invalid station request direction Off Not complete On Temporary error invalid station established Indicates the acknowledgement status of the temporary error invalid station cancel request instruction Off Not acknowledged On Direction acknowledged Indicates the acknowledgement completion status of the temporary error invalid station cancel request direction Off Not complete On Temporary error invalid station cancellation complete Indicates the Mode Setting status of the CC Link Utility Off Online 0 On Other than Online 0 Indicates the Own Station Setting status of the CC Link Utility Off Master station number 0 On Local station numbers 1 to 64 Indicates the designation status of the standby master station Off Not designated On Designated Indicates the Link Err X Data setting status of the CC Link Utility Off Clear On Latch Indicates the Occupy St setting status of the CC Link Utility Off 1 station On 4 stations Indicates the Own Station Setting status of the CC Link Utility Off Normal On Setting error exists error code is stored in SWO06A Indicates the Parameter Setting status of the CC Link Utility Off Normal On Setting error exists
253. tting range error A g rang of points exceeded the valid processing range Set so that the number of processing points does not exceed the device range B814 File register capacity setting error The file register capacity was not set Set the file register capacity A transient transmission was executed even though the target station was set in the I O mode Module mode setting error When a parameter registration request YnA to E PROM was executed the E PROM was faulty or the write limit 10 000 times was exceeded E PROM error A link startup request Yn8 using an Data link startup error with E PROM parameter was executed even though E PROM parameters the parameter has not been registered in the 2 Change it to the intelligent mode BH Replace the module Register the parameter to E PROM with a parameter registration request YnA A transient request was issued to a station that Allocate a communication buffer B903 Transient request error has not allocated a communication buffer area area with a parameter 16 35 16 TROUBLESHOOTING MELSEC Error code Detectability hexadeci Error description Cause of error details Corrective action aster mal Local station station oar i The communication buffer size of the Set the communication buffer Communication buffer size setting i Senor corresponding station was out of range when a size of the
254. uch as digital value setting areas i Progam RWO i ofo RWwO i RWw1 ROT GE TT RWw2 iJ RWw3 si i Remote device RWw RWw4 i Numerical data SES RWw5 such as digital i RWwe value setting mw ilu RWw EE uu m Send NE RWwO im RWwi ud RWw2 UV RWw3 RWw4 1 RWw5 M RWw6 e RWw7 Remote register RWw when the AJ65BT 64DAV is set to station number 1 CHA digital value setting area Analogue output enable disable setting area RWw5 to Not used RWw7 5 FUNCTIONS MELSEC Reading from the remote register RWr 8 The remote register RWr data of each of the remote device stations is automatically stored in the remote register Rwr buffer memory of the master station 9 The program uses the mdReceive function to read the remote register RWr data of the remote device stations stored in the remote register RWr buffer memory Remote device station Remote device station ae NN EN Station number 1 Station number 3 occupies 2 stations occupies 2 stations Remote register RWr Numerical data such as set value check codes Program Remote register RWr Numerical data Such as set value check codes 2 r mdReceive En 00000000 hlllll lTI l l 3l 223 2222 2 Remote register RWr when the AJ65BT 64DAV is set to station number 1 CH4 set value check co
255. umber in the system 4 Table 5 4 lists the transient transmission function Table 5 4 List of the transient transmission function Reference Item Description section es Designates an opposite station and Transient transmission ae Section 5 5 1 communicates at an arbitrary timing 5 FUNCTIONS MELSEC 5 2 Basic Functions This section explains the basic functions of the I F board 5 2 1 Communication with remote I O stations The following explains an overview of the communication between the master station and a remote I O station In the communication with the remote I O station the on off information of the switches and indicator lamps are communicated via the remote input RX and remote output RY IBM PC AT compatible PC Master station Remote I O station I F board Network parameters Program Remote output Data link startup 1 When the IBM PC AT compatible PC is powered on the CC Link system starts up in accordance with the network parameters set by the utility 5 FUNCTIONS MELSEC Remote input 2 The input status of each of the remote I O stations is automatically stored for each link scan in the master station s remote input RX buffer memory 3 The program uses the mdReceive function to read the input status stored in the remote input RX buffer memory Remote I O station Remote l O station IBM PC AT com
256. und the noise generated in the IBM PC AT compatible PC it is necessary to ensure the lowest possible impedance Because the power line allows the noise to escape it actually contains a great amount of noise Therefore shortening the wire length prevents the power line from functioning as an antenna Note A long piece of conductive material may easily function as an antenna that emits more efficient noise b Twist the ground cable leading to the ground point with the power supply cable By twisting it with the ground cable the noise leaking from the power supply cable may be grounded at a higher rate However twisting the power supply cable with the ground cable may not be necessary if a noise filter is installed on the power supply cable 2 EMC DIRECTIVE 2 1 3 Cables MELSEC Because the cable that runs from the control panel contains high frequency noise it functions as an antenna outside the control panel and radiates noise Thus shielded cables should always be used for the cables that extend outside the control panel Except for certain models it is not mandatory to use a ferrite core However the noise radiated via the cable can be suppressed more effectively by mounting a ferrite core The use of shielded cables is also effective in increasing the noise resistance The signal lines for PLC input output and special modules are designed to ensure a noise resistance level of 2 kV IEC801 4 EN61000 4 4 if a shielded cable
257. uos change of data HEX Hexadecimal DEC Decimal OCT Octal DANGER e Configure an interlock circuit in a sequence program so that the entire system works safely at all times when controlling the data change to the PLC during operation Also determine which corrective actions to take in the event of a data communication error between the IBM PC AT compatible PC and PLC CPU in use 9 OPERATING THE UTILITY SOFTWARE MELSEC 9 3 8 Switching a bit device on off The designated bit device can be switched on off as follows 1 Menu selection Select Device Write Bit Device Set Reset on the menu bar 2 Dialog box Device Type Device Type X npub Block Network No DeviceNo HEX C DEC 000A Device Type Sets the type and block network number of the bit device to be turned on off Sets the number of the bit device to be turned on off HEX Hexadecimal DEC Decimal OCT Octal Device No DANGER e Configure an interlock circuit in a sequence program so that the entire system works safely at all times when controlling the data change to the PLC during operation Also determine which corrective actions to take in the event of a data communication error between the IBM PC AT compatible PC and PLC CPU in use 9 3 9 Switching the data format The device monitoring display can be changed to the selected data format The batch monitoring and 16 point entry monitoring have different sets of selecta
258. utput RY Numeric data averaging processing specification digital output values etc is communicated using the remote register RWw and remote register RWr IBM PC AT compatible PC Master station I F board Network parameters Program 3 6 sees 9 Lg Buffer memory Remote input RX Remote output RY Remote register Remote register 8 lt Link scan Remote device station Remote input RX Handshaking signals such as remote READY and initial data processing request flag Remote input RY Handshaking signals such as error reset request flag and initial data processing complete flag Remote register RWw Numeric data such as for averaging processing setting and A D conversion enable disable setting Remote register RWr Numeric data such as digital output values and detected temperature value 5 FUNCTIONS IBM PC AT compatible PC Data link startup MELSEC 1 When the IBM PC AT compatible PC is powered on the CC Link system starts up in accordance with the network parameters set by the utility Remote input 2 The remote input RX of each of the remote device stations is automatically stored for each link scan in the master station s remote input RX buffer memory 3 The program uses the mdReceive function to read the input status stored in the remote input
259. v oes rema vues pore pc y RR ie m zie ee B TE Ss gt E D ben fem 2s E gl iie Es a rn pes dre bu mas zd res oec n Jae BS era GERE t ES FR Ten Key Pad OK Cancel Apply All Clear lt Auxiliary Setting window gt Delay Timer 0 Xt 50 puin Peturi T Number of 3 Retries Standby master station J 12 COMMUNICATION BETWEEN THE MASTER STATION AND REMOTE STATIONS 12 3 Creating a Program This section describes the program that controls remote I O stations The following diagram shows the relationship between the devices of the PLC CPU and the inputs outputs of the remote I O stations The shaded areas indicate the devices that are actually used Master station station No 0 IBM PC AT compatible PC User program AJ65BTB1 16D mdReceive d mereme H RX1F to RX10 cor N RFR i O RX4F to RX40 RX5F to RX50 XOF to X00 X1F to X10 Remote I O station station No 2 AJ65BTB1 16T RYOF to RYOO i RY1F to RY10 RY4F to RY40 RY5F to RY50 YOF to YOO Y1F to Y10 1 The X inputs of the remote I O are stored in the RX inputs of the I F board by link refresh 2 The RX inputs of the I F board are read by the user program Arguments to be set Station number FF own station Device type 1 own station RX Device number 0 3
260. was started invalid station during data link MELSEC Detectability Master station Corrective action Local station Match the contents of the installation status and network parameters Set the station number within the range from 1 to 40 Set a value of 64 or less Set the occupied station number between 1 and 4 Do not write to any of the use prohibited areas not used in the buffer memory Set the parameter within the range from O to 2 Do not write to any of the use prohibited areas not used in the buffer memory Set the number of remote device stations to 42 stations or less x x x x x x x Set the number of intelligent device stations to 26 stations or less x Set the module s head station number Do not designate any of the stations not specified with a parameter Set the total size of the communication buffer to 4 words or less Set the total size of the automatic update buffer to 4 k words or less 16 TROUBLESHOOTING MELSEC Error code Detectability hexadeci Error description Cause of error occurrence details Corrective action Mast aster mal Local station station the standby master station Standby master station designation y error parameter p than 1 to 64 0 64 i The number of retries setting parameter T Number of retries setting error d a value within the range address 2 was set to a value other th
261. xpenses to dispatch an engineer shall be charged for Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc desig
262. y of the local station and the CPU device using the mdSend function 1 The program uses the mdSend function to write data from the master station to the designated buffer memory of the local station and a CPU device 2 When writing is completed 0 is stored as return values Master station Program mdSend Return value mdSend Return value IBM PC AT compatible PC I F board Local station PLC CPU Buffer memory When reading data from the buffer memory and CPU device local station using the mdReceive function 1 The program uses the mdReceive function to read data from the designated buffer memory of the local station and the CPU device to the variables of the program in the master station 2 When reading is completed 0 is stored as return values Master station Program mdReceive Value return value mdReceive Value return value I F board PLC CPU Local station Buffer memory 5 FUNCTIONS 5 2 4 Communication with the intelligent device station MELSEC The following explains an overview of the communication between the master station and the intelligent device station 1 Communication between the master station and the intelligent device station by cyclic transmission Handshaking signals with the intelligent device station positioning complete positioning start etc
263. y software for other I F boards is installed the icon for the Device Monitor Utility may be displayed 2 If the utility software for other I F board is installed the icon for the Board Diagnostic Utility may be displayed However the Board Diagnostic Utility cannot be used for the ABOBDE J61BT11 8 PROCEDURE BEFORE STARTING THE DATA LINK MELSEC 8 4 3 Uninstalling the utility software This section describes how to uninstall the utility software POINT Be sure to uninstall the utility software from Control Panel Do not directly execute the Uninstaller exe program that has been installed 1 Select the Start button point to Settings and then click Control Panel LEk When Control Panel is displayed double click Add Remove File Edit View Help Control Panel amp xele Programs 12 E Ie fd 32bit ODBC Accessibility Date Time Options Hardware oq Jz 4 Bh dw gm Display Find Fast Fonts Internet Keyboard a Sets up programs and creates shortcuts SS 3 Select SW3DNF CCLINK and then click the Add Remove Install Uninstall windows Setup Startup Disk button To install a new program from a floppy disk or CD ROM p 4 drive click Install Install 7 The following software can be automatically removed by Windows To remove program or to modify its installed components select it from the
264. ype occupied stations 24 bit binary 5 12 24 V DC input type AJ65BT D62 200kPPS 2 channel igh 24 bit binary 5 12 24 V DC input type High speed counter AJ65BT D62D y put typ module 400kPPS 2 channel Gon ion 24 bit binary differential input type 400kPPS 2 channel Thermocouple temperature For connecting thermocouple 4 stations AJ65BT 68TD input unit Temperature input 8 channels Platinum temperature For connecting Pt100 3 wire type AJ65BT 64RD3 measuring resistor Pt100 Temperature input 4 channels Temperature input unit For connecting Pt100 4 wire type AJ65BT 64RD4 Remote device station Temperature input 4 channels ID interface module AJ65BT D321D2 Number of readers writers that can be connected is 2 Monochrome liquid crystal type 2 colors A852GOT Resolution 320 X 240 dots Number of touch keys 300 Graphic operation terminal STN color liquid crystal type 8 colors 2 or 4 stations Resolution 320 X 240 dots Number of touch keys 300 Communication module for cess cinis cc unk UF unit tor GOT devoe Link VF unit for GOT for remote device station CC Link connection RS 232C interface module pu nee y link function AJ65BT R2 1 station RS 232C 1 channel Peripheral connecting AJ65BT G4 For reading writing monitoring testing other station s sequencer 1 station module for GPP function PC on the master station local station and MELSECNET Intelligent device station For
265. ystem consisting of only remote I O stations and remote device stations Remote I O station or remote device station Remote I O station or remote device station Master station Remote I O station or remote device station Remote I O station or remote device station 2 2 1 1 lt gt Overall cable distance 1 Cable length between remote I O stations or remote device stations 2 Cable length between the master station and the adjacent stations CC Link dedicated cable uses a terminal resistance of 110 Station to station cable length Transmission rate 156 kbps 625 kbps 2 5 Mbps 59 cm 23 2 in 5 Mbps 60 cm 23 6 in or more 30 cm 11 8 in to 59 cm 23 2 in 10 Mbps 60 cm 23 6 in to 99 cm 38 9 in 1 m 3 28 ft or more CC Link dedicated high performance cable uses a terminal resistance of 130 Station to station cable length Transmission rate 156 kbps 625 kbps 2 5 Mbps 5 Mbps Number of connected stations 1 to 32 Overall cable distance 1200 m 3937 2 ft 600 m 1968 6 ft 200 m 656 2 ft 30 cm 11 8 in or more 30 cm 11 8 in to 110 m 360 9 ft 1 m 3 28 ft or more 150 m 492 1 ft 50 m 164 1 ft 80 m 262 4 ft 100 m 328 1 ft Overall cable distance 1200 m 3937 2 ft 900 m 2952 9 ft 400 m 1312 4 ft 30 cm 11 8 in or more 160 m 524 9 ft 100 m 328 1 ft 30 cm 11

Download Pdf Manuals

image

Related Search

Related Contents

Guide d`installation  Harbor Freight Tools 1/2 in. Heavy Duty Variable Speed Reversible Hammer Drill Product manual  PF-A SERIES  PERSONA PRS100 - Brother Canada  Samsung J1043 manual de utilizador  Descargar manual  AP200 CO2/H2O Atmospheric Profile System  LTS BCD USER GUIDE    prezzi da confermare!  

Copyright © All rights reserved.
Failed to retrieve file