Manuel d'utilisation / d'entretien du produit C200H-LK401 du fabricant Omron
Aller à la page of 86
Cat.No. W135–E1–3 PC Link SYSMAC C200H-LK401/C500-LK009-V1 SYSTEM MANUAL.
PC Link System Manual Revised March 2000.
! ! ! v Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them.
T ABLE OF CONTENTS vii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii .
ix About this Manual: A PC Link System enables use of the LR (Link Relay) data area as a common data area shared by all PCs in the PC Link System, thus simplifying programming, settings, and data exchange between PCs and per- mitting effective use of inputs and outputs.
xi PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and related devices. The information contained in this section is important for the safe and reliable application of the PC. Y ou must r ead this section and understand the information contained before attempting to set up or operate a PC system.
! ! ! ! 3 Safety Precautions xii 1 Intended Audience This manual is intended for the following personnel, who must also have knowl- edge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing F A systems.
! ! ! ! ! 5 Application Precautions xiii 4 Operating Environment Precautions Caution Do not operate the control system in the following locations: • Locations subject to direct sunlight. • Locations subject to temperatures or humidity outside the range specified in the specifications.
5 Safety Precautions xiv • Always use the power supply voltages specified in this manual. An incorrect voltage may result in malfunction or burning. • T ake appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied.
1 SECTION 1 Intr oduction 1-1 PC Link Systems 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Operating Levels and Polling 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 1-1 PC Link Systems A PC Link System is established to interconnect two or more C-series PCs through PC Link Units to allow data transfer through the LR area of each PC. PC Link Subsystems can be established within the PC Link System, creating different levels of operation.
3 A maximum of two PC Link Units can be mounted to the same PC. If two PC Link Units are mounted to one PC anywhere in the System, the System is multilevel, and all Units must be set for a Multilevel System (see 4-2-2 Switch Settings ). In a Multilevel System, operating levels must be set to create PC Link Subsystems.
5 SECTION 2 System Design 2-1 System Configuration 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Using Link Adaptors 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 2-1 System Configuration PC Link Units are mounted to the PC Racks and connected to each other . Each PC Link Unit contains a buffer through which data is transferred to and from the other PC Link Units connected to it. The C500-LK009-V1 can be used with C500, C1000H, and C2000H PCs, but not with a C200H, C200HS, or C200HX/HG/HE(-Z) PC.
7 Note that a Link Adapter is not used in Subsystem 3. As explained above, it does not require any because it contains only two PCs. CPU Rack CPU Rack PC Link Unit PC Link Unit CPU Link Adapter PC Lin.
8 C-series PC Polled PC Link Unit C-series PC Polled PC Link Unit Polled PC Link Unit C-series PC Polling PC Link Unit Polled PC Link Unit C-series PC Polled PC Link Unit C-series PC Link Adaptor Link.
9 The 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 number of levels, the specific PCs employed, and the mode settings on the PC Link Units.
10 2-2 Using Link Adaptors In a PC Link System, Link Adapters are used whenever more than two PC Link Units are connected in any one PC Link Subsystem. They are also used to enable optical links between PC Link Units to provide greater transmission distance and greater noise resistance.
11 SECTION 3 Data Exchange and Operations 3-1 LR Area Data 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 LR Area Allocations 13 . . . . . . . . . . . . . . . . . . . . . .
12 3-1 LR Area Data PC Link Systems employ the LR area in the exchange of data. The content of the LR areas in all PCs in the same PC Link Subsystem (or Single-level System) is kept consistent.
13 3-2 LR Area Allocations T o 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 the System. Which and how many LR words are allocated to each PC are determined by switch settings, which are described in 4-2-2 Switch Settings .
14 are assigned the word shaded below them which they write and can be writ- ten by the other PCs. PC Link Unit 1 PC Link Unit 3 C2000H CPU Rack C500 CPU Rack C500 CPU Rack C200H CPU Rack PC Link Unit.
15 In the example below , the C2000H PC would be a transfer PC and could be used to transfer data between the two Subsystems, e.g., to write to LR word12 by the C200H PC in operating level 0 to LR word 32, one of its write words in operating level 1. Any PC in level 1 could then access this data directly from LR word 32 in its own LR area.
16 The following example combines a C2000H PC, fourteen C500 PCs, and fifteen C200H PCs in a Multilevel System with three Subsystems. Not all PCs are shown below; missing Units are indicated by dotted lines. The PC Link Unit farthest to the left in each Subsystem has been designated as the poll- ing unit.
17 LR 00 & LR 01 LR 14 & LR 15 LR 02 & LR 03 C500 PC Unit 7, level 1 Unit 0, level 0 LR 30 & LR 31 LR 32 & LR 33 LR 18 & LR 19 LR 00 & LR 01 LR 00 & LR 01 LR 02 & L.
18 30 and 31 Unit #15 32 and 33 Unit #16 Unit #8 Unit #4 Unit #2 Unit #1 34 and 35 Unit #17 36 and 37 Unit #18 Unit #9 38 and 39 Unit #19 40 and 41 Unit #20 Unit #10 Unit #5 42 and 43 Unit #21 44 and .
19 If 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 Units 5 to 8 5 to 8 3 or 4 2 LR Wd LR bits/Unit 32.
20 No. of PC Link Units 9 to 16 5 to 8 3 or 4 2 LR Wd LR bits/Unit 32 64 128 256 32 and 33 Unit #0 Unit #0 Unit #0 Unit #0 34 and 35 Unit #1 36 and 37 Unit #2 Unit #1 38 and 39 Unit #3 40 and 41 Unit .
21 3-4 Data Exchange System control in a PC Link System is decentralized; the polling unit merely handles communications among the PC Link Units. A link is established be- tween the polling unit and a polled unit when the polled unit confirms a sec- tion of the LR area allocated to it as a write area.
22 PC Link Units utilize data areas in the PCs for both communication and op- eration monitoring. These data areas are enumerated in the table below . C2000H, C1000H, C200H, C200HS, or C200HX/HG/HE(-Z.
23 SECTION 4 Unit Components and Switch Settings 4-1 C200H PC Link Units 24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1-1 Nomenclature, Switches, and Indicators 24 . . . . . . . . . . .
24 4-1 C200H PC Link Units 4-1-1 Nomenclature, Switches, and Indicators The basic names and functions of PC Link Unit components are given below . Display Indicates operational status. Switches 1 through 4 Used to set the PC Link Unit unit number , the Special I/O Unit unit number , and the number of LR bits in the Subsystem.
25 Connector Used to connect the PC Link Unit to the Rack. DIP switch (SW7) Adjusted to select Single/ Multilevel System, operating level, mode, and number of I/O refresh words. 4-1-2 Switch Settings Switch settings determine how the PC Link Units will work together and how the LR area will be allocated to data communications.
26 This 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 for each PC Link Unit.
27 The following table shows the number of scans of delay in communication produced by various numbers of refresh bits and LR bits. The delays given are for Single-level Systems. Delays in Multilevel Systems would be half of those shown below . No. of re- fresh bits No.
28 LR 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 Unit is set for double allocation, the RUN and Error Flags for both the assigned unit number and those for the next larger unit number will operate according to the status of the PC Link Unit.
29 LK009-V1 LK009-V1 Unit 0 Unit 2 Unit 4 Unit 6 Unit 1 Unit 3 Unit 5 Unit 7 Unit 0 This PC Link Unit Display Pattern A Display Pattern B Another PC Link Unit in System Display Patterns The LED ’ s indicate the following for either display pattern: LED status Meaning Lit The specified PC Link Unit is operating properly .
30 Each PC Link Unit must be given a unit number . This number will determine the LR words allocated to it. The Unit assigned number 0 is the polling unit. All other Units are polled units. Do not use the same unit number more than once in any one Subsystem.
31 The 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 the LR area for each PC Link Unit.
32 T o operate properly , the PC Link Unit at each end of the main line of each Subsystem must have the termination resistance switch turned ON, and all PC Link Units that branch off the main line must be turned OFF .
33 4-3 Switch Setting Example Switch settings for the following System are given below for level 0. The set- tings for all PC Link Units in level 1 would be the same, except for the level setting (pins 3 and 4 on the back-panel DIP switches). These are the normal settings, but not the only ones possible.
34 The transmission line selector is set to the bottom position (no optical links). The DIP switches are set as follows: Front-panel DIP Switch ON 12345678 Setting not necessary Unit 1 SW1 Back-panel .
35 Switch 3 is set to any number not used by another Special I/O Unit. Switch 4 does not need to be set. Switch 5 is set to the right to designate no optical links in the System. Switch 6, the termination resistance, is turned ON (to the left). The other switches are set as shown below .
36 Back-panel DIP Switch ON 1234 SW3 Multilevel System, level 1 Display pattern A T ermination resistance OFF The transmission line selector is set to the bottom position (no optical links).
37 SECTION 5 System Installation 5-1 Mounting and Connections 38 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1-1 Mounting Location 38 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38 5-1 Mounting and Connections 5-1-1 Mounting Location The PC Link Unit may be mounted to any of the slots on the C2000H CPU Rack. The PC Link Unit may be mounted to any of the six slots on the Power Sup- ply side (right side) of the I/O Rack connected to the CPU Rack.
39 Pin connections for Systems not using optical links are shown below . T wist DB and DA together . The shield wire is connected only at one end of each cable to prevent current flow .
40 Pin connections for Systems using optical links are shown below . T wist SDB with SDA; RDA with RDB. The shield wire is connected only at one end of each cable to prevent current flow .
41 Use the following procedure to wire connectors. Refer to the following diagrams as necessary . 1. Cut the cable to the required length. 2. Being careful not to damage the braiding underneath, use a razor blade to cut away 25 mm of sheath. 3. Using scissors, cut away all but 10 mm of the exposed shield wire braid- ing.
42 Observe the following when soldering wires onto the connector . 1. Place heat-shrinking tubes onto all wires far enough from the end so as to not interfere with soldering. 2. Presolder all wires and connector terminals. 3. Solder all wires, inserting 4 mm of the exposed 5 mm of wire into the connector terminal.
43 C500-LK401 130 35 1 17* 100 Approx. 160** Backplane *PC Link Unit and Base **Including RS-485 Connector Dimensions Section 5-2.
45 SECTION 6 Pr ogramming Considerations 6-1 Response T imes 46 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2 Reducing Response T ime (C200H, C200HS, C200HX/HG/HE(-Z)) 51 . . . .
46 6-1 Response T imes The processing that determines and the methods for calculating maximum and minimum response times from input to output are provided in this sub- section. The following System and I/O program steps will be used in all ex- amples below .
47 The equation for minimum I/O response time is thus as follows: Response time = input ON delay + scan time of PC of Unit 0 + minimum transmission time + scan time of PC of Unit 7 + output ON delay Inserting the following values into this equation produces a minimum I/O re- sponse time of 99 ms.
48 The 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 Link polling time x 2 + induction sequence processing time) + (scan .
49 PC Link polling time: 30 ms Induction sequence processing time: 120 ms In a Multilevel PC Link System, the time required for the output may be delayed one more scan at both Unit 0 and Unit 7.
50 The following diagram illustrates the data flow that will produce the maximum response time. Delays occur because signals or data is received just after they would be processed or because data is sent during processing. In either case, processing must wait until the next scan/polling cycle.
51 6-2 Reducing Response T ime (C200H, C200HS, C200HX/HG/HE(-Z)) IORF(97) can be used in programming to shorten the I/O response time greater than is possible by setting a high number of refresh bits. (Remember , increasing the number of refresh bits set on the back-panel LED shortens response time, but increases the scan time of the PC.
52 6-3 Programming Examples This example explains the programming required to start the entire Control System shown below only after all “ preparation-completed flags ” are turned ON for both Subsystems. Using the following programming, any PC that is not in RUN mode will be ignored and operations will continue for the other PCs.
53 LR Area Allocations Unit 0 LR 00 & LR 01 Unit 1 LR 02 & LR 03 Unit 2 LR 04 & LR 05 Unit 3 LR 06 & LR 07 Unit 4 LR 08 & LR 09 Unit 5 LR 10 & LR 1 1 Unit 6 LR 12 & LR 13 U.
54 Unit 1, Level 0 Unit 1 operations started Preparations completed flag LR 0000 LR 0201 Unit 1, Level 1 Unit 1 operations started Preparations completed flag LR 1600 LR 1801 Unit 7, Level 0 Unit 7 op.
55 This example is for a System with three Subsystems consisting of a C1000H PC, a C2000H PC, thirteen C500 PCs, and a C200H PC as shown below . Programming on the following pages shows the necessary steps for transfer- ring data through the transfer PCs.
56 Using the above System, the following programming, which is started by turning ON input 0000 in PC (D), will move the contents of DM 0100 from PC (C) to DM 0000 in PC (D). In the table below , the process starts at the right when PC (D) sends a ST ART signal is sent to PC (B).
57 Using the above System, the following programming, which is started by start input 0000 in PC (A), will compare the contents of DM 0200 in PCs (C) and (D) and output an alarm signal if the contents differ .
59 SECTION 7 Err or Pr ocessing The PC Link Units provide various means of monitoring systems operation and resolving errors when they occur . These include LED indications, PC RUN and Error Flags, and, for C200H, C200HS, and C200HX/HG/HE(-Z) systems, Special I/O Unit Error Flags and Restart Bits.
60 7-1 SR Area Flags PC RUN Flags can be read to determine the operational status of each PC to which a PC Link Unit is mounted. All PCs are operational when their PC RUN Flag is ON. If there is a transfer error or a power failure for any PC Link Unit, the Error Flag for that Unit will turn ON, and an error message will be sent.
61 Because the C200H-LK401 is treated as a Special I/O Unit, Special I/O Unit Restart Bits and Error Flags are effective for it. An Error Flag turns ON when the same Special I/O Unit unit number is as.
62 7-2 Error Examples Error conditions are indicated by the LEDs as described below . Some errors in switch settings (e.g., setting the same unit number for more than on PC Link Unit) will not result in an error display , but will cause LR area data to be in error .
63 This example will describe error indications on all PC Link Units using the following System configuration. T ransmission line breaks will be described at two different points, A and B. Unit 3 has been set for double allocation, and thus is allocated the LR bits and flags from both Unit 3 and Unit 4.
64 Because Unit 0 receives no response from Unit 1 only , it indicates an error for it, and normal conditions for Units 2 and 3. Since Unit 1 receives no poll- ing signal from Unit 0, it indicates an error for Unit 0. Units 2, 3, and 5 receive signals from each other and indicate normal conditions other than an error for Unit 1.
65 Units 3 and 5 (C200H PC) 1 1 0 0 1111 0 0 0 0 0010 Bit 15 Bit 0 Word 250 Error Flags OFF for Units 2 and 5. Error Flag OFF for Unit 0. PCs operative for all Units. Error Flag ON for Unit 1. Allocated to Unit 3. The C200H could be replaced by the C200HS and C200HX/HG/HE(-Z) with- out any changes in this example.
66 C200H, C200HS, and C200HX/HG/HE(-Z) PCs Error Condition Unit #0 PC CPU error Unit #0 Special I/O Unit error Unit #1 cable problem (missing or broken) Unit #0 cable problem (missing or broken) Unit .
67 Because 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 status Correction W aiting for Special I/O Unit start-up. Special I/O Unit has a hardware mal- function.
69 SECTION 8 Inspection and Maintenance.
70 PC Link Units should be inspected regularly at the same time as the PCs to which they are attached. The following three areas should be given special attention.
71 Appendix A Standard Models This chart shows the standard models of the products that are available for use with PC Link Units. Product Specifications Model number PC Link Unit For use with C500, C500F , C1000H, C2000, and C500-LK009-V1 C2000H PCs. Multilevel System possible.
Standard Models Appendix A 72 Plastic-clad Optical Fiber Cable Model numbers with the suffix -P can be connected to up to 200 m of PCF cable. Product Description Model number Optical fiber cable (indoor) .
73 Appendix B Specifications Item Specification Communication method 2-conductor , half duplex or 4-conductor , half duplex (if optical links are included.) Sync HDLC T ransmission speed 128 kbps T ransmission method Broad scanning T ransmission distance 500 m (total cable length in System without optical links, including branch lines) Possible no.
75 Glossary A base to which Units are mounted to form a Rack. Backplanes provide a series of connectors for these Units along with wiring to connect them to the CPU.
Glossary 76 An 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 Link System. A automation concept in which control of each portion of an automated sys- tem is located near the devices actually being control, i.
Glossary 77 A slot on either a CPU or Expansion I/O Backplane to which a Link Unit can be mounted. Backplanes differ in the slots to which Link Units can be mounted. A system that includes one or more of the following systems: Remote I/O System, PC Link System, Host Link System, or Net Link System.
Glossary 78 A method in which one element in a system monitors changes in the con- tents of certain data words to maintain accurate records of the contents. In a PC Link System, polling is performed by the polling unit to maintain common data areas among PCs.
Glossary 79 A PC that belongs to two PC Link Subsystems (i.e., has two PC Link Units mounted to it). A transfer PC can be used to transfer data between the two PC Link Subsystems to which it belongs. The distance that a signal can be transmitted. In OMRON PC terminology , the word Unit is capitalized to indicate any prod- uct sold for a PC System.
81 Index Numbers 3G2A5–LK009–E, 2 A-B application examples, 51 applications, precautions, xiii Branching Link Adapter, PC Link System, 10 C C500–LK003–E PC Link Unit, 2 cable connections proce.
Index 82 operating level, setting LK009, 32 LK401, 26 operating levels, 3 operation, 17 optical fiber cable, PC Link System, 10 optical links, 7, 10 P PC Link Subsystem, 6 PC Link System diagram Link .
83 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W135-E1-3 Revision code The following table outlines the changes made to the manual during each revision. Page references are to the previous version of the manual.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Omron C200H-LK401 c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Omron C200H-LK401 - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Omron C200H-LK401, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Omron C200H-LK401 va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Omron C200H-LK401, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Omron C200H-LK401.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Omron C200H-LK401. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Omron C200H-LK401 ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.