Page 5
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 9
The following three manuals are directly related to application of the Controller Link Network. Name Contents Cat. No. (suffixes omitted) SYSMAC CS1W-CLK11/21, CJ1W- Installation, setup, and operating procedures for the Con- W309 CLK21, C200HW-CLK21, CVM1-CLK21. troller Link Units. Controller Link Units are used to connect CQM1H-CLK21 Controller Link Units PCs to a Controller Link Network.
Page 10
Appendix A provides a list of standard OMRON products related to Controller Link Networks, and Appendix B provides easy reference to the words in PC memory areas used by Controller Link Net- works.
Page 11
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.
Page 12
It is extremely important that a PC and all PC Units be used for the specified 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 PC System to the above mentioned applica- tions.
Page 13
Operating Environment Precautions • The PC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors. As a counter- measure for such problems, external safety measures must be provided to ensure safety in the system.
Page 14
Applications Precautions Applications Precautions Observe the following precautions when using the Controller Link Unit. :$51,1* 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 15
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 16
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).
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 (PCs), CS-series PCs, CJ-series PCs, CVM1 PCs, CV-series PCs, CQM1H-series PCs, and IBM PC/AT or compatible computers.
Page 19
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.
Overview Section 1-1 Note Since the C200HX/HG/HE PCs do not support the CMND instructions, arbi- trary commands cannot be issued. RAS performs real-time monitoring of the network status. If an error occurs in the network, RAS records and displays the time and contents of the error. Status Area Data Link Status Area When the data link function is used, the data link status is reflected in the data...
Page 21
Section 1-1 Overview function enables users to receive only the required data, thereby increasing data link efficiency. Message Service The message service can send and receive up to 2,012 bytes of data (includ- ing the FINS header), allowing high volumes of data to be sent and received without having to split it up.
Section 1-2 Specifications and Configurations with nodes in interconnected networks through the CVM1 or CV-series PC. Up to three network levels are possible. Note CS/CJ-series PC cannot be connected directly to SYSMAC NET networks and CJ-series PC cannot be connected directly to SYSMAC LINK networks The programming and monitoring of other PCs on the network can be con- ducted from Programming Devices connected to the PC’s CPU Unit.
Specifications and Configurations Section 1-2 1-2-2 General Specifications General specifications are the same for the C200HX/HG/HE, CS-series, CJ- series, CVM1, CV-series, and CQM1H-series PCs. 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)
Section 1-2 Specifications and Configurations 1-2-4 Controller Link Unit Models and PCs Wired System There are four Controller Link Units: One for CVM1 and CV-series PCs, one for CS/CJ-series PCs, one for the C200HX/HG/HE PC, and one for CQM1H- series PCs. Item Specifications Model...
Section 1-2 Specifications and Configurations Item Model CVM1-CLK21 CQM1H-CLK21 External appearance Installation None required. None required. devices CVM1 and CV-series PCs CQM1H-CPU51/61 Max No. of 4 maximul 1 maximum Units per PC Power Supply Unit CPU Backplane Unit Of these 3/5/10 slots 14, 16, or 21 slots,...
Section 1-2 Specifications and Configurations Communications Cables The following shielded twisted-pair cables are recommended for Wired Con- troller Link Network connections. 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...
Specifications and Configurations Section 1-2 C200HX/HG/HE and CQM1H-series PCs CVM1 and CV-series PCs Controller Controller Nodes Link Unit Link Unit Nodes CPU Unit CPU Unit Controller Link RS-232C IBM PC/AT or Support Software compatible Transmissions CS1-series PCs Controller Nodes Link Unit Setting data link tables CPU Unit RS-232C...
Page 29
Section 1-2 Specifications and Configurations The Controller Link Support Software can also be used with the Controller Link Support Board. Controller Link Support Software Menu Overview • Edit table • Save table • Print table Menu items: Data Link • Copy 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...
Section 1-4 Basic Procedures Basic Procedures Preparations C200HX/HG/HE and CQM1H-series PCs 1,2,3... 1. Set the node address on the front rotary switches. • 01 to 32 2. Set the baud rate and operating level on the front DIP switch. • 2 M, 1 M, or 500 Kbps •...
Page 35
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 .
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.
Data Links Procedures Section 2-1 6. Set the data link mode. Contents Method Nodes Page Set data link mode to Use the SYSMAC Data link startup node manual. Support Software or only Programming Con- The node that is used sole. to start the data link is called the startup node.
Data Links Procedures Section 2-1 9. Stop the data links. Contents Method Nodes Page Stop the data links. Switch the Data link Any node that is active Start/Stop Bit (listed in the data link below) from OFF to ON using either the Programming Device, the user program, the Controller Link Sup-...
Section 2-1 Data Links Procedures 4. Connect the Programming Device. Contents Method Nodes Page Connect the Program- Use the special con- CS/CJ-series, CVM1, ming Console or Con- nection cable. and CV-series PCs troller Link Support only Software. 5. Create I/O tables. Contents Method Nodes...
Message Service Procedure Section 2-2 AR 0704 (operating level #1) × CVM1/CV Series: Word 0 of DM 2000 + 100 CQM1H Series: AR 0700 8. Stop the data links. Contents Method Nodes Page Stop the data links. Switch the Data link Any node that is active Start/Stop Bit (listed in the data link...
Page 41
Section 2-2 Message Service Procedure 5. Register routing tables if using inter-network connections. Contents Remarks Page a. Set the local network table b. Set the relay network table Note Routing tables are required if any of the CVM1 and CV-series CPU Units in the Network has been manufactured on or before April 1996.
Page 43
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 .
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 (Refer to p.29 and 218) Indicators LED indicators that display the Unit and network status.
Page 45
Section 3-1 Component Names and Functions 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 PC error, PC interface error, EEPROM (PC error)
Section 3-1 Component Names and Functions Dimensions (Unit: mm) 3-1-2 CJ-series Controller Link Units CLK21 Indicators (Refer to page 29, page 218) LED indicators that display the Unit and network status. ERH M/A LNK RD UNIT Unit Number Switch (Refer to page 52) One rotary switch.
Page 47
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 48
Section 3-1 Component Names and Functions Dimensions (Unit: mm) CLK21 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 p. 34 and 218) Indicators LED indicators that display the Unit and network status. NODE NO. (Refer to p. 59) 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 50
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 ON. (terminating Not lit Terminating resistance switch OFF. resistance) ERC (communica- Communications error, node address tions error) setting error (same address set twice), or hardware error.
Section 3-1 Component Names and Functions Dimensions (Unit: mm) 34.5 CLK21 NODE NO. #0, #1 BAUD RATE SHLD 3-1-4 CVM1 and CV-series Controller Link Unit (Refer to p. 36 and 226) Indicators CLK21 LED indicators that display the Unit and network status. (Refer to p.
Page 52
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 ON. (terminating Not lit Terminating resistance switch OFF. resistance) ERC (communica- Communications error, node address tions error) setting error (same address set twice), or hardware error.
Section 3-1 Component Names and Functions Dimensions (Unit: mm) 34.5 CLK21 UNIT NODE BAUD RATE BAUD RATE BIT2 BIT1 RATE 2MBP 1MBP 500KBP TER SW BD H BD L SHLD 3-1-5 CQM1H-series Controller Link Unit (Refer to p. 38 and 218) Indicators LED indicators that display the Unit and network status.
Page 54
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 ON. (terminating Not lit Terminating resistance switch OFF. resistance) ERC (communica- Communications error, node address tions error) setting error (same address set twice), or hardware error.
Section 3-2 Installation Dimensions (Unit: mm) 122.8 bit/s 15.8 Installation The Controller Link Unit is mounted onto a CPU Backplane or Expansion CPU Backplane for use. For detailed information on into a PC installation proce- dures, refer to the PC Installation Guide. Note 1.
Section 3-2 Installation 3-2-1 C200HX/HG/HE PCs Up to two C200HX/HG/HE Controller Link Units can be mounted on the CPU Rack. Controller Link Units cannot be mounted to an Expansion I/O Rack or a Slave Rack. Note Tighten the screws on the Backplane to a torque of 1.2 N • m. Tighten the screws on the Bus Connection Unit to a torque of 0.4 N •...
Installation Section 3-2 Installing with a PC Card Unit When installing a Controller Link Unit along with a PC Card Unit, mount the Controller Link Unit in the first slot on the left of the CPU Unit. Use the C200HW-CE012 Bus Connection Unit. C200HW-PCU01 PC Card Unit PC Card Unit...
Installation Section 3-2 3-2-3 CS-series PCs Up to a total of four Controller Link Units (wired, optical, and optical ring) for CS-series PCs can be installed in a CPU Backplane or a CS Expansion Rack. Controller Link Units cannot be installed on an C200H Expansion I/O Rack or a SYSMAC BUS Slave Rack.
Section 3-2 Installation 3-2-4 CJ-series PCs Up to a total of four Controller Link Units for CJ-series PCs can be connected in a CPU Rack or a Expansion Rack. (Be sure to secure the Units with the top and bottom sliders.) CPU Rack End Cover 10 Unit max.
Wired Controller Link Unit Wiring Section 3-3 3-2-5 CQM1H-series PCs Only one Controller Link Unit can be connected in a CQM1H-series PC. Con- nect the Controller Link Unit to the left side of the CPU Unit and then connect 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.
Section 3-3 Wired Controller Link Unit Wiring 3-3-1 Communications Cables The following shielded twisted-pair cables should be used for Controller Link Network connections. Model Manufacturer Li2Y-FCY2 x 0.56 qmm Kromberg & Schubert, Komtec Department – Draka Cables Industrial 1 x 2 x AWG 20PE + Tr.CUSN + PVC #9207 Belden...
Section 3-3 Wired Controller Link Unit Wiring Terminal Block Connections Not Unit a Relay Terminal Block CVM1-CLK21 CS1W-CLK21 CJ1W-CLK21 C200HW-CLK21 (End node) (End node) Terminating Terminating TER SW TER SW resistance resistance (OFF) (ON) BD H BD H BD H BD L BD L BD L...
Page 63
Wired Controller Link Unit Wiring Section 3-3 3. Leave the tip of the wire created by twisting the shield exposed and cover the remaining section with a heat-shrinking tube. Wire created by twisting the shield Cover with a heat-shrinking tube Exposed portion for crimp terminal connection...
Page 64
Section 3-3 Wired Controller Link Unit Wiring Approx. 30 mm Approx. 40 mm Approx. 50 mm 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.
Page 65
Section 3-3 Wired Controller Link Unit Wiring work will be isolated from other nodes. Be sure not to pull on the signal lines. Controller Link Unit Transmission not possible Isolated (Transmission not possible) 9. Do not pull on a communication cable. 10.
Page 67
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 PC. 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 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. Note 1.
Section 4-1 CS-series Controller Link Units 4-1-4 Baud Rates Set the following pins for the baud rate settings (DIP switch). Pins 1, 2: Baud rate Pins 3, 4: Not used (must be OFF) Note: The factory default settings are shown above. Note 1.
Section 4-2 CJ-series Controller Link Units 4. The default setting is OFF (not connected). CJ-series Controller Link Units The following settings are required for a Controller Link Unit used with a CJ- series PC. Item Switch Page Unit number Unit number setting switch Node address Node address switches Baud rate...
Page 72
Section 4-2 CJ-series Controller Link Units 4-2-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 PC. Any unit number can be set between 0 and F in hexadecimal (00 to 15 in decimal) UNIT Note: The factory default settings are shown.
Page 73
Section 4-2 CJ-series Controller Link Units 4. Assign node addresses consecutively beginning from 01 whenever possi- ble to minimize Network construction time. 4-2-4 Baud Rates Set the following pins for the baud rate settings (DIP switch). Pins 1, 2: Baud rate Note: The factory default settings are shown.
Section 4-3 C200HX/HG/HE Controller Link Units 4. The default setting is OFF (not connected). C200HX/HG/HE Controller Link Units The following settings are required for a Controller Link Unit used with a C200HX/HG/HE PC. Item Switch Page Node address Node address switches Baud rate Baud rate and operating level switch, pins 1 and Operating level...
Section 4-3 C200HX/HG/HE Controller Link Units 4-3-2 Node Addresses Set the node addresses of each Unit on the Network using the rotary switches on the front of the Unit. The node address is used to identify each node in the Network can be set to any number between 01 and 32.
Section 4-3 C200HX/HG/HE Controller Link Units Note The factory default setting is shown in bold. 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. Setting the Operating With C200HX/HG/HE PCs, Networks can be constructed by mounting up to Level (Pin 4)
Section 4-4 CVM1 and CV-series Controller Link Units 3. The TER LED indicator will light when the terminating resistance switch is set to ON. 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 PC.
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 PC. Any unit number can be set between 00 and 15.
Section 4-4 CVM1 and CV-series Controller Link Units 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. 3. The send sequence for the data link areas is determined according to the sequence of node addresses for automatically set data links.
Section 4-5 CQM1H-series Controller Link Units 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 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.
Page 82
Section 4-5 CQM1H-series Controller Link Units The Controller Link Unit has built-in terminating resistance, which can be con- nected simply by turning ON the slide switch. (The diagram shows the factory setting.) Switch at the front Terminating resistance OFF (default) Not connected.
Page 83
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 (PCs and/or computers) on one network. Data links can be freely created for CS/CJ-series PCs, C200HX/HG/HE PCs, CVM1, CV-series PCs, CQM1H- series PCs, and IBM PC/AT or compatible computers.
Page 85
Section 5-1 What Are Data Links? • Only part of send data can be received and an offset can be used to spec- ify the beginning of the desired part. Manual Setting Options The following options can be set when manually setting data links. Offsets Data of the only the specified number of words can be received starting from the specified word position.
Page 86
Section 5-1 What Are Data Links? Note The Controller Link Support Software contains a function called “Easy Setting” that can be used within the manual data link mode to register the same data links as automatic setting. The “Easy Setting” can be used first, and then the send size of each node and other set- tings can be changed as required.
What Are Data Links? Section 5-1 Application Example of In the following example, the send data from node 1 is split into three parts Using Offsets and each part is received by a different node, i.e., each of the other nodes receives only part of the send data from node 1.
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 PC’s CPU Unit of the startup node, using a PC Pro- gramming Device.
Setting Data Links Section 5-2 2. A data link mode can be set in a data link startup node only. The data link mode setting is determined by the data link mode of the startup node even if the data link mode settings of the nodes participating in the data links are different from the settings in the startup node.
Page 91
Section 5-2 Setting Data Links For details on editing device information setting files, refer to the Con- troller Link Support Software Operation Manual (W308). Transferring from a Computer Node IBM PC/AT or com patible computer Controller Link Support Software Controller Link Support Board Setting data link tables A data link table is created for each node using the Controller Link Support...
Page 92
Section 5-2 Setting Data Links Setting item Setting range Area 1 Data link CIO Area: CIO 000 to CIO 6143 start word LR Area: LR 00 to LR 199 (*) DM Area: DM 0000 to DM 32767 EM Area: Banks 00 to 12, EM 0000 to EM 32767 The same area cannot be set for both area 1 and area 2.
Page 93
Setting Data Links Section 5-2 c) Refer to the Controller Link Support Boards Operation Manual (W307) for information on the Controller Link Support Board. C200HX/HG/HE PCs Setting item Setting range PC model Set the model of the PC’s CPU Unit. Nodes 1 to 32 Set the address of the refresh nodes.
Page 94
Section 5-2 Setting Data Links Setting item Setting range Area 2 Data link IR Area: IR 000 to IR 235, IR 300 to IR 511 start word LR Area: LR 00 to LR 63 DM Area: DM 0000 to DM 5999 EM Area: Banks 00 to 15, EM 0000 to EM 6143 (EM must be installed) The same area cannot be set for both area 1 and area 2.
Page 95
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 0001 to CIO 2540 (*1) LR Area: LR 000 to LR 184 (*2) DM Area: DM 0000 to DM 8176 (CV500/CVM1-CPU01) DM 0000 to DM 24560 (Other CPU Units)
Page 96
Section 5-2 Setting Data Links Setting item Setting range CIO Area: CIO 0000 to CIO 2555 Area 2 Data link LR Area: LR 000 to LR 199 (*) start word DM Area: DM 0000 to DM 8191 (CV500/CVM1-CPU01) 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 97
Section 5-2 Setting Data Links Setting item Setting range Area 1 Data link IR Area: IR 000 to IR 247 start word 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) The same memory area cannot be set for both area 1 and area 2.
Page 98
Section 5-2 Setting Data Links Precautions C200HX/HG/HE, CS/CJ-series, CVM1, CV-series, and CQM1H-series PCs have different-sized memory areas. When data links are manually set, pro- vided the PCs are set so as not to receive data in the areas indicated in the following diagram, the data link setting area is not limited by the small area size of the PC.
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 100
Section 5-2 Setting Data Links Checking the Data Link Tables Transferring the Data Link Tables Saving the Data Link Tables...
Page 101
Section 5-2 Setting Data Links 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 102
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 103
Section 5-2 Setting Data Links Device Information Setting Data Link Tables...
Page 104
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: “Select All” Data links can be automatically created by setting values in the DM parameter area of the PC’s CPU Unit of the startup node. The settings are made using a Programming Console or the CX-Net in the CX-Programmer.
Page 106
Section 5-2 Setting Data Links CS/CJ-series Startup Node Set the following DM parameter area of the PC of the startup node. DM 30000 + 100 × Controller Link Unit number 15 14 13 12 11 10 9 – – – Word N Always specify 0.
Page 107
Section 5-2 Setting Data Links Item Setting range Number of send words Set the number of words in BCD between 0 and 1,000. per node of area 2 The total number of send words of area 1 and area 2 must not exceed 1,000.
Page 108
Section 5-2 Setting Data Links ries, C200HX/HG/HE, or CQM1H-series PC because it is smaller than that of CS/CJ-series PCs. C200HX/HG/HE or Example: IR/CIO Area CQM1H-series PCs CS/CJ-series PCs Available for the data links Not available for the data links 6655 CVM1 or CV-series PCs CS/CJ-series PCs...
Page 109
Section 5-2 Setting Data Links C200HX/HG/HE Startup Node Set the following DM parameter area of the PC of the startup node. Level 0 = DM 6400 Level 1 = DM 6420 15 14 13 12 11 10 9 – – –...
Page 110
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 (*), IR 001 to IR 220, IR 300 to IR 496 Status is stored in an the IR Area only.
Page 111
Section 5-2 Setting Data Links CVM1 or CV-series Startup Node Set the following DM parameter area of the PC of the startup node. N: DM 2000 + 100 × (Unit number of Controller Link Unit) 15 14 13 12 11 10 9 –...
Page 112
Section 5-2 Setting Data Links Item Setting range Number of send words Set the number of words in BCD between 0 and 1,000. per node of area 2 The total number of send words of area 1 and area 2 must not exceed 1,000.
Page 113
Section 5-2 Setting Data Links CQM1H-series PC because it is smaller than that of CVM1, CV-series or CS/CJ-series PCs. C200HX/HG/HE or Example: IR/CIO Area CQM1H-series PCs CVM1, CS/CJ, or CV-series PCs Available for the data links Not available for the data links 2555 C200HX/HG/HE or CVM1, CS/CJ, or CV-series PCs...
Page 114
Section 5-2 Setting Data Links CQM1H-series Startup Node Set the following DM parameter area of the PC of the startup node. 15 14 13 12 11 10 9 – – – DM 6400 0: Always 0. – : Other settings Data link mode 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 area only.
Section 5-3 Starting and Stopping Data Links Data Link Areas Created Node #1 Node #2 Node #3 LR 0 LR 10 Area 1 LR 20 DM1000 DM1200 Area 2 DM1400 Starting and Stopping Data Links Data link must be started after data link areas have been created. Use any of the methods described below for the startup node to start and stop data links.
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 PC to ON using a Program- ming 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 PCs 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 120
Section 5-4 Checking Data Link Status 15 14 13 12 11 10 9 Node 2 Node 1 Node 3 Node 4 Node 6 Node 5 Node 8 Node 7 PC status (see note 1.) Node 10 Node 9 0: Inactive (user program not running) Node 12 Node 11 1: Active (user program running)
Page 121
Section 5-4 Checking Data Link Status 3. When the data link status area is set in the IR, CIO, or LR Area, the data link status will be instantaneously set to 0 when the mode of the PC’s CPU Unit is changed. The flags in the data link status operate as follows: Name Function...
Section 5-4 Checking Data Link Status Data link PC and First data link Setting range Default status mode operating level status word CIO 1500 + 25 × N + 7 to 22 Manual CS/CJ-series PC Specify in the data 16 words in the following link tables ranges CIO: 0 to 6640...
Page 123
Section 5-4 Checking Data Link Status The following example shows an error output program for cases where the local node data link stops. The local node's Communications Error Flag (in the data link status area) will be turned ON if the local node is isolated from the network while the data link is active.
Page 125
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 PCs. 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., PC to PC, PC to computer, and com- puter to PC). The message service can also be used to control operations, such as mode changes.
Introduction Section 6-1 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 128
Introduction Section 6-1 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 129
Section 6-1 Introduction C200HX/HG/HE PCs SEND SEND transmits “n” words beginning with S (the beginning source word for data transmission at the source node) to the “n” words beginning with D (the beginning destination word for data reception at destination node N). Source node Destination node N @SEND(90)
Page 130
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. 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.
Page 131
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 132
Section 6-1 Introduction Note Specify the area code according to the following table. Destination node: CS/CJ-series PC Destination node: C200HX/HG/HE or Destination node: CVM1 or CV- CQM1H-series PC series PC Area Code Area Code Area Code CIO (IR etc.) IR (Internal Relay) TIM (Timer) LR (Link Relay) CPU Bus Link...
Page 133
Introduction Section 6-1 CVM1 and CV-series PCs 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 134
Section 6-1 Introduction Source node Destination node M "m" num- ber of send words (↑)RECV(193) S: Source node beginning send word D: Destination node beginning receive word C: Source node first control data word 10 8 7 "m" number of send words Number of retries 0000 to 03DE (Hex): 1 to 990 words 0 to F (Hex): 0 to 15 retries...
Page 135
Section 6-1 Introduction CQM1H-series PCs 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 136
Section 6-1 Introduction 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. 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.
Page 137
Introduction Section 6-1 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.
Introduction Section 6-1 Note Specify the area code according to the following table. Destination node: CS/CJ-series PC Destination node: C200HX/HG/HE or Destination node: CVM1 or CQM1H-series PC CV-series PC Area Code Area Code Area Code CIO (IR, etc.) (see note 1) IR (Internal Relay) TIM (Timer) (see note 2) LR (Link Relay)
Page 139
Section 6-1 Introduction N. In return, “m” bytes of response data are stored at the source node begin- ning with D (the beginning receive word for storing response data). Destination node N Source node Command "n" bytes Analysis of com- mand (S –1) data...
Page 140
Introduction Section 6-1 CVM1 and CV-series PCs 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 141
Section 6-1 Introduction 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 PCs CMND sends “n” bytes of command data beginning with S (the beginning word for storing command data at the source node) to node N.
Page 142
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”...
Introduction Section 6-1 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 144
Section 6-1 Introduction C200HX/HG/HE PCs 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 Data Memory DM 0000 to DM 6655 Extended Data Memory 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 149
Section 6-3 Using the Message Service C200HX/HG/HE PCs 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 PCs...
Page 150
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 151
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 PC 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 152
Section 6-3 Using the Message Service Simultaneous Execution of Communications Instructions C200HX/HG/HE PCs CS/CJ-series, CVM1, and CV-series PCs Controller Link Unit Controller Link Unit CPU Unit CPU Unit Instruction 1 Port Port Instruction 2 Instruction 1 Operating Instruction 2 Instruction 3 level #0 Instruction 4 Instruction 5...
Page 153
Section 6-3 Using the Message Service PC Programming Examples CS/CJ-series PCs Execution condition 00000 A20207 120002 The transmission program will run when CIO 00000 KEEP 120000 turns ON, provided that the Network Instruction En (See note 1.) abled Flag is ON and the RECV instruction has not been executed.
Page 154
Section 6-3 Using the Message Service (Continued from the previous page) Execution condition The reception program will run when CIO 00001 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 155
Section 6-3 Using the Message Service C200HX/HG/HE PCs Execution condition 00000 25204 31002 The transmission program will run when IR 00000 KEEP(11) 31000 turns ON, provided that the Network Instruction En abled Flag is ON and the RECV instruction has not been executed.
Page 156
Section 6-3 Using the Message Service (Continued from the previous page) Execution condition The reception program will run when IR 00001 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 157
Using the Message Service Section 6-3 CVM1 and CV-series PCs 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 PC memory, or for controlling various operations, without having to create a user’s program at the PC.
Page 159
Section 6-4 FINS Commands and Responses 1 byte 1 byte Word @CMND Command 1 byte 1 byte Word Response Automatically prepared and added. 2 bytes 2,000 bytes max. FINS header Controller CPU Unit Link Unit Automatically pre- Command code Text Computer pared and added.
Commands and Responses for Controller Link Units Section 6-5 MRES Execution result MRES Execution result Parameter error Service interrupted by abort Read not possible 6-4-3 Applicable Units for FINS Commands The parameters used with FINS commands and responses depend on the Unit to which the command is being sent.
Section 6-5 Commands and Responses for Controller Link Units Response Block Command Response code code The DATA LINK START command can be received for either automatically or manually set data links. An error will occur if manually set data links are spec- ified and yet data link tables do not exist.
Section 6-5 Commands and Responses for Controller Link Units For CS/CJ-series and CQM1H-series PCs 20 bytes 20 bytes Command Response Model Version Wired/ code code Network Node Unit Optical address address address Parameters Model, version (response): The Controller Link Unit’s model and version are returned as shown below, each 20 characters in ASCII code.
Page 163
Commands and Responses for Controller Link Units Section 6-5 Response Block Command Response code Active node list Status 1 Status 3 Status 5 Count 1 Count 8 code Operating status Status 2 Status 4 Status 6 Total 6 bytes Total 8 bytes Parameters Operating status (response): The operating status of the data links as fol- lows:...
Section 6-5 Commands and Responses for Controller Link Units Count 1 to Count 8 (response): The total number of times for each of the items listed below is returned as 1 byte of hexadecimal data. Count 1: Number of CRC errors Count 2: Number of token re-sends Count 3: Number of token returns Count 4: Number of token timeouts...
Page 165
Section 6-5 Commands and Responses for Controller Link Units Participation Status of Individual Nodes Byte 1 Node #1 Reserved (0) Byte 2 Node #3 Node #2 0: Not part of network Byte 3 Node #5 Node #4 1: Part of network 0: Normal disconnection (Applicable only for Byte 17...
Section 6-5 Commands and Responses for Controller Link Units Byte 1 Number of error occurrences for node #1 Byte 2 Number of error occurrences for node #2 Byte 3 Number of error occurrences for node #3 Byte 32 Number of error occurrences for node #32 Byte 33 Reserved for system use.
Section 6-5 Commands and Responses for Controller Link Units Data link status for each node Byte 1 Node #1 – Byte 2 Node #2 Byte 3 Node #3 PC status 0: Inactive (user program not running) 1: Active (user program running) Byte 32 Node #32 PC's CPU Unit error...
Page 168
Section 6-5 Commands and Responses for Controller Link Units network. (For details on the BROADCAST TEST RESULTS SEND command, refer to 6-5-10 BROADCAST TEST DATA SEND. Command Block Command code Response Block Command Response Number of code code receptions Parameters Number of receptions (response): The number of times that broadcast test data has been received at the command destination node from the time that the last BROADCAST TEST RESULTS READ command was sent until this...
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)
Section 6-5 Commands and Responses for Controller Link Units The configuration of each error record is as follows: 1st byte 10th byte Error code Details Minute Day Hour Year Month Second Error code, details: These parameters show the contents of errors. For details, refer to 9-3-2 Error Codes.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PCs Commands and Responses for C200HX/HG/HE and CQM1H-series PCs 6-6-1 Command Codes Command PC mode Name Page code MONITOR PROGRAM Valid Valid Valid MEMORY AREA READ Valid Valid Valid MEMORY AREA WRITE Valid Valid Valid...
Page 172
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series Memory area Data Data area address Address used in Memory No. of communications area code bytes 1st and 2nd 3rd byte bytes IR Area 1, 2 Bit status 00000 to 51115 0000 to 01FF 00 to 0F SR Area 1, 2...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PCs Memory Area Code The unit of access (bit or word) and the data code are specified as shown in the following illustration. Access unit Data code 00: Bit 00: CIO, LR, HR, or AR area 10: Word 01: Timer or Counter area 02: Data Memory area...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series No. of items (command): The number of items to be read. Specify 0000 to 03E7 (Hex) (0 to 999 decimal). The command can be completed normally even if zero items are specified. Data (response): The data from the specified words is returned in sequence starting from the beginning address.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PCs The following data can be written. (Refer to 6-6-2 Memory Area Designations- for the word/bit address designations): Memory area Data Memory area No. of code bytes IR, SR, LR, HR, or Word contents Timer/Counter Word contents...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series 6-6-6 PROGRAM AREA READ Reads the contents of the specified number of consecutive program area words starting from the specified word. The program is read a machine lan- guage (object code). A maximum of 1,990 bytes can be read with each com- mand.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PCs Response Block Command Response Program Beginning word No. of code code bytes Parameters Program no. (command and response): Set to 0000 (Hex). Beginning word (command and response): Set a relative byte address with 00000000 (Hex) as the starting address.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series 6-6-9 STOP Changes the PC to PROGRAM mode, stopping program execution. Command Block Command code Response Block Command Response code code 6-6-10 CONTROLLER DATA READ Reads the following data: • Controller model and version •...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PCs Item Meaning Unit (Hex) Program area size The size of PC Setup and program area K words (1K words = 1,024 words; 1 word = 2 bytes)) No. of DM words Total words in the DM area Words (1 word = 2 bytes) Number of Expansion...
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series First byte Second byte 15 14 13 12 11 10 9 1: PC link error 1: Host link error 1: Battery error 1: Remote I/O error 1: Special I/O Unit error 1: I/O verification error 1: System error (FAL) FAL/FALS No.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PCs Command Block Command code Year Month Date Hour Minute Second Day Response Block Command Response code code 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.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series 6-6-15 FORCED SET/RESET Forcibly sets (ON) or resets (OFF) bits/flags or releases forced set/reset sta- tus. Bits/flags that are forced ON or OFF will remain ON or OFF and cannot be written to until the forced status is released. Note This command cannot be used to release the status of Completion Flags for timers or counters.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PCs 6-6-16 FORCED SET/RESET CANCEL Cancels the forced status of all bits/flags that have been forced ON or forced OFF. (“Forced status” is the ON/OFF status of bits/flags which has been forc- ibly retained as write protected.) Command Block Command...
Section 6-7 Response Codes Memory Areas Forced status can be read in the following areas. Refer to 6-6-2 Memory Area Designations for memory area designations. Area Data type Memory area Number of code bytes IR, SR, LR, HR, and PV of word AR areas Timer/counter area Completion Flag status...
Section 6-7 Response Codes If bit 7 of the first byte is ON, a network relay error has occurred. Refer to 6-7- 2 Network Relay Errors for details on troubleshooting the error. If bit 6 or 7 of the second byte is ON, an error has occurred in the PC or com- puter returning the response.
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 187
Response Codes Section 6-7 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 188
Response Codes Section 6-7 Main code Sub- Probable cause Remedy code 10: Command format The command is longer than the max. Check the command format of the com- error permissible length. mand and set it correctly. The command is shorter than min. per- Check the command format of the com- missible length.
Page 189
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 PC. An attempt was made to download a Check the file name and either interrupt ser- file that is being uploaded.
Page 190
Response Codes Section 6-7 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 191
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 193
SECTION 7 Network Interconnections This section describes the method used to connect multiple networks through CS/CJ-series, CVM1, and CV-series PCs. 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 195
Section 7-1 What is Network Interconnection? Bridge Gateway Controller Link Controller Link Controller Link SYSMAC NET Data Data Data and communications protocol gateway • Although a C200HX/HG/HE PC 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 PC can be programmed and monitored across a network from a Programming Device connected to a PC. 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 PC on the same network.
Section 7-2 Remote Programming and Monitoring Units that are different to the one to which the Programming Device is con- nected. Programming Device CX-Programmer Controller Link Network Programming and monitoring CS/CJ-series, CS/CJ-series, C200HX/HG/HE, C200HX/HG/HE, CVM1, CV-series, CVM1, CV-series, or CQM1H PC or CQM1H PC Controller Link Network Programming...
Section 7-2 Remote Programming and Monitoring Programming Device CX-Programmer Controller Link Network Controller Link Network Programming and monitoring CS/CJ-series, C200HX/HG/ CS/CJ-series, C200HX/HG/ CVM1 or HE, CVM1, CV-series, or HE, CVM1, CV-series, or CV-series PC CQM1H-series PC CQM1H-series PC Controller Link Network Controller Link Network CX-Programmer Controller Link...
Section 7-3 Routing Tables Programming Device CX-Programmer Controller Link Network Controller Link Network Programming and monitoring CS/CJ-series, CS/CJ-series, C200HX/HG/ CS/CJ-series PC CVM1, or CV- HE, CVM1, CV-series, or series PC CQM1H-series PC Controller Link Network Ethernet Network CX-Programmer Controller Link Support Software C200HX/ CS/CJ-series PC...
Section 7-4 Setting Routing Tables The table traces the route from the relay point to the end network. The example below shows the routing tables for the route from local node PC1 (network address 1, node address 1) to PC4 (network address 3, node address 2).
Section 7-4 Setting Routing Tables Note Routing tables are required if any of the CVM1 or CV-series CPU Units in the network have been manufactured on or before April 1996. Lot No.: @ @ 4 6 ..Manufactured in April 1996 Indicates the last digit of the manufacturing year.
Section 7-4 Setting Routing Tables 7-4-3 Editing Relay Network Tables Use the routing table editing function on the Programming Device to edit the local network table as shown on the screen given below. End network: Network address of the end network (1 through 127) Relay network: Network address of the first relay point on the way to the end network (1 through 127)
Section 7-4 Setting Routing Tables Make sure that bit 12 of the DM word shown below is set at 1 (ON) to allow you to set and use routing tables. C200HX/HG/HE Operating level 0: DM 6400 Operating level 1: DM 6420 CQM1H DM 6400 Routing Table Enable Bit...
Page 204
Section 7-4 Setting Routing Tables Do not register SYSMAC BUS/2 Master Units and BASIC Units in local net- work tables because these Units do not connect to networks. Example 2 The following example show the settings for a relay network table connecting three networks.
Page 205
Section 7-4 Setting Routing Tables Routing Tables on PC 1 Local Network Table Relay Network Table SIOU Relay Netwk unit# Netwk PC ID Netwk Node Routing Tables on PC 2 Local Network Table Relay Network Table SIOU Relay Netwk unit# Netwk PC ID Netwk...
Page 206
Section 7-4 Setting Routing Tables Routing Tables on PC 7 Local Network Table Relay Network Table SIOU Relay Netwk unit# Netwk PC ID Netwk Node...
Page 207
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 The network parameters become valid immediately after being set. Note 1. Always stop the data link before changing network parameters. 2. Specify a value for the maximum node address that is equal to or greater than the maximum node address in the Controller Link Network.
Section 8-2 Communications Cycle Time In this example, A to E in the equation have the following values. 8,000 4,024 The communications cycle time is thus as follows: 10 × 8,000 + 600 × 4 + 290 × 8 + 320 × 2 + 4 × 4,024 + 3,290 = 104,746 (µs) ≅...
Section 8-3 Data Link I/O Response Time In this example, B to E in the equation have the following values. 4,024 The communications cycle time is thus as follows: 600 × 4 + 110 × 8 + 320 × 2 + 4 × 4,024 + 2,290 = 22,306 (µs) ≅...
Section 8-3 Data Link I/O Response Time CS/CJ-series PCs, CVM1 When a CS/CJ-series, CQM1H-series, CVM1, or CV-series PC is operating in and CV-series PCs in synchronous mode, a CQM1H-series, or a C200HX/HG/HE PC is operating, data exchange with the Controller Link Unit is executed as interrupt process- Synchronous Mode, CQM1H-series PCs, and ing during peripheral processing for the PC cycle.
Page 215
Section 8-3 Data Link I/O Response Time response time. The following is a calculation example of the maximum and minimum I/O response times for the system configuration shown below. CLK: Controller Link Unit System configuration Baud rate: 2 Mbps Maximum node address: Number of polled nodes per comm cycle: 4 Number of event-frames per comm cycle: 35 Nodes in network:...
Page 216
Section 8-3 Data Link I/O Response Time CVM1, CV-series, CS/CJ-series PCs Under Synchronous Operation or C200HX/HG/HE and CQM1H-series PCs Maximum I/O Response The maximum data link I/O response time is calculated for four cases. Time Case 1 The following diagram illustrates the data flow that will produce the maximum data link I/O response time when the cycle time of the PC at nodes #1 and 7 are greater than the communications cycle time.
Page 217
Section 8-3 Data Link I/O Response Time The equation for maximum data link I/O response time is as follows: Input ON delay 1.5 ms Cycle time of PC at node #1 × 2 15 ms × 2 Communications cycle time × 3 9.9 ms ×...
Page 218
Section 8-3 Data Link I/O Response Time 1,2,3... 1. The input arrives in the PC just after I/O refreshing, causing a delay of up to one cycle before the input is read into the PC. 2. Data exchange occurs just after the PC at node #1 passes the token that makes it the polling node, causing a delay of up to one communications cy- cle time before the data is transferred in data link processing.
Page 219
Section 8-3 Data Link I/O Response Time Input I/O refresh Input device Input ON delay Data exchange 1 cycle Program PC at node #1 Controller Link Unit transmission processing Data link transmission Controller Link Unit Communications transmission processing cycle time Previous communications cycle data Program...
Page 220
Section 8-3 Data Link I/O Response Time Note If the total number of data link words is greater than the maximum number of words that can be exchanged per data exchange, the maximum data link I/O response time will be cycle time of PC at node #7 × 4. In case of the CQM1H, however, the cycle time will be incremented by the value obtained from dividing the total number of data link words by the maxi- mum number of words (1,200 words) per time.
Page 221
Section 8-3 Data Link I/O Response Time 3. The data transferred in data link processing arrives at the PC at node #7 while data exchange is taking place, so the data will not be read into the PC until the next data exchange, causing a delay of up to one cycle. The maximum number of words that can be exchanged in a single data ex- change is approx.
Page 222
Section 8-3 Data Link I/O Response Time The equation for minimum data link I/O response time is as follows: Input ON delay Cycle time of PC at node #1 15 ms PC cycle time at node #7 20 ms Output ON delay Total (data link I/O response time) 35 ms Note If the total number of data link words is greater than the maximum number of...
Page 223
Section 8-3 Data Link I/O Response Time 2. Data exchange occurs just after the PC at node #1 passes the token that makes it the polling node, causing a delay of up to one communications cy- cle time before the data is transferred in data link processing. 3.
Section 8-4 Message Delay Times In this case, the data processing time required for data exchange and the data transmission time are not negligible and need to be included in the calcula- tion. Each time can be determined as follows. Data Processing Time (see page 198.) 0.0025 ×...
Page 225
Section 8-4 Message Delay Times Note Be sure to take into account the time required for data links and program exe- cution, which are not included in the following example. SEND(192)/SEND(90) executed Link Unit servicing (source node) Link Service processing (source node) Transmission processing Communications cycle Transmission delay...
Page 226
Section 8-4 Message Delay Times Example In this example, the maximum transmission delay is calculated for an instruc- tion sending 256 words of data in a system with 32 nodes. Network specifics are detailed below: Baud rate: 2 Mbps Max. node address: Number of nodes: Number of polled nodes per comm cycle: 4 Source node execution:...
Page 227
Message Delay Times Section 8-4 RECV (193)/RECV(98) Data stored executed Link service processing (source node) Link service interval (source node) Link service processing (source node) Transmission processing (command) Reception processing (response) Transmission delay (response) Communications cycle Transmission delay (command) Reception processing (command) Transmission processing (response) Link service interval (destination mode) Link service processing (destination node)
Page 228
Message Delay Times Section 8-4 Reception Processing Commands: 1.3 ms Responses: Number of words transferred × 0.00075 ms + 2 ms The I/O response time can increase due to noise or restrictions on the number 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.
Section 8-4 Message Delay Times 8-4-2 C200HX/HG/HE and CQM1H-series PCs SEND(90) The following diagram indicates the data flow which will yield the maximum delay time from the time SEND(90) is executed by the user program to the time the Controller Link Unit stores the data in the destination Unit’s memory. SEND(90) executed Link Unit servicing...
Page 230
Message Delay Times Section 8-4 Example In this example, the maximum transmission delay is calculated for an instruc- tion sending 256 words of data in a system with 32 nodes. Network specifics are detailed below: Baud rate: 2 Mbps Max. node number: Number of nodes: Number of polled nodes: 4 Number of words:...
Page 231
Section 8-4 Message Delay Times Max. transmission delay = Link Unit servicing interval (source node) + Trans- mission processing (command) + Communications cycle + Transmission delay (command) + Reception processing (command) + Link Unit servicing interval (destination node) + Transmission processing (response) + Communi- cations cycle + Transmission delay (response) + Reception processing (response) + Link Unit servicing interval (source node).
Page 232
Section 8-4 Message Delay Times Number of words: Data links: Halted Link Unit servicing (source node) × 2 PC scan time (source node) × 2 Transmission processing (command) 3.3 ms Communications cycle time × 2 (see note) (600 × 4 + 110 × 32 + 320 × 0 + 4 × 0 + 2,290) ×...
Page 233
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 .
Section 9-1 Troubleshooting Using Indicators 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 CLK21 ERH M/A LNK RD RUN: Operating ERC: Communications error...
Page 235
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Not lit The node address is out- Reset the node address to side the setting range. within the 1 to 32 range. The same node address is Reset so that each node being used by two different address is used only once Units.
Page 236
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 237
Troubleshooting Using Indicators Section 9-1 Indicators Probable cause Probable remedy Not lit Not lit Automatically set data links Stop the automatically set data are already operating on the links that are operating and same Network. restart the data links. There is an error in the startup Refer to the PC’s operation node PC.
Troubleshooting Using Indicators Section 9-1 9-1-2 C200HX/HG/HE and CQM1H-series Controller Link Units C200HX/HG/HE Unit CQM1H-series Unit CLK21 CLK21 RUN: Operating ERC: Communications error INS: Network participation LNK: Data link M/A: Data link mode TER: Terminating resistance set Troubleshooting with RUN, ERC, ERH and INS Indicators The RUN, ERC, ERH, and INS indicators can be used to check whether Con- troller Link Unit startup and Network participation are operating normally.
Page 239
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy Routing table setting error Remake and set the rout- or a Routing Table Enable ing table correctly, referring Bit setting error. to 7-4 Setting Routing Tables. When no routing table is being used, turn OFF the Routing Table Enable Bit.
Page 240
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 241
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-1 Troubleshooting Using Indicators 9-1-3 CVM1 and CV-series Controller Link Units CLK21 RUN: Operating ERC: Communications error INS: Network participation LNK: Data link M/A: Data link mode Troubleshooting with RUN, ERC, ERH and INS Indicators The RUN, ERC, ERH and INS indicators can be used to check whether Con- troller Link Unit startup and Network participation are operating normally.
Page 243
Troubleshooting Using Indicators Section 9-1 Indicators Probable cause Probable remedy Routing table setting error Remake and set the rout- or a Routing Table Enable/ ing table correctly, referring Disable Bit setting error. to 7-4 Setting Routing Tables. When no routing table is being used, set the Routing Table Enable/Dis- able Bit to OFF.
Page 244
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 245
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-2 Status Area and Troubleshooting 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 9-2-1 CS/CJ-series Controller Link Units The status of the Unit and Network is indicated in the following manner in the Status Area Error Information: CIO 1500 + 25 x (Unit No.) 1: Network parameter error (In PC's EEPROM) 1: Data link table error (in PC's EEPROM) 1: Routing table error (in PC's EEPROM) 1: PC system setting error...
Page 248
Section 9-2 Status Area and Troubleshooting Data Link Status: CIO 1500 + 25 x (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 PC status Node 12 Node 11...
Page 249
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 250
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 Data link table error The data link table data in Refer to 5-3 Starting and (CIO 1500 + 25 × n, bit 1) the CS/CJ CPU Bus Unit Stopping Data Links and is 1: ON Area is damaged.
Page 252
Section 9-2 Status Area and Troubleshooting Status Area Duplicate Operating Levels/Refresh Error: AR 00 Operating level 1 A bit will be turned ON (1) the next cycle when Operating level 0 1) The same operating level is set more than once or 2) A refresh error occurs between the Controller LInk Unit and the PC's CPU Unit.
Page 253
Section 9-2 Status Area and Troubleshooting Polling Node Address, Startup Node Address: SR 238, SR 242 Operating level 0 Operating level 1 SR 238 SR 242 Polling node address Startup node address Each node address is displayed in 2-digit BCD. Data Link Status: SR 239 When the data link status stored in the start word for the manual setting data to SR 241, SR 243 to...
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 PC status Node 12 Node 11 0: Inactive (user program not running)
Page 255
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 221 Node Cannot Participate in Data Link and troubleshoot accordingly.
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- ating levels. Operating level 0: AR0011 Operating level 1: AR0010 A refresh error has...
Status Area and Troubleshooting Section 9-2 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 Status Area Error Information: CIO 1500 + 25 x (Unit No.) 1: Network parameter error (In PC's EEPROM) 1: Data link table error (in PC's EEPROM) 1: Routing table error (in PC's EEPROM) 1: PC system setting error...
Status Area and Troubleshooting Section 9-2 Data Link Status: CIO 1500 + 25 x (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 PC status Node 12 Node 11...
Page 259
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 260
Status Area and Troubleshooting Section 9-2 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 Data link table error The data link table data in Refer to 5-3 Starting and (CIO 1500 + 25 × n, bit 1) the EEPROM of the CPU Stopping Data Links and is 1: ON Unit is damaged.
Page 262
Section 9-2 Status Area and Troubleshooting Polling Node Address, Startup Node Address: IR 191 Polling node address Startup node address Each node address is displayed in 2-digit BCD. Network Participation Status: IR 192 and IR 193 IR 192 IR 193 The numbers in the squares indicate node addresses.
Page 263
Status Area and Troubleshooting Section 9-2 Note Refer to 5-4 Checking Data Link Status for details on status flags. Bit Status and Error Processing Data Link Status Bit status Probable cause Probable remedy PC’s CPU Unit error is 1: A fatal PC error, non-fatal Refer to the PC’s operation PC error, or a watchdog manual and correct the...
Page 264
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Probable remedy Receive area insufficient The send area at the rele- When the intention is not to (short) is 1: ON vant node is larger than the receive all data, use as is receive area and some (data that cannot be data cannot be received.
Page 265
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 dam- data correctly.
Page 267
Section 9-3 Error Log If the number of records exceeds 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 Month Error code...
Section 9-3 Error Log 9-3-2 Error Codes The following table lists the error codes (in 4-digit hexadecimal) and the con- tents of the errors. Error Contents Detail code Correction Written to Applicable code EEPROM 1st byte 2nd byte 0001 PC watchdog timer error 00 Hex 00 Hex Replace PC’s CPU...
Page 269
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 218 not in Network Bits 0 to 7: Troubleshooting Using Indicators and Source node address place the local node Bits 8 to 14:...
Page 270
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 271
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 272
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 fixed Backup Check the status of CS/CJ, cal Units only) power sup- the backup power CQM1H ply error dis- supply and power...
Section 9-4 Cleaning and Inspection 9-3-3 Reading and Clearing Error Logs Error logs can be read or cleared using the Controller Link Support Software, the CX-Programmer, PC Programming Devices, or the message service. The following examples are for the Controller Link Support Software and the mes- sage service.
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-5 Handling Precautions 9-5-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. This section describes settings that require particular care. Refer to the Unit replacement methods later in this section for details on replacing the Unit.
Page 276
Section 9-5 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-5 Handling Precautions &DXWLRQ 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 278
Section 9-5 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 PC for which Units were replaced. 6.
Page 279
Section 9-5 Handling Precautions 3. Mount the new Controller Link Unit in the PC and connect the communica- tions 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 281
Appendix A Standard Models Controller Link Units Applicable PC Model number Remarks CVM1 and CV-series PCs CVM1-CLK21 See CPU Units and Pro- gramming Devices in this C200HX/HG/HE PC C200HW -CLK21 appendix. CS-series PCs CS1W-CLK21 CJ-series PCs CJ1W-CLK21 CQM1H-series PCs CQM1H -CLK21 Controller Link Support Board Applicable computer Model number...
Appendix A Standard Models CX-Programmer with CX-Net Applicable Name Model number Applicable PCs computer IBM PC/AT or CX-Programmer CS/CJ-series, WS02-CXP -EV2 compatible run- with CX-Net C200HX/HG/HE, ning Windows 95/ CVM1, CV-series, 98 or Windows and CQM1H-series CPU Units and Programming Devices CPU Units Model number Remarks...
Page 283
Appendix A Standard Models Other Products Used with Controller Link Units Name Model number Remarks Bus Connection C200HW-CE001 Required to connect a Controller Link Unit Unit to a C200HZ, C200HX, C200HG, or C200HE CPU Unit. C200HW-CE002 Required to connect two Controller Link Units, or one Controller Link Unit and one other Communications Unit to a C200HZ, C200HX, C200HG, or C200HE CPU Unit.
Page 285
Appendix B Memory Areas This appendix provides easy reference to the words in PC memory areas used by Controller Link Networks. CS/CJ-series PCs 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...
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.
Memory Areas Appendix B Local Data Link Participation Status: CIO 1500 + 25 x (Unit No.) + 6 (See page 241) 1: Local node data link participating 0: Local node data link not participating or data link inactive Data Link Status: CIO 1500 + 25 x (Unit No.) + 7 to + 22 (See pages 103, 242) 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 288
Memory Areas Appendix B DM Area: CS/CJ CPU Bus Unit Area The CS/CJ CPU Bus Unit Area (data memory) is allocated to CS/CJ CPU Bus Units according to the unit num- bers 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 289
Appendix B Memory Areas C200HX/HG/HE PCs SR Area Communications Instruction Response Codes (See page 134.) SR 237 Operating level 1 response code Operating level 0 response code Each response code is in 2-digit hexadecimal. Polling Node Address, Startup Node Address: SR 238, SR 242 (See page 237) Operating level 0 Operating level 1 SR 238...
Page 290
Memory Areas Appendix B Operating Level Status: SR 252 (See pages 132, 237) 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 291
Appendix B Memory Areas Communications Controller Hardware Error, EEPROM Error: AR 11, AR 15 (See page 236) 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 236) Operating level 0 Operating level 1 AR 16...
Page 292
Appendix B Memory Areas Routing Tables (DM 6450 to DM 6499) (See page 186) 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 PCs Auxiliary Area Word(s)
Page 293
Memory Areas Appendix B Bits A42200 through A42215 correspond to CPU Bus Units #0 through #15, respectively. When a CPU Bus Unit Error occurs, the bit corresponding to the unit number of the CPU Bus Unit involved is turned ON. CPU Bus Unit Numbers Bits A41000 through A41015 correspond to CPU Bus Units #0 through #15, respectively.
Page 294
Appendix B Memory Areas Network Participation Status: CIO 1500 + 25 x (Unit No.) + 2, + 3 (See pages 133, 241) The numbers in the squares indicate node addresses. The corresponding node participation status is as follows: 0: Not part of the network 1: Part of the network Local Data Link Participation Status: CIO 1500 + 25 x (Unit No.) + 6 (See page 241) 1: Local node data link participating...
Page 295
Appendix B Memory Areas DM Area: CPU Bus Unit Area The CPU Bus Unit Area (data memory) 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 296
Appendix B Memory Areas Parameters for Automatically Setting Data Links: DM 2000 + 100 x (Unit No.) + 1 to + 9 (See page 95) 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 297
Appendix B Memory Areas Communications Unit Flags, Control Bits, and Status Information Local Data Link Participation Status: IR 90 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 103 and 246.) 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 298
Appendix B Memory Areas Controller Link Status Information Error Information: IR 190 (See page 246.) 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 299
Appendix B Memory Areas Automatic Data Link Parameters: DM 6401 to 6409 (See page 98.) 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 301
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 302
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 303
Appendix C Using the Relay Terminal Block 11. Turn ON the power supply to the new Unit. (The power supply to other nodes should still be ON.) Note 1. Signal will still be flowing through the communications cables during the replacement procedure if the network is still operating.
Page 305
Index ECHOBACK TEST ERROR LOG CLEAR ERROR LOG READ applications precautions NETWORK STATUS READ AR Area commands for CS1-series PCs reading commands for CVM1 and CV-series PCs writing asynchronous operation communications cables automatic setting models setting example data exchange timing bits data processing time controlling...
Page 306
Index models modes RECV procedures SEND reading data link status synchronous operation selecting automatic or manual setting CS1-series PCs specifications commands starting data link tables status installation manipulating bit/word status memory areas using data link status area models using indicators RECV stopping RECV delay time...
Page 307
PC model number reading models writing network RAS functions interconnecting Controller Link networks RECV instruction interconnecting other OMRON networks C200HX/HG/HE PCs other remote networks CS1-series PCs parameters CVM1 and CV-series PCs specifying data areas relay errors message service...
Page 308
Index response codes using FINS commands C200HX/HG/HE PCs synchronous operation CQM1H-series PCs system configuration CS1-series PCs CV-series PCs routing tables creating terminating resistance editing setting saving C200HX/HG/HE Units setting CQM1H Units examples CS1 Wired Units procedure CVM1 and CV Units transferring timers changing PV...
Page 309
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-5 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
Need help?
Do you have a question about the SYSMAC CS1W-CLK11 and is the answer not in the manual?
Questions and answers