Cat.No. W135–E1–3PC LinkSYSMACC200H-LK401/C500-LK009-V1SYSTEM MANUAL
1SECTION 1Introduction1-1 PC Link Systems 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21-1 PC Link SystemsA PC Link System is established to interconnect two or more C-series PCsthrough PC Link Units to allow data transfer through the L
3A maximum of two PC Link Units can be mounted to the same PC. If two PCLink Units are mounted to one PC anywhere in the System, the System ismultilev
5SECTION 2System Design2-1 System Configuration 6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62-1 System ConfigurationPC Link Units are mounted to the PC Racks and connected to each other.Each PC Link Unit contains a buffer through which data
7Note that a Link Adapter is not used in Subsystem 3. As explained above, itdoes not require any because it contains only two PCs.CPU RackCPU RackPC L
8C-series PCPolled PCLink UnitC-series PCPolled PCLink UnitPolled PCLink UnitC-series PCPolling PCLink UnitPolled PCLink UnitC-series PCPolled PCLink
9The maximum number of PCs that may be used in a PC Link System is lim-ited by the number of LR words available. This is determined by the numberof le
102-2 Using Link AdaptorsIn a PC Link System, Link Adapters are used whenever more than two PCLink Units are connected in any one PC Link Subsystem. T
11SECTION 3Data Exchange and Operations3-1 LR Area Data 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PC LinkSystem ManualRevised March 2000
123-1 LR Area DataPC Link Systems employ the LR area in the exchange of data. The contentof the LR areas in all PCs in the same PC Link Subsystem (or
133-2 LR Area AllocationsTo enable data transfer between PCs in an PC Link System, part of the LR area is allocated as the write area for each PC in t
14are assigned the word shaded below them which they write and can be writ-ten by the other PCs.PC Link Unit 1PC Link Unit 3C2000H CPU RackC500 CPU Ra
15In the example below, the C2000H PC would be a transfer PC and could be usedto transfer data between the two Subsystems, e.g., to write to LR word12
16The following example combines a C2000H PC, fourteen C500 PCs, andfifteen C200H PCs in a Multilevel System with three Subsystems. Not all PCsare sho
17LR 00 & LR 01LR 14 & LR 15LR 02 & LR 03C500 PC Unit 7, level 1Unit 0, level 0LR 30 & LR 31LR 32 & LR 33LR 18 & LR 19LR 00 &a
1830 and 31 Unit #1532 and 33 Unit #16 Unit #8 Unit #4 Unit #2 Unit #134 and 35 Unit #1736 and 37 Unit #18 Unit #938 and 39 Unit #1940 and 41 Unit #20
19If the LK003-E is used or LK-009-E(-V1) is used in LK003 mode, the right-most three columns of the following table can be applied.No. of PC Link Uni
20No. of PC Link Units 9 to 16 5 to 8 3 or 42LR Wd LR bits/Unit 32 64 128 25632 and 33 Unit #0 Unit #0 Unit #0 Unit #034 and 35 Unit #136 and
213-4 Data ExchangeSystem control in a PC Link System is decentralized; the polling unit merelyhandles communications among the PC Link Units. A link
!!!vNotice:OMRON products are manufactured for use according to proper procedures by a qualified operatorand only for the purposes described in this m
22PC Link Units utilize data areas in the PCs for both communication and op-eration monitoring. These data areas are enumerated in the table below.C20
23SECTION 4Unit Components and Switch Settings4-1 C200H PC Link Units 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
244-1 C200H PC Link Units4-1-1 Nomenclature, Switches, and IndicatorsThe basic names and functions of PC Link Unit components are given below.Display
25ConnectorUsed to connect the PCLink Unit to the Rack.DIP switch (SW7)Adjusted to select Single/Multilevel System, operatinglevel, mode, and number o
26This setting is necessary only on the polling unit (Unit 0). This setting deter-mines the number of LR bits that will be transferred via the LR area
27The following table shows the number of scans of delay in communicationproduced by various numbers of refresh bits and LR bits. The delays givenare
28LR area data will not be accurate if the next larger unit number is set on an-other PC Link Unit and no error indication will be made.When a PC Link
29LK009-V1LK009-V1Unit 0Unit 2Unit 4Unit 6Unit 1Unit 3Unit 5Unit 7Unit 0This PC Link UnitDisplay Pattern A Display Pattern BAnother PC LinkUnit in Sys
30Each PC Link Unit must be given a unit number. This number will determinethe LR words allocated to it. The Unit assigned number 0 is the polling uni
31The following setting is necessary only on the polling unit (Unit 0). This set-ting determines the number of LR bits that will be transferred via th
TABLE OF CONTENTSviiPRECAUTIONS xi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii. . . . . . . . . . . . . .
32To operate properly, the PC Link Unit at each end of the main line of eachSubsystem must have the termination resistance switch turned ON, and allPC
334-3 Switch Setting ExampleSwitch settings for the following System are given below for level 0. The set-tings for all PC Link Units in level 1 would
34The transmission line selector is set to the bottom position (no optical links).The DIP switches are set as follows:Front-panel DIP SwitchON12345678
35Switch 3 is set to any number not used by another Special I/O Unit. Switch 4does not need to be set. Switch 5 is set to the right to designate no op
36Back-panel DIP SwitchON1234SW3Multilevel System, level 1Display pattern ATermination resistance OFFThe transmission line selector is set to the bott
37SECTION 5System Installation5-1 Mounting and Connections 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
385-1 Mounting and Connections5-1-1 Mounting LocationThe PC Link Unit may be mounted to any of the slots on the C2000H CPURack.The PC Link Unit may be
39Pin connections for Systems not using optical links are shown below. TwistDB and DA together. The shield wire is connected only at one end of eachca
40Pin connections for Systems using optical links are shown below. Twist SDBwith SDA; RDA with RDB. The shield wire is connected only at one end ofeac
41Use the following procedure to wire connectors.Refer to the following diagrams as necessary.1. Cut the cable to the required length.2. Being careful
ixAbout this Manual:A PC Link System enables use of the LR (Link Relay) data area as a common data area shared by all PCsin the PC Link System, thus s
42Observe the following when soldering wires onto the connector.1. Place heat-shrinking tubes onto all wires far enough from the end so asto not inter
43C500-LK40113035117*100Approx. 160**Backplane *PC Link Unit and Base**Including RS-485 ConnectorDimensions Section 5-2
45SECTION 6Programming Considerations6-1 Response Times 46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
466-1 Response TimesThe processing that determines and the methods for calculating maximumand minimum response times from input to output are provided
47The equation for minimum I/O response time is thus as follows:Response time = input ON delay + scan time of PC of Unit 0 + minimumtransmission time
48The equation for maximum I/O response time is as follows:Response time = input ON delay + (scan time of PC of Unit 0 x 3) + (PC Linkpolling time x 2
49PC Link polling time: 30 msInduction sequence processing time: 120 msIn a Multilevel PC Link System, the time required for the output may bedelayed
50The following diagram illustrates the data flow that will produce the maximumresponse time. Delays occur because signals or data is received just af
516-2 Reducing Response Time (C200H, C200HS,C200HX/HG/HE(-Z))IORF(97) can be used in programming to shorten the I/O response timegreater than is possi
526-3 Programming Examples This example explains the programming required to start the entire ControlSystem shown below only after all “preparation-co
xiPRECAUTIONSThis section provides general precautions for using the Programmable Controller (PC) and related devices.The information contained in thi
53LR Area AllocationsUnit 0 LR 00 & LR 01Unit 1 LR 02 & LR 03Unit 2 LR 04 & LR 05Unit 3 LR 06 & LR 07Unit 4 LR 08 & LR 09Unit 5 LR
54Unit 1, Level 0Unit 1 operationsstartedPreparations completed flagLR 0000LR 0201Unit 1, Level 1Unit 1 operationsstartedPreparations completed flagLR
55This example is for a System with three Subsystems consisting of a C1000HPC, a C2000H PC, thirteen C500 PCs, and a C200H PC as shown below.Programmi
56Using the above System, the following programming, which is started byturning ON input 0000 in PC (D), will move the contents of DM 0100 from PC(C)
57Using the above System, the following programming, which is started by startinput 0000 in PC (A), will compare the contents of DM 0200 in PCs (C) an
59SECTION 7Error ProcessingThe PC Link Units provide various means of monitoring systems operation and resolving errors when they occur. Theseinclude
607-1 SR Area FlagsPC RUN Flags can be read to determine the operational status of each PC towhich a PC Link Unit is mounted. All PCs are operational
61Because the C200H-LK401 is treated as a Special I/O Unit, Special I/O UnitRestart Bits and Error Flags are effective for it. An Error Flag turns ON
627-2 Error ExamplesError conditions are indicated by the LEDs as described below.Some errors in switch settings (e.g., setting the same unit number f
63This example will describe error indications on all PC Link Units using thefollowing System configuration. Transmission line breaks will be describe
!!!!3Safety Precautionsxii1 Intended AudienceThis manual is intended for the following personnel, who must also have knowl-edge of electrical systems
64Because Unit 0 receives no response from Unit 1 only, it indicates an errorfor it, and normal conditions for Units 2 and 3. Since Unit 1 receives no
65Units 3 and 5 (C200H PC)1100 11110000 0010Bit 15 Bit 0Word 250Error Flags OFFfor Units 2 and 5.Error Flag OFFfor Unit 0.PCs operativefor all Units.E
66C200H, C200HS, and C200HX/HG/HE(-Z) PCsErrorConditionUnit #0 PCCPU errorUnit #0Special I/O UniterrorUnit #1cableproblem(missingor broken)Unit #0cabl
67Because the C200H-LK401 is treated as a Special I/O Unit, the following er-rors, Error Flags, and Restart Bits are used with it.Error Causes and sta
69SECTION 8Inspection and Maintenance
70PC Link Units should be inspected regularly at the same time as the PCs towhich they are attached. The following three areas should be given special
71Appendix AStandard ModelsThis chart shows the standard models of the products that are available for use with PC Link Units.Product Specifications M
Standard Models Appendix A72Plastic-clad Optical Fiber CableModel numbers with the suffix -P can be connected to up to 200 m of PCF cable.Product Desc
73Appendix BSpecificationsItem SpecificationCommunication method 2-conductor, half duplex or 4-conductor, half duplex (if optical links are included.)
75GlossaryA base to which Units are mounted to form a Rack. Backplanes provide aseries of connectors for these Units along with wiring to connect them
!!!!!5Application Precautionsxiii4 Operating Environment PrecautionsCaution Do not operate the control system in the following locations:• Locations s
Glossary76An area in the PC’s memory that is designed to hold a specific type of data,e.g., the LR area is designed for to hold common data in a PC Li
Glossary77A slot on either a CPU or Expansion I/O Backplane to which a Link Unit canbe mounted. Backplanes differ in the slots to which Link Units can
Glossary78A method in which one element in a system monitors changes in the con-tents of certain data words to maintain accurate records of the conten
Glossary79A PC that belongs to two PC Link Subsystems (i.e., has two PC Link Unitsmounted to it). A transfer PC can be used to transfer data between t
81IndexNumbers3G2A5–LK009–E, 2A-Bapplication examples, 51applications, precautions, xiiiBranching Link Adapter, PC Link System, 10CC500–LK003–E PC Lin
Index82operating level, settingLK009, 32LK401, 26operating levels, 3operation, 17optical fiber cable, PC Link System, 10optical links, 7, 10PPC Link S
83Revision HistoryA manual revision code appears as a suffix to the catalog number on the front cover of the manual.Cat. No. W135-E1-3Revision codeThe
5Safety Precautionsxiv• Always use the power supply voltages specified in this manual. An incorrectvoltage may result in malfunction or burning.• Take
Commenti su questo manuale