Cat. No.
CS1W-CLK21-V1 CJ1W-CLK21-V1 C200HW-CLK21 CVM1-CLK21 CQM1H-CLK21 (CS1W-RPT01/02/03 Repeater Units) Controller Link Units Operation Manual Revised January 2006
iv
Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property. !DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
Unit Versions of CS/CJ-series Controller Link Units Unit Versions A “unit version” has been introduced to manage CS/CJ-series Controller Link Units according to differences in functionality accompanying upgrades. Unit Version Notation on Products The unit version code is provided on the nameplate of the CS/CJ-series Controller Link Units for which unit versions are being managed. This system applies to Controller Link Units with unit version 1.2 or later.
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 Ver.1.2 or later after the lot number CS/CJ-series Controller Link Units Information for which no particular with unit version 1.
viii
TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix 1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx 2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx 3 Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLE OF CONTENTS SECTION 5 Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5-1 What Are Data Links? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 5-2 Setting Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 5-3 Starting and Stopping Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLE OF CONTENTS SECTION 10 Adding Nodes and Editing Active Data Link Tables . . . . . 331 10-1 Adding Nodes Using a Repeater Unit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 10-2 Changing the Data Link Tables with Active Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 Appendices A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 B Memory Areas . . . .
TABLE OF CONTENTS xii
About this Manual: This manual describes the installation, setup, and operation of the C200HW-CLK21, CS1W-CLK21V1, CJ1W-CLK21-V1, 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 Controller Link Network. Information is also provided in this manual on CS1W-RPT01/02/03 Repeater Units.
Section 7 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. Section 8 explains details on Controller Link Network communications. Refer to this section for network communications that require accurate communications timing.
Read and Understand this Manual Please read and understand this manual before using the product. Please consult your OMRON representative if you have any questions or comments. Warranty and Limitations of Liability WARRANTY OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON.
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.
Disclaimers CHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any time based on improvements and other reasons. It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the products may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request.
xviii
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. 1 2 3 4 5 6 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Precautions . . . .
1 Intended Audience 1 Intended Audience This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing FA systems. • Personnel in charge of designing FA systems. • Personnel in charge of managing FA systems and facilities. 2 General Precautions The user must operate the product according to the performance specifications described in the operation manuals.
Operating Environment Precautions 4 • 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. • The PLC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors.
5 Applications Precautions 5 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. • Always turn OFF the power supply or the backup power supply to the PLC or the computer before attempting any of the following.
5 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. Improper locking may result in malfunction. • Use special packing box when transporting the Controller Link Unit.
6 Conformance to EC Directives 6 Conformance to EC Directives The Controller Link Units conform to EMC and Low Voltage Directives as follows: 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. 1-1 1-2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1-1-1 What Is the Controller Link? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1-1-2 Features. . . . . . . . . . . . . . . . . . . . . . . . . .
Section 1-1 Overview 1-1 1-1-1 Overview 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 Programmable Controllers (PLCs), CS-series PLCs, CJ-series PLCs, CVM1 PLCs, CVseries PLCs, CQM1H-series PLCs, and IBM PC/AT or compatible computers. The Controller Link supports data links that enable data sharing and a message service that enables sending and receiving data when required.
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 Wired Controller Link Unit 500 m max. (See note.) Twisted-pair cable 500 m max. (See note.
Section 1-1 Overview Maximum 62-node Configuration Wired Controller Link Unit CS1W-RPT01 Repeater Unit Twisted-pair cable 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-CLK21-V1 CJ1W-CLK21-V1 3G8F7-CLK21-V1 Note 1. The network will not operate correctly unless all nodes within the network use the above Units/Boards. 2.
Section 1-1 Overview Token Bus Mode CS1W-CLK12-V1 Controller Link Unit (token bus mode) CS-series PLC CS1W-CLK11 Controller Link Unit Personal computer PC/AT or compatible C P U C P U H-PCF Optical fiber cable (daisy chain connection) Backup power supply (24 V DC) Connecting Repeater Units Using GI Optical Fiber Cable Personal computer CVM1/CV-series PLC CS-series PLC C P U CVM1-CLK12 Controller Link Unit (token bus mode) 3G8F5-CLK11 Controller Link Support Board for ISA Bus 3G8F7-CLK12-V1 Con
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 compatible computer on the network. Data links do not require the use of communications programs on the PLC (CPU Unit) or IBM PC/AT or compatible computer. Data written in the send area of the local node will be automatically sent to the receive area of other nodes.
Section 1-1 Overview SEND/RECV The SEND or RECV instruction sends or receives data in an area of a particular node. The SEND instruction sends data from an area of the local node and writes to an area in the designated node. The RECV instruction requests the designated node to send area data and writes the data to the local node. CMND The CMND instruction issues a command to read or write data of other nodes, control, or read error logs.
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 per node 1,000 max. Number of send and receive words per node C200HX/HE/HG, CVM1, CV-series, and CQM1H-series PLCs: 8,000 max. CS/CJ-series PLCs: Pre-Ver. 1.2: 12,000 words max. Unit Ver. 1.2 or later: 20,000 words max.
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.
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. By using two Repeater Units, this can be extended to a maximum of 1.5 km. The maximum number of nodes can be extended to 62 for wired networks.
Specifications and Configurations Section 1-2 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 version 3.2 or higher. Objective This function is effective in applications that collect data from slave PLCs into a master PLC.
Section 1-2 Specifications and Configurations CS1W-CLK21-V1 Controller Link Unit CS-series PLC CJ1W-CLK21-V1 Controller Link Unit C P U CVM1-CLK21 Controller Link Unit CVM1, CV-series PLC C200HX/HG/HE PLC CJ-series PLC C P U C200HW-CLK21 Controller Link Unit CQM1H-series PLC C P U C P U IBM PC/AT or compatible CQM1H-CLK21 Controller Link Unit C P U Twisted-pair cable 3G8F7-CLK21-E-V1 Controller Link Support Board Connecting Repeater Units Using Twisted-pair Cable in Wired Systems T-Branch Wi
Section 1-2 Specifications and Configurations Converting Part of the Transmission Line to Optical Fiber Wired Controller Link Unit Wired Controller Link Unit CS1W-RPT02 or CS1W-RPT03 Repeater Units Twisted-pair cable Twisted-pair cable Optical cable (H-PCF or GI) Two Repeater Units of the same model must be used when part of the transmission line uses optical fiber. Maximum Configuration of 62 Nodes Wired Controller Link Unit Twisted-pair cable CS1W-RPT01 Repeater Unit 32 nodes max.
Section 1-2 Specifications and Configurations 1-2-3 Communications Specifications Wired System Items Specifications Communications method Code N:N token bus Manchester code Modulation Synchronization Baseband code Flag synchronization (conforms to HDLC frames) Transmission path form Baud rate and maximum transmission distance Multi-drop bus The maximum transmission distance varies with the baud rate as follows: 2 Mbps: 500 m 1 Mbps: 800 m 500 Kbps: 1 km Media Specified shielded twisted-pair cabl
Section 1-2 Specifications and Configurations Communications Specifications when Using the CS1W-RPT01 Repeater Unit in a Wired Network Item Within 1 segment (See Entire network note 1.) Multi-drop Tree type (Connection of segments with Repeaters) Transmission path form Note Baud rate and maximum trans- 2 Mbps: 500 m mission distance (See note 2.) 1 Mbps: 800 m 500 Kbps: 1 km Maximum number of nodes Total number of Controller Link Units + Repeater Units: 32 nodes (See note 5.) 2 Mbps: 1.
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 Model External appearance Specifications CS1W-CLK21-V1 CJ1W-CLK21-V1 C200HW-CLK21 CLK21 RUN ERC INS SD TER ERH M/A LNK RD NODE No. x101 EF01 ABCD 456 23 901 UNIT No.
Section 1-2 Specifications and Configurations Item Model Specifications CQM1H-CLK21 CVM1-CLK21 External appearance Installation devices None required. None required. PLC Max No. of Units per PLC CVM1 and CV-series PLCs 4 maximum CQM1H-CPU51/61 1 maximum CPU CPU Backplane Unit 3/5/10 slots Expansion CPU Backplane Of these 14, 16, or 21 slots, installa tion is possible in up to 4 slots. Power Supply Unit Connect here.
Section 1-2 Specifications and Configurations CS/CJ-series Controller Link Unit Models Item Unit Ver. 1.2 (-V1 suffix) CS1W-CLK21-V1 CJ1W-CLK21-V1 Model Pre-Ver. 1.2 (-V1 suffix) CS1W-CLK21-V1 CJ1W-CLK21-V1 Without -V1 suffix CS1W-CLK21 CJ1W-CLK21 Maximum number of send/receive data link 20,000 words max. 12,000 words max.
Section 1-2 Specifications and Configurations 1-2-5 Devices for Connection To set up a Controller Link Network, the following devices are needed in addition to a Controller Link Unit and a PLC. Communications Cables The following shielded twisted-pair cables are recommended for Wired Controller Link Network connections. Model Li2Y-FCY2 x 0.56 qmm Manufacturer Kromberg & Schubert, Komtec Department Remarks German company 1 x 2 x AWG – 20PE + Tr.
Section 1-2 Specifications and Configurations Item Transmission line format Specifications 1:1 type Multi-drop Tree T-Branch Wiring 1:1 type Partial Conversion to Optical Wire cable Wire cable Repeater Unit Repeater Unit Optical cable Repeater Unit Long-distance Wiring 500 m max. (at 2 Mbit/s) Repeater Unit 500 m max. (at 2 Mbit/s) 62-node Configuration 31 nodes max. Repeater Unit 31 nodes max.
Section 1-2 Specifications and Configurations Note Normally, the communications cable must be disconnected from a Wired Controller Link Unit to replace it. Doing this, however, will interrupt communications on the network, requiring that all node be turned OFF to ensure safety before replacing a Unit. With the above Relay Terminal Block, a Controller Link Unit can be replaced by turning OFF only the specific Unit being replaced, i.e., without turning OFF any other Units.
Section 1-2 Specifications and Configurations 2. For automatic data link creation with 1:N allocations or when changing data link tables while the data link is active (CS1W-CLK21-V1 and CJ1WCLK21-V1), use the CX-Net in CX-Programmer version 3.2 or higher. Controller Link Support Software (Version 2.00) The Controller Link Support Software can be used to manually set data links, to set Controller Link parameters, and to monitor the Controller Link Network.
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.
Section 1-2 Specifications and Configurations Controller Link Support Software Menu Overview Menu items: Data Link • Edit table • Save table • Print table Set Network parameters • Copy table • Retrieve table • Start/Stop Routing tables • Initialize table • Transfer table • Monitor status Echoback test • Check table • Delete table • Device info set Broadcast test Monitor Network Display Error log Display Node status Display Board setup Maintenance • Unit backup Connection Info* • Board b
Section 1-3 Selection of Communications Functions When Operating on Personal Computer as Peripheral Software + CX-Net in CX-Programmer IBM PC/AT or compatible Transmissions Nodes Controller Link Unit RS-232C CPU Unit Setting data link tables … When Operating on Personal Computer Connected as a Node IBM PC/AT or compatible CX-Net in CX-Programmer + Controller Link Support Board Setting data link tables … Software CX-Programmer Note External appearance Model WS02-CXPC@-E-V@ Applicable PLCs C
Section 1-4 Basic Procedures other PLCs in other nodes or from one PLC to IBM PC/AT or compatible computers. 1-4 Basic Procedures Preparations C200HX/HG/HE and CQM1H-series PLCs 1,2,3... 1. Perform mounting and wiring. • Mount to the PLC. • 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 • Operating level 0 or operating level 1 (C200HX/HG/HE PLCs only) 4.
Section 1-5 Application Precautions b) This setting is valid only with the CS1W-CLK21-V1 and CS1WCLK21-V1. Reset the power to the PLC after setting. Data Link Procedure Set the data link mode in the data link parameters in the DM area of the startup node to either automatic or manual data link creation using the Programming Device. 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.
Section 1-5 Application Precautions Lot No.: @ @ 5 6 . . . . . Manufactured in May 1996 Indicates the last digit of the manufacturing year. In this example, the year is 1996. Indicates the month of manufacture. October, November, and December are indicated by x, y, and z respectively. In this example, the month is May. • Set routing tables at all the nodes in all the networks when multiple networks are connected.
Application Precautions Section 1-5 • The Wired Network 62 Node Enable Bit in the DM Parameter Area software switches of CS1W-CLK21-V1 and CJ1W-CLK21-V1 Units is read when the Unit is restarted. • When using automatic data link creation with 1:N allocation, all nodes must be CS1W-CLK21-V1 or CJ1W-CLK21-V1 Controller Link Units. Other models cannot participate in data links that employ 1:N allocations.
Application Precautions 30 Section 1-5
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. 2-1 2-2 Data Links Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 2-1-1 Manually Setting Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 2-1 Data Links Procedures 2-1 2-1-1 Data Links Procedures 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-Programmer. Use the following procedure. 1,2,3... 1. Install and wire the Units. Contents Method Nodes Page a. Mount the Units to the PLCs. --- All nodes 59 b. Wire the Network.
Section 2-1 Data Links Procedures 6. Set the data link mode. Contents Enable 62 nodes for a wired network. Method Nodes Page Use Support Software All nodes 78 for the PLC or the Pro- Note: This setting gramming Console. must be made to construct a network that uses a node address higher than 32 (See note a.) Set data link mode to manual. Use Support Software for the PLC or the Programming Console. (See note b.
Section 2-1 Data Links Procedures 8. Start the data links. Contents Start the data links. Method Switch the Data link Start/Stop Bit (listed below) from OFF to ON using either the Programming Device, the user program, the Controller Link Support Software or CXProgrammer. Nodes Page Data link startup node 153 (The Start Bit can be turned ON in more then one node to make sure the data links start even when the startup node is down.
Section 2-1 Data Links Procedures 2. Prepare for communications. Contents a. Set the unit number. Method Use the front rotary switches. Nodes CS/CJ-series, CVM1, and CV-series PLCs only Page 98 b. Set the node address. Use the front rotary switches. All nodes 95, 99 c. Set the baud rate. Use the DIP switch. All nodes 95, 99 d. Set the operating level. Use the DIP switch. C200HX/HG/HE PLCs 95 only e.
Section 2-1 Data Links Procedures Note a) When using fewer than 33 nodes, make sure that the Wired Network 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 or CJ1W-CLK21-V1. b) Be sure that the data link mode in the data link parameters in the DM Area is set to 00 when using manually set data links.
Section 2-1 Data Links Procedures • 1:N allocation (Compatible with CS1W-CLK21-V1 and CJ1W-CLK21V1) Common Type Contents Method Nodes Page a. Set the data link mode Use Support Software for the PLC to automatic. including Programming Console (see note). Data link startup node 113 only The node that is used to start the data link is called the startup node. It is necessary to decide beforehand which node will be the startup node. b.
Section 2-1 Data Links Procedures 1 to 1 Type Contents Method Use Support Softa. Set the data link mode ware for the PLC to automatic. including Programming Console (see note). Nodes Page Data link startup node 113 only The node that is used to start the data link is called the startup node. It is necessary to decide beforehand which node will be the startup node. b. 1:N creation Data link startup node 138 only c. Set the area d. Set the data link start word e.
Section 2-1 Data Links Procedures Chain Type Contents Method Use Support Softa. Set the data link mode ware for the PLC to automatic. including Programming Console (see note). Nodes Page Data link startup node 113 only The node that is used to start the data link is called the startup node. It is necessary to decide beforehand which node will be the startup node. b. 1:N creation Data link startup node 141 only c. Set the area d. Set the data link start word e.
Section 2-2 Message Service Procedure C200HX/HG/HE: CVM1/CV Series: CQM1H Series: AR 0700 (operating level #0), AR 0704 (operating level #1) Word 0 of DM 2000 + 100 × N AR 0700 Note The data links will not start if there is an error in the data link tables in the startup node. Data links can be started and stopped using the Controller Link Support Software. 2-2 Message Service Procedure The following steps outline the basic procedure for using the message service. 1,2,3... 1.
Section 2-2 Message Service Procedure 6. Set the data link mode. Contents Enable 62 nodes for a wired network. Method Nodes Page Use Support Software All nodes 78 for the PLC or a Pro- This setting must be gramming Console. made when constructing a network that uses a node address higher than 32 (See note.) Note When using fewer than 33 nodes, make sure that the Wired Network 62 Node Enable Bit in the DM Parameter Area software switches is turned OFF to restrict the network to 32 nodes maximum.
Message Service Procedure 42 Section 2-2
SECTION 3 Installation and Wiring This section describes how to install a Controller Link Unit and how to wire the Controller Link Network. 3-1 3-2 3-3 3-4 Component Names and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 3-1-1 CS-series Controller Link Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 3-1-2 CJ-series Controller Link Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 3-1-3 C200HX/HG/HE Controller Link Unit . . . . .
Section 3-1 Component Names and Functions 3-1 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 Indicators (Refer to p.45 and 276) LED indicators that display the Unit and network status. CLK21-V1 Unit number switch (Refer to p.86) One rotary switch.
Section 3-1 Component Names and Functions Wired Unit Indicators Name Color Status Meaning RUN (operating) Green Lit Not lit Unit operating normally. Unit error. ERC (communications error) Red Lit Communications error, node address setting error (same address set twice), or hardware error. Normal operation ERH (PLC error) Red Lit PLC error, PLC interface error, EEPROM error, unit number error, or I/O table not set INS (network participation) Yellow Not lit Lit No error.
Section 3-1 Component Names and Functions Dimensions (Unit: mm) 130 CLK21-V1 35 3-1-2 101 CJ-series Controller Link Units CLK21-V1 RUN ERC INS SD TER ERH M/A LNK RD EF012 6789 345 ABCD 901 456 23 UNIT No. NODE No. x101 78 901 78 ON ON 1 2 SW1 456 23 ON x100 1 BAUD 2 RATE TER SW Indicators (Refer to pages 45, 276) LED indicators that display the Unit and network status. Unit Number Switch (Refer to page 86) One rotary switch.
Section 3-1 Component Names and Functions Wired Unit Indicators Name Color Status Meaning RUN (operating) Green Lit Not lit Unit operating normally. Unit error. TER (terminating resistance) ERC (communications error) Yellow Lit Not lit Terminating resistance switch is ON. Terminating resistance switch is OFF. Red Lit Communications error, node address setting error (same address set twice), or hardware error.
Section 3-1 Component Names and Functions Dimensions (Unit: mm) 82 65 2.7 31 CLK21-V1 RUN ERC INS SD TER ERH M/A LNK RD EF012 6789 345 ABCD 901 456 23 UNIT No. NODE No. x101 78 901 78 90 ON 1 2 SW1 ON BD H BD L 2.
Section 3-1 Component Names and Functions 3-1-3 C200HX/HG/HE Controller Link Unit CLK21 RUN ERC INS SD TER ERH M/A LNK RD Indicators (Refer to p. 49 and 276) LED indicators that display the Unit and network status. NODE NO. X101 Node address switches (Refer to p. 94) X100 0 1 1 2 3 4 ON SW1 ON 4 3 #0, #1 RSV 2 1 BAUD RATE Two rotary switches. The node address of the Unit on the Controller Link Network is set in 2-digit decimal. Baud rate and operating level settings (Refer to p.
Section 3-1 Component Names and Functions Name RD (receive) Color Yellow Status Lit Data reception. Meaning 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. For details refer to 9-1 Troubleshooting Using Indicators. Dimensions (Unit: mm) 34.5 125 CLK21 RUN ERC INS SD TER ERH M/A LNK RD NODE NO.
Section 3-1 Component Names and Functions 3-1-4 CVM1 and CV-series Controller Link Unit Indicators (Refer to p. 51 and 287) CLK21 RUN ERC LED indicators that display the Unit and network status. TER ERH Unit number switches (Refer to p. 98) M/A LNK RD INS SD X101 Two rotary switches. The unit number is set in 2-digit decimal for the Network to which the PLC is connected. UNIT NO. X101 0 0 NODE NO. 1 X10 0 1 X100 X10 Node address switches (Refer to p.
Section 3-1 Component Names and Functions Name SD (send) RD (receive) Color Yellow Status Lit Meaning Data transmission. Yellow Not lit Lit No data transmission. Data reception. 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. For details refer to 9-1 Troubleshooting Using Indicators. Dimensions (Unit: mm) 34.
Section 3-1 Component Names and Functions 3-1-5 CQM1H-series Controller Link Unit Indicators (Refer to p. 53 and 276) LED indicators that display the Unit and network status. Node address switches (Refer to p. 101) Two rotary switches. The node address of the Unit on the Controller Link Network is set in 2-digit decimal. Baud rate switch (Refer to p. 101) bit/s Terminating resistance switch (Refer to p. 102) k A slide switch.
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 32 110 bit/s k 15.
Section 3-1 Component Names and Functions Repeater Unit Indicators Name Color Status Meaning PWR (Power supply) Green Lit Not lit Power supply is ON. Power supply is OFF. T/R1 (SL1 communicating) Yellow Lit Transmission signal is being sent or received. Not lit Lit No transmission signal. Transmission signal is being sent or received. Not lit No transmission signal. TR2 Yellow (SL2 2 communicating Dimensions (Unit: mm) 81 90 30 21 8 59 73.3 75.6 Two, 4.5 dia.
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 Unit and communications. PWR T/R1 T/R2 BD H SHLD TER SW 2 1 ON O N 2 SW1 1 ON O N SL1 Terminal Block for Communications Cable Terminals to connect to the Controller Link Network communications cable (twisted-pair cable).
Section 3-1 Component Names and Functions Dimensions (Unit: mm) 81 90 30 21 Two, 4.5 dia. 8 75.6 73.3 59 (Unit: mm) 3-1-8 Wire-to-Optical (GI) Repeater Unit CS1W-RPT03 PWR T/R1 T/R2 BD H SL1 BD L SHLD TER SW 2 1 ON O N 2 SW1 1 ON Terminating Resistance Switch for SL1 Turn ON this switch when the Repeater Unit is connected to the SL1 communications cable terminal block at either end of the Controller Link Network.
Section 3-2 Unit Installation Repeater Unit Indicators Name Color Status Meaning PWR (Power supply) Green Lit Not lit Power supply is ON. Power supply is OFF. T/R1 (SL1 communicating) Yellow Lit Transmission signal is being sent or received. Not lit Lit No transmission signal. Transmission signal is being sent or received. Not lit No transmission signal. TR2 Yellow (SL2 2 communicating) Dimensions (Unit: mm) (30) 21 81 90 Two, 4.5 dia. 8 73.3 75.
Section 3-2 Unit Installation 2. Be sure that all screws on the Backplane, the Bus Connection Unit, the terminal block, and cables are tightened firmly. If screws work loose, a malfunction may occur as a result of vibration. 3. A label has been placed over the upper surface of the Controller Link Unit to prevent scraps of wire from entering the Unit. Conduct wiring and installation with this label in place. If wire scraps get into the Unit, it will malfunction. 4.
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 Unit in one slot and the other Unit in the other slot.
Section 3-2 Unit Installation CPU Backplane CV500-BC101, CVM1-BC103/CV500-BC051, CVM1-BC053/CV500-BC031 CPU Rack (CV500/CV1000/CV2000/CVM1) I C P The Unit can be mounted to the 3/5/10 slots O P S shown in the diagram on the right. (It cannot be mounted to the leftmost slot even if an C U Expansion CPU Rack is not used.) 3/5/10 slots Install in four of these 14, 16, or 21 slots.
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. 2/3/5/8/10 slots CS Expansion Backplane CS1W-BI103, CS1W-BI083, CS1W-BI053, CS1W-BI033 CS Expansion Backplane Slots 3/5/8/10 shown in the illustration can be used. Of these slots, installation is possible in up to 8 slots (unit Ver. 1.2 or later). Installation in up to 4 slots is possible for pre-Ver. 1.2 Units.
Section 3-2 Unit Installation CJ-series PLCs Up to a total of four Controller Link Units for CJ-series PLCs 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 P S C P U I C End Cover 10 Unit max. CJ-series Expansion Rack P S I I End Cover 10 Unit max. CJ-series Expansion Rack P S Of these slots, installation is possible in up to 8 slots (unit Ver. 1.2 or later). Installation in up to 4 slots is possible for pre-Ver. 1.
Section 3-2 Unit Installation Example: Using the C200HW-PA204 Power Supply Unit supplying a maximum current of 4.6 A (5 V) and maximum power of 30 W. Name Model CPU Backplane (8 slots) CS1W-BC083 Current consumption per Unit (A) 0.11 A CPU Unit Controller Link Unit (Optical) CS1H-CPU67H CS1W-CLK21-V1 0.82 A 0.33 A Total Number of Units 1 Current consumption (A) 0.11 A 1 8 0.82 A 2.64 A 3.57 (power consumption: 17.
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. 2. Attach the Repeater Unit by hooking it onto the DIN Track from above (1) and then pressing it into place (2). 3. Lock all DIN Track mounting pins. DIN Track mounting pin 4.
Section 3-3 Wiring PFP-100N2 PFP-100N/50N End Plate: PFP-M (2 Plates required per Repeater Unit) 3-3 3-3-1 Wiring Communications Cables Using the specified twisted-pair cable, connect all nodes using the multidrop method.
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 network. Do not ground the shield at both ends. 5. Do not run wiring outdoors. If outdoor wiring is necessary, take protective measures against lightning, such as underground wiring or wiring inside pipes. 6.
Section 3-3 Wiring Using a Relay Terminal Block CVM1-CLK21 C200HW-CLK21 (End node) Relay Terminal Block (see note 1.) Terminating resistance (OFF) ↓ ON CS1W-CLK21-V1 CJ1W-CLK21-V1 (End node) Terminating resistance ↓ TER SW (ON) ON TER SW BD H BD H BD H BD L BD L BD L SHLD SHLD TER SW SHLD Terminating resistance (ON) ↓ ON Ground Note 1. Mounting and dismounting during communications is not possible for Relay Terminal Blocks connected to the nodes at the ends of the network (i.e.
Section 3-3 Wiring 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. Mount the crimp terminal onto the signal lines and the shield line. Use M3 crimp terminals. 8. Connect the signal lines and the shield line to the terminal block using the markings on the terminal block.
Section 3-3 Wiring 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 communications cables. 2. Always use a crimp terminal for wiring. If a wire that has only been twisted is connected directly to a terminal block, short circuit, malfunction and product damage will result. 3. Use the recommended crimp terminals. 4.
Section 3-3 Wiring 10. When bending a communications cable, allow 60 mm or more for the bending 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. Marks are provided on the terminal block for the signal lines. Connect the signal lines according to the marks. The marks correspond to signal lines as listed below.
Section 3-3 Wiring 8. Do not place any object on the power cable. 9. Check that connectors are correctly attached before using the Unit. Power Supply Specifications The power supply to the Repeater Unit must meet the following specifications. Item CS1W-RPT01 Wire-to-Wire Repeater Unit Power supply volt- 24 V DC age CS1W-RPT02 Wire-to-Optical (HPCF) Repeater Unit CS1W-RPT03 Wire-to-Optical (GI) Repeater Unit Allowable power 20.4 to 26.
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-RPT02 PWR T/R1 T/R2 BD H BD L SL1 SHLD TER SW ON ON SW1 1 BAUD 2 RATE SL2 + DC24V INPUT − • Insert the connectors completely and always check that the connectors are locked before starting operation.
Section 3-3 Wiring Communications Cables Optical Bus or Optical Ring System (H-PCF Cable) The following devices are required for the Optical Bus or Optical Ring (H-PCF) Controller Link Network. The cable and connectors are the same as those used for Optical SYSMAC LINK Networks. Optical Fiber Cables (Indoor Use Only) Use the following Optical Fiber Cables (Hard Plastic-clad Fiber: H-PCF).
Section 3-3 Wiring Optical Fiber Cables with Connectors (Indoor Use Only) The following Optical Fiber Cables are available with Connectors already attached.
Section 3-3 Wiring CS1W-RPT03 (GI) SL1 Wired Controller Link Unit Receive SL1 GI cable Send Send SL2 CS1W-RPT03 Repeater Unit Note Receive Wired Controller Link Unit SL2 CS1W-RPT03 Repeater Unit 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. 3.
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 Rotate the cover 90° counterclockwise. Pull off the cover. Note To replace the Optical Connector Cover, just reverse the steps shown in the diagram above. 4. Turn the cable connector so that the tab in the connector faces left and aligns with the slot in the Unit’s connector. Insert the cable connector fully into the Unit’s optical connector.
Section 3-4 Constructing Networks with Repeater Units Note Lf is fiber length in km, Ta is ambient temperature, and λ is the peak wavelength of the test light source. 62.5/125 µm AGF Cable Item Minimum Numerical Aper- --ture (N.A.) Standard 0.28 Maximum --- Transmission loss --- 3.5 Lf 3.5 Lf + 0.2 3.5 Lf + 0.4 Lf < 0.2 km ----- 1.0 λ = 0.8 µm, one location λ = 0.85 µm (LD) --- Connection loss --Transmission 200 bandwidth Unit --- Conditions Theoretical value 0.5 km ≤ Lf 0.2 km ≤ Lf < 0.
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.
Section 3-4 Constructing Networks with Repeater Units : Controller Link Unit/Support Board Wire : Wire-to-wire Repeater Unit Optical fiber cable : Wire-to-optical Repeater Unit (two Units used in a pair) : 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. 3-4-2 Number of Repeater Units The number of Repeater Units that can be connected in a Wired Controller Link Network depends on the mode of connection.
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 Stage 1 Optical fiber cable Stage 2 CS1W-RPT02 or CS1W-RPT03 Repeater Unit Two Wire-to-Optical Repeater Units make up a single set counted as a single stage.
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. 3-4-3 Terminating Resistance In a Wired Controller Link Network, turn ON the terminating resistance switches only at the nodes at both ends of the network.
Section 3-4 Constructing Networks with Repeater Units Partial Conversion to Optical Fiber Terminating Resistance: ON Terminating Resistance: ON Terminating Resistance: ON (Optical fiber cable) Segment 1 Segment 2 Repeater Unit CS1W-RPT02 or CS1W-RPT03 Terminating Resistance: ON Combining T-Branch Wiring (2-stage Repeater) and Partial Optical Fiber Terminating resistance: ON CS1W-RPT01 Repeater Unit Terminating resistance: ON Segment 1 Terminating resistance: ON CS1W-RPT02 or CS1W-RPT03 Repeater Un
Constructing Networks with Repeater Units 84 Section 3-4
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. 4-1 4-2 4-3 4-4 4-5 4-6 CS-series Controller Link Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 4-1-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 4-1 CS-series Controller Link Units 4-1 CS-series Controller Link Units The following settings are required for a Controller Link Unit used with a CSseries PLC.
Section 4-1 CS-series Controller Link Units Item Specifications Setting method Setting range Single-digit hexadecimal 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. Always turn OFF the PLC’s power before setting the unit number. 2. When setting a Unit for the first time or changing the existing setting, create a I/O table in the PLC’s CPU Unit. 3.
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 and CJ1W-CLK21-V1 Units are used with other models in the same network, set the node addresses of all nodes between 1 and 32. In a network containing pre-version-1 models, it is not possible to construct a network that uses a node address higher than 32.
Section 4-2 CJ-series Controller Link Units 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 for the Units of both ends of the Network. The terminating resistance is required at both ends of a Network to absorb unnecessary signals and reduce noise. The Controller Link Unit has built-in terminating resistance, which can be connected simply by turning ON the slide switch.
Section 4-2 CJ-series Controller Link Units 4-2-1 Overview Unit Number SD TER ERH M/A LNK RD 23 NODE No. x101 901 EF012 ABCD 901 UNIT No. 78 901 78 x100 1 BAUD 2 RATE Nodes 01 to F (default is 0) All nodes in the Network Node Address Setting range Nodes 01 to 32 (default is 01) All nodes in the Network 901 23 78 ON ON SW1 1 2 ON TER SW NODE No. x101 456 ON 1 2 SW1 Setting range UNIT No.
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. 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. 901 456 23 78 NODE No. x101 901 456 23 78 4-2-3 Item x100 Note: The factory default settings are shown.
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 software switches of CS1W-CLK21-V1 and CJ1W-CLK21-V1 Units is read when the Unit is restarted. 8. The send sequence for the data link areas is determined according to the sequence of node addresses for automatically set data links. 9.
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. 3. The TER LED indicator will light when the terminating resistance switch is set to ON. 4. The default setting is OFF (not connected).
Section 4-3 C200HX/HG/HE Controller Link Units 4-3-1 Overview Node Address CLK21 RUN ERC INS SD Setting range 01 to 32 (default is 01) TER ERH M/A LNK RD X101 NODE NO.
Section 4-3 C200HX/HG/HE Controller Link Units Item Specifications Setting method Setting range 2-digit decimal 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 4-3-3 1. Always turn OFF the PLC’s power before setting the node address. 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.
Section 4-3 C200HX/HG/HE Controller Link Units Operating level 0 Operating level 1 Operating level 0 Operating level 1 Note It is not necessary to use the same operating level for all nodes in the same Network. Pin 4 OFF (factory default) ON Note Operating level Operating level 1 Operating level 0 Node Set all the nodes on the Network to either Operating level. 1. Do not use the same operating level for more than one Unit mounted to the same PLC.
Section 4-4 CVM1 and CV-series Controller Link Units 4-4 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.
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. UNIT NO.
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 indicator 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 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. 3. The TER indicator will light when the terminating resistance switch is set to ON.
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. The node address can be set to any value between 01 and 32. NODE NO.
Section 4-6 Repeater Units Note Set the same baud rate for all the nodes on the Network. Normal communication 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. The terminating resistance is required at both ends of a Network to absorb unnecessary signals and reduce noise.
Section 4-6 Repeater Units 4-6-1 Wire-to-Wire Repeater Unit Terminating Resistance Switch for SL1 Wire-to-Wire Repeater Unit Wire-to-Optical Repeater Unit PWR PWR T/R1 T/R1 T/R2 T/R2 BD L SL1 Turn ON when the Repeater Unit is connected to the end of the Network or a segment. BD L SL1 SHLD SHLD TER SW TER SW 2 1 ON O N 2 1 O N 2 2 SW1 TER SW 1 BAUD 2 RATE ON 1 1 ON O N O N SW1 Not connected Connected Applicable unit Note The factory default setting is in bold.
Section 4-6 Repeater Units See pages 15 and 79 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 performed if the baud rate of even a single node differs from the others. 3. The factory default setting is 2 Mbps.
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. 5-1 5-2 5-3 5-4 What Are Data Links?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 5-1-1 Data Link Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 5-1-2 Differences between Manual and Automatic Setting . . . . . . . . . . . .
Section 5-1 What Are Data Links? 5-1 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. Two data link areas, area 1 and area 2, can be set for each node. Data links can be set in either of the following ways.
Section 5-1 What Are Data Links? Example 3: Area 1 Some nodes can receive data without sending data. #1 #2 #2 #2 Example 4: A node can receive only a specified number of words from the beginning of an area. Area 1 #1 #1 Receive only Area 2 #1 #2 #2 #2 Area 2 #1 #1 #2 #1 Several words from the beginning of area #2 #2 #1 #2 Receive only Manually set data links are used to create flexible data links that meet the needs of the individual system.
Section 5-1 What Are Data Links? Automatically Setting Data Links with Equality Layout Example Area 1 (Bit areas) Area 2 (Data Memory) Node#1 Node#2 Node#3 #1 #2 #3 #1 #2 #3 #1 #2 #3 #1 #1 #1 #2 #2 #2 #3 #3 #3 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. • Area 1 can be selected from bit-access areas (i.e.
Section 5-1 What Are Data Links? Area 1 Node 1 Node 2 Node 3 Node 4 1 1 1 1 2 2 3 4 1 1 1 1 2 2 3 4 3 4 Area 2 3 4 • 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. • Node 1 is the master node. • Areas 1 and 2 can be selected from bit-access areas or the DM Area.
Section 5-1 What Are Data Links? 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? #1 #2 #3 #4 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 a data link is running. error continues to be refreshed in the data link areas of the relevant nodes.
Section 5-1 What Are Data Links? 5-1-2 Differences between Manual and Automatic Setting Item Determination of nodes to be in a data link Data link settings Manual setting Automatic setting Determined by setting data link Determined by the data link tables. parameters set in the data link startup node (the node used to start the data links). Set in data link tables that are Determined by the data link set in the nodes to participate in parameters set in the data link data links.
Section 5-2 Setting Data Links 5-2 5-2-1 Setting Data Links 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 Programming Device.
Section 5-2 Setting Data Links Note 1. Be sure to set the bit in the DM Area’s (CPU Bus Unit Area’s) software 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. The default data link mode is for manual setting (00), but check the setting from the Programming Device. 3. A data link mode can be set in a data link startup node only.
Section 5-2 Setting Data Links 4. When using the Controller Link Support Software to set a CJ-series Controller Link Unit, use one of the following methods to set the type of PLC. • Set the type of PLC to “Others.” • Add the following information to the device information setting file (CLKTYPE.TXT) in the Controller Link Support Software to add the CJ-series PLC and then set the CJ-series PLC.
Section 5-2 Setting Data Links Setting item First data link status word Setting range Set the first word to store data link status. An area of 16 words is 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 *1: When IR 000 is specified or when the default setting (––––) is left unchanged, the default first status word will be used. Refer to 5-4 Checking Data Link Status for details.
Section 5-2 Setting Data Links Note a) The total number of words in data link send and receive areas must not exceed 20,000 per node when using Controller Link Units with unit Ver. 1.2 or later, or 12,000 words per node if using pre-Ver. 1.2 Controller Link Units. b) The following values must be satisfied for each node for the data link area 1 and area 2 so that the final word in the data link does not go beyond the last word in the PLC memory area.
Section 5-2 Setting Data Links Setting item Area 2 Data link IR Area: start word LR Area: DM Area: EM Area: Setting range IR 000 to IR 235, IR 300 to IR 511 LR 00 to LR 63 DM 0000 to DM 5999 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. Set different areas. Number of Remote nodes: 0 to the number of source words words Set the number of words to be received. Local node: 0 to 1,000 Set the number of words to be transmitted.
Section 5-2 Setting Data Links CVM1 and CV-series PLCs Setting item PLC model Setting range Set the model of the PLC’s CPU Unit. Nodes 1 to 32 Set the address of the refresh nodes. It cannot be set to a parameter exceeding the “maximum node address” of the network parameter. Set the first word to store data link status. An area of 16 words is used.
Section 5-2 Setting Data Links Setting item Setting range Data link CIO Area: CIO 0000 to CIO 2555 Area 2 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. Set different areas. *: When a word between LR 000 and LR 199 is specified, the data link area will be allocated between CIO 1000 and CIO 1199.
Section 5-2 Setting Data Links Setting item First data link status word Setting range Set the first word to store data link status. An area of 16 words is 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) When IR 000 is specified or when the default setting (–––––) is left unchanged, the default first status word will be used. Refer to 5-4 Checking Data Link Status for details.
Section 5-2 Setting Data Links (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. d) If CX-Net detects an error during the data link table check, troubleshoot the error referring to 9-4 Troubleshooting Error Messages in CX-Net Data Link Table Check.
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.
Setting Data Links Checking the Data Link Tables Transferring the Data Link Tables Saving the Data Link Tables 124 Section 5-2
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 following example, node 2 does not receive data from node 3 and node 3 does not receive data from node 1. Node 4 does not send any add; it only receives data from other nodes.
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 created by setting data link tables. Send and receive areas are created for only the nodes in each group, as shown below.
Setting Data Links Section 5-2 Device Information Setting Data Link Tables 127
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. Refer to the Controller Link Support Boards Operation Manual (W307) for details on using a Controller Link Support Board.
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. When automatically setting data links, data link operation is based on the values set in the startup node.
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. There are 3 types of 1:N allocations, which use different allocation methods.
Section 5-2 Setting Data Links Automatic Setting, 1:N Allocations This method is used to simplify the establishment of 1:N allocation data links between master and slave nodes. Area 1 Node 1 Node 2 Node 3 Node 4 1 1 1 1 2 2 3 4 1 1 1 1 2 2 3 4 3 4 Area 2 3 4 • 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.
Section 5-2 Setting Data Links Set the following parameter in the DM Parameter Area of the PLC at the startup node. N: DM 30000 + 100 × Controller Link Unit number Word N 15 14 13 12 11 10 9 – – 0 0 – 0 0 8 7 0 – 6 5 4 3 2 1 0 0 0 0: Always specify 0. – : By other setting 0 – Data link mode 001: Automatic setting, equality layout 101: Automatic setting, 1:N allocation (000 is for manual setting. Settings other than 000, 001, or 101 are invalid.
Section 5-2 Setting Data Links Item Area for area 2 Setting range 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 area 2 First word to store link status Set the number of words in BCD between 0 and 1,000. The total number of send words of area 1 and area 2 must not exceed 1,000. When area 2 is not used, set to 0. Set in BCD the first word used for storing data link status.
Section 5-2 Setting Data Links 1:N Allocation, Common Type (7) Participating nodes Master node Area 1 (1) Area and start word Slave nodes (2) Size for master node 1 1 1 1 (3) Size for slave node 2 2 3 4 (Same as (3)) 3 (Same as (3)) 4 1 1 1 1 2 2 3 4 Area 2 (4) Type and start word (5) Size for master node (6) Size for slave node 3 (Same as (6)) 4 (Same as (6)) Features of Common Type 1:N Allocation • Data communications are 1:1 between the master node and slave nodes.
Section 5-2 Setting Data Links 15 8 7 0 1:N allocation type (Set value 0001 = Common type) N+12 --- Start word for area 1 (bit-access area, BCD) N+13 N+15 N+16 (1) 00 Area for area 1 N+14 Area 1 send size (number of words) for master node (BCD) (2) Area 1 send size (number of words) for slave nodes (BCD) (3) Rightmost 4 digits of start word for area 2 (DM Area) (BCD) N+17 Area for area 2 N+18 N+19 N+20 (4) Leftmost digit of start word for area 2 (BCD) Area 2 send size (number of wor
Section 5-2 Setting Data Links Item Send size (number of words) for master node for area 1 Setting range Set the number of words in BCD between 0 and 1,000. The total number of send words for master node of area 1 and area 2 must not exceed 1,000. Set to 0 when area 1 is not to be used or when the master node will transmit no data. Send size (number of Set the number of words in BCD between 0 and 1,000.
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. 5. The total number of words in data link send and receive areas must not exceed 20,000 per node when using Controller Link Units with unit Ver. 1.2 or later, or 12,000 words per node if using pre-Ver. 1.2 Controller Link Units.
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 1a 1a 1a 1a 1b 1b 1c 1d 2 3 4 1c (Same as (3)) (Same as (3)) 1d (4) Number of slave send words 2 (Same as (4)) 3 (Same as (4)) 4 Features of 1 to 1 Type 1:N Allocation • Data communications are 1:1 between the master node and slave nodes.
Section 5-2 Setting Data Links 15 8 7 0 1:N allocation type setting (Set value 0002 = 1 to 1 type) N+12 --- Rightmost 4 digits of start word (BCD) N+13 Area N+14 (1) Leftmost digit of area start word (BCD) N+15 Number of common send words for master node (BCD) (2) N+16 Number of individual send words for master node (BCD) (3) Number of send words for slave nodes (BCD) N+17 N+18 N+19 N+20 (4) 0000 (Reserved) --- 0000 (Reserved) --- 0000 (Reserved) --- First word to store data link
Section 5-2 Setting Data Links 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 participating in the data links must not exceed 1,000. Set to 0 if common data is not to be sent from a master node to a slave node.
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 × Number of slave nodes participating in data links + Number of send words in slave node × Number of slave nodes participating in data links 6.
Section 5-2 Setting Data Links • 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 wordaccess areas (e.g., DM Area). • Data link areas are allocated in ascending order of node addresses. • Data link participation can be specified for each node.
Section 5-2 Setting Data Links Item Area start word Setting range 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 specified, the data link area will be allocated between words 1000 and 1199 in the IR or CIO Area. Area Set the area type of area 1 as a hexadecimal number.
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 participating in data links (including both master nodes and slave nodes) 5. The following values must be satisfied to ensure that the data link area is fully contained within the specified area.
Section 5-2 Setting Data Links 11. If the LR Area in the C200HX/HG/HE or CQM1H-series PLC is automatically 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-series or CS/CJ-series PLC. CIO 1064 to CIO 1199 cannot be linked with C200HX/HG/HE or CQM1H-series PLCs in this way.
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. When area 1 is not used, set to 0. Area 2 data link start word Set the word address in BCD. DM Area: DM 0000 to DM 5999 EM Area: Banks 00 to 15, EM 0000 to EM 6143 Area 2 type Set the area type for area 2 in BCD.
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) Word N 15 14 13 12 11 10 9 – – 0 0 0 0 0 8 7 6 0 0 0 5 4 3 2 1 0 0 0 0: Always 0. – : Other settings 15 0 – Data link mode Set to 01 for automatic setting. (00 is for manual setting. Other values are invalid.
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. When area 2 is not used, set to 0. 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 CIO 0001 to CIO 2540 Status is stored in the CIO area only.
Section 5-2 Setting Data Links C200HX/HG/HE or CQM1H-series PLCs CVM1, CS/CJ, or CV-series PLCs 0 0 to to Available for the data links Example: IR/CIO Area 235 235 to Not available for the data links 2555 Example: DM Area C200HX/HG/HE or CVM1, CS/CJ, or CV-series PLCs CQM1H-series PLCs DM000 DM000 to to Available for the data links DM5999 DM5999 to Not available for the data links DM24575 2.
Section 5-2 Setting Data Links CQM1H-series Startup Node Set the following DM Parameter Area of the PLC of the startup node. DM 6400 15 14 13 12 11 10 9 – – 0 – 0 0 0 8 7 6 0 0 0 5 4 3 2 1 0 0 0 0 0 0: Always 0. – : Other settings 15 Data link mode Set to 01 for automatic setting. (00 is for manual setting. Other values are invalid.
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. *: When 0 is set, the status for nodes 1 to 6 is stored in IR 91 to IR 93. Nodes participating in the Set to ON (1) the bits corresponding to the nodes particidata links pating in the data links.
Section 5-2 Setting Data Links Data Link Areas Created Node #1 LR 0 LR 10 Area 1 LR 20 Node #2 Node #3 #1 #1 #1 #2 #2 #2 #3 #3 #3 #1 #1 #1 #2 #2 #2 #3 #3 #3 D1000 D1200 Area 2 D1400 DM Parameter Setting Example for 1:N Allocation, Common Type When automatic data link creation with common type1:N allocations is used, the DM Parameter Area of the startup node is set as follows: Word Setting N 0050 Data link mode: Automatic 1:N allocation N+1 to N+11 0000 "0" because equality
Section 5-3 Starting and Stopping Data Links Data Link Areas Node 1 Area 1 Area 2 Note Node 2 Node 3 Node 4 CIO 100 1 1 1 1 CIO 130 2 2 3 4 CIO 150 3 CIO 170 4 D1000 1 1 1 1 D1400 2 2 3 4 D1600 3 D1800 4 1. Node 1 is the master node. 2. The startup node (the node that sets the above DM parameter and starts the data link) can be set at either a master node or a slave node.
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 Programming Device or from the user program. User program Startup node Programming Device Controller Link + CX-Net (in CX-Programmer) CS/CJ-series PLCs Turn ON the Start Bit in DM 30000 + 100 × N. (N: unit number) C200HX/HG/HE PLCs Turn ON the Start Bit in AR 07 CVM1 and CV-series PLCs Turn ON the Start Bit in DM 2000 + 100 × N.
Section 5-3 Starting and Stopping Data Links CVM1 and CV-series Start Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Word N Data link Start Bit Start: Changed from OFF to ON or set to ON when power is turned on Stop: Changed from ON to OFF N: DM 2000 + 100 × (unit number) CQM1H-series Start Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 AR 07 Data link Start Bit Start: Changed from OFF to ON or set to ON when power is turned on Stop: Changed from ON to OFF 5-3-2 Using the Controller Link Supp
Section 5-4 Checking Data Link Status Issuing the FINS Command from CVM1, CV-series, CS/CJ-series, and CQM1H-series PLCs CVM1, CV, CS/CJ, or CQM1H FINS command: RUN/STOP Node in data links 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. 5-4 Checking Data Link Status There are two methods for checking the status of active data links: • Check the LED indicators on the front of the Units.
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.
Section 5-4 Checking Data Link Status 5. The following shows an example of an insufficient (short) receive area. Sufficient Node 1 Node 2 Receive area Send area Insufficient (short) Node 1 Send area Node 2 Receive area Data indicated by cannot be received in node 2. Data indicated by is received and the remaining data is truncated. Data indicated by is received in node 2. 6. The following shows an example of a remaining receive area.
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.
Section 5-4 Checking Data Link Status The data link status storage area is set as follows: Data link PLC and First data link mode operating level status word Automatic CS/CJ-series PLC Specify in DM 30000 + 100 × N+7 C200HX/HG/HE Level 0 C200HX/HG/HE Level 1 CVM1 or CVseries PLC CQM1H-series PLC Manual Setting range Either 8, 16, or 31 words between CIO 001 and CIO 6640 Specify in DM 6407 16 words between IR 001 and IR 220 or Specify in DM 6427 IR 300 to IR 496 Specify in DM 2000 16 words between + 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. 5-4-3 Data Link Status Area The numbers of words used to store the data link status information are shown in the following table. These numbers apply to both manual and automatic settings.
Section 5-4 Checking Data Link Status 5-4-5 Error Detection Program Example Local node Data Link Participation Flag Node 1 Data Link Participating Flag Node 1 Communications Error Flag Node 1 Error output Node 2 Data Link Participating Flag Node 32 Data Link Participating Flag Node 2 Communications Error Flag Node 2 Error output Node 32 Communications Error Flag Node 32 Error output When the source node's data link is participating, the AND condition of the data link status for each node can be
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.
Checking Data Link Status Section 5-4 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 operating normally or the example for processing data only when operation is normal using the IL-ILC and JMP-JME instructions). 2.
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. 6-1 6-2 6-3 6-4 6-5 6-6 6-7 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1-1 SEND and RECV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 6-1 Introduction 6-1 Introduction A message service is a command/response system used for data transmission 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 operations, such as mode changes. The message service is implemented by sending commands from the user program. The following communications instructions are used: SEND and RECV: Instructions for sending and receiving data.
Section 6-1 Introduction Message service SEND/RECV instructions Source node: Destination SEND: node 1:1 or 1:N (broadcast) There are no responses for broadcasting. RECV: 1:1 CMND instruction (FINS commands) 1:1 or 1:N (broadcast) There are no responses for broadcasting. Data length 1,990 bytes max. 6-1-1 1,980 bytes max.
Section 6-1 Introduction 2. With the message service, there is no guarantee that a message to a destination node will reach its destination. It is always possible that the message 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 occurring by performing resend processing at the node where instructions are issued.
Section 6-1 Introduction C200HX/HG/HE PLCs 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).
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.
Section 6-1 Introduction 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 occurring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend processing 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.
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 CQM1H-series PLC Destination node: CVM1 or CVseries PLC Area CIO (IR etc.) (See note 1.) Code 00 Area IR (Internal Relay) Code 00 CIO Code 00 TIM (Timer) (See note 2.) 03 LR (Link Relay) 06 CPU Bus Link 01 CNT (Counter) (See note 2.
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.
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 beginning with D (the beginning word for data reception at the source node).
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.
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.
Section 6-1 Introduction using the message service, it is advisable to prevent this situation from occurring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend processing 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.
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 CQM1H-series PLC Destination node: CVM1 or CV-series PLC Area CIO (IR, etc.) (See note 1.) Code 00 Area IR (Internal Relay) Code 00 CIO Code 00 TIM (Timer) (See note 2.) CNT (Counter) (See note 2.
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, CVseries, 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.
Section 6-1 Introduction sage service, it is advisable to prevent this situation from occurring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend processing 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.
Introduction Section 6-1 “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 destination node will reach its destination. It is always possible that the message 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 occurring by performing resend processing at the node where instructions are issued.
Section 6-1 Introduction CQM1H-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).
Section 6-1 Introduction curring by performing resend processing at the node where instructions are issued. With the SEND, RECV, and CMND instructions, resend processing 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.
Section 6-1 Introduction Type of command File Memory Forced set/reset Code FILE NAME READ 2201 CS/ CJ Yes CVM1/ CV Yes SINGLE FILE READ SINGLE FILE WRITE 2202 2203 Yes Yes Yes Yes MEMORY CARD FORMAT FILE DELETE 2204 2205 Yes Yes Yes Yes VOLUME LABEL CREATE/ DELETE 2206 No Yes FILE COPY FILE NAME CHANGE 2207 2208 Yes Yes Yes Yes FILE DATA CHECK MEMORY AREA FILE TRANSFER PARAMETER AREA FILE TRANSFER 2209 220A No Yes Yes Yes 220B Yes Yes PROGRAM AREA FILE TRANSFER 220C Yes Yes
Section 6-1 Introduction C200HX/HG/HE PLCs Note Area Internal Relay Area 1 Range IR 000 to IR 235 (See note 1.) Special Relay Area 1 Special Relay Area 2 SR 236 to SR 255 (See note 1.) SR 256 to SR 299 (See note 1.) Internal Relay Area 2 Link Relay IR 300 to IR 511 (See note 1.) LR 00 to LR 63 Holding Relay Timer/Counter HR 00 to HR 99 T/C 000 to T/C 511 Auxiliary Relay DM Area AR 00 to AR 27 DM 0000 to DM 6655 Extended DM Area EM 0000 to EM 6143 (See note 2.) 1.
Section 6-2 Selecting Communications Instructions Area Note DM Area Range DM 0000 to DM 6655 Extended DM Area EM 0000 to EM 6143 (See note 2.) 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. 2. For details on extended DM Area, refer to the operation manual for the PLC model that is being used.
Section 6-2 Selecting Communications Instructions 6-2-1 Message Service Operations InstrucSource node Destination node tion C200HX/ CQM1H CS/CJ, C200HX CS/CJ, ComHG/HE CVM1, /HG/HE CVM1, puter or CV or or CV CQM1H SEND Yes Yes Yes Yes Yes Yes and (See RECV note 2.) CMND (See note 1.) No Yes Yes Note Yes Yes Yes (See note 2.) Communica- Data tions conlength tents Read to and write from all I/O memory areas. Data read/write: Read to and write from all I/O memory areas. Read PLC model.
Section 6-2 Selecting Communications Instructions 6-2-2 Message Service Specifications Item Transmission format Specifications C200HX/HG/HE PLCs 1:1 SEND or RECV 1:N SEND (broadcast) CS/CJ-series, CVM1,CV-series, or CQM1H-series PLCs 1:1 SEND, RECV, or CMND 1:N SEND or CMND; (broadcast) Packet length SEND: 990 words (1,980 bytes) max. RECV: 990 words (1,980 bytes) max. CMND: 1,990 bytes max. Data content SEND: Command and response for a request to send data are transferred.
Section 6-3 Using the Message Service 6-3 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.
Section 6-3 Using the Message Service C200HX/HG/HE PLCs Name Operating level Address Contents Network Instruction Enabled Flag 1 0 SR 25204 SR 25201 0: Execution not possible (already executing) 1: Execution possible (not executing) Network Instruction Error Flag 1 0 SR 25203 SR 25200 0: Normal end 1: Abnormal end CVM1, and CV-series PLCs Name Address Bit Word Network A502 Instruction Enabled Flag Network A502 Instruction Error Flag Contents Port number corresponds to bit number, i.e.
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 completed (regardless of whether an error occurs). • The Network Instruction Error Flag retains its status until the next data transmission or reception. • Even when there is an abnormal end, the Network Instruction Error Flag turns OFF when the next communications instruction is executed.
Section 6-3 Using the Message Service C200HX/HG/HE and CQM1H-series PLC Response Codes The results of executing SEND and RECV instructions are reflected as shown in the following table. Code 00 (Hex) Contents Normal end Meaning Data transfer was completed successfully. 01 (Hex) Parameter error 02 (Hex) Transmission impossible SEND/RECV instruction operands are not within specified ranges. The source node is not in the network or the Unit was reset during execution of the instruction.
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 Port Operating level #0 Instruction 1 Instruction 2 Port Operating level #1 There is only one communications port per operating level, so no more than one communications instruction can be executed per operating level at one time.
Section 6-3 Using the Message Service PLC Programming Examples CS/CJ-series PLCs Execution condition 000000 A20207 120002 S (See note 1.) KEEP 120000 120001 R The transmission program will run when CIO 000000 turns ON, provided that the Network Instruction Enabled Flag is ON and the RECV instruction has not been executed. CIO 120000 remains ON while the SEND instruction is being executed, and it turns OFF when instruction execution has been completed.
Section 6-3 Using the Message Service (Continued from the previous page) Execution condition 000001 A20207 120000 S KEEP(11) 120002 (See note 1.) 120003 R The reception program will run when CIO 00001 turns ON, provided that the Network Instruction Enabled Flag is ON and the SEND instruction has not been executed. CIO 120002 remains ON while the RECV instruction is being executed, and it turns OFF when instruction execution has been completed.
Section 6-3 Using the Message Service C200HX/HG/HE PLCs Execution condition 00000 25204 31002 S KEEP(11) 31000 31001 R The transmission program will run when IR 00000 turns ON, provided that the Network Instruction Enabled Flag is ON and the RECV instruction has not been executed. IR 31000 remains ON while the SEND instruction is being executed, and it turns OFF when instruction execution has been completed.
Section 6-3 Using the Message Service (Continued from the previous page) Execution condition 00001 25204 31000 S KEEP(11) 31002 31003 R The reception program will run when IR 000001 turns ON, provided that the Network Instruction Enabled Flag is ON and the SEND instruction has not been executed. IR 31002 remains ON while the RECV instruction is being executed, and it turns OFF when instruction execution has been completed.
Section 6-3 Using the Message Service CVM1 and CV-series PLCs I0000 00 A502 07 1200 02H (011) KEEP 120000H 1200 01H Word 1200 00H (040) ↑XFER (030) ↑MOV #000A D00000 (030) ↑MOV #0002 D00001 (030) ↑MOV #0400 D00002 (030) ↑MOV #0705 D00003 (030) ↑MOV #0064 D00004 I0000 D00010 #0010 (192) ↑SEND D00010 1200 00 1200 00 The transmission program will run when I000000 is ON, provided that the Network Instruction Enabled Flag for port 7 is ON and the RECV instruction has not been execut
Section 6-4 FINS Commands and Responses 6-4 FINS Commands and Responses 6-4-1 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.
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. The first byte is the MRES (main response code), which indicates the broad classification of the execution result.
Section 6-5 Commands and Responses for Controller Link Units 6-5 Commands and Responses for Controller Link Units 6-5-1 Command Codes Command code Data link operation mode Active Inactive Name Page 04 01 02 Not valid Valid Valid Not valid DATA LINK START DATA LINK STOP 201 201 05 06 01 01 Valid Valid Valid Valid CONTROLLER DATA READ CONTROLLER STATUS READ 202 203 02 03 Valid Valid Valid Valid NETWORK STATUS READ DATA LINK STATUS READ 205 207 01 02 Valid Valid Valid Valid ECHOBA
Section 6-5 Commands and Responses for Controller Link Units Response Block 04 02 Command code Response 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. 6-5-4 CONTROLLER DATA READ Reads the Controller Link Unit’s model, version, and node address data.
Section 6-5 Commands and Responses for Controller Link Units tions Controller version number, and the third represents the Unit version number. Wired/Optical (response) The connection method for the Controller Link Unit (wired or optical ring). The configuration is as follows: Bit – : Not used Connection type: 0: Wired 1: Optical ring Maximum number of nodes 00: 32 nodes 01: 62 nodes Node Address (response): The Controller Link Unit’s node address is returned between 01 and 3E Hex (1 to 62).
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. Bit Baud rate: 1 Hex: 2 Mbps 2 Hex: 1 Mbps 3 Hex: 500 Kbps For Wired Units: 0: Terminating resistance OFF 1: Terminating resistance ON Status 3 (response): Error information.
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.
Section 6-5 Commands and Responses for Controller Link Units 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. In other models, the areas corresponding to nodes 33 to 62 are reserved for system use. Actual communications cycle time (response): The actual communications cycle time is returned in units of 100 µs in hexadecimal. Polling node address: The current polling node address is returned in hexadecimal.
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. The count can range from 0 to 255 (i.e., 0 to FF in hexadecimal).
Section 6-5 Commands and Responses for Controller Link Units Status flag (response): The overall data link status is returned in one byte of data, as shown in the following diagram.
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. 6-5-8 ECHOBACK TEST Executes an echoback communications test between specified nodes. Command Block 08 01 Command code 1,998 bytes max.
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 08 03 Command code 2,000 bytes max. Test data There is no response to this command.
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. Date and time: These parameters show the seconds, minutes, hour (0 to 23), date, month, and year (the rightmost two digits) in BCD specifying the time that the error occurred. Note 1.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs 6-6-1 Command Codes Command code 01 PLC mode MONITOR RUN Name Page PROGRAM 01 02 Valid Valid Valid Valid Valid Valid MEMORY AREA READ MEMORY AREA WRITE 214 215 03 04 06 Valid Valid Valid Valid Valid Valid MULTIPLE MEMORY AREA READ PROGRAM AREA READ 216 216 04 07 01 Not valid Valid Not valid Valid Valid Valid PROGRAM AREA WRITE RUN 217 218
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Memory area Data Data area address DM Area Word contents DM 0000 to DM 6655 Address used in communications 1st and 2nd 3rd byte bytes 0000 to 19FF 00 to 00 Expansion DM Word contents EM 0000 to EM 6143 0000 to 17FF 00 to 00 Memory area code 82 No. of bytes 2 90 to 97, 98, 2 and A8 to AF (See note.) Note The meanings of the memory area codes for the Expansion DM area are shown in the following table.
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Data Configuration Section 6-6 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 Word contents Memory area No.
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.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Response Block 03 06 00 Command Response code code 00 1,990 bytes maximum Program no. Parameters Beginning address Data No. of bytes 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. The beginning word must be an even number. The address set in the command will be returned in the response. No.
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6 No. of bytes (command and response): The command specifies the number 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. The leftmost bit (bit 15) is used to indicate the completion of the command.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Response Block 04 02 Response code Command code 6-6-10 CONTROLLER DATA READ Reads the following data: • Controller model and version • Area data • PLC status Command Block 05 01 Command code Response Block 05 01 Command code 00 Response code Parameters 00 Program number 20 bytes 20 bytes 16 bytes 10 bytes Controller model Controller version Dummy 1 Area data 65 bytes Dummy 2 PLC status Controller model and C
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 06 01 Command code Response Block 06 01 16 bytes Command Response code code FAL/ FALS no.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs 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. Error message (response): The error message of the present FAL/FALS number is returned as 16 or fewer ASCII characters (16 or fewer bytes). If there is no error, nothing will be 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.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Command Block 23 01 Command code No. of bits/flags Set/Reset specification Bit/flag Set/reset specification Memory area code Forced set/reset data Bit/flag Memory area code Forced set/reset data Response Block 23 01 Command code Parameters Response code No. of bits/flags (command): The number of bits/flags to be processed.
Section 6-6 Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Response Block 23 02 Command code Response code Note The bits (flags) in the following memory areas can be force-set or force-reset. Memory area IR, SR, LR, HR, and AR areas Timer/Counter Data Bit status Completion Flag status 6-6-17 MULTIPLE FORCED STATUS READ Reads the forced status of the specified range of words or timers/counters.
Section 6-7 Response Codes IR, SR, LR, HR, and AR Areas: Bit 15 14 13 Bit 14 Bit 15 12 11 Bit 12 Bit 13 10 9 Bit 10 Bit 11 8 7 Bit 8 Bit 9 6 5 Bit 6 4 Bit 4 Bit 5 Bit 7 3 2 1 Bit 2 Bit 3 0 Bit 0 Bit 1 The status for each bit is as follows: OFF (0): No forced status in effect ON (1): Forced ON or forced OFF Timers/Counters: Status of the Completion Flag will be returned as follows: 00 (Hex): No forced status in effect 01 (Hex): Forced ON or forced OFF 6-7 Response Codes This se
Section 6-7 Response Codes 6-7-2 Network Relay Errors A network relay error will occur whenever a command cannot reach the destination. These errors can occur for several reasons: 1) Data was not successfully 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. In any case, the Unit that was not able to transfer data will return a response indicating a network relay error.
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. 2 1 MRES – – SRES CC P LPS KU S CP NPS TU C SCP L NPS KTU 1 PS: Power Supply Unit CPU: CPU Unit CLK: Controller Link Unit SNT: SYSMAC NET Link Unit Transmission Response Example 2 In this example, data cannot be transferred between a Controller Link Unit and a CPU Unit.
Section 6-7 Response Codes Main code 01: Local node error Subcode 01 Probable cause Local node not part of Network Remedy Add to Network. 02 Token time-out, node address too large Set the local node’s node address below the maximum node address. 03 Number of transmit retries exceeded Check communications with ECHOBACK TEST. If the test fails, check network.
Section 6-7 Response Codes Main code 05: Routing error 10: Command format error Subcode 01 Remedy 02 Destination node address is not set in the routing table. Routing table isn’t registered. 03 Routing table error 04 The maximum number of relay nodes was exceeded in the command. Redesign the network or reconsider the routing table to reduce the number of relay nodes in the command. Use a CS/CJ-series CPU Unit with unit Ver. 2.0 or later with CXProgrammer Ver. 4.
Section 6-7 Response Codes Main code 20: Read not possible Subcode 02 03 Probable cause 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 file that is being uploaded. Check the file name and either interrupt servicing or wait for servicing to complete before re-executing the command. The registered table does not exist or is Set or reset the registered table. incorrect. Too many files open.
Section 6-7 Response Codes Main code Subcode 22: Not executable in cur- 01 rent mode 24: Start/stop not possible 25: Unit error Remedy The mode is wrong (executing). Check the operating mode. 02 Data links are active. The mode is wrong (inactive). Check the data link status before execution. Check the operating mode. 03 Data links are active. The PLC is in the PROGRAM mode. Check the data link status before execution. Check the PLC’s mode. 04 05 The PLC is in the DEBUG mode.
Section 6-7 Response Codes Main code 26: Command error Subcode 01 Probable cause The specified area is not protected. This response code will be returned if an attempt is made to clear protection on an area that is not protected. Remedy The program area is not protected, so it isn’t necessary to clear protection. 02 An incorrect password has been speci- Specify a password that is registered. fied. 04 The specified area is protected.
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. 7-1 7-2 7-3 7-4 What is Network Interconnection? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 7-1-1 Interconnecting Controller Link Networks. . . . . . . . . . . . . . . . . . . . 234 7-1-2 Interconnecting Different Types of Networks . . .
Section 7-1 What is Network Interconnection? 7-1 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.
Section 7-1 What is Network Interconnection? Bridge Gateway Controller Link Controller Link PLC Data Controller Link PLC SYSMAC NET Data Data and communications protocol gateway • Although a C200HX/HG/HE PLC supports multiple (maximum of 2) Communications Units, it cannot function as a data bridge or a data and communications protocol gateway. C200HX/HG/HE CVM1 or CV-series PLC • A CQM1H-series PLC supports only one Communications Unit.
Section 7-2 Remote Programming and Monitoring 7-2 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.
Section 7-2 Remote Programming and Monitoring 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 connected.
Section 7-2 Remote Programming and Monitoring 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.
Section 7-4 Setting Routing Tables 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 corresponding 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. The table traces the route from the relay point to the end network.
Section 7-4 Setting Routing Tables 4. When using a CVM1 or CV-series CPU Unit manufactured prior to April 1996, be sure to register routing tables whether or not the PLC is connecting multiple networks. The date of production can be checked on the lot number as explained below. (The lot number is a four-digit number written on the side panel of the CPU Unit.) 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.
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 CVseries: 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.
Section 7-4 Setting Routing Tables 7-4-5 Connecting to the PLC Connect the Programming Device to a PLC in the network to transfer the routing 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. 7-4-6 Routing Table Enable Bit (C200HX/HG/HE and CQM1H-series Only) Routing tables are written to DM 6450 through DM 6499 with C200HX/HG/HE and CQM1H-series PLCs.
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.
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 PLC (1) SNT Network 10 Unit 3 Node 4 Unit 4 Node 5 Unit 2 Node 3 CLK SNT PLC (2) Network 20 CLK Network 30 PLC (4) Unit 0 Node 1 Unit 7 Node 15 PLC (3) SNT CLK PLC (5) CLK CLK Unit 1 Node 2 PLC (6) CLK Unit 5 Node 5 PLC (7) Unit 6 Node 10 Routing Tables on PLC 1 Local Network Table Relay Network Table No. Loc Netwk SIOU unit# No.
Section 7-4 Setting Routing Tables Routing Tables on PLC 5 Local Network Table Relay Network Table No. Loc Netwk SIOU unit# No. End Netwk 1 2 3 020 01 1 2 3 010 030 PC ID Relay Netwk Node 020 020 003 003 Relay Netwk Node 030 030 015 015 Relay Netwk Node 030 030 015 015 Routing Tables on PLC 6 Local Network Table Relay Network Table No. Loc Netwk SIOU unit# No.
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. 8-1 8-2 8-3 8-4 Communications Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 8-1-1 Data Transmissions over the Network . . . . . . . . . . . . . . . . . . . . . . . 248 8-1-2 Setting the Polling and Polled Nodes . . . . . . . . . . . . . . . . . . . . . . . .
Section 8-1 Communications Mechanism 8-1 8-1-1 Communications Mechanism 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. If the node has data to send, it will attach the data to the token and send them together.
Section 8-1 Communications Mechanism Check Token circulation cycle Check Polling cycle Token circulation cycle Communications cycle time Polling Node Polling cycle Communications cycle time 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).
Communications Mechanism Section 8-1 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. Except for maintenance after Unit replacement (see 9-6 Handling Precautions), set the Units all nodes as polling nodes (set the polling node/polled node bit to “0”).
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 network parameter. Refer to the Controller Link Support Software Operation Manual (W308) for setting procedures. The following table shows the setting range and default for network parameters. Network parameter Setting range Default value Maximum node address 2 to 32 32 (See note 1.
Section 8-2 Communications Cycle Time E: Total number of bytes in messages transmitted during the communications cycle The number of bytes in each message differs according to the instruction being issued.
Section 8-3 Data Link I/O Response Time The number of bytes in each message differs according to the instruction being issued.
Section 8-3 Data Link I/O Response Time CVM1 and CV-series PLCs Under Asynchronous Operation When a CVM1 or CV-series CPU Unit is operating in asynchronous mode, data exchange with the Controller Link Unit is executed as interrupt processing during peripheral processing, regardless of the cycle time of PLC instruction execution.
Section 8-3 Data Link I/O Response Time PLCs Note Words per data exchange CS/CJ-series PLCs CVM1 and CV-series PLCs Approx. 7,800 words Approx. 3,700 words C200HX/HG/HE PLCs CQM1H-series PLCs Approx. 4,000 words Approx. 1,200 words 1. Use the above equations only if only one Controller Link Unit is mounted on the PLC. If other CPU Bus Units are mounted on the PLC, obtain the refresh times for each CPU Bus Unit and add to the above equations. 2.
Section 8-3 Data Link I/O Response Time CVM1, CV-series, CS/CJ-series PLCs Under Synchronous Operation or C200HX/HG/ HE and CQM1H-series PLCs Maximum I/O Response Time The maximum data link I/O response time is calculated for four cases. 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 PLC at nodes #1 and 7 are greater than the communications cycle time.
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 Cycle time of PLC at node #1 × 2 1.5 ms 15 ms × 2 Communications cycle time × 3 PLC cycle time at node #7 × 3 (See note.) 9.9 ms × 3 20 ms × 3 (See note.) Output ON delay Total (data link I/O response time) 15 ms 136.
Section 8-3 Data Link I/O Response Time Input I/O refresh Input device Data exchange Input ON delay X 1 cycle (1) Program PLC at node #1 X (2) Controller Link Unit transmission processing Data link transmission Controller Link Unit transmission processing Communications cycle time X (3) Program PLC at node #7 1 cycle Output device Output ON delay Data link I/O response time Output There are three points shown in the diagram above where processing is delayed, increasing the data link I/O res
Section 8-3 Data Link I/O Response Time mum number of words (1,200 words) per time. For example, if the total number of data link words is 5,000, the result will be as shown below. 5,000/1,200 = 2.5 (approx. 3) Cycle time of PLC at node #7 × (2+3) The PLC cycle time when data link words exceed 12,000 using a CS/CJseries Controller Link Unit with unit version 1.2 or later is calculated as follows. 12,000 to 15,600 (approx.) words: × 3 15,600 (approx.) to 20,000 words: × 4 Noise may increase I/O delays.
Section 8-3 Data Link I/O Response Time 3. At node #7, data from the previous data exchange is still being transferred, causing a delay of up to one cycle before the input is read into the PLC. 4. The data transferred in data link processing arrives at the PLC at node #7 after data exchange, so the data will not be read into the PLC until the next data exchange, causing a delay of up to 1 to 2 cycle. The maximum number of words that can be exchanged in a single data exchange is approx.
Section 8-3 Data Link I/O Response Time Case 4 The following diagram illustrates the data flow that will produce the maximum data link I/O response time when the cycle time of the PLC at node #1 < the communications cycle time and the cycle time of the PLC at node #7 < the communications cycle time.
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 Cycle time of PLC at node #1 × 2 1.5 ms 8 ms × 2 Communications cycle time × 4 PLC cycle time at node #7 × 2 (See note.) 9.9 ms × 4 8 ms × 2 (See note.) Output ON delay Total (data link I/O response time) 15 ms 88.
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 PLC at node #1 --15 ms PLC cycle time at node #7 (See note.) Output ON delay 20 ms (See note.) --- 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 words that can be exchanged per data exchange, the maximum data link I/O response time will be cycle time of PLC at node #7 × 3.
Section 8-3 Data Link I/O Response Time 2. Data exchange occurs just after the PLC at node #1 passes the token that makes it the polling node, causing a delay of up to one communications cycle time before the data is transferred in data link processing. 3. At node #7, data from the previous data exchange is still being transferred, causing a delay of up to one cycle before the input is read into the PLC. 4.
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 calculation. Each time can be determined as follows. Data Processing Time (see page 254.) 0.0025 × (8 + 16) × 8 + 4.7 = 5.18 ≅ 5.2 ms Data Transmission Time Data transmission time varies with the baud rate. Baud rate Data transmission time 2 Mbps 1 Mbps Number of data link words × 0.008 ms Number of data link words × 0.
Section 8-4 Message Delay Times Note Be sure to take into account the time required for data links and program execution, 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 Reception processing Link Service processing (source node) Max. transmission delay Link Service processing (destination node) Data stored Max.
Section 8-4 Message Delay Times Reception Processing Number of words transferred × 0.00075 + 1.3 ms Note The I/O response time can increase due to noise or restrictions on the number of frames that can be transmitted while data links are operating. Example In this example, the maximum transmission delay is calculated for an instruction sending 256 words of data in a system with 32 nodes. Network specifics are detailed below: Baud rate: Max.
Section 8-4 Message Delay Times RECV (193)/RECV(98) executed Data stored 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) Maximum transmission dela
Section 8-4 Message Delay Times 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 instruction receiving 256 words of data in a system with 32 nodes. Network specifics are detailed below: Baud rate: Max.
Section 8-4 Message Delay Times 8-4-2 C200HX/HG/HE and CQM1H-series PLCs 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 (source node) Transmission processing Communications cycle Transmission delay Reception processing Link Unit servicing (destination node) Max.
Section 8-4 Message Delay Times Example In this example, the maximum transmission delay is calculated for an instruction sending 256 words of data in a system with 32 nodes. Network specifics are detailed below: Baud rate: Max. node number: Number of nodes: Number of polled nodes: Number of words: Data link: 2 Mbps 32 32 4 256 halted Link Unit servicing (source node) Transmission processing PLC cycle time (source node) 0.00125 × 256 + 3 = 3.32 ≅ 3.3 ms Communications cycle time (See note.
Section 8-4 Message Delay Times interval (destination node) + Transmission processing (response) + Communications cycle + Transmission delay (response) + Reception processing (response) + Link Unit servicing interval (source node). 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 Commands: 2 ms Responses: Number of words transferred × 0.
Section 8-4 Message Delay Times Link Unit servicing (source node) × 2 PLC cycle time (source node) × 2 Transmission processing (command) Communications cycle time × 2 (See note.) Transmission delay (command) 3 ms (600 × 4 + 110 × 32 + 320 × 0 + 4 × 0 + 2,290) × 2 = 8,210 µs × 2 ≅ 16.4 ms 0.112 ≅ 0.1 ms Reception processing (command) Link Unit servicing (destination node) 2.3 ms PLC cycle time (destination node) Transmission processing (response) Transmission delay (response) 0.00125 × 256 + 3 = 3.
Message Delay Times 274 Section 8-4
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. 9-1 9-2 Troubleshooting Using Indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 9-1-1 CS/CJ-series Controller Link Units . . . . . . . . . . . . . . . . . . . . . . . . . 276 9-1-2 C200HX/HG/HE and CQM1H-series Controller Link Units. . . . . .
Section 9-1 Troubleshooting Using Indicators 9-1 Troubleshooting Using Indicators This section describes the errors indicated by the Controller Link Unit indicators and possible remedies.
Section 9-1 Troubleshooting Using Indicators RUN Indicators ERC ERH Probable cause Probable remedy INS Not lit Not lit Not lit Not lit Power is not being supplied correctly to the PLC. The Controller Link Unit has become loose. Check the power supply voltage and supply at the recommended voltage. Secure the Controller Link Unit firmly. The Controller Link Unit is Refer to CS-series PLCs mounted in the wrong posi- or CJ-series PLCs and tion. mount the Unit correctly.
Section 9-1 Troubleshooting Using Indicators RUN Indicators ERC ERH Lit --- --- Probable cause Probable remedy INS Not lit Terminating resistance is not set correctly. (Wired Unit) Cables are not connected correctly. Turn ON the terminating resistance at the nodes at both ends of the Network and turn it OFF at all other nodes. Check the cable connections are reconnect correctly. The node address is larger than the maximum node address set for the network parameters.
Section 9-1 Troubleshooting Using Indicators Troubleshooting with LNK and M/A Indicators Data Link Cannot be Started The following table describes the LNK and M/A indicators at the startup node 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 in Data Link The following table describes the LNK and M/A indicators when a node cannot participate in the data links. Data link participation depends on the Controller Link Unit operating normally and participating in the Network. Refer to Troubleshooting with RUN, ERC, ERH and INS Indicators earlier in this section and check Unit operation before using the following table.
Section 9-1 Troubleshooting Using Indicators Configuring a Network with 33 Nodes or More Problem The node is not present in the network. (ERC indicator: ON RUN indicator: OFF INS indicator: OFF) The node is not present in the network (ERC indicator: OFF RUN indicator: ON INS indicator: OFF) The maximum number of nodes in the network is set to 32. Status The ERC indicator is ON in the CS1WCLK21-V1 or CJ1WCLK21-V1, and a node address higher than 32 is set.
Section 9-1 Troubleshooting Using Indicators Problem The data link status is showing statuses of 32 nodes only. Status The data link status storage area is set to default settings, and the data link status storage format specification in the DM Parameters Area is set to the 8-bit format. The polling node is a C200HW-CLK21, CQM1H-CLK21, CVM1-CLK21, CS1W-CLK21, or CJ1W-CLK21. Cause and remedy The default area for storing data link status is the Special I/O Unit Area.
Section 9-1 Troubleshooting Using Indicators Configuring a Network with 32 Nodes or Less Problem The node is not present in the network. (ERC indicator: ON RUN indicator: OFF INS indicator: OFF) Status The node with the ERC indicator ON is set to a node address of 33 or higher. Cause and Remedy Reset the node address between 1 and 32, then turn the power OFF and ON again. The maximum number of nodes in the network is set to 62. A CS1W-CLK21-V1 or CJ1W-CLK21-V1 is present in the network.
Section 9-1 Troubleshooting Using Indicators RUN Indicators ERC ERH Probable cause Probable remedy INS Not lit Not lit Not lit Not lit Power is not being supplied correctly to the PLC. Check the power supply voltage and supply at the recommended voltage. The Controller Link Unit has become loose. Secure the Controller Link Unit firmly. The Bus Connection Unit has become loose. Tighten the mounting screws on the Bus Connection Unit.
Section 9-1 Troubleshooting Using Indicators RUN Indicators ERC ERH Lit --- --- Probable cause Probable remedy INS Not lit Terminating resistance is not set correctly. Cables are not connected correctly. Turn ON the terminating resistance at the nodes at both ends of the Network and turn it OFF at all other nodes. Check the cable connections and reconnect correctly. The node address is larger than the maximum node address set for the network parameters.
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy LNK Lit --- M/A Data link operating normally. --- Flashing --- There is an error in the data link tables. If the ERH indicator is lit, reset the data link tables. When manual setting is used, either data link tables have not been created for the startup node or there is an error in the data link tables.
Section 9-1 Troubleshooting Using Indicators Indicators Data Link Cannot be Stopped Probable cause Probable remedy LNK Lit --- M/A 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. Flashing Not lit When automatic setting is used, the data link parameters at the startup node are incorrect for the local node (the data link area is out of range for the local node.
Section 9-1 Troubleshooting Using Indicators • Setting hardware switches. RUN Indicators ERC ERH Lit Not lit Not lit Lit Not lit Lit --- Probable cause Probable remedy INS --- Unit operating normally; Network participation normal. --- Controller Link Unit faulty. If the ERC indicators still lights when the Unit is mounted on another PLC, replace the Controller Link Unit. Not lit Not lit Not lit Not lit Power is not being supplied correctly to the PLC.
Section 9-1 Troubleshooting Using Indicators Indicators Probable cause Probable remedy RUN ERC ERH INS Lit ----Not lit Terminating resistance is not set correctly. Turn ON the terminating 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 conneccorrectly. tions and reconnect correctly.
Section 9-1 Troubleshooting Using Indicators Troubleshooting with LNK and M/A Indicators Data Link Cannot be Started The following table describes the LNK and M/A indicators at the startup node 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 in Data Link The following table describes the LNK and M/A indicators when a node cannot participate in the data links. Data link participation depends on the Controller Link Unit operating normally and participating in the Network. Refer to Troubleshooting with RUN, ERC, ERH and INS Indicators earlier in this section and check Unit operation before using the following table.
Section 9-2 Status Area and Troubleshooting Troubleshooting with the PWR Indicator indicator Unit status Possible error status Lit Power is being sup- --plied normally Not lit Power supply error Power supply cables Probable cause --- --- Cables are loose. Cables are broken. Check the cable connections. Check whether any of the cables are broken. Check the cable connections. Cable polarity is incorrect.
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.
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-CLK21V1 or CJ1W-CLK21-V1. Data Link Status: CIO 1500 + 25 × (Unit No.
Section 9-2 Status Area and Troubleshooting 4-Bit Format Specified Node 4 Node 3 Node 2 Node 1 Node 8 Node 7 Node 6 Node 5 Node 12 Node 11 Node 10 Node 9 Node 16 Node 15 Node 14 Node 13 Node 20 Node 19 Node 18 Node 17 Node 24 Node 23 Node 22 Node 21 Node 30 Node 27 Node 26 Node 25 Node 32 Node 31 Node 30 Node 29 Node 36 Node 35 Node 34 Node 33 Node 40 Node 39 Node 38 Node 37 Node 44 Node 43 Node 42 Node 41 Node 48 Node 47 Node 46 Node 45 Node 52 Node 51 No
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Communications error is 1: The relevant node is not in ON the Network. Probable remedy Enter the node in the Network. A communications error Conduct an echoback test has occurred as a result of using the Controller Link noise. Support Software and if this does not correct the error, check the usage environment. A communications error Refer to page 287 Troublehas occurred.
Section 9-2 Status Area and Troubleshooting Other Status Bit status Error log exists (CIO 1500 + 25 × n, bit 15) is 1: ON Probable cause Error information on the Controller Link Unit (an error log) has been recorded. Probable remedy Using the Controller Link Support Software or an FINS command, read the cause of the current error. Alternatively, use past error log records to troubleshoot the problem.
Section 9-2 Status Area and Troubleshooting Bit status Data link table error (CIO 1500 + 25 × n, bit 1) is 1: ON Network parameter error (CIO 1500 + 25 × n, bit 0) is 1: ON Probable cause The data link table data in the CS/CJ CPU Bus Unit Area is damaged. Probable remedy Refer to 5-3 Starting and Stopping Data Links and reset the data link tables correctly. If the error occurs again, replace the CPU Unit. There is an error in the When using manually set data link table settings.
Section 9-2 Status Area and Troubleshooting 9-2-2 C200HX/HG/HE Controller Link Units The status of the Unit and Network is indicated in the following manner in the PLC. Status Area Duplicate Operating Levels/Refresh Error: AR 00 Operating level 1 Operating level 0 A bit will be turned ON (1) the next cycle when 1) The same operating level is set more than once or 2) A refresh error occurs between the Controller LInk Unit and the PLC's CPU Unit.
Section 9-2 Status Area and Troubleshooting Polling Node Address, Startup Node Address: SR 238, SR 242 Operating level 0 SR 238 Operating level 1 SR 242 Polling node address Startup node address Each node address is displayed in 2-digit BCD.
Section 9-2 Status Area and Troubleshooting Data Link Status: First Data Link Status Word + 0 to + 15 Node Node Node Node Node Node Node Node Node Node Node Node Node Node Node Node 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 Node Node Node Node Node Node Node Node Node Node Node Node Node Node Node Node 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 PLC status 0: Inactive (user program not running) 1: Active (user program running) PLC's CPU Unit error 0: Normal 1: Error Communications error (data link re
Section 9-2 Status Area and Troubleshooting Bit status Data link participation is 0: OFF Probable cause The relevant node is not part of data links. Offset error is 1: ON There are no active data links in the Network. The offset is greater than the number of send words at the relevant node. Receive area insufficient (short) is 1: ON Receive area remaining is 1: ON 302 Probable remedy Enter the relevant node in data links.
Section 9-2 Status Area and Troubleshooting Other Status Bit status Duplicate Operating Levels/Refresh Error: Operating level 0: AR0011 Operating level 1: AR0010 One of the above flags is 1: ON Probable cause Probable remedy The same operating level is If two units are required, set twice within the same set them to different operPLC. 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.
Section 9-2 Status Area and Troubleshooting Data Link Status: CIO 1500 + 25 × (Unit No.
Section 9-2 Status Area and Troubleshooting Bit status Probable cause Communications error is 1: The relevant node is not in ON the Network. Probable remedy Enter the node in the Network. A communications error Conduct an echoback test has occurred as a result of using the Controller Link noise. Support Software and if this does not correct the error, check the usage environment. A communications error Refer to page 287 Troublehas occurred.
Section 9-2 Status Area and Troubleshooting Other Status Bit status Error log exists (CIO 1500 + 25 × n, bit 15) is 1: ON Probable cause Error information on the Controller Link Unit (an error log) has been recorded. Probable remedy Using the Controller Link Support Software or an FINS command, read the cause of the current error. Alternatively, use past error log records to troubleshoot the problem.
Section 9-2 Status Area and Troubleshooting Bit status Data link table error (CIO 1500 + 25 × n, bit 1) is 1: ON Network parameter error (CIO 1500 + 25 × n, bit 0) is 1: ON 9-2-4 Probable cause The data link table data in the EEPROM of the CPU Unit is damaged. Probable remedy Refer to 5-3 Starting and Stopping Data Links and reset the data link tables correctly. If the error occurs again, replace the CPU Unit. There is an error in the When using manually set data link table settings.
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.
Section 9-2 Status Area and Troubleshooting Bit Status and Error Processing Data Link Status Bit status PLC’s CPU Unit error is 1: ON Probable cause Probable remedy A fatal PLC error, non-fatal Refer to the PLC’s operaPLC error, or a watchdog tion manual and correct timer error has occurred. the error. If the error occurs again, replace the PLC. The Unit is mounted to a non-compatible PLC. Refer to 1-2-4 Controller Link Unit Models and PLCs and mount onto the correct PLC.
Section 9-2 Status Area and Troubleshooting Bit status Receive area insufficient (short) is 1: ON Probable cause The send area at the relevant node is larger than the receive area and some data cannot be received. Probable remedy When the intention is not to receive all data, use as is (data that cannot be received will be read and discarded.
Section 9-2 Status Area and Troubleshooting Bit status Routing table error (IR 19002) is 1: ON Probable cause The routing table data within the CPU Unit’s EEPROM is damaged. There is an error in the routing table setting. Data link table error (IR 19001) is 1: ON Network parameter error (IR 19000) is 1: ON Probable remedy Refer to 7-4 Setting Routing Tables and reset the routing tables correctly. If the error occurs again, replace the Controller Link Unit.
Section 9-3 Error Log 9-3 Error Log The error log records errors that occur in the Controller Link Unit and the time they occur. The error log can be read or cleared by using Programming Devices, such as the Controller Link Support Software, the CX-Net, or Support Software for the CPU Unit (SYSMAC Support Software), or by using the message service (FINS commands for the Controller Link Unit.
Section 9-3 Error Log Time Information The time is recorded in BCD with one byte each for the year (the rightmost two digits), month, day, hour, seconds, and minutes of the time the error occurred. Note 1. The PLC’s time information can be read and used in the Controller Link Unit. When the time cannot be read from the PLC, all error log times will but 0. This can occur for PLC startup errors, Unit No. errors, CPU Unit errors, or PLC model errors.
Section 9-3 Error Log Error code Contents 000E Hex 000F Hex 0010 Hex I/O Bus error 0011 Hex PLC initialization error (Time out) 0012 Hex 0013 Hex CPU Unit memory error Detail code 1st byte 2nd byte 00 Hex 00 Hex PLC initialization error PLC Setup exceeds capacity CPU Unit write-protected 01 Hex: Read error 02 Hex: Write error 01 Hex: Data link table 02 Hex: Network parameters 03 Hex: Routing table 04 Hex: PLC Setup Area Correction Written to EEPROM Applicable PLC Check the operating enviro
Section 9-3 Error Log Error code Contents 0101 Hex Transmission failed; local node not in Network 0103 Hex Transmission failed; retry count exceeded 0104 Hex Transmission failed; maximum number of frames exceeded.
Section 9-3 Error Log Error code 0109 Hex 010A Hex 010B Hex Contents Transmission failed; destination busy Detail code 1st byte 2nd byte Command block Bits 0 to 7: Source node address Bits 8 to 14: Source Network address Transmission failed; communicaBit 15: tions controller error OFF Response block Bits 0 to 7: Destination node address Bits 8 to 14: Destination Network address Bit 15: Transmission failed; PLC error ON (1st byte: bits 8 to 15; 2nd byte, bits 0 to 7) Correction Written to EEPROM Inc
Section 9-3 Error Log Error code Contents Detail code 1st byte 2nd byte 0117 Hex Internal buffer full 0118 Hex Illegal packet discarded 0203 Hex EEPROM error 0206 Hex Number of participating nodes Network decreased (local node still partic- parameters ipating) maximum node Number of participating nodes decreased (local node not partic- address ipating) Polling node changed Address of previous polling node Inconsistent network parameter 00 Hex 0207 Hex 0208 Hex 0209 Hex Command block Bits 0 to 7
Section 9-3 Error Log Error code Contents Detail code 1st byte 2nd byte 0216 Hex Backup power supply error (Opti- 00 Hex cal Units only) 021A Hex Set table logic error 00 Hex 021B Hex 021C Hex 0220 Hex Hardware error 00 Hex Data link error inactive Not set 0223 Hex No CS/CJ Remake and set the appropriate data. Check the unit version. Yes All Error status (See note.) Replace the Control- No ler Link Unit. Restart the Control- Yes ler Link Unit.
Troubleshooting Error Messages in CX-Net Data Link Table Check Section 9-4 Error Status The status of each bit indicates that an error has occurred as given in the diagram below.
Troubleshooting Error Messages in CX-Net Data Link Table Check Section 9-4 Example Display of Error List 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.
Troubleshooting Error Messages in CX-Net Data Link Table Check Node XX Dest Overflow Node XX Node size Section 9-4 Error message Warning: Overflow occurred Troubleshooting The number of receive words at the destination node is larger than the number of send words at the source node. Change the number of send words or number of receive words if the allocations are not intended. If the allocations are intended, the data link tables can be transmitted without making any changes.
Section 9-5 Cleaning and Inspection 9-5 Cleaning and Inspection This section describes cleaning and inspection procedures that are to be performed as daily maintenance. 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.
Section 9-6 Handling Precautions 9-6 Handling Precautions The Controller Link Unit is a Network device. If the Unit is damaged, it will effect the entire Network, so always ensure repairs are undertaken immediately. We recommend that you have a spare Controller Link Unit on hand so that repairs may be conducted quickly. 9-6-1 Replacing the Unit Observe the following precautions when replacing the Unit. • Always turn OFF the power before replacing the Unit. • Check that the new Unit is not faulty.
Section 9-6 Handling Precautions Relay Terminal Blocks (CJ1W-TB101) can be used on any node but the end nodes to enable replacing the Controller Link Unit with the communications cable connected and turn OFF the power to only the Unit being replaced. Refer to Appendix C Using the Relay Terminal Block for details. 3. When replacing the Unit, do not reconnect that node to the Network before carrying out the procedures listed below.
Section 9-6 Handling Precautions CVM1 and CV-series Controller Link Units DM 2000 + 100 × n n = Unit number – : Other settings Polled node/polling node 0: Polling node mode 1: Polled node 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 Using the above procedure to reset the network parameters of the node that was replaced to the same as the other nodes in the Network. !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 CVseries Controller Link Unit, do not connect that node to the Network before carrying out the above procedures.
Section 9-6 Handling Precautions 2. Detach the communications cables and the Bus Connection Unit attached to the Controller Link Unit to be replaced and remove the Unit. 3. Mount the new Controller Link Unit in the PLC and connect the communications cables and the Bus Connection Unit. (Refer to SECTION 3.) 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.
Section 9-6 Handling Precautions previous status. If, however, the CPU Unit is replaced, the data link tables and routing tables will need to be reset. 1,2,3... 1. Turn off all nodes in the Controller Link Network. 2. Detach the communications cables attached to the Controller Link Unit to be replaced and remove the Unit. 3. Mount the new Controller Link Unit in the PLC and connect the communications cables. (Refer to SECTION 3.) 4.
Handling Precautions 330 Section 9-6
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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 10-1-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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 network without turning OFF the power to the existing network. Example of Adding Nodes Using a T-branch Line System Configuration at Startup CS1W-RPT01 Repeater Unit System Configuration after Adding Nodes CS1W-RPT01 Repeater Unit The power to the PLC does not need to be turned OFF to the nodes shown within the broken line.
Section 10-1 Adding Nodes Using a Repeater Unit 10-1-2 Procedure for Adding Nodes Check the operating conditions and setting status of the existing network. Setting the Repeater Unit Set the baud rate and terminating resistance switch on the Repeater Unit.
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. If the ladder program is not suitable, the system may not operate properly. Make sure that the node addresses of the new nodes are not already being used by other nodes in the same network.
Section 10-1 Adding Nodes Using a Repeater Unit Before connecting the new nodes to the existing network, always set the polling/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. After the new nodes are participating in the network normally, return the polling/polled node setting to polling node.
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 received to change with active data links Change during active data links completed Time Data link area of node with the data link table to be changed Most recent data read from Data link send data Unit Data immediately before change Most recent data read from Unit.
Section 10-2 Changing the Data Link Tables with Active Data Links 10-2-5 Procedure for Changing the Data Link Tables with CXProgrammer 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 configuration.
Changing the Data Link Tables with Active Data Links Section 10-2 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. If the No Button is clicked, the data link tables will not be compared.
Changing the Data Link Tables with Active Data Links Section 10-2 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 cancelled by clicking the No Button. (The active data link table will not be changed if the transfer is cancelled.) 11. When the data link table is written correctly, the following message box will be displayed. Note Transfer data link tables with active data links for one node at a time.
Changing the Data Link Tables with Active Data Links Section 10-2 341
Changing the Data Link Tables with Active Data Links 342 Section 10-2
Appendix A Standard Models Controller Link Units Applicable PLC CS-series PLCs Model number CS1W-CLK21-V1 CJ-series PLCs CJ1W-CLK21-V1 CVM1 and CV-series PLCs CVM1-CLK21 C200HX/HG/HE PLC CQM1H-series PLCs Remarks See CPU Units and Programming Devices in this appendix. C200HW -CLK21 CQM1H -CLK21 Controller Link Support Board Applicable computer IBM PC/AT or compatible Model number 3G8F5-CLK21-E Remarks Controller Link Support Software included.
Appendix A Standard Models CX-Programmer with CX-Net Applicable computer Name Model number IBM PC/AT or CX-Programmer compatible runwith CX-Net ning Windows 95/ 98 or Windows NT Applicable PLCs WS02-CXPC@-E-V@ CS/CJ-series, C200HX/HG/HE, CVM1, CV-series, and CQM1H-series PLCs CPU Units and Programming Devices CPU Units PLC Model number Remarks CS-series PLCs CS1H-CPU67-V1 CS1H-CPU66-V1 CS1H-CPU65-V1 CS1H-CPU64-V1 CS1H-CPU63-V1 CS1G-CPU45-V1 CS1G-CPU44-V1 CS1G-CPU43-V1 CS1G-CPU42-V1 Earlier vers
Appendix A Standard Models Other Products Used with Controller Link Units Name Bus Connection Unit Model number Required to connect a Controller Link 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. Required to mount both a Controller Link Unit and a PLC Card Unit to a C200HZ, C200HX, C200HG, or C200HE CPU Unit.
Appendix B Memory Areas This appendix provides easy reference to the words in PLC memory areas used by Controller Link Networks.
Appendix B Memory Areas CS/CJ CPU Bus Unit Duplication Error Flag Bit A40113 is turned ON when two CS/CJ CPU Bus Units have been assigned the same unit number. The dupli- 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.
Appendix B Memory Areas Network Participation Status: CIO 1500 + 25 × (Unit No.) + 2, + 3 (See pages 190, 304.) 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 + 2 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 + 3 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 + 4 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 +5 − − 62 61 60 59 58 57 56 55 54 53 52 51 50 49 The numbers in the squares indicate node addresses.
Appendix B Memory Areas 4-Bit Format Specified Node 4 Node 3 Node 2 Node 1 Node 8 Node 7 Node 6 Node 5 Node 12 Node 11 Node 10 Node 9 Node 16 Node 15 Node 14 Node 13 Node 20 Node 19 Node 18 Node 17 Node 24 Node 23 Node 22 Node 21 Node 30 Node 27 Node 26 Node 25 Node 32 Node 31 Node 30 Node 29 Node 36 Node 35 Node 34 Node 33 Node 40 Node 39 Node 38 Node 37 Node 44 Node 43 Node 42 Node 41 Node 48 Node 47 Node 46 Node 45 Node 52 Node 51 Node 50 Node 49 Node
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 Controller Link Unit this area is called the DM Area. Unit no. Words DM30000 to DM30009 0 Unit no.
Appendix B Memory Areas Parameters for Automatically Setting Data Links with Equality Layout: D30000 + 100 × (Unit No.) + 1 to 9 (See page 145.
Appendix B Memory Areas 1 to 1 Type 15 8 7 0 1:N allocation type setting (Set value 0002 = 1 to 1 type) N+12 Rightmost 4 digits of start word (BCD) N+13 Area N+14 Leftmost digit of area start word (BCD) N+15 Number of common send words for master node (BCD) N+16 Number of individual send words for master node (BCD) Number of send words for slave nodes (BCD) N+17 0000 (Reserved) N+18 N+19 0000 (Reserved) N+20 0000 (Reserved) First word to store data link status (bit-access area) (BCD) N+
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. Participate: ON Not participate: OFF C200HX/HG/HE PLCs SR Area Communications Instruction Response Codes: SR 237 (See page 191.) SR 237 Operating level 1 response code Operating level 0 response code Each response code is in 2-digit hexadecimal.
Appendix B Memory Areas Operating Level Status: SR 252 (See pages 189, 300.
Appendix B Memory Areas Communications Controller Hardware Error, EEPROM Error: AR 11, AR 15 (See page 299.) Operating level 0 AR 11 Operating level 1 AR 15 1: Communications controller hardware error 1: EEPROM error Service Time: AR 16, AR 17 (See page 299.) Operating level 0 AR 16 Operating level 1 AR 17 The service time for each PLC cycle is calculated by the PLC and displayed in 0.1-ms units in 4-digit BCD. Operating Level Connection Status, Inconsistent Network Parameters: AR 24 (See page 299.
Appendix B Memory Areas Routing Tables (DM 6450 to DM 6499) (See page 243.) 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.
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. Network Status Flags Bits A50200 through A50207 are turned ON to indicate that ports #0 through #7, respectively, are enabled for the SEND(192), RECV(193), and CMND(194).
Appendix B Memory Areas Local Data Link Participation Status: CIO 1500 + 25 × (Unit No.) + 6 (See page 304.) 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 156, 305.) 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.
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. Unit no. Words DM2000 to DM2009 0 Unit no.
Appendix B Memory Areas Parameters for Automatically Setting Data Links: DM 2000 + 100 × (Unit No.) + 1 to + 9 (See page 147.
Appendix B Memory Areas Communications Unit Flags, Control Bits, and Status Information Local Data Link Participation Status: IR 90 (See page 309.) 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 156, 309.
Appendix B Memory Areas Controller Link Status Information Error Information: IR 190 (See page 309.
Appendix B Memory Areas Automatic Data Link Parameters: DM 6401 to DM 6409 (See page 150.
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 Wired Controller Link Unit Relay Terminal Block Model number CJ1W-TB101 Remarks Cannot be used on the nodes on both ends of the network.
Appendix C Using the Relay Terminal Block ON 1 BAUD TE 2 RA 1 2 ON SW1 Relay Terminal Block TER SW ON Connect the Relay Terminal Block. 4. Attach the terminal block cover to the communications terminal block on the Controller Link Unit. ON Relay Terminal Block 1 2 ON SW1 1 BAUD TE 2 RA TER SW ON Connect the Relay Terminal Block. BD H BD L SHLD Replacing a Controller Link Unit with a Relay Terminal Block Use the following procedure to replace a Controller Link Unit with a Relay Terminal Block.
Using the Relay Terminal Block Appendix C 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. 2.
Index Numerics 1 to 1 type, 10, 130, 139 1:N allocations 1 to 1 type, 10, 130, 139 chain type, 10, 130, 141 common type, 10, 130, 135 4-bit format, 156, 158, 160, 295, 350 8-bit format, 156, 157, 160, 294, 349 A-B applications precautions, xxii, 27 AR Area reading, 214, 216 writing, 215 asynchronous operation, 263 automatic setting 1:N allocations, 10, 130, 131 setting example, 151 bits controlling, 222, 223 Bus Connection Units models, 345 C C200HX/HG/HE PLCs installation, 59 memory areas, 354 models, 34
Index settings, 93 CJ Series settings, 89 CJ-series PLCs, 46 CQM1H Series settings, 100 CQM1H-series PLCs, 53 CS Series settings, 86 CS-series PLCs, 44 CVM1 and CV Series settings, 97 CVM1 and CV-series PLCs, 51 models, 16, 343 counters changing PV, 215 reading Completion Flag status, 214, 216 reading PV, 216 CPU Units models, 344 CQM1H-series PLCs CMND, 179 installation, 64 instructions, 175 memory areas, 361 models, 344 RECV, 176 SEND, 175 synchronous operation, 256 CS-series PLCs data link tables, 115 in
Index error log, 7 reading, 210 response codes, 227 FAL/FALS No.
Index reading, 219 reading controller status, 203, 220 receiving routing table settings, 243 status, 219 polling cycle definition, 248 polling node setting, 249 precautions applications, xxii, 27 general, xx handling, 324 operating environment, xxi replacing the Unit, 324 safety, xx procedures message service, 27 programming PLC programming examples, 194 remote, 236 Programming Devices, 21, 237 models, 345 programs reading, 216 writing, 217 R RAS functions, 7 RECV, 168 RECV delay time, 267 RECV instruction
Index changing PV, 215 reading Completion Flag status, 214, 216 reading PV, 216 troubleshooting, 276 status area, 292 status flags, 301 using indicators, 276 U-W unit numbers setting CJ-series Wired Units, 90 CS-series Wired Units, 86 CVM1 and CV Units, 98 Wired Network 62 Node Enable Bit, 79, 351 wiring Wired Controller Link Units, 66 373
Index 374
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-09 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version. Revision code 1 Date February 1997 2 August 1997 3 February 1999 4 5 September 1999 May 2001 Revised content Original production Removed “-HZ” model suffix throughout the manual.
Revision History Revision code 06 Date February 2003 07 June 2003 08 September 2004 09 January 2006 376 Revised content “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 following changes were made. Page v: Changes made to information on product references. Pages 17, 73, 104, 272: Information on software switches added. Pages 52, 55: Changes made to table giving baud rates.
OMRON Corporation Control Devices Division H.Q. Shiokoji Horikawa, Shimogyo-ku, Kyoto, 600-8530 Japan Tel: (81)75-344-7109/Fax: (81)75-344-7149 Regional Headquarters OMRON EUROPE B.V. Wegalaan 67-69, NL-2132 JD Hoofddorp The Netherlands Tel: (31)2356-81-300/Fax: (31)2356-81-388 OMRON ELECTRONICS LLC 1 East Commerce Drive, Schaumburg, IL 60173 U.S.A. Tel: (1)847-843-7900/Fax: (1)847-843-8568 OMRON ASIA PACIFIC PTE. LTD.
Authorized Distributor: Cat. No. W309-E1-09 Note: Specifications subject to change without notice This manual is printed on 100% recycled paper.