background image

FX

2N

-32CCL CC-Link Interface Block

iii

Hardware warnings

Software warnings

1 ) Indicates that the identified danger 

WILL

 cause physical and property damage.

2 ) Indicates that the identified danger 

POSSIBLY

 cause physical and property damage.

3 ) Indicates a point of further interest or further explanation.

1 ) Indicates special care must be taken when using this element of software.

2 ) Indicates a special point of which the user of the associate software element should be aware.

3 ) Indicates a point of interest or further explanation.

Summary of Contents for FX2N-32CCL

Page 1: ...USER S MANUAL CC Link INTERFACE BLOCK FX2N 32CCL ...

Page 2: ...can be found in the FX PROGRAMMING MANUAL ΙΙ FX0N FX2N FX2NC series hardware manuals If in doubt at any stage of the installation of the FX2N 32CCL CC Link Interface Block always consult a professional electrical engineer who is qualified and trained to the local and national standards that applies to the installation site If in doubt about the operation or use of the FX2N 32CCL CC Link Interface ...

Page 3: ...FX2N 32CCL CC Link Interface Block i FX2N 32CCL CC Link INTERFACE BLOCK USER S MANUAL Manual number JY992D71801 Manual revision C Date April 2003 ...

Page 4: ... engineers should also be trained in the use and maintenance of the completed product This includes being completely familiar with all associated documentation for said product All maintenance should be carried out in accordance with established safety practices c All operators of the completed equipment see Note should be trained to use this product in a safe manner in compliance to established s...

Page 5: ...tes that the identified danger POSSIBLY cause physical and property damage 3 Indicates a point of further interest or further explanation 1 Indicates special care must be taken when using this element of software 2 Indicates a special point of which the user of the associate software element should be aware 3 Indicates a point of interest or further explanation ...

Page 6: ...s equipment All examples and diagrams shown in this manual are intended only as an aid to understanding the text not to guarantee operation Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples Please contact a Mitsubishi Electric distributor for more information concerning applications in life critical situations or high reliability ...

Page 7: ... 3 1 Connection to PC 3 1 3 2 Wiring of power supply 3 2 3 3 Wiring of CC Link 3 3 4 Setting of Remote Device Stations 4 1 4 1 Setting of station Nos number of stations and transmission speed 4 1 4 2 List of number of remote points and remote Nos 4 3 5 Assignment of Buffer Memory BFM 5 1 5 1 Outline of data communication 5 1 5 2 BFM dedicated to read 5 2 5 3 BFM dedicated to write 5 8 5 4 System a...

Page 8: ...FX2N 32CCL CC Link Interface Block Contents vi 6 3 Program in master PC 6 5 6 4 Program in FX PC 6 11 ...

Page 9: ...instructions Connection to CC Link The FX2N 32CCL is connected as a remote device station to the CC Link system Shielded twisted pair cables are used for wiring Number of I O points Eight I O points including input and output are occupied in the FX PC However the capacity of the 5 V DC power supplied from the PC is limited The current consumption of 5 V DC in the FX2N 32CCL is 130 mA Make sure tha...

Page 10: ...r of remote points The number of remote I O points in one station is 32 input points and 32 output points However the upper 16 points of the final station are occupied by the CC Link system as the system area The number of remote registers in one station is 4 points of RW write area and 4 points of RW read area Because the number of stations can be selected within the range of 1 to 4 the system ca...

Page 11: ...L units should be assigned to other remote device stations remote I O stations and local stations The number of connectable units the transmission speed the transmission distance etc conform to the CC Link system common specifications Terminal resistor Terminal resistor Shielded twisted pair cable Remote device station FX0N FX2N FX2NC Series PC FX2N 32CCL Remote device station FX0N FX2N FX2NC Seri...

Page 12: ...T R2 Remote I O unit AJ65BTB AJ65BTC Analog digital converter unit AJ65BT 64AD Local station A1SJ61BT11 AJ61BT11 Local station A1SJ61BT11 AJ61BT11 Master station Shielded twisted pair cable Terminal resistor essential Terminal resistor essential Shielded twisted pair cable Intelligent device station Remote device station Remote I O station Up to 64 units Up to 26 units Up to 26 units Up to 42 unit...

Page 13: ...from the master station or a local station in which a data link error has occurred 1 Remote input RX remote output RY The data varies depending on setting of the condition set switch on the unit and setting of the input data SW4 in a station in which a data link error has occurred OFF Data is cleared All OFF ON The data just before an error occurred is held 2 Remote register RWw RWr remote input R...

