You are on page 1of 93
MW PLC_CC-Link_1E_Contraller_Network_ENG wae Changes for the Better PLC CC-Link IE Controller Network This course is for participants who will configure a CC-Link IE Controller Network for the first time. Copyright ©2014 Mitsubishi Electnc Corporation. Al Rights Re Lvayoo1096NG PLC Co-Lrk TE Cora etre 6 == Purpose of the Course ooo This course explains the CC-Link IE Controller Network basics, and is intended for those who configure a CC-Link IE Controller Network for the first time. By taking this course, a participant will loam the basic CC-Link IE Controller Network functions such as data communications between multiple programmable controllers connected to a single network. A participant will also understand of the data delivery formats, the network specifications and settings, and the module start-up procedure. This course requires the basic knowledge of FA networks, programmable controllers, sequence: programs, and GX Works2. ‘Taking the following courses is recommended before starting this course. 1. FA Equipment for Boginners (Industrial Network) 2. MELSEC-Q Series Basics Course, or MELSEC-L Series Basics Course 3. GX Works? Basics Course WE COUnk 16 cone irra) Course Structure ooo ‘The contents of this course are as follows We recommend that you start from Chapter 1 Chapter 1 - CC-link IE Controller Network Overview Explains the CC-Link IE Controller Network basics. Chapter 2 - CC-link IE Controller Network Device Configuration and Specifications. Explains the CC-Link IE Controller Network configuration, specifications, and settings. Chapter 3 - Starting Up the CC-link IE Controller Network Explains the CC-Link IE Controller Network operation procedures from the start-up to the operation tests. Chapter 4 - CC-Link IE Controller Network System Test Operation Explains the procedures from the program creation to the operation check. Also explains the basic network diagnostics and troubleshooting procedure using an example system. Final Test Passing grade: 60% and higher. co unk 16 Conte tote How to Use This e-Learning Tool ooo Cue ed Go to the next page. Cee eet ed Back to the previous page . e “Table of Contents" will be displayed, enabling you to navigate to De cd the dested pose Exit the learning. Window such as “Contents” screen and the learning will be closed See) WW PLC_CC-Link_1E_Controller_Network_EN ieee Cautions for Use Safety precautions When you leam by using actual products, please carefully read the safety precautions in the corresponding manuals. Precautions in this course - The displayed screens of the software version that you use may differ from those in this course. This course uses the following software version: = GX Works? Version 1.493P MW PLC_CC-Link_1E_Contraller_Network_ENG CC-Link IE Controller Network Overview Chapter 1 explains the basics of the CC-LInk IE Controller Network, which is a programmable controller network for the MELSEC-Q Series and MELSEC-L Series. This chapter also covers programmable ‘controller network data sharing and data transmission, and data communication formats in the CC-Link IE Controller Network. 1.1. Why Have a Programmable Controller Network. 1.2. Programmable Controller Network Operation 1.3. CC-Link Family Structure 1.4 CC-Link IE Types 1.5. CC-Link IE Controller Network Characteristics 1.6 Data Communication Procedure 1.7. Link Device Assignment Procedure 1.8. Data Communication Format 1.9. Data Communication by Cyclic Transmission 1.10 Summary nF Contratr_Networt_ Why Have a Programmable Controller Network Why is a programmable controller network necessary? Before the introduction of programmable controller networks, machinos wore mostly operated independently, with each programmable controller providing stand aloge control for a specific The neighboring ‘machine is not my ‘My job isto control this machine. Otrer machines do not With the increasing automation of production equipment, it has become necessary to have data shared botwoen machines in order to realize a cantralizod control of different machine's production, (‘can share) Information with the Peighborng machine| that ls connected to Machine A MW PLC_CC-Link_1E_Contraller_Network_ENG Programmable Controller Network Operation ‘The programmable controller network operation is explained using an example system given below, Please clk the [START] button to visualize the machine operation. Production count Machine Apoducion ZT OQ) Q) co unk 16 Conte tote CC-Link Family Structure A production system network involving programmable controllers consists of different network layers where dedicated communication is performed, These multiple layers are collectively referred to as the ‘CC-Link Family. The "CC-Link IE Controller Network" is an Etheet-based integrated open network that provides a seamless communication from the IT layer to the field layer. Devices manufactured by Mitsubishi and its partners are connectable to CC-Link IE, and sharing its functionality and capabilities. = sy a ee reer a Seen conor | terete eae os ort ee level ‘machine control operations. CEPR FOO | hagas apes wa owen we hagarbare Waco ROMEO" | sere ages io eave Devieslovel | Segre reve eatin communal tmiaan machine conuls an iwn,Corol Motion control CC-Link and information communications can be handled simultaneously. pe oe tow campo \ cn, serifeernninninnig ote Controller level Oey penn ‘capacity poriormance ty control lj Motion contro High co unk 16 Conte tote CC-Link IE Types coc “There are No types of GO-Link IE: The *CC-LInk I Contoler Networ” andthe “C-LInk IE Field NetonTha aerencea are summorzed lhe table below CE-LnK E Conroer Netw Se Cond pean] Contr ctu cand Cole be con once YO cond Tio ty Communication Fiber optic cable: ‘Twisted-pair cable: All-round mnecum ey en (ow cost ancy 1 stall = — ‘Woo dear Tooolosy Figh rokabilty ensured by duplex loop Rouble 7 Number of device Words: 128k points Large capacity Words: 16k points Ravpen | Reese ty sas apa ‘Cont station switching function Sy Masta IUeGION data nkje maintained Reliability fa control station fails, the data link is maintained by 16 as Stgton fps, the deta link js painter " Haeataay nail ace ee Sua eaNeYY” | Gy eiting bw slant ian remaster alonse station adie | som Tong stares | | 100m ~ T rainscom Totton Rg)" moc meer omc datos)= | FS ATR nner ot uma stirs) WW PLC_CC-Link_1E Controller Network NS = enna 4 CC-Link IE Controller Network Characteristics This section explains the CC-Link IE Controller Notwork applications and its wiring method. Application Explanation Inlormati fs shared betwoon prograrmabio conus contol . ‘iste tas proved Roy experdaBlly mamta ABEN Sa Adama Stone Benefits of information sharing: + Improves equipment and ine productivity. + Enables ful factory management by collecting traceability information + Enables quick cetoction of communication in falures and uit aut. Information she (ojele Warsiseion Indstsr station ane Ir Stalons) Wiring method Cee Positive features + Nobulky wiring + Because stations are connected fo each other, 2 single disconnected line does not affect the 7 ‘whole system. Ring connection: stations aro connected in 2 oop Data Communication Procedure coc ‘Sharing information In order for programmable controllers to share information, signals and operation data of a single programmable controller must be sent to other programmable controllers. ‘As shou in the animation below, the programmable controllers share information by using the link dedicated devices "B" and "W", Poaso cick the [START] button to begin the explanation of tho programmable contrllor CC-Link IE Controller Notwork. Station No.t Sequence program Station Noa In the CC-Link IE Controller Network, each programmable controller in the network reserves link devices for information sharing. Staton No.2 Sequence program Station No2 Bie ) Tum ON the contac! KO" of sation No. programmable controler 2) The ool BO" of sation No.1 programmable convolorb turned ON. (a) The ON sional le Fanemified to the contac" BO of staon No programmabla conWoller [4 The call" VO" of station No programmable controler tuned ON [S) Tum ON the confacl "XO" of sation No2 programmable conroler (6) "20 is saved in the register "W100" of station No.2 programmable conirller z (7) "20" is transite to the register "W100" of station Ne 1 programmable controlar z [@) The oail"V0" of station No.1 programmable controler is turned ON Note) In his example, the "B" Ink relay and "W" lnk register are use) -Link_IE_Contraller_Network_§ —_ Data Communication Procedure Correspondence between the link device areas and stations In order for the programmable controllers in the CC-Link IE Controller Network to share information (signal states, numerical data, etc), each programmable controller reserves a specific device area for linking with othor programmable controliors. Periodic data exchanges occur between these areas. ‘An example of such a device area in the CC-Link IE Controller Network is shown below, together with the data exchanged. In this example, the "B" link relay is used. (Details are given on the following page.) Seton No 1 [ Station No? | es Cx Boa soto ond rango(t)} 59%, | | Yaromiesions = some) | | —— [| asorins aia | {acamesions (1) The station No.1 devices BO to BFF are set as the send range (2) The dia saved inthe station No.1 devices BO to BFF are automatically sont tothe station No.2 BO to BFF. (3) The station No 2 devices B100 to BIFF ara set aa the send range. (4) The data saved inthe station No.2 devices B100 to BFF are automaticaly sent o staton No.1's B100 to BIFF. portant ‘The sonal and data ofa programmable cerpoer can be sont te ator programmable concer simply by sating such sata st ‘Wome -sinton's (7) sone range devices, In he sarqe manner, tne receing-alve programmable contallt can relveve te eer prorammadie controls invorration smoy by rforrng for oWtstatons Yocahv Tango COVED, who Togarat> “1: The programmable controllers which ere connected to the network are identified by the station Nos. “Own station” denotes 3 programmable contol iself, and “ther stan” denotes te other programmable contol. WW PLC_CC-Link_1E_Controller_Network_ENG Data Communication Procedure Device data exchanges Dedicated link devices are used to share information within the CC-Link IE Controller Network. These devices are the "B* link relay (bit data) and the "W" link register (16-bit integer data). ‘and ends with the "BO" ON at station No.2. Staion Not Station No? Please click — CpY made Network module Networkmodule CPU module tho [START] button to visualize the explanation Gye transmission “The °BO" is tamed ON by the sequence program of stalion No.1 zg BBy Ink refesh (2) the "B0" ON information Is Wansinitied tothe network module orn the GPU module, and"LBO™ istuned ON, By cyots vancmission (3), Gro "BO" ON Information ls Taneritiod fo the notwork module of sialon No lof station No.2 is tues ON, ad TE = By link refesh (2), the "BO" ON information is anemia fom the network modulate tre CPU modulo, and "Bo" turned ON, z ‘Tho"B0" ON status can.b0 checked in the soquonee program of station No2. ‘The animation below shows an example of operation which occurs from the "BO" ON at station No.t, “3 “LB" and "LW av lin ovicns handled internally by the network mocuies ‘Alok rtrosh” fe the device data ‘cormunisation which ‘ecurs between the (CPU modulo’s "B/W" evices and the etork mocuis’s *UBILW" devices: link cefesh cccurs at ‘each sean of the CPU module Acyclic transmission” is the data ‘Communication format used by the CO-Link IE Controller Network. Further details are ‘given in Section 1 & WW PLC_CC-Link_1E_Contraller_Network, is Link Device Assignment Procedure A link relay (LB) and link register (LW) can be set in the available link device range of the CPU module. GX Works2's network parameter setting function can be used to assign a "send range’ in each station. ‘One station's link device area, which is Set as the "send range’, handled as the "receive range" at other stations. Netvorc parameter sons range Petinge Staion Not Sialon No Talons] Link rly (18) Linki (18) Link relay (18) Link rely (13) Bo Bo so Staion Nos Staton No Staion No 2 send range send range receive range Staion No recahe Staion No Staion No? mmoe ‘ond rango ond range BW) J siatontior recohe range Staion No? receive range | Unused area | Unused area | Unused area | H usverr | Usedaes | Lprere ! eTrFr Link ragitr (LW) Link register (LW) Link register (LN) Link register (LN) ‘Station No.1 LWO) Station Not WO | Station No 2 two send range ‘send range receive range ‘Station No.3 Staion No Staion No 2 range ssndrmge BD J sation io: end ange “eeawe range ‘Station No 2 rocoivo range vier vines { Ueedaron | yiperr | Umeda | Umeda LWIFFFF i MW PLC_CC-Link_1E_Contraller_Network_ENG ( Link Device Assignment Procedure ooo In the following example, 512 points each are assigned to LB and LW, which are the link device areas of the station No.1 to 3 CPU modules. Station Station Station Not Noz Nos 10 “th - ‘Station No.t 8010 LBSFF BO to LIF 80 to LBIFF ‘send range 512 ponts 512 points 512 points 118200 to LBSFF 118200 to LBSFF 118200 to LBSFF 512 points 512 points ‘512 points Link olay Te + 5 1.3400 to LBSFF 8400 to LBSFF 1840010 LBSFF | Staton Nos 512 points 512 points 512 points Y tasow tezrre | ||} 18600 Lazrre F tp600 io Le7rFF | LarrrF te Lwo ain + ‘Station No t LW 10 WIFF LWO to WIFF LW to WIFF ‘sond rango 512 points 512 points 512 points W200 to LWSFF L200 io LWSFF | Station No2 L200 to LWSFF 512 points ‘Si2poins | send range {512 points Link rgistor oo “tI Pak = | oo ~ Lw400 to LWEFF L400 to LWSFF Lwvé00 to LW5FF | Station Nos 512 points 512 points 512 points range Luierre | Wooo wirer | || 1 Lweootewtrre | 1 wooo to wirFF | WE COUnk 16 cone Data Communication Format ‘As shown in the table below, the CC-Link IE Controller Network uses two data communication formats. The tablo bolow summarizes differences between these formats and the benefits of each. Format Gyclic transmission Data nse goa at advanco by network parameters (1) are paosically es No progr (com absordangn us ten ‘parameter collngs rar required unaton Soeur in ‘Transient anamission Dai ofan nner posable ctl won Bese HENLE PRT ER S S ae Pr (sandecslve spbiaton ic evel bya progam canning yam is requied. \rucion “1: This soting is used for CC-Link IE Controller Network conti. Further datais are given fn Section 2.3. ‘The CC-Link IE Controller Network can use the cyclic and transient transmissions simultaneously. This course features the cyclic transmission, which is the main transmission method used in the CC-Link IE Controller Network Data Communication by Cyclic Transmission Periodic data communication In cyclic transmissions, programmable controllers send their own data sequentially within a given interval. This data is received by other stations which are not transmitting at that time. To ensure complete data exchange, the transmission authority called token pass shifts from one programmable controller fo the next in sequence. Because transmission occurs in a periodic manner, this format is referred to as a “cyclic transmission” format. The one cycle of send authority shifting (token passing) is referred to as a "link scan". Each programmable controller is granted the ‘send authority once in each link scan, and this is referred to as an “on-time” condition, The following example shows the cyclic transmission timing for each station. sata eae cS communication = “eee al al Features of a programmable controller based control network In a cyclic transmission, data transmissions without colision are possible with many network- connected stations and in a high transmission frequency. This is because the stations perform their transmissions in a sequential manner, with only one transmission occurring at a time. For this reason, cyclic transmission, which offers a reliable real-time communication, is suitable for controlling preduction equipment, etc. ‘A function-distributed system, where functions are divided between network-connected CPU modules, offers the following advantages to the individual systems that are controlled by several CPU modules: + Less processing load for each CPU module. + A failure in a single location will have the minimal effect to the others. I PLC_CC-Link_1E Controller Network ENG Data Communication by Cyclic Transmission To perform high-speed cyclic transmissions, link device data is communicated between stations with minimum transmission delay. The link devices of other station's send areas are handled as "own station devices". The animation below shows how cyclic transmissions occur. Ciick the programmable contcle’s switch (ON/OFF) to view its dala transitted to another station, ‘The Reset button returns the set values to the defaut oy (oy Station No.4 ‘Station No 2 ay (oy one [ona oF xo xi0 xu y30__Y3t [fron [Cre onan sca [fies Summary In this chapter, you have leaned: + Why have a programmable controller network + Data communication procedure + Programmable controller network operation + Link device assignment procedure: + CC-Link family structure * Data communication format + CC-Link IE types + Data communication by cyclic transmission + CC-Link IE controler network characterises Why have a 'A prograrimable contioller network allows contol informaiton for production machina t be shared enue Ee igm| Detcen programebie controle, offering the following benefits: +The foadiscistiouted among mutiole programmable controls (load eistibuton). The failure ofa single programmable contraller will have a minimal effect on the overall system (function eistibution) Programmable controller networks primarily use a oyeictransmiesion format. ‘The oyalie transmission format uses dedicated network dovies called "ink devices" Link devices ac ke shared devices among programmable conte in tre netvork. One sialon’ ink device area sel as the send range correspon wih the receive range atthe other stations 3k devices are alin ratay (B) and link register (VY). abil device, and Wis word device WE COUnk 16 cone CC-Link IE Controller Network Device Configuration and Specifications coc Chapter 2 explains the CC-Link IE Controller Network configuration, specifications, and settings. This chapter will provide further understanding on the network configuration, specifications and functions, the network parameter settings, etc. 2.1 Network Configuration 2.2. Network Specifications 2.3. Network Parameters 24 Summary WW PLC_CC-Link_1E_Contraller_Network, is Network Configuration ‘his section explains the network configuration and the network modules. Network station configuration ‘The CC-Link IE Controller Network comprises of a "control station", and multiole "normal station(s)*. Each stalion is assigned a unique station number. The control station is distinguished from normal stations by the network parameter setting. Control station ion Station No Station No 2) Station Nod) (CC-LInk IE Contoler Network (1) Role of the control station ‘The "control station” controls the network parameters, ‘There can be only one control stalion in a network. Use the control station's network parameters to assign link devices of other network stations. (2) Role of a normal station All stations other than the "control station* are referred to as “normal stations", These stations send the data in their own stations send range to other stations in accordance with the parameter settings set by the contol station, Ha control station fails, one of the normal stations takes over the role of the control station (sub control station) allowing system operations to continue. This is referred to as the "control station switching function". WW PLC_CC-Link_1E_Controller_Network_EN (2.1.2 | Dividing the network by using network numbers » coc ‘The CC-Link IE Controller Network can be configured in a variety of ways, ranging from a "single network aystem” to @ large-scale "multiple network system". In a multiple network system, each system is assigned a unique system number by which itis controlled. Network numbers are specified by the network parameter settings. (1) Example of a single network system SETS Satter Sain Ney (Conte so) (ornate) Network No.1 WW PLC_CC-Link_1E_Controller_Network_EN (2.1.2 | Dividing the network by using network numbers (2) Example of a multiple network system (Corbi Nation) feemeh 80) Siation Nos sora sition) Station i a Ses) ‘As shown in the figure above, the CC-Link IE Controller Network can be divided into multiple networks which are identified by network numbers. Stations which relay across different networks must have two network modules installed. Benefits of dividing the network + Minimizes the amount of data transferred per loop, making link scans faster. + Prevents a faulty network from affecting other networks. Notes. *+ The station numbers should not overlap within the same network. +The station numbers can overiap with the numbers in a different network. ) ooo Network Specifications ‘Specification confirmation Before selecting the CC-Link IE Controller Network, the system environment should be checked if itmeets the network specifications. twork specifications Network scala, and number | + Max. numbor of networks: 238 Of connectable Stations” | «ax. numberof connectable stations per network: 120 “4 Connection format | Cable specs.: Fiber optic cable (mult-mnode fiber) * Max. numberof link points per network “1 Number oflnkpoinfe |. ex number o link points por atstion “1 ‘+ Total stance: 66km (with 120 statons connected) + Distance between stations: Max. 550m (coreelad = 501125 (yun) 2) Baud rato 1Gbps Connection distance “1: Fer details, please refer to the corresponding manual ofthe CC-Link IE Controller Network medle “2: Tho clstance betwoon stations can be extanded to 15km by using a modia convertor. Designing a network configuration (1) Function distribution Examine the overall system, and identify locations where itis beneficial to divide the system by functions. Each station requires a CPU module. To simply place an /O dovice at a remote location, CC-Link or CC-Link/LT can be used. (2) Load distribution Examine the overall system to determine if an excessive load is concentrated at a single CPU module. If so, consider distributing the load by using the CC-Link IE Controller Network. (8) External power supply Use this to keep the power of stations if the power supplied through programmable controllers is shut off (4) Other ‘Verify that the distance between stations, the total distance, and the cable specifications conform to the designed specifications. AS. coin ie Conia tet a Explanation of specifications ooo ‘This section explains specifications that are particularly important for understanding the CC-Link IE Controller Network. Network topology The network topology of the CC-Link IE Controller Network is the optical loop topology. Each optical cable has two pairs of transmission paths (including a spare). If operation at a given station becomes abnormal, communication is continued among remaining normal stations. This process is referred to as a loopback. Example of normal communication Example of loopback communication Number of connected stations per network ‘A maximum of 120 stations can be connected to an optical loop system. For details, please refer to the corresponding manual of the CC-Link IE Controller Network module. Overall distance ‘The maximum overall cable distance Is 66km for a single network. ind component names Boards which are installable in a personal computer or a server computer are also available. (8080-1716P21-8x 2 S @ (8080-47 1GP215-Sx with external power supply terminal ® a , @ Name (1) | LED indicator | incstes the module statis Eber optic | Fos connection of an her ofc cable which connects the OUT connect of another slaon lo is (2) | sate’ ‘sBifan's N connector. The fiber ont Cabie connected to tis slaton's OUT connocior connects 10 ormector | Snofer sadn Wi comocion Exeranpower | Forsuppyingpowerto he network mle separately fom he power supe om fe power (3) | ggg teiminsi | Areal aeiver supply (UPS, batery, cc) prevents the modul rom being Glscomneced from te fowwetk ven ithe poner rom tho power Suppy meaule shat ot PCO Unk 1 Conder Nett Transmission cable specifications Fiber optic cable specifications Name ‘1000BASE-Sx (MMF) compatioe flor optic cable ‘Standare TECE07S8.2-10 Typos Ata t (60/125 yn matimodo) ‘Connector 2:fbor LC connector BORIS stations 560m“! “1:The cistance between stations can be extended to 15km by using the media converter of Mitsubishi Electric Systom & Service Co, Lt. Transmission delay time ‘The “transmission delay time" refers to the time it takes for a change in the sending-side program to be applied to the receiving-side program. This delay time must be considered in a system where accurate synchronization is required. Before designing a system, the transmission delay time approximate value must be calculated as to design an appropriate system, ‘The following example shows the operation flow in which the data in station No.1 CPU module's link. relay (BO) is sent to station No.2 CPU module. Pioase cick the [START] bution to visualize the explanation Station No.t Station No.2 CPU module Network module —Networkmodule CPUmoduie QE Station No.2 Program Staton No.1 Program KO ‘Sequence scan Link efesh Link sean Link etesh | Tho "BO" is tuned on by tho soquance program of station No.1 By nk refesh, 80 information is saved inthe device (LB) of network module By the lnk scan, BD information is tansrited othe device (LB) of rework module on the receiving ide g Bylink refresh, BD information is saved in the device (B) of the CPU module E ‘The "BO" ON status is checked inthe sequence program of station No 2. PCO Unk 1 Conder Nett ‘ Transmission delay time “Transmission delay time” elements ‘The following elements comprise the transmission delay time. + Scan time for the sending-side and receiving-side sequence programs + Link refresh time at the sending-side and receiving-side + Time required to process through all stations in the network (link scan time) \ sand stain A) sequence scan Sine —> sense ——h (Station A) i |oerosicn nine v v v v v Likscan Oo Receiving side v ‘savon8) ecowng-9 (ten ) sequence scan me ‘Transmission delay “Transmission delay time" countermeasures If the transmission dolay time calculation indicates that the data will not be obtained within the required time, the following measures are available. + Separate the network into segments + Replace the CPU module with a high-speed type + Adjust the number of link rofresh points. Pe Transmission delay time ‘Transmission delay time at cyclic transmissions (worst case values) Under the following conditions, the data transmission time (Taxa) can be calculated as below. Single network system Non-redundant CPU Is recelving STPLS Station-based block data Taxa (ms) = (ST + aT) + (SR + OR + LS) x2 ‘The scan time (ST, SR) can be checked at the GX Works2's "scan time measurement Other variables are represented by the following formulas: aT, aR = KM1 + KM2 x { (LB + LX +LY + SB)/ 16+ LW + SW}+aE + al. ae al = KMS x ((LB + LX + LY) /16 + LIV) KM4 + KMB x (LB / 16 + LW) LS = [KB + (nx 116) + {LB + LY +(LWx 16)}/ 8 x 0.016]/ 1000 + 100 ‘ST: Sending side sequence scan time (excluding the link refresh time) SR: Receiving side sequence scan time (excluding the link refresh time) GT: Sending side link refresh time QR: Receiving side link refresh time LS: Link scan time N: Total number of stations LB, LW, LY, SB: Number of points assigned by the network parameter settings KB, KIM1, 2, 3, 4, 5: Constants which are dependent on the CPU module. ‘The above calculation formulas represent the worst-case scenario. For formula details, please refer to the corresponding manual of the CC-Link IE Controller Network module. Network Parameters ‘This section explains the network parameter settings required to use the GC-Link IE Controller Network. Minimum required settings ‘The following table shows the items and points which must be set and checked in order to use the CC-Link IE Controller Network. Netw Type Set the netirork ype and station lye foreach network module Sting reqred fr each Sarit Tanai TSR RTA ENT En seheneaarsee root ee ‘Spt the ayte rangmigsion ranges forthe fink devices LB, LW, LX. LY in Network Range Assignment | ‘rich dats wil be exchanged among tne stations in ihe same Network Setting is required forthe control Station (rot required for normal Siton) Set the sond range in the CPU module's ink devices (BIW) and in the Refresh Parameters Folwork modules ink duvicos (TBLW). Ths sattng is veq.irad In systems Uinere mulaple network modulos are netlied wit @siagle CPU module In asingle network aystomy the fault Seting ean be used a5 MW PLC_CC-Link_1E_Contraller_Network_ENG ae Gall GX Works2 setting window GX Works2 can be used to set the network module parameter settings. GX Works2 Network Parameter setting tab ‘The Network Parameter setting tab for CC-Link IE Controller Network is shown below. Please check the setting items, ) ooo Ss ne eee To open the Network Parameter setting tab, jekeoworsin double-cick he "Etornet CCE MELSECNET™ = Peres Stat YO Ne. 211 Corresponds to the network Sona EET ata TT oem nn system When Fencte Passa “edt 21} multiple modules are used, start fighter at SE ting rom Mose 1 b 4 Se — "Mode io = 7 a YY Nv age feign = tee fees cpr ce a vam | The matron paramere are dspyed aS G2 eovel Emer sedge b te eating mon cro — (na separate window, enor ogee] sow Samar) values ty crop down mon keying ta Girecty, ocby solecton butters. The font color changes to indicate: are set on a separate window. Red: Required setting has not been made on the separate window. ting items that Blue: Required setting has been made on the separate window Optional seting has not been made on the soparato window. Dark blust Optional setting has bson mad onthe separate window cen Sod tng | ey) See Network Parameters setting window wee ee WW PLC_CC-Link_1E_Contraller_p Network types and network settings Network setting for control station ‘The figure below shows the network type and other network settings. ) ooo Use the drop-down menu fo select the network and station ‘types, Inthis course, "CC IE Contral (Control Station) is solace. Always so this ld must bo within the module's instalation postion “The dofauitscting is "None" Always set tis fd [SCTE Contron Control station] Click her to open tro Notwork Range ‘Assignment seting window The sting Is roquitod for contral stations. Glick hereto open the Rettesh Parameters window. “The default setting can be used asitis or ean be changed Natwork Parameters sottng window In this course, specify the total number of network-connected contol stations + normal stations. ‘Spocifes the group No. on the ntwork being connected In ths course, the default valuo "0" Is used. MW PLC_CC-Link_1E_Contraller_Network_ENG Network types and network settings Network setting for normal station ‘The figure below shows the network type and other network settings, ) ooo Use the drop-doum menu io selet te network and ition “The ame aa fr te conto ‘ypes. aon Inti cours, "6 IE Contra (Control Stations aelcted “The deta sting is None" Always sat this Bed odie 2 eS EE Te Contre San) she 5 Sart ON cs = ne — | Tog sao eo: ore Teal Stations Group Ne. 7 Sate Ne | ‘The for the control ode rine =] me = “The same as forthe contol station Refresh Paraneters Tnteruot sets spec Station No. by Parameter = Network Parameters setting wincon MW PLC_CC-Link_1E_Contraller_Network_ENG oe = (233 | Common parameter setting ) ooo ‘The Network Parameter Assignment (LB/LW assignment) tab can be opened by clicking the "Network Range Assignment” button Setup common parameters System Switching aa Use the drop-down menu to select a device Assegment Method, ‘Monitoring Tme | 2009 ms ‘The default soting isLBILW sotings (1). required, select Data Link — "OMLY Setting” 2000 me Pwa Displays the Station numbors that correspond tothe "Tota Stations" ‘specified atthe Network Paramotor. Switch Saeens fLejiws a ‘Speaiy the transmission ranges for each stations link register (LW). ‘Specify the LW Start and End numbers for each station. Do not ot the T numbers overlap. 2 In this example, 258 points are assigned for each station 3 ‘Speci the transmission canges far each stations link ralay (LB) ‘Specify LB Start and End numbers for cach station. Do not lt tie numbers ‘overlap. Inthis exemple, 259 points are assigned for each station Use this ifthe numberof stations is expected to increase in the future Include the ‘umber of reserved stations in "Total Statone" Set the detain the window splayed by cicking the buon. Reserved Staton FRRATERT | ae — 4, ebieork | shued oon ee ale Sey cc ee a Notwork Parameter Assignment window MW PLC_CC-Link_1E_Contraller_Network_ENG — GEEEEEE Network refresh parameters setting » ooo! ward Network refresh parameters are used to set the send ranges of the network module link devices (LB, LW, LX LY). Data in these devices are sent to the CPU module devices (X, Y, M, L, T, B, C, ST, D, W, R, ZR) {0 bo used in soquence programs. The figure below shows the default network refresh parameter setting, ‘Assorment Method © Pointsfstat © StertfEnd inks Pic Sie = (Devine | Ports [Stat [end DeviNone | Ponts [Stat [ed _— [Transfer SB (SB 512| 0000] ore] > [SB = 512 0000} O1FF lranefer SW iw Sia] oma over] 4 a | 612] oon] on firersfer1 ie +] e182] ocoo] FFF) ¢p fe _ | 6192] 0000) ure] [Transfer 2 HL = 5192) 00000] OLE] ep fi = 6192| 000000] _OOLFFF} [Transfer 3 + ry = lrensfer¢ x 4+ = [Transfer 5 ~ a = franefer = + = lansfer7 z + = Lrensfer @ = + = I lx Oefout Check end Conc "Network Parameter soting tab (i) in the default setting, the data in "LB/LWIO fo 1FFF" (8192 points) are set to be transferred fo the CPU module devices "B/WO to 1FFF*. Unless another setting is required, this default selting can be used. (2)If the actual number of used devices is less than 8192 points, the refresh time can be shortened by reducing the number of points. WW PLC_CC-Link_1E_Contraller_Network, is refresh time, Such a setting shortens the li Network refresh parameters setting Reducing the number of refresh points by the network refresh parameter setting With the default setting, a refresh occurs between the LB and B of all ranges. However, the network refresh parameters can be set to specify a minimum required refresh range in order to shorten the scan time, resulting in a shorter transmission delay time. ‘The following examples show the refresh operations with the default range setting, and with the decreased range setting. Station Nos Station No2 Dataut setting CPU mocile Network module Changed sotting (wth loss refresh points) ‘CPU module Network module —> 810010 LB100 10 irr | (> | tater 5200t0 Br | <> 8192 points of LB are refreshed. Station 4 Station 2| => B100 10 LB100%0 Birr | oo) | air 512 points of LB are rtreshed Summary ooo In this chapter, you have leaned: + Network configuration + Network specifications + Network parameters Important points ee k sof 79 corto siaton and multiple namal stations. The conta station ane TEE CaLN The trancricsion delay tmo i determined by the sequence scan timo, Ink refesh timo, andthe lnk scan pean) {ine at tia sendhglraveling-side programmable conti. FI i re ns0 Re wc rigs an sl tga eth nena uC " Bea Saf MLB ras RSet BL ne” Mor sero, wor nF Contratr_Networt_ Starting Up the CC-Link IE Controller Network Chapter 3 explains the procedures from the CC-Link IE Controller Network start-up, to its operation check. This chapter provides explanation on the system configuration, the network connection method, the various setting operations, and the sequence programs. Configuring a Network System Setting the Network Parameters Checking the Network Operation ‘Checking the Operation by Sequence Program, ‘Summary WW PLC_CC-Link_1E_Contraller_Network, is Configuring a Network System In this section, you will earn the configuration procedure of a simple two-station network system. AB Configuring a network system ‘The description in this section will be based on the following two-station network system. Machine A Machine 6 ‘CC-LInk IE Contolor Network MW PLC_CC-Link_1E_Contraller_Network_ENG oe = e& 1.1 | Configuring a network system ) ceo! ‘The specification of the example system Is shown below. Network topology Optical loop system Network module curiGP2t-sx Total number of tations | 2 stations (Station Not: control station; Station No.2: normal station) Network No. 1 Group No. ° een Link olay (B!L.B): 256 pointsstation; link register (WLW): 256 poitalstation Programmable controller module configuration In this example system, the station No.1 (control station) and No.2 (normal station) have the same module configuration as shown below. Input Output VO assignments map 64 64 points points x00t0 Ya0t0 XSF XT Intetigont 32 points XNE01o 9F WW PLC_CC-Link_1E_Controller_Network_EN Fiber optic cable connection Network modules are equipped with “IN" and “QUT” optical link connectors. ‘The fiber optic cable connects a module's "OUT" connector to the next station's "IN" connector. ‘A loop is configured by connecting the modules in the order of "Station No.1: OUT" -> "Station No.2: IN‘, "Station No.2: QUT" -> "Station No.1: IN". Station No.t WE COUnk 16 cone Connecting the fiber optic cable ooo Network module Module-side comector Cablo sido connector Connector hook Cable connection precautions + Always hold the cable's connector area when disconnecting the cable, + When connecting the cable, align the connector's protruded area with the groove of the plug, then insert the cable. + Connect the cable connector with the module-side connector securely until a latching sound (click) is heard. Fiber optic cable handling = Assingle fiber optic cable has two lines of optical transmission paths. + Because the fiber optic cable has a glass fiber core, its bend radius is limited. The cable must therefore be handled with care, and should be installed in duct, etc., to protect + Oilfrom hands and foreign matter such as dust, etc., can adhere to the fiber optic, reducing its ‘transmission capability, and possibly resulting in faults. When an fiber optic cable is being installed, its fiber cores and the module connector areas should not be touched with bare hands. ‘These areas should also be protected against dust, etc. WW PLC_CC-Link_1E_Contraller_Network, is Setting the Network Parameters This section explains the network parameters setting procedures, Setting the control station parameters The diagrams below show the device assignment, which will be set by the control station parameters. Link olay Link ragistor LW0 0 LFF (256 points) WW PLC_CC-Link_1E_Controler_Network ENG _ les eal Setting the control station parameters ) ooc ‘The control station’s network parameters are set in the following procedure. (1) Enter the netwrk stings for Module (conta sition), PF rts ton maT I nr Network Type | COTE Contat (Conta Staton Revencewseen =P | (2 armor Rance [al HO New 080 4 Assignment and Refresh I Network Ne 7 Paramatere aro st theft | —4 Total Stations 2 7 color changes. - Group Ne. @ - “| = + Station No- 7 — a pepe coarse == earenaee Teictremee once baad ke [ied san nob Pome [ea Sane br Fane Natwork Parametor settng window os © td (0) Use he deta reftesh parameter (2) Assign he network ranges. Slings a8 shown baton Staton No 1 LBW ~ Start adross 0; End dross: FF sr Staton No? LBL . = apa a Start arose 100; End adress: AFF Wego ou se] — air r E Sa] — 7 a z stared = Se? Te Pa | roe [ae [a a # 7 Bef 0000 [corr P55 Ff c0000 | coor 2 # yoo [aver J 255 co100 | oor + # 8 8 ‘Natwork Range Assignment setting lab Ratrosh Parameter soting tab W@ PLC_CC-Link_1E_Controller_Network_ ENG _. oe = ez Setting the normal station parameters ‘The normal station's network parameters are set in the following procedure Reva Looe 1 Stretton sting nC al caer on (1) Enter the network setting fr station No 2 (normal station: Cevegerea S07) Network type | COTE Contra [normal sation) ‘Start VONo. 0080 Network No. 7 ‘Group No, 0 Station Ne- 2 enorme Tier eters Network paramator seting tab (2) The refresh parameters defauit Setting shown below is used as itis 3a eo |] a] mol eee Tia 6 8 # 8 Nowork roffesh parameter satng tab ) ooo Talat EE Ctl tend (3) Afor Refrosh a Parameters ae se, ‘he font colar changos. \A Teapots erasers [omy Satrte.by Paorete >] AG. coini ie Conia tent a ‘ Checking the Network Operation ooo After the specified network parameters have been written to the CPU module, the network operation ‘should be checked Parameters registration procedure ) Each station's CPU module should be connected to a personal computer (GX Works2) so that the network. parameters, which have been specified for each station, can be registered. The following section explains parameter registration procedure. (The explanation is based on the default PLC parameter setting.) (1) On the "Online Data Operation* window, select the "Parameters + Programs", then click the [Execute] button to begin registering parameters and programs to the CPU module. Taine Dats Ope aon NIT (2) Alter completing the parameter registration, reset the CPU module to apply the changes. Checking the network module's LED indicators If parameters and other settings are correctly configured and registered to each CPU module, network ‘communication begins. The network module's LED indicators can be used fo vorify normal notwork ‘communication LED indicators during normal communication: + Station No.1 (control stationy: "7", which is the first digit of the station number, is ON; and PRM, which indicates a control station, is ON + Station No.2 (normal station): "2", which is the first digit of the station number, is ON; and PRM, which indicates a control station, is OFF. Station No.1 Station No2 LED indicators RUN ‘Shows the operation satus. ON during normal communication MODE Shows online, test or fine. ON during online PRM. Sparg. tg staton yg ON denotes @ contol tation, and DALINK ‘Shows the data lnk status. ON during cyl ransmission ‘Shows that data is boing sont ‘Shows that data is being wocelved. ERR. ‘Shows that etroris occurring. OFF wile no erar fs occuring ‘The check procedure for abnormal communication is given in Chapter 4. coo Trrwar| WE PCCUnk 16 Conle_Netwe_ 5 Checking the Operation by Sequence Program ‘A sequence program can be created to check the communication status between the station Nos.1 and 2. Sequence program ‘The sequence programs for the stations are shown below. Station No.1 sequence program xo to va tr ew iv wo }_——T reve vn on Slalion No 2 sequence program = rn ve —— eT ew fev oro to ‘When the "X0" input signals ON, "BO" i tured ON. When the "X10" signal is tured ON (rising exe), "20" is added fo the value saved at "WO" When "8100" is ON, the "40" output signal is tured ON. ‘When "Y40" is ON (rising edge), the "W100" saved value is sent to "DO" Wher °B0? is ON, the *V41" output signal is turned ON. When "Y41"is ON (rising edge), the "WO" saved value is sent to "D0". When "X1" is ON, the 100" output signals turned ON, When "X11" is ON (rising edge), the "W100" saved value is sont to "10" WE COUnk 16 cone ‘ Sequence program writing procedure ooo Each station's sequence program must be written to the corresponding CPU module. Please check the procedure using the example given below. (1) At the "Online Data Operation" window, select the "Program(Program File)", then click the. “Execute” button to bogin writing to the CPU module. Cel) Doble croton | EmetentrOaa te F PasraenPegen | Seectat |Cacae Sct, oaaen7 13830 Bau zrs0077 13830 Nectesey Sting NoSeting) AbniySet | Seti irandd losing # Aid Set) wee apf ae Octet tah Online Data Operation window (2) When writing is completed, reset each station's CPU module to apply the changes. (@) Set the CPU modules status to "RUN", and execute the program. co unk 16 Conte tote Checking communications by sequence program ‘The sequence programs, which have been written to the CPU module, are executed to verify the normal network communication. In this course, the following operations are checked. ‘Station No.1 sequence program x0 rn x10 Hf P2010 Lov wico 0 Station No.2 sequence program $A —Kticve wn 010 i p—-fuove oro or At tho same ti (1) Each time the station No.1 "X10" switch is turned ON, 20 is added to "WO". , the station No.2 "WO" value changes to the same value. (2) When the station No.1 "XO" switch is turned ON/OFF, the "BO" coil is also tumed ON/OFF. ‘At the same time, the station No.2 "80" contact is tumed ON/OFF. (3) When the station No.2 °B0" is tured ON/OFF, the "Y41" coll is also tuned ON/OFF. When "Y41" is turned ON, the "WO" velue is sent to "D10" (4) When the station No.2 "X1" switch is turned ON/OFF, the "B100" coil is also tumed ON/OFF. ‘At the same time, the station No.1 "8100" contact is turned ON/OFF. When the station No.1 "B100" contact is tumed ON/OFF, the "Y40" coil is also tuned ON/OFF. (5) When the station No.2 "X11" switch is tuned ON/OFF, the above "D10" value is sent to "W100". (6) When the station No.1 "Y40"is turned ON, the "W100" value is sent to "DO". sequence programs. Ploase proceed to the next page, and chock the data communication status by running the example A PLC_CC-Link_1E_Controller_Network ENG hs ns by sequence program ‘Sequence program operation simulation Please execute the example sequence programs show below to check the data communication status. Click the station Not XO" and "X10" switches and the station No.2 "Xt"and "X11" switches fo check the data ‘communication operation status, which is indicated by LED indicators, data dsplays, andthe ladder monitor. ‘The Reset button returns the sel values tothe default ONION) o 40 One OFF xi xt vat [frre [Everwood jj vac {}_—_-¢ e100 WE CCOUnk 16 conte DP ooo Gall Summary yee In this chapter, you have learned: + Network module setting procedures + Fiber optic cable connection procedure + Setting network parameters from GX Works2 + Parameters and sequence program writing procedures, and network operation check procedure Important points Song See regres iS each progeaninsble convaller which s connect to the nekwock. DETR GaRiEEScON Te operator of CC-Link IE Conall Natwork modules can bo verified by chackng the LED indestors of ho CE LI) Signals and data to be conto athor station ar sat atthe ov. station's sond range link doves. Signals and data from tho otnor station are stored at te ann station receive range’ (other staton's send range) ink deve co unk 16 Conte tote CC-Link IE Controller Network System Test Operation Chapter 4 explains the program creation to operation check procedures, as well as the basic network diagnostics procedures for a failure, using the ex. cample system, Example System Configuration and Specifications, Example Systom’s Sequence Program Example System's Operation Chock ‘Chock Procedure When Network Fails to Operate, Using GX Works2 to Monitor Other Station Programs ‘Summary a § © CCLINK IE tn WW PLC_CC-Link_1E_Controller_Network_ ENG hs Example System Configuration and Specifications In this section, the example system's network configuration, machine control specifications, and signal ‘exchanges will bo explained. Before proceeding, please undorstand the example system specifications. ra Example system's machine control details In the example system's network configuration, two machines are being controlled. ered Se io, MT © © Machine B (contrat station) {normal station) ‘OC-LinkIE Controller Network ‘Operation stat and slop (Machines A and B) Target procuction count sent to Machine B Orsi actual production count Machines A and 8 foal production count Production count indication (Machines A and B) ‘Oporation start and stop (Operation status sent io Machine A ‘Ow-sta¥on actual production count ‘Actual production count sent to Machine A W@ PLC_CC-Link_1E_Controlier_Network_ ENG Example system's signal exchanges ‘The figure below shows signals exchanged between the example system machines and the programmable controllers. The sequence programs will be created based on this information Machine A VO signals Machine B xD Xt x2 x3 Y70 YI Input signals Output signals Machine 8 READY instructon Machine B operation stat instruction Tolal target production count reached 100 Bi01 Machine B target production count instruction w100 _[_Station No.2 programmable controller Machine B 110 signais XO | READY ON Yid_| Machine AREADY x0 | Machine B enor x1 | Machine Actor yii__| Machine B READY X_| Machine 8 READY 22 | Maine Reperaion [zg | Machine Acpmaon 12 | Mastng 8 oonsent XS | Machine AREADY —[Y73._ | Machine Bruning X3_| Machine B production count x4 | Msine B operation yayag | Mating Arodvoion ‘¥70_| Wachine B READY 1 | Machine Apradicion | jayeg | MaeineBproduton y71_| Machine & operation stort WE CCOUnk 16 conte ell Example System's Sequence Program ) coc Based on the control details given in Section 4.1, sequence programs are created to control Machine A (tation No.1) and Machine B (station No.2). Sequence programs' control details ) Machine A (station No.1) sequence program (1) Machine A operation is started by the READY ON and Machine A operation start signals. Machine B READY signal and Machine B operation start signals are also sent to Machine B. (2) During operation, production amount is counted by the Machine A production count signal (3) The station No.1 determines if the total production count of Machines A and B has reached the production target. IFit is reached, the operation is stopped. (4) The Machine A and Machine B production counts are output to the production count panel. Machine B (station No.2) sequence program (1) Machine B operation is started by the Machine B READY and Machine B operation start signals sent from Machine A. (2) During operation, the production is counted by the Machine B production count signal. (3) While Machine B operates, it continuously transmits the production count to Machine A. (4) Machine B stops its operation after being notified that the production count has reached its target. WE COUnk 16 cone Sequence program creation points ooo (1) Interlock with the network stetus In order to ensure correct operation, sequence programs are generally created by interiocking the CPU module status, equipment monitoring results, etc. In the same manner, when creating network sequence programs, network statuses should be interlocked. (2) Link special relays (SB) and link special registers (SW) Link special relay (SB) and link special registers (SW) both store network statuses. Alink special relay (SB) stores bit signals (ON/OFF), and a link special register (SW) stores data information (16-bit. The data stored in these relays and registers are refreshed between the network modules and the CPU modules, and such data can be used in sequence pragrams to verify network module statuses, ‘and for error detection. WE COUnk 16 cone Sequence program creation points coc (3) The transmission delay time and the link refresh timing Programmable controllers share the actual I/O state and numerical data values via the network link devices. However, sometimes there are instances where I/O status and data value refresh across the network can be delayed due to transmission delays, link refresh timing, etc. In order to counteract these possibilities, the following points should be observed. (@) "SET" and RST" instructions for securing ON/OFF time period If the on/off time period of the link relay, etc., is too shor, the data may not be received by another station due to a transmission delay. To avoid this, "SET" and "RST" instructions can be used to ensure an appropriate on/off time period Example of an onlff signal exchange program ‘Sending-side sequence programm Receivingside sequence program [ih tee omen ‘Tho "BO", which le sotat the sonding sido, 's kopt ON untl Its resot by tho "B100" ON, which checks the cecaiving-side processing (0) 32-bit data assurance function When sending 32-bit data (2 words), the "32-bit data assurance” function can be used to ensure the data integrity. For details regarding the conditions which enables this assurance, please refer to the corresponding manual of the CC-Link IE Controller Network module. (C) Station-based block data function When sending multiple-word data that exceeds 32 bits, the "station-based block data’ can be used to provide the multiple-word data assurance, For details, please refer to the corresponding manual of the CC-Link IE Controller Network module. WE COUnk 16 cone Machine A (station N: ) Sequence program Devices used for communications are shown in orange. Hote * Lom tJ su » a an ee Lo ow to Sco ann oo i Pf rer [J ser we re a When "X0" is turned ON, "Machine A READY (¥70}*is also tuned ON (oof hel). When "BO" is turned ON, the READY’ instruction i sent te Machina B. Machine A operation starts when "READY (X3)" and "Operation start (X2) ane tuned ON. When "B100"is tured ON, “Machine B READY (V71)"is also tamed ON. “Tho Machine B targot production counts sont to "WO". {When "4 is turned ON, "B1" i also tured ON, anc "Operation sta instructon is sent teMacne 8 [At an operation start, the previous "Total target production count reached (B2)is reset While *MO" is ON, the Machine A's “Operation stated (Y72)"Istumed ON, and a machine eperation stars [Alan "XS" OFF to ON, Machine A production countis saved in "DO During Machine A operation, the Machine A production count "D0" is displayed atthe production count panel “The sum of the ‘Machine A production count (00) and the "Machine B production count (W100) caleuated to obtain the lola production count. When a total target production count is reacted, the production court "DO" is cleared "Total target production count reached" is saved in"B2" so that Machine 8 willbe notified ‘When the toal target production count is reached, “M1” i tures ON. [AL"MI" ON or °Y70" OFF, tho Machine A running status is cleared, and its operation i stopped. While ‘B101"is ON, “Machine B running (¥7: During "Machine B runnin production count panel oulput the "Machine B production count (W/100)"is splayed atthe Machine A (station No.1) sequence program The external signal detals are shown below. x0 READY ON Y70 Machine A READY xi Mactine A anor ya Machine B READY x2 Machine A operation start yn Machine A operation startod (running) xa Mactine A READY vrs Machine B eanning xa Machine B operation start, Yao te VaF__| Machine A production count x8 Machine A production count | Y80t0YSF | Machine B production count 100 Machine B READY Biot Machine 8 running sanet) | Mastige 4 proorammabie soo (3) | Always ON signal 15820('2) | Maghine A network module “1: SMI ie special relay whichis turned ON when a programmable controler etor is dotociog +2: 8820 isa link special relay whichis turned ON when an errr occurs ata network medulla “3: S400 isa epecial relay which ropresonts a normally pon contact WE COUnk 16 cone Machine B (station N: ’) Sequence program coc Devices used for communications are shown in orange. —{ v0 J L_¢o00 iit ser When "BO" is turned ON, "Machina B READY (¥70)*s also tumnad ON (solf hol) When "B100" is tuned ON, Machine A is notified of tho machine B's READY status. ‘The "Machine B operation start (MO) instruction is tured ON when "READY (Xi) and the "Oporation start (1) are turnad ON. ‘When "MO" is ON, the "Machine B operation start (Y71)"is also tumed ON, and machine operation starts. Atan"X3" OFF to ON, "Machine B production count” is saved in "DO" “The "Machine B production count (Bd)" is sant io "W100", and Machine A is notified of the production count ‘The ‘pracuction count (D0) is cleared when the “Machine B target procuction count is ‘ached, or when the Machine A'S "Toa target pocucton coun reached (B28 tines “M" is turned ON athen the "Machine B target production count is reached, or when the Machine A's "Total target production count reached (Be) s turned ON The Machine B running status is cleared and operation is stopped when Eis tumed ON, orwnen "Y70"is tuned OFF m mm ios N Tho “progucion count (W100) 9 loses ar ho “mor (TY sein alapbe folowing a actin Ae*Targot rosucon coun reached Ga ‘Tho, Machine B rrning (8101) Is tumed ON, and Machine Ai nto that Machno B isranring WW PLC_CC-Link_1E_Contraller sot a i -§ (4.2.4 | Machine B (station No.2) sequence program ) ‘The external signal details are shown below. xo Machine B eeror xt Machine B READY x2 Machine B independent start xa, Machine B production count 50 Machine B READY (instruction from Machine A) at Machine B operation start (instruction fem Machine A) 52 ‘Tota target production count reachad (signal from Machine A) sii Machine & programmable controler error ‘S820 Machine B network module status v0 Machine B READY vn Machine B operation start HPLC _CC-Link IE Controller Network NS i. = ‘ Example System's Operation Check ooo ‘his section explains the check procedure for normal network communication. Ce Checking the network module's LED indicators To find out the communication status, the network module LED indicators should be checked while the ‘CPU module is running. ‘When the network is operating normally, the network module LED indicators should appear as shown below. Station Not Station No 2 LED alspay details RUN ‘Shows the operation status. ON during normal communication MODE ‘Shows online, st, oF ofine. ON ring enin. oo peg estan ya, ON donee a contol staton, and Dunk ‘Shows the data lnk status. ON during eye transmission sD ‘Shows thal datas being sen RD ‘Shows thal data is being received ERR. ‘Shows that eroris cecuring, OFF while no evar is occuring ‘The check procedure for an error (ERR. Is ON) Is given In Section 4... A PLC_CC-Link_1E_Controller_Network_ ENG . st = (4.3.2 | Network system operation check ) coo ‘The operation of the example system is simulated on the next page. Please understand the following operation procedure before proceeding to the next page. (1) Click "READY ON(X0y" to make Machines A and B ready. (2) Click "Machine A operation start (X2)" to begin Machine A operation. The current production count value will be displayed at the production count panel. Click "Machine B operation start (X4)" to begin Machine B operation. The current production count value will be displayed at the production count panel. (3) The program operation can be checked by clicking each machine's "Ladder monitor” button. Click the button and check how data are exchanged between programmable controllers. To close the ladder monitor, click the "Monitor stop” button. (4) Operation is ended when the tolal production count of machines A and B reaches 120 pieces. (5) Click the “Initial status" button to return to the initial status (prior to operation star!) ‘achne B adder mont >C Monit sop Machine A operation start Machine B (normal station)! Cases > Go-Go Network MW PLC_CC-Link_1E_Contraller_Network_ENG oe = Cl Network system operation check ) ooo! Please run the simulation to visuelize the example system's operation, Production cont MectineAprocicion i OQ Q Machines prosucion TE OQ Q ara) Ready Machine A |p Start operation eal cof Machine A x2 Star oparation of Machine B & ke ae ee eS 2 WE PCOUnk 16 Conder Nett Network check procedure Check in the following order. CGheok ifthe CPU module's "RUN" LED is ON. 4 Check the network module's LED incicators. 4 Use GX Works2's diagnostics function Check Procedure When Network Fails To Operate This section explains the basic Diagnostics procedure for a network failure at startup. tan ettor coours (LED OFF), the GX Works2 "PLC Diagnostics" functon can bo Used to cheek the error del For details regarding LED indicators, lease refer to Section 44.1 Ploase chock atthe “CC IE Control Diagnostics* window shown in Section 442. WC cO-Unk 1 Cone Nets x oy Checking the network module's LED status I the network operates abnormally, the network module's LED indicators should be checked. GreaniampON | Normal operation RUN Lamp OFF Hardware error watchdog timer eror GreeniampON | Online mode Move | Gresniampainking | Testmode Lamp OFF fine mode Green lamp ON | Running as contro station PRM Lamp OFF Running as @ normal station GreeniampON | Data trim progress (eye Waremisson fy progress) DLINK [Green tampetnkng | Data ink in progress (ole wanemssion stopped) Lamp OFF To dala nk (isconnocted) Engpenas aplicn daa (capi far ra 1 SiRoreisasich Pame are Secsed he spaced evel + Gna ston Gupicai or staan No ication Red lamp ON 2 Sent abe oti Svat OUT RV ecanaain ERR * Gomusted nework parameter, ors centre ston ep norma Sato eating marnath fessrved son, ia uber ot Slatons natborc etc) TampOrF Normal sats GreeniampON | Data tanemission progress sp Lamp OFF No data tanemission GreeniampON | Data transmission n progress RO Lamp OFF No data ranemiasion “ngicates abnormal status. WE COUnk 16 cone [4.42 | Network diagnostics ) ooo This section explains the diagnostics procedure for an abnormal network operation. ‘The GX Works2's network diagnostics function can be used to check the communication status, The figure below shows available functions of the network diagnostics. At the GX Works2 menu, select "diagnostics" > "CC IE Control diagnostics" to open the window shown below. “The network conviguration ‘anc each stabon’s status ‘are monitored here, [A network communication test can be performed ‘rom here Network eror| ‘monitor reeuts and for logs can be ‘scquired ftom here. ‘A solocted station's (network module) status is monitored here, Sem Joma ceontv sin Be Jame niet ‘A selected station's CPU ‘module status can be ‘monitored trom hero. ‘otro Diagnostics win TEES. (CC IE Cantal Diagnostics wincow possible rom here, WW PLC_CC-Link_1E_Controller_Network_ENG oy =a Checking error codes used for system monitoring ) ooo ‘When an error is detected at a network module, the error code is saved in the link special register. To check the error code occurring at the target module on GX Works2, open the "System Monitor” window, then "Module's Detailed Information” window. Error Information Error and Solution Update Error History | contents: [CPU madule stop error Display Format © Hex * Check the error in "PLC diagnostic take corrective actions, programming tool, and © pec ‘The error history is sequentially displayed From ‘an old error. The latest error is displayed at the bottom ine, Mocule's Detailed Information window MW PLC_CC-Link_1E_Contraller_Network_ENG zz Checking error codes used for device batch monitor Error codes saved in link special registers can also be checked on a batch monitor. On GX Works2, select "Device/Butfer Memory Batch Monitor -1". In the example shown below, error code "22H" has been saved in the "SW64" link special register. This orror code indicates that own station's transmission path is disconnocted, Device © Device Name [We =] TIC Set Value Reference Program © Buffer Memory! =] He Display Format Modify Value. 2 32| 32) 64) asc| 10 Details. Open. Device gi L W@ PLC_CC-Link_1E_Controlier_Network_ ENG Checking error codes used for loop tests The following example shows an error canton in which the same station No. has been specified for both stations in a 2-station network. Because the status varies according to the specific sattings, please refer to the corresponding manual of the CC-Link IE Controller Network module for details. Please cick the [P>button to visualize how LED indicators appear withthe correct station setting, and withthe incorect stalin seting Control station LED display (with no station number duplication) ‘Sucesstuly completes! All the STNO. LEDs are OFF Control station LED display (with station numer dupicaton) Faliure detectoa! During loop test. the ST. NO. LED Inieatos tho staton where th error ie ‘ccurtng. In this example, the station number "2" is dupiotes. For detalls, please refer tothe manual. ad Pe Checking error codes used for loop tests Ifa loop test ends in an error, a CC IE Control diagnostics should be performed to determine the error ‘cause, then the appropriate corrective action indicated in the troubleshooting section should be taken. ‘After taking the corrective action, another loop test should be performed, ‘The CC IE Control Diagnostics window is shown below. Seetnk Seaine tee Set Imteynceeet se (CC IE Control clagnosties window (1) Select the faulty station (2) Click the error details button ([[MeausIETaN] , etc.) to open the "Error Details" dialog box, then take the appropriate corrective action indicated in the troubleshooting section. A PLC_CC-Link_1E_Controller_Network_ ENG . ‘ Using GX Works2 To Monitor Other Station Programs ooo ‘This section explains how to access another station via network. GX Works2 enables the user to access other stalions in network to transfer programs and perform monitoring, etc. ‘The procedure for accessing the Machine B programmable controller in the example system is given below. This procedure allows the CPU module status at a distant control panel to be viewed at a nearby control panel, etc., making it unnecessary to go to that distant control panel, Production count Machine A poacion TP O © Machine B peace TE Ce Machino A {control station) Machine 8 (oormnal station) (GC-Link IE Controller Netwerk Pe Operation procedure for monitoring other stations In order to access another station, "CC IE Cont NET/10(H)" must be selected as the Network Communication Route in the GX Works2’s Transfer Setup Connection window. The following procedure should be followed. (The procedure below assumes that no project has been made in GX Works2.) (PLC read menu selection ‘At the GX Works2 "Online" menu, select "Read om PLC" ¥ (2)Transfer setup connection [A the "Transfer Setup Connection’ window, specify the target programmable ake 1 ‘Ate "Read from PL" vindow., read the prograrn and parametors rom tho ()PLC reed target programmable controller. (Monitor Clk the "Monitor icon and monitor the program ofthe target programmable controler MW PLC_CC-Link_1E_Contraller_Network_ENG ae Settings for connecting to Machine B » ooo ‘The window below shows the settings required for a personal computer (GX Werks2) that is physically ‘connacted with Machine A (station No.1) to be connected with Machine B (station No.2) via network Network Communication Route Detailed Setting of CC IE Control NET/1O(H) eerie Notwok No (4)Double ck on [CC IE Cont NET/10¢H} to ‘open the Network Gommunication Route window. Entor"2" at "Staion No” Salona —= (6)A test canbe poriored here to verily the normal connection [a oe Aictipe[ ova Sytem tnae (2) Select [OC I Cont NET/IO(Hy. | ~ sean fo (©LClick [OK to roturn to the "Read from PLC™ window. cece cee Fe Chere | lak err, “Transfor Sotup Connection! window WB PLC_CC-Link IE Controller Network GT Summary In this chapter, you have learned: + Examples of sequence programs which use link devices. + Network system operation check procedure + Diagnostics procedure when network falls to operate + Using GX Works2 to monitor other station programs. Important points Data in ok spacial relays ad nk spacial cites can be Usod a inarock ITShvat signals are uso. tho "SET" and "RST" instructions should be used to ‘eed multi nerd dais n'a Sige poration, the "32-bit data assurance’ {he *staion-nnsed block deta function ean fe Used “The communication status can be checked with the network module LED indicators ‘The fi monitor of x Worke2 gan bo voed to very thatthe data ae narmally exthangad wa te ae Ifthe network is not operating normally, check the CPU module's LED indicators anaitie notork modulo LED dict dotals to Glagnows tne probe eons PLE agnostics, comm nication test abd test function's aro avalaboo to chock the iver datas To,monior otter stations, “Ole Stator souk! be selected on te Transfy, tka Ns Pars Mbsen NS a rosin targa stra shoal be sat PLC Co-Lrk TE Cora etre 6 == Final Test coc Now that you have completed all of the lessons of the PLC CC-Link IE Controller Network Course, you are ready to take the final test. If you are unclear on any of the topics covered, please take this opportunity to review those topics. There are a total of 12 questions (58 items) in this Final Test. You can take the final test as many times as you lke. How to score the test After selecting the answer, make sure to click the Answer button. Your answer will be lost if you proceed without clicking the Answer button. (Regarded as unanswered question.) Score results The number of correct answers, the number of questions, the percentage of correct answers, and the pass/fail result will appear on the score page. To pass the test, you have to ‘Tova Questions ‘answer 60% of the questions correct. Percentage Proceed Review Roly + Click the Proceed button to exit the test. * Click the Review button to review the test. (Correct answer check) + Click the Retry button to retake the test again. WW PLC_CC-Link_1E_Controller_Network_ ENG . | a Test al Test 1 goo [Forward | Station Not Station No.2 sequence program sequence program (1) Tho contact "XO" of station No.1 programmablo controllor is turnod on. (2) Tho col"B0" of (1 )prograntmable contol is tod on, (3) Tho ON signal status is transmitted fo the contact "BO" of (@2) programmable controller. E wool HCvw (4) The coil "YO" of station No.2 programmable controller is turned on. (6) Tho contact "X0" of station No.2 programmable controller is turned on. (6) "20" is saved in the registor “wtoo of ( Q3 ) programmable controller. (7)'20" is transmitted to the register "W100" of ( Q4 ) programmable controlar. ‘Stallon No.1 ‘station No.2 4 (8) The coil "YO" of station No.1 programmable controller is tured on. ai 7] Q2|_-Select- +) Q3__~Select-_|¥) @4|_-Select-_ WB PLC_CC-Link IE Controller Neo NS 5S Final Test 2 ‘Among CPU module link devices used in sequence programs, a bit device is calleda| Select |v) and represented by the symbol ~Selact-_|¥) ‘Among CPU module link devices used in sequence programs, a word device for 16-bit data is called a |__Select-_|¥| and represented by the symbol —Select-_|¥ By |__~Select-_| ¥) , the data in the CPU module's link devices (B/W) are exchanged with the bit devices |1}) and word devices (|_~Select-_| v]) of the nefwork module's link devices. MW PLC_CC-Link_1E_Contraller_Network_ENG uy Final Test 3 ‘Salion No.1 programmable Network parameter controle send range setting aa Link relay °° station No.1 ® send range, accede FF BFF 09 isco

You might also like