Page 2
CS1W-CLK23 CS1W-CLK21-V1 CJ1W-CLK23 CJ1W-CLK21-V1 C200HW-CLK21 CVM1-CLK21 CQM1H-CLK21 (CS1W-RPT01/02/03 Repeater Units) Controller Link Units Operation Manual Revised May 2008...
Page 4
OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
Page 5
CONTROLLER LINK UNIT Unit version 1.2 Lot No. 040901 0000 Ver.1.2 OMRON Corporation MADE IN JAPAN Confirming Unit Versions with Support Software CX-Programmer version 5.0 or higher can be used to confirm the unit version in the Unit Manufacturing Information.
Page 6
Using the Unit Version Labels Unit version labels are provided with the product. These labels can be attached to the front of previous Controller Link Units to differentiate between Controller Link Units of different unit versions. Unit Version Notation The unit versions are indicated in this manual as follows: Notation in product nameplate Notation in this manual Remarks...
Page 7
Checking the CX-Integrator Data Link Setting Tool Version 1. Start the CX-Integrator and select Tool - Start Data Link. 2. In the Select Network Dialog Box, select 1 Controller Link and click the OK Button. 3. The Data Link Table Setting Tool (Data Link Component) will start. Select Help - About Datalink Component..
Page 8
4. The Version Dialog Box will be displayed. Check the Data Link Component version number. If CX-One version 2.0 or later Support Software is being used with an older version of the Data Link Component, use the CX-One automatic update function to upgrade to the latest version.
Page 10
TABLE OF CONTENTS PRECAUTIONS ........Intended Audience ............xxii General Precautions .
Page 12
TABLE OF CONTENTS Index ..........367 Revision History .
Page 14
About this Manual: This manual describes the installation, setup, and operation of the CS1W-CLK23, CS1W-CLK21-V1, CJ1W-CLK23, CJ1W-CLK21-V1, C200HW-CLK21,CVM1-CLK21, and CQM1H-CLK21 Controller Link Units for C200HX/HG/HE, CS/CJ-series, CVM1, CQM1H-series, and CV-series PLCs, and includes the sections described below. The Controller Link Units are used to connect these PLCs to a Control- ler Link Network.
Page 15
Unit and changing data link tables while the data links are active. Appendix A provides a list of standard OMRON products related to Controller Link Networks. Appendix B provides easy reference to the words in PLC memory areas used by Controller Link Net- works.
Page 16
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted. IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS...
Page 17
Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products. At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products.
Page 18
Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
PRECAUTIONS This section provides general precautions for using the Controller Link Unit and related devices. The information contained in this section is important for the safe and reliable application of the Controller Link Unit. You must read this section and understand the information contained before attempting to set up or operate a Controller Link Unit.
It is extremely important that a PLC and all PLC Units be used for the speci- fied purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC System to the above mentioned appli- cations.
Operating Environment Precautions • The PLC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system. •...
Applications Precautions Applications Precautions Observe the following precautions when using the Controller Link Unit. !WARNING Failure to abide by the following precautions could lead to serious or possibly fatal injury. Always heed these precautions. • Always ground the system to 100 Ω or less when installing the system to protect against electrical shock.
Page 24
Applications Precautions • Double-check all wiring and switch settings before turning ON the power supply. Incorrect wiring may result in burning. • Wire all connections correctly. • Mount Units only after checking terminal blocks completely. • Be sure that the Bus Connection Units and other items with locking devices are properly locked into place.
Page 25
EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards (see the following note).
Page 26
SECTION 1 Features and System Configuration This section provides basic information on Controller Link Networks, and will give the reader an overview of what Controller Link Networks can do and how best to use them. Overview ........... . . 1-1-1 What Is the Controller Link? .
What Is the Controller Link? The Controller Link is an FA network that can send and receive large data packets flexibly and easily among the OMRON C200HX/HG/HE Programma- ble Controllers (PLCs), CS-series PLCs, CJ-series PLCs, CVM1 PLCs, CV- series PLCs, CQM1H-series PLCs, and IBM PC/AT or compatible computers.
Page 28
Section 1-1 Overview Connecting Repeater Units Using Twisted-pair Cable (Wired Units) T-Branch Wiring Wired Controller Link Unit Wired Controller Link Unit CS1W-RPT01 Repeater Units Twisted-pair cable Twisted-pair cable Long-distance Wiring Wired Controller Link Unit Twisted-pair cable CS1W-RPT01 Repeater Units 500 m max. (See note.) Twisted-pair cable...
Page 29
Overview Section 1-1 Maximum 62-node Configuration Wired Controller Link Unit CS1W-RPT01 Twisted-pair cable Repeater Unit 31 nodes max. Wired Controller Link Unit Twisted-pair cable 31 nodes max. The following Controller Link Units/Support Boards must be used to construct a network with more than 32 nodes: CS1W-CLK23 CS1W-CLK21-V1 CJ1W-CLK23...
Page 30
Section 1-1 Overview Token Bus Mode Personal computer CVM1-CLK12 CS1W-CLK12-V1 CS1W-CLK11 PC/AT or Controller Link Unit Controller Link Unit Controller Link Unit Personal computer compatible (token bus mode) (token bus mode) CVM1/CV-series CS-series PLC CS-series PLC H-PCF Optical 3G8F5-CLK11 3G8F7-CLK12-V1 fiber cable Controller Link Controller Link...
Page 31
Section 1-1 Overview Data Links Data links allow the constant sharing of data in predetermined data areas between nodes, between PLCs, or between a PLC and an IBM PC/AT or com- patible computer on the network. Data links do not require the use of commu- nications programs on the PLC (CPU Unit) or IBM PC/AT or compatible computer.
Page 32
CMND The CMND instruction issues a command to read or write data of other nodes, control, or read error logs. With the Controller LInk Unit, OMRON’s command protocol called “FINS commands” is used. Note Since the C200HX/HG/HE PLCs do not support the CMND instructions, arbi- trary commands cannot be issued.
Section 1-1 Overview 1-1-2 Features The Controller Link Network has the following features to meet the various requirements of FA sites. Data Links Flexible and efficient data links can be created for large capacities of data as listed below. Item Specifications Number of send words CS1W-CLK23, CJ1W-CLK23, and 3G8F7-CLK23-E: 4,000 words max.
Page 34
Section 1-1 Overview Compatible with Different Node Configurations The following Controller Link Units are available for communications between different models. It must be noted, however, that the wired system and optical system cannot exist in one Controller Link Network. Wired System •...
Page 35
Section 1-1 Overview • If Repeater Units are installed at likely future branch points in the network in advance, new nodes can be added by simply connecting them to these Repeater Units. The total length of wired networks can be extended. At a baud rate of 2 Mbps, conventional wired networks can be up to 500 m long.
Page 36
Overview Section 1-1 Method Allocation addresses and sizes are all specified using the Automatic Data Link Creation Parameters (D30000 × Unit No. + 12 to 20) in the DM Parameter Area. These values can be set using the CX-Net in the CX-Programmer ver- sion 3.2 or higher.
Specifications and Configurations Section 1-2 When configuring a system using data links in which the number of send words per node exceeds 1,000 words, all Controller Link Units and Support Boards must be the CS1W-CLK23, CJ1W-CLK23 or 3G8F7-CLK23-E. When using other Controller Link Units together in the same network, use a maximum of 1,000 send words per node.
Page 38
Section 1-2 Specifications and Configurations Long-distance Wiring Wired Controller Link Unit Twisted-pair cable CS1W-RPT01 Repeater Units 500 m max. (See note.) Twisted-pair cable Wired Controller Link Unit 500 m max. (See note.) Twisted-pair cable 500 m max. (See note.) Note: At 2 Mbit/s Converting Part of the Transmission Line to Optical Fiber Wired Controller Link Unit Wired Controller Link Unit...
Specifications and Configurations Section 1-2 CS1W-CLK23 CS1W-CLK21-V1 CJ1W-CLK23 CJ1W-CLK21-V1 3G8F7-CLK23-E 3G8F7-CLK21-E-V1 1. The network will not operate correctly unless all nodes within the network use the above Units/Boards. 2. Only node addresses 1 through 32 can be used on networks for which 62 nodes have not been enabled.
Section 1-2 Specifications and Configurations 1-2-3 Communications Specifications Wired System Items Specifications Communications method N:N token bus Code Manchester code Modulation Baseband code Synchronization Flag synchronization (conforms to HDLC frames) Transmission path form Multi-drop bus Baud rate and maximum The maximum transmission distance varies with the baud rate as follows: transmission distance 2 Mbps: 500 m...
Page 41
Section 1-2 Specifications and Configurations CS1W-CLK21-V1, CS1W-CLK23, CJ1W-CLK21-V1, CJ1W-CLK23, 3G8F7-CLK21-V1, and 3G8F7-CLK23-E 2. Using 62,000 data link words is possible with a configuration containing 62 nodes. Communications Specifications when Using the CS1W-RPT01 Repeater Unit in a Wired Network Item Within 1 segment Entire network (See note 1.) Transmission path form...
Page 42
Specifications and Configurations Section 1-2 Specifications of Optical Fiber Cables Used with Wire-to-Optical Connections Item H-PCF type GI type H-PCF 200/230 µm two- GI 50/125 µm two-core cable Optical fiber cable or GI 62.5/125 µm two-core core cable cable 50/125 µm: 1 km Maximum transmission Adhesion-polished: 1 km 62.5/125 µm: 2 km...
Section 1-2 Specifications and Configurations 1-2-4 Controller Link Unit Models and PLCs Wired System There are five Controller Link Units: One for CVM1 and CV-series PLCs, one each for CS-series and CJ-series PLCs, one for the C200HX/HG/HE PLC, and one for CQM1H-series PLCs. Item Specifications Model...
Page 44
Section 1-2 Specifications and Configurations Item Specifications Model CVM1-CLK21 CQM1H-CLK21 External appearance Installation None required. None required. devices CVM1 and CV-series PLCs CQM1H-CPU51/61 Max No. of 4 maximum 1 maximum Units per PLC Power Supply Unit CPU Backplane Unit 3/5/10 slots Of these 14, 16, or 21 slots, Connect...
Page 45
Section 1-2 Specifications and Configurations Functions Supported by CS/CJ-series Controller Link Units Model CS1W-CLK23 CS1W-CLK21-V1 CJ1W-CLK23 CJ1W-CLK21-V1 Item Ver. 1.2 Pre-Ver. 1.2 Maximum number of send/receive data link 20,000 words max. 12,000 words max. words (data link areas for sending/receiving that are created for a single node in a single CPU Unit) Number of send words per node (total of area...
Specifications and Configurations Section 1-2 1-2-5 Devices for Connection To set up a Controller Link Network, the following devices are needed in addi- tion to a Controller Link Unit and a PLC. Communications Cables The following shielded twisted-pair cables are recommended for Wired Con- troller Link Network connections.
Page 47
1. Repeater Units do not use a node address. 2. See Connection Procedure for an explanation of how Repeater Units are used. 3. The following Power Supply Unit is recommended: OMRON S82K Series Relay Terminal Blocks The following Relay Terminal Block can be used to make maintenance easier by facilitating replacement of the Controller Link Unit after system operation has begun.
Section 1-2 Specifications and Configurations Note Normally, the communications cable must be disconnected from a Wired Con- troller Link Unit to replace it. Doing this, however, will interrupt communica- tions on the network, requiring that all node be turned OFF to ensure safety before replacing a Unit.
Page 49
Specifications and Configurations Section 1-2 2. Use the CX-Integrator Data Link Setting Tool version 3.2.1.1 or later to set data link tables with more than 1,000 send words per node. For information on checking the version number, refer to Checking the CX- Integrator Data Link Setting Tool Version on page viii.
Page 50
Section 1-2 Specifications and Configurations Using a Computer Node A computer that is a node on the Network can also be used to control the Controller Link Network. IBM PC/AT or compatible Controller Link Support Software Controller Link Support Board Setting data link tables Software External...
Page 51
Section 1-2 Specifications and Configurations Controller Link Support Software Menu Overview • Edit table • Save table • Print table Menu items: Data Link • Copy table • Retrieve table • Start/Stop Set Network parameters • Initialize table • Transfer table •...
Selection of Communications Functions Section 1-3 When Operating on Personal Computer as Peripheral Software Controller Nodes Link Unit CX-Net in IBM PC/AT or CX-Programmer compatible CPU Unit RS-232C Transmissions Setting data link tables When Operating on Personal Computer Connected as a Node IBM PC/AT or compatible CX-Net in CX-Programmer...
Page 53
Section 1-4 Basic Procedures • Connect the communications cables. 2. Set the node address on the front rotary switches. • 01 to 32 3. Set the baud rate and operating level on the front DIP switch. • 2 M, 1 M, or 500 Kbps •...
Section 1-5 Application Precautions Manually Setting Data Links 1,2,3... 1. Register data link tables for all nodes using the Controller Link Support Software or CX-Programmer. 2. Start the data links either using the Controller Link Support Software, CX- Programmer, or by turning ON the Start Bit from the Programming Device. Automatically Setting Data Links 1,2,3...
Page 55
Section 1-5 Application Precautions • Set routing tables at all the nodes in all the networks when multiple net- works are connected. Controller Link Network 1 Controller Link Network 2 CVM1 or C200HX/HG/HE PLC CVM1 or CVM1 or C200HX/HG/HE PLC CV-series PLC CV-series PLC CV-series PLC...
Page 56
Section 1-5 Application Precautions • Communicate between the CPU Unit and Communications Units by exe- cuting the SEND(090), RECV(098), and CMND(490) instructions for the internal logic ports (8 ports max.). Up to eight Controller Link Units can be connected to a single CPU Unit with unit version 1.2 or later. Perform exclusive control of the ports using the ladder program when using the SEND(090), RECV(098), and CMND(490) instructions to perform mes- sage servicing on multiple networks (Units).
Page 58
SECTION 2 Basic Procedures This section describes the basic procedures to use the Controller Link Unit. The settings necessary for using each of the functions are also explained briefly. For more details, refer to the following sections on individual functions. Data Links Procedures .
Page 59
Section 2-1 Data Links Procedures Data Links Procedures 2-1-1 Manually Setting Data Links When the data link mode is set for manual data link table creation, the data link tables can be input using the Controller Link Support Software or CX-Pro- grammer.
Page 60
Section 2-1 Data Links Procedures 6. Set the data link mode. Contents Method Nodes Page Enable 62 nodes for a Use Support Soft- All nodes wired network. ware for the PLC or Note: This setting the Programming must be made to con- Console.
Page 61
Section 2-1 Data Links Procedures 8. Start the data links. Contents Method Nodes Page Start the data links. Switch the Data link Data link startup node Start/Stop Bit (listed (The Start Bit can be below) from OFF to turned ON in more ON using either the then one node to Programming Device,...
Page 62
Section 2-1 Data Links Procedures 2. Prepare for communications. Contents Method Nodes Page Use the front rotary CS/CJ-series, CVM1, a. Set the unit num- switches. and CV-series PLCs ber. only Use the front rotary All nodes 97, 101 b. Set the node switches.
Page 63
Section 2-1 Data Links Procedures Note a) When using fewer than 33 nodes, make sure that the Wired Net- work 62 Node Enable Bit if the DM Parameter Area software switch is turned OFF to restrict the network to 32 nodes maximum. To construct a network containing more than 32 nodes, all nodes must use the CS1W-CLK21-V1, CS1W-CLK23, CJ1W-CLK21-V1, or CJ1W-CLK23.
Page 64
Section 2-1 Data Links Procedures • 1:N allocation (Compatible with CS1W-CLK21-V1, CS1W-CLK23, CJ1W-CLK21-V1, and CJ1W-CLK23) Common Type Contents Method Nodes Page Use Support Soft- Data link startup a. Set the data link mode ware for the PLC node only to automatic. including Program- The node that is used ming Console (see...
Page 65
Section 2-1 Data Links Procedures 1 to 1 Type Contents Method Nodes Page Use Support Soft- Data link startup a. Set the data link mode ware for the PLC node only to automatic. including Program- The node that is used ming Console (see to start the data link is note).
Page 66
Data Links Procedures Section 2-1 Chain Type Contents Method Nodes Page Use Support Soft- Data link startup a. Set the data link mode ware for the PLC node only to automatic. including Program- The node that is used ming Console (see to start the data link is note).
Page 67
Message Service Procedure Section 2-2 C200HX/HG/HE: AR 0700 (operating level #0), AR 0704 (operating level #1) × CVM1/CV Series: Word 0 of DM 2000 + 100 CQM1H Series: AR 0700 Note The data links will not start if there is an error in the data link tables in the startup node.
Page 68
Section 2-2 Message Service Procedure 6. Set the data link mode. Contents Method Nodes Page Enable 62 nodes for a Use Support Soft- All nodes wired network. ware for the PLC or a This setting must be Programming Con- made when construct- sole.
Page 70
SECTION 3 Installation and Wiring This section describes how to install a Controller Link Unit and how to wire the Controller Link Network. Component Names and Functions ....... . . 3-1-1 CS-series Controller Link Units (CS1W-CLK23 and CS1W-CLK21-V1) 46 3-1-2...
Section 3-1 Component Names and Functions Component Names and Functions This section describes the names and functions of the Controller Link Unit components. This section also describes the operation of the indicators. 3-1-1 CS-series Controller Link Units (CS1W-CLK23 and CS1W-CLK21- Indicators (Refer to pages 47, 274) LED indicators that display the Unit and network status.
Page 72
Component Names and Functions Section 3-1 Wired Unit Indicators Name Color Status Meaning Green Unit operating normally. (operating) Not lit Unit error. ERC (communica- Communications error, node address tions error) setting error (same address set twice), or hardware error. Not lit Normal operation PLC error, PLC interface error, EEPROM (PLC error)
Section 3-1 Component Names and Functions Dimensions (Unit: mm) CLK21-V1 3-1-2 CJ-series Controller Link Units (CJ1W-CLK23 and CJ1W-CLK21- CLK21-V1 Indicators (Refer to pages 47, 274) LED indicators that display the Unit and network status. ERH M/A LNK RD UNIT Unit Number Switch (Refer to page 88) One rotary switch.
Page 74
Section 3-1 Component Names and Functions Wired Unit Indicators Name Color Status Meaning Green Unit operating normally. (operating) Not lit Unit error. Yellow Terminating resistance switch is ON. (terminating resis- Not lit Terminating resistance switch is OFF. tance) ERC (communica- Communications error, node address tions error) setting error (same address set twice), or...
Page 75
Section 3-1 Component Names and Functions Dimensions (Unit: mm) CLK21-V1 ERH M/A LNK RD UNIT NODE BAUD RATE TER SW BD H BD L SHLD...
Section 3-1 Component Names and Functions 3-1-3 C200HX/HG/HE Controller Link Unit CLK21 (Refer to pages 51, 274) Indicators LED indicators that display the Unit and network status. NODE NO. (Refer to page 96) Node address switches #0, #1 Two rotary switches. The node address of the Unit on the Controller Link Network is set in 2-digit decimal.
Page 77
Section 3-1 Component Names and Functions Name Color Status Meaning Yellow Data reception. (receive) Not lit No data reception. Note Even when the local node does not participate in the data link, the indicator will be lit if there are manually set data links active on the network.
Section 3-1 Component Names and Functions 3-1-4 CVM1 and CV-series Controller Link Unit (Refer to pages 53, 285) Indicators CLK21 LED indicators that display the Unit and network status. Unit number switches (Refer to page 100) Two rotary switches. The unit number is set in 2-digit decimal for the Network to which the PLC is connected.
Page 79
Section 3-1 Component Names and Functions Name Color Status Meaning Yellow Data transmission. (send) Not lit No data transmission. Yellow Data reception. (receive) Not lit No data reception. Note Even when the local node does not participate in the data link, the indicator will be lit if there are manually set data links active on the network.
Section 3-1 Component Names and Functions 3-1-5 CQM1H-series Controller Link Unit (Refer to pages 55, 274) Indicators LED indicators that display the Unit and network status. (Refer to page 103) Node address switches Two rotary switches. The node address of the Unit on the Controller Link Network is set in 2-digit decimal.
Section 3-1 Component Names and Functions Note Even when the local node does not participate in the data link, the indicator will be lit if there are manually set data links active on the network. For details refer to 9-1 Troubleshooting Using Indicators . Dimensions (Unit: mm) 122.8 bit/s...
Page 82
Section 3-1 Component Names and Functions Repeater Unit Indicators Name Color Status Meaning Green Power supply is ON. (Power supply) Not lit Power supply is OFF. T/R1 Yellow Transmission signal is being sent or (SL1 communicat- received. ing) Not lit No transmission signal.
Section 3-1 Component Names and Functions 3-1-7 Wire-to-Optical (H-PCF) Repeater Unit CS1W-RPT02 Indicators LED indicators that display the status of the T/R1 T/R2 Unit and communications. BD H Terminating Resistance Switch for SL1 Turn ON this switch when the Repeater Unit is BD L connected to the SL1 communications cable SL1 Terminal Block for Communications...
Section 3-1 Component Names and Functions Dimensions (Unit: mm) Two, 4.5 dia. (Unit: mm) Note: The figures in parentheses are the dimensions when the Unit is mounted with the old connector. 3-1-8 Wire-to-Optical (GI) Repeater Unit CS1W-RPT03 Indicators LED indicators that display the status of the T/R1 T/R2 Unit and communications.
Section 3-2 Unit Installation Repeater Unit Indicators Name Color Status Meaning Green Power supply is ON. (Power supply) Not lit Power supply is OFF. T/R1 Yellow Transmission signal is being sent or (SL1 communicat- received. ing) Not lit No transmission signal. Yellow Transmission signal is being sent or (SL2 2 communicat-...
Section 3-2 Unit Installation 2. Be sure that all screws on the Backplane, the Bus Connection Unit, the ter- minal block, and cables are tightened firmly. If screws work loose, a mal- function may occur as a result of vibration. 3.
Page 87
Section 3-2 Unit Installation Installing with Another Communications Unit When installing a Controller Link Unit along with another Communications Unit, such as a SYSMAC LINK Unit or a SYSMAC NET LINK Unit mount both Units in the 2 slots on the left of the CPU Unit. Install the Controller Link Other Communications Unit Unit in one slot and the...
Page 88
Section 3-2 Unit Installation CPU Backplane CV500-BC101, CVM1-BC103/CV500-BC051, CVM1-BC053/CV500-BC031 CPU Rack (CV500/CV1000/CV2000/CVM1) The Unit can be mounted to the 3/5/10 slots shown in the diagram on the right. (It cannot be mounted to the leftmost slot even if an Expansion CPU Rack is not used.) 3/5/10 slots Install in four of these 14, 16, or...
Page 89
Section 3-2 Unit Installation CPU Backplane CS1W-BC103, CS1W-BC083, CS1W-BC053, CS1W-BC033, CS1W-BC023 CPU Rack The Unit can be mounted to the 2/3/5/8/10 slots shown in the diagram on the right. Of these slots, installation is possible in up to 8 slots 2/3/5/8/10 slots (unit Ver.
Page 90
Section 3-2 Unit Installation up to four Pre-Ver. 1.2 models can be connected.) Be sure to secure the Units with the top and bottom sliders. CPU Rack End Cover 10 Unit max. CJ-series Expansion Rack End Cover Of these slots, installation 10 Unit max.
Section 3-2 Unit Installation CQM1H-series PLCs Only one Controller Link Unit can be connected in a CQM1H-series PLC. Connect the Controller Link Unit to the left side of the CPU Unit and then con- nect the Power Supply Unit to the left of the Controller Link Unit. After the Units have been connected, secure them with the slide locks on the top and bottom of the Units.
Page 92
Section 3-2 Unit Installation Screw-mounting a Repeater Unit Use M4 × 15 screws to mount the Unit as shown in the following diagram. Two, M4 81 mm 21 mm 8 mm Mounting a Repeater Unit on DIN Track 1,2,3... 1. Unlock the DIN Track mounting pins located on the rear of the Repeater Unit.
Section 3-3 Wiring PFP-100N2 PFP-100N/50N End Plate: PFP-M (2 Plates required per Repeater Unit) Wiring 3-3-1 Communications Cables Using the specified twisted-pair cable, connect all nodes using the multidrop method. Controller Link Unit SHLD Terminating resistance Terminating resistance Terminating resistance Terminating resistance switch (OFF) switch (OFF)
Page 94
Section 3-3 Wiring 3. Do not connect the shield cable of the communications cable to a ground that is also being used for power-system devices, such as inverters. 4. Ground the shield line of the communications cable at one end of the net- work.
Page 95
Section 3-3 Wiring Using a Relay Terminal Block CVM1-CLK21 CS1W-CLK23 CJ1W-CLK23 (End node) C200HW-CLK21 Terminating Terminating Relay (End node) resistance resistance Terminal ↓ TER SW ↓ TER SW (OFF) (ON) Block (see note 1.) BD H BD H BD H BD L BD L BD L...
Page 96
Wiring Section 3-3 5. Twist firmly the portion of the signal lines that are exposed. 6. Apply vinyl tape or heat-shrinking tube to the end of the cover that was peeled in step 1. Apply vinyl tape or a heat-shrinking tube. 7.
Page 97
Wiring Section 3-3 b) The approximate dimension for when the cable has been wired from the terminal block along the front of the Unit is shown in the following diagram. 25 mm max. Note 1. Always turn OFF the power to the PLC before connecting the communica- tions cables.
Section 3-3 Wiring 10. When bending a communications cable, allow 60 mm or more for the bend- ing radius (R). 11. Do not place any object on the communications cable. 12. Supply power only after checking the wiring thoroughly. 13. Connect the terminal block only after checking it thoroughly. 14.
Page 99
One connector to connect to the power terminal block is pro- block vided. The following Power Supply Unit is recommended: OMRON S82K Series Laying Optical Cable (CS1W-RPT02/03 Only) Optical fiber cable (H-PCF or GI) can be used to create an optical connection in part of a wired network.
Page 100
Section 3-3 Wiring 5. Move the cable connector so that the loose ends are on the left-hand side, and insert the Unit’s optical connector as far as it will reach. Example: Connections for Duplex Operation of Communications Units Mounting bracket Tension member Terminal CS1W -RPT 02...
Page 101
Section 3-3 Wiring Communications Cables Optical Bus or Optical The following devices are required for the Optical Bus or Optical Ring (H-PCF) Ring System (H-PCF Controller Link Network. The cable and connectors are the same as those Cable) used for Optical SYSMAC LINK Networks. Optical Fiber Cables (Indoor Use Only) Use the following Optical Fiber Cables (Hard Plastic-clad Fiber: H-PCF).
Page 102
Wiring Section 3-3 Optical Fiber Cables with Connectors (Indoor Use Only) The following Optical Fiber Cables are available with Connectors already attached. Specifications Length Model Optical Fiber Cable Connectors: S3200-CN201-20-20 S3200-COCF2071 S3200-CN501-20-20 ⇓ 10 m S3200-CN102-20-20 S3200-COCF2071 15 m S3200-CN152-20-20 20 m S3200-CN202-20-20 Over 20 m S3200-CN-20-20...
Page 103
Section 3-3 Wiring CS1W-RPT03 (GI) GI cable Receive Receive Wired Controller Wired Controller Link Unit Link Unit Send Send CS1W-RPT03 CS1W-RPT03 Repeater Unit Repeater Unit Note 1. Always use the specified Optical Fiber Cables. 2. Although the Optical Fiber Cables can be distinguished by the markings or color, in order to prevent incorrect connection it is recommended that tags are attached to the cables.
Page 104
Section 3-3 Wiring Remove the covers from the tips of the cables’ ST connectors if there are covers protecting the ST connectors. Optical Connector Cover Pull off the cover. Rotate the cover 90° counterclockwise. Note To replace the Optical Connector Cover, just reverse the steps shown in the diagram above.
Section 3-4 Constructing Networks with Repeater Units is ambient temperature, and λ is the peak wave- Note L is fiber length in km, T length of the test light source. 62.5/125 µ m AGF Cable Item Minimum Standard Maximum Unit Conditions Numerical Aper- 0.28...
Section 3-4 Constructing Networks with Repeater Units Units/Support Boards or Repeater Units) at both ends of each network segment created by installing Repeaters must also be turned ON. To construct a 62-node configuration in a wired network, all network nodes must consist of one of the following models: CS1W-CLK21-V1, CS1W-CLK23, CJ1W-CLK21-V1, CJ1W-CLK23, 3G8F7-CLK21-V1, 3G8F7-CLK23-E.
Section 3-4 Constructing Networks with Repeater Units : Controller Link Unit/Support Wire Board : Wire-to-wire Repeater Unit Optical : Wire-to-optical Repeater Unit fiber (two Units used in a pair) cable : Range of a single segment Note: The Repeater Unit will be counted in the number of nodes for each segment that it is connected to.
Page 108
Section 3-4 Constructing Networks with Repeater Units Long-distance Wiring: 2-stage Repeater Unit Connection Stage 2 CS1W-RPT01 Repeater Unit Not more than 2 Repeater Units (2 stages) must be passed for any node to reach any other node Partial Optical Conversion: 2-stage Repeater Unit Connection Optical CS1W-RPT02 or Stage 1...
Section 3-4 Constructing Networks with Repeater Units The path from one node to another travels via three Repeater Units (3 stages). This kind of network is NOT allowed. Note If the Repeater Units are used incorrectly, communications errors may occur, or nodes may not be able to participate in the network.
Page 110
Section 3-4 Constructing Networks with Repeater Units Partial Conversion to Optical Fiber Terminating Terminating Terminating Resistance: ON Resistance: ON Resistance: ON (Optical fiber cable) Segment 1 Segment 2 Repeater Unit Terminating CS1W-RPT02 or Resistance: ON CS1W-RPT03 Combining T-Branch Wiring (2-stage Repeater) and Partial Optical Fiber Terminating resistance: ON CS1W-RPT01...
Page 111
Section 3-4 Constructing Networks with Repeater Units...
Page 112
SECTION 4 Preparations for Communications This section describes the settings required for starting communications. These basic settings are required for both data links function and the message service. Carry out the settings described here before turning on power to the Controller Link Unit.
Section 4-1 CS-series Controller Link Units CS-series Controller Link Units The following settings are required for a Controller Link Unit used with a CS- series PLC. Item Switch Page Unit number Unit number setting switch Node address Node address switches Baud rate Baud rate, pins 1 and 2 Terminating resistance...
Section 4-1 CS-series Controller Link Units Item Specifications Setting method Single-digit hexadecimal Setting range 0 to F (decimal 00 to 15, default is 0) Node All nodes in the Network Set the node address using a small flat-blade screwdriver, being careful not to damage the rotary switches.
Section 4-1 CS-series Controller Link Units ther communications will stop, or the INS indicator will not light and you will be unable to participate in the Network. 4. When CS1W-CLK21-V1, CS1W-CLK23, CJ1W-CLK21-V1, and CJ1W- CLK23 Units are used with other models in the same network, set the node addresses of all nodes between 1 and 32.
Section 4-2 CJ-series Controller Link Units Note 1. Set the same baud rate for all the nodes on the Network. Normal commu- nication cannot be performed unless the same baud rate is set for all the nodes. 2. The default setting is 2 Mbps, 500 m. 4-1-5 Terminating Resistance Turn ON the terminating resistance using the switch on the bottom of the Unit...
Section 4-2 CJ-series Controller Link Units 4-2-1 Overview Unit Number CLK21-V1 Setting range Nodes UNIT ERH M/A LNK RD 01 to F (default is 0) All nodes in the Network UNIT Node Address NODE NODE Setting range Nodes 01 to 32 (default is 01) All nodes in the Network BAUD Baud Rate...
Section 4-2 CJ-series Controller Link Units 5. The default setting is “0.” 6. The unit number determines the words used by the Controller Link Unit in PLC memory. 4-2-3 Node Addresses Set the node addresses of each Unit on the Network using the rotary switches on the front of the Unit.
Section 4-2 CJ-series Controller Link Units 6. Only node addresses 1 through 32 can be used on networks for which 62 nodes have not been enabled. 7. The Wired Network 62 Node Enable Bit in the DM Parameter Area soft- ware switches of CS1W-CLK21-V1, CS1W-CLK23, CJ1W-CLK21-V1, and CJ1W-CLK23 Units is read when the Unit is restarted.
Section 4-3 C200HX/HG/HE Controller Link Units Note 1. Always turn OFF the PLC’s power before setting the terminating resistance switch. 2. Turn ON the switch to connect terminating resistance at the nodes at both ends of the Network and turn OFF the switch at all other nodes. Normal communication cannot be performed in the Network unless all the nodes are set properly.
Section 4-3 C200HX/HG/HE Controller Link Units 4-3-1 Overview Node Address CLK21 Setting range Nodes 01 to 32 (default is 01) All nodes in the Network NODE NO. Baud Rate and Operating Level #0, #1 •Baud Rate #0, #1 BAUD BAUD RATE Pins Baud rate...
Section 4-3 C200HX/HG/HE Controller Link Units Item Specifications Setting method 2-digit decimal Setting range 01 to 32 (default is 01) Node All nodes in the Network Set the node address using a small flat-blade screwdriver, being careful not to damage the rotary switches. Note 1.
Section 4-3 C200HX/HG/HE Controller Link Units Operating level 0 Operating level 0 Operating level 1 Operating level 1 Note It is not necessary to use the same operating level for all nodes in the same Network. Pin 4 Operating level Node OFF (factory default) Operating level 1...
Section 4-4 CVM1 and CV-series Controller Link Units CVM1 and CV-series Controller Link Units The following settings are required for a Controller Link Unit when used with a CVM1 or CV-series PLC. Item Switch Page Unit number Unit number switch Node address Node address switch Baud rate...
Section 4-4 CVM1 and CV-series Controller Link Units 4-4-2 Unit Number Set the unit number for each Unit using the rotary switches on the front of the Unit. The unit number is used to identify a CPU Bus Unit within the PLC. Any unit number can be set between 00 and 15.
Section 4-4 CVM1 and CV-series Controller Link Units 2. Do not set the same node address twice within the same Network. An error will occur if the same address is set for two different nodes. The ERC indi- cator on the front of the Unit will light and either communications will stop, or the INS indicator will not light and you will be unable to participate in the Network.
Section 4-5 CQM1H-series Controller Link Units Note 1. Always turn OFF the PLC’s power before setting the terminating resistance switch. 2. Turn ON the switch to connect terminating resistance at the nodes at both ends of the Network and turn OFF the switch at all other nodes. Normal communication cannot be performed in the Network unless all the nodes are set properly.
Section 4-5 CQM1H-series Controller Link Units 4-5-2 Node Addresses Set the node address of each Unit in the Network using the rotary switch on the front of the Unit. The node address is used to identify each node in the Network.
Section 4-6 Repeater Units Note Set the same baud rate for all the nodes on the Network. Normal communica- tion cannot be performed unless the same baud rate is set for all the nodes. 4-5-4 Terminating Resistance Turn ON the terminating resistance using the switch on the bottom of the Unit for the Units of both ends of the Network.
Section 4-6 Repeater Units 4-6-1 Wire-to-Wire Repeater Unit Terminating Resistance Switch for SL1 Wire-to-Wire Wire-to-Optical Switch Terminating Applicable unit Repeater Unit Repeater Unit resistance Not connected Turn ON when the Repeater CS1W-RPT01 CS1W-RPT02 Unit is connected to the end of Connected T/R1 T/R1...
Section 4-6 Repeater Units See pages 16 and 81 for details on the maximum transmission distance. Note 1. Always turn OFF power to the Repeater Unit before setting the baud rate. 2. Set the same baud rate for all nodes on the network. Normal communications throughout the entire network will not be per- formed if the baud rate of even a single node differs from the others.
Page 132
SECTION 5 Data Links This section describes how to use data links in a Controller Link Network. Refer to SECTION 2 Basic Procedures for an outline of data link application. What Are Data Links?......... . . 5-1-1 Data Link Specifications.
Section 5-1 What Are Data Links? What Are Data Links? Data links automatically exchange data in the preset areas between nodes (PLCs and/or computers) on one network. Data links can be freely created for CS/CJ-series PLCs, C200HX/HG/HE PLCs, CVM1, CV-series PLCs, CQM1H-series PLCs, and IBM PC/AT or compatible computers.
Page 134
Section 5-1 What Are Data Links? Manually Setting Data Links Example 1: The order of send and receive Example 2: Some nodes can send data nodes is free. without receiving data. Area 1 Area 1 Send only Area 2 Area 2 Example 3: Some nodes can receive Example 4:...
Page 135
Section 5-1 What Are Data Links? Automatically Setting Data Links with Equality Layout Example Node#1 Node#2 Node#3 Area 1 (Bit areas) Area 2 (Data Memory) Automatic setting can be used to create simple data links. • Using a Programming Device (such as a Programming Console), set the automatic data link mode in the DM Parameter Area of the startup node.
Page 136
What Are Data Links? Section 5-1 Node 1 Node 2 Node 3 Node 4 Area 1 Area 2 • There are three types of 1:N allocations. • Programming Devices (including Programming Consoles) are used to set the automatic data link mode in the DM Parameter Area of the PLC used as the startup node.
Page 137
What Are Data Links? Section 5-1 Using Offsets For automatically set data links, all of the send words transmitted by a node are received by other nodes with no change in size. For manually set data links, the size of a receive area can be restricted by specifying a number of words from the beginning word of the words sent by another node.
Section 5-1 What Are Data Links? Send data of node 1 Note The following table shows the status of the data link refresh area when a node registered in the data link table generates a communications error. Communications error type Data link area A node separates from the network while Data received immediately prior to the...
What Are Data Links? Section 5-1 5-1-2 Differences between Manual and Automatic Setting Item Manual setting Automatic setting Determination of Determined by setting data link Determined by the data link nodes to be in a tables. parameters set in the data link data link startup node (the node used to start the data links).
Section 5-2 Setting Data Links Setting Data Links 5-2-1 Selecting Manual or Automatic Setting Specify either the manual or automatic data link mode in the following DM Parameter Area of the PLC’s CPU Unit of the startup node, using a PLC Pro- gramming Device.
Section 5-2 Setting Data Links 1. Be sure to set the bit in the DM Area’s (CPU Bus Unit Area’s) software Note switches (DM30000 + 100 × unit number) described as “always set to 0” to 0. Not doing so may result in the data link not starting properly. 2.
Page 142
Setting Data Links Section 5-2 4. When using the Controller Link Support Software to set a CJ-series Con- troller Link Unit, use one of the following methods to set the type of PLC. • Set the type of PLC to “Others.” •...
Page 143
Section 5-2 Setting Data Links Setting item Setting range First data link sta- Set the first word to store data link status. An area of 16 words is tus word used. CIO Area: CIO 001 to CIO 6128 (*1) LR Area: LR 00 to LR 184 (*2) DM Area: DM 0000 to DM 32752 EM Area: Banks 00 to 12, EM 0000 to EM 32752...
Page 144
Section 5-2 Setting Data Links Setting item Setting range Area 2 Data link CIO Area: CIO 000 to CIO 6143 start word LR Area: R 00 to LR 199 (*) DM Area: DM 0000 to DM 32767 EM Area: Banks 00 to 15, EM 0000 to EM 32767 (EM must be installed) Unit Ver.
Page 145
Section 5-2 Setting Data Links Setting item Setting range First data link sta- Set the first word to store data link status. An area of 16 words tus word is used. IR Area: IR 001 to IR 220, IR 300 to IR 496 (*) LR Area: LR 00 to LR 48 DM Area: DM 0000 to DM 5984...
Page 146
Setting Data Links Section 5-2 (Data link start word – 1) + Total number of send/receive ≤ words in area 235 (First word IR 000 to IR 235) 511 (First word IR 300 to IR 511) 63 (LR Area) 5999 (DM Area) 6143 (EM Area) c) Refer to the Controller Link Support Boards Operation Manual (W307) for information on the Controller Link Support Board.
Page 147
Setting Data Links Section 5-2 Setting item Setting range Area 2 Data link CIO Area: CIO 0000 to CIO 2555 start word LR Area: LR 000 to LR 199 (*) DM Area: DM 0000 to DM 8191 (CV500/CVM1-CPU01-EV@) DM 0000 to DM 24575 (Other CPU Units) EM Area: Banks 00 to 07, EM 0000 to EM 32765 (EM must be installed) The same area cannot be set for both area 1 and area 2.
Page 148
Section 5-2 Setting Data Links Setting item Setting range First data link sta- Set the first word to store data link status. An area of 16 words is tus word used. IR Area: IR 001 to IR 232 LR Area: LR 00 to LR 48 DM Area: DM 0000 to DM 5984 EM Area: EM 0000 to EM 6128 (EM must be installed)
Page 149
Setting Data Links Section 5-2 (Data link start word – 1) + Total number of send/receive ≤ words in area 247 (IR Area) 63 (LR Area) 5999 (DM Area) 6143 (EM Area) c) Refer to the Controller Link Support Boards Operation Manual (W307) for information on the Controller Link Support Board.
Section 5-2 Setting Data Links 5-2-3 Manual Setting Examples This section shows examples of manually creating data link tables on the Controller Link Support Software. Sample files containing the data link tables are provided on the installation disk for the Software. SAMPLE1.CLK: Same Allocation to All Nodes Data Link Area Structure C200HX...
Page 151
Section 5-2 Setting Data Links Checking the Data Link Tables Transferring the Data Link Tables Saving the Data Link Tables...
Page 152
Setting Data Links Section 5-2 SAMPLE2.CLK: Different Allocations to Each Node Data links can be created so that one node does not receive from all other nodes or so that some nodes do not send or receive any data at all. In the fol- lowing example, node 2 does not receive data from node 3 and node 3 does not receive data from node 1.
Page 153
Section 5-2 Setting Data Links Data Link Tables SAMPLE3.CLK: Creating Data Link Groups within a Network A data links consisting of multiple groups within a single network can be cre- ated by setting data link tables. Send and receive areas are created for only the nodes in each group, as shown below.
Page 154
Section 5-2 Setting Data Links Device Information Setting Data Link Tables...
Page 155
Section 5-2 Setting Data Links SAMPLE4.CLK: Receiving Only Part of Send Data and Offsets Only area 2 is used in this example. Note A Controller Link Support Board is used in this example. The Support Board does not have memory areas. The area settings are ignored and byte addresses are used.
Section 5-2 Setting Data Links Data Link Tables 5-2-4 Automatic Setting Data links can be automatically created by setting values in the DM Parameter Area of the PLC’s CPU Unit of the startup node. The settings are made using a Programming Console or the CX-Net in the CX-Programmer. The startup node is the node from which the data links are activated.
Page 157
Section 5-2 Setting Data Links CS/CJ-series Startup Node Automatic setting for the CS/CJ Series can be performed using either equality layout (previous method), where each node is allocated the same link area size, or 1:N allocations, which allows individually set exchange of data between the master node and slave nodes.
Page 158
Section 5-2 Setting Data Links Automatic Setting, 1:N This method is used to simplify the establishment of 1:N allocation data links Allocations between master and slave nodes. Node 1 Node 2 Node 3 Node 4 Area 1 Area 2 • There are three types of 1:N allocations. •...
Page 159
Section 5-2 Setting Data Links Set the following parameter in the DM Parameter Area of the PLC at the star- tup node. DM 30000 + 100 × Controller Link Unit number 15 14 13 12 11 10 9 – – –...
Page 160
Section 5-2 Setting Data Links Item Setting range Area for area 2 Set the area for area 2 in BCD. DM Area: 82 EM Area: Banks 00 to 07: 90 to 97 Banks 08 to 12: A8 to AC Area 2 not used: 00 Send size per node for Set the number of words in BCD between 0 and 1,000.
Page 161
Section 5-2 Setting Data Links 1:N Allocation, Common Type (7) Participating nodes Master node Slave nodes Area 1 (1) Area and start word (2) Size for master node (3) Size for slave node (Same as (3)) (Same as (3)) Area 2 (4) Type and start word (5) Size for master node...
Page 162
Section 5-2 Setting Data Links 1:N allocation type (Set value 0001 = Common type) N+12 Start word for area 1 (bit-access area, BCD) N+13 Area for area 1 N+14 Area 1 send size (number of words) for master node (BCD) N+15 Area 1 send size (number of words) for slave nodes (BCD) N+16...
Page 163
Section 5-2 Setting Data Links Item Setting range Send size (number of Set the number of words in BCD between 0 and 1,000. words) for master node The total number of send words for master node of area 1 for area 1 and area 2 must not exceed 1,000.
Page 164
Section 5-2 Setting Data Links 3. When using area 2 only, set the area for area 1 and the number of send words for area 1 to 0. 4. When using area 1 only, set the area for area 2 and the number of send words for area 2 to 0.
Page 165
Section 5-2 Setting Data Links 1:N Allocations, 1 to 1 Type (5) Participating nodes Master node Slave nodes (1) Area and start word (2) Number of master common send words (3) Number of master individual send words (Same as (3)) (Same as (3)) (4) Number of slave send words...
Page 166
Setting Data Links Section 5-2 1:N allocation type setting (Set value 0002 = 1 to 1 type) N+12 Rightmost 4 digits of start word (BCD) N+13 Area Leftmost digit of area start word (BCD) N+14 Number of common send words for master node (BCD) N+15 Number of individual send words for master node (BCD) N+16...
Page 167
Setting Data Links Section 5-2 Item Setting range Number of common send Set the number of words in BCD between 0 and 1,000. words per master node The number of common send words per master node added to the number of individual send words per master node multiplied by the number of slave nodes participat- ing in the data links must not exceed 1,000.
Page 168
Section 5-2 Setting Data Links (Area start word − 1) + (Total number of send and receive words of master node *) ≤ 6143 (when using the IR or CIO Area) 199 (when using LR Area) 32767 (when using DM or EM Area) * Total number of send and receive words in master node = Number of common send words in master node + Number of individual send words in master node ×...
Page 169
Setting Data Links Section 5-2 • Each slave nodes receives data from the previous node and then sends data to the next node. Data is thus passed in ascending order of the nodes participating in the data link. • One area is selected from the bit-access areas (e.g., CIO Area) or word- access areas (e.g., DM Area).
Page 170
Section 5-2 Setting Data Links Item Setting range Area start word Set the word address in BCD. IR or CIO Area: 0 to 6143 LR Area: LR 000 to LR 199 (1000 to 1199) (*) DM Area: DM 0 to 32767 EM Area: Banks 0 to 12 EM 0 to 32767 *: When a word between LR 000 and LR 199 is speci- fied, the data link area will be allocated between...
Page 171
Section 5-2 Setting Data Links Total number of words in data link send and receive areas of master node = Number of common send words in master node + Number of individual send words in each node × Number of nodes par- ticipating in data links (including both master nodes and slave nodes) 5.
Page 172
Setting Data Links Section 5-2 11. If the LR Area in the C200HX/HG/HE or CQM1H-series PLC is automati- cally set for a data link with a CVM1, CV-series PLC or CS/CJ-series PLC, the LR words will be linked to CIO 1000 to CIO 1063 in the CVM1, CV-se- ries or CS/CJ-series PLC.
Page 173
Section 5-2 Setting Data Links Item Setting range Send size (number of Set the number of words in BCD between 0 and 1,000. words) for node of area 1 The total number of send words for area 1 and area 2 must not exceed 1,000.
Page 174
Section 5-2 Setting Data Links CVM1 or CV-series Startup Node Set the following DM Parameter Area of the PLC of the startup node. N: DM 2000 + 100 × (Unit number of Controller Link Unit) 15 14 13 12 11 10 9 –...
Page 175
Section 5-2 Setting Data Links Item Setting range Send size (number of Set the number of words in BCD between 0 and 1,000. words) for node of area 2 The total number of send words of area 1 and area 2 must not exceed 1,000.
Page 176
Section 5-2 Setting Data Links C200HX/HG/HE or Example: IR/CIO Area CQM1H-series PLCs CVM1, CS/CJ, or CV-series PLCs Available for the data links Not available for the data links 2555 C200HX/HG/HE or CVM1, CS/CJ, or CV-series PLCs CQM1H-series PLCs Example: DM Area DM000 DM000 Available for the data links...
Page 177
Section 5-2 Setting Data Links CQM1H-series Startup Node Set the following DM Parameter Area of the PLC of the startup node. 15 14 13 12 11 10 9 – – – DM 6400 0: Always 0. Data link mode – : Other settings Set to 01 for automatic setting.
Section 5-2 Setting Data Links Item Setting range First data link status word Set in BCD the first word used for storing data link status. An area of 16 words is used for storing status. 0 (*) or IR 001 to IR 232 Status is stored in the IR or CIO Area only.
Page 179
Section 5-2 Setting Data Links Data Link Areas Created Node #1 Node #2 Node #3 LR 0 LR 10 Area 1 LR 20 D1000 D1200 Area 2 D1400 DM Parameter Setting When automatic data link creation with common type1:N allocations is used, Example for 1:N the DM Parameter Area of the startup node is set as follows: Allocation, Common Type...
Section 5-3 Starting and Stopping Data Links Data Link Areas Node 1 Node 2 Node 3 Node 4 Area 1 CIO 100 CIO 130 CIO 150 CIO 170 Area 2 D1000 D1400 D1600 D1800 Note 1. Node 1 is the master node. 2.
Section 5-3 Starting and Stopping Data Links 5-3-1 Using a Programming Device or the User Program Set the software switch (AR or DM Start Bit) in the PLC to ON using a Pro- gramming Device or from the user program. User program Startup node Programming Device...
Section 5-3 Starting and Stopping Data Links CVM1 and CV-series Start Bit 15 14 13 12 11 10 9 Word N Data link Start Bit N: DM 2000 + 100 × (unit number) Start: Changed from OFF to ON or set to ON when power is turned on Stop: Changed from ON to OFF CQM1H-series Start Bit...
Section 5-4 Checking Data Link Status Issuing the FINS Command from CVM1, CV-series, CS/CJ-series, and CQM1H-series PLCs CVM1, CV, FINS command: CS/CJ, or RUN/STOP Node in data links CQM1H Data links can be stopped by sending the FINS command “STOP.” The node to which the FINS command is issued must be participating in the data link.
Page 184
Section 5-4 Checking Data Link Status When 8-bit Format is Specified (i.e., when using a C200HX/HG/HE, CVM1, CV-series, or CQM1H-series PLC or when using a CS/CJ-series PLC with the data link status storage format specification in the DM Parameter Area set to 8-bit format) (See note 1.) 15 14 13 12 11 10 9 Node 2...
Page 185
Section 5-4 Checking Data Link Status 5. The following shows an example of an insufficient (short) receive area. Insufficient (short) Sufficient Node 1 Node 2 Node 1 Node 2 Receive Receive Send Send area area area area Data indicated by cannot be received in node 2.
Page 186
Section 5-4 Checking Data Link Status 5. With CS/CJ-series PLCs, the status of the words from first status word + 16 to first status word + 30 when 8-bit format is specified and the status of the words from first status word + 8 to first status word + 15 (i.e., the status of nodes 33 to 62) is reflected when the Wired Network 62 Node Enable Bit in the DM Parameter Area is turned ON.
Page 187
Section 5-4 Checking Data Link Status The data link status storage area is set as follows: Data link PLC and First data link Setting range Default status mode operating level status word CIO 1500 + 25 × N + 7 to 22 Automatic CS/CJ-series PLC Specify in Either 8, 16, or 31 words DM 30000 + 100 ×...
Section 5-4 Checking Data Link Status Note The data link storage format setting is enabled with the data link startup node setting. Therefore, if multiple nodes are set as startup nodes, ensure that they all have the same settings. If there are different settings, the format setting will depend on the startup node.
Section 5-4 Checking Data Link Status 5-4-5 Error Detection Program Example Local node Node 1 Node 1 Data Link Data Link Participating Flag Communications Error Flag Participation Flag Node 1 Error output Node 2 Node 2 Data Link Participating Flag Communications Error Flag Node 2 Error output...
Page 190
Section 5-4 Checking Data Link Status Processing Data Only when Operation Is Normal Using the IL-ILC and JMP-JME Instructions Perform processing only when operation is normal by creating a program based on program blocks that process data for each node with the IL-ILC and JMP-JME programs.
Page 191
Section 5-4 Checking Data Link Status quently cleared to 0000. Data processing methods that will not process data or arithmetic operations when errors occur are recommended (such as shown in the example for processing data only when data links are op- erating normally or the example for processing data only when operation is normal using the IL-ILC and JMP-JME instructions).
Page 192
SECTION 6 Message Service This section explains how to use the message service provided by a Controller Link Unit. It also explains the FINS commands and responses supported by Controller Link Units and those supported by C200HX/HG/HE, CS/CJ-series, CVM1 and CV-series PLCs. Introduction .
Section 6-1 Introduction Introduction A message service is a command/response system used for data transmis- sion between nodes on a network, i.e., PLC to PLC, PLC to computer, and computer to PLC). The message service can also be used to control opera- tions, such as mode changes.
Section 6-1 Introduction Message service SEND/RECV instructions CMND instruction (FINS commands) Source node: Destination SEND: 1:1 or 1:N (broadcast) node 1:1 or 1:N (broadcast) There are no responses for broadcasting. There are no responses for broadcasting. RECV: 1:1 Data length 1,980 bytes max.
Page 195
Section 6-1 Introduction 2. With the message service, there is no guarantee that a message to a des- tination node will reach its destination. It is always possible that the mes- sage may be lost in transit due to noise or some other condition. When using the message service, it is advisable to prevent this situation from oc- curring by performing resend processing at the node where instructions are issued.
Page 196
Introduction Section 6-1 using the message service, it is advisable to prevent this situation from oc- curring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend pro- cessing is performed automatically once the number of retries has been set, so be sure to specify a number other than “0”...
Page 197
Introduction Section 6-1 to “00.” Set a number other than “00” as the local network address in the routing tables, and then specify that number. 2. With the message service, there is no guarantee that a message to a des- tination node will reach its destination.
Page 198
Section 6-1 Introduction Source node Destination node M "m" num- ber of send words @RECV(98) S: Destination node beginning send word D: Source node beginning receive word C: Source node first control data word 15 14 "m" number of send words 0000 to 03DE (Hex): 0 to 990 words 0: Source network address not specified (local network) 1: Source network address specified.
Page 199
Introduction Section 6-1 cessing is performed automatically once the number of retries has been set, so be sure to specify a number other than “0” for the number of retries. Indirect Designation of CVM1, CV-series, and CS/CJ-series PLCs have a larger area than C200HX/ Beginning Words HG/HE PLCs, so the beginning words for sending and receiving at destination nodes cannot always be directly specified by means of SEND and RECV...
Page 200
Section 6-1 Introduction Note Specify the area code according to the following table. Destination node: CS/CJ-series PLC Destination node: C200HX/HG/HE or Destination node: CVM1 or CV- CQM1H-series PLC series PLC Area Code Area Code Area Code CIO (IR etc.) (See note 1.) IR (Internal Relay) TIM (Timer) LR (Link Relay)
Page 201
Section 6-1 Introduction CVM1 and CV-series PLCs SEND SEND transmits “n” words beginning with S (the beginning word for data transmission at the source node) to “n” words beginning with D (the beginning word for data reception at the destination node, N.) Source node Destination node N "n"...
Page 202
Introduction Section 6-1 RECV RECV receives “m” words beginning with S (the beginning word for data transmission at the destination node, M) to the words beginning with D (the beginning word for data reception at the source node). Source node Destination node M "m"...
Page 203
Section 6-1 Introduction CQM1H-series PLCs SEND SEND transmits “n” words beginning with S (the beginning word for data transmission at the source node) to “n” words beginning with D (the beginning word for data reception at the destination node, N.) Source node Destination node N @SEND(90)
Page 204
Section 6-1 Introduction RECV RECV receives “m” words beginning with S (the beginning word for data transmission at the destination node, M) to the words from D (the beginning word for data reception at the source node) onwards. Source node Destination node M "m"...
Page 205
Section 6-1 Introduction using the message service, it is advisable to prevent this situation from oc- curring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend pro- cessing is performed automatically once the number of retries has been set, so be sure to specify a number other than “0”...
Page 206
Section 6-1 Introduction Note Specify the area code according to the following table. Destination node: CS/CJ-series PLC Destination node: C200HX/HG/HE or Destination node: CVM1 or CQM1H-series PLC CV-series PLC Area Code Area Code Area Code CIO (IR, etc.) (See note 1.) IR (Internal Relay) TIM (Timer) (See note 2.) LR (Link Relay)
Section 6-1 Introduction 6-1-2 CMND (CVM1, CV-series, CS/CJ-series, and CQM1H-series PLCs Only) The CMND instruction can be executed in the user program in a CVM1, CV- series, CS/CJ-series, or CQM1H-series PLC to perform operations such as reading and writing memory data from and to other nodes, reading status information, and changing the operating mode.
Page 208
Section 6-1 Introduction using the message service, it is advisable to prevent this situation from oc- curring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend pro- cessing is performed automatically once the number of retries has been set, so be sure to specify a number other than “0”...
Page 209
Section 6-1 Introduction CVM1 and CV-series PLCs CMND sends “n” bytes of command data beginning with S (the beginning word for storing command data at the source node) to node N. In return, “m” bytes of response data are stored at the source node beginning with D (the beginning word for storing response data).
Page 210
Section 6-1 Introduction curring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend pro- cessing is performed automatically once the number of retries has been set, so be sure to specify a number other than “0” for the number of retries. CQM1H-series PLCs CMND sends “n”...
Page 211
Section 6-1 Introduction 2. With the message service, there is no guarantee that a message to a des- tination node will reach its destination. It is always possible that the mes- sage may be lost in transit due to noise or some other condition. When using the message service, it is advisable to prevent this situation from oc- curring by performing resend processing at the node where instructions are issued.
Section 6-1 Introduction Type of command Code CVM1/ File Memory FILE NAME READ 2201 SINGLE FILE READ 2202 SINGLE FILE WRITE 2203 MEMORY CARD FORMAT 2204 FILE DELETE 2205 VOLUME LABEL CREATE/ 2206 DELETE FILE COPY 2207 FILE NAME CHANGE 2208 FILE DATA CHECK 2209...
Page 213
Section 6-1 Introduction C200HX/HG/HE PLCs Area Range Internal Relay Area 1 IR 000 to IR 235 (See note 1.) Special Relay Area 1 SR 236 to SR 255 (See note 1.) Special Relay Area 2 SR 256 to SR 299 (See note 1.) Internal Relay Area 2 IR 300 to IR 511 (See note 1.) Link Relay...
Section 6-2 Selecting Communications Instructions Area Range DM Area DM 0000 to DM 6655 Extended DM Area EM 0000 to EM 6143 (See note 2.) Note 1. SR 253 to SR 255 cannot be written at the source node, even if they are specified by the RECV instruction’s beginning receive word at the source node.
Section 6-3 Using the Message Service Using the Message Service With SEND, RECV, and CMND, the Network Instruction Enabled Flag and Network Instruction Error Flag are generally written into the program as input conditions, as shown below. Only one instruction can be executed at a time for any given communications port.
Page 218
Section 6-3 Using the Message Service C200HX/HG/HE PLCs Name Operating Address Contents level Network Instruction SR 25204 0: Execution not possible (already Enabled Flag executing) SR 25201 1: Execution possible (not executing) Network Instruction SR 25203 0: Normal end Error Flag 1: Abnormal end SR 25200 CVM1, and CV-series...
Page 219
Section 6-3 Using the Message Service SEND/RECV Flag Operations • The Network Instruction Enabled Flag turns OFF during transmission or reception, and ON after the data transmission or reception has been com- pleted (regardless of whether an error occurs). • The Network Instruction Error Flag retains its status until the next data transmission or reception.
Page 220
Section 6-3 Using the Message Service C200HX/HG/HE and The results of executing SEND and RECV instructions are reflected as shown CQM1H-series PLC in the following table. Response Codes Code Contents Meaning 00 (Hex) Normal end Data transfer was completed successfully. 01 (Hex) Parameter error SEND/RECV instruction operands are not...
Page 221
Section 6-3 Using the Message Service Simultaneous Execution of Communications Instructions C200HX/HG/HE PLCs CS/CJ-series, CVM1, and CV-series PLCs Controller Link Unit Controller Link Unit CPU Unit CPU Unit Instruction 1 Port Port Instruction 1 Instruction 2 Operating Instruction 2 Instruction 3 level #0 Instruction 4 Instruction 5...
Page 222
Section 6-3 Using the Message Service PLC Programming Examples CS/CJ-series PLCs Execution condition The transmission program will run when CIO 000000 000000 A20207 120002 KEEP turns ON, provided that the Network Instruction Ena- 120000 bled Flag is ON and the RECV instruction has not (See note 1.) been executed.
Page 223
Section 6-3 Using the Message Service (Continued from the previous page) Execution The reception program will run when CIO 00001 condition turns ON, provided that the Network Instruction En- 000001 A20207 120000 KEEP(11) abled Flag is ON and the SEND instruction has not 120002 been executed.
Page 224
Section 6-3 Using the Message Service C200HX/HG/HE PLCs Execution condition The transmission program will run when IR 00000 00000 25204 31002 KEEP(11) turns ON, provided that the Network Instruction En- 31000 abled Flag is ON and the RECV instruction has not been executed.
Page 225
Section 6-3 Using the Message Service (Continued from the previous page) Execution The reception program will run when IR 000001 condition turns ON, provided that the Network Instruction En- 00001 25204 31000 KEEP(11) abled Flag is ON and the SEND instruction has not 31002 been executed.
Page 226
Section 6-3 Using the Message Service CVM1 and CV-series PLCs The transmission program will run when I000000 is ON, I0000 A502 1200 provided that the Network Instruction Enabled Flag for (011) port 7 is ON and the RECV instruction has not been KEEP 120000H executed.
FINS Communications Service The FINS communications service is a communications protocol developed by OMRON for FA control devices. It can be used for reading from and writing to PLC memory, or for controlling various operations, without having to create a user’s program at the PLC. The FINS communications service has its own...
Section 6-4 FINS Commands and Responses Command Codes The command code consists of two bytes of data, and indicates the contents of the command. A FINS command must begin with a 2-byte command code, and any parameters must follow the command code. Response Codes The response code consists of two bytes of data, and indicates the result of the command execution.
Section 6-5 Commands and Responses for Controller Link Units Commands and Responses for Controller Link Units 6-5-1 Command Codes Command Data link operation mode Name Page code Active Inactive Not valid Valid DATA LINK START Valid Not valid DATA LINK STOP Valid Valid CONTROLLER DATA READ...
Section 6-5 Commands and Responses for Controller Link Units Response Block Command Response code code The DATA LINK STOP command can be received only while the data links are active. An error will occur if this command is sent at any other time. This command can be received by any node that is participating in the data link.
Section 6-5 Commands and Responses for Controller Link Units Wired/Optical (response) The connection method for the Controller Link Unit (wired or optical ring). The configuration is as follows: – : Not used Maximum number of nodes 00: 32 nodes 01: 62 nodes Maximum number of send words 0: 1,000 words Connection type:...
Page 232
Section 6-5 Commands and Responses for Controller Link Units Status 2 (response): For C200HX/HG/HE, CVM1, and CV-series Controller Link Units, always set to 00 (Hex). For CS/CJ-series and CQM1H-series PLCs, the Unit’s setting status is returning in the following configuration. Baud rate: 1 Hex: 2 Mbps 2 Hex: 1 Mbps...
Section 6-5 Commands and Responses for Controller Link Units Network participation status (response): The following diagram shows the bits corresponding to node addresses in the Controller Link Network. When a bit is returned as “1,” it means that the corresponding node is participating in the network.
Page 234
Section 6-5 Commands and Responses for Controller Link Units When CS1W-CLK21-V1, CS1W-CLK23, CJ1W-CLK21-V1, and CJ1W-CLK23 Units are used and the Wired Network 62 Node Enable Bit in the DM Parame- ter Area software switches is ON, the network participation status of nodes 33 to 62 is returned in the upper four bits of bytes 17 through to the lower four bits of byte 32.
Section 6-5 Commands and Responses for Controller Link Units Data link data error counter (response): The total number of data link data reception errors occurring at all nodes is returned as a total count from the time the power was turned on. It is expressed, in hexadecimal, as one byte per node.
Page 236
Commands and Responses for Controller Link Units Section 6-5 Status flag (response): The overall data link status is returned in one byte of data, as shown in the following diagram. 1: Data link setting error 1: No data link table Allocation for automatic setting 00: Equality layout 01: 1:N allocation, common type...
Commands and Responses for Controller Link Units Section 6-5 4. Any node which is not active in the network retains the status that existed immediately prior to the generation of the communications error. 5. Only the PLC operation status and PLC error status will be refreshed for nodes that are not participating in a data link that is active in the network.
Section 6-5 Commands and Responses for Controller Link Units 6-5-10 BROADCAST TEST DATA SEND Broadcasts test data to all nodes in a specified network. Command Block 2,000 bytes max. Command Test data code There is no response to this command. The control data must be set as follows when this command is issued: Destination node address: FF (Hex) (for broadcasting the data)
Commands and Responses for Controller Link Units Section 6-5 Model CS1W-CLK23 CS1W-CLK21(-V1) CJ1W-CLK23 CJ1W-CLK21(-V1) Parameter Response Max. no. of 0040 hex, fixed 0027 hex, fixed stored records (Decimal: 64) (Decimal: 39) 64 records max. 39 records max. No. of stored 0001 to 0040 hex 0001 to 0027 hex records...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs 6-6-1 Command Codes Command PLC mode Name Page code MONITOR PROGRAM Valid Valid Valid MEMORY AREA READ Valid Valid Valid MEMORY AREA WRITE Valid Valid Valid...
Page 241
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Memory area Data Data area address Address used in Memory No. of communications area code bytes 1st and 2nd 3rd byte bytes DM Area Word contents DM 0000 to DM 6655 0000 to 19FF 00 to 00 Expansion DM...
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6 Data Configuration The configuration of the various types of data that can be read or written is shown below. The number of bytes required for each type of data is also given.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Memory Areas The following areas can be read. (Refer to 6-6-2 Memory Area Designations for PLC word/bit address designations): Memory area Data Memory area No. of code bytes IR, SR, LR, HR, or Word contents Timer/Counter Completion Flag status...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs 6-6-5 MULTIPLE MEMORY AREA READ Reads the contents of the specified number of non-consecutive memory area words, starting from the specified word. Note If there is an error in the command code or an address, no data will be read. Command Block Command Address...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Response Block 1,990 bytes maximum Command Response Program Beginning address No. of Data code code bytes Parameters Program no. (command and response): Set to 0000 (Hex). Beginning address (command and response): Set an relative byte address with 00000000 (Hex) as the starting address.
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6 No. of bytes (command and response): The command specifies the num- ber of bytes of data to write. This must be an even number of 07C6 (Hex) or smaller (1990 or smaller in decimal). The number of bytes actually written will be returned in the response.
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6 Response Block Command Response code code 6-6-10 CONTROLLER DATA READ Reads the following data: • Controller model and version • Area data • PLC status Command Block Command code Response Block 20 bytes 20 bytes 16 bytes...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs 6-6-11 CONTROLLER STATUS READ Reads the status of the Controller. Command Block Command code Response Block 16 bytes Command Response Fatal error FAL/ Error code code data FALS no. message Status Mode Parameters...
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6 FAL/FALS No. (response): The number of the highest priority FAL/FALS error is returned as BCD between 00 and 99 (decimal) to the second byte. The first byte is always 00 (Hex). If no error has occurred, 0000 (Hex) is returned.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Parameters Year, month, date, hour, minute, second, day (command): Each specified value is expressed in BCD. The ranges for setting these items are shown in the following table. Parameters Range Year 00 to 99 (rightmost 2 digits) Month...
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6 Response Block Command Response code code Note The bits (flags) in the following memory areas can be force-set or force-reset. Memory area Data IR, SR, LR, HR, and AR Bit status areas Timer/Counter Completion Flag status...
Section 6-7 Response Codes IR, SR, LR, HR, and AR Areas: 15 14 13 12 11 10 Bit 14 Bit 12 Bit 10 Bit 8 Bit 6 Bit 4 Bit 2 Bit 0 Bit 5 Bit 3 Bit 1 Bit 15 Bit 13 Bit 11 Bit 9...
Section 6-7 Response Codes 6-7-2 Network Relay Errors A network relay error will occur whenever a command cannot reach the desti- nation. These errors can occur for several reasons: 1) Data was not success- fully passed between two Link Units, 2) Data was not passed successfully between a Link Unit and another Unit, such as the PLC’s CPU Unit, or 3) The destination of a gateway does not exist.
Section 6-7 Response Codes Example 1 In this example, data cannot be transferred between Controller Link Units due to some cause such as a routing table error. MRES – – SRES PS: Power Supply Unit CPU: CPU Unit Transmission CLK: Controller Link Unit Response SNT: SYSMAC NET Link Unit Example 2...
Page 256
Section 6-7 Response Codes Main code Sub- Probable cause Remedy code 01: Local node error Local node not part of Network Add to Network. Token time-out, node address too large Set the local node’s node address below the maximum node address. Number of transmit retries exceeded Check communications with ECHOBACK TEST.
Page 257
Section 6-7 Response Codes Main code Sub- Probable cause Remedy code 05: Routing error Destination node address is not set in Set the destination node address in the the routing table. routing table. Routing table isn’t registered. Set the source nodes, destination nodes, and relay nodes in the routing table.
Page 258
Section 6-7 Response Codes Main code Sub- Probable cause Remedy code 20: Read not possible The data is protected. Execute the instruction again after issuing the PROGRAM AREA PROTECT CLEAR command to the PLC. An attempt was made to download a Check the file name and either interrupt ser- file that is being uploaded.
Page 259
Section 6-7 Response Codes Main code Sub- Probable cause Remedy code 22: Not executable in cur- The mode is wrong (executing). Check the operating mode. rent mode Data links are active. Check the data link status before execution. The mode is wrong (inactive). Check the operating mode.
Page 260
Section 6-7 Response Codes Main code Sub- Probable cause Remedy code 26: Command error The specified area is not protected. The program area is not protected, so it isn’t This response code will be returned if necessary to clear protection. an attempt is made to clear protection on an area that is not protected.
Page 262
SECTION 7 Network Interconnections This section describes the method used to connect multiple networks through CS/CJ-series, CVM1, and CV-series PLCs. The section also describes remote programming and monitoring with Programming Devices. What is Network Interconnection? ....... . . 7-1-1 Interconnecting Controller Link Networks.
Section 7-1 What is Network Interconnection? What is Network Interconnection? Network interconnection enables commands and responses for the message service to be sent and received across multiple networks. The four networks listed below can be interconnected to achieve this. FA Networks •...
Page 264
Section 7-1 What is Network Interconnection? Bridge Gateway Controller Link Controller Link SYSMAC NET Controller Link Data Data Data and communications protocol gateway • Although a C200HX/HG/HE PLC supports multiple (maximum of 2) Com- munications Units, it cannot function as a data bridge or a data and com- munications protocol gateway.
Section 7-2 Remote Programming and Monitoring Remote Programming and Monitoring A remote PLC can be programmed and monitored across a network from a Programming Device connected to a PLC. 7-2-1 Local Networks SYSMAC Support Software and CV Support Software A Programming Device connected to a C200HX/HG/HE, CVM1, or CV-series CPU Unit can program and monitor a C200HX/HG/HE, CVM1, or CV-series PLC on the same network.
Remote Programming and Monitoring Section 7-2 CX-Programmer A CX-Programmer connected to a CS/CJ-series, C200HX/HG/HE, CVM1, CV-series, or CQM1H CPU Unit can program and monitor a CPU Unit on the same network. Programming and monitoring are possible, including CPU Units that are different to the one to which the Programming Device is con- nected.
Remote Programming and Monitoring Section 7-2 CX-Programmer A CX-Programmer connected to a CS/CJ-series, C200HX/HG/HE, CVM1, CV-series, or CQM1H-series CPU Unit can program and monitor any other PLC on another Controller Link Network. Other types of PLC, different to the one to which the CX-Programmer is connected can also be programmed or monitored on remote networks.
Section 7-3 Routing Tables CX-Programmer A CX-Programmer connected to a CS/CJ-series, C200HX/HG/HE, CVM1, CV-series, or CQM1H-series CPU Unit can program and monitor any other PLC on a different type of network (Ethernet, SYSMAC NET, or SYSMAC LINK) through a CS/CJ-series, CVM1, or CV-series PLC. Programming Device CX-Programmer Controller Link Network...
Setting Routing Tables Section 7-4 2. The network address is the address of the network connected to the Unit (between 1 and 127). The address is set when the local network table is created. Relay Network Table A relay network table provides the node and network addresses correspond- ing to the initial relay point (first point the data must go to) en route to a target network (end network) not directly connected to the local PLC.
Section 7-4 Setting Routing Tables 3. Make sure that the routing tables are properly set at all nodes on the net- work. If a message is sent to a node without correct routing tables, trans- mission will not work properly and a response may not be returned. 4.
Section 7-4 Setting Routing Tables SIOU Unit No.: Unit number of the Communications Unit (operating level for C200HX/HG/HE PLCs; always 0 for CQM1H-series Units). (CS/CJ-series, CVM1, or CV- series: 0 to 15, C200HX/HG/HE: 0, 1, CQM1H-series: 0) Set the unit number of all Communications Units (SYSMAC NET Link Units, SYSMAC Link Units and Controller Link Units) as well as the address of network connected to it.
Setting Routing Tables Section 7-4 7-4-5 Connecting to the PLC Connect the Programming Device to a PLC in the network to transfer the rout- ing tables. All PLCs receiving the routing table settings must have power turned ON for the transfer. Note The Programming Device must be disconnected and then reconnected to a PLC on each network.
Section 7-4 Setting Routing Tables 7-4-8 Example Routing Table Settings This section shows examples of routing table settings. Example 1 The example below shows local network table settings when multiple CPU Bus Units are mounted in a single CVM1 or CV-series PLC. SYSMAC NET Link System Network address B Controller Link System...
Page 274
Section 7-4 Setting Routing Tables Example 3 The network structure example in the figure below shows routing tables for all nodes. Unit 5 Node 6 Network 10 Unit 3 Unit 4 Node 4 Node 5 Unit 2 Unit 7 Node 3 Node 15 Network 20 Network 30...
Page 275
Section 7-4 Setting Routing Tables Routing Tables on PLC 5 Local Network Table Relay Network Table SIOU Relay Netwk unit# Netwk PC ID Netwk Node Routing Tables on PLC 6 Local Network Table Relay Network Table SIOU Relay Netwk unit# Netwk PC ID Netwk...
Page 276
SECTION 8 Communications Timing This section explains details on Controller Link Network communications. Refer to this section for network communications that require accurate communications timing. Communications Mechanism ........8-1-1 Data Transmissions over the Network .
Section 8-1 Communications Mechanism Communications Mechanism 8-1-1 Data Transmissions over the Network Controller Link Token (right to send) In a Controller Link Network, token passing is used to control network access. The right to send, called a “token,” circulates around the network. A node that receives the token is allowed to send data.
Section 8-1 Communications Mechanism Check Check Token circulation Polling cycle Token circulation Polling cycle cycle cycle Communications cycle time Communications cycle time Polling Node Each Controller Link Network always has a Unit that controls communications within the network. This Unit is called the “polling node.” Normally, the node that has the smallest node address in the network is the polling node (see note).
Section 8-1 Communications Mechanism If the node is always to be connected as a polled node when the power is turned on, set it as a polled node. If the node can become a polling node when the power is turned on, set it as a polling node. One of the nodes set as a polling node will serve as the actual polling node.
Section 8-2 Communications Cycle Time 8-1-4 Specifying Network Parameters The network parameters can be specified from the Controller Link Support Software. This section describes only the allowable setting range for each net- work parameter. Refer to the Controller Link Support Software Operation Manual (W308) for setting procedures.
Section 8-2 Communications Cycle Time The number of bytes in each message differs according to the instruction being issued. Instruction When sent When received Number of words to be sent × 2 + SEND RECV Number of words to be received ×...
Section 8-3 Data Link I/O Response Time The number of bytes in each message differs according to the instruction being issued. Instruction When sent When received Number of words to be sent × 2 SEND + 18 RECV Number of words to be received ×...
Section 8-3 Data Link I/O Response Time CVM1 and CV-series PLCs When a CVM1 or CV-series CPU Unit is operating in asynchronous mode, Under Asynchronous data exchange with the Controller Link Unit is executed as interrupt process- ing during peripheral processing, regardless of the cycle time of PLC instruc- Operation tion execution.
Section 8-3 Data Link I/O Response Time PLCs Words per data exchange CS/CJ-series PLCs Approx. 7,800 words CVM1 and CV-series PLCs Approx. 3,700 words C200HX/HG/HE PLCs Approx. 4,000 words CQM1H-series PLCs Approx. 1,200 words Note 1. Use the above equations only if only one Controller Link Unit is mounted on the PLC.
Page 285
Section 8-3 Data Link I/O Response Time CS/CJ-series, CVM1, or CV-series PLC Under Synchronous Operation, C200HX/HG/HE PLC, or CQM1H-series PLC Maximum Data Link I/O Response Time Input I/O refresh Input device Data exchange Input ON delay 1 cycle PLC at node #1 Program Data link transmission Communications...
Page 286
Section 8-3 Data Link I/O Response Time 12,000 to 15,600 (approx.) words: × 3 15,600 (approx.) to 20,000 words: × 4 If there is a node with more than 3,850 send words, however, the factors become × 5 and × 6. Noise may increase I/O delays.
Page 287
Section 8-3 Data Link I/O Response Time CVM1 and CV-series PLCs Under Asynchronous Operation Maximum Response Time Input Input device I/O refresh Input ON delay 1 cycle Program PLC at node #1 Peripheral servicing interval Controller Link Unit transmission processing Data link transmission Communications Controller Link Unit transmission processing...
Page 288
Section 8-3 Data Link I/O Response Time Assume that the peripheral servicing interval of the PLCs at nodes #1 and #7 is 10 ms. The equation for maximum data link I/O response time is as follows: Input ON delay 1.5 ms Cycle time of PLC at node #1 ×...
Section 8-4 Message Delay Times Assume that the sum of the instruction execution time and I/O refresh time for the PLCs at nodes #1 and #7 is 1 ms. The equation for minimum data link I/O response time is as follows: Input ON delay Instruction execution time + I/O refresh 1 ms...
Page 290
Section 8-4 Message Delay Times Max. transmission delay = Link Unit servicing interval (source node) + Link service processing (source node) + Transmission processing + Communica- tions cycle time + Transmission delay + Reception processing + Link Unit ser- vicing interval (destination node) + Link service processing (destination node) Link Servicing Interval (Source and Destination Nodes) Link servicing depends on the execution mode of the PLC.
Page 291
Section 8-4 Message Delay Times Link servicing interval (source node) PLC cycle time (source node) Link service processing (source node) 1 ms 0.00075 × 256 + 2 = 2.192 ≅ Transmission processing 2.2 ms 600 × 4 + 110 × 32 + 320 × 0 + 4 × Communications cycle time (See note.) 0 + 2,290 = 8,210 µs ≅...
Page 292
Section 8-4 Message Delay Times Link Servicing Interval (Source and Destination Nodes) Link servicing depends on the execution mode of the PLC. The execution modes on the source and destination modes need not be the same. For synchronous execution, links are serviced once per PLC execution cycle. For asynchronous execution, links are serviced according to the peripheral servicing interval.
Section 8-4 Message Delay Times Link Unit servicing (source node) × 2 PLC cycle time (source node) × 2 Link service processing (source node) × 2 1 ms × 2 = 2 ms Transmission processing (command) 2 ms Communications cycle × 2 (See note.) (600 ×...
Page 294
Section 8-4 Message Delay Times Link Servicing Interval (Source and Destination Nodes) Link service processing is the same as the PLC’s peripheral servicing and is approximately 1 ms for Controller Link Units. Transmission Processing Number of words transferred × 0.00125 ms + 3 ms Responses: Communications Cycle Time (with Data Links Inactive) See 8-2 Communications Cycle Time (on page 255).
Page 295
Section 8-4 Message Delay Times RECV(98) Instruction The following indicates the data flow which will yield the maximum transfer Maximum Delay Time interval from the time the RECV(98) instruction is executed by the user pro- gram to the time the Controller Link Unit stores the data in the local Unit’s memory area.
Page 296
Message Delay Times Section 8-4 Reception Processing Commands: 2.3 ms Responses: Number of words transferred × 0.00125 ms + 2.3 ms The I/O response time might increase due to noise or restrictions on the num- ber of frames that can be transmitted while the data link is operating. Example In this example, the maximum transmission delay is calculated for an instruc- tion receiving 256 words of data in a system with 32 nodes.
Page 298
SECTION 9 Troubleshooting and Maintenance This section provides information on troubleshooting errors that occur during Controller Link Unit operation, as well as daily inspection, cleaning, and other maintenance procedures. Troubleshooting Using Indicators........9-1-1 CS/CJ-series Controller Link Units .
Troubleshooting Using Indicators Section 9-1 Troubleshooting Using Indicators This section describes the errors indicated by the Controller Link Unit indica- tors and possible remedies. 9-1-1 CS/CJ-series Controller Link Units CS-series Unit CJ-series Unit CLK21-V1 CLK21-V1 ERH M/A LNK RD RUN: Operating ERC: Communications error...
Page 300
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Not lit Not lit Not lit Not lit Power is not being sup- Check the power supply plied correctly to the PLC. voltage and supply at the recommended voltage. The Controller Link Unit Secure the Controller Link has become loose.
Page 301
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Not lit Terminating resistance is Turn ON the terminating not set correctly. (Wired resistance at the nodes at Unit) both ends of the Network and turn it OFF at all other nodes.
Page 302
Troubleshooting Using Indicators Section 9-1 Troubleshooting with LNK and M/A Indicators Data Link Cannot be The following table describes the LNK and M/A indicators at the startup node Started and their use in troubleshooting when a data link cannot be started. Starting a data link depends on the Controller Link Unit operating normally and participating in the Network.
Page 303
Section 9-1 Troubleshooting Using Indicators Node Cannot Participate The following table describes the LNK and M/A indicators when a node can- in Data Link not participate in the data links. Data link participation depends on the Controller Link Unit operating normally and participating in the Network.
Page 304
Section 9-1 Troubleshooting Using Indicators Configuring a Network with 33 Nodes or More Problem Status Cause and remedy The node is not The ERC indicator is The Wired Network 62 Node Enable Bit present in the net- ON in the CS1W- in the DM Parameters Area is turned work.
Page 305
Section 9-1 Troubleshooting Using Indicators Problem Status Cause and remedy The data link status The data link status The default area for storing data link is showing statuses storage area is set to status is the Special I/O Unit Area. The of 32 nodes only.
Section 9-1 Troubleshooting Using Indicators Configuring a Network with 32 Nodes or Less Problem Status Cause and Remedy The node is not The node with the Reset the node address between 1 and present in the net- ERC indicator ON is 32, then turn the power OFF and ON work.
Page 307
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Not lit Not lit Not lit Not lit Power is not being sup- Check the power supply plied correctly to the PLC. voltage and supply at the recommended voltage. The Controller Link Unit Secure the Controller Link has become loose.
Page 308
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Not lit Terminating resistance is Turn ON the terminating not set correctly. resistance at the nodes at both ends of the Network and turn it OFF at all other nodes. Cables are not connected Check the cable connec- correctly.
Page 309
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Data link operating normally. Flashing --- There is an error in the data If the ERH indicator is lit, reset link tables. the data link tables. When manual setting is used, Refer to 5-2-2 Manual Setting either data link tables have not and set data link tables for the...
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Data link operating normally. Flashing Lit When manual setting is used, Refer to 5-2-2 Manual Setting there is an error in the data link and remake the data link table. table.
Page 311
Section 9-1 Troubleshooting Using Indicators • Setting hardware switches. Indicators Probable cause Probable remedy Not lit Not lit Lit Unit operating normally; Network participation nor- mal. Not lit Lit Controller Link Unit faulty. If the ERC indicators still lights when the Unit is mounted on another PLC, replace the Controller Link Unit.
Page 312
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Not lit Terminating resistance is Turn ON the terminating not set correctly. resistance at the nodes at both ends of the Network and turn it OFF at all other nodes. Cables are not connected Check the cable connec- correctly.
Page 313
Section 9-1 Troubleshooting Using Indicators Troubleshooting with LNK and M/A Indicators Data Link Cannot be The following table describes the LNK and M/A indicators at the startup node Started and their use in troubleshooting when a data link cannot be started. Starting a data link depends on the Controller Link Unit operating normally and participating in the Network.
Section 9-1 Troubleshooting Using Indicators Node Cannot Participate The following table describes the LNK and M/A indicators when a node can- in Data Link not participate in the data links. Data link participation depends on the Controller Link Unit operating normally and participating in the Network.
Section 9-2 Status Area and Troubleshooting Troubleshooting with the PWR Indicator indicator Unit status Possible error Probable cause Probable remedy status Power is being sup- plied normally Not lit Power supply error Power supply Cables are loose. Check the cable connections. cables Cables are broken.
Section 9-2 Status Area and Troubleshooting 9-2-1 CS/CJ-series Controller Link Units The status of the Unit and Network is indicated in the following manner in the PLC. Status Area Error Information: CIO 1500 + 25 x (Unit No.) 1: Network parameter error (In PLC's EEPROM) 1: Data link table error (in PLC's EEPROM) 1: Routing table error (in PLC's EEPROM) 1: PLC system setting error...
Page 317
Section 9-2 Status Area and Troubleshooting Note Data link status is valid only when the local node is participating in the data link. Confirm that the Local Data Link Active Bit is ON before referencing the data link status. The statuses of bits 12 to 14 are reflected only when using a CS1W-CLK21- V1, CS1W-CLK23, CJ1W-CLK21-V1, or CJ1W-CLK23.
Page 319
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Probable remedy Communications error is 1: The relevant node is not in Enter the node in the Net- the Network. work. A communications error Conduct an echoback test has occurred as a result of using the Controller Link noise.
Page 320
Section 9-2 Status Area and Troubleshooting Other Status Bit status Probable cause Probable remedy Error log exists (CIO 1500 Error information on the Using the Controller Link + 25 × n, bit 15) is 1: ON Controller Link Unit (an Support Software or an error log) has been FINS command, read the...
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Probable remedy Network parameter error The network parameter Refer to 8-1-3 Network (CIO 1500 + 25 × n, bit 0) data in the CS/CJ CPU Parameters and reset the is 1: ON Bus Unit Area is corrupted.
Page 322
Section 9-2 Status Area and Troubleshooting Network Participation Status: AR 08, AR 09, AR 12, AR 13 Operating level 0 Operating level 1 AR 08 AR 12 AR 09 AR 13 The numbers in the squares indicate node addresses. The corresponding node participation status is as follows: 0: Not part of network 1: Part of network Communications Controller Hardware Error, EEPROM Error: AR 11, AR 15...
Page 323
Section 9-2 Status Area and Troubleshooting Operating Operating level 0 level 1 SR 239 SR 243 Node 2 Node 1 SR 240 SR 244 Node 4 Node 3 SR 241 SR 245 Node 6 Node 5 PLC status 0: Inactive (user program not running) 1: Active (user program running) PLC's CPU Unit error 0: Normal...
Page 324
Section 9-2 Status Area and Troubleshooting Data Link Status: First Data Link Status Word + 0 to + 15 Node 2 Node 1 Node 4 Node 3 Node 6 Node 5 Node 8 Node 7 Node 10 Node 9 PLC status Node 12 Node 11 0: Inactive (user program not running)
Page 325
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Probable remedy Data link participation is 0: The relevant node is not Enter the relevant node in part of data links. data links. If an error occurs, refer to page 278 Node Cannot Participate in Data Link and troubleshoot accordingly.
Page 326
Section 9-2 Status Area and Troubleshooting Other Status Bit status Probable cause Probable remedy Duplicate Operating Lev- The same operating level is If two units are required, els/Refresh Error: set twice within the same set them to different oper- PLC. ating levels.
Section 9-2 Status Area and Troubleshooting 9-2-3 CVM1 and CV-series Controller Link Units The status of the Unit and Network is indicated in the following manner in the PLC. Status Area Error Information: CIO 1500 + 25 × (Unit No.) 1: Network parameter error (In PLC's EEPROM) 1: Data link table error (in PLC's EEPROM) 1: Routing table error (in PLC's EEPROM)
Page 328
Section 9-2 Status Area and Troubleshooting Data Link Status: CIO 1500 + 25 × (Unit No.) + 7 to + 22 Node 2 Node 1 Node 4 Node 3 Node 6 Node 5 Node 8 Node 7 Node 10 Node 9 PLC status Node 12 Node 11...
Page 329
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Probable remedy Communications error is 1: The relevant node is not in Enter the node in the Net- the Network. work. A communications error Conduct an echoback test has occurred as a result of using the Controller Link noise.
Page 330
Section 9-2 Status Area and Troubleshooting Other Status Bit status Probable cause Probable remedy Error log exists (CIO 1500 Error information on the Using the Controller Link + 25 × n, bit 15) is 1: ON Controller Link Unit (an Support Software or an error log) has been FINS command, read the...
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Probable remedy Network parameter error The CPU Unit’s EEPROM Refer to 8-1-3 Network (CIO 1500 + 25 × n, bit 0) data link tables or the net- Parameters and reset the is 1: ON work parameters are cor- data correctly.
Page 332
Section 9-2 Status Area and Troubleshooting Local Data Link Participation Status: IR 90 1: Local node data link participating 0: Local node data link not participating or data link inactive Note Data link status is valid only when the local node is participating in the data link.
Page 333
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Probable remedy Communications error is 1: The relevant node is not in Enter the node in the Net- the Network. work. A communications error Conduct an echoback test has occurred as a result of using the Controller Link noise.
Page 334
Section 9-2 Status Area and Troubleshooting Other Status Bit status Probable cause Probable remedy Error log exists (IR 19015) Error information on the Using the Controller Link is 1: ON Controller Link Unit (an Support Software or an error log) has been FINS command, read the recorded.
Section 9-3 Error Log Bit status Probable cause Probable remedy Network parameter error The CPU Unit’s EEPROM Refer to 8-1-3 Network (IR 19000) is 1: ON data link tables or the net- Parameters and reset the work parameters are cor- data correctly.
Section 9-3 Error Log If the number of records exceeds 64 or 39, the oldest record will be deleted and the most recent error recorded. Error Log Table Configuration Error code Detail Record (Oldest) Hour Year Month Error code Detail Record Hour Year...
Page 337
Section 9-3 Error Log Error Contents Detail code Correction Written to Applicable code EEPROM 1st byte 2nd byte 0003 PLC shared RAM error 01 Hex: 00 Hex Check operating Cyclic environment. 02 Hex: Event 04 Hex: CPU bus link 0004 CPU Bus Unit ID number error 00 Hex 00 Hex...
Page 338
Section 9-3 Error Log Error Contents Detail code Correction Written to Applicable code EEPROM 1st byte 2nd byte 0101 Transmission failed; local node Command block Refer to page 274 not in Network Bits 0 to 7: Troubleshooting Using Indicators and Source node address place the local node Bits 8 to 14:...
Page 339
Section 9-3 Error Log Error Contents Detail code Correction Written to Applicable code EEPROM 1st byte 2nd byte 0109 Transmission failed; destination Command block Increase number of busy Bits 0 to 7: retries or reconfig- ure system to distrib- Source node address ute load.
Page 340
Section 9-3 Error Log Error Contents Detail code Correction Written to Applicable code EEPROM 1st byte 2nd byte 0117 Internal buffer full Command block Increase number of Bits 0 to 7: retries or reconfig- ure system to distrib- Source node address ute load.
Page 341
Section 9-3 Error Log Error Contents Detail code Correction Written to Applicable code EEPROM 1st byte 2nd byte 0216 Backup power supply error (Opti- 00 Hex Backup Check the status of CS/CJ cal Units only) power sup- the backup power ply error dis- supply and power tinction:...
Section 9-3 Error Log Error Status The status of each bit indicates that an error has occurred as given in the dia- gram below. 1: Token timeout error 1: Polling timeout error 1: Communications controller hardware error 1: Polling node was changed 1: Nodes in Network changed (added or removed) 1: Communications controller send error 1: Node address duplication error...
Section 9-4 Troubleshooting Error Messages in CX-Net Data Link Table Check The Communications Unit’s error log (stored in the Unit’s EEPROM) will be displayed, showing each error’s Error occurring time, Error code, Detail infor- mation, and Content of Error. Message Service Reading an Error Log Send the ERROR LOG READ FINS command (command code 2102) to the appropriate node.
Page 344
Section 9-4 Troubleshooting Error Messages in CX-Net Data Link Table Check Note (1) If any errors (except for warnings) are detected during the table check performed when transferring data link tables, the data link tables will not be transferred even if the OK Button is clicked. Remove the cause of the error and then transfer the data link tables again.
Section 9-5 Cleaning and Inspection Error message Troubleshooting Node XX Node size Warning: The total node send The total number of send and receive words exceeds and receive size of ** exceeds 12,000. Controller Link Units with unit version 1.2 or later are 12000 required for data links with 20,000 send and receive words.
Section 9-6 Handling Precautions 9-5-1 Cleaning Conduct the following periodic cleaning to keep the Controller Link Unit in optimum condition. • Wipe the Unit with a dry, soft cloth daily. • For stains that cannot be removed with a dry cloth, dip the cloth in medium strength alcohol (2%), wring the cloth tightly, and then wipe down the Unit.
Remove any lint or threads left from the cloth, and remount the Unit. • When returning a faulty Unit for repairs, always attach a detailed fault report to the Unit and return to you nearest OMRON outlet as listed at the back of this manual.
Section 9-6 Handling Precautions parameter status to other nodes, so there is the chance that network pa- rameters in the entire Network will be damaged. 9-6-2 Setting the Unit after Replacement After replacing a Controller Link Unit, reset the hardware switches, software switches, and data link tables, and wire it in the same manner as the previous Unit.
Page 349
Section 9-6 Handling Precautions CQM1H-series Controller Link Units DM 6400 –: Other settings EEPROM Clear Bit 0: Do not clear EEPROM 1: Clear EEPROM Polled node/polling node 0: Polling node 1: Polled node 2. Turn the power off once, connect the Controller Link Network and turn the power on again.
Section 9-6 Handling Precautions !Caution When a C200HX/HG/HE or CQM1H-series Controller Link Unit has been replaced or a CPU Unit has been replaced for a CS/CJ-series, CVM1, or CV- series Controller Link Unit, do not connect that node to the Network before carrying out the above procedures.
Page 351
Section 9-6 Handling Precautions 4. Set the node address, baud rate, operating level (front DIP switch, C200HX/HG/HE only) and the terminating resistance for the new Unit to the same settings as the previous Unit. (Refer to SECTION 4.) 5. Turn ON only those PLC for which Units were replaced. 6.
Page 352
Section 9-6 Handling Precautions 3. Mount the new Controller Link Unit in the PLC and connect the communi- cations cables. (Refer to SECTION 3.) 4. Set the unit number, node address, baud rate, and the terminating resis- tance for the new Unit to the same settings as the previous Unit. (Refer to SECTION 4.) 5.
Page 354
SECTION 10 Adding Nodes and Editing Active Data Link Tables This section describes the methods used to perform functions without turning OFF the PLC power to the existing network, such as adding nodes to the Controller Link Network and changing data link tables while the data links are active. 10-1 Adding Nodes Using a Repeater Unit.
Section 10-1 Adding Nodes Using a Repeater Unit 10-1 Adding Nodes Using a Repeater Unit 10-1-1 Overview The CS1W-RPT01 Repeater Unit can be used to add new nodes to the net- work without turning OFF the power to the existing network. Example of Adding Nodes Using a T-branch Line System Configuration at Startup System Configuration after Adding Nodes...
Section 10-1 Adding Nodes Using a Repeater Unit 10-1-2 Procedure for Adding Nodes (1) Number of nodes registered in network and Check the operating node addresses conditions and setting System Configuration before Adding Nodes (2) Baud rate setting status of the existing (3) CS1W-RPT01 Repeater Unit connection network.
Page 357
Section 10-1 Adding Nodes Using a Repeater Unit • If automatic settings are used, make sure that the appropriate DM Area parameters have been set. Check that the new data transmission that will be performed due to the new nodes has been considered in the user program for the existing network before adding the nodes.
Page 358
Section 10-1 Adding Nodes Using a Repeater Unit Before connecting the new nodes to the existing network, always set the poll- ing/polled node setting to Polled. If the nodes are connected to the existing network with this setting set to Polling, the corresponding node may become the polling node for the network, which will affect the network in the following ways.
Section 10-2 Changing the Data Link Tables with Active Data Links 10-2 Changing the Data Link Tables with Active Data Links 10-2-1 Overview The data link tables can be changed and data link tables can be allocated for newly added nodes while the system’s data links are active if the following Controller Link Units and Support Boards are used.
Section 10-2 Changing the Data Link Tables with Active Data Links Command re- Change during ceived to change active data links with active data completed links Time Data link area of node with the data link table to be changed Most recent data read from Data immediately Most recent data read from...
Section 10-2 Changing the Data Link Tables with Active Data Links 10-2-5 Procedure for Changing the Data Link Tables with CX- Programmer The procedure for changing a data link table with active data links is shown here using CX-Programmer version 3.2 and the following system configura- tion.
Page 362
Section 10-2 Changing the Data Link Tables with Active Data Links 6. Use the mouse to select node 1, whose data link table is to be changed. 7. Select Online − Transfer to PLC while datalink active. 8. The following message box will be displayed. Click the Yes Button. If the Yes Button is clicked, the current data link table open in CX-Net will be compared with the data link table of the node to be changed.
Page 363
Section 10-2 Changing the Data Link Tables with Active Data Links 10. The Data Link Table Transfer Confirmation Message Box will be displayed. Click the Yes Button to transfer the data link table. The transfer can be can- celled by clicking the No Button. (The active data link table will not be changed if the transfer is cancelled.) 11.
Page 364
Section 10-2 Changing the Data Link Tables with Active Data Links...
Page 365
Section 10-2 Changing the Data Link Tables with Active Data Links...
Page 366
Appendix A Standard Models Controller Link Units Applicable PLC Model number Remarks CS-series PLCs CS1W-CLK21-V1 The CS1W-CLK23 and CS1W-CLK23 CJ1W-CLK23 have expanded data link func- CJ-series PLCs CJ1W-CLK21-V1 tionality (i.e., a maximum CJ1W-CLK23 of 4,000 send words per CVM1 and CV-series PLCs CVM1-CLK21 node).
Page 367
Appendix A Standard Models Communications Cables (Twisted-pair Cables) Model Manufacturer Remarks Li2Y-FCY2 x 0.56 qmm Kromberg & Schubert, German company Komtec Department – Draka Cables Industrial Spanish company 1 x 2 x AWG 20PE + Tr.CUSN + PVC #9207 Belden USA company ESVC 0.5 x 2 C-1362 Bando Densen Co.
Page 368
Appendix A Standard Models Model number Remarks SYSMAC C200HX, C200HE-CPU32/42-(Z)E C200HG, or C200HE C200HG-CPU33/43/53/63-(Z)E or C200HZ PLCs C200HX-CPU34/44/54/64-(Z)E SYSMAC CV500, CV500-CPU01-EV1 Earlier versions of the CV1000, or CV2000 CV1000-CPU01-EV1 CPU Units can also be PLCs (see note 1) CV2000-CPU01-EV1 used. SYSMAC CVM1 PLCs CVM1-CPU01-EV2 Earlier versions of the...
Page 370
Appendix B Memory Areas This appendix provides easy reference to the words in PLC memory areas used by Controller Link Networks. CS/CJ-series PLCs Auxiliary Area Word(s) Bit(s) Function A202 00 to 07 Communications Port Enabled (Network Communi- cations Enabled) Flags A203 to A210 00 to 15 Port #0 to #7 Completion Codes...
Page 371
Appendix B Memory Areas CS/CJ CPU Bus Unit Duplication Error Flag wo CS/CJ CPU Bus Units have been assigned the same unit number. The dupli- Bit A40113 is turned ON when t cated unit number is indicated in A410. CS/CJ CPU Bus Unit Error, Unit Number Flags When an error occurs in a data exchange between the CPU Unit and an CS/CJ CPU Bus Unit, the CS/CJ CPU Bus Unit Error Flag (A40207) is turned ON and the bit in A417 corresponding to the unit number of the Unit where the error occurred is turned ON.
Page 374
Appendix B Memory Areas DM Area: CS/CJ CPU Bus Unit Area The CS/CJ CPU Bus Unit Area (DM Area) is allocated to CS/CJ CPU Bus Units according to the unit numbers assigned to them, as shown below. Each Unit is allocated 100 words, of which 10 words are used. In the Con- troller Link Unit this area is called the DM Area.
Page 375
Appendix B Memory Areas Parameters for Automatically Setting Data Links with Equality Layout: D30000 + 100 × (Unit No.) + 1 to 9 (See page 147.) Area 1 data link start word (BCD) Area 1 type Number of send words per node of area 1 (BCD) Rightmost 4 digits of data link start word of area 2 (DM area) (BCD) Leftmost digit of data link start word of area Area 2 type...
Page 376
Appendix B Memory Areas 1 to 1 Type 1:N allocation type setting (Set value 0002 = 1 to 1 type) N+12 Rightmost 4 digits of start word (BCD) N+13 Area Leftmost digit of area start word (BCD) N+14 Number of common send words for master node (BCD) N+15 Number of individual send words for master node (BCD) N+16...
Page 377
Appendix B Memory Areas Words N+22 through N+25 register nodes that will participate in the data links. The numbers shown in the table are the node addresses. The bit status for each node address indicates whether the node is to participate in the data links.
Page 378
Appendix B Memory Areas Operating Level Status: SR 252 (See pages 192, 298.) 1: Local node data link participating Network Instruction Enable Flag 0: Disabled (operating) Operating level 1 1: Enabled (not operating) Network Instruction Error Flag 0: Normal completion 1: Error 1: Local node data link participating Network Instruction Enable Flag...
Page 379
Appendix B Memory Areas Communications Controller Hardware Error, EEPROM Error: AR 11, AR 15 (See page 297.) Operating level 0 Operating level 1 AR 11 AR 15 1: Communications controller hardware error 1: EEPROM error Service Time: AR 16, AR 17 (See page 297.) Operating level 0 Operating level 1 AR 16...
Page 380
Appendix B Memory Areas Routing Tables (DM 6450 to DM 6499) (See page 247.) When the use of routing tables is enabled by the software switch setting, the routing tables are stored in these words. Do not use them for anything else. CVM1 and CV-series PLCs Auxiliary Area Word(s)
Page 381
Appendix B Memory Areas CPU Bus Unit Numbers Bits A41000 through A41015 correspond to CPU Bus Units #0 through #15, respectively. When two CPU Bus Units have the same unit number, the bits corresponding to the unit numbers of the CPU Bus Units involved are turned ON.
Page 382
Appendix B Memory Areas Local Data Link Participation Status: CIO 1500 + 25 × (Unit No.) + 6 (See page 302.) 1: Local node data link participating 0: Local node data link not participating or data link inactive Data Link Status: CIO 1500 + 25 × (Unit No.) + 7 to + 22 (See pages 158, 303.) When the first data link status word for manually set data link tables or for automatically set data links is not set or is set to 0, the data link status is stored in the words shown below.
Page 383
Appendix B Memory Areas DM Area: CPU Bus Unit Area The CPU Bus Unit Area (DM Area) is allocated to CPU Bus Units according to the unit numbers assigned to them, as shown below. Each Unit is allocated 100 words, of which 10 words are used. In the Controller Link Unit this area is called the DM Area.
Page 384
Appendix B Memory Areas Parameters for Automatically Setting Data Links: DM 2000 + 100 × (Unit No.) + 1 to + 9 (See page 149.) Area 1 data link start word (BCD) Area 1 type Number of send words per node of area 1 (BCD) Rightmost 4 digits of data link start word of area 2 (BCD) Leftmost digit of data link start word Area 2 type...
Page 385
Appendix B Memory Areas Communications Unit Flags, Control Bits, and Status Information Local Data Link Participation Status: IR 90 (See page 307.) 1: Local node data link participating 0: Local node data link not participating or data link inactive Data Link Status: IR 91 to IR 93 (See pages 158, 307.) When the first data link status word is not set or is set to the default (0000) for either the manually set data link tables or automatically set data link tables, the data link status is stored in the following words for nodes 1 to 6 only.
Page 386
Appendix B Memory Areas Controller Link Status Information Error Information: IR 190 (See page 306.) 1: Network parameter error (In Controller Link's EEPROM) 1: Data link table error (in Controller Link's EEPROM) 1: Routing table error (in Controller Link's EEPROM) 1: EEPROM error 1: Duplicate node address setting error 1: Inconsistent network parameters...
Page 387
Appendix B Memory Areas Automatic Data Link Parameters: DM 6401 to DM 6409 (See page 152.) DM 6401 Area 1 data link start word (BCD) DM 6402 Area 1 type DM 6403 Number of send words per node of area 1 (BCD) DM 6404 Rightmost 4 digits of data link start word of area 2 (BCD) Leftmost digit of data link start word...
Page 388
Appendix C Using the Relay Terminal Block This appendix describes how to use the CJ1W-TB101 Wired Controller Link Unit Relay Terminal Block. Using a Relay Terminal Block enables replacing a Controller Link Unit while network communications are still in progress. Appearance Name Model number...
Page 389
Appendix C Using the Relay Terminal Block B A U D R A TE SW 1 Relay Terminal Block TE R S W Connect the Relay Terminal Block. 4. Attach the terminal block cover to the communications terminal block on the Controller Link Unit. B A U D R A TE SW 1...
Page 390
Appendix C Using the Relay Terminal Block Note 1. Signal will still be flowing through the communications cables during the replacement procedure if the network is still operating. Use an insulated screwdriver and be very sure that the metal portions of the Relay Terminal Block or the communications cable crimp terminals do not come into contact with any conductive material.
Page 391
Appendix C Using the Relay Terminal Block...
Page 392
Index Numerics CONTROLLER DATA READ CONTROLLER STATUS READ ERROR CLEAR 1 to 1 type FORCED SET/RESET 1:N allocations FORCED SET/RESET CANCEL 1 to 1 type MEMORY AREA READ chain type MEMORY AREA WRITE common type MULTIPLE FORCED STATUS READ 4-bit format MULTIPLE MEMORY AREA READ 8-bit format PROGRAM AREA READ...
Page 393
Index settings C200HX/HG/HE PLCs CJ Series changing during operation settings CQM1H-series PLCs CJ-series PLCs creating manually CQM1H Series CVM1 and CV-series PLCs settings specifications CQM1H-series PLCs data links CS Series 1 to 1 type settings automatic setting CS-series PLCs CVM1 and CV Series examples settings chain type...
Page 394
Network Instruction Error Flag models SEND/RECV SEND/RECV operations status troubleshooting network forced status interconnecting Controller Link networks canceling interconnecting other OMRON networks controlling other remote networks reading parameters specifying relay errors remote Controller Link networks I/O tables node addresses indicators...
Page 395
Index reading CS/CJ-series PLCs reading controller status CVM1 and CV-series PLCs receiving routing table settings message service status SEND/RECV instructions polling cycle settings definition baud rates polling node C200HX/HG/HE Units CJ-series Wired Units setting CQM1H Units precautions CS-series Wired Units applications xxiv CVM1 and CV Units...
Page 396
Index timers changing PV reading Completion Flag status reading PV troubleshooting status area status flags using indicators unit numbers setting CJ-series Wired Units CS-series Wired Units CVM1 and CV Units Wired Network 62 Node Enable Bit wiring Wired Controller Link Units...
Page 398
Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W309-E1-11 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
Page 399
Revision History Revision Date Revised content code February 2003 “PC” changed to “PLC” throughout the manual. Information related to the CQM1H-CLK21 was added and information related to the CS1W-CLK21 was removed. In addition, the fol- lowing changes were made. Page v: Changes made to information on product references. Pages 17, 73, 104, 272: Information on software switches added.
Page 400
Revision History Revision Date Revised content code September 2007 Added the CS1W-CLK13, CS1W-CLK23, CJ1W-CLK23, CS1W-CLK53, 3G8F7-CLK13-E, 3G8F7- CLK23-E, and 3G8F7-CLK53-E throughout the manual. Page vii: Added note and information on CX-Integrator. Pages 7, 168, 180: Added note. Page 7: Changed the maximum number of errors to 64. Page 8: Changed information in table and paragraph before Message Service.
Need help?
Do you have a question about the SYSMAC CS1W-RPT01 and is the answer not in the manual?
Questions and answers