Page 14: ...urred Lit when a rotary switch is incorrectly set Flickers when setting of a rotary switch is changed while the power is turned on RD LED Lit while data is received SD LED Lit while data is sent Extension cable 2 φ4 5 0 18 Mounting hole DIN rail 35mm 1 38 mounting bezel M3 0 12 terminal screw External 24 VDC ground terminal Station No set switch Number of occupied stations set switch Next step ext...

Page 15: ...No Number of stations Station No 1 to 64 set by rotary switch Number of remote device points Number of remote register points The number of remote I O points in one station is 32 input points and 32 output points However the upper 16 points are occupied by the CC Link system as the system area The number of remote register points in one station is 4 points of RW write area and 4 points of RW read ...

Page 16: ...stations and remote device stations Item Specifications of FX2N 32CCL B RATE 0 5 1 2 3 4 9 8 7 6 0 156 kbps 1 625 kbps 2 2 5 Mbps 3 5 Mbps 4 10 Mbps 5 to 9 Setting error Master station Rem ote I O station Rem ote device station Local station Local station Rem ote I O station Rem ote device station Rem ote I O station Rem ote device station Maxim um transm ission distance Rem ote I O station Rem ot...

Page 17: ... L RUN L ERR RD SD Number of occupied I O points Eight I O points including input and output of FX PC Applicable PC FX0N FX2N FX2NC Series PC Communication with PC Communication is performed from the FX PC via the buffer memory using FROM TO instructions Item Specifications of FX2N 32CCL ...

Page 18: ...FX2N 32CCL CC Link Interface Block Specifications 2 2 6 Memo ...

Page 19: ...2N 32CCL is 130 mA Make sure that the total current consumption of 5 VDC including other special blocks does not exceed the criteria POWER FX2N 32CCL 7 2 4 5 6 1 3 0 27 20 22 23 24 25 26 21 16 11 15 14 17 10 12 13 14 17 15 10 12 13 7 2 4 5 6 1 3 0 27 20 22 23 24 25 26 21 16 11 OUT IN L X5 X7 X13 X15 X17 X21 X23 X25 X4 X6 X10 X14 X16 X20 X22 X24 24 N COM X0 X1 X2 COM4 Y24 Y25 COM5 Y27 COM2 Y4 Y5 Y6...

Page 20: ...24 24 24 VDC service power supply for PC can be used instead Service power supply for sensor Grounding resistor 100 Ω or less class 3 24 VDC 10 50 mA 6 2mm 0 24 6 2mm 0 24 Use crimp style terminals of the dimensions shown in the figure on the left The terminal tightening torque should be 0 5 to 0 8 NŸm 5 to 8 kgfŸcm Tighten terminals securely so that malfunction will not occur ...

Page 21: ...mmended cable About the shielded twisted pair cables consult the nearest MITSUBISHI ELECTRIC CORPORATION service center Item Specifications Model nam e Cable type Conductor cross sectional area W ithstand voltage Electrostatic capacity kHz Characteristic im pedance 1 MHz Cross section Outside dim ensions Approxim ate weight FANC SB 0 5m m 2 3 Shielded twisted pair cable 0 5m m 2 37 8 Ω km or less ...

Page 22: ...ormed from any point without regard to the station No When the FX2N 32CCL is used as the terminal station connect a terminal resistor between the terminals DA and DB of the FX2N 32CCL The terminal resistor is packed together with the Master unit The maximum transmission distance and the distance between stations in the CC Link system vary depending on the selected transmission speed For the detail...

Page 23: ... 5 1 2 3 4 9 8 7 6 STATION No 10 1 10 s digit 0 5 1 2 3 4 9 8 7 6 1 s digit 1 Station No set switch 2 Number of occupied stations set switch 3 Baud rate set switch 0 5 1 2 3 4 9 8 7 6 0 5 1 2 3 4 9 8 7 6 0 5 1 2 3 4 9 8 7 6 0 5 1 2 3 4 9 8 7 6 STATION NO POWER B RATE 0 1st 1 2st 2 3st 3 4st 0 156K 1 625K 2 2 5M 3 5M 4 10M OCCUPY STATION 32CCL x10 x1 OCCUPY STATION 0 5 1 2 3 4 9 8 7 6 Set the stati...

Page 24: ...rrespond to 156 kbps to10 Mbps respectively 0 156 kbps 3 5 Mbps 1 625 kbps 4 10 Mbps 2 2 5 Mbps 5 to 9 Setting error Set the transmission speed in accordance with the specifications of the maximum transmission distance and the transmission speed 2 2 3 Baud rate transmission speed 156 kbps 625 kbps 2 5 Mbps 5 Mbps 10 Mbps ...

