Home
FX2N-16CCL-M CC-Link SYSTEM MASTER BLOCK USER'S
Contents
1. M8002 M20 M35 MOV H0101 012 Initial pulse Module Module error ready MOV H0102 013 MOV H1403 014 MOV H1207 015 MOV H1209 D16 TO H0020 012 K5 RST M1 M8002 T SET M40 Initial pulse M20 M35 AF PLS M2 Module Module error ready M2 SET M3 M3 SET M46 M26 RST M46 RST M3 M27 FROM H0668 0100 K1 RST M46 RST M3 Registration 5 PLS M4 Module Module error ready M4 SET M5 M5 SET M50 M30 RST M50 RST M5 M31 FROM KO 6 9 0101 K1 RST M50 RST M5 M8000 HA 4 40 K1 RUN monitor Remote I O station Remote I O station Remote device station reserved station Remote device station Remote device station Refresh command When data link startup by buffer memory parameters is normally completed When data link startup by buffer memory parameters is abnormally completed When parameter registration to EEPROM is normally completed When parameter registration to EEPROM is abnormally completed M55 to 40 MITSUBISHI 7 9 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 2 For operation
2. Station No Invalid station Remote Master station station Station No 1 Station No 2 occupies 4 Station No 7 Station No 9 2 bbs vo e pubs vO stations Remote device station Remote device station occupies 1 station occupies 1 station occupies 2 stations occupies 2 stations X pu 20 1 For debugging M8000 FROM HA K4M20 K1 BFM AH M35 to M20 RUN monitor M20 M35 T PLS MO Module Module error ready MO SET M1 M1 MOV K5 00 Number of connected modules 5 modules MOV K3 D1 Number of retries 3 times MOV K2 D2 Number of automatic return modules 2 modules TO KO H0001 DO K3 MOV KO D3 Operation specification against CPU down stop TO KO H0006 D3 K1 M1 E MOV H0004 D4 Reserved station specification TO H0010 04 K1 MOV H0100 DS Invalid station specification TO KO H0014 D5 K1 a MITSUBISHI 7 8 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 Data link by buffer memory parameters Parameter registration to EEPROM
3. M8000 FROM 4 20 K1 BFM ZAH M35 to M20 RUN monitor M8002 SET M40 Refresh command Initial pulse M20 M35 r PLS Module Module ready SET M1 1 SET M48 l Data link by M28 RST M48 When data link startup by parameters EEPROM parameters is normally completed RST M1 29 FROM H0668 D100 K1 When data link startup by RST M48 EEPROM parameters is 1 abnormally completed RST Mt M8000 l TO 4 40 K1 M55 to M40 gt BFM AH MITSUBISHI 7 10 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 Data Link Procedure Use the module in the environment for the general specification described in Chapter 4 of A INSTALLATION PRECAUTIONS this manual Do not use the PLC in a place with dust soot conductive dust corrosive gas or combustible gas place exposed to high temperature condensation wind or rain or place with vibration or impact Using the module outside the range of the general specification or in a place above may result in electrical shock fire malfunctions or may damage the PLC When drilling screw holes or performing wiring make sure that cutting chips wire chips or other foreign matter does not en
4. BFM Write Reference Output number number bit e in Series Y n 1 0 b1 1 1 b2 Y n 1 2 b3 Y n 1 3 b4 1 4 b5 Y n 1 5 b6 Y n 1 6 BFM 7 1 7 BH D Prohibited to use 1 1 58 Y n 1 8 b9 Y n 1 9 b10 Y n 1 A b11 Y n 1 B b12 Y n 1 C b13 Y n 1 D b14 Y n 1 E b15 Y n 1 F Important The output signals prohibited in the table above are used by the system thus cannot be accessed by the user If used normal operations cannot be guaranteed a MITSUBISHI 4 14 FX2N 16CCL M CC Link System Master Block Specification 4 4 44 signal details This section describes the ON OFF timing the conditions etc of the I O signals shown Section 4 4 3 Read signals 1 Read module error BFM AH bO Indicates whether the module is normal or not OFF The module is normal ON The module is abnormal Module error input BFM AH b0 Module ready input b15 3 2 Read data link status in host station b1 Indicates the data link status in the host station OFF Data link is stopped ON Data link is in progress 3 Read parameter setting status b2 Indicates the parameter setting status in the host station The signal SBOO6D has the same meaning OFF The setting is normal ON There is an
5. 9 3 2 Link special register SW Table 9 2 Number punar Name Description memory p Selects whether or not to specify two or more temporary error invalid stations Specification of 00 Specifies two or more stations stored in SW0004 SW0003 603H multiple temporary 01 to 15 Specifies a single station whose station error invalid stations number is 1 to 15 The number indicates the station number of a temporary error invalid station Specifies temporary error invalid stations 0 Does not specify as temporary error invalid station Temporary error 1 Specifies as temporary error invalid station SW0004 604 invalid station b15 b14 613 b12 b2 bi bO ope 1 specication sw0004 15 14 1131 4 8 2 1 Numbers 1 to 15 above indicate station numbers Sets the stations to be subject to the line test Line test station 0 Entire system The line test will be executed to all SWO0008 608H settin stations 9 01 to 15 Station to be subject to the line test Default 0 Indicates the module status SW0020 620H Module status 0 Normal Other than 0 Error code Refer to Section 13 3 Stores the execution result of data link restart SWO0041 6414 Result of data link specification by SB0000 restart 0 Normal Other than 0 Error code Refer to Section 13 3 Stores the execution result of data link stop specification SWOO45 645H Result of d
6. 5 a U Main unit 5 E E Remote module For DC input Ac Module power Input external supply power supply Stabilized power supply 24V DC n 5 U Main unit E Remote module For AC input Module power Input external supply power supply M Stabilized 4 power supply 24V DC Remarks When supplying power from one power source to multiple remote modules select cables and perform wiring with considerations to the voltage drop caused by the cables Connections can be established if the receiving port voltage of the remote module is within the specification range of the remote module Stabilized power supply Remote module Remote module MITSUBISHI FX2N 16CCL M CC Link System Master Block Specification 4 4 Specification DESIGN PRECAUTIONS Refer to Chapter 13 in this manual for the status of each station when a communication error occurred in the data link When executing control data changes to an operating PLC construct an interlock circuit in the sequence program so that the entire system always works conservatively In addition when executing control such as program changes and operation status changes status control to an operating PLC thoroughly read the manual and sufficiently confirm safety in advance Espe
7. x X Od Number Name Description 7 Condition setting Sets the operation condition Default setting at shipment All OFF switch Number Setting description Switch status OFF ON ON gt ON OFF 1 gt SW1 Unusable Always OFF o SW2 Unusable Always OFF HD SW3 Unusable Always OFF SWA Input data status in data link faulty station HD SW5 Unusable Always OFF SW6 Unusable Always OFF SW7 Unusable Always OFF SW8 Unusable Always OFF 8 Terminal block Connects dedicated CC Link cables to enable data link For the connection method refer to Section 8 4 8 The terminals SLD and FG are connected inside 8 09 00 MES 09 9 Terminal block Connects the power supply to operate the master block Extension cable Connects the PLC Next step extension connector Connects an extension equipment DIN rail mounting groove DIN46277 DIN rail mounting groove of 35 mm 1 38 in width MITSUBISHI 8 7 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 3 Master Block Status Check Hardware Test Check in the master block single module whether it operates normally Make sure to execute this hardware test before constructing the system Execute the test using the following procedure Start ww Connect a
8. PLC Master station Station No 1 Occupies 2 stations Station No 3 Occupies 2 stations 1 1 n Poe RE ec c en mcis A ee ERE 1 Remote register RW Remote register RW lo AN ENS od Rwro RWr0 EA RWr1 TE RWr1 RWr2 RWr2 RWr3 RWr3 RWr4 RWr4 RWr5 RWr5 RWr6 RWr6 TNT Rw Remote register RWr RWr8 RWr0 RWr9 RWr1 RWrA RWr2 RWIB RWr3 RWrC gy RWr4 RWrD RWr5 RWrE RWr6 RWrF RWr7 RWr10 ju Lue ee mE Lomi E EN ES EN DU sed l RWr3B i ME l jd p q id 1 sa MITSUBISHI 5 8 FX2N 16CCL M CC Link System Master Block Functions 5 5 4 Communication in Compound System This section describes the overview of the communication in the system in which remote I O stations and remote device stations exist together Remote I O station Remote device stati
9. digital output value ane e A output valve D111 1 RWw D112 1 RWw M E tal output D113 TO For station 1EDH RWw D igital output value al 4 Error code 0114 4 RWw ce in eee ee nuse D115 1 RWw seg 0116 1FOH RWw 10 i s nee cue e met SEES TS EE S Unused D117 For station 1 1 RWw 11 D118 5 1F2H RWw 12 D119 1 RWw 13 Remote device station station No 3 FX2N 32CCL Remote register RWr 4 D200 2E0H CH1 digital output value Remote register RWw LUE need cH eund D For station 2E1H CH2 digital output value RWw 0 0202 No 1 2 2 digital output value RHRww1 I Y o IAE S NAE IW d 0203 TROMI 2E3H CH4 digital output value RWw2 E EN o T 2 4 _ Errorcode RWw 3 MEM ccc a Forstation 2E5H RWr5 RWw 4 l D2 No 2 2E6 71 IN E RWw5 0207 2 7 RWr 7 RWw 6 0208 2E8H RWr 8 Po E I CU obe dE V EE D20 For station 2E94 RW 9 Z RWw 8 0210 3 2 RWr A mg 34 D211 2EBH RWr B 0212 2ECH RWr C ll ueber ni R P
10. 2 Setting example a System configuration example When the remote I O station No and the remote device station No 7 are made invalid in the system in which three remote stations and two remote device stations are con nected Modules to be set as error invalid stations Station No Station No No 7 Remote Remote Remote Master device station device station device station station occupies 2 Station No 3 Station No 4 occupies 2 occupies 4 stations Remote Remote stations stations station occupies station occupies 1 station 1 station b Buffer memory setting example Set to ON the 2nd bit corresponding to the station No 3 and the 6th bit corresponding to the station No 7 Set 44H to the 14 515 514 513 512 bii 510 b9 b8 b7 06 b5 b4 b3 b2 bi BFM 14H 0 010 00 110 0 1 0 0 MITSUBISHI 5 16 FX2N 16CCL M CC Link System Master Block Functions 5 5 7 Data Link Status Setting against Error in Master Station PLC This function sets the data link status for a case in which an operation stop error occurs in the master station PLC Point Even if an operation continue error occurs in the master station PLC the data link continues Setting method Set the
11. yoo g JaIseyy 5 20 W 19091 NEX4 p FX2N 16CCL M CC Link System Master Block Specification 4 4 4 7 Remote output RY The output RY status to remote I O stations and remote device stations is stored as below Each station uses 2 words Master station Remote I O station Station No 1 Occupies 1 station Remote device station Station No 2 Occupies 2 stations Address i Forstation 160 No 1 161H For station 1628 No 2 163H For station 164 No 3 165H For station 166H 4 167 Forstation 168 No 5 169 Forstation 1 by Pe 16BH Forstation 16CH No 7 160 For station 16 No 8 16 For station 160H No 9 171 172 17 For station 17CH No 15 170 Remote output RY RY F RY 0 YOF YOO RY 1F RY 10 RY 2F RY 20 RY 3F RY 30 Y1F Y10 T Remote input RY RYOF RY1F RY10 RY 4F RY 40 RY 5F RY 50 RY 6F RY 60 RY 7F RY 70 RY 8F RY 80 RY 9F RY 90 RY AF RY AO RY RY BO RY CF RY CO RY DF RY DO RY EF RY E0 RY FD RY FO RY10F RY100 RY11F RY110 RY1CF RY1CO RY1DF RY1DO PERENE eee ae
12. 5 23 5 12 Temporary Error Invalid Station Specification Function 5 24 5 12 1 status when temporary error invalid stations are 5 24 5 12 2 Link special relays and registers SB and SW related to temporary error invalid station specification 5 24 5 12 3 Temporary error invalid station specification 5 26 6 Data Link Processing Time eeeeeeesss esses 6 1 6 1 Status of Each Station when an Error has 6 1 p 2 Ik Scans ones A das CR a A oun ORA MSS Rd Yen a nse 6 3 0 3 Transmission Delay TTG a iecur rts pea to ond te 6 4 6 3 1 Master station lt gt remote I O station 6 4 6 3 2 Master station lt gt remote device station 6 6 7 Parameter Setting scan cist M LI LLL ILL DELE 7 1 7 1 Procedure from Parameter Setting to Data Link 7 1 7 1 1 Relationship among buffer memory EEPROM and internal 7 1 7 1 2 Procedure from parameter setting to data link 7 3 7 2 Parameter Setting deer ees 7 4 7 3
13. SET M1 M1 M48 Datalink by M28 RST M48 When data link startup by parameters EEPROM parameters is normally completed RST M1 M29 l Hoses 0100 Ki When data link startup by RST M48 EEPROM parameters is abnormally completed RST M1 M8000 TO KO HA K4M40 K1 M55 to M40 gt BFM AH s MITSUBISHI 11 5 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 11 2 2 Program for communication The figure below shows a program to control remote device stations It is supposed that the relationship among the PLC the master station buffer memory and the remote device stations is as shown below For the details of remote device stations refer to the user s manual of each module Remote input RX and remote output RY Remote device station station No 1 PLC Master station AJ65BT 64AD i 1 e Address Remote input RX Remote input RX M115 M100 FROM For station EO RX F RX 0 RXOF RXOO 4 1 M131 M116 a No RX1F RX 10
14. 13 12 13 4 4 When link is stopped in the master 13 12 13 4 5 When power supply to a remote I O station is turned 13 13 13 4 6 When power supply to a remote device station is turned off 13 13 13 4 7 When a station number 13 14 13 4 8 When the transmission speed is incorrectly 13 14 13 4 9 When the switch setting is changed during data 13 15 13 4 10When data link is started with a switch set outside the allowable range 13 15 13 4 11When a remote I O station is not set in the parameter and set as a reserved 13 16 13 4 12When a remote device station is not in the parameter and set as a reserved station 13 16 App Nd de etc CE 14 1 MITSUBISHI x FX2N 16CCL M CC Link System Master Block Introduction 1 1 1 Introduction Associated Manuals Table 1 1 Programming Manual II Manual name Manual number Description FX2N 16CCL M JY992D93201 Describes the name of each part and handling of User s Guide packed with product the CC Link master block FX2N 16CCL M FX1Ss FX1N FX2N FX2NC JY992D88101 Explains the instructions in the FX1S FX1N FX2N sent separately FX2NC Series
15. M8002 SET M40 Refresh command Initial pulse i M20 M35 PLS M2 Module Module 2 SET M3 SET M46 y 26 Data link by buffer RST M46 When data link memory parameters 5 memory parameters RST M3 is normally completed M27 FROM H0668 0100 K1 When data link startup by buffer RST M46 memory parameters is abnormally completed RST M3 r i i Registration command M20 M35 PLS M4 error ready M4 SET M5 M5 SET M50 Parameter M30 registration to RST M50 When parameter EEPROM registration to EEPROM is normally RST 5 completed M31 1 KO HO6B9 0101 K1 When parameter registration to RST LENSO E PROM is abnormally completed RST M5 M8000 T TO K4M40 K1 M55 to M40 gt BFM AH RUN monitor MITSUBISHI 11 4 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 For operation M8000 FROM KO HA K4M20 K1 BFM AH gt M35 to M20 RUN monitor M8002 SET M40 Refresh command Initial pulse M20 M35 PLS Module Module
16. PLC CPU Master station E PROM SETMLILI H Buffer memory b10 Parameter information area The data link is BFM AH b8 executed using the meral parameters registered memory in the internal memory 7 Data link status setting for a case where an error occurs in the CPU in the master station PLC The data link status can be set to stop or continue for a case where an operation stop error such as a PLC program error occurs in the master station When an operation continue error such as a battery error occurs the data link continues without regard to the setting 8 Status setting of the input data from a data link faulty station The data input received from a data link faulty station can be cleared or kept in the status right before an error occurs 9 Module reset function from a sequence program When the switch setting is changed or an error occurs in the module the module can be reset from a sequence program without resetting the PLC This excludes when the module has a module faulty input BFM No bO is ON 10 RAS function a Automatic return function When a station was disconnected from the link due to power OFF etc then returns to normal status the station can join the data link again automatically b Link status check Using the link special relay SB and the link special register SW
17. Remote I O module OFF power supply status 2 Momentary power failure in remote I O modules When momentary power failure occurs in the power 24V DC supplied to remote I O modules erroneous input may occur d Cause for erroneous input due to momentary power failure The remote I O module hardware converts the module power 24V DC into 5V DC inside the module then uses the 5V DC When momentary power failure occurs in a remote I O module the following condition occurs Time until 5V DC inside remote I O module turns off gt Input module ON OFF response time Therefore erroneous input is caused when refresh is executed within the period of time indicated by in the diagram below D Remote module iva module power supply and input m external power supply gd Remote I O module Ld internal 5V DC Input X Because the input external power supply is turned off the input X turns off after the input module ON OFF response time MITSUBISHI 3 11 FX2N 16CCL M CC Link System Master Block System Configuration 3 e Countermeasures against erroneous input Wire the module power supply the stabilized power supply and the input external power supply from the same power source
18. 17DH a at Only RY4F to RY48 used MITSUBISHI 10 6 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O Stations 10 M20 M35 M21 ink MC NO M500 Data link is being executed in the Module Module ata link status in j error ready host station master station NO M500 M8000 Reads the data link status in each RUK FROM KO H0680 4 400 K1 station SW0080 monitor M400 M550 There is an error in the remote station No 1 M401 M551 There is an error in the remote station No 2 M402 There is an error in the remote I O Mong station No 3 M8000 FRoM Reads from the remote input RX RUN monitor FROM KO HOOE4 2 164 K1 r M100 When the inputs XOF to For 7000 X00 in the AJ65BTB1 Read ornmunication 6 16D turn ON the outputs FROM i AJ65BTB1 16D 017 Y000 to Y017 in the PLC station No 1 turn ON X000 When the inputs X000 to n M200 X017 in the PLC are set Write communication to ON the outputs YOF to AJGSBTB1 16T x917 00 in the AJ65BTB1 3 215 station 2 16T turn ON M164 When
19. 12 1 12 1 2 Setting of remote I O Station eene entente 12 2 12 1 3 Setting of remote device 12 2 12 2 Creating Program etc t n erede adr 12 3 12 2 1 Program for 12 3 12 2 2 Program for sisstin eraa a E S 12 6 12 3 Exe cution of Data LINK ea eet tot e teste tete us ee pese Pea 12 9 12 3 1 Confirmation of operation by LED 12 9 12 3 2 Confirmation of operation by 12 10 MITSUBISHI ix FX2N 16CCL M CC Link System Master Block Contents cos ioo stre osea itd oo oec ide S o estos iater 13 1 13 1 Verification when Trouble 13 2 13 2 Troubleshooting when ERR LED is Flashing in Master Station 13 5 19 S Error BOR dd LAN a 13 7 19 4 LED Indication Status een ce xao teur 13 11 13 4 1 When data link is normal sse nennen 13 11 13 4 2 When cable is 13 11 13 4 3 When a cable is
20. 1 When there is an overlap the M S LED flashes and the overlap status is stored in SW0098 2 Even if overlap exists data link can be continued with other normally functioning stations 3 When the switch setting is corrected to the normal status and the write request for data link startup is given again BFM AH b6 b8 is set to ON the M S LED turns off and the data stored in 5 0098 is cleared MITSUBISHI 5 23 FX2N 16CCL M CC Link System Master Block Functions 5 5 12 5 12 1 5 12 2 Temporary Error Invalid Station Specification Function This function allows a remote station to be replaced in the online status without detecting an error in the corresponding module Different from the error invalid station specification by parameters error invalid stations can be temporarily specified with arbitrary timing status when temporary error invalid stations are specified In a station specified as a temporary error invalid station all the cyclic transmission data is refreshed If an error occurs in a station specified as a temporary error invalid station the input is kept and the output is set to OFF Link special relays and registers SB and SW related to temporary error invalid station specification function This section describes the link special relays and registers related to the temporary error invalid station specification function 1 Link special relays SB The table below shows the
21. Re ae a A ee a MITSUBISHI 4 29 0 v BFM number 160H 161H 162H 163H 164H 165H 166H 167H 168H 169H 16AH 16BH 16CH 16DH 16EH 16FH 170H 171H 172H 173H 174H 175H 176H 177H 178H 179H 17AH 17BH 17CH 17DH AY 1ndino pue Jequunu Jejseuu sayng eouepuodseuo yoo g JaIsey 5 20 W 19091 NEX4 p FX2N 16CCL M CC Link System Master Block Specification 4 4 4 8 The data transmitted to the remote register RWw in remote device stations is stored as below Each station uses 4 words Remote register RWw Master station Remote I O station Station No 1 Occupies 1 station Master station gt Remote device station Remote device station Address 1E0H For station 1E1H No 1 1 2 1 1 4 1 For station T No 2 1E6H 1E7H 1 8 For station HES No 3 1EAH 1 1 1EDH For station No 4 1 1FOH 1F1 For station No 5 1 2 1F3H 1 4 1 5 For station No 6 1F6H 1F7H 1 8 1F9H For station No 7 1FAH 1F
22. 1 1 T elated eiecit at e metti f dent cathe ct tt MERE 1 1 1 2 General Names and 1 2 2 OVER T RETE CS 2 1 2 1 Overview of CC Link SystelTis 2 1 2 2 Overview of CC Link Master Block 2 16 2 1 2 3 5 5 secu ahah A en een ID eee 2 2 2 4 Major Differences from A QnA Q 2 6 3 System GoDfIQUreliQDiss sod ee tox ei ee ie od ape ey 3 1 3 1 Total Configuration es sss mtt te ac ates Ud 3 1 9 2 Applicable PLG uos oe por nd oa A aves 3 1 3 3 Configuration Example x ce tec ds and aces cag ether Ces Qu he ate eoe en e desea 3 2 3 3 1 Example of maximum configuration seen 3 2 3 3 2 Scan time of PLC and connection of two or more master blocks 3 3 3 3 8 Example of connection of two or more FX Series 3 4 3 3 4 Example of connection to the CC Link system for the A QnA Q Series 3 5 3 4 Number of Occupied Stations and Station numbers as well as Number of Modules and Number of 3 6 3 5 System Equipment List oon teo ee cet
23. Write to remote output RY 2 Create such a program that read of received data and write of transmission data are executed after the host station becomes the data link status after the BFM AH b1 turns ON Input of Input of module Input of data link module error ready status in host station BFM AH b0 BFM AH b15 b1 Moo Moo MOO MC NO MO Program for communication MCR NO 9 1 MITSUBISHI FX2N 16CCL M CC Link System Master Block Programming 9 3 Create such a program that detects the data link status in remote stations and remote device stations and executes interlock Create a program for error handling SW0080 Data link status in other stations MOU MOO H FROM Module Module Data link status in KO H0680 K4MO K1 error ready host station Program for error handling i L j Station No 1 Program normal status Wee Sete wae eee A eee nie Soe d M1 1 tt Station No 2 Program in normal status s MITSUBISHI FX2N 16CCL M CC Link System Master Block Programming 9 9 2 Programming Procedure This section describes the program creation procedure 9 2 1 Communication between master station and remote I O stations The flowchart
24. RX1DF RX1DO MITSUBISHI 5 11 FX2N 16CCL M CC Link System Master Block ON OFF information from the master station to the remote I O station remote device station 5 The PLC writes the ON OFF information to be transmitted to the remote I O station and the remote device station to the buffer memory remote output RY in the master station using the TO instruction 6 The output status of the buffer memory remote output RY in the master station is automatically for each link scan transmitted to the output Y in the remote I O station and the remote output RY in the remote device station PLC Remote station station No 1 Remote output RY RYOF RYOO YOF YOO RY1F RY10 RY2F RY20 RY3F RY30 YAF Y10 Remote device station station No 2 Remote output RY RYOF RYOO RY4F RY40 RY5F RY50 RY6F RY60 RY7D RY70 RY8F RY80 RY9F RY90 RYAF RYAO RYBF RYBO RYCF RYCO RYDF RYDO RYEF RYEO RYFD RYFO RY10F RY100 RY1DF RY1DO MITSUBISHI FX2N 16CCL M CC Link System Master Block Functions 5 Word information from the master station to the remote device station 7 The PLC writes the word information to be transmitted to the remote device station to the buffer memory remote register RWw in the master station using
25. Series PLC FX2N 16CCL M FROM 4 instruction Remote input Link scan Remote input Internal relay RX BFM RX TO instruction Remote output Link scan Remote output Internal relay RY BFM RY Datar dister Remote device Remote device D 9 TO instruction station station RWw BFM RWw i _ FROM Remote device Remote device Data register instruction Link scan station station RWr BFM RWr Voltmeter instruction transfer sources can be used 1 Devices which can be specified as FROM instruction transfer destinations or MITSUBISHI FX2N 16CCL M CC Link System Master Block Overview 2 3 System down prevention slave station cutoff function Because the system employs the bus method even if there is a remote station which goes down due to power OFF etc it will not affect the communication with other functioning stations Also in the case of a module equipped with a 2 piece terminal block the module can be replaced during data link Turn off the power of a module to be replaced then replace it However if a cable is broken data link is disabled in all stations Refer to Section 5 11 2 Station No 3 Station No 8 Remote Remote Master device device station Station No 1 Station No 2 station Station No 7 station 4 4 Remote VO station Remote yo station stations Remote yo stati
26. MITSUBISHI 9 8 FX2N 16CCL M CC Link System Master Block Programming 9 Buffer memory Ya Number Name Description Number Bit Indicates the error invalid station specification status Error invalid station by parameter SW0078 SBOOrS specification status OFF Not specified ON Specified Temporary error Indicates the temporary error invalid station SB0076 5E7H 6 linvalid station Speoncsnon WOUZE specification status OF eOr P ON Specified Detects change in setting switches in host awien Change station during data link SB0078 5E7H 8 ee host OFF No change ON Change Indicates the data link status with remote stations Data link status SW0080 SEGN 0 other stations OFF All stations are normal ON Some stations are faulty Watchdog timer Indicates the watchdog timer error occurrence status 9 ur in other stations SW0084 SB0081 5E8H 1 error status in other stations SEES Meena ON Error Indicates the fuse blowout occurrence status in other CUBO eIOWOUE stations SW0088 SB0082 5E8H 2 e other OFF No error ON Error Switch change Detects change in the setting switches in other SBO083 CHIEN NOH stations during data link SW008C stations OFF No change ON Change a MITSUBISHI 9 9 FX2N 16CCL M CC Link System Master Block Programming 9
27. MITSUBISHI 11 6 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 Remote register RWw RWr Remote device station station No 1 PLC Master station AJ65BT 64AD Address Remote register RWw Remote register RWw 99 1 SEES RN 4 average time CHT average timer D101 station 1E1H Abe 9i imes imes aee TE L qumberol mes puber ftmes average time average 0103 1E3H car oP imes of imes Lo 1 4 number oftimes number oftimes 0105 For station 1E5H Data type Data type eget eee No 2 1Egu conversion eriabter A D conversion emable ie oom H _ disable specification disablespeciication 1 D107 1 7 RWw 7 Unused 0108 1E8H RWw 8 Ie ngage awws Remote register RWr
28. Device assignment sheet remote register Table 14 4 Spare Write RWw Read RWr 1 RWwO to RWw3 gt RWr0 to RWr3 gt 2 RWw4 to RWw7 gt RWr4 to RWr7 gt 3 RWw8 to RWwB gt RWr8 to RWrB gt 4 RWwC to RWwF gt RWrC to RWrF gt 5 RWw10 to RWw13 gt RWr10 to RWr13 gt 6 RWw14 to RWw17 gt RWr14 to RWr17 gt 7 RWw18 to RWw1B gt RWr18 to RWr1B gt 8 RWw1C to RWw1F gt RWr1C to RWr1F gt 9 RWw20 to RWw23 gt RWr20 to RWr23 gt 10 RWw24 to RWw27 gt RWr24 to RWr27 gt 11 RWw28 to RWw2B gt RWr28 to RWr2B gt 12 RWw2C to RWw2F gt RWr2C to RWr2F gt 13 RWw30 to RWw33 gt RWr30 to RWr33 gt 14 RWw34 to RWw37 gt RWr34 to RWr37 gt 15 RWw38 to RWwsB gt RWr38 to RWr3B gt MITSUBISHI 14 8 FX2N 16CCL M CC Link System Master Block Appendix 14 MEMO MITSUBISHI 14 4 Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential damage that may arise as a result of the installation use and or programming of the products associated with this manual All examples and diagrams shown in this manual are intended 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 Owing to the very great variety of possible applications users must satisfy themselves
29. Indicates the ON OFF or flashing status PRM OR TIME 00 LINE O sD RD PWLRUNSD RD LEER e o o PLC Master station Remote I O Remote device station station Terminal BS UA Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC afa MITSUBISHI 13 13 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 4 7 When a station number overlaps The example below shows a case in which a station number overlaps in a remote I O station and a remote device station Because a skipped number number without a slave station is made in the system due to station number overlap the ERR LED indicator is flashing in the master station 13 4 8 When the transmission speed is incorrectly set The example below shows a case in which the transmission speed setting is wrong in a remote device station The L RUN LED indicator is OFF in a remote device station in which the transmission speed setting is wrong RUN e ERR MST TEST O JESI S e Indicates the ON status PRON S O Indicates the OFF status FXen 16CCL M Indicates the flashing status SW Indi Indicates the ON OFF or flashing status PRM OR TIME 00 LINE O SD RD PWLRU
30. Read abnormal completion of data link startup by buffer memory parameters b7 Read parameter setting status b2 Startup processing aniooes status in host station 0 Error code Write request for data link startup by buffer memory parameters BFM AH b6 s MITSUBISHI 4 18 FX2N 16CCL M CC Link System Master Block Specification 4 8 Read normal completion of data link startup by EEPROM parameters BFM AH b8 Indicates the normal completion status of the data link startup request by the write request for data link startup by EEPROM parameters BFM AH 08 a When the write request for data link startup by EEPROM parameters BFM AH 08 is set to ON the contents of the EEPROM parameters are checked When the contents are normal the system automatically starts data link b When data link startup is normally completed the read normal completion of data link startup by EEPROM parameters BFM AH b8 turns ON When the write request for data link startup by EEPROM parameters BFM AH b8 is set to OFF the read normal completion of data link startup by EEPROM parameters BFM AH b8 turns OFF Read normal completion of data link startup by EEPROM parameters BFM AH b8 Read parameter setting status OFF BFM AH b2 tartup S processing 0 Parameter status in host station SW0068 1 Write request for dat
31. 8 16 8 7 2 Check of communication status with specific remote station line test 2 8 18 8 8 Parameter Check Parameter Verification 8 20 9 ProgrammMING 9 1 9 1 PRECAUTIONS in Programming oce ce rete etant tte mre rS v epo den 9 1 9 2 Programir ling Proe6edire oiu aac he ot nitet den RR NUR RE E ce tec 9 3 9 2 1 Communication between master station and remote I O stations 9 3 9 2 2 Communication between master station and remote device stations 9 4 9 2 3 Communication in compound 9 5 9 3 Link Special Relay Register 58 5 9 6 9 3 1 Link special relay SB 9 6 9 3 2 Link special register 9 10 10 Communication between Master Station and Remote I O Stations 10 1 10 1 System oe tp nk tr ert RR Haa RR EORR Dh 10 1 10 1 1 Setting of master 10 1 10 1 2 Setting of remote I O Station 10 2 10 2 Cr atindg a PEOGEAITE Ep bua eid 10 3 10 2 1 Program for parameters EREE irte tert Ee Leyes 10 3 10 2 2
32. Data flow FROM FROM PLC Buffer memory in master station Remote register RWr 1j i Al aa Link scan LS Remote device station IH Remote register RWr f s MITSUBISHI 6 9 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 MEMO s MITSUBISHI 6 10 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 7 Parameter Setting This chapter describes the parameter setting required to execute data link in the CC Link system 7 1 Procedure from Parameter Setting to Data Link Startup This section describes the flow from parameter setting to data link startup 7 1 1 Relationship among buffer memory EEPROM and internal memory This section describes the relationship among the buffer memory the EEPROM and the internal memory in the master station 1 Buffer memory This is a temporary storage area to write the parameter information to the EEPROM or the internal memory When the power of the master block is turned off the parameter information is erased 2 EEPROM Only by setting to ON the write request for data link startup by EEPROM parameters BFM AH b8 data link can be started up This eliminates the necessity to write parameters to the buffer memory every time the master station starts up However the parameter should be registered in advance to the EEPROM by the write request for paramet
33. Continues data link excluding the down station Terminal resistor Point When a cable is broken the data link is disabled in the entire system because terminal resistors do not function any more Terminal resistor Remote Remote Master station Down device device station station Remote Remote station station A EN a lt A N Wire breakage Terminal resistor a MITSUBISHI 5 22 FX2N 16CCL M CC Link System Master Block Functions 5 5 11 3 Station number overlap check function This function checks the status of actually connected stations when the write request for data link start is given when BFM AH b6 b8 is set to ON and checks whether the assigned station numbers overlap Example Remote device station station No 1 occupying 4 stations Station Station Station Station No 1 No 2 No 3 No 4 Remote device station station No 4 occupying 2 stations Overlap ied Station Station However if the starting head number overlaps it is not No 4 No 5 regarded as an overlap check target Example Remote device station station No 1 occupying 4 stations Station Station Station Station No 1 No 2 No 3 No 4 Remote device station station No 1 occupying 2 stations ar head Station Station No 1 No 2
34. FROM KO H0668 D100 Ki When data link startup by RST M48 EEPROM parameters is abnormally completed RST M1 M8000 TO KO HA K4M40 K1 M55 to M40 gt BFM AH s MITSUBISHI 12 5 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 12 2 2 Program for communication The figure below shows a program to control the remote I O station and the remote device station It is supposed that the relationship among the PLC the master station buffer memory the remote I O station and the remote device station is as shown below For the details of remote device station refer to the user s manual of the module Remote input RX and remote output RY Remote I O station station No 1 PLC Master station AJ65BTB1 16D 1 1 i Address Remote input RX FROM Mt15 M100 rms ENS ERES M131 M116 1 E1H RX 1F RX 10 For station E2 RX2F RX20 2 RX 30 M147 M132 FROM For station 4 RX 4F RX 40 M163 M148 3 5 5F 50 179 164 RX 6F RX 60 For st
35. 15 RX 159 RX 158 RX 157 RX 156 155 RX 154 RX 153 152 RX 151 RX 150 12 RX16F 16E 16D RX 16C RX 16B RX 16 RX 169 RX 168 RX 167 RX 166 165 164 RX 163 RX 162 RX 161 RX 160 F7H RX17F RX 17E 17D 17C 17B RX 17A 179 RX 178 177 RX 176 175 RX 174 RX 173 172 RX 171 170 13 RX18F 18E 18D 18C RX 18B RX 18 RX 189 RX 188 RX 187 RX 186 RX 185 RX 184 183 182 RX 181 RX 180 RX19F 19E 19D RX 19C RX 19B RX 19 RX 199 RX 198 RX 197 RX 196 195 RX 194 RX 193 192 RX 191 RX 190 14 FAH RX1AF RX 1AD RX 1AC 1AA 1 9 RX 1A8 1A7 1 6 RX 1A5 1 4 1A3 1A2 1A1 1A0 RX 1BF 1 1BD 1 1BB 1BA 189 188 187 186 185 RX 184 1B3 RX 182 1B1 180 15 FCH RX1CF RX 1 1 1 1 1 1 9 1 8 1 7 1 6 1 5 1 4 1 1 2 RX 1C1 1 0 FDH RX 1DF RX 1 100 1DC RX 1DB RX 1DA 109 108 107 106 105 104 103 102 101 100 pue uoneis 19jnq
36. MS 5 PRM 3 Unusable 4 Reserved station specification SW OFF No specification ON Specification given 5 Invalid station specification SW OFF No specification ON Specification given SW Remote station 2 Station type M S Remote device station SW 1 station 2 stations 2 7 Number of occupied stations PRM 3 stations TIME 4 stations 10 s digit MST TEST1 TEST2 1 s digit SW M S PRM TIME MST O MST O TEST1O TEST e 8 Station number 1 TESTZO In the case of 26 SW SW M S MS PRM PRM TIME TIME O 9toF Unusable 1 Set the station number of the module using the station number setting switch 2 For a module occupying 2 or more stations the same contents are indicated for as many as the number of occupied stations MITSUBISHI 8 21 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 MEMO s MITSUBISHI 8 22 Programming 9 FX2N 16CCL M CC Link System Master Block 9 Programming Precautions in Programming This section describes precautions in creating a program 1 Create a read program from the remote input RX addresses EOH to FFH after data link 9 1 startup Create a write program to the remote output RY addresses 160H to 17FH at the end of the entire program Parameter setting Data link startup 1 Read from remote input RX
37. No 7 RX DF RX DO i E Rotetation BEM J i No 8 EFH RX FD RX FO For station RX10F RX100 No 9 RX11F RX110 F2H 2 FBH For station FCH RX1CF RX1C1 15 FDH RX1DF RX1DO E s MITSUBISHI 4 27 IHSIGNS 8c v 515 b14 b13 b12 b11 b10 b9 58 b7 b6 b5 b4 b3 b2 b1 b0 1 RXF RXE RXD RXB 9 RX8 RX 7 RX 6 RX5 RX 4 RX3 RX 2 RX 1 RX 0 E1H RX1F RX1E RX1D RX1C RX1B 1 RX19 RX18 RX17 RX16 RX15 RX14 1 RX12 RX11 10 2 E2H RX2F RX2E RX2D RX2C RX2B RX2A 29 28 RX27 RX26 RX25 RX24 RX23 RX22 RX21 RX20 RX3F RXSE RX3B RX39 RX38 RX37 RX36 RX35 RX34 RX33 RX32 RX81 RX30 E4H RX4F RX4E RX4D RX4C RX4B RX4A RX49 RX48 RX47 RX46 RX45 RX44 RX48 RX42 RX41 RX40 E5H RX5F RX5E RX5D RX5C RX5B RX5A RX59 RX58 RX57 RX56 RX55 RX54 RX53 RX52 RX51 RX50 E6H RX6F RX6E RX6D RX6C RX6B RX6A 69 RX68 RX67 66 RX65 RX64 RX63 RX62 RX61 RX60 E7H RX7F RX7E RX7D RX7C RX7B RX7A RX79 RX78 RX77 RX76 RX75 RX74 RX73 RX72 RX71 RX70 RX8F RX8E RX8D RX8A 89 RX88 RX87 RX86 RX85 84 RX83 RX82 RX81 RX80 E9H RX9F RX9E
38. 12 2 Creating a Program 12 2 1 Program for parameters In the program below data link automatically starts when the PLC starts to run For debugging M8000 FROM KO K4M20 K1 BFM AH gt M35 to M20 RUN monitor M20 M35 PLS MO Module Module error ready MO SET M1 M1 MOV K2 DO Number of connected modules 2 modules MOV K7 D1 Number of retries 7 times MOV K2 D2 Number of automatic return modules 2 modules TO H0001 DO K3 MOV D3 Operation specification against CPU down stop TO KO H0006 D3 K1 M1 MOV H0101 012 Remote station AJ65BTB1 16D MOV H1302 013 Remote device station FX2N 32CCL TO H0020 012 K2 Station information RST M1 MITSUBISHI 12 3 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 M8002 M40 Refresh command Initial pulse M20 M35 M PLS M2 error ready M2 M3 M
39. 162 4 2 K6 M427 to M332 gt 167 to 162H RY7F to RY20 Reads from remote registers RWr FROM KO HO2E4 D200 K12 2 to 2 4 RWrF to RWr4 gt D211 to 0200 Writes to remote registers RWw KO 1 4 D100 K12 D111 to D100 gt 1EFH to 1 4 RWwF to RWw4 d 1 1 2 When 00 in the FX2n 32CCL Y020 station No 2 turns ON Y020 in the Program for FX2N 32CCL PLC turns ON confirming RX00 operation of the 00 FXeN 32CCL M332 When X000 in the PLC turns ON RY00 in the 32 1 turns ON l IRET a MITSUBISHI 12 8 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 12 3 Execution of Data Link Turn on the power of the modules in the order remote I O station remote device station gt master station then start the data link 12 3 1 Confirmation of operation by LED indication The figures below show the LED indication status in the master station the remote I O station and the remote device station while the data link is normally proceeding 1 LED indication in the master station Make sure that the LED indication status is as shown below The module is normal The module is set as the master station Data link is normally proceeding FX2n 16CCL M Data is being transmitted Data is bei
40. MITSUBISHI 4 33 FX2N 16CCL M CC Link System Master Block Specification 4 Correspondence among buffer memory number in master station station number and remote register RWr number Station BFM Remote register Station BFM Remote register number number number number number number 2E0H RWr 0 300H RWr 20 2E1H RWr 1 301H RWr 21 2E2H RWr 2 302H RWr 22 2E3H RWr 3 303H RWr 23 2E4H RWr 4 304 RWr 24 2E5H RWr 5 305H RWr 25 2E6H RWr 6 306H RWr 26 2E7H RWr 7 307H RWr 27 2E8H RWr 8 308H RWr 28 2E9H RWr 9 309H RWr 29 2EAH RWr A 30AH RWr 2A 2EBH RWr B 30BH RWr 2B 2ECH RWr C 30CH RWr 2C 2EDH RWr D 30DH RWr 2D 2EEH RWr E 30EH RWr 2E 2EFH RWr F 30FH RWr 2F 2FOH RWr 10 310H RWr 30 2F1H RWr 11 311H RWr 31 2F2H RWr 12 312H RWr 32 2F3H RWr 13 313H RWr 33 2F4H RWr 14 314H RWr 34 2F5H RWr 15 315H RWr 35 2F6H RWr 16 316H RWr 36 2F7H RWr 17 317H RWr 37 2F8H RWr 18 318H RWr 38 2F9H RWr 19 319H RWr 39 2FAH RWr 1A 31AH RWr 3A 2FBH RWr 1B 31BH RWr 3B 2FCH RWr 1C 2FDH RWr 1D 2FEH RWr 1E 2FFH RWr 1F MITSUBISHI 4 34 FX2N 16CCL M CC Link System Master Block Specification 4 4 4 10 Link special relay SB and link special register SW 1 Link special relay SB The data link status is stored in the form of bit ON OFF information Buffer
41. This section describes the setting method of each switch in the modules 8 6 1 Station number setting master station remote I O stations and remote device stations This section describes the method to set the station number of the master station remote I O stations and remote device stations Point Align the settings with the contents stored in the parameter information area station information addresses 20H to 2EH in the buffer memory 1 Set the station numbers to be consecutive The station number can be set without regard to the connection order For a module occupying 2 or more stations set the head station number Table 8 3 Station type Station number to be set Master station 0 fixed Remote station Remote device station Setting example When setting the station numbers in connection order Station No 0 Station No 3 Station No 7 Master Remote Remote station device station device station occupies 4 occupies 2 Station No 1 Station No 2 stations stations Remote I O station 2 Remote station N occupies 1 station occupies 1 station Station O Station No 1 Station 2 Station 3 Station No 4 Station No 5 Station No 6 Station No 7 Station 8 Station No 9 M
42. amp RUN e ERR e MST e TEST O TESTE Indicates the ON status TERR Indicates the OFF status FXen 16CCL M Indicates the flashing status SD E x Indicates the ON OFF or flashing status PRM TIME 0 LINE O SD RD O PWLRUNSD RD LEER e o A PLC Master station Remote I O Remote device station station Terminal Jes Nm IN Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC 13 4 4 When link is stopped in the master station Data link is disabled in all stations The L RUN LED indicator is OFF in all stations RUN e ERR O MST TEST e Indicates the ON status Indicates the OFF status FXen 16CCL M Indicates the flashing status sw O Indi Indicates the ON OFF or flashing status PRM TIME o 8 LINE O SD RD 5 PWLRUN SD RD LEER e o PLC Master station Remote I O Remote device station station Terminal pu Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC s MITSUBISHI 13 12 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 4 5 When power s
43. What condition did the manual arrive in JLlMinordamage LlUnusable Will you be using a folder to store the manual LINo What do you think to the manual presentation L Tidy LlUnfriendly Are the explanations understandable Yes LINot too bad Unusable Which explanation was most difficult to Are there any diagrams which are not clear Yes LINo What do you think to the manual layout _LINot too bad LlUnhelpful If there one thing you would like to see improved what is it Could you find the information you required easily using the index and or the contents if possible please identify your experience esses Thank you for taking the time to fill out this questionnaire We hope you found both the product and this manual easy to use MITSUBISHI i FX2N 16CCL M CC Link System Master Block s MITSUBISHI FX2N 16CCL M CC Link System Master Block Guidelines for the Safety of the User and Protection of the Programmable Controller This manual provides information for the use of the FX Series CC Link system master block The manual has been written to be used by trained and competent personnel The definition of such a person or persons is as follows a Any engineer who is responsible for the plann
44. entire system for ut station SW4 Keep Clear communication due All OFF Continue Continue Continue Continue to power OFF etc in a remote Keep station Input data status setting When a for faulty communication Station SW4 Clear error occurred due to power Continue Continue OFF etc in a remote device Keep station MITSUBISHI 6 2 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 6 2 Link Scan Time The link scan time in the CC Link system is calculated using the expression below 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 Number of communication faulty stations x 48 x BT x Number of retries BT Constant transmission speed Transmission speed 156kbps BT 51 2 us 625kbps 2 5Mbps 5Mbps 10Mbps 12 8 3 2 1 6 0 8 NI Last station number in a and b including the number of occupied stations and excluding the number of reserved stations NW Last station number b including the number of occupied stations and excluding the number of reserved stations Last station Number 1to8 9 to 15 NI NW 8 16 N Number of connected modules excluding reserved station ni b excluding reserved stations nw b excluding r
45. 12 1 System configuration It is supposed that one remote I O station and one remote device station are connected in the system CC Link master block FX2N 16CCL M FX1N FX2N F X2NC Series PLC gt Terminal resistor Occupies Occupies link torace block Remote station Remote device station station No 1 station No 2 TIONS FXoN FX1N FX2N FX2NC Series PLC Terminal Input module resistor AJ65BTB1 16D 12 1 1 Setting of master station The figure below shows the setting of the switches in the master station Station number setting switch 0010 Make sure to set the 7 0 1 master station to 00 Sh 69 Gl FXNAGCCL M E RUM X R LOE b mm Mode setting switch S es pe 0 online E 3 J amp Transmission speed setting switch 00 MODE
46. 14H 15 14 1 13 112 1111019 18 7 6 5 4 3 2 Setting example When setting a remote device station with the station No 4 and a remote station with the station No 9 as invalid in the system configuration below Set as error invalid stations Station No 4 Remote Master device station station Station No 1 Station No 3 occupies 4 Station No 8 Station No 9 Remote station Remote station stations Remote station Remote station occupies 2 occupies 1 occupies 1 occupies 1 stations station station station m pu DN PN b15 b14 b13 b12 b11 510 b9 b8 b7 b6 b5 b4 b3 b2 bi bO 14H 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 ae MITSUBISHI 4 10 FX2N 16CCL M CC Link System Master Block Specification 4 g Station information Set the station type for connected remote stations and reserved stations 1 The figure below shows the data configuration to be set 3 Occupies 3 stations 4 Occupies 4 stations 0 Remote station 1 Remote device station b15 s b12 b11 s b8 b7 bO Station type Station No Loa Occupies 1 station 2 Occupies 2 stations 01H OEH 2 The table below shows the buffer memory address for each module For example when setting for the 10th module wri
47. 32 point DC input module sink source shared 24V DC 7 mA 32 points common AJ65BTB1 16T 1 line 16 point transistor output module sink 12 24V DC 0 5 A point 4 A common 8 points common AJ65BTB2 16T 2 line 16 point transistor output module sink 12 24V DC 0 5 A point 4 A common 8 points common AJ65BTC1 32T 1 line 32 point transistor output module sink 12 24V DC 0 1 A point 2 A common 32 points common AJ65BTB2 16R 2 line 16 point contact output module 24V DC 240V AC 2 A point 8 A common 8 points common AJ65BTB1 16DT module Input 1 line 8 DC input points sink 24V DC 7 mA 8 points common Output 1 line 8 transistor output points sink 12 24V DC 0 5 A point 8 points common AJ65BTB2 16DT module Input 2 line 8 DC input points sink 24V DC 7 mA 8 points common Output 2 line 8 transistor output points sink 12 24V DC 0 5 A point 4 A common 8 points common AJ65BTB2 16DR module Input 2 line 8 DC input points sink source shared 24V DC 7 mA 8 points common Output 2 line 8 contact output points 24V DC 240V 2 A point 8 A common 8 points common Remote VO station MITSUBISHI 3 7 FX2N 16CCL M CC Link System Master Block System Configuration 3 Table 3 3 Number of Station Product name Model name Description occupied type stations 1 line 8 point DC input module sink so
48. 4 4 10 Link special relay SB and link special register 4 35 MITSUBISHI vi FX2N 16CCL M CC Link System Master Block Contents D EHEITOUOTIS ct eins DN E a neh ita 5 1 5 1 SEUMCUOMLASE lio tenths donegone 5 1 5 2 Communication between Master Station and Remote I O Stations 5 2 5 3 Communication between Master Station and Remote Device Stations 5 4 5 4 Communication in Compound 5 9 5 5 Reserved Station Function soos ie feeit Febr ater d Dr tc veto 5 15 5 6 Error Invalid Station ue 5 16 5 7 Data Link Status Setting against Error in Master Station PLC 5 17 5 8 Setting of Input Data Status from Data Link Faulty Station 5 18 5 9 Module Reset Function from Sequence Program 5 19 5 10 Data Link Stop FIestarl ic tue beim Tex mta Mar eU pn Eid 5 20 5 147 RAS FUNGON e cued au n neice iex luce bee UE RUP eds 5 21 5 11 1 Automatic return 5 21 5 11 2 Slave station cutoff function 5 22 5 11 3 Station number overlap check
49. E _ t M8000 TO KO HO5E0 K4MO K1 Writes to 5 0000 to SBOOOF RUN monitor Point When you have stopped the data link using SB0002 make sure to start up the data link using SBOOOO MITSUBISHI 5 20 FX2N 16CCL M CC Link System Master Block Functions 5 5 11 RAS Function The term RAS stands for reliability availability and serviceability and refers to the total operability of an automated facility 5 11 1 Automatic return function This function allows a module which was disconnected from the data link by power OFF etc to automatically join the data link again when it recovers the normal status Set the automatic return function using the mode setting switch Table 5 2 Mode setting switch Setting description Remarks 0 Online automatic return allowed 1 Unusable 2 Offline Data link disabled disconnected status s MITSUBISHI 5 21 FX2N 16CCL M CC Link System Master Block Functions 5 5 11 2 Slave station cutoff function This function cuts off only remote stations in which data link is disabled by power OFF etc and continues the data link using only normal remote stations Remote Remote Master Down device device station station station Remote Remote station station Terminal resistor
50. Is supplied voltage inside specified range Set supplied voltage inside specified range Corresponding module is defective Are communication cables correctly wired Is RD LED lit Corresponding module is defective Correct wiring of communication cables Corresponding module is defective To the next page To the next page To the next page MITSUBISHI 13 5 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 From the previous page From the previous page From the previous page Is transmission speed correctly set Set transmission speed correctly Turn off power then turn it on again Or turn on reset switch Is SD LED lit flashing Corresponding module is defective Are communication cables correctly wired 1 Correct wiring of communication cables Corresponding module is defective transmission speed switch Is station No switch correctly set without overlapping another station Set station No correctly Turn off power then turn it on again Or turn on reset switch Corresponding module is defective station No switch Is station No switch correctly set without overlapping another station Set station No correctly Corresponding module is defective station No switch Turn off
51. RXOF RX00 Forstation RX2F RX20 2 RX 30 Remote output RY 147 132 For station E4H RX4F RX40 RYoF Rvoo M163 M148 No 3 5 RX 50 RYOF RYOO 179 164 FROM For station E6H RX 6F RX 60 195 180 al No 4 7 RX 7F RX 70 M211 M196 For station E84 8 80 M227 M212 No 5 9 RX 9F RX 90 System area 2 FDH Remote device station station No 3 FX2N 32CCL Address Remote output RY M315 M300 TO Forstation 1604 RY F RY O Remote input RX M331 M316 j 1 161H RY 1F RY10 RXOF RX00 For station 162 RY2F RY20 RXIF RX10 No 2 163H RY 3F RY 30 RX2F RX20 M347 M332 Forstation 1644 RY4F RY4O RX3F RX30 M363 M348 ii Nees 165H RY 5F RY 50 RX4F RX40 M379 M364 For station 166H RY 6F RY 60 RX5F RX50 For statio M395 M380 4 4 167H RY 7F RY 70 System area M411 M396 For station 168 RY8F RY80 M427 M412 5 1694 RY 9F RY 90 Remote output RY System area RYOF RYOO 2 l RY1F 10 17DH 2 20 gt RY8F RY30 RY4F RY40 RY50 System area
52. invalid station Executes the line test to the stations specified by Request for line SW0008 test OFF Does not give the request ON Gives the request SB0008 8 Reads the parameter information on the actual Request for system configuration and sets it to the parameter SB0009 9 parameter information area verification test OFF Does not give the request ON Gives the request Indicates the buffer access status SB0020 5E2H 0 Module status OFF Does not give the request ON Gives the request MITSUBISHI 9 6 FX2N 16CCL M CC Link System Master Block Programming 9 Buffer memory 7574 Number Description Number Bit Indicates the data link restart specification Data link restart acceptance status SEAN 0 acceptance status OFF Not accepted ON Accepted Indicates the data link restart specification Data link restart acceptance completion status FB0041 SEAH completion status OFF Not completed ON Completed Indicates the data link stop specification acceptance Data link stop status xSESH 3 acceptance status OFF Not accepted ON Accepted Indicates the data link stop specification acceptance Data link stop completion status SBOE MESH completion status OFF Not completed ON Completed Indicates the temporary error invalid station request Temporary
53. parameter to the internal memory Then the data link 47 Internal automatically starts BFM AH b8 7 memory MITSUBISHI 7 3 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 7 2 Parameter Setting Items The table below shows the items set in the buffer memory parameter information area in the master station For details of each item refer to Section 4 4 2 Table 7 1 2 Occupies 2 stations 3 Occupies 3 stations 4 Occupies 4 stations 01H to OEH 0 Remote I O station 1 Remote device station Description Hex Number of Sets the number of remote station modules including reserved stations um in d connected to the master station 1 Default value 8 modules Setting range 1 to 15 modules Sets the number of retries executed when communication error occurs Number of or Nes Default value 3 times 2H Setting range 1 to 7 times Number of Sets the number of remote station modules which can recover in one link automatic scan return Default value 1 module modules Setting range 1 to 10 modules Operation Specifies the data link status when an error occurs in the master station specification PLC CPU PS against CPU Default value 0 stop down Setting range 0 stop 1 continue Reserved Specifies re
54. 95 ale Hie ga 015 Gasca FX2N 16CCL M MITSUBISHI 9 0 35 Inside of top cover Dimensions mm inches s MITSUBISHI 84 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 Table 8 1 Number Name Description 1 LED indicators 1 LED LED status Description name Normal Error ju ON Module is normal ERR RUN j N FF MST M OFF Watchdog time error has occurred 9 Indicates the communication status with the stations set in parameter L RUN ON Communication error has ON or LERR PRR occurred in all stations OFF flashing Flashing Communication error has occurred in some stations MST ON Set as the master station ON OFF TEST1 Test result indication OFF except during TEST2 Test result indication test L RUN ON Data link is being executed ON OFF host station ON Communication error has occurred host station ON or Flashing The settings of the swi
55. Connector for FA sensor NECA4202 IEC947 5 2 or its equivalent is recommended NECA THE JAPAN ELECTRIC CONTROL EQUIPMENT INDUSTRY ASSOCIATION Standards When wiring cables to the main line strip as little of the insulation as possible Maximum main line Dedicated CC Link cable with terminal resistor of 110 Maximum T shaped Cable length between length T shaped Mises ra main line Branch Cable master Paton and branch interval and Sper length interval adjacent station 2 le length ween 625kbps T00m 156kb 500 No limit 30 cm or more 1 or more ps m Maximum main line length excluding branch line length Terminal T shaped branch interval Terminal resistor uem 2 1 4 2 K S 4 resistor R Master R R R abd ES 1 1 1 1 station 2 Aa RA gt R R R 2 R R R R R R R R R Branch line length 8 m or less 1 R R Indicates a remote I O station or remote device station Branch line length 8 m or less MITSUBISHI FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 6 Switch Settings
56. Keeps the status right before error Point When a data link faulty station is set as error invalid station the data remote input RX and remote output RY input from the station is kept without regard to the setting of the SWA MITSUBISHI 5 18 FX2N 16CCL M CC Link System Master Block Functions 5 5 9 Module Reset Function from Sequence Program This function resets a module from a sequence program without resetting the PLC or the master block when the switch settings are changed or an error occurs in the master block However reset is disabled when there is an read module error when the b0 is ON Point Because the PLC is not initialized operations of other modules are not affected at all The figure below shows a program example for module reset M8000 FROM KO HA K1 RUN monitor Reset command SET M24 M4 module reset acceptance completion RST M24 M8000 TO HA K4M20 K1 RUN monitor Reads from M15 to MO Sets to ON the write request for module reset Sets to OFF the write request for module reset Writes to M35 to M20 gt BFM AH Remarks Change from the mode 0 or the mode 2 to the test mode cannot be executed by the write request for module reset b
57. Link 1 Communication with remote station The switch ON OFF status and the lamp ON OFF status are communicated using remote inputs RX and remote outputs RY Remote inputs RX and remote outputs RY are assigned to the buffer memory BFM numbers built in the FX2N 16CCL M Refer to Sections 4 4 6 and 4 4 7 FX1N 2N 2NC Master station Remote station Series PLC FX2N 16CCL M FROM instruction Remote input Link scan DE Internal relay RX BFM Input intemal ielsy t TO instruction Remote output Link scan Output 0 1 Devices which can be specified as FROM instruction transfer destinations or instruction transfer sources can be used 2 Communication with remote device station Handshake signals such as initial requests and error occurrence flags are communicated with remote device stations using remote inputs RX and remote outputs RY The setting data and other data are communicated with remote device stations using remote registers RWw and RWr Remote inputs RX remote outputs RY and remote registers RWw and RWr are assigned to the buffer memory BFM numbers built in the FX2N 16CCL M Refer to Sec tions 4 4 8 and 4 4 9 FX1N 2N 2NC Master station Remote station
58. Master Block Data Link Processing Time 6 2 Master station RY gt remote device station RY Calculation expression SM LS x 3 Remote device station processing time ms SM Scan time of master station s sequence program LS Link scan time Refer to Section 6 2 Data flow TO TO PLC NE Buffer memory in master station Remote output RY Link scan LS Remote device station F4 i RYn output signal s MITSUBISHI 67 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 3 Master station RWw gt remote device station RWw Calculation expression SM LS x 3 Remote device station processing time ms SM Scan time of master station s sequence program LS Link scan time Refer to Section 6 2 Data flow TO TO PLC m Buffer memory in master station Remote register RWw Link scan LS Remote device station Remote register RWw s MITSUBISHI 6 8 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 4 Master station RWr lt remote device station RWr Calculation expression SM LS x 2 Remote device station processing time ms SM Scan time of master station s sequence program LS Link scan time Refer to Section 6 2
59. OFF data such as I Os or the numeric data 3 Connections can be made to different types of devices made by partner manufacturers giving flexibility to the system 2 2 Overview of CC Link Master Block FXoN 16CCL M The CC Link master block FX2N 16CCL M is a special extension block which assigns an FX Series PLC as the master station of the CC Link system 1 Remote I O stations and remote device stations can be connected to the master station FX Series PLC 2 By using the CC Link interface block FX2N 32CCL two or more FX Series PLCs can be connected as remote device stations to configure a simple distributed system CC Link master block fen ie Ge pent A zd FX2N 16CCL M Partner manufacturer s product Remote station PI ELTE 00000 oooo FX1N 2N 2NC Series PLC Remote I O station 00000 Remote device station Y Remote device station Y FXon 1N 2N 2NC CC Link interface block Series PLC FX2N 32CCL Master station Station which controls the data link system Remote I O station Remote station which handles only the 1 bit information Remote device station Remote station which handles both bit information and word information MITSUBISHI 2 1 FX2N 16CCL M CC Link System Master Block Overview 2 2 3 Characteristics This section describes the characteristics of the CC
60. amor acceptance status Accepted Indicates the temporary error invalid station request Temporary error acceptance completion status SB0049 5E4H 9 invalid station OFF Not completed completion status ON Completed Temporary error invalid stations are determined Temporary error Indicates the temporary error invalid station cancel invalid station request acceptance status cancel acceptance OFF Not accepted status ON Accepted Indicates the temporary error invalid station cancel Temporary error invalid station request acceptance completion status SB004B 5E4H 11 OFF Not completed P ON Completed Cancel of temporary error invalid status stations is completed Line test Indicates the line test request acceptance status 5 004 5E4H 12 acceptance stati OFF Not accepted ON Accepted Line test Indicates the line test completion status SB004D 5E4H 13 comelslon statis OFF Not completed 2 ON Completed Indicates the parameter verification test request Parameter acceptance status 58004 5E4H 14 UR OFF Not accepted ON Accepted Indicates the parameter verification test completion Parameter etatis SB SEAN s Mii scd pum OFF Not completed ON Completed MITSUBISHI 9 7 FX2N 16CCL M CC Link System Master Block Programming 9 Buffer memory ee Number Description Num
61. below shows the basic programming procedure for communication between the master station and remote stations For a program example refer to Chapter 10 Parameter setting 4 Refresh command E Data link startup by buffer memory parameters b6 v Parameter registration to EEPROM nana BFM AH b10 For debugging only me vw Refresh command ile b0 Data link startup by EEPROM RUNS parameters BFM AH b8 v Read from remote input RX Buffer memory addresses to FDH For operation only rM ae pe N eG a Cg ang ee est v Control by read remote information NE Cen Fi ead ON OFF control of remote output RY Ties wv Write to remote output RY Buffer memory addresses 160H to 17DH MITSUBISHI 9 3 FX2N 16CCL M CC Link System Master Block Programming 9 9 2 2 Communication between master station and remote device stations The flowchart below shows the basic programming procedure for communication between the master station and remote device stations For a program example refer to Chapter 11 Parameter setting vw Refresh command bO Data link startup by buffer memory parameters 56 For debugging only vw Parameter regis
62. bi bO SW009C 15 14 13 4 3 2 1 Numbers 1 to 15 above indicate station numbers SWOO0B4 6B4H Line test 1 result Stores the line test 1 result 0 Normal 1 Error b15 514 b13 b12 b2 bi SW00B4 15 14 13 4 3 2 1 Numbers 1 to 15 above indicate station numbers 3 Bits corresponding to as many as the number of occupied stations are set to ON 4 Only the bit corresponding to the head station number is set to ON The status is checked only when link starts up and stored MITSUBISHI FX2N 16CCL M CC Link System Master Block Programming 9 Number purer Name Description memory Stores the line test 2 result SW00B8 6B8H Line test 2 result 0 Normal Other than 0 Error code Refer to Section 13 3 Stores the status of parameter registration to the SWooB9 egg EER OM registration status 0 Normal Other than 0 Error code Refer to Section 13 3 The timing at which the data in the link special registers SW is updated varies depending on the register number as shown in the table below Table 9 3 Link Data update timing Link Special Data update timing register register Updated independently without SW0041 SW0071 Updated independently withou
63. contents of the parameters Does the station number overlap Check the station number on the speed Faulty stations occur depending Can faulty stations be detected by the communication status in other stations SW0080 transmission Is normal communication established when the transmission speed is slowed to 156 kbps for example e Check the switch settings in the faulty station Check whether the cable wiring is correct Check whether the cable shield is grounded s MITSUBISHI 13 4 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 2 Troubleshooting when ERR LED is Flashing in Master Station ERR LED is flashing in master station Is parameter setting consistent with loading system configuration Correct parameter setting or loading system configuration Is link special register SW0080 data link in other stations in master station ON Is link special register SW0098 station No overlap ON in master station Check module corresponding to ON bit in SW0098 Check module corresponding to ON bit in SW0080 Check on master station side Check on slave station side Is power turned on Is station No switch correctly set Turn on power Is POWER LED lit Turn off power then turn it on again
64. debere pera 3 7 3 6 Precautions When Configuring the 3 10 3 6 1 Wiring of power supply si 3 10 3 6 2 Wiring of remote I O 3 11 Specifications NR ER 4 1 41 General SpeolfICallOn sioii erret pont trae us tora exc x pede edge cde 4 1 4 2 Performance SpeciflCatiOn uenc ier oe eet tente ted er DR resp ed RI ERR 4 2 421 Maximum transmission 4 4 4 3 Dedicated CG Link Cable eme een tette 4 5 44 Bu ller Memory didus a 4 6 4 44 Buffer memory list cor E rrr ettet rege NEAR ient hehe eee dus 4 7 4 4 2 Parameter information 4 8 443 Sigrials to P EG uii etre ener oett am od Cedere ue 4 12 4 4 4 I O signal 4 15 4 4 5 Master block control signals eene 4 26 4 46 Remote input reca iit tote tre ete E a en ox E eias 4 27 AAT Remote output RY o cete pn er on ta cei eee ana 4 29 4 4 8 Remote register RWw Master station gt Remote device station 4 31 4 4 9 Remote register Master station lt Remote device 4 33
65. error in the setting The error code is stored in SW0068 This signal turns OFF when the write request for data link startup by buffer memory parameters b6 or the write request for data link startup by EEPROM parameters b8 in which no error has occurred 4 Read data link status in other stations BFM AH b3 Indicates the data link status at other stations remote stations The signal SB0080 has the same meaning OFF All stations are normal ON There is an error in some stations The error station status is stored in SWO0080 MITSUBISHI 4 15 FX2N 16CCL M CC Link System Master Block Specification 4 5 Read module reset acceptance completion BFM AH b4 Indicates the acceptance status of the request by the write request for module reset BFM AH b4 This signal cannot be reset when the read module error is given when BFM AH bO is ON a When the write request for module reset BFM AH b4 is set to ON the read module ready BFM AH b15 turns OFF and the initialization processing is executed When the initialization processing is normally completed the read module ready BFM AH b15 turns ON When the read module reset acceptance completion BFM AH b4 turns ON the write request for module reset BFM AH b4 turns OFF Normal startup after reset Read module ready b15 Read module reset acceptance completion Initialization BFM AH b4 rocessin Writ
66. i 4 2 25 Mbps G9 56 V D Condition setting switch gt S sq SW Setting Description oE alis Fe 1 OFF GO EE 2 OFF CUI so 3 OFF 4 Clear 5 OFF 6 OFF 7 OFF 8 OFF me J a MITSUBISHI 12 1 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 12 1 2 Setting of remote I O station The figure below shows the setting of the switches in the remote station Transmission speed setting switch Station number setting switch 2 2 5Mbps AJe5BTB1 16D AJe5BTB1 16T AJe5BTB1 16DT MITSUBISHI 1 12 1 3 Setting of remote device station The figure below shows the setting of the switches in the remote device station FX2N 32CCL Station number setting switch 0 x10 2 x1 J Ororen Number of occupied stations 2 3 st 2 sat Transmission speed setting switch e 2 2 5Mbps 7 M J aa va MITSUBISHI 12 2 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12
67. inside the specification range 0 to 15 of the FX Series master station BBC3 Transmission speed setting error switch The transmission speed setting switch in the module is not set inside the range from 0 to 4 Set a value inside the range from 0 to 4 BBC5 Master station overlap error The master station already exists Review the station number setting Switch BBC6 Mode change error An attempt was made to change the mode from 0 or 2 to test by executing the write request for module reset BFM AH b4 Change the mode by resetting the PLC BBC7 Module error Module is defective Replace the module BFFE CPU watchdog timer timeout The CPU watchdog timer is timed out Check the operation of the target station MITSUBISHI 18 10 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 4 This section shows the LED indication status in each station in each data link system status LED Indication Status Use this section as reference of troubleshooting 13 4 1 When data link is normal The RUN MST L RUN SD and RD LED indicators are ON 13 4 2 When a cable is broken Data link is disabled in all stations RUN e ERR O MST TEST1 TERIS 9 Indicates the ON status
68. memory Refer to Chapter 7 MITSUBISHI 5 2 FX2N 16CCL M CC Link System Master Block Functions 5 Remote input 3 The input status of the remote I O stations is automatically for each link scan stored in the buffer memory remote input RX in the master station 4 The PLC receives the input status stored in the buffer memory remote input RX using the FROM instruction Remote station Remote I O station PLC Master station Station No 1 Occupies 1 station Station No 2 Occupies 1 station Remote input RX RXoF RX00 X00 RX1F RX10 l Eee J RX2F RX20 f XOF X00 RX30 X1F X10 RX4F RX40 RX1DF RX1D0 Remote output 5 The PLC writes the ON OFF information output from the remote I O station to the buffer memory remote output RY using the TO instruction 6 The output status stored in the buffer memory remote output RY is automatically for each link scan output from the remote 1 O stations Remote I O station Remote O station PLC Master station Station No 3 Occupies 1 station Station No 4 Occupies 1 station iul E 4 Remote output RY RYOF RYOO 1 10 2 20 RY4F RY40 YOF Yoo RYSF RYSO RY6F RY60 YOF YOO R
69. memory addresses 5E0H to 5FFH correspond to SB0000 to SBO1FF For the details of link special relay SB0000 to SBO1FF refer to Section 9 3 The table below shows the relationship between the buffer memory addresses to 5FFH and SB0000 to SBO1FF Address b15 514 b13 b12 bii 510 b9 b8 b7 b6 05 b4 b33 b2 bi b0 F D C B A 9 8 7 6 5 4 3 2 1 0 5E1H 1E 1D 1C 1B 1A 19 18 17 16 15 14 18 12 11 10 5E2H 2F 2E 2D 2 2B 2A 29 28 27 26 25 24 23 22 21 20 5E3H SF 3D 3B 39 38 37 36 35 34 33 32 31 30 5 4 1 4F 4E 40 4 4B 4A 49 48 47 46 45 44 43 42 41 40 5D 5 5 59 58 57 56 55 54 53 52 51 50 5EeH 6F 6E 60 6 6 6A 69 68 67 66 65 64 63 62 61 60 7 7F 7E 7D 7 7B 7 79 78 77 76 75 74 73 72 71 70 5E8H 8E 8D 8B 8 89 88 87 86 85 84 83 82 81 80 5E9H 9F 9E 9D 9 9B 9A 99 98 97 96 95 94 93 92 91 90 AF AD 9 8 7 5 A4 A2 BB BA B9 B8 B7 B6 B5 B4 B3 B2 BO 5bECH CF CD C9 7 C6 C5 C4 C2 C1 DE DD DC DA D9 07 06 05 04 DO 5EEH EF ED EC EA E9 E8 E7 E5 E4 E2 EO FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 FO 10F 10E 100 10C 10B 10A 109 108 107 106 105 104 103 102 101 100 11F 11E 11D 11C 11B 11A 119 118 117 116 115 114 1
70. operation status to the parameter information area operation specification against CPU down BFM 6H in the buffer memory in the master station 0 Stop default 1 Continue MITSUBISHI 547 FX2N 16CCL M CC Link System Master Block Functions 5 5 8 Setting of Input Data Status from Data Link Faulty Station The status of the data input received from a data link faulty station can be set 1 Target input received data The figure below shows the buffer memory area regarded as the setting target Remote I O station Remote device station Master station station No 1 station No 2 Remote input RX Station No 1 Input Station No 2 Remote input RX Station No 3 Station No 4 Remote output RY Station No 1 Output Station No 2 Remote output RY Station No 3 Station No 4 Remote register RWw Station No 1 EA Remote register Station No 2 RWw Station No 3 be ey Station No 4 m emote register RWr Station No 1 Remote register Station No 2 RW Station No 3 Station No 4 Target area of clear keep Area kept without regard to the setting 2 Setting method Set the status using the condition setting DIP switch SW4 in the master block OFF Clear setting at shipment ON
71. or more 400m 5Mbps 160m 10Mbps 100m Example When remote I O stations and remote device stations are connected with dedicated high performance CC Link cables and the transmission speed is set to 10 Mbps the maximum transmission distance is 100 1st module 2nd module 3rd module 4th module 10th module Remote Remote device Remote Remote lO Remote device Master station station station station station station X PER X 1 50 35cm 50cm 100 m maximum 4 3 Dedicated CC Link Cable Use dedicated CC Link cables in the CC Link system If any other cable is used the performance of the CC Link system cannot be guaranteed MITSUBISHI 4 5 FX2N 16CCL M CC Link System Master Block Specification 4 4 4 Buffer Memory The buffer memory is used to swap data between the master block and the PLC In the PLC the FROM TO instructions are used to read write data The contents of the buffer memory return to the default values when the power is turned off s MITSUBISHI 4 6 FX2N 16CCL M CC Link System Master Block Specification 4 441 Buffer memory list Table 4 5 BFM number EE Read write Hox i Dec Description possibility Reference 0 Parameter Stores the information parameters Read write 442 2 inform
72. pud 9 Indicates the OFF status FXen 16CCL M Indicates the flashing status sw Indi Indicates the ON OFF or flashing status PRM TIME o 9 LINE O SD e RD e PWLRUNSD LEER af PLC Master station Remote Remote device station station Terminal pu Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC The L RUN LED indicator is OFF in stations after the breakage position RUN ERR MST TEST1 O Indicates the ON status TERR Indicates the OFF status FXen 16CCL M Indicates the flashing status SW Indi Indicates the ON OFF or flashing status PRM OR TIME OQ LINE SD RD O PWLRUNSD LEER e e o S PLC Master station Remote I O Remote device station Wire station Terminal e A breakage N Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC s MITSUBISHI 13 11 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 4 3 When a cable is short circuited Data link is disabled in all stations The L RUN LED indicator is OFF in all stations except the master station However the short circuited point cannot be detected from the LED indication
73. shows the details to be checked and corrective actions for each trouble occurrence Table 13 1 Trouble description Details to be checked Confirmation method Data link is disabled in the entire system Are any cables broken Check the cable status visually or by the line test Are terminal resistors properly connected to stations at the both ends Connect terminal resistors offered as accessories of the master module to stations at the both ends Has an error occurred in the master station Check the error code in the PLC and take the corrective action Are parameters set in the master station Confirm the contents of the parameters Is the write request for data link startup BFM AH b6 or b8 ON Confirm the sequence program Has an error occurred in the master station Confirm the following Parameter status in the host station 5 0068 Switch setting status SW006A Loading status SW0069 Flashing of the ERR LED in the master station Section 13 2 Inputs from remote I O station cannot be received Is the remote I O station executing data link Check the following LED indication in the module Communication status in the master station with other stations SW0080 Is data read from the correct address of remote input RX buffer memory Confirm the sequence program Is the station specified as reserved one Confirm
74. the TO instruction 8 The information of the buffer memory remote register RWw is automatically for each link scan stored in the remote register RWw in the remote device station Remote device station station No 2 Remote I O station PLC station No 1 Remote register RWw Tie Pets Seva ni etel RWw1 RWw2 MITSUBISHI 513 FX2N 16CCL M CC Link System Master Block Functions 5 Word information from the remote device station to the master station 9 The data of the remote register RWr in the remote device station is automatically for each link scan stored in the remote register RWr in the master station 10 The PLC receives the data of the remote device station stored in the buffer memory remote register RWr using the FROM instruction Remote device station station No 2 Remote I O station PLC station No 1 Remote register RWr bo E E ial ai te RWr1 he bo MITSUBISHI FX2N 16CCL M CC Link System Master Block Functions 5 5 5 Reserved Station Function This function sets remote stations to be connected in the future which are not currently connected as reserved ones
75. the contents of the parameters Does the station number overlap Confirm the station number Is the connection setting beyond the specification of the master station Confirm the contents of the BFM3H DH Section 4 4 5 Outputs are disabled in a remote station Is the remote I O station executing data link Check the following LED indication in the module Communication status in the master station with other stations SW0080 to SW0083 Is the refresh command output BFM AH b0 ON in the master station Confirm the sequence program Is data written to the correct address of remote output RY buffer memory Confirm the sequence program Is the station specified as reserved one Confirm the contents of the parameters Does the station number overlap Confirm the station number Is the connection setting beyond the specification of the master station Confirm the contents of the BFM 1 DH Section 4 4 5 1 oh OO defective Things to do after checking the communication status with other stations SW0080 Read the contents of the BFM 1DH and check whether access outside the allowable range is not executed Refer to Section 4 4 5 Check whether the cable wiring is correct Check whether terminal resistors are correctly connected to modules at the both ends Check whether communication is enabled when the transmission speed is made slo
76. the master local station Represented in SW for convenience RX Remote input for CC Link 1 bit information input from a remote station to the master station Represented in RX for convenience RY Remote output for CC Link 1 bit information output from the master station to a remote station Represented in RY for convenience RWw Remote register write area for CC Link 16 bit information output from the master station to a remote device station Represented in RWw for convenience RWr Remote register read area for CC Link 16 bit information input from a remote device station to the master station Represented in RWr for convenience MITSUBISHI FX2N 16CCL M CC Link System Master Block Overview 2 2 Overview This chapter describes the overview of the CC Link system master block FX2N 16CCL M for the FX Series PLC The abbreviated term CC Link stands for Control amp Communication Link CC Link is used hereafter in this manual 2 1 Overview of CC Link System The CC Link system connects distributed I O modules special function modules etc with dedicated cables and controls such modules from the PLC CPU 1 By distributing each module to the facility equipment such as conveyor lines and machines the wiring conservation of the entire system can be accomplished 2 Simple high speed communication can be accomplished with modules that handle the ON
77. the numbers 7 and 8 excludes the master station However the following conditions must be satisfied in connection 1 Connection of remote stations up to 7 stations Number of I O points in PLC including vacant oints numbers and extension points P Number of points occupied by FX2N 16CCL M 8 points Total number of points occupied by other points special extension PLCs 32 x Number of remote I O stations points Total lt 256 FX2N 2NC Series PLC lt 128 FX1N Series PLC 2 Connection of remote device stations up to 8 stations Number of remote device stations occupying 1 Telaten modules stations station Number of remote device stations occupying 2 z stations x modules stations Number of remote device stations occupying 3 stations Modules stations Beg of remote device stations occupying 4 modules stations Grand total lt stations E Up to 8 remote device stations can be connected without regard to the number of remote stations shown in 1 3 2 Applicable PLC Table 3 1 Series name Applicable version FX1N All FX2N System version V 2 20 or later FXIN Approximate production period July 2000 or later FX2NC CNV IF is required MITSUBISHI 3 1 FX2N 16CCL M CC Link System M
78. to 60 station number 28H 9th module 0109H 01H to 1EH 1 to 15 29H 10th module 010AH 2AH 11th module 010BH 2BH 12th module 010CH 2CH 13th module 010DH 2DH 14th module 010EH 2EH 15th module 010FH s MITSUBISHI 14 4 FX2N 16CCL M CC Link System Master Block Appendix 14 Station information setting sheet Table 14 2 Station number Station type Number of occupied stations Reserved station invalid station specification 1 N On A O N 11 12 13 14 15 MITSUBISHI 14 2 FX2N 16CCL M CC Link System Master Block Appendix 14 Device assignment sheet remote I O Table 14 3 Remote input RX Remote output RY 1 RX00 to RX1F gt to RY1F gt 2 RX20 to RX3F gt RY20 to RYSF 3 RX40 to RX5F gt RY40 to RY5F gt 4 RX60 to RX7F gt RY60 to RY7F gt 5 RX80 to RX9F RY80 to 9 gt 6 to RXBF gt RYAO to RYBF gt 7 RXCO to RXDF gt RYCO to RYDF 8 to RXFF gt RYEO to RYFF gt 9 RX100 to RX11F gt RY100 to RY11F gt 10 RX120 to RX13F gt RY120 to RY13F gt 11 RX140 to RX15F gt RY140 to RY15F gt 12 RX160 to RX17F gt RY160 to RY17F gt 13 RX180 to RX19F gt RY180 to RY19F gt 14 RX1A0 to RX1BF gt RY1A0 to RY1BF gt 15 1 to RX1DF gt RY1CO to RY1DF gt
79. to be tested ww Set the station No setting switch in the master block to the station No of the module to be tested ww Set the mode setting switch in the master block to 4 v Turn off the power of the PLC and the master block then turn it on again 4 Approximately 4 seconds later the test starts and the TEST LED lights Continued to the next page MITSUBISHI FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 Continued from the previous page When normal The LED indicators turn ON in the order SW M S gt PRM gt TIME It is judged as normal when this repeats five times or more Sw M S The test result is indicated by the LED indicators in the master block 2 00 PRM TIME gt 0008 O O O Oe Repeats When abnormal Lighting LED Cause Error code storage area Cable is broken or the corresponding PRM station has error SW00B8 Test transmission text is corrupt None Test cannot start due to abnormality in hardware or power OFF in all stations s MITSUBISHI 8 19 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 8 Parameter Check Parameter Verification Test The contents of the parameters can be verified Execute the test using the following procedure Start vw Set the mode setting switch in the master block to 5
80. ww The test can be executed even when cables are connected to the master block v Turn off the power of the PLC and the master block then turn it on again Pie ON Register the parameters to the buffer memory then set to ON the output of request for data link startup by buffer memory parameters BFM AH 06 or When the parameters are registered in the EEPROM set to ON the output of request for data link startup by EEPROM parameters BFM AH b8 The LED indicators light as shown below until the setting of the mode setting switch is changed SW O MS O O PRM e TIME O O O e i Repeats Continued to the next page MITSUBISHI 8 20 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 Continued from the previous page The test result is indicated by the LED indicators in the master module By changing over the setting of the mode setting switch the contents of the parameter corresponding to each mode number are indicated by the LED indicators Mode sening Parameter item Used LED indicators and contents 0 Total number of stations 10 s digit MST TEST1 TEST2 1 Number of connected modules 1 s digit SW M S PRM TIME MST O MST O TEST1O TEST e TEST2O TEST2 O In the case of 26 2 Number of retries SW O SW
81. 0 No specification 11H 17 2 2 Prohibited to use 13H 19 Error invalid station ER 14 420 specification Specify error invalid stations 0 No specification 15 21 2 Prohibited to use 1BH 27 Set the instruction 1CH 28 instruction access access error judgement time 200ms error judgement time unit 10 ms is input when a non 1DH 29 Ae connectable station or address 0 9 is accessed 1EH 30 Model code 7510 1FH 31 Prohibited to use 20 432 Station type Remote T O station 2 2 Station information Set the connected station type Number of occupied stations 1 2 46 Station number 1 to 15 MITSUBISHI 4 8 FX2N 16CCL M CC Link System Master Block Specification 4 Do not write to areas that are prohibited to use Such write may cause errors a Number of connected modules Set the number of remote station modules including reserved stations connected to the master station This is not a station count The setting range is 1 to 15 modules Point The station information address 20H to 2EH for the specified number of connected modules becomes valid b Number of retries Set the number of retries to a remote station with a link data error The setting range is 1 to 7 times If a remote station cannot recov
82. 0 M35 A PLS M4 i Module Module error ready M4 SET M5 M5 SET M50 M30 Parameter RST M50 registration to EEPROM RST 5 M81 H6B9 0101 K1 RST M50 RST 5 M8000 K4M40 K1 RUN monitor M55 to M40 BFMftAH MITSUBISHI 7 6 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 b For operation Data link by EEPROM parameters M8002 FROM KO HA K4M20 K1 RUN monitor M8002 SET M40 Initial pulse M20 M35 PLS Mo Module Module error ready SET M1 M1 SET M48 M28 RST M48 RST M1 M29 1 H0668 0100 K1 RST M48 RST M1 M8000 TO KO HA K4M40 K1 RUN monitor 35 to M20 Refresh command EEPROM parameters is normally completed When data link startup by EEPROM parameters is abnormally completed When data link startup by M55 to 40 s MITSUBISHI FX2N 16CCL M CC Link System Master Block Parameter Setting 7 2 Program example The diagram below shows an example of program for parameter setting in the system configuration shown below a System configuration example Reserved station to be connected in the future
83. 11 Communication between Master Station and Remote Device Stations This chapter describes module setting programming and operation check using a system configuration example 11 14 System Configuration It is supposed that two remote device stations are connected in the system CC Link master block FX2N 16CCL M FX1N FX2N FX2NC Series PLC gt Terminal resistor Occupies 2 stations Remote device station 00000 FXoN FX1N FX2N FX2NC nung Series PLC Occupies inki block Remote device station station No 3 A D conversion module AJ65BT 64AD 11 1 1 Setting of master station Terminal resistor The figure below shows the setting of the switches in the master station Station number setting switch 0 x10 Make sure to set the 001 master station to 00 Sh 69 FXN16CCL M b RM H MST 23 u b m Mode settin
84. 13 112 111 110 5F2H 12F 12E 120 12C 12B 12 129 128 127 126 125 124 123 122 121 120 18F 13E 130 13C 13B 13A 139 138 137 136 135 134 133 132 131 130 5F4H 14F 14E 140 14C 14B 14 149 148 147 146 145 144 143 142 141 140 15F 15E 150 15 15B 15 159 158 157 156 155 154 153 152 151 150 5F6H 16F 16E 160 16C 16B 16A 169 168 167 166 165 164 163 162 161 160 5F7H 17F 17E 170 17C 17B 17A 179 178 177 176 175 174 173 172 171 170 5F8H 18F 18E 180 18C 18B 18 189 188 187 186 185 184 183 182 181 180 5F9H 19F 19E 190 19 19B 19A 199 198 197 196 195 194 193 192 191 190 1AE 1AC 1AB 1 1 9 1 8 1 7 1A6 1 5 1 4 1A2 1A0 1BE 1 1BC 1BB 189 188 187 186 185 184 1B3 182 1B1 180 5FCH 1CF 1 1 1 1 1CA 169 168 1 7 1C6 105 104 103 1 2 1C1 1 0 5FDH 1DF 1DE 100 1DC 1 109 108 107 106 105 104 103 102 101 100 1 1ED 1EC 1EB 1EA 1 9 1 8 1E7 1 6 1 5 1 4 1 1E2 1 1 1E0 5FFH 1FF 1 1FD 1FC 1FB 1FA 1F9 1F8 1F7 1 6 1 5 1 4 1F3 1 2 1 1 1 0 MITSUBISHI 4 35 FX2N 16CCL M CC Link System Master Block Specification 4 2 Link special register SW The data link status is stored in the form of word information Buffer memory addresses 600H to 7FFH correspond to 5 0000 to SWO1FF For the details of link special r
85. 1N Series PLC 256 248 8 points remaining number of I O points In the configuration above up to 8 I O points or special modules corresponding to up to 8 points can added MITSUBISHI 3 2 FX2N 16CCL M CC Link System Master Block System Configuration 3 3 3 2 Scan time of PLC and connection of two or more master blocks 1 Measured scan time Configuration FX2N Series PLC main unit FX2N 16CCL M 7 remote I O stations 8 remote device stations Number of link device points 110 words The scan time in the configuration above is 125 ms 2 Handling when two or more master blocks are connected Remote 1 0 stations can be connected only to the first master block To the second and later master blocks only remote device stations up to 8 stations can be connected Configuration FX2N Series PLC main unit FX2N 16CCL M first module 7 remote I O stations 8 remote device stations FX2N 16CCL M second module 8 remote device stations Number of link device points 206 words The scan time in the configuration above is 233 ms 3 Caution If the total scan time in the PLC exceeds 200 ms a watchdog timer error occurs In this case change the value of the special data register D8000 in the PLC to prolong the watchdog timer time s MITSUBISHI 3 3 FX2N 16CCL M CC Link System Master Block System Configuration 3 3 3 3 Example of connection of two or more FX Seri
86. 2 point transistor output module sink 12 24V DC 0 1 A point 32 points common module Input 1 line 16 DC input points sink AJ65SBTC1 32DT 24V DC 5 mA 32 points common Output 1 line 16 transistor output points sink 24V DC 0 1 A point 32 points common I O module high speed response type Input 1 line 16 DC input points sink AJ65SBTC1 32DT1 24V DC 5 mA 32 points common Output 1 line 16 transistor output points sink 24V DC 0 1 A point 32 points common module Input 2 3 4 line 8 DC input points sink AJ65SBTC4 16DT 24V DC 5 mA 16 points common Output 2 3 4 line 8 transistor output points sink 24V DC 0 5 A point 16 points common AJ65SBTC1 32T s MITSUBISHI 3 8 FX2N 16CCL M CC Link System Master Block System Configuration 3 Table 3 3 Number of Station Product name Model name Description occupied stations I O module waterproof type Small type Input Waterproof 4 line 8 DC input points sink 24V 5 mA 16 points common remote AJ65SBTW4 16DT f 1 Output Waterproof 4 line 8 transistor output points module sink station 24V DC 0 5 A point 16 points common Analog digital 4 channel input conversion AJ65BT 64AD Analog input 10 to 10 V 20 to 20 mA module Digital output 2 000 to 2 000 0 to 4 000 4 channel
87. 3 46 A M26 Data link by buffer When data link memory parameters RST M46 startup by buffer memory parameters RST M3 is normally completed M27 FROM KO H0668 D100 Ki When data link startup by buffer RST M46 memory parameters is abnormally RST M3 _ ic 1 Registration M20 M35 EA PLS M4 Module Module error ready M SET 5 5 50 Parameter M30 RST M50 registration to When parameter EEPROM registration to EEPROM is normally l RST M5 completed M31 FROM KO HO6B9 D101 K1 When parameter registration to RST M50 E PROM is abnormally completed RST M5 M8000 T TO K4M40 M55 to M40 gt BFM AH RUN monitor MITSUBISHI 12 4 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 For operation M8000 FROM K4M20 K1 BFM AH gt M35 to M20 RUN monitor M8002 SET M40 Refresh command Initial pulse M20 M35 PLS Module Module error ready 1 Mf M48 Datalinkby M28 RST M48 When data link startup by parameters EEPROM parameters is normally completed RST M1 29
88. 3B 1FCH RWw 1C 1FDH RWw 1D 1FEH RWw 1E 1FFH RWw 1F MITSUBISHI 4 32 FX2N 16CCL M CC Link System Master Block Specification 4 4 4 9 The data transmitted from the remote register RWr in remote device stations is stored Remote register RWr as below Each station uses 4 words Master station Station No 1 Occupies 1 station Remote I O station Station No 2 Occupies 2 stations Master station lt Remote device station Remote device station Address 2E0H Forstation 2 1 1 2 2 2 2E4H For station 2 5 2 2E6H 2E7H 2E8H For station 2 9 No 3 2EAH 2 For station 2EDH 4 2 2 2 0 Forstation 2F1H No 5 2F2H 2 2 4 Forstation 2F5H No 6 2F6H 2F7H 2F8H For station 2F9H No 7 2FAH 2FBH 2FCH For station 2FDH No 8 2FEH 2FFH 300H 2 317H 318H For station 319H No 15 31AH 31BH Remote register RWr F Remote register RWr
89. 4 For such a change turn off the power then turn it on again MITSUBISHI 5 19 FX2N 16CCL M CC Link System Master Block Functions 5 5 10 Data Link Stop Restart This function stops and restarts the data link in the host station When the data link is stopped in the master station the data link is stopped in the entire system 1 The following link special relays are used in programs 580000 Request for data link restart 580002 Request for data link stop 5 0041 Completion of data link restart 580045 Completion of data link stop 2 The figure below shows a program example to stop restart the data link 1 Relationship between the PLC and the master station PLC Master station Link special relay SB M15 MO 5 0 SBOOOF 8580000 FROM M35 M20 o 5E4H SBOO4F SB0040 2 Program example M8000 FROM HO5E4 Kam20 Ki pedas ire status of RUN monitor Stop command Turns ON 2 5880002 data 5 2 link stop Data link stop M25 SB0045 Turns OFF M2 SB0002 data RST 2 link stop L Restart I command SET Mo ican 580000 data Data link restart RST Turns OFF 8580000 data link restart
90. ADVANCED AND EVER APYANCINS MITSUBISHI ELECTRIC MITSUBISHI PROGRAMMABLE CONTROLLERS CC Link Ver 1 10 s MITSUBISHI FX2N 16CCL M CC Link System Master Block FX2N 16CCL M Control amp Communication Link System Master Block USER S MANUAL Manual number JY992D93101 Manual revision A Date JAN 2001 MITSUBISHI FX2N 16CCL M CC Link System Master Block s MITSUBISHI FX2N 16CCL M CC Link System Master Block FAX BACK Mitsubishi has a world wide reputation for its efforts in continually developing and pushing back the frontiers of industrial automation What is sometimes overlooked by the user is the care and attention to detail that is taken with the documentation However to continue this process of improvement the comments of the Mitsubishi users are always welcomed This page has been designed for you the reader to fill in your comments and fax them back to us We look forward to hearing from you Fax numbers NAMES exert let ee Mitsubishi Electric 01 847 478 2253 Your company teen e e eats Australia 02 638 70 2 iigssduieite uoles dte Sed sh telae tenait Germany 0 21 02 4 86 1 12 Your IOCAUON South Africa 27 11444 0223 Cuimin anna akan mote United Kingdom 01707 278 695 Please tick the box of your choice
91. AJ65BTB1 16DT 10 1 1 Setting of master station The figure below shows the setting of the switches in the master station Station number setting switch 0 10 Make sure to set the x i 0 1 master station to 00 00 Ee F am LEAH 5 Mode setting switch 0 online 23 A POWER 00 gt Transmission speed setting switch EIE 2 2 5 Mbps MS oe M 2 6 09 BRATE V 23 nl aS Condition setting switch SW Setting Description gt eds R 1 OFF S J ORS 3 OFF 4 OFF Clear 5 OFF 6 OFF 7 OFF 8 OFF Ne 27 MITSUBISHI 10 1 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O Stations 10 10 1 2 Setting of remote I O station The figu
92. B SW The data link status can be checked using the bit information link special relay SB and the word information link special register SW SB and SW represent the buffer memory information in the master block and can be read and written by the FROM TO instruction Link special relay SB Buffer memory addresses 5E0H to Link special register SW Buffer memory addresses 600H to 7FFH Link special relay SB list For the correspondence with the buffer memory refer to Section 4 4 10 Table 9 1 Buffer memory Number Description Number Restarts the data link which was stopped by SB0002 SB0000 5E0H 0 Data link restart OFF Does not give restart specification ON Gives restart specification Stops the data link in the host station Use 5 0000 to restart the data link If the master station sets this relay to ON the entire system stops OFF Does not give stop specification ON Gives stop specification SB0002 5E0H 2 Data link stop Determines stations specified by SWO0003 to SW0004 as temporary error invalid stations OFF Does not give the request ON Gives the request Cancels the stations specified by SWO0003 to SW0004 from temporary error invalid stations OFF Does not give the request ON Gives the request Request for 580004 4 temporary error invalid station Request for cancel SB0005 5E0H 5 of temporary error
93. BH 1FCH 1FDH For station 8 1 1 200 i 217 218 For station 219H 15 21AH 21 Remote register RWw 2 lt 5 Remote register RWw 2 lt 2 x Station No 2 Occupies 2 stations 1 MITSUBISHI 4 81 FX2N 16CCL M CC Link System Master Block Specification 4 Correspondence among buffer memory number in master station station number and remote register RWw number Station BFM Remote register Station BFM Remote register number number number number number number RWw 0 200 RWw 20 1E1H RWw 1 201H RWw 21 1E2H RWw 2 202H RWw 22 1E3H RWw 3 203H RWw 23 1E4H RWw 4 204H RWw 24 1E5H RWw 5 205H RWw 25 1E6H RWw 6 206H RWw 26 1E7H RWw 7 207H RWw 27 1E8H RWw 8 208H RWw 28 1E9H RWw 9 209H RWw 29 1EAH RWw A 20AH RWw 2A 1EBH RWw B 20BH RWw 2B 1ECH RWw C 20CH RWw 2C 1EDH RWw D 20DH RWw 2D 1EEH RWw E 20EH RWw 2E 1EFH RWw F 20FH RWw 2F 1F0H RWw 10 210H RWw 30 1 1 RWw 11 211H RWw 31 1F2H RWw 12 212H RWw 32 1F3H RWw 13 213H RWw 33 1F4H RWw 14 214H RWw 34 1F5H RWw 15 215H RWw 35 1F6H RWw 16 216H RWw 36 1F7H RWw 17 217H RWw 37 1F8H RWw 18 218H RWw 38 1F9H RWw 19 219H RWw 39 1FAH RWw 1A 21AH RWw 3A 1FBH RWw 1B 21BH RWw
94. BOE result oa Normal 9 value other than 0 Stores an error code Refer to Section 13 3 Stores the execution result of the request for cancel of Temporary error invalid temporary error invalid station by 580005 SW004B 64BH station cancel request 0 Normal result Any value other than 0 Stores an error code Refer to Section 13 3 Stores the temporary error invalid station specification status 10 Not specified as temporary error invalid station Temporary error invalid 1 Specified as temporary error invalid station SW007C 67CH station specification 1 515 514 513 b12 b2 bi 50 status SW007C 15 14 13 4 3 2 1 Numbers 1 to 15 above indicate the station numbers 1 Only the bit of the head station number is set to ON Point 1 When both the request for temporary error invalid station and the request for cancel of temporary error invalid station are given at the same time the request for cancel of temporary error invalid station has the priority 2 In a station occupying two or more stations only the head station number is effective a MITSUBISHI 5 25 FX2N 16CCL M CC Link System Master Block Functions 5 5 12 3 Temporary error invalid station specification procedure This section describes the procedure to execute the temporary error invalid station function Select whether two or more stations are to be specified as temporary e
95. D201 2 digital value When X000 in the PLC turns ON RYOO in the FX2N 32CCL turns ON When 00 in the FX2N 32CCL turns ON 000 M132 in the PLC turns ON Point A program for communication is required also in the PLC connected to the FX2N 32CCL Refer to the FX2N 32CCL User s Manual Q xooo EO CC Link master block FX2N 16CCL M A D conversion by AJ65BT 64AD FX1N FX2N F X2NC Series PLC KC NA Terminal resistor D200 CH1 digital value D201 CH2 digital value Occupies Occupies CC Link interface block 2 stations 3 stations FX2N 32CCL Remote device station Remote device station station No 1 station No 3 00000 FXoN FX1N FX2N FX2NC oooo Series PLC gt IC e H Ie eet sh Terminal A D conversion module Li resistor AJ65BT 64AD MITSUBISHI 11 11 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 MEMO s MITSUBISHI 11 12 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 12 Communication in Compound System This chapter describes module setting programming and operation confirmation in the system in which remote I O station and remote device station exist together using a system configuration example
96. Dedicated CC Link Cables This section describes the T shaped branch connection using dedicated CC Link cables System configuration with T shaped branch connection The figure below shows the system configuration with T shaped branch connection Remote I O station or remote device Main line Master station Remote I O station or remote device T shaped branch terminal block or connector remote device Remote I O station or connection connection connection Terminal A Terminal resistor Branch line Branch line Branch line Branch line resistor Remote I O station or remote device connection Remote I O station or remote device connection Remote I O station or remote device connection Remote I O station or remote device connection Remote I O station or remote device connection connection Remote I O station or remote device Remote I O station or remote device connection Remote I O station or remote device connection Up to 6 modules can be connected Up to 6 modules can be connected The number of branch lines is determined by each branch line length and the total branch line length s MITSUBISHI FX2N 16CCL M CC Link System Master Block Data Li
97. Dedicated high performance CC Link cable RAS function Automatic return function Slave station cutoff function Error detection by link special relay register MITSUBISHI 4 2 FX2N 16CCL M CC Link System Master Block Specification 4 Table 4 1 Specification Number of times of parameter registration Approximately 10 000 times to EEPROM Connectable PLC FX1N V 2 20 or later and FX2nc V 2 20 or later Series PLC Number of occupied 8 I O points of FX Series PLC 8 points in total The ratio between inputs and points outputs is arbitrary Communication with PLC By FROM TO instructions via the buffer memory Scan method Asynchronous mode Automatic refresh Not provided Note Local station function Not provided Standby master station function Not provided Intelligent device station connection function Not provided POWER Lit while 24V DC is supplied from outside L RUN Lit while communication is normal Operation indication L ERR Lit when communication error has occurred SD Lit while data is being transmitted RD Lit while data is being received 24V DC external Supplied from 24V DC 150 mA external terminal block power supply 5V DC internal power 5V is self supplied 5V DC of PLC is not used supply Terminal resistor For standard cable 110 1 2 W color cable brown bro
98. ES D213 FROM For station 2EDH RWr D D214 4 2 RWr Remote register RWr D215 2EFH RWr F RWr 0 0216 2F0H RWr 10 RR RW 1 DR7 1 For station 2F1H RWri pam RW 2 D218 5 2 2 RWr 12 17 Ii Aer t RWr 3 0219 2 RWr 13 RWr 4 RE ULM UP 1 RWr 5 RWr 6 1 RWr 7 RWr 8 RWr 9 RWr A RWr 1 MITSUBISHI 11 7 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 M20 M35 M21 Reads the data link status in 1 FROM 1 0680 K4M501 K1 Wi Module Module Data link status in remote device station S0089 error ready host station M501 Data link is being executed Normal link station No 1 Ihe AJER TESTAD M501 030 There is an error in data link in Link error station No 1 the Seema ane M503 Data link is being executed in CALL P20 the FXeN 32CCL Normal link station No 3 M503 Yos There is an error in data link in Link error station No 3 FEND Program for communication with the AJ65BTB1 64AD P10 Reads from the remote input RX in the AJ65BT 64AD M8000 FROM KO HOOEO K4M100 K2 M124 initial data processing request flag RX18 up T MOV H0202 D100 Averaging proc
99. H 1504 Read write special relay Stores the data link status enabled 4 4 10 5FFH 1535 write 600H 1536 disabled 2 2 SW special register Stores the data link status depending 9 3 7FFH 2047 on device 800H 2048 as N Write 2 2 Prohibited to use disabled Do not write to areas that are prohibited to use Such write may cause errors p a MITSUBISHI 47 FX2N 16CCL M CC Link System Master Block Specification 4 4 4 2 Parameter information area Set the conditions to perform the data link The contents of setting can be registered to the EEPROM Table 4 6 BFM number Item Description Default Hex Dec 00H 0 Prohibited to use Set the number of connected 01H 1 eee modules remote station modules 8 including reserved stations Set the number of retries to a 02H 2 Number of retries faulty station 3 Number of Set the number of remote station 03H 3 automatic return modules that can return to the 1 modules system during one link scan ju Prohibited to use Operation Specify the data link status when 06 6 specification against an error occurs in the master 0 stop CPU down station PLC 07H 7 2 2 Prohibited to use 09H 9 CH 12 2 Prohibited to use FH 15 Reserved station NM 10H 16 specification Set reserved stations
100. NSD RD LEER e o PLC Master station Remote I O Remote device station station Terminal Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC RUN ERR MST TEST1 O TESTA S Indicates the ON status CERN S O Indicates the OFF status FXen 16CCL M Indicates the flashing status SW O Indi Indicates the ON OFF or flashing status PRM OR TIME 00 LINE O SD RD PWLRUNSD RD LEER e e e o PLC Master station Remote I O Remote device station station Terminal A pu JN Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC s MITSUBISHI 13 14 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 4 9 When the switch setting is changed during data link The example below shows a case in which the switch setting is changed in a remote station The L ERR LED indicator is flashing in a remote I O station in which the switch setting is changed However data link can continue When the switch setting is returned to the previous status the L ERR LED indictor turns off RUN ERR MST TESTI TESIS e Indicates the ON status ORB Indicates the OFF status FX
101. PLC FX1N Hardware Manual JY992D89301 packed with product Describes the contents related to the hardware such as specification wiring and mounting of the FX1N Series PLC FX2N Hardware Manual JY992D66301 packed with product Describes the contents related to the hardware such as specification wiring and mounting of the FX2N Series PLC FX2NC Hardware Manual JY992D76401 packed with product Describes the contents related to the hardware such as specification wiring and mounting of the FX2NC Series PLC XFX2N 32CCL User s Manual JY992D71801 packed with product Describes programming and handling of the CC Link interface block FX2N 32CCL Indispensable manual Manual required depending on equipment used s MITSUBISHI 1 1 FX2N 16CCL M CC Link System Master Block Introduction 1 1 2 General Names and Abbreviations Unless otherwise specified this manual uses the general names and abbreviations shown in the table below to describe the CC Link system master block FX2N 16CCL M Table 1 2 General name abbreviation Description FX2N 16CCL M Abbreviation of the CC Link system master block FX2N 16CCL M Cyclic transmission Transmission method to periodically communicate the contents of remote I Os and remote registers Master station Station which controls the data link system One master station is re
102. Program for 10 6 10 3 Execution Of ODE tM AD M 10 8 10 3 1 Confirmation of operation by LED 10 8 10 3 2 Confirmation of operation by 10 9 11 Communication between Master Station and Remote Device Stations1 1 1 11 1 System Configuration t mee Rees ter ndo eun ete de 11 1 11 1 1 Setting of master 11 1 11 1 2 Setting of remote device 11 2 11 2 Creating a Progfar succo eee e eive pala t Peta tp tib ua equo pida iun mares 11 3 11 2 1 Program for 11 3 11 2 2 Program for 11 6 11 3 Execution or Data uen oct elatio sire ons e 11 10 11 3 1 Confirmation of operation by LED 11 10 11 3 2 Confirmation of operation by 11 11 12 Communication in Compound 12 1 12 1 System configuration oeste eus tee Medus Rus 12 1 12 1 1 Setting of master
103. RX9D RX9C RX9B RX9A 99 RX98 RX97 RX96 RX95 RX94 RX9B RX92 RX91 RX90 EAH RXAF RXAE RXAD RXAC RXAB RXAA RXA9 RXA8 RXA7 RXA6 RXA5 RXA4 RXA3 RXA2 RXA1 RX AO s EBH RXBF RXBE RXBD RXBC RXBB RXBA RXB9 RXB8 RXB7 RXB6 RXB5 RXB4 RXB3 RXB2 RXB1 BO 7 ECH RXCF RXCE RXCD RX CC RXCA RXC9 RXC8 RXC7 RXC6 RXC5 RXC4 RXC2 RXC1 EDH RXDF RXDE RXDD RXDC RXDB RXDA RXD9 RXD8 RXD7 6 RXD5 RXD4 RXD3 2 RXD1 RXDO EEH RXEF RXEE RXED RXEC RXEB RXEA RXE9 RXE8 RXE7 RXE6 RXE5 RXE4 RXES3 RXE2 RXE1 EO RXFF RXFE RXFC RXFB RXFA RXF9 RXF8 RXF7 RXF6 RXF5 RXF4 RXF3 RXF2 RXF1 RX FO FOH RX 10F 10E 10D RX 10C RX 10B RX 10A RX 109 RX 108 107 RX 106 105 104 RX 103 102 RX 101 100 j RX11F 11E RX 11D 11C 11B 11A RX 119 118 117 RX 116 115 RX 114 RX 118 112 RX 111 110 10 F2H RX 12F RX 12E RX 12 12C RX 12B RX 12 129 RX 128 RX 127 RX 126 125 RX 124 123 122 121 120 F3H RX13F 13E 130 13C 13B 18A 139 RX 138 RX 137 RX 136 135 134 RX 133 132 131 130 ti F4H RX14F 14E 14D RX 14C 14B RX 14A 149 RX 148 RX 147 RX 146 RX 145 RX 144 143 142 RX 141 RX 140 FbH RX15F 15E 15D RX 15C 15B
104. SHI 11 2 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 11 2 11 2 1 Creating a Program Program for parameters In the program below data link automatically starts when the PLC starts to run For debugging BFM AH M35 to M20 M8000 FROM KO K4M20 K1 RUN monitor M20 M35 T PLS MO Module Module error ready MO SET M1 M1 MOV K2 DO MOV K7 D1 MOV K2 D2 TO H0001 DO K3 MOV KO D3 TO KO H0006 D3 K1 M1 MOV H1201 D12 MOV H1303 D13 TO H0020 012 K2 RST M1 Number of connected modules 2 modules Number of retries 7 times Number of automatic return modules 2 modules Operation specification against CPU down stop Remote device station AJ65BT 64AD Remote device station FX2N 32CCL Station information MITSUBISHI FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11
105. Setting from Sequence Program ed oe 7 5 8 Data Link 8 1 8 1 Data Link Proced fte oorr m Re e ae Ea e 8 3 8 2 Name of Each Part and 98 8 4 8 3 Master Block Status Check Hardware 8 8 8 4 Module Wiring with Dedicated CC Link 8 10 8 5 T shaped Branch Connection Using Dedicated CC Link Cables 8 11 8 5 1 System configuration with T shaped branch 8 11 8 5 2 T shaped branch communication specification 8 12 8 6 Switch Settings Rep EU 8 13 8 6 1 Station number setting master station remote I O stations and remote device stations 8 13 8 6 2 Mode setting 5 d eei eno nea reete ee 8 15 8 6 3 Transmission speed 8 15 8 64 Condition setting cedentem odd epe i 8 15 MITSUBISHI vii FX2N 16CCL M CC Link System Master Block Contents 8 7 Connection Status Check Line 8 16 8 7 1 Check of connection status and communication status with remote stations IME TST eo ce
106. System Configuration 3 3 4 Number of Occupied Stations and Station numbers as well as Number of Modules and Number of Stations This section describes the relationship between the number of occupied stations and the station as well as between the number of modules and the number of stations 1 Number of occupied stations The number of stations occupied by each remote I O station or remote device station is shown in Table 3 2 Table 3 2 Module Number of occupied stations Remote I O station module with 16 or 32 points 1 FX2N 32CCL 1 to 4 selectable AJ65BT 64AD 2 AJ65BT 64DAV 2 Remote device station AJ65BT 64DAI 2 AJ65BT D62 4 AJ65BT D62D S1 A852GOT 20 4 2 Station number When the number of stations occupied by every station module is 1 assign consecutive section numbers beginning with 1 1 2 3 If there is a station module occupying 2 or more stations the number of occupied stations should be taken into account when the station are assigned Station Station Station Station Station Station Station Station Station No 1 No 2 No 3 No 4 No 5 No 6 No 7 No 8 No 9 gt x lt gt lt y gt Station No 1 Station No 4 Station No 9 Remote Remote Remote Master device station device station device station station occupies 2 Station No 3 E Station No 8 stations Remote porn Rem
107. When the write refresh command BFM AH b0 is OFF all data of the remote output RY is treated as 0 OFF 2 The PLC sets to ON the write data link startup BFM AH b8 by EEPROM parameters to start the data link However parameters should be registered to the EEPROM in advance When the data link starts normally the read data link status in host station BFM AH b1 turns ON Point The data link can be started also from the parameters written in the parameter information area in the buffer memory Refer to Chapter 7 Remote input 3 The remote input RX of the remote device stations is automatically for each link scan stored in the buffer memory remote input RX in the master station 4 The PLC receives the input status stored in the buffer memory remote input RX using the FROM instruction f Remote device station Remote device station PLC Master station Station No 1 Occupies 2 stations Station No 3 Occupies 2 stations 4 Remote input RX Remote input RX HB Shee 1 RXOF RX00 RXOF RX00 RXIF RXIO RXiF RXIO RX2F RX20 RX30 RX4F RX40 RXOF 00 RX5F RX50 RXTE RX10 ee Remote input RX FROM RX7F RX70 RX8F RX80 RX1DF RX1D0 MITSUBISHI 5 5 FX2N 16CCL M CC Li
108. Y7F RY70 LL Yao RY8F RY80 Pit Se I H RY1DF RY1DO MITSUBISHI 5 3 FX2N 16CCL M CC Link System Master Block Functions 5 5 3 Communication between Master Station and Remote Device Stations This section describes the overview of the communication between the master station and remote device stations PLC Master station Remote device station UAE SET Hsi Refresh command il b0 2 Data link startup by per A 2 EEPROM parameters BFM AH b8 Buffer memory E 4 Remote input Remote input FROM RX sean RX L 6 5 Remote output Remote output TO RY Link scan RY 7 Remote register 8 Remote TO eal E RWw Link scan register RWw 10 Remote register 2 Remote FROM Link scan register RWr MITSUBISHI 5 4 FX2N 16CCL M CC Link System Master Block Functions 5 Data link startup 1 The PLC sets to ON the write refresh command BFM AH b0 and makes the data of the remote output RY effective
109. a link startup by EEPROM parameters BFM AH b8 s MITSUBISHI 4 19 FX2N 16CCL M CC Link System Master Block Specification 4 9 Read abnormal completion of data link startup by EEPROM parameters BFM AH b9 Indicates the abnormal completion status of the data link startup request by the write request for data link startup by EEPROM parameters BFM AH b8 a When the write request for data link startup by EEPROM parameters BFM AH 08 is set to ON the contents of the EEPROM parameters are checked When the contents are abnormal the read abnormal completion of data link startup by EEPROM parameters BFM AH 09 turns ON b The read parameter setting status BFM AH b2 turns ON the error code is stored in the buffer memory for the parameter status in host station SW0068 When the write request for data link startup by EEPROM parameters BFM AH b8 is set to OFF the read abnormal completion of data link startup by EEPROM parameters BFM AH b9 turns OFF b9 Read abnormal completion of data link startup by EEPROM parameters Read parameter setting status OFF BFM AH b2 Startup processing Parameter status in host station SWO0068 Write request for data link startup by EEPROM parameters b8 0 Error code MITSUBISHI 4 20 FX2N 16CCL M CC Link System Master Block Specification 4 10 Read normal com
110. arameters BFM AH b8 Starts up the data link in accordance with the contents of the parameters registered in the EEPROM For the signal timing refer to 8 and 9 17 Write request for parameter registration to EEPROM BFM AH b10 Registers the parameters stored in the buffer memory to the EEPROM For the signal timing refer to 10 and 11 s MITSUBISHI 4 25 FX2N 16CCL M CC Link System Master Block Specification 4 4 4 5 Master block control signals 1 FROM TO instruction access error judgement time 1 This buffer memory sets the period of time to judge FROM TO instruction access errors in the unit of 10 ms The default value is 200 ms K20 For example when you would like to set the judgement time to 10 ms write 1 using the TO instruction If the access time for read write by the FROM TO instruction from the PLC to the buffer memory excluding the buffer memory prohibited to use in the FX2N 16CCL M exceeds the period of time set here the system regards it as an access error Setting range 1 to 32 767 Point Make sure to set a value larger than one scan time to the FROM TO instruction access error judgement time If the preset value is shorter than one scan time an access time error may occur in some programs You can check the maximum scan time of the PLC by referring to D8012 unit 0 1 ms 2 Detection of accesses outside allowable range BFM 1DH 1 is written here if there is a setti
111. as to the suitability of each specific application USER S MANUAL FX2N 16CCL M CC Link SYSTEM MASTER BLOCK MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100 8310 TELEX J24532 CABLE TOKYO HIMEJI WORKS 840 CHIYODA CHO HIMEJI JAPAN Effective JAN 2001 JY992D93101A Specification are subject to change without notice
112. aster station Remote I O Remote I O Remote device station Remote device station fixed station station MITSUBISHI 8 13 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 2 Do not skip station numbers The skipped station numbers are treated as data link faulty stations which can be checked in the link special register SW0080 or the buffer memory address 680H However by setting such stations as reserved they are not treated as data link faulty stations Setting example 1 When one station number is skipped Station No 0 Station No 4 Station No 8 Master Remote Remote station device station device station occupies 4 occupies 2 Station No 1 Station No 2 stations stations Remote I O station 2 Remote station N occupies 1 station occupies 1 station wr J woy Station O Station No 1 Station 2 Station 3 Station No 4 Station No 5 Station No 6 Station No 7 Station 8 Station No 9 Master station Remote I O Remote I O Remote device station Remote device station fixed station station Data link faulty station It is not treated as faulty station if set as a reserved station 3 Duplicate station numbers are not allowed If there are duplicate numbers a loading status error occurs The error code is stored i
113. aster Block System Configuration 3 3 3 Configuration Example 3 3 1 Example of maximum configuration 16 points 8 points 7 remote I O stations 32 points x 7 stations Main unit Master block FX2N 16M FX2N 16CCL M 1 Occupies 1 Occupies 1 Occupies 1 Occupies 1 Occupies 1 1 station station station station station station station Station No 0 A ALA Terminal resistor Terminal resistor Occupies 1 Occupies 1 1 Occupies 1 1 1 Occupies 1 1 station station station station station station station station 8 remote device stations In the FX2N Series PLC when a 16 point basic module and the master block FX2N 16CCL M are connected up to 7 remote I O stations can be connected 7 is the maximum number As to remote device stations up to 8 stations can be connected without regard to the number of remote stations Number of I O points in PLC including vacant 16 oints numbers and extension points Number of points occupied by FX2N 16CCL M 8 points Total number of points occupied by other points special extension PLCs 32 x Number of remote stations 224 points lt 256 FX2N 2NC Series PLC 248 points lt 128 FX
114. aster Block System Configuration 3 3 3 4 Example of connection to the CC Link system for the A QnA Q Series When connecting the CC Link system for the A QnA Q Series and the CC Link system for the FX Series provide the CC Link interface FX2N 32CCL in the connection area as shown in the figure below CANC AM Ral Ra ae a MR C CD Cin C Cin p p CIR an CIR p CR a CIR p Can Ca Ca Cu Can cas Can Oan aa Hn Poncio Dan den inn dmi 1 CC Link master 1 block for the Master station Q Series QJ61BT11 Local station p A1SJ61QBT11 U Remote O station A1SJ61BT11 AJ61BT11 1 1 1 1 1 1 Terminal resistor 7 1 Remote device Master station station Terminal resistor CC Link interface FX2N 32CCL Main unit CC Link master block FX1N FX2N FX2NC FX2N 16CCL M E aS as SRP Sat lp us Cc bid el CC Link master m A Y lock for the FX coe x Terminal resistor Provide the CC Link Main unit Gak interface FX2N 32CCL in EXon 32CCL the connection area FX2N FX2N Remote station Main unit CC Link interface FXoN FX1N FX2N 32CCL FX2N FX2N Terminal resistor MITSUBISHI 3 5 FX2N 16CCL M CC Link System Master Block
115. ata link by stop 0 Normal Other than 0 Error code Refer to Section 13 3 Stores the execution result of request for temporary error Result of request for invalid stations by SB0004 SW0049 649H temporary error s Neral y f valle stations Other than 0 Error code Refer to Section 13 3 Stores the execution result of request for cancel of Result Tequest temporary error invalid stations by SB0005 SWO004B 64 cancel of temporary 0 SEDI y Stations Other than 0 Error code Refer to Section 13 3 Stores the execution result of request for line test by SW004D 64DH Result of request for SB0008 line test 0 Normal Other than 0 Error code Refer to Section 13 3 1 Sets to ON only the bit corresponding to the head station number a MITSUBISHI FX2N 16CCL M CC Link System Master Block Programming 9 Number punan Name Description memory Result of request for Indicates the execution result of request for parameter SW004F 64FH parameter verification test by SB0009 verification test 0 Normal Other than 0 Error code Stores the setting status of the mode setting switch 0 Online 2 Offline Mode setting switch 3 Line test 1 eroded SPON status 4 Line test 2 5 Parameter verification test 6 Hardware test 1 7 to F Setting error Stores the setting statu
116. ation M195 M180 4 E7H RX 7F 70 211 M196 f Es RX 8F RX80 For station 4 227 212 5 9 RX 9F RX 90 System area i Remote device station station No 2 FX2N 32CCL FDH 3 Remote input 00 RX1F RX10 Address Remote output RY For station 160K RY F RYO RXGF RX30 M347 M332 UM aL BRA AU RX4F RX40 i 162 RY 2F RY 20 M363 M348 or station 50 2 1634 RY 3F RY 30 ones For station 164H 4 RY 40 M411 M396 es 165 _RY 5F RY 50 Remote output RY For station 166H RY 6F RY 60 M427 M412 No 4 on RYOF RYOO 1674 RY 7F RY 70 System area RY1F 10 For station 168H RY 8F RY 80 vA 5 169 RY 9F RY 90 RY30 RY4F RY40 RY50 17DH System area 1 MITSUBISHI 12 6 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 Remote register RWw RWr PLC Master station 2 i E I Address Remot
117. ation area to execute the data link enabled E 19H 9 10 2 2 signal signals to control the master block Read write 4 4 3 enabled BH 11 CH Stores the information parameters Read write 442 information area to execute the data link enabled S 1 27 1 28 2 2 nid block control Signals to control the master block D Me 4 4 5 1EH 430 9 9 1 431 Prohibited to use x HL Heo aioe Parameter Stores the information parameters Read write 442 information area to execute the data link enabled y 2 47 30H 48 AD Write 2 2 Prohibited to use DFH 223 EOH 224 Remote input RX the input status from a remote Read only 446 FDH 253 100H 256 Ls Write 2 2 Prohibited to use E 15 351 99086 Li e Parameter Stores the output status to a remote Write only 447 17 381 information area station 180H 384 Gi Write 2 2 Prohibited to use 1DFH 479 1E0H 480 2 _ Prohibited to use Stores the transmission data to write only 44g 21 538 21 543 Write 2 2 Prohibited to use 2DFH 735 cave Remote register 2E0H 736 RWr Stores the received data from a Read onl 44 9 31BH 795 Master station For remote station t receiving 320H 800 2 2 Prohibited to use LM 1503 5E0
118. ations 10 For operation M8000 FROM KO HA K4M20 K1 5 to M20 RUN monitor M8002 SET M40 Refresh command Initial pulse M20 M35 PLS Module error ready 1 Mt 48 Data link by M28 EEPROM RST M48 When data link startup by parameters EEPROM parameters normally completed RST M1 29 FROM HO0668 D100 K1 When data link startup by RST M48 EEPROM parameters abnormally completed RST Mt M8000 TO KO HA K4M40 K1 M55 to M40 gt BFM AH s MITSUBISHI 10 5 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O Stations 10 10 2 2 Program for communication The figure below shows a program to control remote I O stations It is supposed that the relationship among the PLC the master station buffer memory and the remote I O stations is as shown below e 5 5 Master station Remote I O station station No 1 AJ65BTB1 16D Address Re
119. being handling as a data link faulty station in the master station Be careful however because errors will not be detected Stations to be set as error invalid station Station No 3 Station No 8 Remote Remote device device Master 1 station Station No 1 Station No 2 station 5 7 station d occupies occupies Remote 1 station Remote I O station stations Remote I O station stations occupies 1 station occupies 1 station occupies 1 station V pu Station No 3 Station No 8 Not handled as a data link faulty station Remote Remote Master N device device station Station No 1 Station No 2 station Station No 7 station Remote I O station Remote I O station stations Remote I O station stations occupies 1 station occupies 1 station occupies 1 station Ke PAS TAN p m 2 4 s MITSUBISHI FX2N 16CCL M CC Link System Master Block Overview 2 6 Parameter registration to the EEPROM By registering the parameters to the EEPROM in advance the parameter settings do not have to be executed at each startup power OFF gt ON of the master station The data stored in the EEPROM remains stored even if the power of the module is turned off
120. ber Bit Offline test Indicates the offline test execution status 580050 5E5H 0 OFF Not executed execution status ae ON Being executed Indicates the setting status of the mode setting switch in the module 580060 5E6H 0 Module mode OFF Online 0 ON Other than online 0 Indicates the setting status of the station number setting switch in the module SB0061 5E6H 1 Station type OFF Master station No 0 ON Setting error The station number is not set to 0 Indicates the setting status of the condition setting Input status of data switch DIP switch SW4 in the module link faulty station OFF Clear ON Keep Indicates the switch setting status Switch setting OFF Normal PEBH 19 status ON Setting error The error code is stored in SWOO06A Indicates the parameter setting status Parameter setting OFF Normal PEON te status ON Setting error The error code is stored in SW0068 Indicates the data link operation status in the host Operation status in station SEGN host station OFF In progress ON Not executed Indicates the status of operation specification against Status of operation CPU down bv parameter SB0073 5E7H 3 specification against CPU down ON Continue Indicates the reserved station specification status by Reserved station parameter SW0074 PEU specification status OFF Not specified ON Specified
121. ber of automatic return modules TO H1 DO K3 MOV Operation specification against ILL CPU down TO H6 D3 K1 AM EL TZ E MOV X i D4 Reserved station specification H10 D4 K1 Only when required EE MOV j DS Invalid station specification TO H14 DS Kt p M MM MOV D13 3 Station information set for only connected modules mov Di TO H20 K RST M1 MITSUBISHI 7 5 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 Refresh command When data link startup by buffer memory parameters is normally completed When data link startup by buffer memory parameters is abnormally completed When parameter registration to EEPROM is abnormally completed When parameter registration to EEPROM is abnormally completed M8002 T SET M40 Initial pulse M20 M35 l PLS M2 Module Module error ready SET M3 M3 46 Data link by M26 buffer memory parameters RST M46 RST M3 M27 FROM KO 668 D100 K1 RST M46 RST M3 Registration command M2
122. bited to use XnD 514 515 ready MITSUBISHI 4 12 FX2N 16CCL M CC Link System Master Block Specification 4 Table 4 9 PLC Master block Write when TO instruction is used number bi Output signal an AQnA Seres bO Refresh command YnO b1 Yn1 b2 Prohibited to use Yn2 b3 Yn3 b4 Request for module reset Yn4 b5 Prohibited to use Yn5 b6 s data link startup by buffer memory Yn6 FAR b7 _ Prohibited to use Yn7 10 b8 data link startup by EEPROM Yn8 b9 Prohibited to use Yn9 b10 Request for parameter registration to EEPROM YnA b11 YnB b12 YnC b13 Prohibited to use YnD b14 YnE b15 YnF a MITSUBISHI 4 13 FX2N 16CCL M CC Link System Master Block Specification 4 Table 4 10 PLC lt Master block Read when FROM instruction is used Abies Signal Seres 1 0 b1 X n 1 1 b2 X n 1 2 b3 X n 1 3 b4 X n 1 4 b5 X n 1 5 b6 1 6 BH 07 _ Prohibited to use 11 58 1 8 b9 X n 1 9 b10 1 b11 X n 1 B b12 X n 1 C b13 X n 1 D b14 1 b15 X n 1 F Table 4 11 PLC Master block Write when TO instruction is used
123. cedure for data link in the CC Link system Connect the PLC and the master block Attach remote I O modules and remote device modules to the control panel and the machine Check in the master block single module whether Refer to Section 8 3 it operates normally hardware test Connect each module with CC Link cables Refer to Sections 8 4 and 8 5 Module type Remote I O module Remote device module Master block Set switches in the remote Set switches in the master module modules Station No setting switch Section 8 6 1 Station No setting switch Mode setting switch Section 8 6 2 Section 8 6 1 Transmission speed setting switch Transmission speed setting Section 8 6 3 Switch Section 8 6 3 Condition setting switch Section 8 6 4 Check the connection status of each module line test Refer to Section 8 7 Programming Chapters 10 to 12 Program for parameter setting Program for communication Start data link Check the preset parameter information parameter verification test Refer to Section 8 8 MITSUBISHI 8 3 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 2 Name of Each Part and Settings This section describes the name of each part of the master block the contents indicated by the LED indicators and the setting method of each switch 85 3 34 87 3 43 75 2
124. cially in control from external equipment to a PLC in a remote place problems in the PLC may not be able to be handled promptly due to abnormality in data transfer Construct an interlock circuit in the sequence program At the same time determine the actions in the system between the external equipment and the PLC CPU for protection against abnormalities in data transfer 4 1 General Specification Dielectric strength 500 VAC for 1 minute between the case and the PLC ground Other specification is equivalent to that of the PLC basic module MITSUBISHI 4 1 FX2N 16CCL M CC Link System Master Block Specification 4 4 2 Performance Specification Table 4 1 Specification Applicable function Master station function The local station and standby master station functions are not provided CC Link version Ver 1 10 Transmission speed Selectable by rotary switch among 156 kbps 625 kbps 2 5 Mbps 5 Mbps and 10 Mbps Station number 0 set by rotary switch Maximum total cable length maximum transmission distance 1 200 m maximum Varies depending on the transmission speed Refer to Section 4 2 1 Maximum number of connected modules Remote I O stations 7 maximum Each station occupies 32 1 0 points of the PLC Remote device stations 8 maximum The following condition must be satisfied 1xa 2xb 8xc 4xd lt 8 a Number of remote device statio
125. contents of the 8 8 preset parameters s MITSUBISHI 5 1 FX2N 16CCL M CC Link System Master Block Functions 5 5 2 Communication between Master Station and Remote I O Stations This section describes the overview of the communication between the master station and remote I O stations PLC Master station Remote I O station SET sol Refresh command T b0 Data link startup by SET EEPROM parameters BFM AH b8 Buffer memory Remote input FROM A RX Link scan Input 1 L Remote output 2 RY Link scan Output SPI Data link startup 1 The PLC sets to ON the write refresh command BFM AH b0 and makes the data of the remote output RY effective When the write refresh command BFM AH b0 is OFF all data of the remote output RY is treated as 0 OFF 2 The PLC sets to ON the write data link startup by EEPROM parameters b8 to start the data link However parameters should be registered to the EEPROM in advance When the data link starts normally the read data link status in host station b1 turns ON Point The data link can be started also from the parameters written in the parameter information area in the buffer
126. cupies block Remote I O station Remote device stati on 00000 FXoN FX1N FX2N FX2NC acai Series PLC EXE AE H ot 200 a 1 1 Inputmodule nn NA resistor AJ65BTB1 16D RYOO MITSUBISHI 12 10 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 Troubleshooting STARTING AND MAINTENANCE PRECAUTIONS Do not touch the terminals while the power is supplied Otherwise electrical shock or malfunction may be caused Turn off the power first then clean the module or tightening the screws Cleaning or tightening in the power ON status may cause electrical shock Before executing program changes forcible output RUN operation or STOP operation thoroughly read the manual and sufficiently confirm safety Incorrect operation may damage the module or cause an accident STARTING AND MAINTENANCE PRECAUTIONS Do not disassemble or rebuild the module It may cause failures malfunction or fire Before connecting or disconnecting a connection cable such as an extension cable turn off the power Otherwise the module may fail or malfunction DISPOSAL PRECAUTIONS When disposing of the module handle it as industrial waste MITSUBISHI 13 1 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 1 Verification when Trouble Occurs The table below
127. de the range from 1 to 64 master station error parameter Reserved station In the reserved station specification PME Confirm the reserved station 9 specification error parameter all stations are set as NI specification parameter parameter reserved ones MITSUBISHI 13 9 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 Error code hex B901 Description EEPROM error Cause of error details When the write request for parameter registration to EEPROM BFM AH b10 was executed the EEPROM was defective or the specified number of times of write 10 000 times is exceeded Corrective action Replace the module B902 Data link startup by EEPROM parameters error Though parameters were not registered in the EEPROM the write request for data link startup by EEPROM parameters BFM AH 08 was executed Register parameters by executing the request for parameter registration to EEPROM BFM AH b10 BA19 Error in corresponding station In the line test 2 communication was disabled in the tested station Check the cables and the corresponding station BA1B Error in all stations In the line test 1 communication was disabled in all stations Check the cables BBC2 Station number setting error switch The station number setting switch in the module is not set inside the range from 0 to 64 Set a value
128. di i ws oE Indicates the ON OFF or flashing status PRM OR TIME 00 LINE O SD PWLRUN 50 RD LEER e o PLC Master station Remote I O Remote device station station Terminal pm Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC 4 MITSUBISHI 13 16 FX2N 16CCL M CC Link System Master Block Appendix 14 14 Appendix Parameter setting sheet Table 14 1 Buffer Item Setting range memory Remarks Default value address er et 1 to 15 1H 8 connected modules Number of retries 1107 2 3 Number of automatic to 10 3H __ 4 return modules Operation specification against 0 Stop 1 Continue 6H 0 stop CPU down Reserved station Set to 1 the bits ie corresponding to 10H Station Nos 15 to 1 OOOOH specification reserved stations Invalid station Set to 1 the bits ante corresponding to invalid 14H Station Nos 15 1 0000H specification stations Station information b15 to b12 station type 20H 1st module 0101H 0 Remote station 21H 2nd module 0102H 1 Remote device station 22H 3rd module 0103H b11 to b8 number of 23H 4th module 0104H occupied stations 24H 5th module 0105H 1 Occupies 1 station 2 Occupies 2 stations 25H 6th module 0106 3 Occupies 3 stations 26H 7th module 0107H 4 Occupies 4 stations 27H 8th module 0108H b7
129. e unit 1 ms MITSUBISHI FX2N 16CCL M CC Link System Master Block Programming 9 2 The loading status is checked only when link starts up then stored Buffer ae Number memory Name Description SWOO6E 66EH pascal Stores the current value of the link scan time unit 1 ms SWOO6F 66FH ee Pascal Stores the minimum value of the link scan time unit 1 ms SW0070 670H Total number of Stores the last station number set in parameter stations 1 to 15 stations Maximum Stores the maximum station number station number set SW0071 671 communication by the station number setting switch in the data link station number 1 to 15 stations Number of Stores the number of modules except reserved stations SW0072 672H in the data link connected modules 1 to 15 modules Stores the reserved station specification status 0 Not specified as reserved station des 1 Specified as reserved station eserved station SW0074 674H amp specification status b15 b14 b13 b12 b3 b2 bi 50 SW0074 15 14113 4 3 2 1 Numbers 1 to 15 above indicate station numbers Stores the error invalid station specification status 0 Not specified as error invalid station 1 Specified as error invalid station rror invalid station SW0078 678H specifica
130. e ji RWEES y 0219 2F3H RWr 13 1 L MITSUBISHI 12 7 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 M20 M35 M21 FROM Hoeso Kamso1 Kt eqs statis dn fembte Module Module Data link NEGI error ready status in host station P10 Data link is being executed in the AJ65BTB1 16D Normal link station No 1 M501 Yo30 There is an error in data link in the AJ65BTB1 16D Link error station No 1 263 502 CALL P20 Data link is being executed in the FX2N 32CCL Normal link station No 2 502 Y031 There is an error in data link in the FX2N 32CCL Link error station No 2 FEND Program for communication with remote station P10 M8000 FROM HOOEO K4M100 K1 1 M100 l 1000 When inputs X00 to XOF inthe AJ65BTB1 16D turn ON outputs Y000 to Y017 in the PLC turn ON 115 Y017 4 Program for IRET communication with the FX2n 32CCL P20 M8000 Reads from remote inputs FROM HOOE2 K4M132 K6 7 to E2H RX7F to RX20 RUN M212 to M132 Writes to remote outputs l TO
131. e register RWw TEON gt Remote device station station No 2 Di01 Forstation 1E1H RWw1 f FXeN 32CCL 0102 1 1 2 RWw 2 F Do 1E34 RWww3 Remote register RWw eee ep Aww 7 RWwO For station 1E54 RWw5 RWwt M e M Lo opm s D107 1 7 RWw 7 RWw 3 pe teen awe For station 1E9H RWw 9 RWw 5 D110 3 1 RWw A D111 1 RWwB a p 1ECH RWw C RWw8 LENS Forstation 1EDs RWwD a ue E No4 0115 1EFH RWw F Ree an ON TEON a uoo Dti7 For station iFin Remote register RWr Nas BWwi2 E D119 1 RWw 13 aoa T Remote register RWr ERN e awo For station 2E1H 1 L pme Wee 2 5 0203 2 RWr 3 0204 2 4 RWr 4 0205 FROM For station 2 5 RWr5 No2 mwr 0207 2E7H RWr 7 RWr B 0208 2 8 RWr 8 D209 __ For station 2E9H RWr 9 Bato Noo PGH N D211 RWr 2 D eee 221810 For station 2EDH RWrD PM No4 Jaee RWE Jj 0215 2 RWr 0216 2 0 _ D237 Forstation FiH RWri t bai
132. e request for module reset BFM AH b4 b When the write request for module reset BFM AH b4 is set to ON the read module ready BFM AH b15 turns OFF and the initialization processing is executed When the initialization processing is abnormally completed the read module ready BFM AH b15 does not turn ON but the read module error BFM AH bO turns ON instead Abnormal startup after reset OFF Read module reset acceptance completion Initialization BFM AH b4 processing Read module ready b15 Read module error N 60 Write request for module reset BFM AH b4 MITSUBISHI 4 16 FX2N 16CCL M CC Link System Master Block Specification 4 6 Read normal completion of data link startup by buffer memory parameters BFM AH b6 Indicates the normal completion status of the data link startup request by the write request for data link startup by buffer memory parameters BFM AH b6 a When the write request for data link startup by buffer memory parameters BFM AH b6 is set to ON the contents of the buffer memory parameters are checked When the contents are normal the system automatically starts data link b When data link startup is normally completed the read data link startup normal completion BFM AH b6 turns ON c When the write request for data link startup by buffer memory parameters BFM AH b6 is set to OFF the read normal com
133. egister SW0000 to SWO1FF refer to Section 9 3 MITSUBISHI 4 36 FX2N 16CCL M CC Link System Master Block Functions 5 5 Functions This chapter describes the functions of the CC Link master block for the FX Series 5 1 Function List Table 5 1 Item Function summary Reference Communication between master station and remote Transfers the ON OFF information with remote I O stations 5 2 I O stations Communication beween Transfers the ON OFF information and the numeric data with master station and remote 5 3 davies stati ns remote device stations Communication in Transfers data with remote I O stations and remote device 54 compound system stations Sets remote stations to be connected in the future as reserved ones so that such stations are not handled as data link faulty Reserved station function stations 5 5 If a connected station is set as a reserved one data link is disabled in the station I f Sets remote stations as error invalid so that such stations are Error invalid station function 5 6 not handled as data link faulty stations Daa Status setting Sets the data link status for a case in which an operation stop against error in master ion PL 5 7 station PLC CPU error occurs in the master station PLC Registers the parameters to the EEPROM built in the master Parameter registration to EEPROM module so that the pa
134. en 16CCL M Indicates the flashing status SW Indi Indicates the ON OFF or flashing status PRM TIME o 9 LINE O SD RD PWLRUN SD RD LEER e e e x PLC Master station Remote I O Remote device station station Terminal pa he Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC 13 4 10 When data link is started with a switch set outside the allowable range The example below shows a case in which a switch was set outside the allowable range remote device station then data link is started up In the remote device station the L RUN LED indicator is OFF and the L ERR LED indicator is ON RUN ERR MST TEST TESNE b Indicates the ON status Indicates the OFF status FXen 16CCL M Indicates the flashing status sw O Indi Indicates the ON OFF or flashing status PRM TIME o 8 LINE O SD RD PWLRUN SD RD LEER e e e o PLC Master A station Remote I O Remote device station station Terminal E fe Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC s MITSUBISHI 13 15 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 13 4 11 When a remo
135. er registration to EEPROM BFM AH b10 Even when the power of the master block is turned off the parameter information stored in the EEPROM remains stored The registration limit to the EEPROM is 10 000 times Co Internal memory Data link is executed using the parameter information stored in the internal memory When the power of the master block is turned off the parameter information is erased PLC Master station The parameter The parameter information is 2 information en erased when the E2PROM remains stored SET M power is turned off even when the power is turned off b10 Buffer memory 1 Parameter z information area 7 SET M P ae Data link is BFM AH b8 executed using this Internal memory parameter i information SET M P BFMM AHb6 7 MITSUBISHI 74 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 Point It is recommended to execute data link by buffer memory parameters for system debug startup and execute data link by EEPROM parameters for operation after debugging s MITSUBISHI 7 2 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 7 1 2 Procedure from parameter setting to data link startup Perfo
136. er the normal data link after executing the specified number of retries the station is regarded as a data link faulty station c Number of automatic return modules Set the number of remote station modules that can return to the system during one link scan The setting range is 1 to 10 d Operation specification for CPU shut down Specify the data link status when an operation stop error occurs in the master station PLC The setting range is 0 stop and 1 continue e Reserved station specification Set remote stations which are included in the number of connected modules but are not actually connected now so that such stations will not be handled as data link faulty stations 1 When a connected remote station is set as a reserved station the station cannot execute any data link at all 2 Set to ON the bits corresponding to the station numbers to be set as reserved For a remote station which occupies 2 or more stations turn on only the bit for the station Number set by the module s station number setting switch Numbers 1 to 15 indicate the station numbers in the table below b15 514 b13 b12 b11 510 b9 b8 b7 b6 05 b4 b3 b2 bi 50 BFM 10H 15 14 13 112 1111019 18 7 6 5 4 3 2 MITSUBISHI 4 9 FX2N 16CCL M CC Link System Master Block Specification 4 Setting example When setting a remote device stati
137. erently between the time of read when the FROM instruction is used and the time of write when the TO instruction is used as shown in the table below The system automatically changes over these functions in accordance with the instruction FROM or TO The table below shows also the assignment of numbers adopted in the A QnA Q Series master module as reference These I O numbers are available only in the A QnA Q Series and are not available in the CC Link system for the FX Series When making a program make sure to specify bits of the buffer memory Table 4 8 PLC lt Master block Read when FROM instruction is used BFM Read input sianalinams Reference Input number number bit 9 A QnA Q Series bO Module error XnO b1 Data link status in host station Xn1 b2 Parameter setting status Xn2 b3 Data link status in other stations Xn3 b4 Module reset acceptance completion Xn4 b5 Prohibited to use 5 Normal completion of data link startup by buffer b6 Xn6 memory parameters b7 Abnormal completion of data link startup by buffer Xn7 BEM memory parameters AH b8 Normal completion of data link startup by EEPROM Xn8 10 parameters b9 Abnormal completion of data link startup by Xn9 EEPROM parameters Normal completion of parameter registration to 010 EEPROM AS Abnormal completion of parameter registration to 011 EEPROM Ane b12 b13 Prohi
138. es PLCs When connecting two or more FX Series PLCs in the CC Link system connect CC Link interface blocks FX2N 32CCL on the child station side and use them as remote device stations Remote I O stations The number of connected modules vary depending on the contents of extension in the PLC Main unit extension extension i master block FXi1N FX2N FX2Nc Special extension FXon 16CCL M Special extension u NN Terminal resistor Main unit CC Link interface block FXoN FX1N FX2N FX2Nc FX2n 32CCL Set to occupy 4 stations Remote device stations Main unit CC Link interface block n this example four CC Link interface blocks FX2N 32CCL FXon FX1N FX2N FXeNc FX2N 32CCL which function as remote device stations are connected The number of stations occupied by the FX2N 32CCL can be selected inside the range from 1 to 4 When each FX2n 32CCL is set to occupy 1 station up to eight FX Series PLCs can be connected Main unit CC Link interface block When FX2Nc Series PLC is connected the interface FXon FX1N FX2N FXeNc FXeN 32CCL FX2Nc CNV IF is required Set to occupy 2 stations Set to occupy 1 station Main unit CC Link interface block FXon FX1N FX2N FX2Nc FX2n 32CCL Set to occupy 1 station Terminal resistor MITSUBISHI 3 4 FX2N 16CCL M CC Link System M
139. eserved stations ST Constant larger value of and If b is 0 should be ignored 800 ax 15 Q 900 b x 50 Total number of stations occupied by remote I O stations b Total number of stations occupied by remote device stations Only when there are communication faulty stations including error invalid stations and temporary error invalid stations Example When the transmission speed is 2 5 Mbps in the system configuration below Mods Station No 11 Station No 2 1 Station No 3 7 Station No 4 Station No 6 Remote Remote Remote I O Remote device Remote I O station station station station station V 1 Occupies 1 station 2 Occupies 2 station BT 3 2 ST 1100 7 800 3 x 15 845 NW 7 gt 900 4 50 1100 a 3 b 4 N 5 ni 7 nw 4 LS 3 2 29 4 8 x 4 8 8 x 9 6 5 x 32 4 7 x 4 8 4 x 9 6 1100 2311 52 us 2 31 ms MITSUBISHI 6 3 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 6 3 Transmission Delay Time This section describes the transmission delay time time required for data transmission 6 3 1 Master station lt gt remote I O station 1 Master station RX lt remote I O station input Calculation expression SM LS x 2 Remote I O station response time ms SM Scan time of master station s sequence progra
140. essing specification CH2 time averaging MOV 0102 CH2 average time number of times 60 ms Data type MOV 0001 D105 2048 to 2047 specification CH1 and CH2 Conversion enable TO KO HO1E0 D100 K1 Initial settings TO KO HO1E2 D102 K1 TO KO HO1E5 D105 K2 mov H0003 D106 A D conversion enable disable Request for initial data settings SET M324 RY18 Initial data processing completed SET M325 RY19 M124 RST M324 M125 initial data setting completion flag RX19 RST M325 MITSUBISHI 11 8 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 1 Remote ready gt M327 M100 CH1 A D conversion completion flag RXO RX1B FROM 2 0 D200 K1 CH1 digital output value Reads digital M101 CH2 A D conversion completion flag RX1 values ioi FROM 2 1 0201 K1 CH2 digital output value 1 1 M126 error status flag RX1A FROM 1 02 4 D204 K1 Err
141. f error details Corrective action hex Number of retries The number of retries address 2H m vn Set a value inside the range from 1 to B391 setting error parameter is not set inside the 7 parameter range from 1 to 7 i The operation specification against B392 CPU down address 6H parameter 0 or 1 specification error is not set to O or 1 parameter The number of automatic return ios rs automatic return oeta value inside the range from 1 to B394 modules address 3H parameter is modules setting mn 10 not set inside the range from 1 to 10 error parameter Station number In the station information addresses B396 overlap error 20H to 2EH parameter one station Use each station number only once parameter number is specified twice or more Station information The station information addresses 20H to 2EH parameter does not Set the parameters to satisfy the B397 setting error satisfy system configuration condition parameter ih condition Number of In the station information addresses B398 occupied stations 20H to 2EH parameter the number value inside the range from 1 to setting error of occupied stations is not set inside 4 parameter the range from 1 to 4 d The number of connected modules Set a value inside the specification B399 f address 1H parameter is not set range 1 to 15 of the FX Series modules setting A insi
142. fied than the maximum communication error station number was beyond the station number maximum communication station number When the request for temporary error Specified station invalid station or the request for f Specify a station number B303 no setting cancel of temporary error invalid i SW0003 SW0004 error station was given the station number was not specified when the rogues for temporary error Specify a head station in giving the invalid station the request for Specified station request for temporary error invalid B306 cancel of temporary error invalid setting error f station or the request for cancel of station was given a head station was temporary error invalid station not specified When the following request was Data link error in given there was data link error in all Wait until the data link becomes all stations Stanons normal then give the request again SB0000 data link restart 9 9 gain e 580002 data link stop The station number of a slave station Station number is not set inside the range from 1 to Set a station number inside the B308 64 In the FX2n 16CCL M available specification range 1 to 15 of the FX setting error slave station numbers are from 1 to Series master station 15 In connected modules a station Station number number overaps ncluding me Check the station numbers of the B309 number of occupied sta
143. for module reset b4 MITSUBISHI 4 23 FX2N 16CCL M CC Link System Master Block Specification 4 Write signals 13 Write refresh command BFM AH bO Indicates whether or not the contents of the buffer memory for remote output RY addresses 160H to 17FH are effective OFF Not effective Sends all OFF data ON Effective Sends the data in remote output addresses 160H to 17DH in the buffer memory Master station Remote I O station Remote device station Remote input RX Input Remote input RX Remote output RY Output Remote output RY Points 1 Set to ON the write refresh command BFM AH b0 before starting up the data link 2 When the PLC CPU is in the stop status the write refresh command BFM AH b0 turns OFF MITSUBISHI 4 24 FX2N 16CCL M CC Link System Master Block Specification 4 14 Write request for module reset BFM AH b4 Resets the module The module can be reset individually without resetting the PLC For the signal timing refer to 5 15 Write request for data link startup by buffer memory parameters BFM AH b6 Starts up the data link in accordance with the contents of the parameters in the buffer memory For the signal timing refer to 6 and 7 16 Write request for data link startup by EEPROM p
144. g switch S MESA 0 online Transmission speed setting switch E GT TT 2 2 5 Mbps 9956 E Em EH Condition setting switch _ gt E EIE SW Setting Description Fd 1 OFER 8 SD 3 OFF E ER 4 OFF Clear 5 OFF 6 OFF 7 8 OFF Ne E MITSUBISHI FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 11 1 2 Setting of remote device station The figure below shows the setting of the switches in a remote device station Transmission speed setting switc Station number setting switch C 2 2 5Mbps 0 10 1 1 RATE STATION NO X10 x e04 01 901 28 2 0 0 0 6 44 654 65 4 MITSUBISHI CH OFFSET GAIN RESET MESE Assron 0 0 4 FX2N 32CCL Station number setting switch 0 x10 3 x1 mee CEDE J BE on Number of occupied stations mm cp 2 3st 2 Transmission speed setting switch 2 2 5Mbps M ga va MITSUBI
145. g the System 3 6 1 Wiring of power supply When the FX2N 16CCL M is supplied with 24V DC the external power supply of FX2N 16CCL M needs to be supplied at same time as the PLC main unit See examples below 1 When the 24V DC service power supply of a PLC with an AC power supply is used or when a stabilized power supply unit is used L N 24V OV 24 24 PLC main unit FX2N 16CCL M L Stabilized 244 power N supply 24 PLC main unit FX2N 16CCL M 2 When a PLC of DC power supply type is used L Stabilized 24 6 power N supply 24 24 24 24V DC PLC main unit FX2N 16CCL M MITSUBISHI 3 10 FX2N 16CCL M CC Link System Master Block System Configuration 3 3 6 2 Wiring of remote I O modules Design the system with the following considerations to prevent erroneous inputs from remote modules 1 Timing of power ON and power OFF Turn on the power of remote I O modules first then start the data link Stop the data link first then turn off the power of remote I O modules Data link start Data link stop During operation Master module data link status During stop
146. he data stored in the buffer memory remote register RWw is automatically transmitted to the remote register RWw in the remote device stations Remote device station Remote device station PLC Master station Station No 1 Occupies 2 stations Station No 3 Occupies 2 stations v 1 1 f 1 Remote register RWw Remote register RWw RWwO RWwO Rw Rw i RWw3s 0 75 i BENDUM ij 0 fi 18 RWw7 RWw7 Remote register RWw EE KE CE MEE A ee o RIT ly RWwB EE i RWw3 RWwC RWw4 RWD RWw5 RWwE RWw6 RWE X RWw7 RWw10 i RWw8B s MITSUBISHI 5 7 FX2N 16CCL M CC Link System Master Block Functions 5 Read from remote register RWr 9 The data of the remote register RWr in the remote device stations is automatically stored in the buffer memory remote register RWr in the master station 10 The PLC receives the data of the remote register RWr in the remote device stations stored in the buffer memory remote register RWr using the FROM instruction Remote device station Remote device station
147. in the buffer memory the current data link status can be checked c Diagnosis function Using the switch setting the hardware and the cable wiring can be checked a MITSUBISHI 2 5 FX2N 16CCL M CC Link System Master Block Overview 2 2 4 Major Differences from A QnA Q Series Table 2 1 Item FX Series master block A QnA Q Series master module Applicable function Master station Master station Local station Standby master station Number of connected modules Remote 1 stations 7 max Remote device stations 8 max Remote stations 64 max Remote device stations 42 max Local standby master intelligent device stations 26 max Maximum link points per station Remote I Os RX RY 32 Remote registers RWr RWw 4 lt Scan cycle Asynchronous mode e Asynchronous mode Synchronous mode Automatic refresh Not provided Provided Intelligent device station Cannot be connected Can be connected s MITSUBISHI 2 6 FX2N 16CCL M CC Link System Master Block System Configuration 3 3 System Configuration This chapter describes the system configuration for the CC link in which an FX Series PLC functions as the master station 3 1 Total Configuration Up to 7 remote I O stations and up to 8 remote device stations can be connected to one FX Series PLC functioning as the master station Each of
148. ing 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 all aspects 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 associated documentation for the said product All maintenance should be carried out in accordance with established safety practices O All operators of the completed equipment should be trained to use that product in a safe and coordinated manner in compliance to established safety practices The operators should also be familiar with documentation which is connected with the actual operation of the completed equipment Note Note the term completed equipment refers to a third party constructed device which contains or uses the product associated with this manual Notes on the Symbols Used in this Manual At various times through out this manual certain symbols will be used to highlight points of information which are intended to ensure the users personal safety and protect the integrity of equipment Whenever any of the fo
149. ion specified as reserved one Confirm the contents of the parameters Does the station number overlap Confirm the station number Is the connection setting beyond the specification of the master station Confirm the contents of the BFM3H DH Section 4 4 5 MITSUBISHI 13 3 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 Trouble description Details to be checked Confirmation method be stopped Data link cannot Is the data link stop SB0002 ON Confirm the sequence program Has an error occurred Check the data link stop result SW0045 Data link cannot Is the data link stop SB0000 ON Confirm the sequence program be restarted Has an error occurred Check the data link restart result SW0041 Parameters cannot be registered to Is the write request for parameter registration to EERROM BFM AH b10 ON Confirm the sequence program the EEPROM Has an error occurred Check the EEPROM registration status SWO00B9 A remote station cannot start up Are the settings consistent between the station information parameter and the remote station Confirm the contents of the parameters Does the station number overlap with another module Check the station number setting switch cannot be detected Faulty stations Are stations specified as error invalid ones Confirm the
150. ions Maximum p deren transmission p a 2 distance 156kbps 1200m 625kbps 30 cm or more 600m 2 5Mbps 200m 30 cm to 59 cm 110m 5Mbps 1 m or more 60 cm or more 150m 30 cm to 59 cm 50m 10Mbps 60 cm to 99 cm 80m 1 m or more 100m Dedicated high performance CC Link cable requiring terminal resistor of 130 Table 4 3 Cable length between stations 1 2 distance 156kbps 1200m 625kbps 900m 2 5Mbps 30 cm or more 1 or more 400m 5Mbps 160m 10Mbps 100m MITSUBISHI 4 4 FX2N 16CCL M CC Link System Master Block Specification 4 Dedicated high performance CC Link cable for the CC Link system V 1 10 requiring terminal resistor of 110 Q When the entire system consists of only equipment and cables V 1 10 the following advantages are offered 1 The cable distance between two stations is defined to 20 cm or more in any condition 2 Because the degree of freedom in the cable length is improved the wiring work and the system layout become easier 3 Because excessive cable length does not have to be assured when modules are located near each other the space efficiency is improved 4 Cables produced by diversified manufacturers can be used at the same time Table 4 4 Transmission Cable length between stations eoi spesad p2 distance 156kbps 1200m 625kbps 900m 2 5Mbps 20 cm
151. k is normally Data is being Data is being supplied proceeding transmitted received MITSUBISHI 10 8 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O Stations 10 10 3 2 Confirmation of operation by program Using a sequence program make sure that data link is normally proceeding D For example when the input X00 in the remote I O station AJ65BTB1 16D station No 1 is set to ON the output YOOO in the master station turns ON When the input X000 in the master station is set to ON the output YOO in the remote station AJ65BTB1 16T station No 2 turns ON X000 9 CC Link master block FX2N 16CCL M o FX1N FX2N FX2NC Series PLC gt er Terminal resistor 000 Remote station Remote I O station Remote I O station station No 1 station No 2 station No 3 00000 00000 000100 cm X00 YOO o Terminal Input module Output module module resistor AJ65BTB1 16D AJ65BTB1 16T AJ65BTB1 16DT s MITSUBISHI 10 9 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O Stations 10 MEMO s MITSUBISHI 10 10 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11
152. link special relays SB related to the temporary error invalid station specification function Table 5 3 BFM Number number Name Description Hex Bit Determines the stations specified by SW0003 to Request for temporary SW0004 as temporary error invalid stations error invalid station OFF Request not given ON Request given Cancels the stations specified by SW0003 to SW0004 from temporary error invalid stations OFF Request not given ON Request given 580004 5E0H b4 Request for cancel of 580005 b5 temporary error invalid station Indicates the acceptance status of the request for temporary error invalid station OFF Not accepted ON Accepted Indicates the acceptance completion status of the Temporary error invalid temporary error invalid station request 580049 5E4H b9 station completion OFF Not completed status ON Completed Determination as temporary error invalid station is completed Temporary error invalid SB0048 5E4H b8 station acceptance status Indicates the acceptance status of the request to temporarily cancel the error invalid station OFF Not accepted ON Accepted Indicates the acceptance completion status of the Temporary error invalid request to temporarily cancel the error invalid station SBO004B 5E4H b11 station cancel OFF Not completed completion status ON Completed Cancel of determination as temporary e
153. llowing symbols are encountered its associated note must be read and understood Each of the symbols used will now be listed with a brief description of its meaning Hardware Warnings 1 Indicates that the identified danger WILL cause physical and property damage 2 Indicates that the identified danger could POSSIBLY cause physical and property damage 3 Indicates a point of further interest or further explanation OPE o oftware Warnings 4 Indicates special care must be taken when using this element of software 5 Indicates a special point which the user of the associate software element should be aware of 6 Indicates a point of interest or further explanation MITSUBISHI v FX2N 16CCL M CC Link System Master Block 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 guarantee 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 s MITSUBISHI vi FX2N 16CCL M CC Link System Master Block Contents ren nn
154. lock Communication between Master Station and Remote I O Stations 10 Data link by buffer memory parameters Parameter registration to EEPROM M8002 T SET M40 Refresh command Initial pulse r 1 M20 M35 A PLS M2 Module Module error ready 2 SET M3 M3 46 26 RST M46 When data link startup by buffer memory parameters RST M3 is normally completed M27 1 H0668 0100 K1 When data link startup by buffer RST M46 memory parameters is abnormally RST M3 1 Registration 5 14 PLS M4 error ready 4 SET M5 5 SET M50 RST M50 When parameter registration to EEPROM is normally RST 5 completed M31 HO6B9 D101 K1 When parameter registration to RSI Mee EEPROM is abnormally completed RST M5 M8000 TO KO K4M40 K1 M55 to M40 gt BFM AH RUN monitor MITSUBISHI 10 4 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O St
155. m LS Link scan time Refer to Section 6 2 Data flow FROM FROM PLC Buffer memory in master station Remote input RX Link scan LS Remote I O station I e IH s MITSUBISHI 64 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 2 Master station RY gt remote I O station output Calculation expression SM LS x 3 Remote I O station response time ms SM Scan time of master station s sequence program LS Link scan time Refer to Section 6 2 Data flow TO TO PLC m Buffer memory in master station Remote output RY Link scan LS Remote I O station MITSUBISHI 6 5 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 6 3 2 Master station lt gt remote device station 1 Master station RX gt remote device station RX Calculation expression SM LS x 2 Remote device station processing time ms SM Scan time of master station s sequence program LS Link scan time Refer to Section 6 2 Data flow PLC Buffer memory in master station Remote input RX Link scan LS Remote device station RXn input signal a MITSUBISHI 6 6 FX2N 16CCL M CC Link System
156. mote input RX 115 100 Ew RBXxF RX0 k X00 e oou J Forstation J M131 M116 1 1 1F 10 1 M147 M132 2 RX 2F 20 For station M163 M148 IFROM No 2 RX 30 MI79 MI72MI71 M164 lt 4 RX4F RXA8RX47 RX40 lt 1 C Forstaton Only RX47 to RX40 are used 187 M180 3 5F 50 RX 6F RX 60 l Rorstation se o 4 E7H RX 7F RX 70 RX8F RX80 pr Porstation s No 5 9 RX 9F RX 90 2 FDH Address Remote output RY x Remote I O station station No 2 oe EN AJ65BTB1 16T TO No 1 161 RY RY 10 M215 M200 gt 162 RY2F RY20 YOF YOO Forstation gt M231 M216 TO No 2 163H RY RY 30 1 247 lt 240 239 232 l A 1648 RY4F RY48RY47 RY40 F For station 4 ______ 263 248 3 165 RY 5F RY 50 _ 166H RY 6F RY 60 Forstation 1 4 167 RY 7F RY 70 Forstation 168 RY 8F RY 80 1 Forstation LL 4 1 m Remote station station No 3 5 69 RY 9F RY 90 AJ65BTB1 16DT Sa I L
157. n 5 0069 Setting example When one station number is duplicated Station No 0 Station No 3 Station No 6 Master Remote Remote station device station device station 4 2 Station No 1 Station No 2 stations stations Remote I O station 2 Remote station N occupies 1 station occupies 1 station Duplicate y station No Station O Station No 1 Station 2 Station 3 Station No 4 Station No 5 Station No 6 Station No 7 Station 8 Station No 9 Master station Remote I O Remote I O Remote device station fixed station station Remote device station MITSUBISHI 8 14 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 6 20 setting When executing the data link the normal setting is O online 8 6 8 Transmission speed setting The available transmission speed varies depending on the total extension distance For the details refer to Section 4 2 1 Point Set the same transmission speed to all of the master station and remote stations If the setting is different even in one station normal data link cannot be realized 8 6 4 Condition setting The table below shows the setting method of the condition setting switch DIP swi
158. ng beyond the allowable specification range in the CC Link master for the FX Series When I O operations and data link are not normally executed you can check this buffer memory to know whether or not an error has occurred 3 Model code 1 The model code K7510 specific to the FX2N 16CCL M is written MITSUBISHI 4 26 FX2N 16CCL M CC Link System Master Block Specification 4 4 4 6 Remote input RX The input RX status from remote I O stations and remote device stations is stored Each station uses 2 words Remote I O station Remote device station Master station Station No 1 Occupies 1 station Station No 2 Occupies 2 stations Address Remote input RX Remote input RX bi i 4 T Forstation F RXO 0 aoe 1 RX 1F RX 10 X1F X10 i Forstation EH RX2F RX20 RXOF 00 2 E3H 30 NE RX1F RX10 Forsan RX4F RX40 D eee No 3 5 RX 5F RX 50 Gh Hue AA UOI SG For station E6H RX6F RX60 E No 4 E7H RX 7F RX 70 Forstation E8H RX8F RX80 Od No 5 9 RX 9F RX 90 Forstation EAH RXAF RXAO hers RX BF RX BO iul Forstation ECH RXCF RXCO 1
159. ng received 2 LED indication in the remote I O station Make sure that the LED indication status is as shown below AJ65BTB1 16D PW LRUN SD RD LERR e e O 24V DC is Data link is normally Data is being Data is being supplied proceeding transmitted received MITSUBISHI 12 9 FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 3 LED indication in the remote device station Make sure that the LED indication status is as shown below 5V DC is supplied from the PLC 32 Data link is normally proceeding POWER Data is being transmitted Data is being received 12 3 2 Confirmation of operation by program Using a sequence program make sure that data link is normally proceeding When X000 the remote I O station is set to ON YOOO in the PLC turns ON When X000 in the PLC turns ON RYOO in the FX2N 32CCL turns ON When in the FX2N 32CCL turns ON 020 M132 in the PLC turns ON Point A program for communication is required also in the PLC connected to the FX2n 32CCL Refer to the FX2N 32CCL User s Manual x CC Link master block FX2N 16CCL M o FX1N FX2N FX2NC Series PLC Yo00 020 Terminal Occupies Oc
160. nk Procedure 8 8 5 2 T shaped branch communication specification list The table below shows the communication specification in T shaped branch connection For communication specification not shown in the table below refer to Section 4 2 Table 8 2 ltem Specification Remarks Transmission speed 625kbps 156kbps 10 5 and 2 5 Mbps are not available The value indicates the cable length Maximum main line 100m 500m between terminal resistors length The cable length of T shaped branch lines branch length is not included Maximum branch line 8m The value indicates the cable length per length branch line Total branch line The value indicates the total length of all length 20 200m branch lines Maximum number of modules connected to branch line 6 modules branch line The number of connected modules conforms to the CC Link specification Connection cable Dedicated CC Link cable Examples FANC SB CSFV SLAB 100ZCLK SB 20AWGX3C Dedicated high performance CC Link cables example FANC SBH are not available Cables produced by different manufacturers are not available at the same time For manufacturers refer to brochures Terminal resistor connection method Connect a resistor 110 packed together with master module For the connection method refer to Section 8 4 T shaped branch terminal block connector Terminal block Commercial one Connector
161. nk System Master Block Functions 5 Remote output 5 The PLC writes the ON OFF information of the remote output RY in the remote device stations to the buffer memory remote output RY using the TO instruction 6 The remote output RY in the remote device stations is automatically for each link scan set to ON or OFF in accordance with the output status stored in the buffer memory remote output RY Remote device station Remote device station PLC Master station Station No 1 Occupies 2 stations Station No 3 Occupies 2 stations Remote output RY RYOF RYOO RY1F RY10 RY2F RY20 Remote output RY RYOF RYOO 4 T 1 2 lt 2 3 MEE CREARE LUE E RY3F RY30 RY4F RY40 Remote output RY RY50 00 H RY6F RY60 RY7F RY70 RY8F RY80 RY1DF RY1D0 5 1 1 1 1 1 1 s MITSUBISHI 5 6 FX2N 16CCL M CC Link System Master Block Functions 5 Write to remote register RWw 7 The PLC writes the transmission data to the buffer memory remote register RWw using the TO instruction 8 T
162. ns occupying 1 station b Number of remote device stations occupying 2 stations c Number of remote device stations occupying 3 stations d Number of remote device stations occupying 4 stations Number of remote I O stations Number of remote device stations lt 15 Maximum number of I O points per system below shall be satisfied e For the system configuration calculation refer to Chapter Maximum number of points per system Connection is allowed as far as the following condition is satisfied Actual number of I O points of PLC Number of points occupied by special extension blocks Number of points occupied by FX2N 16CCL M 8 32 x Number of remote modules lt 256 FX2N 2NC Series PLC or 128 FX1N Series PLC e For the system configuration calculation refer to Chapter Number of link points per station Remote I O station Remote I O 32 32 RX RY points Remote device station Remote I O 32 32 RX RY points Remote register 4 RWw points master station remote device station Remote register 4 RWr points remote device station master station Communication method Polling method Synchronous method Frame synchronous method Encoding method NRZI method Transmission path type Bus RS 485 Transmission format In conformance to HDLC Standard Error control method CRC X164X 24X5 1 Connection cable Dedicated CC Link cable
163. on PLC Master station station No 1 station No 2 1 SET M AD Refresh command bO 2 Data link startup by SETS gt EEPROM parameters BFM AH b8 Buffer memory Remote input RX 4 Receive area for data 3 FROM from remote VO 9948 Input station No 1 4 Receive area for data 3 Remote input from remote device FROM station station No 2 RX Remote output RY 5 Transmission area for 6 TO data to remote Output station station No 1 6 Transmission area for TO A9 y data to remote device Remote output station station No 2 RY Remote register RWw Prohibited to use 1 8 7 Transmission area for TO Sit data to remote device Remote register 7 station station No 2 RWw Remote register RWr Prohibited to use Station No 1 10 Receive area 9 Remote TOUS TOR FROM from remote device 9 station station No 2 RWr L 1 MITSUBISHI 5 9 FX2N 16CCL M CC Link System Master Block Functions 5 Data link startup 1 The PLC sets to ON the write refresh command BFM AH b0 and makes the data of the remote output RY effective When the write refresh command BFM AH b0 is OFF all data of the remote output RY is treated as 0 OFF 2 The PLC sets to ON the write da
164. on again Approximately 4 seconds later the test starts and the TEST LED lights ww Continued to the next page MITSUBISHI 8 16 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 Continued from the previous page SW M S PRM TIME When communication is normal in at least one station The LED indicators turn ON in the order SW M S gt PRM gt TIME The test result is stored in SWOOBA However because the test is executed to 16 stations ignore the bits corresponding to unconnected stations e o oO O 4 0 O pO O O e O O O O e 1 Repeats until all stations become faulty The test result is indicated by the LED indicators in the master block Lighting LED Cause Error code storage area PRM All stations are faulty or cable is broken SWOO0B8 None Test cannot start due to abnormality in hardware power OFF in all stations etc MITSUBISHI 8 17 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 7 2 Check of communication status with specific remote station line test 2 Execute the line test 2 to check whether data link is normally executed with a specific remote station There is no need to set parameters Execute the test using the following procedure Start ww Connect only a module to be tested to the master block Or turn on the power of only a module
165. on stations occupies 1 station occupies 1 station occupies 1 station Re p A E Data link continues Station 3 ee Station No 8 Fault Remote Remote Master device device station Station No 1 Station No 2 station Station No 7 station Remote VO station Remote yo station stations Remote yo station stations occupies 1 station occupies 1 station occupies 1 station m E E 4 Reserved station function By setting a station which is not actually connected now which is planned for connection in the future as a reserved station the station will not be handled as a faulty station Stations planned for connection in the future Reserved station Station No 3 Remote Master Reserved station station Station No 1 Station No 2 Station Station 7 Station No 8 occupies 4 Remote l O station Remote I O station stations Remote I O station Remote I O station occupies 1 station occupies 1 station occupies 1 station occupies 1 station E 3 S I MITSUBISHI 2 3 FX2N 16CCL M CC Link System Master Block Overview 2 5 Error invalid station function A station which cannot execute the data link because the power is turned off etc can be excluded from
166. on with the station No 4 and a remote station with the station No 9 as reserved in the system configuration below Stations to be connected in the future Station No 4 Remote Master f idevice station station Station No 1 Station No 3 occupies 4 Station No 8 _ Station No 9 Remote station Remote station stations Remote station Remote station occupies 2 occupies 1 occupies 1 occupies 1 stations station fo station Station Es ES JA E EM P 515 514 b13 512 b11 b10 b9 b8 57 56 b5 b4 b3 b2 bi 00 BFM 10H 10 0 00 1 f Error invalid station specification Specify remote stations in which data link is disabled by power OFF etc so that they are not handled as data link faulty stations by the master station Be careful however for errors will not be detected 1 When the same station number is specified as a reserved station also the reserved station specification has the priority 2 Set to ON the bits corresponding to the station numbers to be set as error invalid stations For a remote station which occupies 2 or more stations turn on only the bit for the station number set by the module s station number setting switch Numbers 1 to 15 indicate the station numbers in the table below b15 b14 b13 b12 511 510 59 b8 b7 56 b5 b4 b3 b2 bi bO BFM
167. onfirmation of operation by LED indication The figures below show the LED indication status in the master station and the remote device stations while the data link is proceeding normally 1 LED indication in the master station Make sure that the LED indication status is as shown below The module is normal The module is set as the master station Data link is normally proceeding FX2n 16CCL M Data is being transmitted Data is being received 2 LED indication in the remote device station Make sure that the LED indication status is as shown below 24V DC is supplied PW e RUN e LRUN e SD e NM Data link is normally RD e Pea AJ65BT 64AD LEPR Xue proceeding Data is being transmitted The module is normal Data is being received 5V DC is supplied from the PLC 32 Data link is normally proceeding Data is being transmitted Data is being received MITSUBISHI 11 10 FX2N 16CCL M CC Link System Master Block 11 3 2 Confirmation of operation by program Using a sequence program make sure that data link is proceeding normally Communication between Master Station and Remote Device Stations 11 D The digital values converted by the AJ65BT 64AD are stored in D200 CH1 digital value and
168. or code Reads error code AO M326 R f equest for error reset 1 M8000 Writes to remote output RY in KO 1 0160 4 K2 the AJ65BT 64AD RUN monitor IRET Program for communication with the FX2n 32CCL P20 l M8000 Reads from remote input FROM HOOE4 K4M132 K6 E9H E4H RX9F RX40 RUN M227 M132 monitor Writes to remote output TO H0164 K4M332 K6 M427 M332 gt 169H 164H RY9F RY40 Reads from remote register RWr 2 8 D208 12 2F3H 2E8H RWr13 RWr8 0219 0208 Writes to remote register RWw TO KO HO1E8 D108 K12 D119 D108 1F3u71E8H RWw13 RWw8 l 1 M132 When 00 in the FX2N 32CCL 000 station No 3 turns ON 000 inthe Program for FX2N 32CCL PLC turns ON confirming RX00 l operation of the X000 FXan 32CCL M332 When X000 in the PLC turns ON 00 in the FX2n 32CCL turns 1 IRET a MITSUBISHI 11 9 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote Device Stations 11 11 3 Execution of Data Link Turn on the power of the remote device stations first turn on the power of the master station then start the data link 11 3 1 C
169. ote pes station occupies station occupies 1 station 1 station I E PS E Be E 3 Number of modules and number of stations The number of modules indicates the number of physical modules The number of stations indicates the number of stations occupied by all modules as described in 1 In the example of system configuration shown in 2 the number of modules is 5 and the number of stations is 9 MITSUBISHI 3 6 FX2N 16CCL M CC Link System Master Block System Configuration 3 3 5 System Equipment List The table below shows the list of equipment constructing the CC Link for the FX Series PLC Table 3 3 Product name Model name Description Number of occupied stations Station type Master block FX2N 16CCL M Master block for the FX1N 2N 2NC Series Master station FX Series PLC connection block FX2N 32CCL Interface block for connection of the FXON 1N 2N 2NC Series One station occupies 32 input points and 32 output points However 16 points of the last station is used as the system area One station occupies 4 RWw and 4 RWr 1to4 Remote device station Remote module AJ65BTB1 16D 1 line 16 point DC input module sink source shared 24V DC 7 mA 16 points common AJ65BTB2 16D 2 line 16 point DC input module sink source shared 24V DC 7 mA 16 points common AJ65BTC1 32D 1 line
170. ped may hang or shift allowing them to be accidentally pulled which may result in malfunction or damage to the module and the cables When disconnecting a communication power cable connected to the module do not hold the cable area For a cable with connector hold the connector attached to the module For a cable connected to a terminal block loosen screws of the terminal block then disconnect the cable If a cable is pulled while it is connected to a module the module may malfunction or the module and the cable may be damaged MITSUBISHI 8 1 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 A WIRING PRECAUTIONS Perform Class D grounding solid grounding with a wire of 2 mm or more to the grounding terminal in the PLC main unit However never perform common grounding with a high voltage system Another Another Another PLC equipment PLC equipment PLC equipment LY L 4 E i Dedicated grounding Common grounding Common grounding best allowed not allowed Do not bundle control cables and communication cables with the main circuit and power cables Keep control cables and communication cables at least 100 mm away from the main circuit and power cables Otherwise electric noise may cause a malfunction MITSUBISHI 8 2 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 1 Data Link Procedure The flowchart below shows the pro
171. pletion of data link startup by buffer memory parameters BFM AH b6 turns OFF Read normal completion of data link startup by buffer memory parameters BFM AH b6 Read parameter setting status OFF b2 tartup S processing Parameter status in host station 0 SW0068 Write request for data link startup by buffer memory parameters BFM AH b6 s MITSUBISHI 447 FX2N 16CCL M CC Link System Master Block Specification 4 7 Read abnormal completion of data link startup by buffer memory parameters BFM AH b7 Indicates the abnormal completion status of the data link startup request by the write request for data link startup by buffer memory parameters BFM AH b6 a When the write request for data link startup by buffer memory parameters BFM AH b6 is set to ON the contents of the buffer memory are checked When the contents are abnormal the read abnormal completion of data link startup by buffer memory parameters BFM AH b7 turns ON b The read parameter setting status BFM AH b2 turns ON and the error code is stored in the buffer memory for the parameter status in host station SWO0068 c When the write request for data link startup by buffer memory parameters b6 is set to OFF the read abnormal completion of data link startup by buffer memory parameters b7 turns OFF
172. pletion of parameter registration to EEPROM BFM AH b10 Indicates the normal completion status of the parameter buffer memory address registration to the EEPROM by the write request for parameter registration to EEPROM BFM AH b10 a When the write request for parameter registration to EEPROM BFM AH b10 is set to ON the parameters stored in the buffer memory for the parameter information area are registered to the EEPROM b When registration is normally completed the read normal completion of parameter registration to EEPROM BFM AH b10 turns ON c When the write request for parameter registration to EEPROM BFM AH b10 is set to OFF the read normal completion of parameter registration to EEPROM BFM AH b10 turns OFF Read normal completion of parameter registration to EEPROM BFM AH b10 Registration processing EEPROM registration status SWOOB9 Write request for parameter registration to EEPROM eee BFM AH b10 a s MITSUBISHI 4 21 FX2N 16CCL M CC Link System Master Block Specification 4 11 Read abnormal completion of parameter registration to EEPROM BFM AH b11 Indicates the abnormal completion status of the parameter buffer memory address regis tration to the EEPROM by the write request for parameter registration to EEPROM BFM AH b10 a When the write request for parameter registration to EEPROM BFM AH b10 is set to ON the parameters s
173. power then turn it on again Or turn on reset switch Completed 1 Check for short circuit inverse connection and wire breakage Check the terminal resistors the FG connection the total extension distance and the station to station distance MITSUBISHI 13 6 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 133 Error Codes The table below shows the error codes stored in the link special register SW Table 13 2 Error code Description Cause of error details Corrective action hex B110 Message A line error has occurred Check the line disabled B111 Message data A line error has occurred Check the line receive order error B112 Message data A line error has occurred Check the line length error B113 Message data A line error has occurred Check the line identification error 114 Link error A line error has occurred Check the line B115 Link error A line error has occurred Check the line B116 Head bit error A line error has occurred Check the line Request for The request for line test was given Execute the line test while link is B301 processing during mr while link was stopped executed link stop When the request for temporary error invalid station or the request for Specified station cancel of temporary error invalid Specify a station number not more B302 number setting station was given the speci
174. quired in one system Local station Station equipped with CPU which can communicate with the master station and other local stations in the CC Link system of the MELSEC A QnA Q Series Remote I O station Remote station which deals with bit information only to execute I Os with external equipment such as AJ65BTB1 16D and AJ65SBTB1 16D Remote device station Remote station which deals with bit information and word information to execute I Os with external equipment and exchange analog data such as FX2N 32CCL AJ65BT 64AD AJ65BT 64DAV and AJ65BT 64DAI Remote station General name for remote station and remote device station Controlled by the master station Intelligent device station Station which can execute transient transmission such as AJ65BT R2 in the CC Link system of the MELSEC A QnA Q Series Standby master station Station for backup which takes over data link control when the master station is disconnected due to abnormality in the PLC CPU the power supply etc in the CC Link system of the MELSEC A QnA Q Series Master block Abbreviation for FX2N 16CCL M SB Link special relay for CC Link 1 bit information which indicates the operation status and the data link status of the master local station Represented in SB for convenience SW Link special register for CC Link 16 bit information which indicates the operation status and the data link status of
175. r of The number of occupied stations in B386 occupied stations the station information addresses Set the number of occupied stations setting error 20H to 2 parameter is set to 0 for inside the range from 1 to 4 parameter every station Unusable area Data was written to the unusable area Do not write to the unusable area B387 write error unused in the buffer memory unused in the buffer memory The station type in the station B388 Station type information addresses 20H to 2 Set 0 or 4 setting error parameter is not set inside the range from 0 to 2 B389 Unusable area Data was written to the unusable area Do not write to the unusable area write error unused in the buffer memory unused in the buffer memory In the invalid station specification address 14H parameter a station number other than a module head station number or a station number Error invalid station not set in the parameter is set Set a module head station number B38D Example of station number other than Do not set a station number which is specification error head station number not set in the parameter parameter For a module occupying 4 stations station Nos 5 to 8 a bit not corresponding to the station No 5 is set to ON MITSUBISHI 13 8 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 Error code Description Cause o
176. rameters do not have to be written every 7 1 1 time the master module starts up Setting of input data status Sets the status clear or keep of the data input received from 58 from data link faulty station station in which data link fails due to power OFF etc Module reset function troi Resets a module from a sequence program without resetting the PLC when the switch settings are changed or an error 5 9 sequence program occurs the module Stops and restarts the data link while the data link is executed by the write request for data link startup by buffer memory parameters BFM AH b6 or the write request for data link 9 1 startup by EEPROM parameters b8 Allows module which was disconnected from the data link by Automatic return ioin th link function power OFF etc to automatically join the data link again when it 5 11 1 recovers normal status Cuts off only modules in which data link is disabled by power Slave station OFF etc and continues data link using only normal 5 11 2 cutoff function sie modules function Data link status Allows to check the data link status 93 check SB SW This function is useful to interlock in a sequence program etc i Executes the following tests Hardware test Checks operations in a single module 8 3 Offline test Line test Checks the connection status of modules 8 7 Parameter verification test Verifies the
177. re below shows the setting of the switches in a remote I O station Transmission speed setting switch Station number setting switch 2 2 5Mbps AJ65BTB1 16D AJ65BTB1 16T AJ65BTB1 16DT MITSUBISHI MESEC Aucserer teo MITSUBISHI 10 2 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O Stations 10 10 2 Creating a Program 10 2 1 Program for parameters In the program below data link automatically starts when the PLC starts to run gt 5 to M20 For debugging M8000 FROM K4M20 K1 RUN monitor M20 M35 PLS Mo Module Module error ready SET M1 M1 MOV K3 DO MOV K7 D1 MOV K2 D2 TO H0001 DO K3 MOV KO D3 TO KO H0006 D3 K1 M1 MOV H0101 D12 MOV H0102 D13 MOV H0103 D14 TO KO H0020 D12 K3 RST M1 Number of connected modules 3 modules Number of retries 7 times Number of automatic return modules 2 modules Operation specification against CPU down stop Remote I O station AJ65BTB1 16D Remote I O station AJ65BTB1 16T Remote I O station AJ65BTB1 16DT Station information MITSUBISHI 10 3 FX2N 16CCL M CC Link System Master B
178. resistor offered as an accessory between the terminals DA and DB in the master block ww Set the mode setting switch in the master block to 6 we Turn off the power of the PLC and the master block then turn it on again Approximately 4 seconds later the test starts and the TEST LED lights ww Continued to the next page s MITSUBISHI 8 8 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 Continued from the previous page The test result is indicated by the LED indicators in the master module When normal The LED indicators turn ON in the order SW M S gt PRM gt TIME SW MS O O TIMEO O e 1 Repeats When abnormal The table below shows the contents of each check item If an error occurs replace the module Check item LED status Description Self loop back check SW is ON Module error ROM check M S is ON ROM error RAM check PRM is ON RAM error v The RUN LED turns OFF End s MITSUBISHI 8 9 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 4 Module Wiring with Dedicated CC Link Cables This section describes the connection method of dedicated CC Link cables The cables can be connected without regard to the station number Make sure to connect a terminal resistor offered as an accessory of the module between
179. rm the procedure shown below PLC Master station Write the data such as the number of connected modules and the number of Buffer memory E PROM retries to the buffer memory Parameter parameter information area TO H information in the master station area Internal memory PLC Master station By the write request for data link startup by buffer memory parameters b6 the Buffer memory E 2PROM contents of the buffer memory Parameter parameter information area are 4 SET information written to the internal memory area Then the data link automatically N Internal starts BFM AH b6 ere aia memory Debug completed PLC Master station By the write request for parameter registration to 2E EEPROM b10 the d Buffer memory lt E2PROM contents of the buffer Parameter g memory parameter _ 4 SET MEO information information area is written to area the EEPROM Internal b10 memory PLC Master station By the write request for data link startup by EEPROM parameters b8 the Buffer memory E2PROM parameter information stored in the EEPROM is transferred moo
180. rror invalid stations SW0003 00 Two or more stations 01 to 15 One station Set to ON the request for temporary error invalid station SB0004 Turn off the power of temporary error invalid stations and replace them Turn on the power of temporary error invalid stations Set to ON the request for cancel of temporary error invalid station SB0005 Point 1 Even if the request for temporary error invalid station is executed for a faulty station the error information is not cleared The temporary error invalid station specification function is effective only to errors which occur after the specification 2 The request for temporary error invalid and the request for cancel of temporary error invalid station are not effective to stations which are specified as error invalid stations by parameter s MITSUBISHI 5 26 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 6 6 1 Data Link Processing Time Status of Each Station when an Error has Occurred The table below shows the status of each station when an error has occurred Table 6 1 Master station Data link status Remote i Remote input RX ne register RENE RWw When the master station PLC is stopped Handles 0 data link continues Continue in any case Continue Continue 1 When data link i
181. rror invalid station is completed Temporary error invalid SB004A 5E4H b10 station cancel acceptance status MITSUBISHI 5 24 FX2N 16CCL M CC Link System Master Block Functions 5 2 Link special registers SW The table below shows the link special registers SW related to the temporary error invalid station specification function Table 5 4 BFM Number number Name Description Hex Selects whether or not two or more stations are Specification of specified as temporary error invalid stations SW0003 603H RAS i deba 00 Specifies two or more stations stored in SWO0004 pie 01 to 15 Specifies one station station No 1 to 15 error invalid stations N The number specifies the station number of a station to be specified as a temporary error invalid station Specifies temporary error invalid stations 0 Does not specify as a temporary error invalid ae station Specification of 1 as a temporary error invalid station 5 0004 604 temporary error invalid E 515 514 513 b12 b2 bi b0 station SW0004 15 14 18 4 3 2 1 Numbers 1 to 15 above indicate the station numbers Stores the execution result of the request for Temporary errot invalid temporary error invalid station by SB0004 eeu eet
182. s Input data Clear Clear status setting stopped in the Keep entire system for faulty station SW4 Keep Keep Clears the receive area for data from Clear remote station When a with a communication communication error occurred due error Continue Continue Continue to power OFF etc Keeps the receive in a remote area for data from station Keep emote I O station p with a Input data communication status setting error for faulty Clears the receive station SW4 area for data from When a Clear remote device communication SI On WI Keeps the receive error occurred communication area for data from error due to power Continue Continue remote Devi OFF etc ina Keeps the receive station with a area for data from communication tati remote device error station with a communication error 1 Because the BFM AH bO refresh command is set to OFF sfa MITSUBISHI 6 1 FX2N 16CCL M CC Link System Master Block Data Link Processing Time 6 Table 6 2 Remote station Remote device station Data link status Remote Remote Remote Remote Input Output input output register register RX RY RWw RWr When the master station PLC is stopped Continue All OFF Continue All OFF Continue Continue data link continues Clear When data linkis 090688 status setting stopped in the All OFF All OFF
183. s disconnection from data link 3 Line test 1 Refer to Section 8 7 1 4 Line test 2 Refer to Section 8 7 2 5 jo uod test Refer to Section 8 8 6 Hardware test Refer to Section 8 3 7 Unusable Setting error The SW LED indicator turns ON 8 Unusable Cannot be set because it is already used inside 9 Unusable Cannot be set because it is already used inside A Unusable Cannot be set because it is already used inside B Unusable Setting error The SW LED indicator turns ON C Unusable Setting error The SW LED indicator turns ON D Unusable Setting error The SW LED indicator turns ON E Unusable Setting error The SW LED indicator turns ON F Unusable Setting error The SW LED indicator turns ON 6 Transmission Sets the transmission speed of the module Default setting at shipment 0 speed setting Number Setting contents switch 0 156kbps B RATE 1 625kbps E 7 F 2 2 5Mbps RO 3 5Mbps 4 10M 4 10Mbps 5 Setting error The SW and L ERR LED indicators turn ON 6 Setting error The SW and L ERR LED indicators turn ON 7 Setting error The SW and L ERR LED indicators turn ON 8 Setting error The SW and L ERR LED indicators turn ON 9 Setting error The SW and L ERR LED indicators turn ON MITSUBISHI 8 6 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8
184. s of the station number setting Station number switch ome setting switch status 0 Master station Make sure to the switch to 0 Other than 0 Setting error Stores the setting status of the condition setting switch DIP switch 0 OFF 1 ON b15 b8 b7 56 05 54 03 b2 bi bO Condition setting 0 10 SW0062 662H witch status LL swi SW2 SW3 SWA4 SW5 SW6 SW7 SW8 Number f retries Stores the setting status of the number of retries against SW0064 664H response error setting status 1 to 7 times Number of automatic Stores the setting status of the number of automatic SWO0065 665H return stations return modules during one link scan setting status 1 to 10 modules Parameter Stores the parameter information area to be used SW0067 667H information 1 Buffer memory data link startup by BFM AH b6 2 EEPROM data link startup by b8 Parameter statusih Stores the parameter setting status SW0068 668 host station 0 Normal Other than 0 Error code Refer to Section 13 3 Stores station number overlap and consistency with parameters in each module SW0069 669H Loading status 2 0 Normal Other than 0 Error code Refer to Section 13 3 The details are stored SW0098 and SWOO9C Stores the switch setting status SW006A 66AH Switch setting status 0 Normal Other than 0 Error code Refer to Section 13 3 SWOOGD 66Du Maximum link scan Stores the maximum value of the link scan time tim
185. served stations station Default value 0 no setting 10H specification Setting range Set to ON the bits corresponding to the station numbers Invalid Specifies invalid stations station Default value no setting 14H specification Setting range Set to ON the bits corresponding to the station numbers Sets the type of connected remote station Default value 20H remote I O station occupies 1 station station No 1 to 2EH remote I O station occupies 1 station station No 15 Setting range As shown below 20H 1st 15 bi2 bii bB b7 bo Station station to information Station type occupied stations ae 15th station 1 Occupies 1 station 1 to 15 MITSUBISHI 7 4 FX2N 16CCL M CC Link System Master Block Parameter Setting 7 7 3 Setting from Sequence Program This section describes the parameter setting from a sequence program 1 Overview of program a For debugging M8000 FROM HA K4M20 K1 BFM ZAH M35 to M20 RUN monitor M20 M35 T PLS MO Module error Module ready MO SET M1 MOV Number of connected modules MOV D1 Number of retries MOV Num
186. so that such stations are not handled as data link faulty stations Point If a connected remote station is set as a reserved one data link is disabled in the remote station 1 Setting method Specify reserved stations using the parameter BFM 10H Set to ON the bits corresponding to the station numbers of the stations to be reserved However for a remote station module occupying two or more stations set to ON only the bit corresponding to the station number set by the station number setting switch in the module The table below shows the buffer memory configuration Numbers 1 to 15 indicate station numbers 515 514 b13 b12 b11 510 b9 58 b7 b6 05 b4 b3 b2 bi 50 BFM 10H 15 14 13 112 1111019 18 7 6 5 4 3 2 1 2 Setting example a System configuration example When one remote device station and one remote I O station are to be connected in the future to the system in which two remote I O stations and one remote device station are connected Modules to be connected in the future Station No 1 Station No 4 sans sea Remote Remote Master device station device station station occupies 2 Station No 3 occupies 4 Station No 8 _ Station No 9 _ stations Remote stations Remote Remote I O station occupies station occupies Station occupies 1 station 1 station station b B
187. t regard to SB regard to SB updated after each station is SW0045 SW0072 stabilized SWO0060 _ Updated when SB0060 changes SW0074 Updated when SB0074 changes SW0061 Updated when SB0061 changes SW0078 Updated when SB0075 changes SW0062 SWO0080 Updated when SB0080 changes SWO0067 SW0088 Updated independently without regard to SB SW0069 SW0098 SNDODA Updated independently without SWO09C regard to SB i i SWOO6D 9 Updated independently without regard to SB SWO006E SW00B8 SWO006F SWO00B9 SW0070 2 a MITSUBISHI 9 15 FX2N 16CCL M CC Link System Master Block Programming 9 MEMO s MITSUBISHI 9 16 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O Stations 10 10 Communication between Master Station and Remote I O Stations This chapter describes module setting programming and operation check using a system configuration example 10 1 System Configuration It is supposed that three remote I O stations are connected in the system CC Link master block X2N 16CCL M FX1N FX2N FX2NC Series PLC gt IC ji Terminal resistor Remote station Remote station Remote station station No 1 station No 2 station No 3 00000 00000 00000 Terminal Input module Output module module resistor AJ65BTB1 16D AJ65BTB1 16T
188. ta link startup BFM AH b8 by EEPROM parameters to start the data link However parameters should be registered in the EEPROM in advance When the data link starts normally the read data link status in host station BFM AH b1 turns ON Point The data link can be started also from the parameters written in the parameter information area in the buffer memory Refer to Chapter 7 MITSUBISHI 5 10 FX2N 16CCL M CC Link System Master Block Functions 5 ON OFF information from the remote I O station remote device station to the master station 3 The input status of the input X in the remote I O station and the remote input RX in the remote device station is automatically for each link scan stored in the buffer memory remote input RX in the master station 4 The PLC receives the input status stored in the buffer memory remote input RX using the FROM instruction Remote I O station Remote device station PLC station No 1 station No 2 Remote input RX RX00 00 RX1F RX10 l XIF X10 ie Remote input RX OF pee RX3F RX30 RX5F RX50 RX6F RX60 RX7D RX70 RX8F RX80 RX9F RX90 RXAF RXBF RXBO RXCF RXCO RXDF RXDO RXEF RXEO RXFD RXFO RX10F RX100
189. tch Table 8 4 E Switch status Number Description Setting OFF ON SW1 Unusable Always OFF SW2 Unusable Always OFF SW3 Unusable Always OFF OFF Sets to OFF all of the input data from data Input data status of link faulty station SW4 data link faulty Clear Keep station Section 5 8 ON Keeps the input data from data link faulty station in the status just before error SW5 Unusable Always OFF SW6 Unusable Always OFF SW7 Unusable Always OFF SW8 Unusable Always OFF MITSUBISHI 8 15 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 7 Connection Status Check Line Test After connecting all modules with dedicated CC Link cables execute the line test to check whether connection is correctly established to execute data link with remote stations Point Execute line test 2 when an error occurs in line test 1 Accordingly when no error is detected in the line test 1 there is no necessity to execute line test 2 8 7 1 Check of connection status and communication status with remote stations line test 1 Check whether data link can be normally executed with all 16 remote stations Execute the test using the following procedure Start ww Set the mode setting switch in the master block to 3 Ww Turn off the power of the PLC and the master block then turn it
190. tches 4 flashing to 7 are changed while the power is ON 2 Power indictor POWER 24V DC is supplied from the outside ON OFF 3 LED indicators 2 SW Switch setting error has occurred OFF ON WE M S ON The master station is already present OFF ON M S R E in the same line TIME R PRM Parameter setting error has occurred OFF ON LINE R Data link watchdog timer is actuated OFF ON EE R error in all stations ON The cable is broken or the LINE transmission route is affected by OFF ON noise etc SD ON Data is being transmitted ON OFF RD ON Data is being received ON OFF 4 Station number Sets the station number of the module Default setting at shipment 00 setting switch STATION NO Setting range 8 00 because the FX2N 16CCL M is dedicated to the master station x10 4 P If 65 or larger number is set the SW and L ERR LED indicators turn x4 Be ON 9 12 s MITSUBISHI 8 5 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 Number Name Description 5 Mode setting Sets the operation status of the module Default setting at shipment 0 switch Number Name Description MODE 0 Online Sets connection to data link 56 1 Unusable 2 Offline Set
191. te I O station is not set in the parameter and set as a reserved station Data link is completely disabled in the remote I O station and no error occurs The L RUN and SD LED indicators are OFF in the remote I O station No error occurs 13 4 12 When remote device station is not set in the parameter and set as a reserved station RUN ERR O MST TESTI OE m Indicates the ON status LRUN LERR O O Indicates the OFF status FX2n 16CCL M Indicates the flashing status sw O Indi ws X Indicates the ON OFF or flashing status PRM TIME 00 LINE O SD RD e PWLRUNSD RD LEER O 2 PLC Master N station Remote I O Remote device station station Terminal Ne A Terminal resistor resistor Stabilized power Stabilized power supply 24V DC supply 24V DC Data link is completely disabled in the remote device station and no error occurs The L RUN and SD LED indicators are OFF in the remote device station RUN ERR O MST TEST No error TESTE S Indicates the ON status occurs EA LERR O Indicates the OFF status FXe2n 16CCL M Indicates the flashing status sw O In
192. te the buffer memory address BFM 29H Table 4 7 BFM number Module Hex Dec 1st module 20H 32 2nd module 21H 33 3rd module 22H 34 4th module 23H 35 5th module 24H 36 6th module 25H 37 7th module 26H 38 8th module 27H 39 9th module 28H 40 10th module 29H 41 11th module 2AH 42 12th module 2BH 43 13th module 2CH 44 14th module 2DH 45 15th module 2EH 46 Setting example When connecting one remote I O station and two remote device stations System configuration example Station information setting Number of 1st module 2nd module 3rd module Station type occupied Station No X stations Master Remote lO Remote device Remote device ae station station station 20 OH TH 01H Station No 1 Station No 2 Station No 4 BFM 21H 1H OH 02H occupies 1 occupies 2 occupies 4 station stations stations BFM 22H 1H 4 04 X J MITSUBISHI 4 11 FX2N 16CCL M CC Link System Master Block Specification 4 4 4 3 signals to PLC This section describes I O signals used to control the master block The signals used to control the master block are assigned to the buffer memory BFM AH and built in the FX2N 16CCL M The buffer memory of the same number works diff
193. ter the ventilation window of the module Such matter may cause fire failure or malfunction When the installation work is completed remove the dust protection sheet from the ventilation window of the PLC If the sheet remains attached it may cause fire failure or malfunction Securely connect extension cables to specified connectors Poor contact may cause malfunction WIRING PRECAUTIONS Before beginning any installation or wiring work make sure all phases of the power supply have been shut down from the outside Incomplete shutdown of the power supply phases may cause electrical shock or damage in the module Following an installation or wiring work when turning on the power supply and operating the PLC make sure that the terminal cover provided as an accessory has been attached to the module Non attachment of the cover may cause electrical shock For the CC Link system use dedicated cables specified by the manufacturer The performance of the CC Link system cannot be guaranteed with any cable other than dedicated ones specified by the manufacturer For the maximum total extension length and the cable length between stations observe the specification described in Chapter 4 With wiring outside the specification range normal data transfer cannot be guaranteed Make sure to fix communication cables and power cables connected to the module by placing them in the duct or clamping them Cables not placed in duct or not clam
194. the inputs X07 to Yo20 X00 in the AJ65BTB1 Read 2 16DT turn ON the ES outputs Y020 to Y027 in For the PLC turn ON communication with the X020 qu When the inputs X020 to RH T X027 in the PLC are set Write Station N 3 X027 i to ON the outputs YOF to TO M247 Y08 the AJ65BTB1 16DT turn ON J M8000 TO Ko Ho0162 k4v2o0 Writes to remote output RY RUN monitor MCR NO MITSUBISHI 10 7 FX2N 16CCL M CC Link System Master Block Communication between Master Station and Remote I O Stations 10 10 3 Execution of Data Link Turn on the power of the remote I O stations first turn on the power of the master station then start the data link 10 3 1 Confirmation of operation by LED indication The figures below show the LED indication status in the master station and the remote I O stations while the data link is normally proceeding 1 LED indication in the master station Make sure that the LED indication status is as shown below The module is normal The module is set as the master station Data link is normally proceeding FX2N 16CCL M Data is being transmitted Data is being received 2 LED indication in the remote station Make sure that the LED indication status is as shown below AJ65BTB1 16D PW LRUN SD RD LERR e e o i 24V DC is Data lin
195. the terminals DA and DB in modules at both ends In the CC Link system the terminal resistor to be connected varies depending on the used cable When a dedicated CC Link cable is used 110 Q 1 2 W brown brown and brown When a dedicated high performance CC Link cable is used 130 Q 1 2 W brown orange and brown The master module can be connected besides to the both ends Star connection is not allowed The figure below shows the connection method Important Make sure to use only one type of cable dedicated CC Link cables OR dedicated CC Link high performance cables If both types of cables are used together normal data transmission cannot be guaranteed Point The shielded dedicated CC Link cable should go through the terminals SLD and FG in each module and both ends should be grounded Class D solid grounding The terminals SLD and FG are connected each other inside the module Master module Remote module Remote module Terminal an i Terminal resistor DB X DB X DB resistor H 1 DG 1 1 SLD Dedicated CC Link cable SLD Dedicated CC Link cable SLD FG FG FG MITSUBISHI 8 10 FX2N 16CCL M CC Link System Master Block Data Link Procedure 8 8 5 8 5 1 T shaped Branch Connection Using
196. tion status b15 b14 b13 b12 b3 b2 bi 50 SW0078 15 14113 4 3 2 1 Numbers 1 to 15 above indicate station numbers Stores the temporary error invalid station specification status 0 Not specified as temporary error invalid station Temporary error 1 Specified as temporary error invalid station SW007C 67 invalid station specification status b15 514 b13 612 b2 bi 50 SW007C 15 14 131 4 3 2 1 Numbers 1 to 15 above indicate station numbers 1 Only the bit corresponding to the head station number is set to ON MITSUBISHI FX2N 16CCL M CC Link System Master Block Programming 9 Buffer ed Number memory Name Description Stores the data link status in each station 0 Normal 1 Data link error SWO080 680H Data link status in other stations 2 b15 514 b13 b12 b2 bi bO SW0080 15 14 13 4 3 2 1 Numbers 1 to 15 above indicate station numbers Stores the watchdog timer error occurrence status in each station 0 Normal Watchdog timer error 1 Watchdog timer error SW0084 684H occurrence status in other 515 614 b13 b12 b2 bi b0 SW0084 15 14 13 4 3 2 1 Numbers 1 15 above indicate station numbers Stores the fuse blowout stat
197. tions overlap error modules excluding overlap of a head station number MITSUBISHI 13 7 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 Table 13 2 Error code Description Cause of error details Corrective action hex Loading Sere parameter Une staion type IF pieren beween Set the parameter correctly module and the parameter consistency error Loading The loading status is not consistent Align the loading status with the B30B with the network parameters network parameters consistency error Temporary error Start up data link first then Before link starts up temporary error B30D invalid station VS RUE specify temporary error invalid invalid stations are specified specification error stations Station number Tho sraton number in We station Set a station number inside the information addresses 20H to 2EH PE B384 setting error specification range 1H to 10H of the parameter is not set inside the parameter FX Series master station range from 1H to 40H Total number of The total number of occupied stations Set the parameter inside the B385 modules setting in the station information addresses specification range 15 or less of the error parameter 20H to 2EH parameter is beyond 64 Series master station Numbe
198. to the correct address of remote output RY buffer memory Confirm the sequence program Is the station specified as reserved one Confirm the contents of the parameters Does the station number overlap Confirm the station number Is the connection setting beyond the specification of the master station Confirm the contents of the BFM 1 DH Section 4 4 5 Data in remote register RWr in a remote device station cannot be received Is the remote device station executing data link Check the following LED indication in the module Communication status in the master station with other stations SW0080 Is data read from the correct address of remote register RWr buffer memory Confirm the sequence program Is the station specified as reserved one Confirm the contents of the parameters Does the station number overlap Confirm the station number Is the connection setting beyond the specification of the master station Confirm the contents of the BFM3H DH Section 4 4 5 Data cannot be written to remote register RWw ina remote device station Is the remote device station executing data link Check the following LED indication in the module Communication status in the master station with other stations SW0080 Is data written to the correct address of remote register RWw buffer memory Confirm the sequence program Is the stat
199. tored in the buffer memory for the parameter information area are registered to the EEPROM b When registration is abnormally completed the write abnormal completion of parameter registration to EEPROM BFM AH b11 turns ON and the error code is stored in the buffer memory for the EEPROM registration status SWOOB9 When write request for parameter registration to EEPROM BFM AH b10 is set to OFF the read abnormal completion of parameter registration to EEPROM BFM AH b11 turns OFF Read abnormal completion of parameter registration to EEPROM b11 Registration processing EEPROM registration status SWOOB9 Write request for parameter registration to y EEPROM b10 0 Error code s MITSUBISHI 4 22 FX2N 16CCL M CC Link System Master Block Specification 4 12 Read module ready BFM AH b15 Indicates whether or not the module is ready for operation a The signal automatically turns ON when the module becomes ready for operation b The signal turns OFF when one of the following conditions occur 1 There is an error in the module switch settings 2 The output signal of request for module reset BFM AH b4 turns ON 3 The input signal of module error BFM AH b0 turns ON Power ON Read module ready b15 qu Read module error b0 Write request
200. tration to EEPROM cerns BFM AH b10 vw Refresh command b0 Data link startup by EEPROM parameters BFM AH b8 For operation only x Lis a aget ts eh wv Read from remote input RX f Buffer memory addresses to FDH Read from remote register fJ Buffer memory addresses 2E0H to 31BH wv Control by read remote input RX we Control by read remote register RWr data CE ww Creation of data to be written to remote register RWw we gt ON OFF control of remote output RY v Write to remote register RWw f Buffer memory addresses 1E0H to 21BH v Write to remote output RY Buffer memory addresses 160H to 17DH MITSUBISHI 94 FX2N 16CCL M CC Link System Master Block Programming 9 9 2 3 Communication in compound system The basic programming procedure for the system where both remote stations and remote device stations are present is equivalent to that described in 9 2 2 Communication between master station and remote device stations For a program example refer to Chapter 12 MITSUBISHI 9 5 FX2N 16CCL M CC Link System Master Block Programming 9 9 3 9 3 1 Link Special Relay Register S
201. uffer memory setting example Set to ON the 3rd bit corresponding to the station No 4 and the 8th bit corresponding to the station No 9 Set 108H to the BFM 10h 515 514 b13 512 bii b10 b9 b8 b7 b6 05 b4 b2 bi BFM 10H MITSUBISHI 5 15 FX2N 16CCL M CC Link System Master Block Functions 5 5 6 Error Invalid Station Function This function sets remote stations in which data link is disabled by power OFF etc as error invalid ones so that such stations are not handled as data link faulty stations Be careful however for errors will not be detected at all in stations set as invalid stations Point If a remote station set as invalid station is also set as reserved station the reserved station function has the priority 1 Setting method Specify invalid stations using the parameter 14 Set to ON the bits corresponding to the station numbers of the stations to be made invalid However for a remote station occupying two or more stations set to ON only the bit corresponding to the station number set by the station number setting switch in the module The table below shows the buffer memory configuration Numbers 1 to 15 indicate station numbers 515 514 b13 b12 b11 510 b9 b8 b7 b6 05 b4 b2 bi 50 BFM 14H 15 14 13 112 1111019 18 7 6 5 4 3 2
202. upply to a remote I O station is turned off Data link continues excluding the remote station The ERR LED indicator is flashing in the master station Because data link is disabled in one station It is OFF if the remote I O station is set as an error invalid station in the parameter RUN e ERR MST TEST Eu Indicates the ON status ES Indicates the OFF status FXen 16CCL M Indicates the flashing status pe e E X Indicates the ON OFF or flashing status PRM TIME O LINE SD RD PWLRUNSD LEER Master station Remote I O Remote device station station Terminal _ A N Terminai resistor resistor Stabilized power supply 24V DC x Stabilized power supply 24V DC 13 4 6 When power supply to a remote device station is turned off Data link continues excluding the remote device station The ERR LED indicator is flashing in the master station RUN gt gt ERR Because data link is MST disabled in one station Temas Indicates the ON status en n LERNO O Indicates the OFF status FXen 16CCL M Indicates the flashing status SW Indi NUS
203. urce shared 24V DC 7 mA 8 points common 1 line 16 point DC input module sink source shared 24V DC 7 mA 16 points common 1 line 16 point DC input module sink source shared AJ65SBTB1 16D1 24V DC 5 mA 16 points common high speed response type AJ65SBTB1 8D AJ65SBTB1 16D 1 line 32 point DC input module sink source shared 24V DC 7 mA 32 points common 1 line 32 point DC input module sink source shared AJ65SBTB1 32D1 24V DC 5 mA 32 points common high speed response type AJ65SBTB1 32D 1 line 32 point DC input module sink source shared 24V DC 5 mA 32 points common 1 line 32 point DC input module sink source shared AJ65SBTC1 32D1 24V DC 5 mA 32 points common high speed response type AJ65SBTC1 32D 2 3 4 line 16 point DC input module sink source AJ65SBTC4 16D shared 24V DC 5 mA 16 points common Waterproof 4 line 16 point DC input module sink AJ65SBTW4 16D source shared 24V DC 5 mA 16 points common waterproof type Small type f Remote remote 1 line 8 point transistor output module sink 1 modul AJ65SBTB1 8T 12 24V DC 0 5 A point 2 4 A common 8 points station common 1 line 16 point transistor output module sink AJ65SBTB1 16T 12 24V DC 0 5 A point 3 6 A common 16 points common 1 line 32 point transistor output module sink AJ65SBTB1 32T 12 24V DC 0 5 A point 4 8 A common 32 points common 1 line 3
204. us in each station 0 Normal 1 Fuse blowout error swooss Fuse blowout status in other stations d b15 514 b13 b12 b2 bi 50 SW0088 15 14113 4 3 2 1 Numbers 1 to 15 above indicate station numbers Stores the switch change status in other stations during data link 0 No change Switch change 1 Change SWO08C 68 status in other stations 1 b15 514 b13 b12 b2 bi bO Swoosc 15 14 131 4 3 2 1 Numbers 1 to 15 above indicate station numbers 1 Only the bit corresponding to the head station number is set to ON 3 Bits corresponding to as many as the number of occupied stations are set to ON MITSUBISHI 9 13 FX2N 16CCL M CC Link System Master Block Programming 9 Buffer memory Number Name Description SW0098 698 Station number overlap status 4 Stores the overlap status in which the head station number of each module does not overlap 0 Normal 1 Station number overlap only the head station number b15 b14 b13 612 b3 b2 bi 50 SW0098 15 14 13 4 3 2 1 Numbers 1 to 15 above indicate station numbers SWO09C 69CH Loading parameter consistency status Stores the consistency with parameters 0 Normal 1 Consistency error Loading Parameter Remote device statione Remote I O station b15 614 b13 b12 b2
205. voltage output M AJ65BT 64DAV Digital input 2 000 to 42 000 2 Digital analog Analog output 10 to 10 V conversion module 4 channel current output AJ65BT 64DAI Digital input 0 to 4 000 Analog output 4 to 20 mA 24 bit binary 5 12 24V DC input type 200 kPPS 2 channels High speed I 24 bit binary 5 12 24V DC input type counter AJ65BT D62D 400 kPPS 2 channels module 24 bit binary differential input type AJ6SBT D62D S1 400 kPPS 2 channels Thermocouple temperature AJ65BT 68TD temperature input to connect Remote input unit 4 Plati 4 channels of t ture input to connect Pt100 AJ65BT 64RD3 channels of temperature input to connec resistance 3 line type thermometer bulb Pt100 4 channels of temperature input to connect Pt100 temperature AJ65BT 64RD4 4 line type input unit Diinteriace AJ65BT D321D2 Number of connectable readers writers 2 module Black and white liquid crystal type 2 colors A852GOT LWD LBD Resolution 320 x 240 dots Graphic Number of touch keys 300 operation terminal Color STN liquid crystal type 8 colors A852GOT SWD SBD Resolution 320 x 240 dots 2or4 Number of touch keys 300 Communication f module for CC ABGT Je1BT15 Interface module for the CC Link system for the GOT for remote device station Link connection afa MITSUBISHI 3 9 FX2N 16CCL M CC Link System Master Block System Configuration 3 3 6 Precautions When Configurin
206. wer Check whether the settings are consistent between the parameters and the startup station Check whether the station numbers overlap Replace a faulty module with a correctly operating one and check whether the single module is MITSUBISHI 13 2 FX2N 16CCL M CC Link System Master Block Troubleshooting 13 Trouble description Details to be checked Confirmation method Remote input RX in a remote device station cannot be received Is the remote device station executing data link Check the following LED indication in the module Communication status in the master station with other stations SW0080 Is data read from the correct address of remote input RX buffer memory Confirm the sequence program Is the station specified as reserved one Confirm the contents of the parameters Does the station number overlap Confirm the station number Is the connection setting beyond the specification of the master station Confirm the contents of the BFM3H DH Section 4 4 5 Remote output RY in a remote device station cannot be set to ON or OFF Is the remote device station executing data link Check the following LED indication in the module Communication status in the master station with other stations SW0080 Is the refresh command output BFMZAF 60 ON in the master station Confirm the sequence program Is data written
207. wn and brown 2 cables For high performance cable 130 Q 1 2 W color cable brown orange and brown 2 cables Special block number label MASS weight 0 4kg 0 88lbs Accessories 1 Dedicated CC Link cables and dedicated high performance CC Link cables cannot be used at the same time Only either type of cables are available Attach a terminal resistor in accordance with the cable type Refer to 8 4 2 When FX2Nc Series PLC is connected the interface FXoNC CNV IF is required MITSUBISHI 43 FX2N 16CCL M CC Link System Master Block Specification 4 4 2 1 Maximum transmission distance This section describes the relationship between the transmission speed and the maximum transmission distance 1 In the system consisting of only remote I O stations and remote device stations 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 Remote I O station or remote device station 2 2 1 Maximum transmission distance 1 Cable length between remote I O or remote device stations 2 Cable length between the master station and an adjacent station Dedicated CC Link cable requiring terminal resistor of 110 Table 4 2 ieci Cable length between stat
Download Pdf Manuals
Related Search
Related Contents
Mitsubishi Electronics M342i User's Manual PDF形式 474KB Makita HP330DWE cordless combi drill パンフレット(PDF:832KB) - MTマイレージ NOTICE D`INSTALLATION ET D`EMPLOI Copyright © All rights reserved.
Failed to retrieve file