Home
CC-Link INTERFACE BLOCK FX2N
Contents
1. Master station Local station Local station 8 8 8 A1SJ61BT11 A1SJ61BT11 A1SJ61QBT11 AJ61BT11 AJ61BT11 AJ61QBT11 Terminal resistor essential Wisted pairgabig Up to 26 units D Up to 42 units Up to 64 units Intelligent device Remote device station Remote I O station station nnon oooo RS 232C Analog digital FX PC Remote I O unit interface unit converter unit FXoN FX2N FX2NC Series AJ65BTB AJ65BT R2 AJ65BT 64AD FX2N 32CCL AJ65BTC __Terminal resistor essential gt 64 units in all a MITSUBISHI 1 4 FX2N 32CCL CC Link Interface Block Specifications 2 2 Product Specifications Cautions on design Forthe status of each station in the case in which the PC CPU stops its operation or communica tion error has occurred in the data link read thoroughly the contents of 5 Data Link Processing Time of the user manual of the master unit Construct an interlock circuit in a PC program so that the system can operate conservatively using the communication status information SB SW If the interlock circuit is not correctly constructed wrong output or malfunction may occur and an accident may occur at the end Receive data from the master station or a loc
2. Read of remote output ACCES and register M7 FNC78 Read of remote output E FROM KO KO K4M300 K8 BFM 7 to 0 RY7F to RYOO M427 to M300 Link being executed FNC78 Read of remote register FROM KO K8 D50 K16 BFM 23 to 8 RWwF to RWw0 065 0 M300 RYOO C 2 7 M412 RY6F 0 C 2 Utilization of read result MET TIENE FNC12 5 MOV K50 D MEE FNC12 MOV D65 D NNNM ERR Write of remote input ie and register FO moo 0 RX6F Program determining the ON OFF status of remote input and the remote register value to be written inesse OV K30 D10 ee FNC12 MOV D100 D25 M7 FNC79 Write of remote input TO KO KO KAM100 K8 M227 to M100 gt BFM 7 to 0 RX7F to RX00 FNC79 Write of remote register TO KO K8 D10 K16 D25 to D10 BFM 23 to 8 RWrF to RWrO a MITSUBISHI 6 12 FX2N 32CCL CC Link Interface Block Programming Examples 6 Example of communication program in station No 2 The contents equivalent to those in the station No 1 described above are to be programmed as a communi cation status read program Read of remote output and register M300 RYOO d M363 RY3F _ C gt Utilization of read result M7 FNC78 Read of remote output RUE FRO
3. 9 Maximum transmission distance Maximum FX PC functions as a remote device station transmission distance ransmission transmission 29 156kbps 625kbps 25Mbps 60 cm or more 150m 30 to 59 cm 110m 60 io 99 cm 30 10 59 2 m or more a MITSUBISHI 2 4 FX2N 32CCL CC Link Interface Block Specifications 2 Mem Specifications of FX2N 32CCL Operation indication LEDs POWER L RUN L ERR RD SD Number of occupied TES points Eight I O points including input and output of FX PC Applicable PC FXoN FX2N FXaNc Series PC Communication with Communication is performed from the FX PC via the buffer memory using FROM TO PC instructions a MITSUBISHI 2 5 FX2N 32CCL CC Link Interface Block Specifications 2 Memo a MITSUBISHI 2 6 FX2N 32CCL CC Link Interface Block Connection and Wiring 3 3 Connection and Wiring 3 1 Connection to PC Connection of extension cable The FX2N 32CCL can be connected directly to the FXoN 2N PC main unit or connected on the right side of an other extension block or extension unit Up to eight special units blocks can be connected and the unit No 0 to 7 is assigned from the one nearest to the basic unit However the capacity of the 5 VDC power supplied from the PC is limited The current consumption of 5 VDC of the FX2N 32CCL is 130 mA Make
4. 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 information B side j remote device 2 stations occupied station No 5 Write from D5 and D4 to H0020 PLS M300 Unit error Unit ready M300 SET M301 M301 MOV K2 DO MOV K7 D1 MOV K1 D2 TO H0000 H0001 DO K3 MOV KO D3 M301 TO H0000 6 D3 K1 MOV H1401 D4 MOV H1205 D5 TO H0000 H0020 D4 K2 RST M301 a MITSUBISHI FX2N 32CCL CC Link Interface Block Programming Examples 6 M9038 SET Y00 Instruction Initial pulse of refresh Data link by UEM parameter of TOREM X0000 X000F buffer memory H PLS M302 M302 SET M303 M303 Data link startup request by parameter of SET 108 buffer memory X0006 RST Y06 Startup When data link start up is normally normal completed by parameter of buffer memory completion RST M303 X0007 E FROM H0000 H0668 D100 K1 m abnorma 4 leti When data link start up is abnormally d Y06 completed by parameter of buffer memory RST M303 a MITSUBISHI 6 6 FX2N 32CCL CC Link Interface Block Programming Examples 6
5. 32CCL station No 5 ME Read of te input T ead of remote inpu iss FROM H0000 HOOES K4M900 K4 RXBF to RX80 gt M963 to M900 ON Write of remote output Ig TOS 0 M1063 to M1000 16BH to 168H RYBF to RY80 Read of remote register RWr EBON HORE 2700 se 2F7H to 2F0H RWET to RWr10 0707 to D700 Write of remote register RWw 5 2800 D807 to D800 1F7H to 1FOH RWw17 to RWw10 a MITSUBISHI 6 10 FX2N 32CCL CC Link Interface Block Programming Examples 6 6 4 Program in FX PC When the PC starts to run data linking is automatically started by the program shown below Communication program in station No 1 Read of communication status FNC78 FROM Read of communication status KO K25 K4MO K1 BFM 25 M15 to MO MO CRC error Block No BFM No Transfer Number of destinat transfer ion points M1 Timeout error M7 Link being executed M8 Master PC running Indication of communication status C gt upon necessity M9 Master PC error 2x MITSUBISHI 6 11 FX2N 32CCL CC Link Interface Block Programming Examples 6
6. Parameter Parameter registration request to EEPROM When parameter registration to EEPROM is normally completed When parameter registration to EEPROM is abnormally completed um um T DT UU mL Up UT cL e meer T TL eT registration to Registration EPROM command X0000 X000F 4f 1 PLS M304 4 SET M305 M305 SET YOA X000A RST YOA Registrat normal completion RST M305 X000B FROM H0000 H06B9 1 K1 Registrat Jion abnormal RST YOA completion RST M305 a MITSUBISHI 6 7 FX2N 32CCL CC Link Interface Block Programming Examples 6 During operation M9038 E SET Y00 Initial pulse X0000 X000F PLS M300 Unit error Unit ready M300 PLS M301 M301 SET Y08 X0008 RST Y08 Startup normal completion RST M301 X0009 FROM H0000 H0668 D100 K1 Startup abnormal completion RST Y08 RST M301 Instruction of refresh Data link by d Mu 77 UEM goes a MENO ILI EE parameter of ee EEPROM Data link startup request by parameter of EEPROM When data link startup is normally completed by parameter of EEPROM When data link startup is abnormally completed by parameter of EEPROM a MITSUBISHI 6 8 FX2N 32CCL CC Link Interface Block Programming
7. 2 3 3 Connection Een e e 3 1 eC 3 1 3 2 WIDO ODDOWSFL SOR IR DOR Ee bee cra 3 2 So Ol Ole Miu pr ccc 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 DH OUtIINS OF data COMMUNICATION Nem D 5 1 5 2 BFM dedicated toredad Moe 5 2 5 9 BEM dedicated IO Wile UR eee 5 8 5 4 System area of remote I O 5 coe etin v tua 5 12 5 Or eus 5 14 6 Programming Examples Urs voee iint 6 1 6 1 nine eines 6 1 6 2 Flow of COMMUNICATION aded ne eu cM ELA 6 3 a MITSUBISHI v FX2N 32CCL CC Link Interface Block Contents 6 3 Program PU UP Ue ME V Cue 6 5 6 4 Programmi Xe PO DDR 6 11 a MITSUBISHI vi FX2N 32CCL CC Link Interface Block Introduction 1 1 1 Introduction The CC Link interface block FX2N 32CCL
8. 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 of the FX PC is turned on If the setting is changed while the power is turned on the changed setting becomes valid when the power is turned on at the next time a MITSUBISHI 5 6 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 BFM 28 set value of number of occupied stations The setting of the number of occupied stations set switch provided the FX2N 32CCL is saved as a numeric of 0 to 0 1 station 1 2 stations 2 3 stations 3 4 stations BFM 29 error code The contents of an error are saved as the ON OFF information to b15 to bO 0 Error in setting of station No set switch 65 Error change of baud rate set switch Error in setting of baud rate set switch b6 and b7 Reserved ba Emorin change of station No set switch b9 to 5 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 K7040 a MITSUBISHI 57 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 5 3 BFM dedicated to write FX master station Buffer memory dedicated to write In this buffer memory the contents written from the FX PC to the master station are saved The FX PC writes the contents of bit devices and data w
9. A cable is short circuited L RUN LED is extinguished on all the units Extinguished O Extinguished O 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 local stations Same station No is assigned to the FX2N 32CCL and an other station L RUN LED is extinguished on the unit to which the same station No is assigned The transmission speed is incorrectly set The FX2N 32CCL is not set to a parameter Extinguished O insunt is started up while the station No set switch is set to an unallowable NER i Setting of the station No set switch or the transmission speed set switch is Extinguished O changed during data linking 5 14 a MITSUBISHI FX2N 32CCL CC Link Interface Block Programming Examples 6 A sample program is explained in the system configuration shown below 6 Programming Examples 6 1 System configuration Master station station No 0 Remote device station station No 1 Occupation of Remote device station station No 5 Occupation of two stations is A62P A3NCPU AJ61BT11 AY41 four stations is specified specified X Y 00 Y10 t t FX PC FX2N 32CCL FX PC FX2N 32CCL OF Y1F A B Terminal Terminal resistor Shielded twisted pair c
10. a MITSUBISHI 6 2 FX2N 32CCL CC Link Interface Block Programming Examples 6 6 2 Flow of communication data Remote input RX remote output RY In a sample program communication is performed between remote inputs and remote outputs as shown in the figure below Master station Master PC station No 0 Remote input RX RXOF RX00 M627 M500 FROM E74 RX7F RX70 8 RX8F RX80 M963 M900 FROM Epu RXBF RXBO Remote device station station No 1 A FX2N 32CCL Remote input RX BFM 0 RXOF RX00 2 BFM 7 RX7F RX70 TO Remote output RY Remote output RY 160H RYOF RYOO M827 M700 19 167H RY7F RY70 J 168H TO RY8F RY80 M1063 M1000 gt 16 RYBF RYBO BFM 0 RYOF RY00 2 BFM 7 RY7F RY70 amp M227 M100 M427 M300 FX2N 32CCL Remote device station station No 5 Remote input RX BFMZO RXOF RX00 2 BFM 3 RX3F RX30 TO Remote output RY BFMZO RYOF RYOO 2 BFM 3 RY3F RY30 0 M363 M300 It ott hn ci a eee eee eee a eat ets RL a MITSUBISHI FX2N 32CCL CC Link Interface Block Programming Examples 6 Remote register RWr RWw In a sample program
11. 6 set station 1 30 FX Series model code K7040 11 Remote register RWw 3 set station Set value of its own station No 5 Remote register RWw 7 set stations 1 Si Reserve O a MITSUBISHI 5 2 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 Details of buffer memory BFM 0 to 7 remote output RYOO to RY7F e Sixteen remote output points RYLIF to RYH are assigned for b15 to 00 of each buffer memory consist ing of 16 bits The ON OFF status information shown by each bit indicates the contents of the remote output written from the master unit to the FX2N 32CCL The FX PC reads this information to bit devices and word devices of the PC using FROM instructions e Inthe FX2N 32CCL the remote output point range RYOO to RY7F varies depending 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 bO to 615 is read to the auxiliary relay the FX PC Read by FROM instruction BFM 0 M15 to MO b15 FNC78 RYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRY H KO KO K4MO KI OF 0E 0D 0C B 0 09 08 07 06 05 04 03 02 o1 00 0 Block No
12. Transfer Transfer Number of FROM instruction source destina transfer BFM 0 tion M15 points auxiliary Use to MO BFM 0 1 1514 1312 11 10 9 8 7 6 5 4 3 2 1 0 relay example point MO RYOO M1 RY01 pues Drive circuit 2 15 a MITSUBISHI 5 3 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 Example in which the ON OFF status of multiple BFM points are read to the FX PC 078 e changing the number of transfer points of FROM 0 0 0 FROM instruction within the range of K1 to K8 Block No Transfer Transfer Number of BFM 0 to BFM 7 can be read at a time to the Use source destinat transfer 1 to 8 is auxiliary relay in the FX PC example BEM to MO points specified When the output relays Y are specified as the MO RYOO iie transfer destination they are processed by eas octal YL17 to YOO at a time M1 RY01 E Drive circuit 2 M RYOO ne BFM 9 65 BFM 4 BFM 3 2 BFM 1 GFMsO BFM No b15 b0 5 00 5 00 5 00 015 00 015 00 5 50 1615 020 RYRY RYRYRYRY RYRYRYRY RYRYRYRY RYRYRYRY RYRYRYRY RYRYRYRY RYRYRYRY RYRY Number of 7 0 6 65 61605
13. communication is performed in remote registers as shown in the figure below Master station Master PC station No 0 Remote device station station No 1 FX2N 32CCL A 0000000 FX DE0H BW Remote register RWr BFM 8 RWr0 D515 D500 lt FROM O 0 opp RWF BFM 23 RWrF D707 D700 FROM 2FOM Remote register RWw 4 BFM 8 RWw0 FROM D65 D50 BFM 23 RWwF 1E0H Remote device station station No 5 TO FAO FX2N 32CCL X PC D615 D600 gt Horror a ee RWwE emote register RWr BFM 8 RWr0 TO TO RWw10 K 4 D17 D10 D807 D800 BFM 15 RWr7 1F7H RWw17 Remote output RWw BFM 8 RWwO RWWO FROM 5 BFM 15 RWw7 2 MITSUBISHI 64 FX2N 32CCL CC Link Interface Block Programming Examples 6 6 3 Program in master PC When the PC CPU starts to run data linking is automatically started by the program shown below During debugging X0000 X000F Parameter setting Number of connected units Number of retries Number of automatic double row units Write from D2 to DO to H0001
14. definition of such a person or persons is as follows a Any engineer who is responsible for the planning design and construction of automatic equipment using the product associated with this manual should be of a competent nature trained and qualified to the local and national standards required to fulfill that role These engineers should be fully aware of safety with regards to automated equipment b Any commissioning or service engineer must be of a competent nature trained and qualified to the local and national standards required to fulfill that job These engineers should also be trained in the use and maintenance of the completed product This includes being completely familiar with all asso ciated documentation for the said product All maintenance should be carried out in accordance with established safety practices C All operators of the compliance product should be trained to use that product in a safe and coordi nated manner in compliance to established safety practices The operators should also be familiar with all documentation which is connected with the actual operation of the completed equipment Note The term completed equipment refers to a third party constructed device which contains or uses the product associated with this manual a MITSUBISHI i FX2N 32CCL CC Link Interface Block Note s on the symbology used in this manual At various times through out this manual certain symbols will be used to
15. sure that the total current consumption of 5 VDC including other special blocks does not exceed the criteria 9999999 88282288 MITSUBISHI NG9989999 FXav 32CCL CD POWER LRUN LERR RD so 1 MELSEG FX2n 48MR FX2n 32CCL FXan 16EX FX2N 48MR ES UL FX2N 32CCL X000 X027 special block Y000 Y027 No 0 FX2N 16EX FX2N 32CCL ES UL special block X030 X047 No 1 a MITSUBISHI 3 1 Connection and Wiring 3 FX2N 32CCL CC Link Interface Block 3 2 Wiring of power supply Wiring Service power d supply for sensor Grounding resistor 100 or less n COM 244 class 3 24 24 VDC 10 24 50 mA 24 VDC service power FX2N 32CCL supply for PC can be used instead PC main unit Extension cable Handling of crimp style terminal Use crimp style terminals of the dimensions shown in the figure the ES Cz 3 lt e The terminal tightening torque should be 0 5 to 0 8 Nem 5 to 8 kgfecm Tighten terminals securely so that malfunction will not occur gt 73 3 2 a MITSUBISHI FX2N 32CCL CC Link Interface Block Connection and Wiring 3 3 3 Wiring of CC Link Specifications of twist
16. 5 55 51 504 4 41 40 3F SE 181 302F2E 121 2040F 1E 1110 0FOE 0100 transfer K8 K7 K6 K5 K4 K3 K2 K1 points FROM instruction et KNEE MC M AE MIMIM M MM MIMIM M M M auxiliary 9 n2 111 110 97196195194 18118047978 656416362 49 48 47 46 133182131130 117161514 1 0 relay a MITSUBISHI 54 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 BFM 8 to 23 remote register RWw0 to RWwF e To each buffer memory No a remote register No RWwO to RWwEF is assigned The information saved in the buffer memory indicates the contents of the remote register written from the master unit to the FX2N 32CCL The FX PC can read this information to the word device and the bit device in the PC using FROM instruc tions e Inthe FXa2N 32CCL the remote register range RWwO to RWwF varies depending the selected num ber of stations 1 to 4 4 2 Example in which BFM 8 to BFM 23 are read to DO to D15 in the FX PC PC data register Read by FROM instruction BFM 8 to 23 D0 to 015 i Ko K8 DO K16 FROM
17. A and DA DB and DB as well as DG and DG of each station with shielded twisted pair cables Because two DA terminals and two DB terminals are provided in the FXoN 32CCL a next station can be easily connected Connect the SLD terminal of each station to a shield of a shielded twisted pair cable Perform Class 3 grounding to the FG terminal of each station Wiring of each station can be performed 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 details refer to the maximum transmission dis tance described in 2 2 General specifications and performance specifications or the specifications described in the manual of the CC Link master unit a MITSUBISHI 3 4 FX2N 32CCL CC Link Interface Block Setting of Remote Device Stations 4 Setting of Remote Device Stations Setting of station Nos number of stations and transmission speed Setting the rotary switch The station No the number of stations and the transmission speed can be set using rotary switches provided inside the panel cover of the FX2N 32CCL Setting of each rotary switch becomes valid when the power of the FX PC is turned on Set e
18. ADVANCED AND EVER ADVANCING MITSUBISHI ELECTRIC FX Series Programmable Controllers Foreword This manual contains text diagrams and explanations which will guide the reader in the correct installation and operation of the FX2N 32CCL CC Link Interface Block It should be read and understood before attempting to install or use the unit Further information can be found in the FX PROGRAMMING MANUAL FXoN FX2N FX2NC series hardware man uals e Ifin doubt at any stage during the installation of the FX2N 32CCL CC Link Interface Block always consult a profes sional electrical engineer who is qualified and trained to the local and national standards If in doubt about the operation or use of the FX2N 32CCL CC Link Interface Block please consult the nearest Mit subishi Electric distributor This manual is subject to change without notice NATIONAL ACCREDITATION OF CERTIFICATION BODIES Pax ISO 9001 a MITSUBISHI FX2N 32CCL CC Link Interface Block FX2N 32CCL CC Link INTERFACE BLOCK Manual number JY992D71801 US E HS MAN UAL Manual revision B Date JANUARY 1999 a MITSUBISHI FX2N 32CCL CC Link Interface Block Guidelines for the safety of the user and protection of the FX2N 32CCL CC Link Interface Block This manual provides information for the installation and use of the FX2N 32CCL CC Link Interface Block The manual has been written to be used by trained and competent personnel The
19. BFM 0 M100 MIM M FX PC M MIMIM ili 227 226 213 1212 211 210 197 196 1951194 181 180 1791178 165 164 163 1162 149 148 1471146 133 132 1311130 117 116 115 1114 101 100 relay gt 3 TO instruction K8 K7 K6 K5 K4 K3 K2 K1 Number of transfer 015 0 615 0 0 1015 0 015 0 0015 0 00 615 00015 0 615 _ points RXRXRXRX IRXIRXIRXIRX RXRXRXRX RXRXRXRX RXRXRXRX RXRXRXRX RXRXRXRX RXRX BFM No 7F E _ 71770 6 6 61605 51 504F4E 41408 31 302F2E 21 120 1 1 110 0F0E 0100 BFM BFM 6 BFM 5 4 BFM 3 BFM 2 BFM 1 BFM 0 a MITSUBISHI 5 10 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 BFM 8 to 23 remote register RWr0 to RWrF e To each buffer memory No a remote register No RWrO to RWrF is assigned The information to be written to the master unit should be preliminarily transferred from the FX PC to this buffer memory The FX PC can write the contents of word devices and bit devices of the FX PC using TO instructions e Inthe FX2N 32CCL the remote r
20. Block No Transfer Transfer Number of Source destinat transfer points instruction BFM 8 ion BFM 8 to Use 423 16 points FNCI E th MOV DO D50 By changing the number RW of transfer points within RWw0 the range of K1 to K16 the number of BFM points to be read can be changed 2x MITSUBISHI 5 5 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 BFM 24 set value of baud rate The setting of the baud rate transmission speed set switch provided in the FX2N 32CCL is saved as a numeric of O to 4 The saved value is determined when the power of the FX PC is turned on If the setting is changed while the power is turned on the changed setting becomes valid when the power is turned on at the next time 0 156 kbps 1 625 kbps 2 2 5 Mbps 3 5Mbps 4 10 Mbps BFM 25 communication status The communication status between the CC Link and the information on the master PC are saved as the ON OFF information to b15 to bO The information on the master PC is valid exclusively while link communication is performed B0 88 Master PCs running Timeout error 89 Master PC error B2 to 58 p10 io 618 Linking is being executed BFM 26 CC Link model code The model code is saved in the following format 01 01 H Recognition code in Version No of system software in the CC Link system FX2N 32CCL Set value of BFM 27 its own station No
21. Examples 6 Program for communication with remote device station X0000 XO000F 1 FROM Hooo0 K1M401 Data link status SW0080 of Unit error Unit ready Data link m remote device station is read seus CALL Pig FX2N 32CCL station No 1 Link normal station No 1 Data link being executed M401 y1 0 gt FX2N 32CCL station No 1 Link error station No 1 Data link error M405 CALL P20 FX2N 32CCL station No 5 Link normal station No 5 Data link being executed M405 11 gt FX2N 32CCL station No 5 Link error station No 5 Data link error FEND Communication with FX2N 32CCL station No 1 M9036 7 7 ead of remote inpu Always FROM i E7H to EOH RX7F to RX00 M627 to M500 ON Write of remote output 0 10908 M827 to M700 167H to 160H RY7F to RYOO Read of remote register RWr EFKOM 99900 NEES 2200 Kig 2EFH to 2E0H RWrF to RWr0 D515 to D500 Write of remote register RWw us H0000 MER 0 6 0615 to D600 1EFH to 1E0H RWwF to RWwO a MITSUBISHI 6 9 FX2N 32CCL CC Link Interface Block Programming Examples 6 Communication with FX2N 1
22. INTERFACE BLOCK FX2n 32CCL MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100 8310 TELEX J24532 CABLE MELCO TOKYO HIMEJI WORKS 840 CHIYODA CHO HIMEJI JAPAN Effective JAN 1999 Specifications are subject to change without notice JY992D71801B MEE 9901
23. M KO KO 40300 K4 BFM 3 to 0 RY3F to RYOO gt M363 to M300 Link being i executed FNC7 ead of remote register dM KO K8 D50 K8 BFM 15 to 8 RWw7 to RWw0 gt D57 to 050 Write of remote input and register Program determining the ON OFF status of remote FNC12 input and the remote register value to be written 5 MOV K30 D10 eens ee FNC12 MOV D100 D17 M7 FNC79 Write of remote input TO KO KO K4M100 4 M163 to M100 BFM 3 to 0 RX3F to RX00 FNC79 Write of remote register TO KO K8 D10 K8 017 to D10 BFM 15 to 8 RWr7 to a MITSUBISHI 6 13 FX2N 32CCL CC Link Interface Block Programming Examples 6 Memo a MITSUBISHI 6 14 FX Series Programmable Controllers Under no circumstances will MITSUBISHI ELECTRIC be liable responsible for any consequential damage that may arise as a result of the installation or use of this equipment All examples and diagrams shown in this manual are intended only as an aid to understanding the text not to guar antee operation MITSUBISHI ELECTRIC will accept no responsibility for actual use of the product based on these illustrative examples Owing to the very great variety in possible application of this equipment you must satisfy yourself as to its suitability for your specific application a MITSUBISHI USER S MANUAL CC Link
24. able R X 2n 1 3 X 2n 1 4 7 Unusable Unusable Unusable Unusable Unusable Unusable X 2n 1 8 Initial data processing request flag X 2n 1 9 Initial data processing completion flag Error status flag B Remote ready C Reserved unusable D Reserved unusable Reserved unusable Reserved unusable RY 2n 1 F Reserved unusable n indicates the number of occupied stations Example When three stations are occupied the device Nos are RY50 to RY5F and RX50 to RX5F a MITSUBISHI 5 12 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 a MITSUBISHI 5 13 FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 5 5 Contents of errors The table below shows the contents of errors indicated by LEDs provided the FX2N 32CCL The causes of an error can be detected based on the contents of the error saved in the buffer memory dedi cated to read BFM 29 and the status of the LED e 5 2 For errors related to the PC and the master unit refer to the user s manual detailed manuals of the PC and the master unit L RUN L ERR Causes of error Extinguished Data link is in the normal status The following causes are estimated For details refer to the user s manual detailed manual of the master unit A cable is disconnected L ERR LED is extinguished on units after the unit in which disconnection has occurred
25. able tes a MITSUBISHI 6 1 FX2N 32CCL CC Link Interface Block Programming Examples 6 Preparation 1 Set the station No set switch the mode set switch the transmission set switch and the condition set switch provided on the master unit r User s manual of master unit 2 Setthe station No set switch the number of occupied stations set switch and the transmission speed set switch provided on the FX2N 32CCL 4 1 Item Setting of FX2N 32CCL station No 1 Setting of FX2N 32CCL station No 5 1 rotary switch 5 rotary switch Number of occupied 4 rotary switch 2 rotary switch stations In accordance with setting in master unit rotary switch Assignment of Number of remote points and No when four Number of remote points and No when two number of stations are occupied stations are occupied SENE points Remote input Remote input RX00 to RX6F 112 points for user area RX00 to RX2F 48 points for user area RX70 to RX7F 16 points for system RX30 to RX3F 16 points for system area Remote output Remote output RYOO to RY6F 112 points for user area RYOO to RY2F 48 points for user area RY70 to RY7F 16 points for system area RY30 to RY3F 16 points for system area Remote register Remote register RWr0 to RWrF 16 points for write RWr0 to RWr7 8 points for write pied stations RWw0 to RWwF 16 points for read RWwO to RWw7 8 points for read Number of
26. ace of top cover Side Inside of top cover POWER LED Lit when 5 VDC power is supplied from the PC main unit L RUN LED Lit while communication is performed correctly LERRLED Lit when a communication error has occurred 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 a MITSUBISHI 2 2 FX2N 32CCL CC Link Interface Block Specifications 2 2 2 General specifications and performance specifications General specifications Dielectric strength 500 VAC for 1 min between external terminals as a whole and ground terminal Other specifications are equivalent to those of the PC basic unit Performance specifications Specifications of FX2N 32CCL Drive power supply 24 VDC 10 50 mA supplied from external terminal Control power supply 5 VDC 130 mA supplied from PC via extension cable Insulation method Network bus and internal power supply are insulated each other by photocoupler Station type Remote device station Station No 1 to 64 set by rotary switch STATION No otre 1 0 65 to 99 Setting error Station No 10 s digit 1 s digit Number of stations Number of stations 1 to 4 set by rotary switch OCCUPY 0 1 station 1 2 stations STATION 2 3 stations 3 4 stations 4 to 9 Not available The number of remote I O points in o
27. ach rotary switch while the power of the PC is turned off If setting of a rotary switch except the rotary switch for the number of stations is changed while the power of the PC is turned on the L ERR LED is lit 1 Station No 1 Station No 1 to 64 Set switch 2 Numberof STATION occupied stations No 20 8o 7 Set switch 32CCL 0 oin vou x1 NO STATION AA Ste x10 e 9 96 x10 s x OCCUPY STATION 0 1st 10 s digit 1 s digit 1 2st 2 3 3 4st POWER OCCUPY STATION 90 0 9 8 3 Baud rate set switch 2 Number of stations 1 to 4 Set the station No within the range of 1 to 64 One to four FX2N 32CCL units can be used at a time Pay attention so that the station No set here is not assigned to an other unit 0 65 to 99 Setting error Numerics 1 to 3 correspond to 1 to 4 stations respectively 0 1 station 3 4 stations 1 2 stations 4 to 9 Not available 2 3 stations The number of remote device points is deter mined by the number of stations set here 4 2 a MITSUBISHI 4 1 FX2N 32CCL CC Link Interface Block Setting of Remote Device Stations 4 3 Baud rate transmission speed 156 kbps 625 kbps 2 5 Mbps 5 Mbps 10 Mbps Numerics 0 to 4 correspond 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 transmissio
28. al 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 OF data SW4 in a station in which a data link error has occurred OFF Data is cleared All ON The data just before an error occurred is held 2 Remote register RWw RWr remote input RX remote output RY The data just before an error occurred is held without regard to setting of the SW4 Never bind the communication cable together with the main circuit the power cable etc Never locate the communication cable near the main circuit the power cable etc Keep the communication cable by 100 mm or more from the main circuit the power cable etc If this distance is not kept malfunction may occur due to noise a MITSUBISHI 24 FX2N 32CCL CC Link Interface Block Specifications 2 2 1 Outside dimensions and nomenclature Outer paint color Munsell 0 08GY 7 64 0 81 Accessories Special block No label Weight Approx 200 g External 24 VDC 43 1 69 87 3 42 EL EA eee ground terminal C E Station No 07 switch Extension alma cable Number of aot FX2N 32CCL T stations h 8 8 DIN rail set switc Slee 35mm 1 38 Next step mounting extension bezel 5 connector 2 4 5 0 18 Baud rate Mounting Es set switch hole J 4 0 16 inches Front f
29. ed pair cable This paragraph describes a recommended twisted cable usable in the CC Link If any cable other than the recommended one shown in the table below is used the performance of the CC Link is not assured The table below shows the model name and the specifications of the recommended cable Model name FANC SB 0 5mm X3 Cable type Shielded twisted pair cable Conductor cross sectional area 0 5mm Conductor resistance 20 C 37 8 Q km or less Insulation resistance 10 000 MQ km or more Withstand voltage 500 VDC 1 min Electrostatic capacity kHz 60 nF km or less Characteristic impedance 1 MHz Sheath Cross section Outside dimensions Approximate weight About the shielded twisted pair cables consult the nearest MITSUBISHI ELECTRIC CORPORATION service a MITSUBISHI 3 3 FX2N 32CCL CC Link Interface Block Connection and Wiring 3 Wiring of twisted pair cable Wire the FX2N 32CCL and the CC Link using shielded twisted pair cables as shown in the figure below Master FX2N 32CCL Remote I O unit unit 1 0 DA n E DA DA Terminal resistor j s DB resistor D G D G PG D G SLD Shielded twisted 1 SLD f L SLD pair cable FG FG FG Class 3 Class 3 Class 3 grounding grounding grounding Connect the terminals D
30. egister point range RWrO to RWrF varies depending on the selected number of stations 1 to 4 4 2 Example in which D100 to D115 the FX PC are written to BFM 8 to BFM 23 PC data register o instruction FNC12 MOV K20 D100 FNC12 MOV 5 D101 FNC12 MOV K55 D115 RWr0 Program AVR determining the ON OFF status RWrF Write by TO instruction D115 to D100 BFM 8 FNC79 TO KO K8 D100 K16 Block No Transfer Transfer Number of transfer destinat ion BFM 8 source points BFM 8 to BFM 423 16 points 1 By changing the number of transfer points within the range of K1 to K16 the number of BFM points to b