Page 25: ...ected number of stations Number of stations Type Remote input Remote output Remote register for write Remote register for read 1 User area RX00 to RX0F 16 points RY00 to RY0F 16 points RWr0 to RWr3 4 points RWw0 to RWw3 4 points System area RX10 to RX1F 16 points RY10 to RY1F 16 points 2 User area RX00 to RX2F 48 points RY00 to RY2F 48 points RWr0 to RWr7 8 points RWw0 to RWw7 8 points System area...

Page 26: ...FX2N 32CCL CC Link Interface Block Setting of Remote Device Stations 4 4 4 Memo ...

Page 27: ...sing a TO instruction the data can be sent to the master station The data sent from the master station is read from the memory dedicated to read to the FX PC using a FROM instruction Flow of data FX0N FX2N FX2NC PC Internal relay I O relay etc TO instruction FROM instruction Buffer memory for I O Dedicated to write BFM 0 to BFM 7 RX00 to RX7F Dedicated to read BFM 0 to BFM 7 RY00 to RY7F Data word...

Page 28: ... output RY70 to RY7F set station 3 8 Remote register RWw 0 set station 9 Remote register RWw 1 set station 10 Remote register RWw 2 set station 11 Remote register RWw 3 set station 12 Remote register RWw 4 set station 1 13 Remote register RWw 5 set station 1 14 Remote register RWw 6 set station 1 15 Remote register RWw 7 set station 1 BFM No Description 16 Remote register RWw 8 set station 2 17 Re...

Page 29: ...Y00 to RY7F varies depending on the selected number of stations 1 to 4 The upper 16 points in the final station are occupied by the CC Link system as the system area so can not be used as the user area 4 2 Example in which the ON OFF status of BFM 0 b0 to b15 is read to the auxiliary relay in the FX PC FNC78 FROM K0 K0 K4M0 K1 Use example Drive circuit Block No Transfer source BFM 0 Transfer desti...

Page 30: ...21 RY 20 RY 1F RY 1E RY 11 RY 10 RY 0F RY 0E RY 01 RY 00 FROM instruction K8 K7 K6 K1 K5 K4 K3 K2 b0 b15 b0 BFM 6 b15 b0 BFM 1 b15 b0 BFM 5 b15 b0 BFM 4 b15 b0 BFM 3 b15 b0 BFM 2 b15 b0 BFM 0 M 127 M 113 M 112 M 126 BFM 7 M 111 M 97 M 96 M 110 M 95 M 81 M 80 M 94 M 79 M 65 M 64 M 78 M 63 M 49 M 48 M 62 M 47 M 33 M 32 M 46 M 31 M 17 M 16 M 30 M 15 M 1 M 0 M 14 Num ber of transfer points BFM No FX P...

Page 31: ...ster range RWw0 to RWwF varies depending on the selected num ber of stations 1 to 4 4 2 Example in which BFM 8 to BFM 23 are read to D0 to D15 in the FX PC FNC78 FROM K0 K8 D0 K16 Use example Block No Transfer source BFM 8 Transfer destinat ion Number of transfer points BFM 8 to 23 16 points By changing the number of transfer points within the range of K1 to K16 the number of BFM points to be read...

Page 32: ...are saved as the ON OFF information to b15 to b0 The information on the master PC is valid exclusively while link communication is performed BFM 26 CC Link model code The model code is saved in the following format Set value of BFM 27 its own station No The setting of the station No set switch provided in the FX2N 32CCL is saved as a numeric of 1 to 64 The saved value is determined when the power ...

Page 33: ... code The contents of an error are saved as the ON OFF information to b15 to b0 BFM 30 FX Series model code The model code assigned to each special extension device in the FX Series is saved here The model code of the FX2N 32CCL is K7040 b0 Error in setting of station No set switch b1 Error in setting of baud rate set switch b2 and b3 Reserved b4 Error in change of station No set switch b5 Error i...

Page 34: ...F set station 3 8 Remote register RWr 0 set station 9 Remote register RWr 1 set station 10 Remote register RWr 2 set station 11 Remote register RWr 3 set station 12 Remote register RWr 4 set station 1 13 Remote register RWr 5 set station 1 14 Remote register RWr 6 set station 1 15 Remote register RWr 7 set station 1 BFM No Description 16 Remote register RWr 8 set station 2 17 Remote register RWr 9...

Page 35: ...nding on the selected number of stations 1 to 4 The upper 16 points of the final station are occupied by the CC Link system as the system area so can not be used as the user area 4 2 Example in which the ON OFF status of the FX PC is written to BFM 0 b15 to b0 FNC79 TO K0 K0 K4M100 K1 Block No Transfer destinat ion BFM 0 Transfer source M115 to M100 Num ber of transfer points BFM 0 1 point W rite ...

Page 36: ... M 213 M 212 M 226 BFM 7 M 211 M 197 M 196 M 210 M 195 M 181 M 180 M 194 M 179 M 165 M 164 M 178 M 163 M 149 M 148 M 162 M 147 M 133 M 132 M 146 M 131 M 117 M 116 M 130 M 115 M 101 M 100 M 114 Num ber of transfer points BFM No FX PC auxiliary relay FNC79 TO K0 K0 K4M100 K Block No Transfer destinat ion BFM 0 Transfer source M to M100 Number of transfer points Write by TO instruction M to M100 BFM ...

Page 37: ...r of stations 1 to 4 4 2 Example in which D100 to D115 in the FX PC are written to BFM 8 to BFM 23 FNC79 TO K0 K8 D100 K16 Block No Transfer destinat ion BFM 8 Transfer source Number of transfer points BFM 8 to BFM 23 16 points Write by TO instruction D115 to D100 BFM 8 Program determining the ON OFF status FNC12 MOV K20 D100 FNC12 MOV K35 D101 FNC12 MOV K55 D115 By changing the number of transfer...

Page 38: ...able RY 2n 1 1 Unusable RY 2n 1 2 Unusable RY 2n 1 3 Unusable RY 2n 1 4 Unusable RY 2n 1 5 Unusable RY 2n 1 6 Unusable RY 2n 1 7 Unusable RY 2n 1 8 Initial data processing completion flag RY 2n 1 9 Initial data processing request flag RY 2n 1 A Error reset request flag RY 2n 1 B Undefined RY 2n 1 C Reserved unusable RY 2n 1 D Reserved unusable RY 2n 1 E Reserved unusable RY 2n 1 F Reserved unusabl...

Page 39: ...FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 5 13 ...

Page 40: ...aster unit A cable is disconnected L ERR LED is extinguished on units after the unit in which disconnection has occurred A cable is short circuited L RUN LED is extinguished on all the units Link of the master station is stopped L RUN LED is extinguished on all the units except the master station Power supplied to the FX2N 32CCL is turned off ERR LED is extinguished on the master station and the l...

Page 41: ...nfiguration shown below A62P A3NCPU AJ61BT11 X Y 00 X Y 0F AY41 Y10 Y1F FX PC FX2N 32CCL FX PC FX2N 32CCL Master station station No 0 Term inal resistor Shielded twisted pair cable Rem ote device station station No 1 O ccupation of four stations is specified Rem ote device station station No 5 O ccupation of two stations is specified A B Term inal resistor ...

Page 42: ...ting in master unit rotary switch Assignment of number of remote points and No Number of points and No are deter mined by selected num ber of occu pied stations Number of remote points and No when four stations are occupied Remote input RX00 to RX6F 112 points for user area RX70 to RX7F 16 points for system area Remote output RY00 to RY6F 112 points for user area RY70 to RY7F 16 points for system ...

Page 43: ...F RY00 RY7F RY70 Remote output RY 160H 167H RY8F RY80 RYBF RYB0 168H 16BH M627 M500 M963 M900 M827 M700 M1063 M1000 FROM FROM TO TO Master station station No 0 Remote device station station No 1 FX2N 32CCL BFM 0 RX0F RX00 BFM 7 RX7F RX70 Remote input RX M227 M100 M427 M300 TO FROM FX PC A BFM 0 RY0F RY00 BFM 7 RY7F RY70 Remote output RY Remote device station station No 5 FX2N 32CCL BFM 0 RX0F RX00...

Page 44: ... 1EFH RWw10 RWw17 1F0H 1F7H D515 D500 D707 D700 D615 D600 D807 D800 FROM FROM TO TO Master station station No 0 Remote device station station No 1 FX2N 32CCL BFM 8 RWr0 BFM 23 RWrF Remote register RWr D25 D10 D65 D50 TO FROM FX PC A BFM 8 RWw0 BFM 23 RWwF Remote register RWw Remote device station station No 5 FX2N 32CCL BFM 8 RWr0 BFM 15 RWr7 Remote register RWr D17 D10 D57 D50 TO FROM FX PC B BFM...

Page 45: ...000 TO D3 K0 MOV K1 D3 H0006 H0000 TO D4 H1401 MOV D5 H1205 MOV K2 D4 H0020 H0000 TO M301 RST M301 M300 PLS M301 SET Parameter setting Number of connected units Number of retries Number of automatic double row units Write from D2 to D0 to H0001 Specification of operation at CPU down stop Write from D3 to H0006 Station information A side remote device 4 stations occupied station No 1 Station inform...

Page 46: ...ET M302 PLS M303 M303 RST X0007 Startup norm al com pletion Startup abnormal com pletion Data link by param eter of buffer m em ory W hen data link start up is norm ally com pleted by param eter of buffer m em ory W hen data link start up is abnorm ally com pleted by param eter of buffer m em ory Data link startup request by param eter of buffer m em ory Instruction of refresh ...

Page 47: ...9 H0000 FROM Y0A RST X000A M304 PLS M305 SET M305 RST X000B Registrat ion norm al com pletion Registrat ion abnorm al com pletion W hen param eter registration to EEPROM is norm ally com pleted W hen param eter registration to EEPROM is abnorm ally com pleted Param eter registration request to EEPROM M304 Parameter registration to EEPROM ...

Page 48: ... RST X0008 Y00 SET M300 PLS M301 M301 RST X0009 Startup normal com pletion Startup abnorm al com pletion W hen data link startup is norm ally com pleted by param eter of EEPROM W hen data link startup is abnorm ally com pleted by param eter of EEPROM Data link startup request by param eter of EEPROM Instruction of refresh Unit error Unit ready Data link by param eter of EEPROM ...

Page 49: ...n No 1 Data link being executed FX2N 32CCL station No 5 Data link being executed FEND FROM K8 H00E0 H0000 K4M500 TO K8 H0160 H0000 K4M700 M9036 FROM K16 H02E0 H0000 D500 TO K16 H01E0 H0000 D600 Always ON Read of remote input E7H to E0H RX7F to RX00 M627 to M500 Write of remote output M827 to M700 167H to 160H RY7F to RY00 Read of remote register RWr 2EFH to 2E0H RWrF to RWr0 D515 to D500 Write of ...

Page 50: ... D700 TO K8 H01F0 H0000 D800 Always ON Read of remote input EBH to E8H RXBF to RX80 M963 to M900 Write of remote output M1063 to M1000 16BH to 168H RYBF to RY80 Read of remote register RWr 2F7H to 2F0H RWr17 to RWr10 D707 to D700 Write of remote register RWw D807 to D800 1F7H to 1F0H RWw17 to RWw10 P20 Communication with FX2N 32CCL station No 5 ...

Page 51: ...n below Communication program in station No 1 FNC78 FROM K1 K25 K0 K4M0 M8000 Read of com m unication status BFM 25 M 15 to M0 Read of com m unication status Block No BFM No Transfer destinat ion Num ber of transfer points Indication of com m unication status upon necessity M0 CRC error M1 Tim eout error M7 Link being executed M8 Master PC running M9 Master PC error ...

Page 52: ... RY00 RY6F FNC12 MOV D10 K30 FNC12 MOV D25 D100 M100 M212 RX00 RX6F FNC79 TO K8 K0 K0 K4M100 FNC79 TO K16 K8 K0 D10 M7 Read of remote output and register Write of remote input and register Read of remote register BFM 23 to 8 RWwF to RWw0 D65 to D50 Program determining the ON OFF status of remote input and the remote register value to be written Write of remote input M227 to M100 BFM 7 to 0 RX7F to...

Page 53: ...sult M300 Link being executed FNC78 FROM K8 K8 K0 D50 M363 FNC12 MOV D K50 FNC12 MOV D D57 RY00 RY3F FNC12 MOV D10 K30 FNC12 MOV D17 D100 M100 M163 RX00 RX3F FNC79 TO K4 K0 K0 K4M100 FNC79 TO K8 K8 K0 D10 M7 Read of remote output and register Write of remote input and register Read of remote register BFM 15 to 8 RWw7 to RWw0 D57 to D50 Program determining the ON OFF status of remote input and the ...

Page 54: ...FX2N 32CCL CC Link Interface Block Programming Examples 6 6 14 Memo ...

Page 55: ...FX2N 32CCL CC Link Interface Block ...

Page 56: ...NOUCHI TOKYO 100 8310 HIMEJI WORKS 840 CHIYODA CHO HIMEJI JAPAN JY992D71801C MEE Effective Apr 2003 Specifications are subject to change without notice USER S MANUAL CC Link INTERFACE BLOCK FX2N 32CCL MODEL FX2N 32CCL U E MODEL CODE 09R711 ...

Reviews: