Home
- Omron Industrial Automation Thailand
Contents
1. Send SLK SYSMAC LINK Unit nic Reply ETN Ethernet Unit Example 2 Data fails to be passed from a Communications Unit to the CPU Unit due to the Communications Unit being offline from servicing PS Power Supply Unit CPU CPU Unit SLK SYSMAC LINK Unit Example 3 Destination node or relay node does not exist v 62 Arma PS Power Supply Unit CPU CPU Unit SLK SYSMAC LINK Unit ENT Ethernet Unit Error Log Section 8 2 1 2 3 1 Send data fails to be passed 2 Relay error and response code returned to source Check the node with the error then examine the error itself using the response code then remedy the problem 8 2 Error Log The error log records errors that occur in the SYSMAC LINK Unit and the time they occur The error log can be read or cleared using the CX Net or the mes sage service FINS commands for the SYSMAC LINK Unit 8 2 1 Error Log Table Errors are recorded in an error log table in the Units RAM with one record for each error and a maximum of 39 records Errors of significance are also recorded in the Units EEPROM so that when the power to the Unit is turned OFF or reset a record of the error will remain The error log table in EEPROM automatically reads the Units RAM when the power is turned ON again O ection Configuration of records Error code 2 bytes Refer to page 138 Detail code 2 bytes Refer to page 138 Time 6 bytes Refer to the following page Record
2. CIO Cyeole Time DM Status Target Mode PLE type A Modes Total link GH 0000 Refresh Parameters Items a j sai UN T AAA AA ee G Series Table View For Help press F1 A mum 3 Set the data link communications cycle time in the Cycle Time field under Common Link If you select Auto the optimum communications cycle time will be automatically calculated according to the data link tables If you se lect Manual set the time manually between 5 to 255 ms refer to 4 11 Data Link Characteristics for communications cycle time details 4 Double click a node address in the Nodes field or select Table and then Edit Table Item The Data Link Table Entry Dialog Box will appear Note a If using CX Programmer Ver 1 2 Service Pack 1 select CV CVM1 for the PLC type when using a CS series SYSMAC LINK Unit If a CV CVM1 PLC is set the manual settings words will be limit ed to the same words as for CVM1 CV as follows CIO Area CIO 0000 to CIO 2555 DM Area D00000 to D24575 b CS series PLC types can be specified with CX Programmer Ver 2 0 or later and so the above limitations to manual settings words do not apply 71 CX Programmer Procedures Section 4 12 The node address selected for editing If using CX Programmer Ver 1 2 Service Pack 1 select CV CVM1 for the PLC type when using a CS series SYSMAC LINK Unit Th
3. When the timer is in operation the communications cycle time is fixed at the specified value independent of the number of events that occur Refer to 4 77 Data Link Characteristics for the formula needed to calculate the communica tions cycle time when the data link is set for automatic generation Maximum Node Address This parameter sets the maximum node address that a node can have and still be a part of the network Nodes with node addresses greater than the maximum node address will not be polled and therefore will not participate in network communications This eliminates unnecessary polling of units with node addresses above the maximum and thus reduces the time required for communications Set the maximum node address above the highest node address set on the SYSMAC LINK Units currently connected unless you specifically want to exclude one or more nodes from system operation Number of Polled Nodes This parameter determines how many nodes will be polled by the polling node during a polling cycle Setting a high number of Units increases the communi cations cycle time but reduces the time required to recognize that nodes have been removed from or added to the network Maximum Number of Frames This parameter determines how many event transmissions can take place during a token cycle when data links are operating With the default value of 10 frames up to 4 event transmissions can be issued Event transmissions includ
4. 12 11 10 9 8 7 Section 3 6 2 1 0 Word 2 16 15 14 13 12 11 10 9 2 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 Note even if the participation status of other nodes changes Data Link Mode 00 Manual 01 Automatic for CIO Area only 10 Automatic for DM Area only 11 Automatic for CIO and DM Areas Number of Send Words per Node DM Area CIO Area 00 4 words 01 8 words 10 16 words 11 32 words CPU Bus Unit Settings Initialization See note 0 Do not initialize CPU Bus Unit Settings 1 Initialize CPU Bus Unit Settings Polling Node Polled Node Bit 0 Polling node 1 Polled node 8 words 16 words 32 words 64 words Even if the local node is disconnected from the network only the bit corre sponding to the local node is turned OFF i e the entire status area partici pating in the network is not turned OFF While the local node is disconnected the bits corresponding to the other nodes will not be refreshed Initializes the network parameters registered in the CPU Bus Unit Setting Area in the CPU Unit and clears the data link tables SECTION 4 Da
5. A process that allows memory and program execution status to be maintained so that PLC operation can be restarted from the state it was in when operation was stopped by a power interruption The processes of copying data either from an external device or from a storage area to an active portion of the system such as a display buffer Also an output device connected to the PLC is called a load The process whereby a device will re transmit data which has resulted in an error message from the receiving device The lowest numbered bits of a group of bits generally of an entire word or the lowest numbered words of a group of words These bits words are often called least significant bits words The point where a signal actually changes from an OFF to an ON status Read only memory a type of digital storage that cannot be written to A ROM chip is manufactured with its program or data already stored in it and can never routing table RS 232C interface RS 422 interface scan scan time self diagnosis series servicing set set value software error software protect software switch Special I O Unit SRAM subroutine SV synchronous execution syntax Glossary be changed However the program or data can be read as many times as de sired Tables of settings that specify what networks a device is a member of and what nodes must be passed through to reach other specific networks See ocal net wor
6. Section 4 Data Links describes the operation of data links procedures required to establish data links and methods of monitoring data link operations Section 5 Network Data Exchange provides the details of the data exchange functions of the CS series PLCs via SYSMAC LINK Networks Section 6 Message Service describes the PLC ladder network instructions and FINS commands that can be used to transfer data and control operation via a SYSMAC LINK System Section 7 Remote Monitoring and Programming provides information on remote programming and monitoring Section 8 Troubleshooting provides information to help identify and correct errors that might occur Section 9 Unit Replacement describes the replacement procedure and provides cautions for Unit replacement Section 10 Inspection and Maintenance contains information describing periodic inspections required by the System Appendices contain information describing SYSMAC LINK Unit models their dimensions and area allocations N WARNING Failure to read and understand the information provided in this manual may result in per sonal injury or death damage to the product or product failure Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given X This section provides general precautions for using the CS series SYSMAC LINK Units and related dev
7. e Data Link Node Settings The nodes to be linked to the local node are specified in the refresh param eters It is possible to use these settings to set multiple groups within a sin gle network The settings are made for each node individually Network Data Exchange The SYSMAC LINK Unit can send and receive data by connecting to other networks of the same type or to different networks e Bridges Commands can be used to send and receive between SYSMAC LINK Networks e Gateways Commands can be used to send and receive between net works with different communications protocols such as Controller Link and Ethernet Commands and data can be sent and received across a maximum of three networks including the local network Programming Devices and Support Software Section 1 4 Routing Tables See page 86 Routing tables are set using the Support Software to specify paths for sending and receiving data between networks The routing tables consist of the follow ing two tables e Local Network Table Set the combination of unit numbers and network addresses for each Communications Unit e Relay Network Table Set the communications path between the sender and receiver 1 3 4 Message Service The SYSMAC LINK Units support SEND 90 and RECV 98 instructions for reading data from and writing data to other node PLCs The SYSMAC LINK Units also support CMND 490 instructions for sending and receiving FINS commands that control PL
8. 2 Insert bushing to the mounting bracket and secure the Unit with screws 3 Pass the tension member through the through holes and tighten the ter minal screws to affix the tension member 4 Affix the cable to the mounting bracket so that it is clamped by the bracket Two cables can be attached at the same time 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 2 4 3 Backup Power Supply Each node requires a backup power supply for the node bypass function Sev eral nodes can be connected to a single power supply or each node can be connected to an independent power supply Be sure that the backup power supply is providing sufficient current and volt age at the Units connector Backup Power Supply The following table shows the input specifications required for backup power Specifications supply to SYSMAC LINK Units Be sure that the backup power supply being used meets these specifications We recommend the OMRON S82k series Power Supplies Voltage 24 V DC Allowed voltage fluctuation 20 4 to 26 4 V DC 24 V DC 15 to 10 29 Cable Connections Section 2 4 Specification Current consumption 200 mA max at 24 V DC per node 2 5 A max 24 V DC 5 ms rise time Note 1 A label has been placed over the upper surface of the SYSMAC LINK Unit to prevent wire cuttings from entering the Unit When wiring the backup power s
9. Source node address 1 to 32 Controller Link Source node address 1 to 126 Ethernet SYSMAC NET Source unit address PLC CPU Unit E Computer NSB user application Unit number O to 15 Inner Board Unit connected with the network Response bit O OFF Required Communications port number Oto 7 0 to 7 Number of retries 0 to F 0 to 15 Response monitor time 0000 2 s default 0001 to FFFF 0 1 to 6 553 5 s in 0 1 s increments set by the user 100 PLC Network Instructions Section 6 2 6 2 7 DELIVER COMMAND Instruction CMND 490 The CMND 490 instruction is used to send specific commands to transfer data or to control operation at the destination node When a command is sent a response is returned Specifically the CMND 490 instruction transmits a command beginning at word S to the designated Unit at the destination node address in the designated network and receives the response beginning at word D Refer to 6 3 4 FINS Commands for PLCs and 6 4 FINS Commands for SYSMAC LINK Units for the commands that can be sent and the responses received Format The format of the CMND 490 instruction is as follows Ladder Symbol Operand Data Areas 490 S 18tcommand word CIO W H A T C DM DR IR 4CMND S D c D 15t response word CIO W H A T C DM DR IR VanlaMons C 18 control word CIO W H A T C DM DR IR CMND 490 Indirect addressing only Control Data The control wor
10. gt RS 232C CPU Unit compatible a Transmissions CS series PLC Setting data link tables Data Link Procedures Section 1 5 Using a Personal Computer as a Node IBM PC AT or compatible CX Net in CX Programmer O SYSMACLINK x Support Board x Setting data link tables External appearance CX Programmer WS02 CXLILIE Note The CS series SYSMAC LINK Units cannot be directly connected to SYSMAC Support Software 2 For further details about the CX Programmer refer to the CX Program mer Operation Manual 3 The CX Net in the CX Programmer cannot set data link tables for the C200H SLK21 or C1000H SLK21 Refer to 9 3 Using the C200H SLK21 or C1000H SLK21 for details 1 5 Data Link Procedures 1 5 1 Manually Setting Data Links When the data link mode is set for manual data link table creation the data link tables can be input using the CX Net within the CX Programmer Use the following procedure 1 2 3 1 Install and wire the a Contents a Mount the Units to Mid E nodes 18 the PLCs b Wire the Network EN All nodes c Connect terminat Use C100H TERO1 Coaxial systems only ing resistance Terminator End nodes on the net work Connect Termi nator 2 Prepare for communications Contents menoa Nodes Page a Set the unit num Use the front rotary CS series CVM1 and 18 ber switches CV series PLCs only b Setthe node Use the front rotary All nod
11. o o o ooooooo ooo oo os 8 1 41 Basic Programa loas e SES ALAS Se 9 A E Pros rme A kote eau nae nas 9 ly Data Lane Procedures essrsrs dara a aos 10 1 5 1 Manually Setting Data LinkKS ooooooooooooo oooo o 10 1 52 Automatically Setting Data Links 0 12 l 6 _JMieSSavesSErviCe PIOCeGUiS ccs fst ed hh ieee ee eae he ade Phe 14 Overview Section 1 1 1 1 Overview The SYSMAC LINK is an FA network that can send and receive large data packets flexibly and easily among the OMRON CS series C200HX HG HE CVM1 CV series C1000H C1000HF C2000H and CQM1H series Program mable Controllers PLCs as well as IBM PC AT or compatible computers The SYSMAC LINK supports data links that enable data sharing and a mes sage service that enables sending and receiving data when required Data link words can be freely set to create a flexible data link system and effectively use memory areas The network is connected using coaxial cable or optical fiber cable Coaxial System Coaxial Cable i C200HW SLK23 SLK24 CV500 SLK21 C1000H SLK21 V1 IBM PC AT or IBM PC AT or ee Peat Unit SYSMAC LINK Unit SYSMAC LINK Unit SYSMAC LINK Unit compatible compatible 1000H CS series CVM1 l coo uE PLC C200HX HG HE CV series PLC C2000H ae ate ata ata Po C Be P U ata atat JP J U a AT 5 a tas 0 ete a oe S A P U aun aun uun DD C P U datada An a
12. 02 03 CIO 020 DM 050 03 02 lO 030 DM 050 a es em Contents Common Cycle Time Link Com Communications cycle mon link time parameters Node Information Total link CH Total number of link words Start Channel Start words Refresh Parameters Data link communications cycle time Select automatic or manual settings Man ual setting range 5 to 255 ms Displays the total number of data link words CIO Area DM Area In the exam ple CIO 70 words DM 90 words 160 words The number of send words is displayed for each node CIO Number of CIO Area send words DM Number of DM Area send words In the example ClO 20 send words DM 30 send words Displays the words from which data links start in the CIO and DM Areas for the selected node In the example ClO 1000 and D00500 are displayed as the start addresses Displays the order in which nodes are refreshed in the second column from the left The values on the right are the number of words received from the node in the ClO Area and DM Area In this example nodes are refreshed in the order 1 3 2 CX Programmer Procedures Using the Data Link Table Engineer Section 4 12 The following example shows the display for node 2 mig Data Link Editor EYSMAC LINK Elle Table Help Common po Siu tw Min erence aioe E O m Eycle Tima i a te te i Auto z Tg Manual i miz Target Mo
13. 109 109 110 111 111 112 112 112 112 113 113 115 117 118 119 119 120 121 91 About Data Read Write Services Section 6 1 6 1 About Data Read Write Services A SYSMAC LINK Unit provides read write services that can be used to trans fer data and control other nodes on the network or interconnected networks The data read write services use a command response format Each time that data or a command from a host computer or CS series PLC is transmitted the receiving node returns a response If responses are not needed the Unit can be set so that responses are not returned The same transmission can also be broadcast simultaneously to all nodes on the network Data Read Write Service Transmissions Computer originating Commands PLC originating Transfers Computer Responses PLC Responses The data read write services with the SYSMAC LINK Unit can be divided into four processes as described below A program is prepared in the computer that transmits commands and receives responses When programming in the C code commands can be transmitted with s1ksend and responses received with slkrecv or slkrcvw Data is transmitted from the PLC using the SEND 90 RECV 98 and CMND 490 instructions You may need to move data being transferred to from the locations in memory specified in the instruction but the actual trans mission and reception is handled automatically A program that returns proper responses for recei
14. 17 node address corresponding to the bit When the node belongs to the network 4 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 the corresponding bit will be ON Bits 14 and 15 of word 5 are always OFF 5 62 161 50 49 6 Local network address Local node address 7 Local unit address Polling node address Note If the local node is disconnected from the network only the bit corresponding to the local node is turned OFF i e the entire status area is not turned OFF Also while the local node is disconnected the bits corresponding to the other nodes will not be refreshed even if actual status changes 158 CPU Bus Unit Area Allocations Appendix D Data Link Status Words CIO 1500 25 x unit number 8 to 23 Note Power Supply Word CIO 1500 25 x unit number 24 15 14 13 12 11 24 10 0 10 O Word 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Local Node Data Link Active Flag 0 Stopped 1 Active 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit Ath 3rd 2nd 1st i Sth 7th 6th 5th 1 oth 11th 10th 9th 1 Sth 15th 14th 13th 20th 19th 18ih 17th registered on the data ink table o zat 231 22nd 218 aora Ab 28th 27th 26th 25th o EE 32nd 31st 30th 29th gt 36th 35th 34th 33rd
15. 18 18 19 19 25 29 15 Nomenclature Section 2 1 2 1 Nomenclature This section describes the names and components of the SYSMAC LINK Unit 2 1 1 Component Names and Functions This section describes the names and functions of the SYSMAC LINK Unit components CS1W SLK11 Optical SYSMAC LINK Units Indicators LED indicators that display the Unit and network status Nk Unit number switch One rotary switch The unit number is set in single digit No 2 hexadecimal for the network to which the PLC is connected os Node address switches Two rotary switches The node address of the Unit on the SYSMAC LINK Network is set in 2 digit decimal Optical connectors Connectors to connect to the SYSMAC LINK Network communications cable optical fiber cable m Power Supply Terminal Block Connect the backup battery for the node bypass function Indicators LED indicators that display the Unit and network status UNITog No Unit number switch AA One rotary switch The unit number is set in single digit No 8 8 x 4g hexadecimal for the network to which the PLC is connected Node address switches Two rotary switches The node address of the Unit on the SYSMAC LINK Network is set in 2 digit decimal Coaxial connector Connects to the SYSMAC LINK network communications coaxial cable 16 Nomenclature Section 2 1 2 1 2 Indicators The status of the SYSMAC LINK Units is shown by the indicators listed below
16. A302 00 to 15 CS series CPU Bus Unit Initializing Flags 4130 3 Network Status Flags Bits A20200 through A20207 are turned ON to indicate that the SEND 90 RECV 98 CMND 490 and PMCR 260 instructions and background execution CS1 H CPU Units only can be executed for the corre sponding port O through 7 Bits A219200 through A219207 are turned ON to indicate that an error has occurred in ports O through 7 respectively during data communications using SEND 90 RECV 98 CMND 490 or PMCR 260 A401 Duplicate Number Error Flag fatal error Port 0 to 7 Response Codes A203 through A210 contain the response codes for ports O through 7 respectively following data communica tions using SEND 90 RECV 98 CMND 490 or PMCR CS series CPU Bus Unit Initializing Flags Bits A30200 through A30215 turn ON while the corresponding CS series CPU Bus Units Units 0 through 15 respectively are initializing CS series CPU Bus Unit Setting Error Flag and Unit Number Bit A40203 is turned ON when the CS series CPU Bus Units actually installed differ from the Units registered in the I O table The unit number of the CS series CPU Bus Unit involved is written to word A427 Bits A42700 through A42715 correspond to CS series CPU Bus Units O through 15 respectively When an error occurs the bit corresponding to the unit number of the CS series CPU Bus Unit involved is turned ON CS series CPU Bus Unit Error Flag Bit A40207 is turned ON whe
17. Data Link Start Stop Bit ee The data links will start when the bit is turned ON or if it is already ON when the power is turned ON The data links will be stopped when the bit is turned OFF N Caution Check the following before starting the data links If the data link table settings or the DM parameter settings are unsuitable there is a risk of injury due to unanticipated operation of the system 45 Creating Data Links Section 4 5 a Manual settings Check that suitable data link tables have been set in each data link node Check that data link tables have been deleted for nodes not participating in the data links b Automatic settings Check that suitable DM parameters have been set in the data link startup node N Caution Even if the data link table settings or the DM parameter settings are suitable check that there will be no adverse effects on the controlled equipment before starting or stopping the data links 4 5 Creating Data Links Data link tables store information required to run data link functions The data link area is created and data is exchanged based on the data link tables With manual settings data link tables are backed up in the settings area in the words allocated to SYSMAC LINK Unit as a CPU Bus Unit in the CPU Unit Note Data link areas must be continuous in the CIO Area or the DM Area You can not make settings which leave unused words between the data link areas in either the CIO Area or the D
18. I O Interface Unit I O point I O refreshing 168 Glossary An acronym for Graphic Programming Console A programming device with advanced programming and debugging capabili ties to facilitate PLC operation A Graphic Programming Console is provided with a large display onto which ladder diagram programs can be written direct ly in ladder diagram symbols for input into the PLC without conversion to mne monic form The process whereby two devices exchange basic signals to coordinate com munications between them A code in an instruction that specifies what the instruction is to do A number system where all numbers are expressed to the base 16 In a PLC all data is ultimately stored in binary form Displays and inputs on Programming Devices however are often expressed in hexadecimal to simplify operation Each group of four binary bits is numerically equivalent to one hexadecimal digit An interface that allows communications with a host computer A system with one or more host computers connected to one or more PLCs via Host Link Units or host interfaces so that the host computer can be used to transfer data to and from the PLC s Host Link Systems enable centralized management and control of PLC Systems An interface used to connect a C series PLC to a host computer in a Host Link System The process by which the PLC assigns certain bits in memory for various func tions This includes pairing I O bits to I O points
19. Note If directly connected online with a PLC for which the routing tables have not been set data link tables cannot be transferred to PLCs that are not directly connected to the network Perform one of the following to transfer data link tables to PLCs on the network e Directly connect to a PLC in which the routing tables have been set and transfer the data link tables Connect online to a PLC on the network and transfer the data link tables Data Link Setup SYSMAC The following table displays the functions of the Data Link Setup SYSMAC LINK Dialog Box LINK Dialog Box Functions Buttonname Function Closes the dialog box Clears the data link table currently in operation Reads the data link tables file sI3 Info Used to display and enter the name of the creator file title com ments etc Used to save the edited data link tables sl3 80 CX Programmer Procedures Section 4 12 Button name Function Used to edit the data link table that has been read Update Transfers the contents of the file edited in the Data Link Editor to the Data Link Setup Dialog Box Reads the data link table for a specified node Transfers data link tables to the nodes Verify Verifies data link tables between nodes and the Data Link Setup SYSMAC LINK Dialog Box Delete Deletes data link tables from the nodes Starting and Stopping Data Links with Status Displa Connect online to a node to which the data link ta
20. The following headings appear in the left column of the manual to help you locate different types of information Note Indicates information of particular interest for efficient and convenient opera tion of the product 1 2 3 1 Indicates lists of one sort or another such as procedures checklists etc OMRON 1999 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained herein Moreover because OMRON is con stantly striving to improve its high quality products the information contained in this manual is subject to change without notice Every precaution has been taken in the preparation of this manual Nevertheless OMRON assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained in this publication TABLE OF CONTENTS PRECAUTIONS iuris ricas AM 1 Intended Audience 20d a a E na i X1V 2 General Precu GOS e terra its dra X1V 3 Salety FIcCAUlIONS 3 4 ci ome leh ht ds CAGE A laa XIV 4 Operating Environment Precautl0NS o o o ooooooroo XV 5 Application Precautions loas Ree eae eo he s ee Oa REESE Ene bea ee XV 6 Contormance 10 EC Direchives adri ado al xvii
21. max in this example Output ON Response Time This is the time between the relevant output bit turning ON in the CPU Unit and the output signal actually being sent Taken to be O ms min to 1 5 ms max in this example 65 Data Link Characteristics Section 4 11 Scan Time for PLC 1 Taken to be 25 ms in this example Scan Time for PLC 7 Taken to be 10 ms in this example Maximum Data Link I O Response Time I O processing Input Data exchange Scan time for PLC 1 Instruction execution Ss Communications cycle Scan time for PLC 7 Instruction Output execution Instruction execution input ON response tims Scan ime for PLC 1x2 Scan time for PLC 7 x 2 see note a below Output ON response time Total data link I O response time 124 5 ms The following delays occur at 1 2 and 3 in the above diagram 1 2 3 1 The input bit turns ON just after a scan and so the time required for one more scan elapses before the input is processed Therefore a multiplica tion factor of 2 is applied to the scan time as shown in the above table 2 Processing for the input data is exchanged immediately after the right to transmit is transferred from PLC 1 and so the time required for communi cations is extended by approximately one communications cycle There fore a multiplication factor of 2 is applied to the communications cycle time as shown in the above table 3 Data is exchanged data with
22. words of the data areas listed below divided equally among 2 4 8 or 16 nodes The number of words allocated to each node depend on the number of nodes linked and is given in 4 2 1 Specifications Table later in this section CIO Area CIO 1000 to CIO 1063 D00000 to D00127 Manual generation provides much greater flexibility in making data links among PLCs but require that you manually input the data link tables Manu ally generated data links can contain far more words and can use any part of the CIO Area and or DM Area as shown in the following table Data Link Area CIO Area CIO 0000 to CIO 6143 DM Area D00000 to D32767 Use Ver 1 2 Service Pack 1 of the CX Programmer Settings for CS series SYSMAC LINK Units cannot be made with earlier versions of the CX Pro grammer Data links can be activated and deactivated by turning ON and OFF bit 00 of the first CPU Bus Link Area word allocated to the SYSMAC LINK Unit in PLC memory i e bit 00 of word D30000 100 x unit number 4 2 Data Link Specifications Basic specifications for data links are provided in the following table im sein Number of data link nodes Number AE linked words per node CIO e 254 words max A Area 254 words max Maximum number of linked words 2 966 words in network 918 words for any Network with one or more DOr PLCs Automatically generated data links Set in DM Area parameters See following table Manually generated data links S
23. 11 12 eZ a a a 31 SECTION 3 Basic Communications A description of the token bus method of communications used in SYSMAC LINK Systems is described briefly in this section as well as the basic settings necessary for operation 3 1 3 2 3 3 3 4 3 5 3 6 SYSMAC LINK System Communications 0 00 00 ce eee Unit Number Setting Node Address Network Address Setting Network Parameters Memory Areas 3 6 1 3 6 2 Word Allocations Word Applications 34 35 35 36 36 38 38 39 33 SYSMAC LINK System Communications Section 3 1 3 1 SYSMAC LINK System Communications Token Bus Communications Polling Node Startup Node Communications Cycle 34 Connecting cable trunk line SYSMAC LINK Units communicate through the SYSMAC LINK Network a token bus LAN This section describes the token bus communications used in the SYSMAC LINK Network In token bus communications individual nodes are connected to a main trunk line as a common bus line as shown in the figure below To avoid having two nodes attempt to transmit simultaneously only one node has the right to transmit at a time The right to transmit is held by the node that holds what is called the token which is passed in sequence from node to node beginning with the node with the lowest node address the polling node see below If the token is passed to a node that does not have data t
24. 2nd byte Set the data link tables com munications cycle time auto 0109 Transmission failed destination Hex 010A Transmission failed communica Hex tions controller error 010B Transmission failed PLC error 010C Transmission failed unit number incorrect 010D Transmission failed destination Hex address incorrect 010E Transmission failed routing Hex tables not registered 010F Transmission failed routing table Hex error 0110 Transmission failed too many relay points 0111 Hex 0112 Hex 0113 Hex 0114 Hex 01 Transmission failed command packet too long Transmission failed header error Transmission failed I O setting error Transmission failed CPU bus error 15 Transmission failed redundant l O allocations O O O O gt lt gt lt gt lt gt lt 0116 Hex Transmission failed CPU Bus Unit error 140 Command block Bits O to 7 Source node address Bits 8 to 14 Source Network address Bit 15 OFF Response block Bits O to 7 Destination node address Bits 8 to 14 Destination Network address Bit 15 ON 1st byte bits 8 to 15 2nd byte bits O to 7 matically or increase the settings manually Conduct an echoback test and if the effects of noise are considerable reconsider the operating environment Restart the SYSMAC LINK Unit If the error occurs again replace the Unit E O Yes Z O Refer
25. Area Allocations The CPU Bus Unit Area of the SYSMAC LINK Unit is allocated in the PLC s memory bit area according to the unit number as follows 25 words are allocated per Unit Words Unit No CIO 1600 to CIO 1624 CIO 1625 to CIO 1649 CIO 1650 to CIO 1674 7 Configuration of CPU Bus Unit Area The configuration of the CPU Bus Unit Area of the SYSMAC LINK Unit is as follows Word 0 1 2 to 7 8 23 24 System reserved 1 word Error data 1 word Network status 6 words Data link status 16 words Power supply status CS1W SLK11 only 1 word 157 CPU Bus Unit Area Allocations Appendix D Error Data Word CIO 1500 25 x unit number 1 15 14 13 12 11109 8 7 6 5 4 3 2 1 0 pa 1 010 0 Len 1 Network parameter error Poon e 1 Data link table error io 1 Routing table error o oa el 1 Communications unit setting error Le naina 1 EEPROM error A ce terest A 1 Node address setting error a E e EEE A gee eee E 1 Node address duplication error cias 1 Network parameter disagreement error A A A A A AA A A AA 1 Communications controller error Error log data 0 yes 1 no Network Status Refer to Section 3 Words CIO 1500 25 x unit number 2 to 7 Word 15 14 13 12 11 109 8 7 6 5 4 3 2 1 O Bit 2 116 15 14 13 12 11 10 9 8 7 6 5 4 3 2 Each of these numbers stands for the 3 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18
26. F ee G 40th 39th 38th 37th CPU Unit running 44th 43rd 42nd 41st lea allt ming Communications error 48th 47th 46th 45th Data link active 52nd 51st 50th 49th 56th 55th 54th 53rd 60th 59th 58th 57th 0 Start node address 62nd 61st J If the Local Node Data Link Active Flag bit 15 of first word 23 is OFF the data link status will be main tained as it was immediately before operation stopped This may not be the same as the actual current status When using the data link status first check that the Local Node Data Link Active Flag is ON 10 9 7 6 5 4 3 2 1 O pi 0 0 0 0 0 0 0 0 0 0 0 0 No power supplied 1 Power supplied CS1W SLK11 only 159 Appendix E DM Area Allocations Words in the DM Area are allocated to CS series CPU Bus Units according to the unit numbers assigned to them as shown below Each Unit is allocated 100 words of which 1 word is used Words Unit No o p e OOO D30100 9 D30900 C D30900 2 Daz 10 031000 D30300 D31100 D30400 D31200 6 poo Software Switches D30000 100 x Unit Number 13 12 11 10 15 14 9 8 7 6 5 43 2 1 0 ojojojojojoj olojo Data Link Start Bit Start Changed from OFF to ON or already ON when power is turned ON Stop Changed from ON to OFF Data Link Mode 00 Manual 01 Automatic for CIO Area only 10 Automatic for DM Area only Number of Send Words per Node CIO Area DM Area 00 4 words 8 words 01 8
27. Hex Hex error Duplicate address error 0211 Hex 0214 Node address setting error Not specified Hex Backup power supply error Opti cal Units only 0216 Hex 021A Set table logic error Hex 00 Hex fixed 00 Hex Hex Command block Source node address Source Network address Response block Increase number of retries or reconfigure system to distrib ute load IN O Check for nodes sending ille node address gal packets Network to 15 to 7 Number of Check network parameters non partici node participation cables pating nodes and terminating resistance Address of new polling node Address of Using the CX Net check net polling node work parameters Error status Check network parameters see note node participation cables and terminating resistance Replace the SYSMAC LINK Unit Set so that each node address is used only once within the same Network Check the node address set tings and correct them Check the status of the backup power supply and power supply cables Check previous polling node Yes Error status Yes see note Local node address Yes O O O O O on Backup power sup ply error dis tinction 01 Hex OFF to ON 02 Hex ON to OFF 01 Hex Net work param eters 02 Hex Data link Remake and set the appropri Yes ate data tables 03 Hex Routing tables Error status
28. LINK Unit C1000H SLK11 21 V1 4 6 4 Refreshing Data Links with Manual Settings When manual settings have been made data link areas will be refreshed for all nodes specified in the refresh parameters In the following example only nodes 3 4 6 and 7 are participating in the data links Nodes 1 2 5 and 8 however will also be refreshed and words for them cannot be used for other applications If no data is received nodes 1 2 5 and 8 are refreshed with 0 ee ee o Node 3 Node 4 Node 6 Node 7 CIO Area Data Link words for node 3 0500 A A E 0510 0515 0520 Range where the 0530 data is refreshed 0535 0545 0550 0555 Note When using the SYSMAC LINK Units listed below the node areas outside of the node allocated the lowest word addresses node 7 in the above example and the node allocated the highest word addresses node 4 in the above example are not refreshed nodes 1 2 and 5 in the above example and can be used for other applications in the CPU Unit of these SYSMAC LINK Units e CVM1 CV series SYSMAC LINK Unit CV500 SLK11 21 e C200HX HG HE SYSMAC LINK Unit C200HW SLK13 14 23 24 e C1000H C1000HF C2000H SYSMAC LINK Unit C1000H SLK11 21 V1 52 Data Link Table Example Section 4 7 4 7 Data Link Table Example 1000 1010 1025 1029 D00000 D00010 D00020 D00025 D00029 In this example the refresh parameters differ from node
29. OFF the power to the PLC and the backup power supply be fore connecting the backup power supply cables 2 Separate the backup power supply wires from other power lines and high voltage lines to prevent noise 3 Always use a crimp terminal for wiring Do not connect a wire that has only been twisted directly to a terminal block 4 In the interests of safety it is recommended that round crimp terminals are used 5 When mounting the crimp terminal always use the appropriate tools for each crimp terminal and follow the appropriate installation procedures Contact the crimp terminal manufacturer for details on the appropriate tools and procedures Failure to use the appropriate tools and procedures could cause cables to break 6 Measure the length of peeled cable during installation according to the crimp terminal used and make sure that the peeled length is not too long Cover the compressed section of the crimp terminal and cable with vinyl tape or heat shrinking tube 7 Be sure not to reverse the power supply polarity 8 Tighten the screws on the terminal block firmly The correct tightening torque is 0 5 N em If the screws are too loose short circuit malfunction or burning may result Do not pull backup power supply cables with excessive force Do not bend backup power supply cables Do not place any object on top of backup power supply cables Supply power only after checking the wiring thoroughly 9 10
30. Optical SYSMAC LINK Coaxial SYSMAC LINK Unit CS1W SLK11 Unit CS1W SLK21 A AA A Green Lit Unit is operating normally onto timer error has occurred Green i Power is being supplied from the backup power supply iin supply ON CS1W SLK11 only Notit lit Power is not being supplied from the backup power supply ERC communica ii error has occurred node address setting is incorrect tions error or same node address has been set twice Notlit lit None of the above errors has occurred ERH PLC error NE I O table has been set or PLC CPU PLC model PLC version PLC E at EEPROM unit number setting or a unit number duplication error has occurred Not lit None of the above errors has occurred INS po inclu Orange Lit Uniti is part of Network sion C lit Unit is not part of Network M S polling node Orange Lit Uniti is polling node et ee is not part of Network or is polled node send Orange Lit Unit is sending data tt ee is not sending data receive Orange Lit Unit is receiving data ST CO is not receiving data LNK data link Orange gt Unit is part of active data link Flashing Flashing Data link error has occurred Rapid flash Data link table communications cycle time is too short ing Notlit lit Unit is not part of active data link Note Ifthe Unit is participating in the network the SD and RD indicators will light when sending and receiving the token 17 Switch Set
31. PLC 7 just after one scan and so the time re quired for one more scan elapses before output processing is performed Therefore a multiplication factor of 2 is applied to the scan time as shown in the above table Note a A multiplication factor of 3 not 2 is applied to the scan time for PLC 7 if it is longer than the communications cycle time b The I O response time will also be affected by noise and other fac tors 66 CX Programmer Procedures Section 4 12 Minimum Data Link I O Response Time Input Scan time for PLC 1 Communications cycle Scan time for PLC 7 Output A ne 4 r Maximum transmission delay time input ON response time oe Scan time for PLC 1 Scan time for PLC 7 Output ON response time E Total data link I O response time 4 12 CX Programmer Procedures This section describes the procedures from creation of data link tables to starting up data links using CX Net in CX Programmer Here the procedure for CX Net in CX Programmer Ver 1 2 Service Pack 1 is given as an example The operations windows and setting items may vary with the version of CX Programmer 4 12 1 Overall Procedure If building SYSMAC LINK data links for the first time make the settings using the following procedure It is necessary to create data link tables if using man ually set data links Note There is no need to create data link tables when using automatic settings If using automatically se
32. SECTION 1 In odOCON aa wane a arene S 1 LEN ONN EOW eaa AAA ados 2 1222 SY OMAC LINK Unit Beats catas ros E AA E 3 1 3 SYSMAC LINK Unit Punctons ses asnicar a 6 1 4 Programming Devices and Support Software 0 0 ee ees 8 BS Data Link Procedures AAA AA ete 10 1 60 Message Service Procede a pa eua Soe bd Oh ace oe een eureka a a beaten arcade 14 SECTION 2 Unit Components and Switch Settings 15 Za INOMENCIAUUIIC any echt cnet A AAA ASE 16 222 SWE SELINA lisa 18 2 5 Mounting to back planes Jaws his oy a dsd tia iii 18 24 Cable CONnnecChOns tortas tobe emcees ethene oboe bs Secu ee eee whee 19 SECTION 3 Basic Communications ccccccccccccccscssecs 33 3 1 SYSMAC LINK System Communications o 34 Ja WMI NOMD i a es vas anor Ged Heian eae Ah eee dk Sera alee eae et 35 Sao Etna Node QUES ue t eed awe end ee aa 35 3 4 Network Address Setting sal aeons bead Meats neret eni r baw ee hee 36 33 JNCRWOrK Barameters iii eh ricardo Stade se tees 36 H0 MEMO CAS AA eee ce ke heed pe A ee AA one eee A ue 38 SECTION 4 Data Link Sie 5h se sia aaa aL Aad IMTOdUCION dad 42 4 22 Data LinKk SpecinCallOns si sion ia drid broad deh oe Beth exe bee diem danes 43 ds Data Link Indicators iio cabida dadas daran a da 44 ASA Data COR Se MOS tas Dr E A A AAA 44 Ass Ercatino Data LS ada sae bee eel ea rai dada 46 4 6 Data Link Area Allocations asii ia A a 49 t Data Link Table Example a A e a aki hoes aw
33. The status of an input or output when a signal is said not to be present The OFF state is generally represented by a low voltage or by non conductivity but can be defined as the opposite of either The delay between the time when a signal is switched OFF e g by an input device or PLC and the time when the signal reaches a state readable as an OFF signal i e as no signal by a receiving party e g output device or PLC A positive or negative value added to a base value such as an address to spec ify a desired value The status of an input or output when a signal is said to be present The ON state is generally represented by a high voltage or by conductivity but can be defined as the opposite of either The delay between the time when an ON signal is initiated e g by an input device or PLC and the time when the signal reaches a state readable as an ON signal by a receiving party e g output device or PLC 171 operand operating error optical communications OR output Output Block output device output point output signal Output Terminal overflow overwrite parity parity check PLC PLC configuration PLC System PCB PLC Setup 172 Glossary The values designated as the data to be used for an instruction An operand can be input as a constant expressing the actual numeric value to be used or as an address to express the location in memory of the data to be used An error t
34. Units that convert I O between analog and digital values An Analog Input Unit converts an analog input to a digital value for processing by the PLC An Analog Output Unit converts a digital value to an analog output A logic operation whereby the result is true if and only if both premises are true In ladder diagram programming the premises are usually ON OFF states of bits or the logical combination of such states called execution conditions See data area and memory area A one or two letter prefix used to identify a memory area in the PLC All mem ory areas except the CIO Area require prefixes to identify addresses in them Short for American Standard Code for Information Interchange ASCII is used to code characters for output to printers and other external devices Execution of programs and servicing operations in which program execution and servicing are not synchronized with each other A PLC data area allocated to flags and control bits A bit in the Auxiliary Area A copy made of existing data to ensure that the data will not be lost even if the original data is corrupted or erased A common programming language BASIC Units are programmed in BASIC A fundamental instruction used in a ladder diagram See advanced instruction A CPU Bus Unit used to run programs in BASIC The data transmission speed between two devices in a system measured in bits per second Short for binary coded decimal A number system where all numbers
35. all the nodes in the SYSMAC LINK Network Disconnect the communications cable from the SYSMAC LINK Unit you wish to replace and remove the Unit Mount the new SYSMAC LINK Unit on the CPU Unit and connect the com munications cable refer to SECTION 2 Unit Components and Switch Set tings Set the unit number node address and terminating resistance in the new SYSMAC LINK Unit to the same as the previous one Refer to SECTION 2 Unit Components and Switch Settings Turn ON the power to all nodes in the SYSMAC LINK Network except to the CPU Unit for the SYSMAC LINK Unit that has been replaced Check that all other nodes are operating normally Read the network parameters using CX Net in CX Programmer and check that the network settings are correct Start the data links from the data link startup node if the data links do not start automatically Check that the data links are operating normally using the data link status monitor in CX Net in CX Programmer 147 Using the C200H SLK21 or C1000H SLK21 Section 9 3 9 3 Using the C200H SLK21 or C1000H SLK21 148 Note The CX Programmer and CX Net in CX Programmer cannot perform remote monitoring programming or create data link tables for the C200H SLK21 or C1000H SLK21 Replace the C200H SLK21 or C1000H SLK21 with the most recent SYSMAC LINK Unit as shown in the following table Model not compatible Corresponding model with CX Programmer or compatible with CX CX Net Program
36. and 3 in the same way The following example shows the settings for node 2 Data Link Table Entry Mode number J Common oe eo ae ee ee ee ae Area size ch ClO 0 254 30 Area size ch DM 0 254 EX E Help l Refresh Parameters Se a el ee oe So ge a r a e A e bs PLS type T a A 7 Jow ovmt The following example shows the settings for node 3 Data Link Table Entry Mode number a plommon Link Parameters 2227777 Cancel Area size bch ClO 0 254 apl Area size ch Dit 0 254 30 He Refresh Parameters mm j PLC type r Start Channel __u m a pe z clo 1500 DM Jeon Statys on E Refresh Modes Ex 1 2 J 73 CX Programmer Procedures Settings and Display Contents 74 Section 4 12 7 The following display will appear when the data link table settings have been made for all nodes The example shows node 1 selected J SERB Data Link Editor BYSMA File Table Help Alia ely gla pled Y e i Bore Ee tacsc acetates f Auto C Manual p mz Target Mode PLO type CC hl ones Total link fH oe te clo wii BM 030 Le 03 C10 020 OM 030 gt LINK i Es E Series Table Wier For Help press Fl as T e otani Tan niai eaea 0 CIO 1000 LA Dhi 500 isi Status 1 Refresh Parameters Items a 1 014 01 ClO 020 DM 050
37. are expressed in base 2 i e numbers are written using only 0 s and 1 s Each group of four binary bits is equivalent to one hexadecimal digit Binary data in memory is thus often expressed in hexadecimal for convenience 163 binary coded decimal bit bit address Branching Link Adapter buffer building block PLC bus bus link byte central processing unit channel character code checksum CIM CIO Area combined Link System common link parameter table 164 Glossary A system used to represent numbers so that every four binary bits is numeri cally equivalent to one decimal digit The smallest piece of information that can be represented on a computer A bit has the value of either zero or one corresponding to the electrical signals ON and OFF A bit represents one binary digit Some bits at particular addresses are allocated to special purposes such as holding the status of input from ex ternal devices while other bits are available for general use in programming The location in memory where a bit of data is stored A bit address specifies the data area and word that is being addressed as well as the number of the bit within the word A Link Adapter used to branch connections to Units in a Link System used ei ther to prevent the entire System from shutting down for an interruption at only one point in the System or to enable connecting more than two Units in one System when each Unit provid
38. byte Day Hour Year Month Error code Detail Minute Second Each data includes the second minute hour 0 to 23 date month and year the rightmost two digits in BCD specifying the time that the error occurred FINS Commands for SYSMAC LINK Units Section 6 4 6 4 12 ERROR LOG CLEAR Clears all error log records Command Block 21 03 Command format Response Block 21 03 Command Response format code 121 FINS Commands for SYSMAC LINK Units Section 6 4 122 SECTION 7 Remote Monitoring and Programming Information on remote programming and monitoring is provided in this section 7 1 Remote Programming and Monitoring 0 0 0 cee eee ees 124 TA AsOGalINCUWOUKS os 4 sas cack Raleigh A 124 7 1 2 Remote SYSMAC LINK NetworkS ooo ooooooooooo 124 7 1 3 Remote Programming and Monitoring Different Networks 125 123 Remote Programming and Monitoring Section 7 1 7 1 Remote Programming and Monitoring A remote PLC can be programmed and monitored across a network from a Programming Device connected to a PLC 7 1 1 Local Networks A CX Programmer connected to a CS series CVM1 CV series or C200HX HG HE CPU Unit can program and monitor a CPU Unit on the same network Programming and monitoring are possible including CPU Units that are differ ent from the one to which the Programming Device is conn
39. controlling 43 creating 46 Data Link Status Flag 56 halting 112 precautions 60 reading data link status 117 refreshing 51 starting 112 status flags 56 table back up 48 tables automatic generation 47 manual generation 48 data links automatic setting 12 manual setting 10 procedures 10 data read write services 92 delay times 105 dimensions crimp terminals 30 EC Directives xvii E F error codes 138 error log 137 reading and clearing 142 table 137 errors clearing CV series PLCs error log 121 CV mode commands 131 LED indications 128 reading CV series PLCs error log 120 flags Network Instruction Enabled Flag 95 Network Instruction Error Flag 95 179 frames maximum number 37 handling precautions 150 H I I O tables 11 13 indicators error indications 128 inspection tools and equipment needed 150 installation 10 communications cables 27 28 connectors 28 CS series PLCs 18 internode echo test 118 M manual generation of data link tables 48 maximum node address 37 maximum number of frames 37 message service procedure 14 model numbers reading PLC model number 113 N network interconnecting Controller Link networks 84 interconnecting other OMRON networks 84 reading network status 115 remote Controller Link networks 124 network parameters 35 setting 36 number of polled units 37 O Optical Fiber Cables 27 accessories 27 optical fib
40. etc A Unit designed for PID control The process whereby a device consecutively sends signals to other devices in the same network to pass data back and forth e g as in a data link The current value registered in a device at any instant during its operation Present value is abbreviated as PV The use of this term is generally restricted to timers and counters A board onto which electrical circuits are printed for mounting into a computer or electrical device A computerized device that can accept inputs from external devices and gen erate outputs to external devices according to a program held in memory Pro grammable Controllers are used to automate control of external devices Although single unit Programmable Controllers are available building block Programmable Controllers are constructed from separate components Such Programmable Controllers are formed only when enough of these separate components are assembled to form a functional assembly i e there is no one individual Unit called a PLC The simplest form or programming device available for a PLC Programming Consoles are available both as hand held models and as CPU mounting mod els A Peripheral Device used to input a program into a PLC or to alter or monitor a program already held in the PLC There are dedicated programming devices such as Programming Consoles and there are non dedicated devices such as a host computer Programmable read only memory a type
41. following the table Byte 31 Node address 62 Node address 61 Bit 3 7 2 6 1 5 0 4 1 PLC is in RUN or MONITOR mode esseere 1 PLC is stopped because a fatal error has occurred cs 1 Not in network or communication error has occurred A bd 1 Data link is active 6 4 8 INTERNODE ECHO TEST Command Block Response Block Parameters 118 Performs an internode echo test with the indicated node 08 01 512 bytes max Command Test data code 08 01 512 bytes max A Command Response Test data code code Test data command and response Up to 512 bytes of test data can be included in the command This data is transmitted to the indicated node and returned unchanged if communications are normal If the data returned in the response differs from that transmitted in the command an error occurred in the internode echo test FINS Commands for SYSMAC LINK Units Section 6 4 6 4 9 BROADCAST TEST RESULTS READ Command Block Response Block Parameters Reads the results number of receptions for each node of the broadcast tests carried out using the BROADCAST TEST DATA SEND command Refer to 6 4 10 BROADCAST TEST DATA SEND for details 08 02 Command code 08 02 Command Response Number of code code receptions Number of receptions response The number of times that the BROAD CAST TEST DATA SE
42. g reading writing file memory con trolling operation e g controller operat ing modes reading error logs etc Message contents Commands for sending and receiving Any supported FINS commands data Local node to PLC to PLC partner node PLC to computer Possible requires program that returns Possible requires program that returns responses from the computer responses from the computer Computer to PLC Possible requires program that receives Possible requires program that receives responses at the computer responses at the computer Local node partner node SEND 90 1 1 or 1 N broadcast 1 1 or 1 N broadcast RECV 98 1 1 Number of words sent and 256 words max 512 bytes 542 bytes max received 1 3 SYSMAC LINK Unit Functions This section explains the settings and functions for the SYSMAC LINK Unit For details refer to the relevant sections 1 3 1 Basic Settings Perform the basic settings to use the SYSMAC LINK Unit Node Address Set the address of the local node in the network using the rotary switches on See pages 18 and 35 the front of the SYSMAC LINK Unit Unit Number Up to 16 CPU Bus Units SYSMAC LINK Units Controller Link Units Ethernet See pages 18 and 35 Units Serial Communication Units etc can be mounted on one PLC Of these however only a maximum of four Units may be SYSMAC LINK Units SYSMAC LINK Unit Functions Section 1 3 Set the unit number of each Unit manually from bet
43. is as follows Ladder Symbol Operand Data Areas 98 S 15t source word CIO W H A T C DM DR IR RECV S D c D 18 destination word CIO W H A T C DM DR IR VaNAUGNS C 1st control word CIO W H A T C DM DR IR RECV 98 Indirect addressing only Control Data Set the source node address to 00 to send data within the PLC executing the instruction ed Bits 00 to 07 Bits 08 to 15 C Number of words 1 to 256 in 4 digit hexadecimal i e 0001 to 0100 A network address Bits 08 to 15 Set to O 0 to 127 i e 00 to 7F CO Source unit address Source node address Bits 00 to 03 No of retries Bits 08 to 11 Port number 0 to 7 0 to 15 Hex i e 0 to F Bit 12 to 14 Set to O Bits 04 to 07 Set to O Bit 15 ON No response OFF Response returned Response monitoring time 0001 to FFFF 0 1 to 6553 5 seconds Note Transmissions cannot be received from the PLC executing RECV 98 1 2 3 1 Number of Words Set the total number of words to be transferred 2 Source Network Address Set the Source network address to 00 if you send the data to within the lo cal network If more than one SYSMAC LINK Unit Controller Link Unit or Ethernet Unit is mounted on the PLC the network of the Unit with the smallest unit address will be considered to the local network 3 Source Node Address Set the source node address to OO for devices at the local node 4 Source Unit Address S
44. is not setin Set the destination node address in the the routing table routing table 05 Routing error inati Routing table is not registered Set the source nodes destination nodes and relay nodes in the routing table Routing table error Set the routing table correctly Redesign the network or reconsider the 01 02 03 04 The maximum number of relay nodes 2 was exceeded in the command routing table to reduce the number of relay nodes in the command 10 Command format 01 The command is longer than the max Check the command format of the com error permissible length mand and set it correctly 02 The command is shorter than min per Check the command format of the com missible length mand and set it correctly 03 The designated number of data items Check the number of items and the data differs from the actual number and make sure that they agree 04 An incorrect command format has Check the command format of the com been used mand and set it correctly O al mb An incorrect header has been used Set the routing table correctly The local node s relay table or relay node s local network table is wrong 11 Parameter error A correct memory area code has not Check the command s memory area code been used or Expansion Data Memory and set the appropriate code is not available O NO The access size specified in the com Set the correct access size for the com mand is wrong or the first ad
45. it will send data itself Always include the local node in the refresh node order Data will not be received from the local node by another other node if the local node is not specified For settings using CX Net refer to 4 12 CX Programmer Procedures When using a data link that combines C series SYSMAC LINK Units CS series SYSMAC LINK Units and CVM1 CV series SYSMAC LINK Units set the CIO Area data link words bearing in mind that the C series data links have a maximum of 64 words from LRO to LR63 The data link area must be continuous in the CIO Area and in the DM Area 4 5 4 Table Backup Data link tables are automatically stored up in the CPU Bus Unit Settings Area of the CPU Unit of the SYSMAC LINK Unit involved if backup is specified from the Support Software It is advisable however for common link and refresh parameters to be backed up for safety Back up using the Support Software For details refer to the Support Software operation manuals Note Data link tables are set in the CPU Bus Unit Settings Area of the CPU Unit If the CPU Unit is replaced or if the unit number or node address of a SYSMAC LINK Unit is altered it is necessary to set the data link tables again 48 Data Link Area Allocations Section 4 6 4 6 Data Link Area Allocations Data link area allocations when the data link functions are started up are car ried out as shown below depending on whether the startup node data link table has b
46. link link parameter table Link System Link Unit load local area network local network table master master number MCR Unit megabyte memory area 170 Glossary A collective memory area containing all of the memory areas that can be ac cessed by bit including timer and counter Completion Flags The IOM Area in cludes all memory area memory addresses between 0000 and OFFF An acronym for Japanese Industrial Standards A type of programming where execution moves directly from one point in a pro gram to another without sequentially executing any instructions in between Jumps in ladder diagrams are usually conditional on an execution condition jumps in SFC programs are conditional on the step status and transition con dition status before the jump An acronym for local area network See rightmost bit word Acronym for light emitting diode a device used as for indicators or displays The highest numbered bits of a group of bits generally of an entire word or the highest numbered words of a group of words These bits words are often called most significant bits words A hardware or software connection formed between two Units Link can refer either to a part of the physical connection between two Units or a software con nection created to data existing at another location i e data links See common link parameter table A system used to connect remote I O or to connect multiple PLCs in a netwo
47. not exist Check the specifications of the installed file memory No clock exists Check the model number 24 Start stop not possi 01 The data link table either hasn t been Set the data link table correctly ble created or is incorrect O O oo NO 133 Troubleshooting Section 8 1 Main code Sub Probable cause Remedy code 25 Unit error Parity checksum error occurred Transfer correct data into memory because of incorrect data I O setting error The registered I O Either change the actual configuration to configuration differs from the actual match the registered one or generate the O table again Too many I O points Redesign the system to remain within per missible limits CPU bus error An error occurred dur Check the unit and cable connections and ing data transfer between the CPU and issue the ERROR CLEAR command a CPU Bus Unit I O duplication error A rack number Check the system s settings and eliminate unit number or I O word allocation has any duplication been duplicated I O bus error An error occurred during Check the unit and cable connections and data transfer between the CPU and an issue the ERROR CLEAR command I O Unit transfer Special I O Unit error An error Check the unit and cable connections and occurred during CPU Bus Unit data issue the ERROR CLEAR command transfer Duplication in SYSMAC BUS word allo Check and regenerate the I O table catio
48. order From the oldest record to the most recent If the number of records exceeds 39 the oldest record will be deleted and the most recent error recorded Error Log Table Configuration 15 87 0 Error code Detail Record Oldest Min Day Hour Month Error code Detail Year Record Min Day Hour Month Year Error code Detail Record Newest In z Day Hour Month Year 137 Error Log Section 8 2 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 SYSMAC LINK Unit When the time cannot be read from the PLC all error log times will be set to 0 This can occur for PLC startup errors unit number errors CPU Unit errors or PLC model errors When error logs without times are read from the CX Net they will be dated O s O min O hr O day O month 2000 2 When replacing the battery for CS series PLCs it will be necessary to switch the power supply ON and reset the internal clock If the internal clock is not reset time information in the error log will not be recorded cor rectly 3 The time information will be all zeros for CQM1H series PLCs unless a Memory Cassette with a clock is mounted in the CPU Unit The time in formation will be all zeros in
49. response block the part in excess will not be read and a response length overflow error will result Command Block 21 02 Command Beginning No of code record No records Response Block A a A _ 21 02 10 bytes 10 bytes A een i a ere Command Response Max No No of No of Error log 9 7 0070 Error log code code of records stored records data data records Parameters 120 Beginning record No command The first record to be read the first record number is 0000 Max No of records response The maximum number of records that can be recorded The maximum number of records is different for the CPU Unit and the CPU Bus Units CS series SYSMAC LINK Units have 27 Hex 39 records No of stored records response The number of records that have been recorded No of records command and response The number of records read Specify between 0000 to 0027 0 to 39 records If the number of records is not specified all records to present will be read and a normal response code will be returned If the number of records causes the response to exceed 540 bytes records through 540 bytes will be returned along with a normal response code Error log data response The specified error log records will be returned in sequence starting from the beginning record number The total number of bytes required is calculated as follows Number of records x 10 bytes The configuration of each error record is as follows 1st byte 10th
50. see note Replace the SYSMAC LINK No Unit 141 Error Log Section 8 2 Contents Detail code Correction Written to 1st byte 2nd byte EEPROM 021C Data link error inactive Not set Restart the SYSMAC LINK Yes Hex Unit 021D Data link table communications Communica Minimum Set the data link tables com cycle time setting error tions cycle possible munications cycle time auto time set in the communica matically or increase the data link sta tions cycle settings manually tus Unit ms time setting 2 digit hexa _ Unit ms 2 decimal digit hexa decimal Participating nodes reduced Node 1 to 16 removed Check the network parame removed node information correspond to bits O to 15 ters cables and terminal Node 17 to 32 removed resistance settings correspond to bits O to 15 Node 33 to 48 removed correspond to bits O to 15 Node 49 to 62 removed correspond to bits O to 13 Packet discarded Not set Conduct an echoback test and find the cause of the error Unit error Not set Check the operating environ Yes Hex ment Note 1 Errors indicated by error codes 0101 to 0116 Hex are logged only when the frame was discarded because transmission was impossible 2 Errors indicated by error codes 0220 to 0223 Hex are logged at the same time as error code 0206 or 0207 Hex participating nodes reduced You can determine the nodes removed from the network For example if node 16 is removed the followi
51. the year 2000 if it is read from Support Soft ware 8 2 2 Error Codes The following table lists the error codes in 4 digit hexadecimal and the con tents of the errors Error Contents Detail code code Correction Written to e EEPROM 0001 PLC watchdog timer error Replace PLC s CPU Unit Hex 0002 PLC service monitor error Monitor time unit ms Check operating environment Hex 0004 CPU Bus Unit ID number error 00 Hex 00 Hex Check I O Connecting Hex Cables 0006 CPU Unit error No relevant Unit in I Check the Unit number set Hex O table tings Recreate the I O table Hardware test unit number recognized i Incorrect unit num ber it 14 Duplicated unit num ber Reduce the number of CPU Bus Units mounted on each CPU Unit by one Check the operating environ Yes ment 0010 tenia Setup exceeds capacity Hex 0011 PLC initialization error Hex Time out rl a A Bus error 00 Hex fixed 00 Hex fixed Check the operating environ Yes rl ment i a initialization error Check the operating environ i ment 138 Error Log Error code 0012 CPU Unit memory error Hex 0013 CPU Unit write protected Hex 0101 Transmission failed local node Hex not in Network 0103 Transmission failed retry count Hex exceeded 0104 Transmission failed maximum Hex number of frames exceeded 0105 Transmission failed node Hex address incorrect 0106 Transmission failed red
52. to node so the data link tables will also differ from node to node There are four nodes in the net work 2 5 6 and 8 but some nodes will not receive data from all other nodes The settings for the common link and refresh parameters are shown after the data flow CIO Area CIO Area CIO Area CIO Area D00025 D00029 E Words written by local node Words read by local node In this example node 5 does not receive data from node 8 and node 6 does not receive data from node 2 Also node 8 only receives CIO Area data from the other nodes Create the data link tables for each participating node using CX Net in CX Programmer The following settings are required e Local node send size e PLC type e Local node data link start address e Refresh node order 53 Data Link Table Example Section 4 7 Example of Node 2 Settings Data Link Table Entry Mode number E Ok Cancel Help Common Link Parameters Area size ch Clo 0 254 fic Area size ch DM 0 254 io Refresh Parameters PLO type ETT Start Channel IO 1000 DM fo Statys Oh lo Refresh Modes Ex 1 2 2 2563 Node 2 Table Node address Local node address 2 Common link Number of words in CIO Area local node send size 10 words parameters CIO Area Number of words in DM Area local node send size 10 words DM Area Refresh param PLC type Selec
53. unless the settings are correct 55 Data Link Status Section 4 9 N Caution Check the following before starting the data links If the data link table settings or the DM parameter settings are unsuitable there is a risk of injury due to unanticipated operation of the system a Manual settings Check that suitable data link tables have been set in each data link node Check that data link tables have been deleted for nodes not participating in the data links b Automatic settings Check that suitable DM parameters have been set in the data link startup node N Caution Even if the data link table settings or the DM parameter settings are suitable check that there will be no adverse effects on the controlled equipment before starting or stopping the data links 4 8 1 DM Parameter Area Software Switches To start the data links turn ON the Data Link Start Stop Bit in DM parameter area in the CPU Unit of the node you wish to use as the startup node To stop the data links turn OFF Data Link Start Stop Bit in DM parameter area in the CPU Unit of a node participating in the data links The Data Link Start Stop Bit can be turned ON and OFF using the user pro gram Support Software or a Programming Console refer to 4 4 3 Data Link Start Stop Bit Word D30000 100 x unit number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 a EEE EEE EE EEE 7 orson A Data Link Start Stop Bit 777 The data links will start when th
54. will be exceeded during automatic allocation of link words If the data area is exceeded in the startup node the LNK indicator on the startup node will flash and the data link will not operate If the data area is exceeded in another node the LNK indicator on that node will flash and it will not participate in the data link If the communications cycle time in data link tables is not generated auto matically and the setting for communications cycle time is too short the CS series SYSMAC LINK Unit CS1W SLK1 1 21 will not participate in the data links The LNK indicator on the Unit will flash quickly and a data link table communications cycle time settings error 021D Hex will be regis tered in the error log If this CS series SYSMAC LINK Unit is the startup node for the data link the data link will not be activated The minimum pos sible communications cycle time setting can be obtained using the follow ing calculation Minimum possible communications cycle time setting Maximum node address x 0 01 Number of polled Units x 0 25 Number of Link Units x 0 161 Total number of words in link area x 0 01 5 322 ms Round up the result of this calculation to obtain a value in milliseconds Data Link Precautions Adding Nodes 1 2 3 Section 4 10 The data link table communications cycle time setting error registered in the error log will contain the following information Error code Detail code 2nd byte 02
55. words 16 words 10 16 words 32 words 11 32 words 64 words CPU Bus Unit Settings Initialization See note 0 Do not initialize CPU Bus Unit Settings 1 Initialize CPU Bus Unit Settings Polling Node Polled Node Bit 0 Polling node 1 Polled node Note Initializes the network parameters registered in the CPU Bus Unit Setting Area in the CPU Unit and clears the data link tables D31400 D31500 11 Automatic for CIO and DM Areas 161 address advanced instruction allocation analog Analog I O Unit AND area area prefix ASCII asynchronous execution Auxiliary Area auxiliary bit backup BASIC basic instruction BASIC Unit baud rate BCD binary Glossary A number used to identify the location of data or programming instructions in memory or to identify the location of a network or a unit in a network An instruction input with a function code that handles data processing opera tions within ladder diagrams as opposed to a basic instruction which makes up the fundamental portion of a ladder diagram The process by which the PLC assigns certain bits or words in memory for var ious functions This includes pairing I O bits to I O points on Units Something that represents or can process a continuous range of values as op posed to values that can be represented in distinct increments Something that represents or can process values represented in distinct increments is called digital I O
56. 1D Hex Communications cycle Minimum possible commu time set in the data link sta nications cycle time set tus Unit ms 2 digit hexa ting Unit ms 2 digit decimal hexadecimal The value in the 2nd byte of the detail code for 021D registered in the error history will be the minimum possible communications cycle time setting For example if the communications cycle time is set to 5 ms and the LNK indicator starts flashing quickly an error code of 021D 0512 will indicate that the minimum possible communications cycle time setting is 18 ms 12 Hex 021D 0512 Error code Minimum possible communications cycle time setting Communications cycle time set Be sure to consider the precautions listed below when adding a node to active data links 1 The node address of the node being added must be in the common link parameters of the data links 2 Set data link tables in the node being added This is not necessary how ever when using automatic settings with the startup node although it is necessary to include the node being added in the table of nodes participat ing in the data link in the automatic settings 3 The common link parameters for the node being added must be the same as for the common link parameters already in operation If the common link parameters for the node being added are different from the common link parameters already in operation the node being added cannot participate in the data link
57. 2 Number of polled units 1 to 62 Maximum number of frames 5 to 255 Use the following formulas to calculate the change in the communications cycle time that results from a change in other network parameters A positive 63 Data Link Characteristics Section 4 11 result indicates the communications cycle time has been decreased and a negative result indicates it has been increased Round the result of the calcu lation to the nearest millisecond Change of the communications cycle time coaxial cable systems old maximum node address new maximum x 0 085 ms old maximum number of frames new maximum x 0 654 ms old number of polled units new number x 0 750 ms Change of the communications cycle time optical fiber cable systems old maximum node address new maximum x 0 1115 ms old maximum number of frames new maximum x 0 77 ms old number of polled units new number x 0 75 ms Example Calculations The examples below calculate the change of the communications cycle time for both coaxial and optical fiber cable when the other network parameters are changed as shown below Maximum node address Changed from 62 to 16 Maximum number of frames Changed from 10 to 13 Number of polled units Changed from 4 to 5 Change of the communications cycle time coaxial cable systems 62 16 x 0 085 ms 10 13 x 0 654 ms 4 5 x 0 75 ms 1 198 ms 1 ms after rounding Chang
58. 47 9 3 Using the C200H SLK21 or C1000H SLK21l ooooooocoooooocnccrro reo 148 SECTION 10 Inspection and Maintenance o ooooooooooooooo 149 10 1 Periodio Inspection tadas a Add a 150 10 2 Handilin PrecauGons 4 antd naansdckeavhe a ode ae a detec teage sada koe ha ie ALD 150 10 3 Tools and Equipment Needed for Inspection 0 00 00 150 Appendices A m a D Standard Models Dimensions TABLE OF CONTENTS Related Auxiliary Area Information 0 ccc ccc cece eee eee eens CPU Bus Unit Area Allocations 122 06d weed ors ioe dad DM Area Allocations GHOSTS ir ca IMdEX oras dai aii Ge aio Revision HIStory crisi 151 153 155 157 161 163 179 181 X About this Manual This manual describes the installation and operation of CS series SYSMAC LINK Units and includes the sections described below Please read this manual completely and be sure you understand the information provide before attempting to install and operate a SYSMAC LINK System including CS series SYSMAC LINK Units Section 1 Introduction introduces the features and operations of the SYSMAC LINK Units Section 2 Unit Components and Switch Settings describes the names and functions of the SYS MAC LINK Unit components and switch settings Section 3 Basic Communications describes the token bus method of communications used in SYS MAC LINK Systems as well as the basic settings necessary for operation
59. 74 10 CIO 1750 to CIO 1774 a cio 15751ociO 1599 1 cio 1775t0 C10 1790 4 C10 160010 C10 1624 12 ciO 180010 C10 1824 5 cio 1625 0 C10 1649 13 CIO 182510 CIO 1840 _ 5 ClO T650 0 10 1674 14 CIO 185010 C10 1874 7 610 1675t0 C10 1699 15 CIO 1875t0 CIO 1890 DM Area Each CPU Bus Unit is also allocated 100 words from between D30000 and D31599 as follows Unto Words UnitNo wors o 30000 D30099 8 D30800 10 030800 2 3020010 030209 a 308000 030309 D30500 to D30599 D30600 to D30699 7 D30700 to D30799 D31300 to D31399 D31400 to D31499 D31500 to D31599 o 38 Memory Areas Section 3 6 3 6 2 Word Applications The applications of the words in the CPU Bus Link Area and DM Area that are allocated to SYSMAC LINK Units are described in the following tables CPU Bus Unit Area The words allocated in the CPU Bus Unit Area to a SYSMAC LINK Unit are used to access the status of the SYSMAC LINK System as shown in the fol lowing table wo wa BT e Page fo 01018 Reserved by he system mpus e o 1 Network parameter error as rom SYS ee Unit 1 Communications Unit SYSMAC LINK Unit setting error EN 4106 Reserved by tne system lt F 7 tr EEPROMemor O e 128 1 Network parameter disagreement error 1 Network controller error 12to 14 Reserved by the system 15 0 No error log record 1 Error log record s exists Oto 13 14 to 15 10 11 bh NO 00 Network
60. AAA ue nee as A922 Word SMC spa es Cas ENS as COE da 410 Data Link Precautions void a dota thaws as 4 11 Data Link CharacteristiOS vacia 4 11 1 Data Link Communications Cycle Time 4 11 2 Data Exchange Timmins ostia rare 4 11 3 Calculation Examples for Data Link I O Response Times 4 12 EX Prosrammer Procedures lara acia i beach raid ad eels 4121 Overall Procedure 242 cebada bo AND Data Link Sedes ridad ra easter eS a 42 43 44 44 44 45 46 46 47 48 48 49 49 49 51 32 53 55 56 56 56 56 57 59 60 62 62 64 65 67 67 68 41 Introduction 4 1 Section 4 1 Introduction Data Link Tables 42 Data link words Data link table Data links can be created between PLCs or PLCs and computers in a SYS MAC LINK Network to exchange data This data is transferred between inter connected PLCs automatically without requiring the use of normal I O Units Words in the ClO and or DM Areas are set aside as the data link words in each PLC that is in the data link Some of the data link words are allocated to the local node and the rest are allocated to other nodes Data can be written only to the words allocated to the local node During data link refreshing data written in the local node is transferred to corresponding words in other nodes memory areas The result is that each PLC in the data link has a common data link area the only difference being in the read write permi
61. ATUS READ see note NETWORK STATUS READ 115 DATA LINK STATUS READ 117 INTERNODE ECHO TEST 118 BROADCAST TEST RESULTS READ 119 BROADCAST TEST DATA SEND 119 a E ERROR LOG READ see note 120 ERROR LOG CLEAR see note 121 Note These commands can also be sent to the PLC 6 3 6 Response Codes A response code consists of two bytes If a command is completed normally a response code of 00 00 will be returned The first two digits of a response code are called the main response code MRES and the last two digits are called the sub response code SRES If command execution results in an error one of the response codes listed in the following table will be returned Refer to 8 1 2 Probable Causes and Remedies of Response Code Errors for details maes esoo OO 00 Nomar compron ooo 28 moomi SSS Unit error Command error Access right error 20 at 22 24 StariStop not possible 25 26 30 111 FINS Commands for SYSMAC LINK Units Section 6 4 6 4 FINS Commands for SYSMAC LINK Units 6 4 1 DATA LINK START Activates data links in the SYSMAC LINK Network This command will be completed normally when link words are allocated automatically or via data link tables only Command Block 04 01 Command code Response Block 04 01 Command Response code code 6 4 2 DATA LINK HALT Stops data links in the SYSMAC LINK Network This command will be completed normally whe
62. An a q y oe gabig 3G8C2 SLK21 E 3G8C2 SLK21 E SYSMAC LINK SYSMAC LINK Support Board Support Board Optical System Optical Fiber Cable CS1W SLK11 C200HW SLK13 SLK14 CV500 SLK11 C1000H SLK11 SYSMAC LINK Unit SYSMAC LINK Unit SYSMAC LINK Unit SYSMAC LINK Unit CVM1 C1000H C1000HF CS series PLC C200HX HG HE CV series PLC C2000H seq P q P wed U nu U tata j N Optical fiber cable 24 VDC Daisy chain Backup Power connection Supply C200H APSOS C1000H APSO1 Power Supply Power Supply 100 VAC oe an Backup Power Supply Internetwork Connections Communications across bridges or gateways can include up to three net works including the local network A CS series CVM1 or CV series PLC can be used as the bridge or gateway to easily and economically create networks controlling multiple lines Network 1 local network Network 2 Network 3 SYSMAC LINK Controller Link Ethernet SYS Controller Link Ethernet SYS MAC LINK SYSMAC NET etc MAC LINK SYSMAC NET etc SYSMAC LINK Unit Features Section 1 2 1 2 SYSMAC LINK Unit Features High Speed Reliability and Flexibility Distributed Control with Data Links Active Communications 1 2 3 Internetwork Communications Remote Access RAS Functions CS series SYSMAC LINK Units are equipped with a variety of special features including some developed from those incorporated by the C series SYSMAC LINK Unit These features allow PLCs in a SYSMAC LINK Ne
63. Cs and CPU Bus Units Using these instructions it is possible to control complicated functions without creating a communica tions program Refer to SECTION 6 Message Service for details 1 3 5 Remote Programming and Monitoring Remote programming and monitoring can be performed between SYSMAC LINK Controller Link and Ethernet Networks A maximum of three levels of network communications including the local network are supported Refer to SECTION 7 Remote Monitoring and Programming for details 1 3 6 RAS Functions Internode Test Broadcast Test Error Log See page 137 Polling Node Backup See page 143 Node Bypass See page 143 The SYSMAC LINK Unit supports RAS functions to help protect the network and recover from errors Communications between the local node and a specified node within the net work can be tested The test settings are made using the Support Software All the nodes within a specified network can be tested using the Support Soft ware broadcast test function If an error occurs in the Unit the time of the error and the error contents are logged in EEPROM within the Unit The logged error information can be read using the Support Software lf an error occurs in the polling node the Unit at another node automatically becomes the polling node and rebuilds the network If a backup power supply is used with an Optical SYSMAC LINK System any node that goes down will be automatically bypassed pr
64. EED SAA 6 2 4 Communications Ports o ae asasena saeara eee 6 2 5 NETWORK SEND Instruction SEND 90 6 2 6 NETWORK RECEIVE Instruction RECV 98 6 2 7 DELIVER COMMAND Instruction CMND 490 62228 Program Example joc cata cece aia at atedes 220 Delay Times is pd a hanes tate Skane Bon ate es he BE as ewes FINS Command Response Format 0 000 6 32 FINS Commands cisco tao keds Yes 6 3 2 Command Response Parameters nanne e eee 6 3 3 Communications Data Format 0 0 eee 6 3 4 FINS Commands for PLCs ooooooooooooooooooooooo 6 3 5 FINS Commands for SYSMAC LINK Units 6 326 Response COdes inerciales ea FINS Commands for SYSMAC LINK UnifS o oooooooo oo 6 4 1 DATALINK START 0 00 ccc eee 6 442 DATA LINK HALE tar Ote JRESE Fis dra criadas is 6 4 4 CONTROLLER DATA READ 000 0008 6 4 5 CONTROLLER STATUS READ o o o ocococoocooooooo o 6 4 6 NETWORK STATUS READ 0 00 0 0 eee 6 4 7 DATA LINK STATUS READ 0 0000 6 4 8 INTERNODE ECHO TEST 0 0 000s 6 4 9 BROADCAST TEST RESULTS READ 6 4 10 BROADCAST TEST DATA SEND 004 6 4 11 ERROR LOG READ priridi niero ve hewn eee eek bee es 6 4 12 ERROR LOG CLEAR 2 00000 eee 92 92 92 93 93 94 97 99 101 104 105 108 108
65. INK Unit Controller Link Unit or Ethernet Unit is mounted to the PLC the network of the Unit with the smallest unit address will be considered to be the local network 3 Destination Node Address Set the destination node address to FF for broadcasting within the local network Set to 00 and set the network address to 00 for transmission to a device at the local node 4 Destination Unit Address Set the destination unit to 00 if the destination is a PLC If the destination is a users application on a computer NSB set the destination unit ad dress to 01 user application 1 Address hexadecimal PLC CPU CN NSB computer 01 user application T ication CPU Bus Unit 10 to 1F Unit No 0 to F 0 to 15 1 Unit connected withthe network 97 PLC Network Instructions Section 6 2 5 Response Bit Bit 15 of C 3 Usually set this bit to OFF 0 response required If you do not need any response set the bit to ON 1 not required 6 Port Number Set the communications port number that the SEND 90 instruction will be sent from 7 Number of Retries Set the number of retries for unsuccessful transmissions You can set the number between 1 to 15 If 15 has been set for example the SEND 90 instructions will be re transmitted up to 15 times when the PLC does not receive a response from the destination node 8 Response Monitor Time Unit 0 1 S Designates the length of time that the PLC retries transmission when bit 15
66. LINK Units must be operating and participating in the network First check the LNK indicator status by referring to RUN ERC ERH and INS Indicators above and then use the following table LNK Probable cause Remedy indicator Lit Datalinks operating normally links operating Data links operating normally o i lit The local node has not been entered in the refresh Add the local node to the STS ESISE DISS parameters then parameters in the data link tables restart the data links Flashing The data link tables contain an error Correct the data link tables and then start the data links Rapid Communications cycle time in the data link tables is Either use the automatic setting or increase the set flashing is too short ting manually see note Note In this case the error log error code 021D Hex will be stored Refer to 8 2 Error Log for details 130 Troubleshooting Section 8 1 8 1 2 Probable Causes and Remedies of Response Code Errors The table below lists the probable causes of response code errors when using the SEND 90 RECV 98 and CMND 490 instructions Refer to 6 2 4 Com munications Ports for details on where the SEND 90 RECV 98 and CMND 490 instructions response codes are stored The 6th 7th and 15th bits of the response codes may be ON When the 15th bit is ON a network relay error has occurred Refer to Network Relay Errors below for remedies When the 6th or 7th bit is ON an error has o
67. M Area 4 5 1 Automatic and Manual Settings e Automatic settings Data link tables created automatically from the DM parameter area settings e Manual settings Data link tables set using Support Software Select either automatic or manual generation by specifying the data link mode in the DM parameter area allocated to the SYSMAC LINK Unit in the DM Area The differences between manually and automatically set data links are out lined in the following table PF tem Automatic setting Manual setting Data link mode setting in Using CIO Area only DM parameter area Bit 5 O bit 4 1 D30000 100 x unit No Using DM Area only Bit 5 1 bit 4 O Using CIO Area and DM Area Bit 5 1 bit 4 1 Number of linked words All nodes have the same The number of words read number of linked words and the number of words written can be set indepen dently for each node Linkable words The following words are Any of the words in the automatically used CIO and DM Areas can be CIO 1000 to CIO 1063 linked D00000 to D00127 Number of linkable nodes The number of nodes Data links can be set for linked and the node any portion or all of the addresses are automati nodes max 62 cally set depending on the number of words set per node 46 Creating Data Links Section 4 5 4 5 2 Automatic Data Link Tables Settings To automatically generate data link tables the data link mode in the CPU Unit DM Area parameters must be set fo
68. N delay Glossary See leftmost bit word Programming one loop within another loop programming a call to a subroutine within another subroutine or programming an IF ELSE programming section within another IF ELSE section A device with an interface to connect devices other than PLCs to a SYSMAC NET Link System A Unit that provides two interfaces to connect peripheral devices to a SYSMAC NET Link System Tables of settings used to establish operating parameters for SYSMAC LINK and SYSMAC NET Link Systems One of the positions in a LAN Each node incorporates a device that can com municate with the devices at all of the other nodes The device at a node is identified by the node number A number used to identify a node on a network The node number of a CV se ries PLC is called the unit number in the PLC Setup Disturbances in signals caused by electrical noise A hardware or software error that produces a warning but does not stop the PLC from operating A logic operation which inverts the status of the operand For example AND NOT indicates an AND operation with the opposite of the actual status of the operand bit An acronym for Network Service Board An acronym for Network Service Unit A number system where all numbers are expressed in base 8 i e numbers are written using only numerals O through 7 A communications setting that adjusts the number of ON bits so that it is al ways odd See parity
69. ND command has been executed since the last BROADCAST TEST RESULTS READ command was executed When this command is executed the number of receptions data stored in the destination nodes is cleared If the number of receptions does not equal the number of times that the BROADCAST TEST DATA SEND command has been executed since the last BROADCAST TEST RESULTS READ command was executed an error has occurred 6 4 10 BROADCAST TEST DATA SEND Command Block Note Sends the test data in the command to all nodes in the specified network No response will be returned when this command is executed but reception of the test data can be verified by executing the BROADCAST TEST RESULTS READ command Refer to 6 4 9 BROADCAST TEST RESULTS READ for details Command Test data code Make the following control data settings when executing this command a Destination node address FF broadcast transmission b Destination node unit number FE to SYSMAC LINK Units c Response Bit bit 13 of C 1 ON response not returned 119 FINS Commands for SYSMAC LINK Units Section 6 4 6 4 11 ERROR LOG READ Reads the error log Note 1 When the error log does not have the specified number of records all the records that have been stored will be read and an address range overflow error will result 2 If the data is too large and exceeds the permissible length of the
70. NK System CompoBus S Network Network address A 4 PS Power Supply Unit CPU CPU Unit ETN Ethernet Unit PLC acting SLK ETN SRM CPU PS SLK SYSMAC LINK Unit as bridge SRM CompoBus S Mas a ter Unit Unit number a a Unit number b Unit number c Local Netw ork Table Unit Network No A a B b There is no network address for the CompoBus S Master Unit so no address is set in the local network table 87 Routing Table Examples Section 5 3 Relay Network Tables The following illustration shows an example of routing table settings with three networks connected to one another Take a look at the relay network table for PLC 3 When network A is the destination network for PLC 3 B is the relay network and c is the relay node When network C is the destination network B is the relay network and e is the relay node Relay Network Tables End Relay Relay dl netwk netwk node B A b Node address a C A b Network PLC 2 End Relay Relay address A netwk netwk node Node address b A E Node address c End Relay Relay ee netwk netwk node Network a 5 a address B Node address d PLC 4 End Relay Relay netwk netwk no
71. Procedure The connection procedure is described briefly below 1 2 3 1 Install connectors on each end of the cables 2 Connect Terminator to the F Adapter at each end of the network i e to the unused connectors at the last Unit on each end Hold the connector in one hand and press the resistance into it firmly with the other 3 Connect the F Adapters to the SYSMAC LINK Units by firmly pushing the adapter onto the coaxial connector on the Unit and turning the locking ring to the right until it locks Start at one end of the network and connect the F Adapters to the other end in order F Adapter N y et atl 7 a iit Connector i Terminator Terminator 5C 2V coaxial cables Cable Connection 1 2 3 1 Firmly press the F Adapter into the Unit and turn the locking ring to the right until it locks Turn locking ring to the right pn A cS ee yl y os 20 Cable Connections Section 2 4 2 Place an insulation cover over the F Adapter e 3 Any bends in the coaxial cable must be 45 mm in radius or greater six times the outer diameter of the cable When laying the cable make bends of 110 mm in radius or greater 15 times the outer diameter of the cable Radius _ 45 mm minimum Note 1 Before connecting or removing the coaxial cable always touch a ground ed metal object to discharge static electricity from your body 2 Always make sure the
72. Procedures Section 4 12 3 Select the Run option button under Operation 4 Click the Set button The data links will start and the Operational Status Box will display the operational status Operational Status Mode 01 Mo error Data Link Active L Stop Debug mode Mode 02 Mo error Data Link Active L Stop Debug mode Mode 03 Mo error Data Link Active Stop Debug mode Stopping Data Links 1 2 3 1 Open the Data Link Status Dialog Box and then select the Stop option but ton under Operation 2 Select the Set button The data link will stop 82 SECTION 5 Network Data Exchange The CS series PLCs allow data exchange between networks This section provides the details of the data exchange functions of the CS series PLCs via SYSMAC LINK Networks 5 1 What is Network Interconnection 0 0 00 cee eee eee nes 5 1 1 Interconnecting 5 1 2 Interconnecting 5 2 Routing Tables SYSMAC LINK Networks Different Types of Networks 5 2 1 Routing Table Configuration 0 0 0 cee eee eens 5 2 2 Local Network Table ooooooooooooooooooooooo 5 2 3 Relay Network Tables corre ici 5 3 Routing Table Examples 84 84 84 86 86 86 86 87 83 What is Network Interconnection Section 5 1 5 1 What is Network Interconnection Network interconnection enables commands and responses for the message service to be sent and received across m
73. Processing Time The time required for interrupt processing for data exchange data processing time can be roughly estimated as shown in the following table Data link scale Equation for estimating data processing time Data link is established for both areas 1 and 2 0 001 x Total number of data link words 1 7 ms Data link is established for only area 1 or area 2 0 001 x Total number of data link words 1 4 ms 4 11 3 Calculation Examples for Data Link I O Response Times In a SYSMAC LINK Unit data link there is a slight time lag between the time input is received at one node in the link and the time output is made from another node in response to this input This time lag is called the data link I O response time In this section examples illustrating how to calculate the mini mum and maximum I O response times are given for the configuration shown below Coaxial cable PLC 7 PLC 1 ae SYSMAC LINK Unit Input ais ie Output Node 7 Node 1 Input LRXXX LRXXX Output 22 Data link O ao Number of participating nodes 8 Number ofnodes participating in data inks 8 The time required for each of the above items is given below Communications Cycle Time 62 x 0 085 10 x 0 654 4 x 0 75 8 x 0 056 192 x 0 01 1 322 18 5 19 ms For details refer to page 62 Input ON Response Time This is the time between an input signal being received and the relevant input bit actually turning ON Taken as 0 ms min to 1 5 ms
74. Programming and Monitoring Section 7 1 7 1 3 Remote Programming and Monitoring Different Networks You can program and monitor CPU Units on different networks Ethernet SYSMAC NET and Controller Link from a CX Programmer connected to a CS series CVM1 CV series or C200HX HG HE series CPU Unit CS series CVM1 and CV series PLCs must be used as the bridges between the net works CX Programmer Programming Device g Controller Link Network Ethernet Network etc SYSMAC LINK Network Programming Monitoring ES CS CVM1 or CS series CVM1 CV series or CV series PLC C200HX HG HE series PLC is Controller Link SYSMAC LINK Ethernet etc C200HX HG HE CS series PLC CVM or CV series PLC Note Remote programming and monitoring is possible from computer nodes Note When performing remote programming or monitoring from CX Programmer over a SYSMAC LINK Network set the frame length to a maximum of 542 bytes using the network settings of the PLC connected to CX Programmer If the frame length is set to 543 bytes or over the user program and other data cannot be transferred 125 SECTION 8 Troubleshooting Information to help identify and correct errors that might occur 1s provided in this section SL Arouples hooting ali ee 128 Sle Errorindications ue dois dass 128 8 1 2 Probable Causes and Remedies of Response Code Errors 131 dz CORT OG ada dat ai ii bt dis 137 Se2eh BrrorLos Tables ad as eb
75. R Area or AR Area between a CS series CVM1 or CV series PLC and a C series PLC C200HX HG HE HS H C1000H or C2000H instead of the LR Area HR Area or AR Area addresses use the corre sponding addresses given in the following table Area in C series PLC Corresponding area in CS series CVM1 or CV series PLC LROO to LR63 1000 to 1063 HROO to HR99 1064 to 1163 AROO to AR27 1164 to 1191 4 It is not possible to specify the CPU Bus Link Area in a CVM1 or CV se ries PLC from a CS series PLC 5 It is not possible to specify the Work Area or Holding Area in a CS series PLC from a CVM1 CV series or C series PLC 6 When executing the SEND 90 or RECV 490 instruction on a CS series PLC from a CVM1 or CV series PLC the areas that can be specified are restricted to the areas of memory built into the CVM1 or CV series PLC The SEND 90 and RECV 490 instructions cannot be executed on mem ory outside these areas Specified area pi TA or CV series Settable range o 0000 to 2555 AR oo CI LIT ON 7 When executing the SEND 90 or RECV 98 instruction on a CS series CVM1 or CV series PLC from a C series PLC the areas that can be specified are restricted to the areas of memory built into the C series PLC from which the instruction is executed The SEND 90 and RECV 490 in structions cannot be executed on memory outside these areas For de tails on C series PLC memory areas refer to the relevant operation manual When
76. Refer to the example below 4 If the communications cycle time for the data link tables is manually set when a CS series SYSMAC LINK Unit is to be added to the data links make sure that the value set is not below the minimum possible communi cations cycle time setting For details of the values that can be set refer to the previous section Setup and Activation 61 Data Link Characteristics Section 4 11 Adding a Node to a Data Link Startup node Participating nodes CIO Area CIO Area The number of send words for node 4 is set as 20 words in the common link parameters but the number of send words is set as 10 words in the common link parameters for other nodes that are already operating Consequently node 4 will not participate in the data link network 4 11 Data Link Characteristics 4 11 1 Data Link Communications Cycle Time Data link servicing is given priority in SYSMAC LINK Systems The communi cations time for a data link can thus be maintained as a constant regardless of whether or not SEND 90 RECV 98 and CMND 490 are used Fixing the data link communications time at a constant value fixes the data link I O response time as well The communications cycle time can be set either automatically the default or controlled externally Automatic Generation When data link tables have been generated automatically the communica tions time will be as follows for systems using coaxial cable No of nodes Dat
77. SYSMAC CS1W SLK11 21 SYSMAC LINK Units OPERATION MANUAL CS1W SLK11 21 SYSMAC LINK Units Operation Manual Revised June 2004 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 dam age to property N DANGER Indicates an imminently hazardous situation which if not avoided will result in death or serious injury N WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury N Caution Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage OMRON Product References All OMRON products are capitalized in this manual The word Unit is also capitalized when it refers to an OMRON product regardless of whether or not it appears in the proper name of the product The abbreviation Ch which appears in some displays and on some OMRON products often means word and is abbreviated Wd in documentation in this sense The abbreviation PLC means Programmable Controller PC is used however in some Program ming Device displays to mean Programmable Controller Visual Aids
78. System that specifies what words are to be used in the data links for all PLCs in the SYSMAC LINK System See re fresh parameter table common data constant control bit control signal Control System controlled system CPU CPU Bus Unit CPU Rack C series PLC CTS CV Support Software CV mode CV series PLC CVSS cycle cycle time data area data length data link Glossary Data that is stored in a memory of a PLC and which is shared by other PLCs in the same system Each PLC has specified section s of the area allocated to it Each PLC writes to the section s allocated to it and reads the sections allocated to the other PLCs with which it shares the common data An input for an operand in which the actual numeric value is specified Con stants can be input for certain operands in place of memory area addresses Some operands must be input as constants A bit in a memory area that is set either through the program or via a Program ming Device to achieve a specific purpose e g a Restart Bit is turned ON and OFF to restart a Unit A signal sent from the PLC to affect the operation of the controlled system All of the hardware and software components used to control other devices A Control System includes the PLC System the PLC programs and all I O de vices that are used to control or obtain feedback from the controlled system The devices that are being controlled by a PLC System See central proces
79. T THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED ON CONTRACT WARRANTY NEGLIGENCE OR STRICT LIABILITY In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted INNO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY REPAIR OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED STORED INSTALLED AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION ABUSE MISUSE OR INAPPROPRIATE MODIFICATION OR REPAIR No 6182 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 This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product machine system or other application or use The following are some example
80. Tools and Equipment Needed for Inspection The following tools and equipment will be needed to perform inspection and adjustments e Assorted flat blade and Phillips screwdrivers e Circuit tester or digital voltmeter e Industrial grade alcohol and clean cotton cloth e Synchroscope e Pen chart recording oscilloscope e Thermometer hygrometer 150 Appendix A Standard Models SYSMAC LINK Units Specification Mode Applicable PLCs SYSMAC LINK Unit Optical fiber cable CS1W SLK11 CS1H CPU67H CS1H CPU66H CS1H CPU65H CS1H CPU64H Coaxial cable CS1W SLK21 CS1H CPU63H CS1G CPU45H CS1G CPU44H CS1G CPU43H CS1G CPU42H 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 Cables Optical Fiber Cable for CS1W SLK11 Optical fiber cables with connectors Use the following H PCF cables a TO Mode FPF Gable 2 core opica fiber cable Optical connector Use when connecting nodes to cables S3200 COCF2071 See note In line adapter Use in cable relays 3200 COIAT2000 Note Production of the S3200 COCF2011 Connector has been stopped Use the S3200 COCF2071 as a replacement 151 Standard Models Appendix A When ordering specify the optical fiber cable type by adding codes to the model number as shown below S3200 HUULUUL Kind of cable Power supply line Color of fiber Length Opt
81. a line daisy chain configuration with H PCF Optical Fiber Cable The nodes can be connected in any order but be sure to begin with the upper connector SL1 of the highest node in the network and connect to the lower connector SL2 in the next lower node as shown in the following diagram 27 Cable Connections Section 2 4 Also be sure to cover the unused connectors on the highest and lowest nodes in the network with the provided Optical Connector Covers Optical Connector Cover Included Optical Connector Cover Included el lt Higher Lower gt Note 1 Always use the specified Optical Fiber Cables 2 The maximum distance between nodes depends on the method used to attach the connector to the cable Installing Connectors A special connector is used to connect the Optical Fiber Cable to the SYS MAC LINK Unit This manual does not provide details on Optical Fiber Cable preparation Observe the following precautions when connecting the Optical Fiber Cables e Always turn OFF the PLC power supply before connecting Optical Fiber Cables e Special tools are required to attach Optical Fiber Cables to the connec tors The cable may disconnect from the connector if the proper tools and methods are not used during cable assembly e Insert the connectors completely and always check that the connectors are locked before starting operation e If a connector becomes disconnected the node will be unable to
82. a link areas CIO and DM Areas CIO Area only DM Area only e hom em sm The communications time will be as follows for systems using optical fiber cable No of nodes Data link areas CIO and DM Areas CIO Area only DM Area only e lem m m 62 Data Link Characteristics Section 4 11 Manual Generation When data link tables have been generated manually the communications cycle time can be set to a constant value or generated automatically The communications cycle time can be set as a constant from 5 to 255 ms in increments of 1 ms using the Support Software to eliminate variations caused by noise or other factors When the communications cycle time is not set as a constant it will be generated automatically according to the equations below Round the result of the calculation to the nearest millisecond Communications cycle time coaxial cable systems Maximum node address x 0 085 ms maximum number of frames x 0 654 ms number of polled units x 0 75 ms number of Link Units x 0 056 ms total number of words x 0 01 ms 1 322 ms Communications cycle time optical fiber cable systems maximum node address x 0 1115 ms maximum number of frames x 0 77 ms number of polled units x 0 75 ms number of Link Units x 0 056 ms total number of words x 0 010 ms 1 322 ms Note The present and maximum values of the communications cycle time can be monitored from the Support Software Example Calc
83. a program or data from a lower level or slave com puter to a higher level or host computer If a Programming Device is involved the Programming Device is considered the host computer A timer within the system that ensures that the scan time stays within specified limits When limits are reached either warnings are given or PLC operation is stopped depending on the particular limit that is reached See watchdog timer A communications method in which signals are sent over wire cable Although noise resistance and transmission distance can sometimes be a problem with wire communications they are still the cheapest and the most common and perfectly adequate for many applications A unit of data storage in memory that consists of 16 bits All data areas consists of words Some data areas can be accessed only by words others by either words or bits The location in memory where a word of data is stored A word address must specify sometimes by default the data area and the number of the word that is being addressed The process of assigning I O words and bits in memory to I O Units and termi nals in a PLC System to create an I O Table A part of memory containing work words bits A bit in a work word A word that can be used for data calculation or other manipulation in program ming i e a work space in memory A large portion of the IR area is always reserved for work words Parts of other areas not required for special p
84. and no response is received The default value is 0000 which indicates 2 seconds Note If more than the Number of Bytes to Receive is received no response will be stored If fewer bytes are received the response data will be stored and the unused memory area of the PLC will remain unchanged Range of Control Data The permissible ranges of control data are as follows IA IS A Number of bytes to send 0002 to 021E 2 to 542 bytes Number of bytes to receive 0002 to 021E 2 to 542 bytes Destination network address 00 Local network 01 to 7F Destination network address Destination node address 3 Transmission within local PLC Destination node address 1 to 62 SYSMAC LINK Destination node address 1 to 32 Controller Link Destination node address 1 to 126 Ethernet SYSMAC NET Broadcasting Destination unit address r PLC CPU Unit Computer NSB user application 1 CPU Bus Unit see note 1 Inner board SYSMAC NET Link Unit or SYSMAC LINK Unit Response Bit O OFF Required 1 ON Not required Communications port number 0 to 7 0 to 7 Number of retries 0 to F 0 to 15 Response monitor time 0000 2 s default 0001 to FFFF 0 1 to 6 553 5 s with 0 1 s increments set by the user Note 1 FE or unit number 10 FE can be set when the destination is a SYS MAC NET Link SYSMAC LINK Unit Controller Link Unit or Ethernet Unit 102 PLC Network Instructions Section 6 2 2 When broadcasting there is n
85. ators are OFF then the Unit is in the Network Return the Polled node polling node setting of the node in which the Unit was replaced to polling node lo 11 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Dm 80000 400 xn o oTo Tooo To To o o EEE TEH Polled node Polling node 0 Polling node Other settings 1 Polled node Restart the SYSMAC LINK Unit or turn ON the power again Check that the Unit is participating in the Network If the INS indicator is lit and the ERC and ERH indicators are not lit then the Unit is in the Network 1 Stop the data links before restarting the SYSMAC LINK Unit Check again that the network parameters for the node that has been replaced are the same as for the other nodes 2 When replacing the Unit do not reconnect that node to the Network be fore carrying out the procedures listed below In particular a node with a small address will become the polling node and communicate the initial network parameter status to other nodes so there is the chance that net work parameters in the entire Network will be damaged 9 2 Replacement Procedure Note 1 2 3 In CS series SYSMAC LINK Units data is stored in the battery powered backup SRAM in the CPU Unit Consequently a SYSMAC LINK Unit will func tion as before simply by making the appropriate hardware settings even if it is replaced The data link tables and routing tables must be reset however if the CPU Unit is replaced Turn OFF
86. ature inside the unit Check the ambient humidity 10 to 90 Check there is no Hygrometer and the humidity inside the condensation unit Check there is no dust Clean away any dust Eyesight Mounting conditions Check the SYSMAC LINK Tighten any loose Units Eyesight Unit is firmly fixed Check the cable connectors Tighten any loose cables Eyesight have been fully inserted Check that external wiring Tighten any loose screws Phillips screwdriver screws are not loose Check that external wiring Inspect the wiring externally Eyesight cables are not frayed for any abnormalities We recommend that users have backup Units available to make repairs and minimize down time if a problem occurs in a SYSMAC LINK Unit 10 2 Handling Precautions Please observe the following precautions in the event of a problem e Always turn OFF the power when replacing a SYSMAC LINK Unit e If a SYSMAC LINK Unit fails replace it with a new one and immediately verify that the new Unit is working properly e When returning a malfunctioning SYSMAC LINK Unit for repair please attach a detailed description of the problem to the Unit and return it to the sales office nearest you see listing at the end of this manual e If you suspect that a poor connection is the cause of a malfunction clean the connectors using a clean soft cloth and industrial grade alcohol Remove any lint or threads left from the cloth and re mount the SYSMAC LINK Unit 10 3
87. bled Flag Port Execute Error Flag and response codes In this example two commands were executed for port O but there was an error for command 1 Command 2 Executing ero Command 1 Execution enabled Execution enabled 0 3 i Command 1 error occurred Executing 0000 Response code 0000 Response code for command 1 for command 2 t t 4 4 1 1 1 1 t 1 t 1 Command Executed Command Executed accepted accepted The new data will be sent if the data in the transmission area is changed while a command is being executed Do not change data in the area being transmit ted unless the Port Enabled Flag is ON 95 PLC Network Instructions CMND 490 Instructions 96 1 2 3 Section 6 2 The following will affect the Port Execute Error Flag and response code when you have executed the CMND 490 instruction 1 A response time out error 2 The number of transmission data bytes exceeding the maximum permissi ble range more than 021E 542 bytes for SYSMAC LINK Units 3 The number of response data bytes exceeding the number of reception data bytes that was set in this case no response will be recorded Errors other than the above will be shown in the response code in the response block but will not be shown in the Port Execution Error Flag or response codes PLC Network Instructions Section 6 2 6 2 5 NETWORK SEND Instruction SEND 90 The SEND 90 instructi
88. bles have been transferred before performing the following operations Data links can be started or stopped from any node if the node has a data link table Starting Data Links 1 2 3 1 Start CX Net and select Data Link and then Status If connected locally i e directly connected to a PLC the Data Link Status Local Dialog Box will be displayed If connected remotely i e through a network the Data Link Status Dialog Box will appear Data Link Status Local EN Select this button to display the Communications Units mounted on ihe PLC End Metwork AFA IEA E N TE E ERILE EITE E E ES E l O Unit Type 0 SYSMAC LINK Cancel 2 Select SYSMAC LINK and then click the OK button e The Data Link Status Dialog Box will be displayed e The status for each of the following will be displayed in the Data Link Status Dialog Box The communications cycle time and the refresh cy cle time can be updated only when this window is open or when the data link has been started or stopped Data Link Status r Connection e o Metraork Properties e Set the data link start and Mame SYS MAC LINK Datalink Start Mode 0 RaR EE ak ames stop using this selection Mode Polling Mode Number l Help button and then the Set op Moda S1H Network Cycle Time ms 47 tion button E E E AA Hal p Refresh Time Sd mannna Current og Command Status Maximum 00 Data Link Stopped 81 CX Programmer
89. ccurred in the destination CPU Unit Refer to the CPU Unit operation manual and clear the error in the destination CPU Unit The following table gives the meanings of the response codes 15 14 13 12 11 10 9 8 5 4 3 2 1 OQ 7 6 de TT TO Seopa 7 A A A 1 Nonfatal CPU Unit Error Flag t 1 Fatal CPU Unit Error Flag 1 Relay Error Flag Upon receipt of some commands the destination node will issue a request to another node the other node is referred to as the third node Main code Sub Probable cause Remedy code 00 Normal completion 99 01 Service was interrupted Check the contents of the destination trans mission area of third node 01 Local node error Local node not part of Network Add to Network 02 Token time out node address too high Set the local node s node address below the maximum node address 03 Number of transmit retries exceeded Check communications with internode echo test If the test fails check network 4 0 Maximum number of frames exceeded Either check the execution of events in the network and reduce the number of events occurring in one cycle or increase the max imum number of frames Node address setting error range Make sure the node address is within the specified range and that there are no dupli cate node addresses Node address duplication error Make sure that there are no duplicate node addresses 02 Destination node Destination node not part of Network Add to Network erro
90. ch node address is shown in the following illustration Bits given as are always zero Bit 7 6 5 4 3 2 1 0 Byte118 71 65 43 2 1 Byte2 16 15 14 13 1211 10 9 Byte 3 24 23 22 21 20 19 18 17 Byte 4 32 31 30 29 28 27 26 25 Byte 5 40 39 38 37 36 35 34 33 Byte 6 48 47 46 45 44 43 42 41 Byte 7 56 55 54 53 52 51 50 49 Byte8 162 61 60 59 58 57 6 4 6 NETWORK STATUS READ Reads the status of the SYSMAC LINK Network Command Block 06 02 Command code 115 FINS Commands for SYSMAC LINK Units Section 6 4 Response Block Parameters 116 rear T ee o 06 02 31 bytes 8 bytes 62 bytes E A A KE A A ail OS Command Response Network Communications Cyclic Cyclic error code code member data cycle time non fatal errors Counters Node address of Cyclic current polling node transmission status Note Cyclic operation Network member data response Four bits are allocated to each node address to provide information on the status of nodes in the network as shown below The function of each of the 4 bits is shown in the diagram following the table Byte 31 Node address 62 Node address 61 Bit 3 7 2 6 1 5 0 4 1 In network 0 Not in network 1 Exited because of an error 0 Normal exit 1 Unit does not respond to polling Bit 1 5 is used to i
91. ck o6 01 Command code Response Block o6 01 8 bytes AA O E A A A Command Response Participation code code i Data link status Status 1 Status 6 y Count 1 Count 8 6 bytes total 8 bytes total 113 FINS Commands for SYSMAC LINK Units Section 6 4 Parameters Status response The operating status of the data links as follows 00 Stopped 01 Active Status 1 response Communications test status as follows Bt 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 1 Test running O test stopped Status 2 response Line status as follows Bt 7 6 5 4 3 2 1 0 00 00 000 1 Power supplied O power not supplied Status 3 response Error status as follows Bt 7 6 5 4 3 2 1 0 0100 1010 0 _ 1 Node address setting range error pasos 1 Node address duplication error pco 1 Network parameter disagreement Note The registered network parameters are compared to the actually network parameters upon power application the first time a Unit joins the network If the parameters do not agree bit 2 above will be turned ON but the system will not stop the actual network parameters will automatically be registered Status 4 response The cause of communications controller errors as fol lows Bt 7 6 5 4 3 2 1 0 1 Watchdog timer error obras 1 Memory
92. ck results of data link tables Saving Data Link Tables Save the data link tables Data link tables are saved with an sI3 extension 1 2 3 1 Select Data Link Editor SYSMAC LINK File and then Save as The Save As Dialog Box will appear 2 Enter the file name e g Sample specify the directory to which to save and click the Save button The file will be saved with an sI3 extension e g Sample sI3 Connecting to the Network 1 2 3 1 Select the PLC to connect to the network from the PLC Network Config uration Tool in CX Net coy 2aMplecdm GA NET PLO Metwork Configuration Tool Project PLO Routing Table Data Link Help DuaL Sa mple cd m LO o g Shows the connection path Red when Select PLC to RA offline and green when online connect e PCOOS_Nodee PO003_Node3 PCOO1_Node 1 shows the SYSMAC Bus connection Mode lo Metrark e 0s1G Shows the online PLC type and CPU model PU45 Press Fl for Help eee Status Off Line Mode Unknown 78 CX Programmer Procedures Section 4 12 2 Select PLC and then Open When connected the display will change as follows Toolbus Turns green PMetuork CSIG jo CP045 Status On Line Mode Program Select PLC and then Open to reconnect if disconnected Reading and Transferring Data Link Tables Read the data link tables that have been created and then transfer them to all the nodes part
93. commu nicate with other nodes in that part of the network The network will be divided into two and communications with the remaining nodes will be unreliable Be sure not to remove connectors during communications Transmission possible Y but unstable Isolated Transmission not possible e Do not pull on the Optical Fiber Cable too forcefully The maximum tension that can be applied to the cord is 10 kg and the maximum tension that can be applied to the cable is 50 kg D Lol gt Cord Cable e Do not bend the cable too sharply The minimum radius for bends is 10 cm 28 Cable Connections Section 2 4 e To prevent the Optical Fiber Cable from being pulled too forcefully always use the cable securing bracket and provide space behind the Unit as shown in the following diagram Do not exceed the maximum tension for the cord and cable Cord 0 kg Do not apply any tension Cable 5kg D P oh Cord Cable Y e Do not place objects on top of the Optical Fiber Cable The maximum pressure that can be placed on the cord and cable is as follows Cord 30 kg 10 cm Cable 50 kg 10 cm e Inspect the connector before installing it Connection Procedure Use the following procedure to connect Optical Fiber Cables to a Unit 1 2 3 1 Tighten screws in the mounting brackets so that the through holes on the terminal are on the top and bottom and then affix hexagonal nuts from the opposite side of the terminal
94. ctor Using a tester check the following e Are the central conductor and the braiding insulated in the plug shell on the coaxial cable connector e Are the plug shells conducting through the connectors at both ends of the coaxial cable e Are the central conductors conducting through the connectors at both ends of the coaxial cable 24 Cable Connections Section 2 4 Provide a space between the bottom of the Unit and the cable as shown below to ensure a Suitable bend radius ME il a 12 BN PTET IEU HINNI 200 Unit mm Note Separate the coaxial cable from other power lines and high voltage lines to prevent noise 2 4 2 Optical Units The following devices are required for the Optical SYSMAC LINK Network Required Components Optical Fiber Cables Use the following adhesive polished Optical Fiber Cables Hard Plastic clad Fiber H PCF H PCF cables Black 25 Cable Connections Section 2 4 Note The Optical Fiber Cable model numbers are as follows 93200 HLILILILILILI LU Tensioner option None Standard with tension member N Without tension member Cable length LILI A B A 10 x 108 m Cable color B Black O Orange Cable specification L With power supply line C Without power supply line Type B Cord C Cable Connectors moa Specifications Connector S3200 COCF2071 Use to connect a cable to a node See note 1 Full lock connector fo
95. d or added in several places Notes added in two places Page 151 Changes made to first paragraph after table 181 OMRON CORPORATION FA Systems Division H Q 66 Matsumoto Mishima city Shizuoka 411 8511 Japan Tel 81 55 977 9181 Fax 81 55 977 9045 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 83 Clemenceau Avenue 11 01 UE Square Singapore 239920 Tel 65 6835 301 1 Fax 65 6835 271 1 Authorized Distributor Cat No W367 E1 02 Note Specifications subject to change without notice Printed in Japan No 6182 OMRON Corporation 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 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 OMRON MAKES NO WARRANTY OR REPRESENTATION EXPRESS OR IMPLIED REGARDING NON INFRINGEMENT MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THA
96. d x 0 0045 ms 4 ms Communications Cycle Time Coaxial Max node address x 0 01 ms No of nodes x 0 075 ms No of polled units x 0 75 ms 1 322 ms Optical Max node address x 0 01 ms No of nodes x 0 133 ms No of polled units x 0 75 ms 1 322 ms Transmission Delay Commands 0 204 ms Responses Number of words transferred x 0 008 ms 0 204 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 In this example the maximum transmission delay is calculated for an instruc tion receiving 256 words of data in a system with 32 nodes Network specifics are detailed below Max node address 32 Number of nodes 32 Number of polled units 4 Number of words 256 Communications coaxial cable Data link halted Communications cycle 32 x 0 01 32 x 0 075 4 x 0 75 1 322 7 042 ms 107 FINS Command Response Format Section 6 3 Delay cause Maximum delay ms Reception processing response 256 x 0 0045 4 5 152 ms Max transmission delay CPU Unit cycle time source node x 2 CPU Unit cycle time destination node 33 844 ms 6 3 FINS Command Response Format 6 3 1 108 This section describes the format of the commands and responses used with the CMND 490 instruction via a CV series SYSMAC LINK Unit SYSMAC LINK Units support only FINS commands Unless another format is specifically indicated all commands a
97. de 2 PLO type voy hl Modes Total link GH 0160 i i ae E i 030 am Oso E T G Series Table Yiew For Help press Fl Retresh Parameters pl Y r EEE Information start Channel clo 1000 eN DM 400 rel O12 01 ClO 020 OM 050 02 03 ClO 020 Dhl 030 031 02 ClO 030 OM 050 The following example shows the display for node 3 Ty BEEBE Data Link Editor SYSMAC LINK rie Table Help Items Common Link eee Information __ __ m Cycle Time m al Das i CO 1500 El 1 IE 1 a E D hl 600 Joly Pa Status o I Target Mode a PLE type CACA Ml Modes Total link GH 0160 Refresh Parameters lte ms aan J01 ClO 020 Di 030 Ohl 01 l0 020 Dri 030 02 ClO 030 OM O30 02 02 C10 050 DM 050 li Ms G O20 si i 00 03 clo 020 Dr 030 a f all All A on BE 3 mn G Series Table Wier For Help press Fl Use the Data Link Table Engineer if creating data link tables similar to the automatic settings The Data Link Table Engineer will automatically create data link tables with the following conditions e The PLC type will be the same for all nodes participating in the data links e The first word containing the data link status will be the same for all nodes participating in th
98. de Node address e A j Node address f End Relay Relay Network PEGS netwk netwk node address C A C f Node address g 7 C Actual Example The routing tables shown below are for the following system Unit 5 CLK er Node 6 1 Network 10 Unit 3 Unit 4 Node 4 Node 5 Unit2 sik CLK REC cLK sLK FEC unit 7 Node 3 2 3 Node 15 Network 20 Network 30 PLC PLC PLC PLC SLK 4 SLK 5 SLK 6 SLK 7 Unit O Unit 1 Unit 5 Unit 6 Node 1 Node 2 Node 5 Node 10 Routing Tables on PLC 1 Local Network Table Relay Network Table Network Unit End Relay Relay No netwk netwk node 10 5 20 10 4 30 10 5 88 Routing Table Examples Section 5 3 Routing Tables on PLC 2 Local Network Table Relay Network Table Network Unit End Relay Relay No netwk netwk node 10 3 30 10 5 20 2 Routing Tables on PLC 3 Local Network Table Relay Network Table Network Unit End Relay Relay No netwk netwk node 10 4 20 10 4 30 7 Routing Tables on PLC 4 Local Network Table Relay Network Table Network Unit End Relay Relay No netwk netwk node 20 0 10 20 3 30 20 3 Routing Tables on PLC 5 Local Network Table Relay Network Table Network Unit End Relay Relay No netwk netwk node 20 1 10 20 3 30 20 3 Routing Tables on PLC 6 Local Network Table Relay Net
99. dress is mand an odd number The first address is in an inaccessible Set a first address that is in an accessible area area The end of specified word range Check the acceptable limits of the data area exceeds the acceptable range and set the word range within the limits 03 4 0 A non existent program number has Check the program number and be sure been specified that it is set correctly The sizes of data items in the com Check the command data and be sure that mand block are wrong the sizes of the data items are correct The IOM break function cannot be exe Either abort the current IOM break function cuted because it is already being exe processing or wait until it is completed and cuted execute the command The response block is longer than the Check the command format and set the max permissible length number of items correctly OC An incorrect parameter code has been Check the command data and reenter it cor specified rectly O 132 Troubleshooting Section 8 1 Main code Sub Probable cause Remedy code The program area is protected NO Execute the instruction again after issuing the PROGRAM AREA PROTECT CLEAR 20 Read not possible command 03 The registered table does not exist or is Set or reset the registered table incorrect 04 The corresponding data does not exist a 05 A non existing program number has Check the program number and be sure been specified that it i
100. ds beginning with C specify the number of bytes of control data to be sent the number of bytes of response data to be received the des tination node and other parameters Word Bits 00 to 07 Bits 08 to 15 Co Number of bytes to send 2 to 542 i e 0002 to 021E ica Number of bytes to receive 2 to 542 i e 0002 to 021E Destination network address Bits 08 to 15 Set to 0 0 to 127 i e 00 to 7F a Destination unit address Destination node address Bits 00 to 03 No of retries Bits 08 to 11 Port number 0 to 7 O to 15 Hex i e 0 to F Bit 12 to 14 Set to O Bits 04 to 07 Set to O Bit 15 ON No response OFF Response returned Response monitoring time 0001 to F FFF 0 1 to 6553 5 seconds Note Commands cannot be sent to the PLC executing CMND 490 1 2 3 1 Number of Bytes to Send Set the total number of bytes of command data including command code stored at the first command and following words of the command block 2 Number of Bytes to Receive Set the total number of bytes of response data including response code to be stored at the first response and following words of the response block 3 Destination Network Address Set the destination network address to 00 if sending the command to a node in the local network If more than one SYSMAC LINK Unit Controller Link Unit or Ethernet Unit is mounted on the PLC the network of the Unit with the smallest unit address will be co
101. e words for manual settings will be limited to the same words as for CVM1 and CV series PLCs If using CX Programmer Ver 2 0 or later CS series PLC types can be specified and so the above limitations to words for manual settings do not apply 72 Set the local node CIO Area send size in words Setting range O to 254 words When this setting is 0 the local node will not send CIO data i e will receive only Set the local node DM Area send size in words Settings range O to 254 words When this setting is O the local node will not send DM data i e will receive only Data Link Table Entry Mode number 1 Cancel Help Set the address of the first word in the CIO Area data link of the local node Setting range CIO 0000 to CIO 2555 Set the address of the first word in the DM Area data link of the local node Setting range D00000 to D24575 Setting range with CX Programmer Ver 2 0 or later D00000 to D32767 A Farameters a Area size ch ClO 0 254 Area size kch Dh 0 254 lo Retresk Para meters Peper eree tee teertrrettrrttrrttrertirrerererrrrtrcerrrrttrertscrtrerttererrrrtrrernennnns PL type Jowrovnnt Refresh Modes L Ex 1 2 2 Set in order the node addresses with which the local node will refresh data starting with the data link start addresses set above If the address of the local node is set it will send the specified word data to oth
102. e Whe 53 vil Vill TABLE OF CONTENTS des Controls Data Links is vanos 55 429 Data Link AaS ache hue enue eee Behe ci gear 56 4 10 Data Link Precautions lt lt permita dret da iria beca 60 4 11 Data Link Characteristics codi ai sit 62 4 12 C X Prosrammer Procedures teaei riena nene AA A E 67 SECTION 5 Network Data Exchange cccccsccescescess 83 5 1 What is Network Interconnection 0 00 00 0 ce cc ee ee eee eee 84 22 Routno Tables mees iiaa a sa ROA AENA NN 86 gt Routne Table Examples arterias iaa ias dara a 87 SECTION 6 Message ServiCl ooooooooosoronoroscrrrrrrsrrss DI 6 1 About Data Read Write Services ri ei SOS yeh SE he ORS EGGS wea ene hs 92 6 2 PLC Network InstrucliOns siii 66d AOR da las Mee bended fede 92 6 3 FINS Command Response Format 0 0 0 0 cece eee 108 6 4 FINS Commands for SYSMAC LINK Units 0 0 00 eee 112 SECTION 7 Remote Monitoring and Programming 123 7 1 Remote Programming and Monitoring oo 124 SECTION 8 Troubleshooting soso iras 127 SL ProwbleshOOume erse E kab eee dh eer ech Wey Sree ee i 128 Se EOL cda rr mee ee eee ee eee ea 137 S23 Polins Node Backups 260555 O SAA es 143 SE Node BASS cere ett Seder ch reese Geta ae ested ae A ae eee oe ae we es 143 SECTION 9 Unit Replacement essa ardor JAS OA Replacine Whe UNI rra ira Saves Roe EG EAS ANA 146 922 Replacement Procedee turis aides gies isa dos asadas 1
103. e bit is turned ON or if it is already ON when the power is turned ON The data links will be stopped when the bit is turned OFF Refer to Section 4 12 CX Programmer Procedures or CX Programmer Opera tion Manual for actual procedures 4 8 2 DATA LINK START HALT Commands Note Data links can be started by sending a DATA LINK START command from a host computer or by executing the CMND 490 instruction to send the com mand from a PLC to the node you wish to use as the startup node Data links can be stopped by sending a DATA LINK HALT command from a host computer or by executing the CMND 490 instruction to send the com mand from a PLC to a node participating in the data links Refer to 6 4 1 DATA LINK START and 6 4 2 DATA LINK HALT for details 4 8 3 CX Net in CX Programmer The data link can be started or stopped from the Support Software Refer to CX Programmer Operation Manual for details 4 9 Data Link Status 56 The status of the local node and the nodes in the data links can be checked from the data link status area in the words allocated to the SYSMAC LINK Unit as a CPU Bus Unit Data Link Status 4 9 1 Data Link Status The following status is indicated through the ON OFF status of each bit Refer to Word Configuration later in this section for specific allocations tem Bits Node status CPU Unit Local node status Network sta tus 0 4 8 12 Operating Flag CPU Unit 1 5 9 13 Error Fla
104. e data links The start word for data link area 1 and the start word for data link area 2 will be the same for all nodes participating in the data links 75 CX Programmer Procedures Section 4 12 e The send area sizes will be the same for all nodes participating in the data links The send node order will be in the order of node addresses There will be no nodes that do not receive Setting Example The following example shows the Data Link Table Engineer settings CIO1000 Receive 1 Receive 2 Receive 3 Area 2 D00500 D00500 D00500 Receive D00530 D00530 ae D00530 i ap Receive D00560 D00560 D00560 Receive Receive 3 D00590 CVMI D0059 Cs1H 1 2 3 1 Select Table and then Data Link Engineer The Data Link Table Engineer dialog box will be displayed as shown below 2 Make the following settings e In the Valid Nodes Field enter the node addresses for the automatic settings e In the Common Link Parameters Field set the send size for each node in the ClO Area and in the DM Area All nodes must have the same send sizes e Set the PLC type in the PLC Type Field under Refresh Parameters Se lect CV CVM1 e In the Start Channel Field set the first words in the CIO Area and DM Area data links 76 CX Programmer Procedures Section 4 12 Note If using CX Programmer Ver 1 2 Service Pack 1 select CV CVM1 for the PLC type when using a CS series SYSMAC LINK Unit With CX Prog
105. e instructions such as SEND 90 RECV 98 or CMND 490 as well as processes such as remote monitoring and remote programming from the Support Software Setting a high number of frames increases the communications cycle time while setting a low number will cause errors because of restrictions on event transmissions when the data link is operating Increase the number of frames by three for each additional event transmission if data links are operating Network parameters are set from the Support Software Refer to the Support Software manual for details Network parameters are enabled immediately after being set 1 Do not set network parameters while data links are operating 2 Set the maximum node address to a value greater than the maximum node address used in the SYSMAC LINK Units connected to the network 37 Memory Areas Section 3 6 3 6 Memory Areas The CPU Bus Unit Area and part of the DM Area in the CPU Unit are used to write or read the status of the nodes and the data links of SYSMAC LINK Units The data from the SYSMAC LINK Unit is written to the input words in these areas 3 6 1 Word Allocations The memory areas that are used to write or read the data will be allocated according to the unit number CPU Bus Unit Area Each CPU Bus Unit is allocated 25 words from between CIO 1500 and CIO 1899 as follows O CIO1500toCIO 1524 8 CIO 1700 to CIO 1724 CIO 1525 to CIO 1549 9 CIO 1725 to CIO 1749 CIO 1550 to CIO 15
106. e may also be mounted to the Expansion CPU Backplane A Rack used to increase the I O capacity of a PLC In CV Series PLCs either one Expansion I O Rack can be connected directly to the CPU or Expansion CPU Rack or multiple Expansion I O Racks can be connected by using an I O Control and I O Interface Units Factory automation A general purpose computer usually quite similar to a business computer that is used in automated factory control An error that stops PLC operation and requires correction before operation can continue See frame checksum See CV mode A dedicated bit in memory that is set by the system to indicate some type of operating status Some flags such as the carry flag can also be set by the op erator or via the program The process of forcibly turning OFF a bit via a programming device Bits are usually turned OFF as a result of program execution The process of forcibly turning ON a bit via a programming device Bits are usually turned ON as a result of program execution The results of exclusive ORing all data within a specified calculation range The frame checksum can be calculated on both the sending and receiving end of a data transfer to confirm that data was transmitted correctly 167 GPC Graphic Programming Console handshaking header code hexadecimal host interface Host Link System Host Link Unit I O allocation I O Block I O Control Unit I O delay I O device
107. e of the communications cycle time optical fiber cable systems 62 16 x 0 1115 ms 10 13 x 0 77 ms 4 5 x 0 75 ms 2 069 ms 2 ms after rounding Note 1 If the maximum node address is set to a value less than the node address of any nodes in the data link those nodes will no longer be part of the data links 2 If the maximum number of frames is set too low errors might occur during the execution of operations such as SEND 90 RECV 98 and CMND 490 instructions internode echo tests and remote monitoring 3 Lowering the number of polled units will increase the delay between re setting a Unit or turning on its PLC s power and its entrance into the net work 4 11 2 Data Exchange Timing 64 This section explains data link timing when using data links between SYS MAC LINK Units and a CPU Unit With a CS series PLC data exchange with the SYSMAC LINK Unit is per formed by interrupt processing during the peripheral servicing time in the CPU Unit cycle time Data exchange timing is as follows PLC cycle time CPU Bus Programming PLC processin Execution gt Device Host Link Execution p g Unit service service Basic processing I O refreshing Interrupt processing Basic processing for data exchange If interrupt processing for data exchange is executed the PLC cycle time will be lengthened by the time required for the interrupt processing Data Link Characteristics Section 4 11 Data
108. e processing source node Transmission processing command Reception processing response s gt Transmission delay response A H H E E Communications cycle Transmission delay command 3 Reception processing command t m Transmission processing response Link service interval destination mode t Link service processing destination node 106 gt Maximum transmission delay PLC Network Instructions Note Example Section 6 2 Max transmission delay Link servicing interval source node Transmis sion processing command Communications cycle Transmission delay command Reception processing command Link servicing interval des tination node LINK service processing destination node Transmission processing response Communications cycle transmission delay response Reception processing response Link servicing interval source node LINK service processing Source node Link Servicing Interval Source and Destination Nodes Links are serviced once per PLC execution cycle Refer to the CS series PLC Operation Manual for details Link Service Processing Source and Destination Nodes Link service processing is the same as the PLC s peripheral servicing and is approximately 1 ms for SYSMAC LINK Units Transmission and Reception Processing Commands 2ms Responses Number of words transferre
109. ected CX Programmer Programming Device SYSMAC LINK Network Programming and monitoring CS series C200HX HG HE CS series C200HX HG HE CVM1 or CV series PLC CVM1 or CV series PLC SYSMAC LINK Network Programming and monitoring CS series PLC Note Remote programming and monitoring are possible from a computer using the CX Programmer as a node 7 1 2 Remote SYSMAC LINK Networks A CX Programmer connected to a CS series C200HX HG HE or CV series CPU Unit can program and monitor any other PLC on another SYSMAC LINK Network Other types of PLC different from the one to which the CX Program mer is connected can also be programmed or monitored on remote networks CX Programmer Programming Device SYSMAC LINK Network SYSMAC LINK Network rem a Z Sa ee Programming Seena E and monitoring CS series CVM1 CS series C200HX HG HE CV series PLC Cy series or or CV series PLC C200HX HG HE PLC SYSMAC LINK Network SYSMAC LINK Network CX Programmer co o OC OO ms ST siete tt es 15050 05057 A O O Ee A E A UN DA ac A O OOOO sne E T T eked T F OS CS series CS series PLC CVM1 or CV series PLC Note Remote programming and monitoring are possible from a computer using the CX Programmer as a node With the C200H SLK21 and C1000H SLK21 however remote programming and monitoring are not possible with the CX Programmer Refer to 9 3 Using the C200H SLK21 or C1000H SLK21 for details 124 Remote
110. ee 137 822 Bro Codes lt a wie Co he ha ee hae geile te NEA 138 8 2 3 Reading and Clearing Error Logs o oooooooo 142 8 3 Polling Node Backup aiii caia daria iaa 143 0 4 Node Bypass 4 boda iaa rbd aos Shen rbd es 143 127 Troubleshooting Section 8 1 8 1 Troubleshooting This section explains errors that may occur and how to solve them 8 1 1 Error Indications You can check possible system errors using the indicators on the front panel of the SYSMAC LINK Unit The tables below list error conditions their proba ble cause and possible remedies RUN ERC ERH and INS Indicators Indicators CPU Bus Unit CIO Probable cause Remedy ERC Area error Lit Not lit Not lit Lit Unit is participating in network normally Not lit Not lit Not lit Not lit Power to PLC is Check the voltage and check turned OFF that power is being supplied normally SYSMAC LINK Unit Firmly fix the SYSMAC LINK mounting is loose Unit to the Backplane SYSMAC LINK Unit Refer to 2 3 Mounting to mounting position is Backplanes then mount the incorrect Unit correctly Unit if the indicators fail to light even when mounted to Not lit Lit Not lit Not lit Unit if the ERC indicator fails to light even when mounted to another PLC Both bit 08 node address setting error to within the range of 1 to 62 and bit 15 error log then turn ON the power information are ON again Lit Not lit Not lit Both bit 01 data li
111. een set automatically or by the user 4 6 1 Automatic Settings All nodes are allocated the same data link area depending on the number of link words set in the startup node When automatic allocations are made the settings in nodes other than the startup node are invalid Send word data for each node is sent to the receive words allocated to the same memory area words at the other nodes and stored there The shaded areas in the following diagram indicate the send words for each node Node 1 Node 2 Node 3 Node 4 CIO Area CIO Area CIO Area CIO Area 1000 to 1000 to 1000 to 1000 to 1015 1015 1015 1015 Node 1 data 1016to 1016 to 1016 to 1016 to 1031 1031 1031 1031 Node 2 data 1032to 1032 to 1032 to 1047 1047 1047 Node 3 data 1048to 1048to 1048 to 1063 1063 1063 Node 4 data 4 6 2 Manual Settings The data link areas can be allocated as described in this section by using the refresh parameter settings for each node 1032 to 1047 1048 to 1063 Identical Allocations for When editing data link table refresh parameters set the same refresh param All Nodes eters for all nodes Create refresh parameters for each node using the Sup port Software even if the allocations are the same for all nodes A copy function is supported that will make identical settings easy 1029 1029 1029 49 Data Link Area Allocations Different Allocations for Each Node Section 4 6 To limit receiving fr
112. efer to 5 2 Routing Tables Refer to the Support Software operation manuals for setting details A system can include up to 127 networks The setting range of the network address is thus 1 to 127 decimal Network address 0 is used to indicate the local network 3 5 Network Parameters Network Parameters 36 The operation of the SYSMAC LINK Network is determined by the network parameters Network parameters are set with Peripheral Devices such as the Support Software and are automatically backed up within the SYSMAC LINK Unit The network parameters stored in the polling node are used in actual system operation the network parameters in other Units are ignored The following table shows the network parameters their default values and the ranges within which the parameters can be set by the user Default values and setting ranges are in decimal Network parameter Default value Setting range Communications cycle time 5 to 255 Maximum node address 2 to 62 Network Parameters Setting Network Parameters Note Note Section 3 5 Network parameter Setting range munications cycle Maximum number of frames per 5 to 255 communications cycle Communications Cycle Time This parameter sets a timer that fixes the length of the communications cycle to the specified time The timer operates only when the data link is in opera tion Set the communications cycle time when setting the data link table s common link parameters
113. elop communications software with ease Communications can also be programmed using ladder diagram instructions SEND 90 RECV 98 and CMND 490 to facilitate communications with other PLCs and host computers on an as needed basis Use of these instruc tions enables the following 1 Broadcast transmissions 2 Response monitoring time setting response time out setting 3 Transmit retry setting 4 Enabling disabling responses Routing tables can be set up in network PLCs so that communications are possible with interconnecting networks or networks one network away from the local network This includes both bridging to other SYSMAC LINK Net works or passing gateways to other OMRON networks including those in SYSMAC NET Link Systems or SYSMAC BUS 2 Remote I O Systems The CX Net within the CX Programmer can access PLCs on the local net work on adjacent networks or on networks one removed from the local net work including Controller Link and Ethernet Networks Access can be used to monitor operation and or manipulate data and programs SYSMAC LINK Units are equipped with three RAS functions RAS is an acro nym for reliability availability and serviceability The Polling Node Backup and Failed Node Bypass optical systems only functions prevent the network from failing when one Unit fails The Internode Echo Test function aids in com munications troubleshooting Remote monitoring of the network s operating status and error l
114. er Boards can be identified and speci fied by their unit addresses CS series CPU Bus Unit Inner Board Y CPU Unit po computer board FINS Command Response Format Section 6 3 3 FINS commands support network relay operations so they can pass through a network hierarchy to access devices on up to three network lev els including the local network I Network 2 EA Network 1 Network 3 Types of FINS Commands There are basically two kinds of FINS commands Those addressed to CPU Units and those addressed to CS series CPU Bus Units Among FINS com mands for CPU Units there are commands addressed to the various models of CPU Unit such as the CS series CPU Units CV series CPU Units C200HX HG HE CPU Units and so on The basic code system is the same but the detailed specifications vary according to the CPU Unit Among FINS commands for CS series CPU Bus Units there are commands addressed to SYSMAC LINK Units to the Controller Link Unit and so on 6 3 2 Command Response Parameters All parameters used in commands and responses are in hexadecimal unless otherwise specified 6 3 3 Communications Data Format Command Format Commands have the following format This data must be stored beginning at first command word specified as an operand S of the CMND 490 instruc tion 2 bytes 540 bytes max a ee Command Data code Response For
115. er cables See also cables overview 2 P PLC reading CV series PLC status 113 reading various CV series PLC data 113 180 polled units number 37 polling cycle definition 34 precautions general xiii handling 150 replacing the Unit 146 programming remote 124 R refresh of data link area 51 resetting SYSMAC LINK Unit 112 response codes 95 response times 65 S specifications 4 backup power supply 29 standard models 151 status data link 56 switches node address setting 35 SYSMAC LINK System communications 34 features 3 SYSMAC LINK Unit components C1000H SLK11 SLK21 V1 16 replacing 147 y test broadcast 119 internode echo 118 token bus communications definition 34 token cycle definition 34 transmission cycle time changing 63 definition 35 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual Cat No W367 E1 02 Revision code The following table outlines the changes made to the manual during each revision Page numbers refer to the previous version Revision code Revised content December 1999 Original production 02 June 2004 CS1 Series was changed to CS Series throughout the manual where appropriate User Manual was corrected to Operation Manual throughout the manual where necessary PC was changed to PLC throughout the manual in the sense of Programma b
116. er nodes If the address of another node is set the local node will receive the data sent by that node For example if you enter 3 2 1 as the refresh order the node addresses will be allocated in the order 3 2 1 starting from the start address If the local node address is 1 it will receive data from node 3 then from node 2 and finally it will send data itself Always include the local node in the refresh node order Data will not be received from the local node by another other node if the local node is not specified 5 Enter the value in each field The following example shows settings for node 1 Data Link Table Entry Mode number 1 Common Link Parameters T aaa mee Gono Area size Goh ClO 0 254 20 Area size ch DM 0 259 30 a Help Retresh Para meters ee ee ee eee ee ee eee eee PLE type Start Channel r lovicvmMt F es DM 500 Status on 7 ji Di RRR Te aaa ne Refresh Modes Ex 1 2 2 CX Programmer Procedures Section 4 12 Common Ink Refresh DM Area local node data link start address D00500 Refresh Node refresh order 1 3 2 nodes Node addresses are listed in order with the starting node address first Because here the local node is listed first node 1 will first send data and then received data in order from nodes 3 and then 2 parameters start CIO CIO Area local node data link start address word CIO 1000 6 Set the settings for node 2
117. error A o 1 Chip error A 1 Transmitter error es ae eee ec 1 Local node echo test error Status 5 response Backup status as follows Bt 7 6 5 4 3 2 1 0 0 0 1 Network parameter error denise 1 Data link table error ee les 1 Routing table error a ee eee 1 Software switch error a Sea ke ee ee ee eee 1 EEPROM error 114 FINS Commands for SYSMAC LINK Units Section 6 4 Status 6 response Error log status as follows Bt 7 6 5 4 3 2 1 O n 1 Error log records present 0 No error log records E EN 1 Error log full 64 records Counts 1 through 8 response Each of the following bytes provides two hexadecimal digits giving the total number of occurrences of the following items since power was turned ON These counters will count to 255 and then remain there until power is turned OFF again Count 1 Number of CRC errors Count 2 Number of times token has been resent Count 3 Number of times token has been passed Count 4 Number of token time outs Count 5 Number of polling time outs Count 6 Number of times polling node has changed Count 7 Number of times participating Units have changed Count 8 Number of times communications controller transmit receive operation has stopped Participation List response Bits in the last eight bytes of the response are turned ON to indicate when a node is participating in the SYSMAC LINK network The bit turned ON for ea
118. es address switches 10 Data Link Procedures Section 1 5 Turn ON the to the Turn ao the power to m nodes the PLC Connect the Programming Device comens Method Nodes Page Connect the Program Use the special con CS series CVM1 and ming Console or Sup nection cable CV series PLCs port Software Create l O tables Contents Method Nodes Page Input the I O tables Use the SYSMAC CS series CVM1 and Support Software or CV series PLCs only Programming Con sole Set the data link mode Contents Method Nodes Page Set data link mode to Use the SYSMAC Data link startup node 45 manual Support Software or only Programming Con The node that is used sole to start the data link is called the startup node It is necessary to decide beforehand which node will be the startup node Note 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 Register the data link tables by making the following settings for each node Contents Wethod Nodes Page First data link status word Use the CX Net All nodes within the Data link nodes link nodes within the CX Pro network rammer lt r First data link sta O Delete from the data tewo link tables all nodes that are not in a data Numbers of data link link words ls First data link sta tus words Numbers of data link word
119. es and property if used improperly consult your OMRON representative Make sure that the ratings and performance characteristics of the product are sufficient for the systems machines and equipment and be sure to provide the systems machines and equipment with double safety mechanisms This manual provides information for programming and operating the Unit Be sure to read this manual before attempting to use the Unit and keep this man ual close at hand for reference during operation It is extremely important that a PLC and all PLC Units be used for the speci fied purpose and under the specified conditions especially in applications that can directly or indirectly affect human life You must consult with your OMRON representative before applying a PLC System to the above mentioned appli cations Safety Precautions N WARNING N WARNING N WARNING N WARNING Do not attempt to take any Unit apart while the power is being supplied Doing so may result in electric shock Do not touch any of the terminals or terminal blocks while the power is being supplied Doing so may result in electric shock Do not attempt to disassemble repair or modify any Units Any attempt to do so may result in malfunction fire or electric shock Provide safety measures in external circuits i e not in the Programmable Controller including the following items in order to ensure safety in the sys tem if an abnormality occurs due to malfunc
120. es only one connector A temporary storage space for data in a computerized device A PLC that is constructed from individual components or building blocks With building block PLCs there is no one Unit that is independently identifiable as a PLC The PLC is rather a functional assembly of Units A communications path used to pass data between any of the Units connected to it A data link that passed data between two Units across a bus A unit of data equivalent to 8 bits i e half a word A device that is capable of storing programs and data and executing the in structions contained in the programs In a PLC System the central processing unit executes the program processes I O signals communicates with external devices etc See word A numeric usually binary code used to represent an alphanumeric character A sum transmitted with a data pack in communications The checksum can be recalculated from the received data to confirm that the data in the transmission has not been corrupted Computer integrated manufacturing a process where one or more computers are used to control and integrate manufacturing processes A memory area used to control I O and to store and manipulate data CIO Area addresses do not require prefixes A control system that includes more than one of the following systems Remote I O System SYSMAC Link System Host Link System or SYSMAC NET Link System A table of settings in a SYSMAC LINK
121. et from the CX Net in CX Programmer Status Area in CPU Bus Link CIO 1500 unit number x 25 8 to 23 Area See following table Data link table backup CPU Bus Unit Setting Area inside CPU Unit only for manually set data links Data Link Allocations for Automatic Settings Words allocated Number of words per node 2modes 4 nodes 8 nodes 16 nodes Co Area CO 100000101063 32 fe 8 Ja DM Ares 43 Data Link Indicators Section 4 3 Status Area Words Unit No 0 Glo 150810 0lO 1823 e ClO I70Bt0 CIO 1723 a oo 183310 0l0 1548 o ClO 1733t0CI0 1748 e clo tesst0ci0 1673 14 ClO 1858to CIO 1873 4 3 Data Link Indicators The data link status can be checked using an indicator on the SYSMAC LINK Unit CS1W SLK11 CS1W SLK21 SLK21 ES RUN E ERC MM E ERH INS E WE M S SD E E LNK RD E Name Condition weaning Data links are not active Note Refer to Setup and Activation in 4 10 Data Link Precautions for details 4 4 Data Link Settings The following settings are required to run data links 4 4 1 Rotary Switches Set the node address using the rotary switches on the front of the Unit Refer to 3 3 Setting Node Address for details on setting the rotary switches 44 Data Link Settings Section 4 4 4 4 2 Specifying Data Link Mode and Number of Data Link Words Set the data link mode to either automatic settings or manual settings and set the number of send words
122. et the source unit address to 00 if the destination is a PLC If it is a user application on a computer set the destination unit to 01 user application 01 For a BASIC Unit add 10 to the unit number 0 to F so that the des tination unit address is from 10 to 1F Destination Address hexadecimal PLS GPU CN NSB computer 01 user application CPU Bus Unit 10 to 1F Unit Number 0 to F 0 to15 Unit connected withthe network 5 Response Bit Bit 15 of C 3 Always set this bit to OFF 0 response required 99 PLC Network Instructions Section 6 2 6 Port Number Set the communications port number that the RECV 98 instruction will be sent to 7 Number of Retries Set the number of retries for unsuccessful transmissions You can set the number between 1 to 15 If 15 has been set for example the RECV 98 instructions will be re transmitted up to 15 times when the PLC does not receive a response from the destination node 8 Response Monitor Time Designates the length of time that the PLC retries transmission when bit 15 of C 3 is OFF and no response is received The default value is 0000 which indicates 2 seconds Range of Control Data The permissible ranges of control data to be set are as follows IN AN Number of words 0001 to 0100 1 to 256 words Source network address Local network 7 to ZF Source network address Source node address Transmission within local PLC Source node address 1 to 62 SYSMAC LINK
123. etwork parameters maxi mum node address tables data is cor rupted The data link table settings contain an error PLC parameter area routing tables data is corrupted The routing table set Terminating resistors are not mounted cor rectly coaxial only The cable is not con nected correctly Node address exceeds network parameters maxi mum node address No other nodes exist CIO 1500 unit number x 25 1 word PLC Bus Unit system Correct the data link tables If settings area data link the error reoccurs replace tings contain an error Section 8 1 Remedy Refer to the PLC operation manual and clear the error If the error reoccurs replace the CPU Unit Correct the network parame ters If the error reoccurs replace the PLC CPU Unit Correct the network parame ters correctly the PLC CPU Unit Correct the data link tables or delete the data link tables if not using them Reset the routing tables If the error reoccurs replace the PLC CPU Unit Correct the routing tables or delete the routing tables if not using them Mount terminating resistors on both end nodes of the SYSMAC LINK network Connect the cable connec tions then reconnect the cable correctly Either correct the network parameters maximum node address using CX Net in CX Programmer or set the node address to within the maxi mum node address Be sure that there are a mini mu
124. eventing the entire network from going down 1 4 Programming Devices and Support Software The CX Programmer is needed to use a SYSMAC LINK Network Programming Devices and Support Software Section 1 4 1 4 1 Basic Programming One of the following Programming Devices can be connected to the CPU Unit to automatically set data links or use the message service Programming Console JO CX Programmer Software switches DM Area IBM PC AT or compatible The following operations are possible e Selecting manual or automatic setting for data links e Setting the data links for automatic data link allocation software switches e Starting stopping data links Start Bit ON OFF e Programming the message service e Reading monitoring network status 1 4 2 CX Programmer The CX Net operations within the CX Programmer are required when using manually set data links or when setting or monitoring detailed settings of the SYSMAC LINK Unit This Support Software can be used with a CS series PLC and is ideal for the following applications e Setting manual data links i e creating and storing data link tables e Starting stopping data links e Reading monitoring network status e Reading error logs e Setting routing tables e Testing the Network e Changing network parameters Using a Personal Computer as a Peripheral Device d SYSMAC LEE 4 Nodes LINK Unit A oxNeti Net in IBM PC AT or CX Programmer
125. f Units mounted to one or more Racks This config uration is the most flexible and most large PLCs are Rack PLCs A Rack PLC is the opposite of a Package type PLC which has all of the basic I O storage and control functions built into a single package Random access memory a data storage media RAM will not retain data when power is disconnected An acronym for reliability assurance safety The process of updating output status sent to external devices so that it agrees with the status of output bits held in memory and of updating input bits in mem ory so that they agree with the status of inputs from external devices A table of settings that specifies which words in the data links for a System are to be refreshed for a particular PLC See common link parameter table The forerunner of PLCs In relay based control groups of relays are intercon nected to form control circuits In a PLC these are replaced by programmable circuits A bit that is not available for user application A word in memory that is reserved for a special purpose and cannot be access ed by the user The process of turning a bit or signal OFF or of changing the present value of a timer or counter to its set value or to zero A code sent with the response to a data transmission that specifies how the transmitted data was processed A format specifying the data required in a response to a data transmission A bit used to restart a Unit mounted to a PLC
126. g Data Link 2 6 10 14 Communica tions Error Flag Data Link 3 7 11 15 Active Flag Local Node Bit 15 of first Data Link allocated Active Flag data link 23 words Startup Bits 8 to 13 Node of first allo Address cated data link word 23 Section 4 9 Contents ON if the CPU Unit of the node is operating RUN or MONITOR mode OFF if the CPU Unit of the node is in PROGRAM mode e This flag is invalid if the Data Link Communications Error Flag for the node is ON e lf a fatal error including an FALS instruction occurs during opera tion this flag will remain ON e When using this flag in programming take an AND of NO condi tions of it and the local node s Data Link Active Flag ON if there is a fatal error in the CPU Unit of the node OFF when the CPU Unit of the node is operating normally e This flag is invalid if the Data Link Communications Error Flag for the node is ON e When using this flag in programming take an AND of NO condi tions of it and the local node s Data Link Active Flag ON if the node has a communications error and is not participating in the network if the designated node is not sending data link data communications from that node are assumed to be in error OFF when the CPU Unit for the node is operating normally data link data is being sent continuously from the node e To check participation of a node in the data links take an AND of a NO condition of th
127. g box for selecting the type of data link will appear select Mew File Type File Type IS YSMAC MET Data Link Table Controller Link Data Link Table Cancel Help 2 Select SYSMAC LINK Data Link Table and then click the OK button The Data Link Editor SYSMAC LINK will start Making Manual Settings You can make Manual Settings without using the Data Link Table Engineer lE the Data Create data link tables manually in the following cases nk Table Engineer g e The send area size is different for each node participating in the data link e The send node order is not the same as the order of node addresses e There are nodes that are not receiving data 69 CX Programmer Procedures Section 4 12 Refer to the following example for details CIO Area Node 1 CIO1000 Receive Receive 1 1020 1 Receive so 3 2 1040 Receive DM Area D00500 Receive Receive 1 1 D00530 D00430 D00630 Receive Receive Receive 2 D00560 D00460 D00660 Receive 2 D00590 1 23 1 Select Data Link and then Editor A dialog box for selecting the type of data link will appear Controller Link Data Link Table 70 CX Programmer Procedures Section 4 12 2 Select SYSMAC LINK Data Link Table and then click the OK button The Data Link Editor SYSMAC LINK will start Jy SERS Data Link Editor S SMAC LINK o File Table Help ll DN I Common Link AA Node Information 7
128. h EC Directives the SYSMAC LINK Units must be installed within a control panel Use an SA20 712 made by NITTO ELEC TRIC WORKS or a similar model 2 Reinforced insulation or double insulation must be used for the DC power supplies used for the communications and I O power supplies 3 SYSMAC LINK Units complying with EC Directives also conform to the Common Emission Standard EN50081 2 When a SYSMAC LINK Unit is built into a machine however noise can be generated by switching devic es using relay outputs and cause the overall machine to fail to meet the Standards particularly with radiated emission for 10 m regulations The customer must therefore take measures to ensure and perform final checks to confirm that devices and the overall machine conform to EMC standards xvii SECTION 1 Introduction This section introduces the features and operations of the SYSMAC LINK Units Ll OVER WE Ad 2 122 SV SMAC LINK Unit Features icc ioi canre R Ra 3 leZ aT Standard Models dadas 4 We2 2 SPC CHICAMONG ae rro ia de Gum eee en idee 4 123 SYSMACLINK Unit PUNCHONS Larra ee a wet as 6 I232l Basic SeUINOS denia cs wie eta Care nad owas 6 E DAA AK S29 sly Oo as E ree 7 1 3 3 Network Data Exchange 0 0 0 cece 7 led Messace Services sad in oris PESEN Or E ERA 8 1 3 5 Remote Programming and Monitoring 8 1236 RAS Funcion ca erie se eae ee ae Be Set 8 l 4 Programming Devices and Support Software
129. hat occurs during actual PLC operation as opposed to an initialization error which occurs before actual operations can begin A communications method in which signals are sent over optical fiber cable to prevent noise interference and increase transmission distance A logic operation whereby the result is true if either of two premises is true or if both are true In ladder diagram programming the premises are usually ON OFF states of bits or the logical combination of such states called execution conditions The signal sent from the PLC to an external device The term output is often used abstractly or collectively to refer to outgoing signals A Unit used in combination with a Remote Interface to create an I O Terminal An Output Block provides mounting positions for replaceable relays Each re lay can be selected according to specific output requirements An external device that receives signals from the PLC System The point at which an output leaves the PLC System Output points correspond physically to terminals or connector pins A signal being sent to an external device Generally an output signal is said to exist when for example a connection point goes from low to high voltage or from a nonconductive to a conductive state An I O Terminal that provides output points The state where the capacity of a data storage location has been exceeded Changing the content of a memory location so that the previous content is lost Adj
130. he PLC For data exchange with other networks set a routing table on the local node destination node and relay node from a host com puter or the Support Software Refer to the Support Software manuals for details The CPU Bus Units will be reset if the routing tables are transferred to the CPU Unit from a Programming Device The reset is required to update the routing table settings Confirm that the controlled system will not be adversely affected before transferring the routing tables 5 2 1 Routing Table Configuration The routing tables consist of a local network table and relay network table and determine the communications path for data exchange between networks y Local network table Routing tables Relay network table 5 2 2 Local Network Table lf more than one Communications Unit SYSMAC LINK Controller Link or Ethernet Unit is mounted on the PLC a local network table is required The local network table has a list of each network and its corresponding Unit Two data items are set for each Unit Local Network Address Network address of the Unit 1 to 127 CPU Bus Unit Number Unit number 0 to 15 of the Communications Unit 5 2 3 Relay Network Tables CX Net Settings Window Example 86 To exchange data between two networks you must set up relay network tables that specify the transmission path to remote destinations Data transmission paths include the following se
131. he power before replacing the Unit e Check that the new Unit is not faulty e If you suspect that a poor connection is the cause of a malfunction clean the connectors using a clean soft cloth and industrial grade alcohol Remove any lint or threads left from the cloth and remount the Unit e When returning a faulty Unit for repairs always attach a detailed fault report to the Unit and return to you nearest OMRON outlet as listed at the back of this manual Note 1 To prevent faulty operation be sure to turn OFF the power to all nodes be fore replacing the Unit 2 When replacing the Unit do not reconnect that node to the Network be fore carrying out the procedures listed below In particular a node with a small address will become the polling node and communicate the initial network parameter status to other nodes so there is the chance that net work parameters in the entire Network will be damaged 9 1 1 Settings after Replacement After replacing a SYSMAC LINK Unit reset the hardware switches software switches and data link tables and wire it in the same manner as the previous Unit This section describes settings that require particular care Refer to the Unit replacement methods later in this section for details on replacing the Unit Note 1 After replacing the CPU Unit transfer important data such as DM and Holding Area contents to the new CPU Unit before restarting operation Depending on the program accidents ca
132. he updated information on the network is transmitted to all nodes This polling and updating process is known as the polling cycle When the control cycle is completed the polling node once again passes the token beginning the next token cycle Together the token cycle and control Unit Number Section 3 2 cycle make up the communications cycle and the time required for the com munications cycle is known as the communications cycle time Communications cycle Communications cycle Token cycle Polling cycle Token cycle Polling cycle Network Parameters The communications cycle time is one of the network parameters The other network parameters are the number of polled units maximum number of frames and the maximum node address These parameters are transmitted from the polling node to the other nodes in the network Refer to 3 5 Network Parameters for details on the network parameters Refresh Cycle Time Data is constantly being refreshed in the data link words between the SYS MAC LINK Unit and the CPU Unit while the data links are operating By refreshing data the CPU Unit sends local node data to the SYSMAC LINK Unit and receives data from other nodes from the SYSMAC LINK Unit The interval between data refreshing is called the refresh cycle time The refresh cycle time can be monitored using the Support Software 3 2 Unit Number Up to four SYSMAC LINK Units can be mounted on a CS series PLC and used to connect each Unit to a differe
133. humidity outside the range specified in the specifications e Locations subject to condensation as the result of severe changes in tem perature e Locations subject to corrosive or flammable gases e Locations subject to dust especially iron dust or salts e Locations subject to exposure to water oil or chemicals e Locations subject to shock or vibration N Caution Take appropriate and sufficient countermeasures when installing systems in the following locations e Locations subject to static electricity or other forms of noise e Locations subject to strong electromagnetic fields e Locations subject to possible exposure to radioactivity e Locations close to power supplies 5 Application Precautions Observe the following precautions when using the SYSMAC LINK Unit N WARNING Failure to abide by the following precautions could lead to serious or possibly fatal injury Always heed these precautions e Always ground the system to 100 Q or less when installing the system to protect against electrical shock e Always turn OFF the power supply or the backup power supply to the PLC or the computer before attempting any of the following Performing any of the following with the power supply turned ON may lead to electrical shock e Installing or removing the SYSMAC LINK Unit e Mounting or dismounting Power Supply Units I O Units CPU Units In ner Boards or any other Units e Assembling the Units e Setting DIP or r
134. ices PRECAUTIONS The information contained in this section is important for the safe and reliable application of the CS series SYSMAC LINK Units You must read this section and understand the information contained before attempting to set up or operate a SYSMAC LINK System N aA BW NY Intended Audience General Precautions Safety Precautions Operating Environment Precautions Application Precautions Conformance to EC Directives 6 1 6 2 6 3 Applicable Directives Concepts ios tra Conformance to EC Directives X1V X1V X1V XV XV xvii xvii xvii xvii xiii Intended Audience 1 2 3 XIV Intended Audience This manual is intended for the following personnel who must also have knowledge of electrical systems an electrical engineer or the equivalent e Personnel in charge of installing FA systems e Personnel in charge of designing FA systems e Personnel in charge of managing FA systems and facilities General Precautions N WARNING The user must operate the product according to the performance specifica tions described in the operation manuals Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems railroad systems aviation systems vehicles combustion systems medical equipment amuse ment machines safety equipment and other systems machines and equip ment that may have a serious influence on liv
135. icipating in the data links Shows connection status and PLC mode Reading Data Link Tables 1 23 1 Start the CX Net and select Data Link and then Setup If connected locally i e directly to the PLC the Data Link Setup Local Dialog Box will ap pear Data Link Setup Local x Select this button to display the Communications Units mounted on End Metwaork the PLC Si DO SYSMAC LIN Unit Type AT Cancel SYS MAC LINK l Help If connected remotely i e through a network the Data Link Setup SYS MAC LINK Dialog Box will appear 2 Select SYSMAC LINK and then click the OK button The following dialog box will appear Data Link Setup SYSMAC LINK x ee ie Information ano ahah Start Channel L Open the data link table file sI3 Refer to Data ae ou AO Clo p New T Link Setup SYSMAC LINK Dialog Box Func ae eae Dh tions below for other button functions PED SpE 5 Status Open _ o o a nnana Modes Refresh Parameters tems O om Save as ee IN Update J07 Hel fln Al He Series Table view Operate on all Nodes in Metwork Read Wr ite verify Delete Online Status Mo table in PLE 79 CX Programmer Procedures Section 4 12 3 Click the Open button The Open Dialog Box will appear 4 Select the da
136. immediately before operation stopped This may not be the same as the actual current status When using 59 Data Link Precautions Section 4 10 the data link status first check that the Local Node Data Link Active Flag is ON 4 10 Data Link Precautions Be sure to consider the precautions listed below when activating a data link or adding a node to an existing data link Setup and Activation 60 1 2 3 Be sure to consider the precautions listed below when setting up and activat ing a data link 1 Refresh parameters must be set for each node in the data link when man ually generating data link tables When a data link is started in a node that does not have a data link table a data link table error will occur and the LNK indicator on that node will flash Refresh parameters must be set for all nodes that are included in the com mon link parameters in the startup node When data links are automatically generated the node addresses of all the nodes in the data link must be in the range resulting from the Communica tion Unit Settings For example if the settings divide the data link area among nodes number 1 to 4 16 CIO words and 32 DM words node 5 cannot participate in the data link With manual generation of data link tables the node address of the local node must be included in the local refresh parameters If the beginning ClO or DM word in the refresh parameters is set too large the CIO or DM Area
137. inal An Input Block provides mounting positions for replaceable relays Each relay can be selected according to specific input requirements An external device that sends signals into the PLC System The point at which an input enters the PLC System Input points correspond physically to terminals or connector pins A change in the status of a connection entering the PLC Generally an input signal is said to exist when for example a connection point goes from low to high voltage or from a nonconductive to a conductive state An I O Terminal that provides input points A direction given in the program that tells the PLC of the action to be carried out and the data to be used in carrying out the action Instructions can be used to simply turn a bit ON or OFF or they can perform much more complex ac tions such as converting and or transferring large blocks of data An interface is the conceptual boundary between systems or devices and usu ally involves changes in the way the communicated data is represented Inter face devices such as NSBs perform operations like changing the coding format or speed of the data A signal that stops normal program execution and causes a subroutine to be run or other processing to take place A Rack mounting Unit used to input external interrupts into a PLC System An acronym for I O Interface Unit 169 IOM Area JIS jump LAN least significant bit word LED leftmost bit word
138. ing any of these flags in program ming 57 Data Link Status Section 4 9 Program Example Checking Data Link Participation Status Checking for Data Link Errors in any Node Outputting Local Node Errors 58 To check participation of any one node in the data links take an AND of a NO condition of the Local Node Data Link Active Flag and the Communications Error Flag for each node as shown below Node A Data Link Active Flag Node A Participating in data links Local Node Data Link Active Flag Node A Communications Error Flag Node B Data Link Active Flag Node B Participating in data links Node B Communications Error Flag Node n Data Link Active Flag Node n Participating in data links Node n Communications Error Flag To check for an error in any node in the data links take an OR of a NC condi tion of the Local Node Data Link Active Flag and the Communications Error Flags for all nodes Data link error in one Local Node Data or more nodes Link Active Flag Node A Commu nications Error Flag Node B Commu nications Error Flag Node n Commu nications Error Flag The following example program section shows one way to output and error signal when data links stop for the local node Local Node Data Link Active Flag DIFD 10000 Communications 10000 Error Flag Bit indicating data link error in local node Bit indicating data link er
139. ion B Cord L With power supply line B Black LULI Blank Standard C Cable C Without power supply line O Orange A B N Without tension member A 10 x 108 m Tools The following tools are required when preparing the cables yourself Optical Fiber Assembly Kit EY CAK 0057 See note Optical Power Tester 3200 CAT2700 Head unit S3200 CAT2702 Master Fiber 88200 02007 Note Use the CAK 0057 made by Sumitomo Electric Industries Ltd to assemble the S3200 COCF2071 Connector Production of the S3200 CAK1062 Assembly Tool has been stopped The S3200 COCF2071 Connector can be assembled using the S3200 CAK1062 by adding the JRFK 57PLUS made by Sumitomo Electric Industries Ltd Coaxial Cable for CS1W SLK21 The following coaxial cables are recommended Coaxial cable 5C 2V Fujikura Densen ECXF5C 2V Hitachi Densen F Adapter C1000H CE001 OMRON Terminal Resistor C1000H TERO1 152 Appendix B Dimensions CS1W SLK11 Optical SYSMAC LINK Unit 130 Unit mm 153 Dimensions Appendix B CS1W SLK21 Coaxial SYSMAC LINK Unit Unit mm 130 154 Appendix C Related Auxiliary Area Information This appendix lists the functions for the SYSMAC LINK Unit in the Auxiliary Area of the CS series CPU Units Word s Function A202 Communications Port Enabled Network Communi cations Enabled Flags A203 to A210 A219 00 to 07 Port O to 7 Execute Error Network Communications Execute Error Flags
140. is flag and a NC condition of the Data Link Active Flag ON if the node has participated in the data links even if only once OFF if the node has not yet participated in the data links e This bit turns ON once the node has participated in the data link and remains ON even if the node is no longer participating used to check system startup Consequently this flag cannot be used to check the current participation status of a node in the data links e When using this flag in programming take an AND of NO condi tions of it and the local node s Data Link Active Flag ON if the node is participating in the data links OFF if the node is not participating in the data links e f this flag is OFF local communications will not be operating nor mally so there is no guarantee that the status of other flags will be correct Consequently be sure to use this flag with an AND condi tion to check the status of other flags Startup node addresses 1 to 62 are stored as 1 to 3E Hex Note 1 The Data Link Active Flag is for checking the data link system It is not designed to check for data link errors To check for data link errors use the Data Link Communications Error Flag 2 The CPU Unit Run Flag CPU Unit Error Flag Data Link Communications Error Flag and Data Link Active Flag are valid only if the Local Node Data Link Active Flag is ON Be sure to use the Local Node Data Link Active Flag with an AND condition when us
141. ission delay is calculated for an instruc tion sending 256 words of data in a system with 32 nodes Network specifics are detailed below Max node address 32 Number of nodes 32 Number of polled units 4 Destination node CPU execution processing Non synchronous Number of words 256 Communications coaxial cable Data link halted Maximum delay ms Link servicing interval Source node PLC cycle time Link service Link service processing source node source Link service processing source node fms fms Communications cycle time 32 x 0 01 32 x 0 075 4 x 0 75 1 322 7 042 ms Transmission delay 256 x 0 008 0 204 2 252 ms Reception processing 256 x 0 0045 4 5 152 ms Link servicing interval destination node CPU Unit cycle time Link service processing destination node 1 ms Max transmission delay CPU Unit cycle time source cycle time source node CPU Unit cycle time destination node 21 598 ms The data flow which will yield the maximum transfer interval from the time the RECV 98 instruction is executed by the user program to the time the SYS MAC LINK Unit stores the data in the local Unit s memory area is described below Be sure to take into account the time required for data links and program exe cution which are not included in the following example Data stored A Link service processing Source node E Link service interval Source node Link servic
142. k table and relay network table An industry standard for serial communications An industry standard for serial communications The process used to execute a ladder diagram program The program is ex amined sequentially from start to finish and each instruction is executed in turn based on execution conditions The scan also includes peripheral processing I O refreshing etc The scan is called the cycle with CV series PLCs The time required for a single scan of a ladder diagram program A process whereby the system checks its own operation and generates a warning or error if an abnormality is discovered A wiring method in which Units are wired consecutively in a string In Link Sys tems wired through Link Adapters the Units are still functionally wired in se ries even though Units are placed on branch lines The process whereby the PLC provides data to or receives data from external devices or remote I O Units or otherwise handles data transactions for Link Systems The process of turning a bit or signal ON The value from which a decrementing counter starts counting down or to which an incrementing counter counts up i e the maximum count or the time from which or for which a timer starts timing Set value is abbreviated SV An error that originates in a software program A means of protecting data from being changed that uses software as opposed to a physical switch or other hardware setting See memory switch A Uni
143. le Controller In addition the following changes were made Page xiii EMI standard changed Page 5 Parenthetic information added to first table Page 6 CS1 series CPU changed to SYSMAC LINK in one place Page 7 Note removed Page 11 Changes made to notes in several places Page 12 Text added to fourth table Page 27 Changes made to model numbers in table Note added Page 28 Text added to first line Several changes and additions made to sec ond table and text after table Page 32 Item 4 changed Page 43 Second note removed Page 49 Several changes made to table Page 55 Note changed Page 56 and stopping removed from second line of first paragraph Page 66 Changes made to the explanations for input and output response ON time Page 67 Several changes made to table Text inserted before Overall Proce dure Page 68 Text added after itemized list Page 71 Several changes made to notes Page 72 Several changes made to captions Page 77 Text added before screen image Page 78 Text added after second screen image Page 84 Model numbers removed from captions in two places Page 86 Text added in middle of page Page 93 Text and tables added at bottom of page Page 102 Numerical changes made in several places Page 120 Model numbers changed in bottom diagram and text added at bot tom of page Page 143 Section added at bottom of page Page 147 Model numbers change
144. lock input device input point input signal Input Terminal instruction interface interrupt signal Interrupt Input Unit IOIF Glossary The time required for an output signal to be sent from the PLC in response to an input signal received from an external device A Remote I O Unit connected in a Wired Remote I O System to provide a lim ited number of I O points at one location There are several types of I O Termi nals The most basic type of Unit mounted to a Backplane I O Units include Input Units and Output Units each of which is available in a range of specifications I O Units do not include Special I O Units Link Units etc An error generated by a disagreement between the Units registered in the I O table and the Units actually mounted to the PLC A word in the CIO Area that is allocated to a Unit in the PLC System and is used to hold I O status for that Unit A computer that has similar architecture to that is logically compatible with and that can run software designed for an IBM PC AT computer Part of the startup process whereby some memory areas are cleared system setup is checked and default values are set The signal coming from an external device into the PLC The term input is often used abstractly or collectively to refer to incoming signals A bit in the CIO Area that is allocated to hold the status of an input A Unit used in combination with a Remote Interface to create an I O Term
145. m of two active nodes in the network No node is set as the Set a Unit as the polling polling node node Calculate the location of the error information in the CPU Bus Unit as follows 129 Troubleshooting Section 8 1 LNK Indicator Data Links Won t Start For the data links to operate first the SYSMAC LINK Units must be operating and participating in the network First check the LNK indicator status by refer ring to RUN ERC ERH and INS Indicators above and then use the following table LNK Probable cause Remedy indicator CEA Data links operating normally Not lit The local node has not been entered in the refresh Add the local node to the SESE parameters then parameters in the data link tables start the data links Flashing An error has occurred in the CPU Unit of the startup Refer to the PLC operation manual eliminate the node error and start the data links If the error reoccurs replace the CPU Unit The data link tables contain an error Correct the data link tables and restart the data links the data link tables and restart the data links Rapid Communications cycle time in the data link tables is AS use the automatic setting or increase the set flashing is too short ting manually see note Note In this case the error log error code 021D Hex will be stored Refer to 8 2 Error Log for details Nodes Not Participate in Data Links For nodes to participate in the data links first the SYSMAC
146. mat Responses have the following format and are stored beginning at the first response word specified as an operand D of the CMND 490 instruction 2 bytes 2 bytes 538 bytes max a 01 01 an Command Response Data code code 109 FINS Command Response Format Section 6 3 6 3 4 FINS Commands for PLCs Command PLC mode oe Me a a o ae R eS READ 03 PARAMETER AREA CLEAR oe PROGRAM AREA READ Vala Vaio vela e PROGRAM AREA CLEAR Notvald Nota Not wai vara for RUN Bree 01 CONTROLLER STATUS READ 07 o1 CLOCK READ o2 CLOCK waite MESSAGE READ T MESSAGE CLEAR FAL FALS READ 01 ACCESS RIGHT ACQUIRE ac ACCESS RIGHT FORCED ACQUIRE 03 ACCESS RIGHT RELEASE 01 ERROR CLEAR 02 ERROR LOG READ Ms ERROR LOG CLEAR 03 SINGLE FILE WRITE Val o 06 VOLUME LABEL CREATE DELETE vaia Vaid vaia Vaid os FILENAME CHANGE Valid Valid Valid Valid 09 FILE DATA CHECK Valid vao Valid Valid 08 PARAMETER AREA FILE TRANSFER Valid Valid Vaid vaio 23 Valid Valid Note When the PLC is in RUN mode data transfers from files to the program area are not possible but transfers from the program area to files are possible 110 FINS Command Response Format Section 6 3 6 3 5 FINS Commands for SYSMAC LINK Units Command Page code 101 DATA LINK START see note a A LINK HALT see note oan se CONTROLLER DATA READ see note 101 CONTROLLER ST
147. mer or CX Net C200H SLK21 C200H SLK21 V 1 Production stopped in 1992 C200HS SLK22 Production stopped in 1996 C200HW SLK23 24 Currently on sale See note C1000H SLK21 C1000H SLK21 V1 Currently on sale The C200HW SLK23 24 can be used for C200H and C200HS PLCs SECTION 10 Inspection and Maintenance This section contains information describing peri odic inspections required by the System IOL Periodic Inspections ares aid Be ods Petes Edie ee eee wees 150 1022 Handlino PrecauuOns c1 676 Fh ok daa 150 10 3 Tools and Equipment Needed for Inspecti0N ooooooooo oo 150 149 Periodic Inspections Section 10 1 10 1 Periodic Inspections SYSMAC LINK Units must be inspected on a regular basis to ensure correct operation SYSMAC LINK Units are built primarily of solid state components and contain almost no parts subject to wear Nevertheless the life span of some solid state components can be shortened as a result of adverse envi ronmental conditions We recommend that the following points be checked at least once every 6 to 12 months as part of a standard inspection program Ambient conditions should be checked more frequently If any of these items deviate from the pre scribed standards take appropriate action to correct the condition Inspection item Inspection contents Standard operation Inspection method Environmental conditions Check the ambient tempera 0 to 55 C Thermometer ture and the temper
148. n A memory error has occurred in inter If the error occurred in internal memory or nal memory in the Memory Card or in the EM Unit correct the data in the com Expansion DM during the error check mand an execute it again If the error occurred in a Memory Card or EM used for file memory the file data has been corrupted Execute the MEMORY CARD FORMAT command If the above remedies do not eliminate the error replace the faulty memory 10 Terminator not connected in SYSMAC Connect the terminator correctly BUS System SYSMAC BUS 2 error An error Check the unit and cable connections and occurred during SYSMAC BUS 2 data _ issue the ERROR CLEAR command 134 Troubleshooting Section 8 1 Main code Sub Probable cause Remedy code The specified area is not protected This response code will be returned if O The program area is not protected so it is not necessary to clear protection 26 Command error an attempt is made to clear protection on an area that is not protected 02 An incorrect password has been speci Specify a password that is registered fied The specified area is protected Execute the command again after the PRO GRAM AREA PROTECT CLEAR com mand 05 The service is being executed Execute the command again after the ser vice has been completed or aborted The service is not being executed Execute the service if necessary Service cannot be executed from local Execu
149. n 6 2 can be executed at the same time for each port To execute more than one instructions in sequence at the same port use the Port Enabled Flags to be sure that a port is not busy before executing a new instruction for it Port Enabled Flags are contained in the status data provided in PLC memory for network communications Contents O Execution not enabled executing port 0 bit 00 port 1 bit 00 etc 1 Execution enabled not executing A219 Port number corresponds to bit number plus 0 Normal end 8 i e port O bit 00 port 1 bit 01 etc 1 Abnormal end With CS series PLCs ports O to 7 are also used for executing the PMCR PROTOCOL MACRO instruction therefore these flags are used for the 4 instructions SEND 90 RECV 98 CMND 490 and PMCR 260 When the PMCR 260 command is being executed the same port cannot be used for SEND 90 RECV 98 and CMND 490 instructions The status after a communications instruction has been executed is reflected in the words shown in the following table During instruction execution it becomes 00 or 0000 and it is reflected here after the execution has been completed PLC Word Bits Contents CSSenes A2OS PortOresponse cade a204 Portt response code A205 Port2response code A206 Port response code A207 Port response code a208 Port5 response code aaro Port7 response code The following timing chart shows the timing of the Port Ena
150. n a parity error occurs during the transmission of data between the CPU Unit and CS series CPU Bus Units The unit number of the CS series CPU Bus Unit involved is written to word A417 CS series CPU Bus Unit Numbers Bits A41000 through A41015 correspond to CS series CPU Bus Units O through 15 respectively When two CPU Bus Units have the same unit number the bits corresponding to the unit numbers of the CS series CPU Bus Units involved are turned ON CS series CPU Bus Unit Duplication Error Flag Bit A40113 is turned ON when two CS series CPU Bus Units have been assigned the same unit number The duplicated unit number is indicated in A410 155 Related Auxiliary Area Information Appendix C CS series CPU Bus Unit Error Unit Number Flags When an error occurs in a data exchange between the CPU Unit and a CS series CPU Bus Unit the CS series 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 Bits A42200 through A42215 correspond to CPU Bus Units 0 through 15 respectively When a CPU Bus Unit Error occurs the bit corresponding to the unit number of the CPU Bus Unit involved is turned ON CS series CPU Bus Unit Restart Bits Bits A50100 through A50115 can be turned ON to reset CS series CPU Bus Units numbers O through 15 respectively The Restart Bits are turned OFF automatically when restarting is completed 156 Appendix D CPU Bus Unit
151. n occur as a result of incorrect DM or Holding Area contents 2 CS series SYSMAC LINK Units store data such as data link tables net work parameters and routing tables in the CPU Unit When replacing the CPU Unit reset these settings using the CX Net in CX Programmer 9 1 2 Resetting Network Parameters When a CPU Unit has been replaced in a CS series SYSMAC LINK Unit it is necessary to reset the network parameters data link tables and routing tables This section describes the resetting procedure for the network param eters For details on data link table resetting procedures refer to 4 5 Creating Data Links and for routing table resetting procedures refer to 5 2 Routing Tables 1 2 3 1 Network parameters are read from the polling node when the Network is activated and this information is distributed to all nodes in the Network For this reason set the polled polling node setting in the DM parameter area for the node replaced to a polled node before reconnecting the Unit to the SYSMAC LINK Network 9514 13 12 11 10 9 8 DM 30000 100 xn pr AAA n Unit number 1ifofofofojopofofo o joojo Polled node polling node 0 Polling node Other settings 1 Polled node 2 Turn the power OFF once connect the SYSMAC LINK Network and turn the power ON again Check that the Unit is participating in the Network 146 Replacement Procedure Note Section 9 2 If the INS indicator is lit and the ERC and ERH indic
152. n optical LAN formed from PLCs connected through SYSMAC NET Link Units A SYSMAC NET Link System also normally contains nodes interfacing computers and other peripheral devices PLCs in the SYSMAC NET Link Sys tem can pass data back and forth receive commands from any interfaced computer and share any interfaced peripheral device The Unit used to connect PLCs to a SYSMAC NET Link System The arrangement in which Units in a System are connected This term refers to the conceptual arrangement and wiring together of all the devices needed to comprise the System In OMRON terminology system configuration is used to describe the arrangement and connection of the Units comprising a Control System that includes one or more PLCs An error generated by the system as opposed to one resulting from execution of an instruction designed to generate an error An error message generated by the system as opposed to one resulting from execution of an instruction designed to generate a message The code comprising an asterisk and a carriage return CR which indicates the end of a block of data in communications between devices Frames within a multi frame block are separated by delimiters Also a Unit in a Link System designated as the last Unit on the communications line A location in memory accessed through a TC bit and used to time down from the timer s set value Timers are turned ON and reset according to their exe cution conditions A data a
153. n ordering Note 1 The cables listed above are black and have power supply lines and ten sion members although the power supply lines aren t used in the SYS MAC LINK Network 2 All of the cables listed above are attached to the connectors with adhe Sive 3 Special training is required to assemble Optical Fiber Cables and connec tors with adhesive Optical Fiber Cable Use the following accessories to assemble and test Optical Fiber Cables Accessories 2 Name Model Specifications Optical Fiber CAK 0057 Crimp cut tool for the Assembly Tool See note S3200 COCF2071 2571 Connectors Optical Power Tester S3200 CAT2700 With S3200 CAT2702 Head Unit and adapter for the S3200 COCF2071 2571 and S3200 COCF2011 2511 Connectors Master Fiber Set S3200 CAT2001H One meter cable for use with the S3200 CAT2702 Head Unit Note Use the CAK 0057 made by Sumitomo Electric Industries Ltd to assemble the S3200 COCF2071 2571 Connectors Production of the S3200 CAK1062 Assembly Tool has been stopped The S3200 COCF2071 2571 Connectors can be assembled using the S3200 CAK1062 by adding the JRFK 57PLUS made by Sumitomo Electric Industries Ltd This manual does not provide details on Optical Fiber Cable preparation For details refer to the instructions provided with the CAK 0057 or S3200 CAK1062 Assembly Tool Optical Fiber Cable Connections All of the nodes in an Optical SYSMAC LINK Network are connected in
154. n the data link is in operation If the data link is not in operation an error will occur Command Block 04 02 Command code Response Block 04 02 Command Response code code 6 4 3 RESET Resets the SYSMAC LINK Unit No response is returned when this command is executed Command Block 04 03 Command code 112 FINS Commands for SYSMAC LINK Units Section 6 4 6 4 4 CONTROLLER DATA READ Reads the following data e PLC model and version e Cable type e Node address e Common RAM size Command Block 05 01 Command code 05 01 20 bytes 20 bytes PO A A E Node address Command Response PLC model PLC version code code Cable type Common RAM size Response Block Parameters PLC model and version response Both are read in ASCII codes 20 bytes i e 20 ASCII characters max each If the model or version requires less than 20 characters the remaining bytes will be filled with spaces ASCII code 20 Cable type and Common RAM Size Bit 7 will be ON if the SYSMAC LINK Network is using optical fiber cable OFF if it is using coaxial cable Bit 00 to 02 will be 011 indicating that the common RAM is 8 Kbytes The common RAM is the buffer for the communications con troller Node Address The node address of the SYSMAC LINK Unit from 01 to 3E 1 to 62 6 4 5 CONTROLLER STATUS READ Reads the status of the PLC Command Blo
155. nat Use C100H TERO1 Coaxial systems only ing resistance Terminator End nodes on the net work Connect Termi nator 2 aor for AA a A the unit num Use the a rotary CS series CVM1 and 18 ber switches CV series PLCs only b Set the node Use the front rotary All nodes address switches 3 Turn ON the power to the PLC Contents Method Nodes Page Turn ene the power to All nodes the PLC 12 Data Link Procedures Section 1 5 Connect the Programming Device Nodes Page Connect the Program Use the special con CS series CVM1 and ming Console or Sup nection cable CV series PLCs only port Software Create l O tables Contents Create the I O tables Use the SYSMAC CS series CVM1 and Support Software or CV series PLCs only Programming Con sole Set the parameters for automatic data link creation Contents Set the data link Use the SYSMAC Data link startup node mode to auto Support Software or only matic Programming Con The node that is used to sole start the data link is called the startup node It is necessary to decide beforehand which node will be the startup node Set the number of Data link startup node data link words only Start the data links Contents Method Nodes Page Start the data links Switch the Data link Data link startup node 55 67 Start Stop Bit listed The Start Bit can be below from OFF to tu
156. nd responses are in hexadecimal Commands that are sent to a PLC CPU differ from those that are sent to a SYSMAC LINK Unit Although SYSMAC CS series PLCs support both C mode and FINS com mands CS series SYSMAC LINK Units do not support C mode commands which are used for data exchanges with SYSMAC C series PLCs FINS Commands 1 23 FINS commands form a command system for message services across differ ent OMRON networks They can be used for various control operations such as sending and receiving data changing operating modes executing forced set and forced reset operations performing file operations and so on FINS commands make it possible to freely communicate with Units in various net works and on CPU Racks by simply specifying the network node and unit FINS commands have the following features 1 They are defined in the application level and do not depend on lower levels i e the physical and data link levels This allows them to be used across a variety of networks and CPU buses Specifically they can be used with SYSMAC LINK Controller Link and Host Link networks and between CPU Units and CS series CPU Bus Units Note FINS commands are sent with UDP IP headers when using Ethernet and with Host Link command headers when using Host Link 2 FINS commands can be used to access various kinds of devices besides CPU Units Devices such as CPU Units CS series CPU Bus Units per sonal computers boards and Inn
157. ndicate why the node is not in the network when bit 0 4 is OFF Communications cycle time response The actual communications cycle time is provided here in 4 digit hexadecimal in increments of 100 us Node address of current polling node response The node address of the Unit that currently is the polling node Cyclic operation response Indicates the current status of cyclic operation as follows 00 Stopped 01 Active Cyclic transmission status response Indicates the current status of cyclic transmission as follows 00 No transmission 01 Transmission FINS Commands for SYSMAC LINK Units Section 6 4 Cyclic non fatal errors response These eight bytes indicate nodes in which non fatal errors occurred in cyclic transmission When a bit in the fol lowing matrix is ON a non fatal error occurred in the corresponding node Bit O of the first byte and bit 7 of the eighth byte are always OFF Bt 7 6 5 4 3 2 1 0 Firstbyte 7 6 5b 4 3 2 1 Second byte 115 14 13 12 11 10 9 8 Third byte 23 22 21 20 19 18 17 16 Fourth byte 31 30 29 28 27 26 25 24 Fifth byte 39 38 37 36 35 34 33 32 Sixth byte 47 46 45 44 43 42 41 40 Seventh byte 55 54 53 52 51 50 49 48 Eighth byte 62 61 60 59 58 57 56 Cyclic error counters response One of these 62 bytes is allocated to each node to indicate how many cyclic errors occurred since startup The fi
158. ng error codes will be generated Error code Information Meaming 0206 Hex 3E01 Hex Single node removed from system 0221 Hex 0001 Hex Node 16 removed from system Error Status The status of each bit indicates that an error has occurred as given in the dia gram below Token timeout error Polling timeout error Communications controller hardware error Polling node was changed Nodes in Network changed added or removed Communications controller send error Node address duplication error 8 2 3 Reading and Clearing Error Logs Error logs can be read or cleared using the CX Net or the message service The following commands can be used for the message service Reading an Error Log Send the ERROR LOG READ FINS command command code 2102 to the appropriate node Refer to 6 4 11 ERROR LOG READ Clearing an Error Log Send the ERROR LOG CLEAR FINS command command code 2103 to the appropriate node Refer to 6 4 12 ERROR LOG CLEAR 142 Polling Node Backup 8 3 Polling Node Backup Section 8 3 If the polling node on the SYSMAC LINK Network has an error the polling node backup function of the SYSMAC LINK Unit will reconstruct the network so that another Unit takes its place as the polling node Refer to the following diagram The initial polling node is the Unit assigned node address 1 If the Unit with node address 1 has an error the node that has the next smallest node address will automa
159. nk Communications con Replace the SYSMAC LINK table error and bit 15 troller error Unit error log informa tion are ON Lit Lit Not lit Both bit 09 duplicate Table contains dupli Change the settings so that node address setting cate node addresses there are no duplicate node error and bit 15 error addresses in the same net log information are work then turn ON the power again Wrong connection to Check the network and network optical fiber reconnect the cables cor rectly Not lit Not lit Lit Not lit The I O table in the Set the I O table correctly CPU Unit has not been created or con tains an error Table contains dupli Change the settings so that cate unit numbers there are no duplicate unit numbers at the same PLC including any on CS series Expansion Racks then turn ON the power again another PLC Troubleshooting CPU Bus Unit CIO Indicators Probable cause Area error ERC i information Lit Lit Bit 15 error log infor mation is ON Both bit 00 network parameter error and bit 15 error log infor mation are ON Both bit 01 data link table error and bit 15 error log informa tion are ON Both bit 02 routing table error and bit 15 error log informa tion are ON iil Note CPU Unit error CPU Bus Unit set tings area network parameters data is corrupted Network parameter settings contain an error or the local node address exceeds the n
160. nk start address CIO 1005 DM Area local node data link start address D00000 Refresh nodes Node refresh order 5 6 Node address Local node address 8 Common link Number of words in CIO Area local node send size 0 words parameters CIO Area nothing set Number of words in DM Area local node send size 5 words DM Area Refresh param PLC type Select CV CVM1 CV CVM1 eters Start word CIO E A Area local node data link start address CIO 1010 DM Area local node data link start address D00000 Node 8 Table Refresh nodes Node refresh order 6 2 5 8 4 8 Controlling Data Links It is necessary to start the data links after finishing the data link settings Starting the data links is carried out by any one of the following three startup operations This is true for both manual settings and automatic settings e From the DM parameter software switches e By sending a command e By using the Support Software Note 1 The data link mode manual settings or automatic settings and the data link system are determined by the data link settings for the startup node 2 Be sure to set the data link mode manual settings and the data link table in the DM parameter area of the startup node when using manual set tings 3 Be sure to set the data link mode automatic settings and the number of data link words in the DM parameter area of the startup node when using automatic settings 4 The data links will not operate
161. nside conduits e Before touching the Unit be sure to first touch a grounded metallic object in order to discharge any static build up 6 Conformance to EC Directives 6 1 Applicable Directives 6 2 Concepts Note e EMC Directives EMC Directives OMRON devices that comply with EC Directives conform to the related EMC standards so that they can be more easily built into other devices or machines The actual products have been checked for conformity to EMC standards see the following note Whether the products conform to the stan dards in the system used by the customer however must be checked by the customer EMC related performance of the OMRON devices that comply with EC Direc tives will vary depending on the configuration wiring and other conditions of the equipment or control panel in which the OMRON devices are installed The customer must therefore perform final checks to confirm that devices and the overall machine conform to EMC standards Applicable EMC Electromagnetic Compatibility standards are as follows EMS Electromagnetic Susceptibility EN50082 2 EMI Electromagnetic Interference EN61000 6 2 6 3 Conformance to EC Directives 1 2 3 The CS1W SLK11 and CS1W SLK21 SYSMAC LINK Units comply with EC Directives To ensure that the machine or device in which these SYSMAC LINK Units are used complies with EC directives the SYSMAC LINK Units must be installed as follows 1 In order to conform wit
162. nsidered to be the local network 4 Destination Node Address Set the destination node address to FF for broadcasting within the local network Set to 00 and set the network address to 00 for transmission to a device at the local node The destination node address can have the fol lowing values 5 Destination Unit Address Set the network destination address as shown below If the Destination 101 PLC Network Instructions Section 6 2 Unit Address has been set to FE commands will be sent to the SYSMAC LINK Unit Controller Link Unit or Ethernet Unit with the relevant destina tion node address Destination Address hexadecimal PLS GPU CN NSB computer 01 user application CPU Bus Unit 10 to 1F Unit Number 0 to F 0 to15 Inner Board Unit connected with the network FE 6 Response Bit Usually set this bit to OFF 0 required If no response is required set the bit to ON 1 Not required 7 Communications Port Number Set the communications port number that the CMND 490 instruction will be sent to 8 Number of Retries Set the number of retries for unsuccessful transmissions You can set the number between 1 to 15 If 15 has been set for example the CMND 490 instructions will be re transmitted up to 15 times when the PLC does not receive a response from the destination node 9 Response Monitor Time Unit 0 1 S Designates the length of time that the PLC retries transmission when bit 15 of C 3 is OFF
163. nt SYSMAC LINK Network Because the PLC incorporates bridge and gateway functions these and other networks can exchange data via the CPU Unit If more than one SYSMAC LINK Unit or other CPU Bus Unit is mounted on a single PLC however each Unit needs a unit number for identification Setting Use the rotary switches on the front panel to set the unit number Unit No 6 Unit No 12 hexadecimal C No No SW1 Swi Setting Value Range A total of 16 SYSMAC LINK Units and or other CPU Bus Units can be mounted on a single PLC Of these up to four can be SYSMAC LINK Units The unit number settings range is from O to F Hex Note 1 Each Unit connected to the same PLC must have a unique number 2 Turn OFF the PLC when setting the rotary switches 3 If the unit number of any node has been changed the I O table on the PLC must be generated again and that node must be turned ON after all other nodes have been turned ON 3 3 Setting Node Address In token bus communications used in the SYSMAC LINK Network the node addresses make a logical ring around which the token is passed The logical ring of node addresses takes the place of the actual physical ring used in some other networks Consequently proper setting of the node addresses is essential to network operation 35 Network Address Setting Section 3 4 Settings Node address switches determine the node address The left switch sets the ten s digit the right switch sets the one
164. o response from the nodes even if the Re sponse Bit has been turned OFF 103 PLC Network Instructions Section 6 2 6 2 8 Program Example 104 0000 A202 1200 00 07 02H 011 o e an KEEP 120000 1200 01 7 1200 00 021 E e e MOV 000A D00000 _ 021 F MOV 0002 D00001 021 E MOV 0400 D00002 _ 021 E o MOV 0705 D00003 021 E e Mov 0064 D00004 _ 070 z XFER 80010 0000 D00010 _ 090 a SEND D00010 D00020 D00000 1200 A202 00 07 013 e DIFU 120001 1200 A219 1210 00 07 00 O TH ka 0000 A219 1200 01 07 00 011 E a o k KEEP 120002 1200 03 7 1200 ae _ 021 E o MOV 0010 D00005 021 E o MOV 0003 D00006 021 7 o MOV 3000 D00007 021 Es o QMOV 070F D00008 021 MOV 0000 D00009 _ 98 _ RECV A100 2000 D00005 1200 A202 02 07 _ 013 E e DIFU 120003 1200 A219 1210 02 07 01 1200 1200 A219 02 03 07 070 e 4 OXFER amp 0016 2000 D00040 The SEND 90 program section will run when CIO 000000 is ON provided that the Enabled Flag for port 7 is ON and the RECV 98 instruction has not been executed CIO 120000 is ON while the SEND 90 instruc
165. o transmit the token is immediately passed to the node with the next higher node address The node with the highest node address passes the token back to the node with the lowest node address In this way each node in the network has its turn to transmit data without interfering with other nodes Lowest node address Control sequence Highest node address Ina SYSMAC LINK Network there is one node called the polling node that controls communications in the network Normally the Unit with the lowest node address is the polling node If the polling node fails the node with the next higher node address automatically becomes the polling node preventing the whole network from failing The node that starts the data link in a SYSMAC LINK Network is called the startup node The data link operates using the parameter settings in the DM Area at the startup node With automatic allocation of link words the DM parameter area settings are used and with manual allocation the common link parameters in the startup node are used The token in a SYSMAC LINK Network is first passed from the polling node The token is passed in sequence from node to node by node address until it is finally returned to the polling node One complete circuit around the network is known as a token cycle At the end of each token cycle the polling node polls all of the nodes in the network to check whether any nodes have been added to or removed from the network T
166. of C 3 is OFF and no response is received The default value is 0000 which indicates 2 seconds The response function is not used when the destination node address is set to FF broadcasting to all nodes in the net work Range of Control Data The permissible ranges of control data to be set are as follows IN A Number of words 0001 to 0100 1 to 256 words Destination network address 00 Local network 01 to 7F Destination network address Destination node address 00 Transmission within local node 01 to 3E Destination node address 1 to 62 SYSMAC LINK 01 to 20 Destination node address 1 to 32 Controller Link 01 to 7E Destination node address 1 to 126 Ethernet SYSMAC NET FF Broadcasting Destination unit address PLC CPU Unit Computer NSB user application 10 to 1F Unit number 0 to 15 El Inner Board FE Unit connected with the network Response bit O OFF Required 1 ON Not required Communications port number 0 to 7 0 to 7 Number of retries 0 to F 0 to 15 Response monitor time 0000 2 s default 0001 to FFFF 0 1 to 6 553 5 s with 0 1 s increments set by the user Note When broadcasting there is no response from the nodes 98 PLC Network Instructions Section 6 2 6 2 6 NETWORK RECEIVE Instruction RECV 98 The RECV 98 instruction enables the local node to write to its memory data sent from a node either on a local or remote network Format The format of the RECV 98 instruction
167. of ROM into which the program or data may be written after manufacture by a customer but which is fixed from that time on A peripheral device used to write programs and other data into a ROM for per manent storage and application A message or symbol that appears on a display to request input from the op erator The parameters and procedures that are standardized to enable two devices to communicate or to enable a programmer or operator to communicate with a device See present value An assembly that forms a functional unit in a Rack PLC System A Rack con sists of a Backplane and the Units mounted to it These Units include the Pow er Supply CPU and I O Units Racks include CPU Racks Expansion I O Racks and I O Racks The CPU Rack is the Rack with the CPU mounted to it An Expansion I O Rack is an additional Rack that holds extra I O Units An I O Rack is used in the C2000H Duplex System because there is no room for any I O Units on the CPU Rack in this System 173 rack number Rack PLC RAM RAS refresh refresh parameter table relay based control reserved bit reserved word reset response code response format Restart Bit restart continuation retrieve retry rightmost bit word rising edge ROM 174 Glossary A number assigned to a Rack according to the order that it is connected to the CPU Rack with the CPU Rack generally being rack number 0 A PLC that is composed o
168. ogs also aids in troubleshooting and quick correction of communications problems SYSMAC LINK Unit Features Section 1 2 1 2 1 Standard Models SYSMAC LINK Units Applicable Unit Transmission Communications PLCs classification path CS series CPU Bus Unit Coaxial SYSMAC Coaxial cable Data links manually set or auto CS1W SLK21 PLCs LINK Unit matically set messages through CS1 H CS1 Optical SYSMAC Optical fib SEND 90 RECV 98 and CS1W SLK11 nage CMND 490 instructions SYSMAC LINK Programming Devices Specifications moa CX Net within CX Pro Setting manually set data links starting stopping data links reading WS02 CXULIE grammer network status reading error logs setting routing tables testing net works changing network parameters settings Note The CS series SYSMAC LINK Unit cannot be directly con nected to SYSMAC Support Software 1 2 2 Specifications General Specifications Conform to the specifications of the CS Series SYSMAC LINK Unit Specifications Item Specifications CS1W SLK21 CS1W SLK11 Coaxial O Optialfiber Unit classification CS series CPU Bus Unit Applicable PLCs CS series PLCs Max number of Units 4 Units max total Coaxial Units and Optical Units Four slots on the CPU Racks and CS series Expansion Racks Mounting position O 9 CPU Unit data CPU Bus Unit 25 words Unit exchange areas Area SYSMAC Link Unit to CPU Unit Data link status netwo
169. om specified nodes and send only or receive only from specified nodes change the refresh parameters for each node In the follow ing example node 5 does not receive data from node 6 and node 6 does not receive data from node 2 Also node 8 only receives data CIO Area CIO Area Fr L100s Area CIO Area 1000 1010 tooo 1005 la 1010 1020 ma IA 1030 ey e 1035 1039 5 1049 1054 DM Area DM Area DM fray o00000 DM Area D00000 D00020 _ JDo0000p 7 poo000 He 2 EN D00010 D00030 D00010 D00030 iii D00030 D00039 5 D00049 D00049 Note The send area for node 8 has specified O for both the CIO Area and DM Area Creating Two or More Data Link Groups in One Network 50 in the common link parameters Only nodes with refresh parameters will participate in the data links Although the node order in the manual settings can be changed as you wish the Data Link Area must be created in continuous areas The common link parameters are the same for each network Consequently multiple data link groups cannot be created in a SYSMAC LINK Network Vir tual data link groups however can be created using the refresh parameters As shown below if you divide the groups and set the send and receive words for the nodes within each group you can set multiple data link groups as shown in the following diagram Data Link Area Allocations Section 4 6 It is still necessary to set the total data link words for group 1 and grou
170. ommunications cycle time parameters Select automatic or manual setting Manual setting range 5 to 255 ms Local node CIO Area Set the CIO Area local node send size in Note If O is set the local node send size words Setting range O to 254 words will not send data i e it DM Area Set the DM Area local node send size in will receive only words Setting range O to 254 words Refresh PLC type Select CS when using a CS series SYSMAC LINK Unit parameters If using CX Programmer Ver 1 2 Service Pack 1 set the CV CVM1 If the CV CVM1 is set then only the ranges supported by the CVM1 CV series PLCs can be set Data link start CIO Area Set the start address in the CIO Area data link area for the local node address Setting range CIO 0000 to 6143 DM Area Set the start address in the DM Area data link area for the local node Setting range D00000 to D32767 Refresh node order Set in order the node addresses with which the local node will refresh data starting with the data link start addresses set above If the address of the local node is set it will send the specified word data to other nodes If the address of another node is set the local node will receive the data sent by that node For example if you enter 3 2 1 as the refresh order the node addresses will be allocated in the order 3 2 1 starting from the start address If the local node address is 1 it will receive data from node 3 then from node 2 and finally
171. on Units Either an Input Block or an Output Block I O Blocks provide mounting posi tions for replaceable relays A Unit mounted to the CPU Rack to monitor and control I O points on Expan sion CPU Racks or Expansion I O Racks The delay in time from when a signal is sent to an output to when the status of the output is actually in effect or the delay in time from when the status of an input changes until the signal indicating the change in the status is received A device connected to the I O terminals on I O Units Special I O Units etc I O devices may be either part of the Control System if they function to help con trol other devices or they may be part of the controlled system A Unit mounted to an Expansion CPU Rack or Expansion I O Rack to interface the Rack to the CPU Rack The place at which an input signal enters the PLC System or at which an out put signal leaves the PLC System In physical terms I O points correspond to terminals or connector pins on a Unit in terms of programming I O points cor respond to I O bits in the IR area The process of updating output status sent to external devices so that it agrees with the status of output bits held in memory and of updating input bits in mem ory so that they agree with the status of inputs from external devices I O response time I O Terminal I O Unit I O verification error I O word IBM PC AT or compatible initialize input input bit Input B
172. on allows a PLC to write data to the memory of a device located at a node on a local or remote network Format The format of the SEND 90 instruction is as follows Ladder Symbol Operand Data Areas 90 S 18t source word CIO W H A T C DM DR IR SEND S D c D 18 destination word CIO W H A T C DM DR IR varianons C 13t control word CIO W H A T C DM DRY IR SEND 90 Indirect addressing only Control Data Set the destination node address to FF to broadcast the data to all nodes in the designated network or to 00 to send to a destination within the node of the PLC executing the send Word Bits 00 to 07 Bits 08 to 15 Number of words 1 to 256 in 4 digit hexadecimal i e 0001 to 0100 C 1 Destination network address Bits 08 to 15 Set to 0 0 to 127 i e 00 to 7F Destination unit address Destination node address Bits 00 to 03 No of retries Bits 08 to 11 Port number 0 to 7 O to 15 Hex i e 0 to F Bit 12 to 14 Set to O Bits 04 to 07 Set to O Bit 15 ON No response OFF Response returned Response monitoring time 0001 to FFFF 0 1 to 6553 5 seconds Note Transmissions cannot be sent to the PLC executing the send 1 2 3 1 Number of Words Set the total number of words to be transferred 2 Destination Network Address Set the destination network address to 00 if the destination network ad dress is a local network If more than one SYSMAC L
173. or FCS FINS flag force reset force set frame checksum Glossary Electrically erasable programmable read only memory a type of ROM in which stored data can be erased and reprogrammed This is accomplished using a special control lead connected to the EEPROM chip and can be done without having to remove the EEPROM chip from the device in which it is mounted Random variations of one or more electrical characteristics such as voltage current and data which might interfere with the normal operation of a device Extended Data Memory Area an area that can be optionally added to certain PLCs to enable greater data storage Functionally the EM Area operates like the DM Area Area addresses are prefixes with E and only words can be ac cessed The EM Area is separated into multiple banks Erasable programmable read only memory a type of ROM in which stored data can be erased by ultraviolet light or other means and reprogrammed A numeric code generated to indicate that an error exists and something about the nature of the error Some error codes are generated by the system others are defined in the program by the operator A communication setting that adjusts the number of ON bits so that it is always even See parity Processing that is performed in response to an event e g an interrupt signal A Rack connected to the CPU Rack to increase the virtual size of the CPU Rack Units that may be mounted to the CPU Backplan
174. otary switches XV Application Precautions 5 e Connecting or disconnecting any cables or wiring e Connecting or disconnecting any connectors N Caution Failure to abide by the following precautions could lead to faulty operation or the PLC or the system or could damage the PLC or PLC Units Always heed these precautions e Always use the power supply voltages specified in the operation manuals An incorrect voltage may result in malfunction or burning e Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied Be particularly careful in places where the power supply is unstable An incorrect power supply may result in malfunction e Install external breakers and take other safety measures against short cir cuiting in external wiring Insufficient safety measures against short cir cuiting may result in burning e Disconnect the functional ground terminal when performing withstand voltage tests Not disconnecting the functional ground terminal may result in burning e Do not attempt to disassemble repair or modify any Units Any attempt to do so may result in malfunction fire or electric shock e Be sure that all the mounting screws terminal screws and cable connec tor screws are tightened to the torque specified in the relevant manuals Incorrect tightening torque may result in malfunction e Leave the label attached to the Unit when wiring Removing the label may re
175. ource node Max transmission delay gt Data stored Max transmission delay Link servicing interval source node Link service processing source node Transmission processing Communications cycle time Transmission delay Reception processing LINK Unit servicing interval destination node Link service processing destination node Link Servicing Interval Source and Destination Nodes Links are serviced once per PLC execution cycle Refer to the CS series PLC Operation Manual for details Link Service Processing Source and Destination Nodes Link service processing is the same as the PLC s peripheral servicing and is approximately 1 ms for SYSMAC LINK Units Transmission and Reception Processing Number of words transferred x 0 0045 ms 4 ms Communications Cycle Time Coaxial Max node address x 0 01 ms No of nodes x 0 075 ms No of polled units x 0 75 ms 1 322 ms Optical Max node address x 0 01 ms No of nodes x 0 133 ms No of polled units x 0 75 ms 1 322 ms 105 PLC Network Instructions Note Example RECV 98 Instruction Maximum Delay Time Note RECV 98 executed Section 6 2 Transmission Delay Number of words transferred x 0 008 ms 0 204 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 In this example the maximum transm
176. ow D as shown below ARA RIA a ab A A AT LEER 7 Use scissors to cut off any protruding braiding as shown below 8 Insert the contact into the contact crimp adapter and set them inside the crimp tool die Insert the cable central conductor into the contact hole until the severed face of the polyethylene meets the contact guard Firmly grasp the crimp tool handle and crimp 9 Insert the completed contact subassembly into the body Gently rotate and press until the contact wings enter the insulator cavity and align the con tact tip with the insulator tip After inserting the contact wings into the cav ity rotate the cable and the body until the body is crimped Contact subassembly Ba HaHa Ma Insulator pim LE CZ 23 Cable Connections Section 2 4 10 Open the crimp tool handle hold the tip of the body to the body stopper as shown below and close the handle until the ratchet can no longer turn Align the body hole with the hexagonal part of the die and crimp A correct crimp should resemble the diagram below Body stopper Crimp height Cable Body Checks After Attaching Check that the body crimp is correct If you crimp without holding the tip of the the Connector to the body to the body stopper the crimp will be partway along the body as shown Coaxial Cable in the diagram on the right Check that the contact tip is in the same position as the open mouth of the conne
177. p 2 to within the maximum number of link words 2 966 words CIO Area CIO Area CIO Area CIO Area 1000 1000 1000 1020 1 gt 1 1010 1010 SAS A e 1020 1040 1039 1059 4 6 3 Refreshing Data Links with Automatic Settings Data link refreshing with automatic settings is carried out for all nodes in the data link areas that have been specified In the following example only nodes 2 4 5 and 6 are participating in the data links Nodes 1 3 7 and 8 however will also be refreshed and words for them cannot be used for other applications If no data is received nodes 1 3 7 and 8 are refreshed with 0 System Configuration Refreshing for the above setup will be as shown below CIO Area Node1 1000to1007 Node3 1016to1023 Node 4 1024 to 1031 Setechod Node 5 1032 to 1039 Node 6 1040 to 1047 Node 7 1048 to 1055 Node 8 1056 to 1063 Note When using the SYSMAC LINK Units listed below the node areas outside of the node address allocated the lowest word addresses node 2 in the above example and the node allocated the highest word addresses node 6 in the above example are not refreshed nodes 1 7 and 8 in the above example and can be used for other applications in the CPU Unit of these SYSMAC LINK Units e CVM1 CV series SYSMAC LINK Unit CV500 SLK11 21 e C200HX HG HE SYSMAC LINK Unit C200HW SLK13 14 23 24 51 Data Link Area Allocations Section 4 6 e C1000H C200HF C2000H SYSMAC
178. participation 1 bit per Unit for each of 62 Units 0 Not participating 1 Participating Reserved by the system Oto 7 Local node address 8 to 15 O to 7 8 to 15 8 to 22 Oto 15 CPU Unit operating CPU Unit error communications error no error 5 6 23 data links operating 8to13 Node address of startup node for data links Local Data Link Active Flag 1 Local node data links active O Local node data links not active 24 Oto10 Reserved by the system 12to15 oO O O1 Q O E OD 0aO gt al O Local network address Node address of polling node O Local unit number Data link status on each node using 4 bits per Unit for each of 62 Units 0 No power supply 17 1 Power being supplied CS1W SLK11 only Reserved by the system en bh h O k dal O N 39 Memory Areas Software Switches D30000 100 x Unit Number 8 7 6 5 4 3 2 i 0 jojojo ojofojojojo Data link Star t Bit Start Changed from OFF to ON or already ON when power is turned ON Stop Changed from ON to OFF 40 15 14 13 12 11 10 9 Note Network Participation Status If a node is participating in a network the bit corresponding to the node address will be ON Node addresses 1 through 62 and their corresponding bits are listed in the following table Bits 14 and 15 of word 5 are always 0 Word 1500 25 x Unit Number 2 to 5 Bit 15 14 13
179. per node for automatic settings These settings are made in the DM Parameter Area allocated to the SYSMAC LINK Unit Word D30000 e x Unit A 15 14 13 12 11 10 ce A ERES Other settings Data Link Mode 00 Manual 01 Automatic with CIO Area only 10 Automatic with DM Area only 11 Automatic with CIO and DM Areas Number of Words per Node automatic settings only CIO Area DM Area 00 4 words 8 words 01 8 words 16 words 10 16 words 32 words 11 32 words 64 words Note 1 Set data link tables in each SYSMAC LINK node on the network when specifying manual data link tables 2 The data link mode manual settings or automatic settings and the data link system are determined by the data link settings for the startup node 3 Be sure to set the data link mode manual settings and the data link table in the DM parameter area of the startup node when using manual set tings 4 Be sure to set the data link mode automatic settings and the number of data link words in the DM parameter area of the startup node when using automatic settings 5 The data links will not operate unless the settings are correct 4 4 3 Data Link Start Stop Bit You can start and stop the data links by turning ON and OFF the bit in the first word in the startup node in the DM Area allocated in the CPU Bus Unit This bit is in the DM Parameter Area allocated to the SYSMAC LINK Unit Words D30000 a x unit we 15 14 13 10 9 erre scone
180. power is OFF before connecting the coaxial cable 3 Insert the coaxial connectors firmly Also be sure that the coaxial cable is locked before use Attaching Connectors to Coaxial Cable Assemble the connector parts as shown below Contact clip Body Sleeve E Ferule Contact Approx 24 3 mm A hand crimp tool CR H 1130 by Dai ichi Denshi Kogyo is required when crimping 21 Cable Connections 22 1 2 3 Section 2 4 1 Cut the cable to the required length LA mm L mm 12 mm Approx 24 5 mm Approx 24 5 mm Unit mm 2 Remove 15 mm of the outer covering Be careful not to damage or to dis tort the braiding 3 Insert the ferrule as shown below Ferrule RVAY AYA Or OO Cable 4 Spread the tip of the braiding and insert the sleeve Using the trimming tool push in the sleeve flange forcefully until it fits flush with the braiding Ferrule Sleeve Shield l Ferrule Sleeve 5 Align A of the central conductor polyethylene projecting towards the out side of the trimming tool with the outside of the tool as shown below and then cut the polyethylene Blade Ferrule lo Trimming tool O a be Vata all Shield Sleeve Cable Connections Section 2 4 6 Using your fingertips press down on B on the trimming tool blade forcing the blade into the polyethylene and twist several times Continuing to press down on B withdraw in the direction of arr
181. r No node with the specified node Check the destination node s node address address Third node not part of Network Check the third node s node address 04 Busy error destination node busy Increase the number of transmit retry attempts or re evaluate the system so that the destination node is not so busy receiv ing data Response time out message packet Increase the number of transmit retry was corrupted by noise attempts Perform an internode echo test to check noise level Response time out response watch Increase the value for the response watch dog timer interval too short dog timer interval 131 Troubleshooting Section 8 1 Main code Sub Probable cause Remedy code Error occurred in the communications controller ERC indicator is lit 03 Communications con troller error Take corrective action referring to commu nications controller errors and remedies table at end of this section 02 CPU error occurred in the PLC atthe Clear the error in the CPU refer to the destination node PLC s operation manuals Node address setting error Make sure the node address is within speci D NO _ k fied range and that there are no duplicate node addresses An undefined command has been Check the command code used Cannot process command because the Check the unit model and version 04 Not executable specified unit model or version is wrong Destination node address
182. r automatic generation and the numbers of words per node in each of the ClO and DM Areas must be set The data link mode can be set to CIO Area only DM Area only or CIO and DM Areas You can select the number of send words to each node using the data link word settings Allocated Words The words allocated to each node for the various word settings are given in the following table DM Parameter Area D30000 100 x unit number Automatic data link mode settings Words per node Bit 5 0 Bit 5 1 Bit4 1 Bit 4 0 Bit 5 1 Bit 4 1 CIO Area DM Area words words see note 1000 to 1003 D00000 to D00007 Node 1 Node 3 Node 2 m Ser Node 4 Node 5 Node 3 Node 2 E o Node 6 Node 7 Node E a a Node 8 Note When using a data link that combines C series SYSMAC LINK Units CS series SYSMAC LINK Units and CVM1 CV series SYSMAC LINK Units LR 00 to LR 63 in C series PLCs correspond to CIO 1000 to CIO 1063 in CS CV series PLCs and DM 0000 to DM 0127 correspond to D00000 to D00127 47 Creating Data Links Section 4 5 4 5 3 Manually Generating Data Link Tables You can manually set the data link words by setting D30000 100 x unit num ber bit 5 and bit 4 to OFF The data links are set in the DM parameter area allocated to the SYSMAC LINK Unit as a CPU Bus Unit The manual settings made with the CX Net in CX Programmer are as fol lows Item Contents Common link Communications cycle time Set the data link c
183. r control Manchester encoding check error CRC CCITT detection X18 x12 X 1 SYSMAC LINK Unit Functions Section 1 3 Data Link Specifications Type of data link Automatic settings Manual settings Number of data link nodes 62 nodes max 2 nodes min Number of words per node sending 2 966 words max CIO Area DM Area total and receiving Areas supporting CIO Area Data Link Area Select from the CIO Area CIO 0000 to CIO 6143 data links CIO 1000 to following ClO ClO 1063 Area only DM DM Area D00000 to Area only CIO Dm Area D00000 to D32767 DM Areas D00127 Starting data link CIO Area CIO 1000 Manual settings can be made between word CIO 0000 to CIO 6143 DM Area D00000 Manual settings can be made between D00000 to D32767 Number of words CIO Area Either 4 8 16 or 32 words same for O to 254 words separate for each sent per node each node node DM Area Either 8 16 32 or 64 words same for each node Allocating data CIO Area Each node has the same number of The number of data link words and the link words data link words and words are allo order of allocation can be set for each DM Ar cated to nodes in the order of node node The same order of allocation ds addresses must be used for both the CIO Area and the DM Area Message Communications Specifications instructions SEND SONRECVES CMND ASO Application Data sending and receiving Reading and writing data at other nodes e
184. r crimp cut cable S3200 COCF2571 Use to connect a cable to a node See note 1 Half lock connector for crimp cut cable Inline Adapter S3200 COIAT2000 Use to connect or extend cables Use one adapter for each connection Note 1 Production of S8200 COCF2011 full lock and S3200 COCF2511 half lock Connectors has been stopped Use the above Connectors as re placements 2 Either full lock or half lock connectors can be used in a SYSMAC LINK Network but we recommend full lock connectors to prevent accidental disconnections during operation 3 The maximum distance between nodes is slightly shorter for connectors with crimp cut cables compared to connectors assembled with adhesive Also the maximum distance is reduced due to extension loss when Inline Adapters are used to extend cables Optical Fiber Cable with The following adhesive polished Optical Fiber Cables are available with Con Connectors nectors already attached Specifications Length Mode Optical Fiber Cable Connectors S3200 CN201 20 20 cd le S3200 CN501 20 20 et ee S3200 CN102 20 20 S3200 CN152 20 20 S3200 CN202 20 20 Over 20 m S3200 CN 20 20 Specify length m when ordering 26 Cable Connections Section 2 4 Specifications Model Optical Fiber Cable Connectors 3200 COCF2011 ee 22000 Specify length m when ordering Optical Fiber Cable Connectors 3200 COCF2511 ey E Over 20m S3200 CN 25 25 Specify length m whe
185. rammer Ver 2 0 or later CS series PLC types can be specified Data Link Table Engineer Valid Modes 1 62 eg 1 10 21 23 etc ss Common Link Parameters a n_ Area ee Id jo Area size lch Dh 0 254 A 3 Click the OK button As shown below a data link table will be automatically created for all nodes in the Nodes Valid Field All nodes will have the same start words and the same send sizes and the refresh order set in the same order as the node addresses Ty SERB Data Link Editor EYSMAC LINK File Table Help E Gammon pe CAES Node Information Cycle Time _ Sart Chanel ete E CIO 1000 1 _ 1 DM 00 Manual O 7 a PLS type CC n Medes Total link CH 0150 Refresh Parameters 4 017 01 Glo 020 Did 030 02 Clo 020 OM 030 i 02 02 C10 020 DM 030 403 ClO 020 DM 030 i 03 03 ClO 020 DM 030 Series Table view For Help press Fl This completes the data link tables creation Next check and save the data link tables using the following procedures 17 CX Programmer Procedures Section 4 12 Checking Data Link Tables Select Data Link Editor SYSMAC LINK Table and then Check The check results will be displayed as follows SYSMAC LINK Data Link Table Error List Refer to the CX Programmer Operation Manual W414 for details on error messages for the che
186. rea used to store execution conditions so that they can be reloaded later for use with other instructions A bit in the TR Area The process of moving data from one location to another within the PLC or be tween the PLC and external devices When data is transferred generally a copy of the data is sent to the destination i e the content of the source of the transfer is not changed The distance that a signal can be transmitted The memory area used to hold the active program i e the program that is be ing currently executed In OMRON PLC terminology the word Unit is capitalized to indicate any prod uct sold for a PLC System Though most of the names of these products end with the word Unit not all do e g a Remote Terminal is referred to in a collec tive sense as a Unit Context generally makes any limitations of this word clear unit address unit number uploading watchdog timer WDT wire communications word word address word allocation work area work bit work word write protect switch write protect Glossary A number used to control network communications Unit addresses are com puted for Units in various ways e g 10 Hex is added to the unit number to de termine the unit address for a CPU Bus Unit A number assigned to some Link Units Special I O Units and CPU Bus Units to facilitate identification when assigning words or other operating parameters The process of transferring
187. rk Link Systems include the following SYSMAC BUS Remote I O Systems SYS MAC BUS 2 Remote I O Systems SYSMAC LINK Systems Host Link Sys tems and SYSMAC NET Link Systems Any of the Units used to connect a PLC to a Link System These include Re mote I O Units SYSMAC LINK Units and SYSMAC NET Link Units The processes of copying data either from an external device or from a storage area to an active portion of the system such as a display buffer Also an output device connected to the PLC is called a load A network consisting of nodes or positions in a loop arrangement Each node can be any one of a number of devices This kind of network usually operates over a small area such as a group of offices or a factory floor A table that specifies all of the networks that a PLC belongs to and the unit numbers of the Units connecting the PLC to each of these networks Ina SYSMAC NET Link System a Unit specified to manage network commu nications A number assigned to a master ina SYSMAC NET Link System This number is different from the unit number Magnetic Card Reader Unit A unit of storage equal to one million bytes Any of the areas in the PLC used to hold data or programs most significant bit word nesting Network Service Board Network Service Unit network support table node node number noise interference nonfatal error NOT NSB NSU octal odd parity OFF OFF delay offset ON O
188. rk participation status error information etc Words allo 100 words Unit Only first word of the 100 words is used cated to CPU CPU Unit to SYSMAC LINK Unit Bus Units in Polling polled node setting starting data links data link mode automatic manual set DM Area tings number of data link words for automatic data links etc Settings Rotary switch Unit number Rotary switches Node addresses Indicators LEDs 9 on Optical Unit 8 on Coaxial Unit Coaxial and Optical Units Running communications error CPU Unit error network participation polling send receive data link active Optical Unit Only Power ON Front panel connectors BNC connector Two optical fiber connectors Power supply terminal block 24 V DC Effect on CPU Unit cycle time 0 2 ms Requires an additional 1 5 ms No of words transferred x 0 001 ms when data links are used Requires additional event processing time when servicing messages Current consumption supplied 480 mA at 5 V DC 470 mA at 5 V DC from Power Supply Unit Dimensions 35 x 130 x 101 mm W x H x D SYSMAC LINK Unit Features Section 1 2 Item Specifications 302 g including F adapter 332 g including cable bracket F Adapter insulating cover Cable bracket SYSMAC LINK Communications Specifications tem NN 7 SSS Baud rate and maximum 2 Mbps fixed 2 Mbps fixed transmission distance Maximum transmission distance 1 km Maximum transmission distance 10 km Maximum dis
189. rned ON in more ON using either the then one node to Programming Device make sure the data or the user program links start even when the startup node is down Note Data link Start Stop Bit N unit number CS Series Word 0 of DM30000 100 x N Stop the data links Contents Stop the data links Switch the Data link Any node that is active 55 67 Start Stop Bit listed in the data link below from OFF to ON using either the Programming Device or the user program Note a Data link Start Stop Bit N unit number CS Series Word 0 of DM30000 100 x N b The data links will not start if there is an error in the data link ta bles in the startup node Data links can be started and stopped using the CX Net within the CX Programmer 13 Message Service Procedure Section 1 6 1 6 Message Service Procedure The following steps outline the basic procedure for using the message ser vice 1 2 dos 1 Install and wire the Units Contents a Mount tne Units to ne PLOs fe 19 b Wire the Network c Connect terminating resistance Coaxial systems only 2 Prepare for communications Contents a Set the unit number CS series CVM1 and CV series 18 PLCs only b Setthenodeaddress Oo O oo 3 Turn ON the power to the PLC contents Remas Page Tum ON The power to me PLG ET 4 Create the I O tables Contents Create the I O tables CS series CVM1 and CV series PLCs onl
190. ror in local node Data Link Status Section 4 9 4 9 2 Word Structure The following table shows the data link status in memory The numbers within the table are in order of the nodes are set in the data link table refresh param eters These will correspond to the node addresses when using automatic settings The data link status area corresponds to the first word of the words allocated to the SYSMAC LINK Unit as a CPU Bus Unit 8 to 23 Word CIO 1500 25 x unit number 8 to 23 Word Bits 0010 03 Bits 0410 07 Bits 081o 11 Bite 12t0 15 m 23 Link No 61 Link No 62 Bits 08 to 13 Address of startup node 01 to 3E Hex Bit 15 Local Data Link Active Flag ON data link active OFF data link inactive The status of the bits allocated to each node is as follows Bit 00 04 08 or 12 CPU Unit Operating Flag Bit 01 05 09 or 13 CPU Unit Error Flag Bit 02 06 10 or 14 Data Link Communications Error Flag Bit 03 07 11 or 15 Data Link Active Flag The actual words allocated to each node address for data link status are shown in the following table Unto woas UMENO Words o corewcowa 8 CIO 170810 CIO 1723 clo tssstocioise 9 CI0173310C101748 4 a co 160810 CIO 1628 12 CIO 1808t0 C10 1823 e cores to 0101673 14 lO 1856t0 C10 1873 CIO 1883 to CIO 1898 If the Local Node Data Link Active Flag bit 15 of first word 23 is OFF the data link status will be maintained as it was
191. rror display Reception data processing When the data is received without an error the 16 word data received at CIO 2000 and following words is stored in D00040 and following words on the same PLC PLC Network Instructions Section 6 2 Note To execute more than one instruction in sequence at the same port you must use the Port Enabled Flags to be sure that only one instruction is being exe cuted at the same time for any one port 6 2 9 Delay Times The two diagrams that follow indicate the sequence of processing that will enable users to calculate the maximum delay time to be expected between the time SEND 90 or RECV 98 is executed and the time the data is stored in the remote or local node s memory area ready for use by other instructions in the program SEND 90 The following diagram indicates the data flow that will yield the maximum delay time from the time SEND 90 is executed by the user program to the time the SYSMAC LINK Unit stores the data in the destination Unit s memory Note Be sure to take into account the time required for data links and program exe cution which are not included in the following example SEND 90 executed l SYSMAC LINK Unit servicing source node LINK Service processing source node Transmission processing Communications cycle Transmission delay Reception processing SYSMAC LINK Unit servicing LINK Service processing destination node destination node LINK Service processing a s
192. rst byte is allocated to node address 1 the second to node address 2 etc Each number is 2 digit hexadecimal so 00 to FF 0 to 255 decimal errors can be recorded for each node If more than 255 errors occur the number will remain at 255 6 4 7 DATA LINK STATUS READ Reads the status of the data link The various data link status information described here will not be refreshed while the data link is halted Command Block 06 03 Command code Response Block qe _ 06 03 31 bytes A AA 2 Command Response Present Max Data link code code refresh time refresh time status Status flags Parameters Status flags response This byte contains flags providing information on overall data link status as follows Bt 7 6 5 4 3 2 1 0 4 Data link table error Lerma 1 No data link table y RR 1 Automatic link word allocation 0 Allocation via data link tables a 1 Data link is active 0 Data link is halted 117 FINS Commands for SYSMAC LINK Units Section 6 4 Present and Max refresh time response The present and maximum data link refresh times in 4 digit hexadecimal in increments of 1 ms The range is 0005 to OOFF 5 to 255 ms in decimal Data link status response Four bits are allocated to each node address to provide information on the status of the data links as shown below The func tion of each of the 4 bits is shown in the diagram
193. s 165 data link area data link table data register data sharing data transfer debug decimal decrement default delimiter destination digit DIP switch distributed control DM Area DM word downloading 166 Glossary A common data area established through a data link A table of settings kept in memory that specifies what words are to be part of a data link for all PLCs involved in the link A storage location in memory used to hold data In CV series PLCs data reg isters are used with or without index registers to hold data used in indirect ad dressing An aspect of SYSMAC Link Systems and SYSMAC NET Link Systems in which common data areas or common data words are created between two or more PLCs Moving data from one memory location to another either within the same de vice or between different devices connected via a communications line or net work A process by which a draft program is corrected until it operates as intended Debugging includes both the removal of syntax errors as well as the fine tun ing of timing and coordination of control operations A number system where numbers are expressed to the base 10 In a PLC all data is ultimately stored in binary form four binary bits are often used to rep resent one decimal digit via a system called binary coded decimal Decreasing a numeric value usually by 1 A value automatically set by the PLC when the user does not
194. s Note Offsets are used to control where data is placed within the receive ar ea 11 Data Link Procedures Section 1 5 8 Start the data links Contents Method Nodes Page Start the data links Switch the Data link Data link startup node 55 67 Start Stop Bit see The Start Bit can be below from OFF to turned ON in more ON using either the then one node to Programming Device make sure the data the user program the links start even when CX Net within the CX ihe startup node is Programmer down Note a Data link Start Stop Bit N unit number CS Series Word 0 of DM30000 100 x N b The data links will not start if there is an error in the data link ta bles in the startup node 9 Stop the data links contens Method Nodes Page Stop the data links Switch the Data link Any node that is active 55 67 Start Stop Bit listed in the data link below from OFF to ON using either the Programming Device the user program the CX Net within the CX Programmer Note Data link Start Stop Bit N unit number CS Series Word 0 of DM30000 100 x N 1 5 2 Automatically Setting Data Links Data link tables can be automatically created by setting the data link mode to automatic data link table creation Use the following procedure 1 2 3 1 Install and wire the Me E n a A the Units to AUN A nodes 18 the PLCs b Wire the Network EN All nodes c Connect termi
195. s it cannot function as a data bridge or a data and communications protocol gateway C200HX HG HE CS or CV series PLC e A CQM1H series PLC supports only one Communications Unit It cannot function as a data bridge or a data and communications protocol gateway e Communications across bridges or gateways can include up to three net works including the local network data generating network Network 1 local network Network 2 Network 3 The maximum amount of data that can be sent between networks depends on the type of networks through which data is being sent The SYSMAC LINK Network is limited a maximum of 552 bytes of data in any one transmission including the header If a transmission passes through a SYSMAC LINK Net work as shown in the figure on the preceding page the amount of data is lim ited to 552 bytes Although 2 012 bytes of data including the header can be sent and received with a Controller Link Network if a transmission between two Controller Link Network passes through a SYSMAC LINK Network the amount of data would need to be limited to 552 bytes per transmission Refer to the manual for the network you are using to determine the maximum amount of data that can be handled 85 Routing Tables Section 5 2 5 2 Routing Tables N Caution Routing tables are required for data exchange with other networks or when more than one SYSMAC LINK Unit Controller Link Unit or Ethernet Unit is mounted on t
196. s digit The node address must be between 01 and 62 Each SYSMAC LINK Unit in a Network must have a unique node address Node number 53 Node number 7 NODE z DO NODE v2 ava No No X 10 W x 10 x 10 x 10 SW2 SW3 SW2 SW3 Note 1 Always turn OFF the PLC power before setting or changing node ad dress 2 If the node address set on the Unit is outside of the allowed range 01 to 62 acommunications error will occur and the red ERC indicator will light on the Unit 3 Each Unit in the network must have a unique node address so be sure not to use the same address on more than one Unit 4 The token is passed from node to node according to node addresses so the more dispersed the node addresses are the greater distance the to ken has to travel In optical fiber systems the communications cycle time depends on the distance the token has to travel so set node addresses in the same order as the nodes positions in the network if possible 5 If you change a node address start up the changed node last and have it participate in the network last 3 4 Network Address Setting Setting Setting Range It is necessary to set a network address on each PLC for data exchange between networks By setting the network address the local node can exchange data with a destination node even if there is another network between them Use the Support Software to set the network address in the routing tables in the CPU Unit r
197. s of applications for which particular attention must be given This is not intended to be an exhaustive list of all possible uses of the products nor is it intended to imply that the uses listed may be suitable for the products e Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual e Nuclear energy control systems combustion systems railroad systems aviation systems medical equipment amusement machines vehicles safety equipment and installations subject to separate industry or government regulations e Systems machines and equipment that could present a risk to life or property Please know and observe all prohibitions of use applicable to the products NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM PROGRAMMABLE PRODUCTS OMRON shall not be responsible for the user s programming of a programmable product or any consequence thereof No 6182 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 significan
198. s set correctly A non existing file has been specified Check whether the correct file name was used A verification error has occurred Check whether the memory contents are correct and replace if incorrect The specified area is read only or is If the specified area is read only the write write protected cannot be performed If it is write protected turn off the write protect switch and execute the instruction again 07 1 0 21 Write not possible The program area is protected Execute the instruction again after issuing the PROGRAM AREA PROTECT CLEAR command The number of files exceeds the maxi Write the file s again after erasing mum permissible unneeded files or use a different disk or Memory Card that has free space 05 A non existing program number has Check the program number and be sure been specified that it is set correctly A non existent file has been specified 07 The specified file already exists Change the name of the file and execute the instruction again 22 Not executable in cur 01 The mode is wrong executing 06 The PLC isin RUN mode Check the PLC s mode 07 The specified node is not the control Check which node is the control node node The mode is wrong and the step can Check whether the step has active status or not be executed not 23 No Unit A file device does not exist where spec The Memory Card or disk is not installed ified The specified memory does
199. sauces O slots Mount to up to four of these slots CS series Expansion Racks CS1W BI108 CS1W Bl083 CS1W BI053 CS1W BI033 CS1 Expansion Rack SYSMAC LINK Units can be mounted to the 3 5 8 10 slots shown in the diagram on the right 3 5 8 10 slots C200H Expansion Rack C200H Expansion I O Rack PS Power Supply Unit SYSMAC LINK Units cannot be mounted to Expansion I O slots CPU CPU Unit Note Up to 16 CPU Bus Units may be installed to on PLC 2 4 Cable Connections SYSMAC LINK Units can be connected with either coaxial cable or optical fiber cable This section describes the procedures required to connect these cables 2 4 1 Coaxial Units This section describes the procedures required to connect SYSMAC LINK Units with coaxial cables Required Components 1 2 3 1 Coaxial cable and Connectors Use the 5C 2V coaxial cable designed for indoor use Install connectors on each end of the cable Cables must be continuous No intervening cable connectors or breaks are permitted OMRON recommends the following cables and connectors 2 F Adapters C1000H CE001 Coaxial cables are connected to the SYSMAC LINK Units via F Adapters One F Adapter is included as an accessory with SYSMAC LINK Units that use coaxial cables CV500 SLK21 3 Terminator C1000H TERO1 Two Terminator units sold separately are required one for the F Adapter at each end of the network 19 Cable Connections Section 2 4 Connection
200. sing unit A special Unit used with CS series PLCs that mounts to the CPU bus This connection to the CPU bus enables special data links data transfers and pro cessing The main Rack in a building block PLC the CPU Rack contains the CPU a Power Supply and other Units The CPU Rack along with the Expansion CPU Rack provides both an I O bus and a CPU bus Any of the following PLCs C2000H C1000H C500 C200H C40H C28H C20H C60K C60P C40K C40P C28K C28P C20K C20P C120 or C20 An acronym for clear to send a signal used in communications between elec tronic devices to indicate that the receiver is ready to accept incoming data A programming package run on an IBM PC AT or compatible to serve as a Pro gramming Device for CV series PLCs A form of communications usable only with CV series PLCs See C mode Any of the following PLCs CV500 CV1000 CV2000 or CVM1 See CV Support Software One unit of processing performed by the CPU including SFC ladder program execution peripheral servicing I O refreshing etc The cycle is called the scan with C series PLCs The time required to complete one cycle of CPU processing An area in the PLC s memory that is designed to hold a specific type of data In communications the number of bits that is to be treated as one unit in data transmissions An automatic data transmission operation that allows PLCs or Units within PLCs to pass data back and forth via common data area
201. sion 1 1 SEND 90 RECV 98 or CMND 490 format 1 N SEND 90 or CMND 490 data broadcast no response Max number of words 126 with Ethernet 62 with SYSMAC LINK and 32 with Controller Link SEND 90 RECV 98 256 words 512 bytes max CMND 490 542 bytes max Data content SEND 90 Command response data for data transmission RECV 98 Command response data for data reception mn CMND 490 Command response data for supported functions Communica Ports 0 to 7 tions ports 8 ports can be used at the same time for data exchange Response time 0000 2 s out time 0001 to FFFF User settings in increments of 0 1 s 0 1 to 6553 5 s Number of Oto 15 retries 6 2 3 PLC Memory Areas The memory areas that can be used for data transfer depend on the model of PLC as shown in the following table Be sure not to exceed the end of a mem ory area when sending or receiving data Also be sure to set the operands so that the end of the data area is not exceeded eoo coomecoew Wokarea WO00 10 WS Holding Area HOOO to H511 lO Note 1 Writing is not possible to words A000 through A447 in the Auxiliary Area 2 A maximum of thirteen banks can be used for Expansion DM For details on the EM Area and the number of banks refer to the operation manual for the PLC model that is being used 93 PLC Network Instructions Section 6 2 3 When executing the SEND 90 or RECV 98 instruction on memory in the LR Area H
202. sion paths with a backup power sup ply the backup power supply is given priority Turn ON the backup power supply first then turn ON the PLC power supply or turn ON both the backup power supply and the PLC power supply at the same time Com munications data will be corrupted is the backup power supply is turned ON and OFF 143 Node Bypass Section 8 4 2 A 24 VDC backup power supply is supplied directly to CS series SYS MAC LINK Units With non CS series optical fiber SYSMAC LINK Units a 100 VAC or 200 VAC backup power supply is supplied using an Auxil lary Power Supply Unit mounted on the same Rack 144 SECTION 9 Unit Replacement The SYSMAC LINK Unit is a network device If the Unit is damaged it will affect the entire Network so always ensure repairs are undertaken immediately We recommend that you have a spare SYSMAC LINK Unit on hand so that repairs may be conducted quickly This section describes the replacement procedure and provides cautions for Unit replacement Oat Replace te WING rat Ree oe tae ao ko oe 146 9 1 1 Settings after Replacement 0 0 0 eee eee 146 9 1 2 Resetting Network Parameters 0 0 0 0 e eee 146 92 Replacement Procedure spines pce va Bae AA eee es 147 9 3 Using the C200H SLK21 or CIOOOH SLK21 148 145 Replacing the Unit Section 9 1 9 1 Replacing the Unit Observe the following precautions when replacing the Unit e Always turn OFF t
203. specifically set another value Many devices will assume such default conditions upon the ap plication of power A code sent during communications between devices to indicate the end of the current transmission but not the end of the entire transmission See termina tor The location where an instruction places the data on which it is operating as opposed to the location from which data is taken for use in the instruction The location from which data is taken is called the source A unit of storage in memory that consists of four bits Dual in line package switch an array of pins in a signal package that is mount ed to a Circuit board and is used to set operating parameters A automation concept in which control of each portion of an automated system is located near the devices actually being controlled i e control is decentral ized and distributed over the system Distributed control is a concept basic to PLC Systems A data area used to hold only word data Words in the DM area cannot be ac cessed bit by bit A word in the DM Area The process of transferring a program or data from a higher level or host com puter to a lower level or slave computer If a Programming Device is involved the Programming Device is considered the host computer EEPROM electrical noise EM Area EPROM error code even parity event processing Expansion CPU Rack Expansion I O Rack FA factory computer fatal err
204. ssions for the various words in it The data link words in each PLC are defined by a data link table which includes both common link parameters and refresh parameters The common link parameters define the words output by each node in the data link and are thus the same for all nodes and the refresh parameters define the words input by each node and can thus be different for each node Data link tables can be generated automatically or manually Automatic gener ation is accomplished simply by setting parameters in the DM Area Manual generation is accomplished by setting specific data links from the CX Net in CX Programmer The following diagram shows the operation of a data link among four nodes in a network This data link was generated manually l l l 1010 1020 poe 5 5 1020 5 l l l l ll ll ll 9 l l l l l l l m l l l l l l l l l l l l l males I I I ll Refresh parameters Refresh parameters Refresh parameters Refresh parameters can differ from can differ from can differ from can differ from Common link parameters the same in all nodes l l l node to node node to node node to node node to node l l l l l l Data Link Specifications Table Generation Note Controlling Data Links Section 4 2 Data link tables can be generated automatically or manually Data link tables generated automatically are identical in all PLCs in the data link with the
205. sult in malfunction if foreign matter enters the Unit e Remove the label after the completion of wiring to ensure proper heat dis sipation Leaving the label attached may result in malfunction e Use crimp terminals for wiring Do not connect bare stranded wires directly to terminals Connection of bare stranded wires may result in burning e Double check all wiring and switch settings before turning ON the power supply Incorrect wiring may result in burning e Wire all connections correctly e Mount Units only after checking terminal blocks and connectors com pletely e Be sure that the communications cable connectors and other items with locking devices are properly locked into place Improper locking may result in malfunction e Use special packing box when transporting the SYSMAC LINK Unit Han dle the product carefully so that no excessive vibration or impact is applied to the product during transportation e Check the user program for proper execution before actually running it on the Unit Not checking the program may result in an unexpected opera tion e Observe the following precautions when wiring the communications cable or backup power supply cables e Separate the cables from the power lines or high tension lines e Do not bend the cables beyond their natural bending radius e Do not pull on the cables XVI Conformance to EC Directives 6 e Do not place heavy objects on top of the cables e Route cables i
206. t CV ICVM1 eters Start word CIO EE Area local node data link start address CIO 1000 DM Area local node data link start address D00000 Refresh nodes Node refresh order 2 5 6 8 Node addresses are listed in order with the starting node address first Because here the local node is listed first node 2 will first send data and then received data in order from nodes 5 6 and 8 Note When setting data link tables for CS series SYSMAC LINK Units with CX Pro grammer Ver 1 2 Service Pack 1 set the PLC type to CV CVM1 With CX Programmer Ver 2 0 or later it is possible to set a CS series PLC type Setting Tables for Other Nodes Node 5 Table Node address Local node address 5 Common link Number of words in CIO Area local node send size 15 words parameters CIO Area Number of words in DM Area local node send size 10 words DM Area 54 Controlling Data Links Section 4 8 Item Setting Refresh param PLC type Select CV CVM1 eters Start word CIO CIO Area local node data link start address CIO 1000 DM Area local node data link start address D00020 Refresh nodes Node refresh order 2 5 6 Node 6 Table Node address Local node address 6 Common link Number of words in CIO Area local node send size 5 words parameters CIO Area Number of words in DM Area local node send size 5 words DM Area Refresh param PLC type Select CV CVM1 eters Start word CIO CIO Area local node data li
207. t 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 Please consult with your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANCE DATA Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty lt may represent the result of OMRON s test conditions and the users must correlate it to actual application requirements Actual performance is subject to the OMRON Warranty and Limitations of Liability ERRORS AND OMISSIONS The information in this manual has been carefully checked and is believed to be accurate however no responsibility is assumed for clerical typographical or proofreading errors or omissions
208. t data links set the DM parameter areas DM area words allocated to the SYSMAC LINK Unit as a CPU Bus Unit using a Pro gramming Console or the PLC Memory Window in CX Programmer 1 2 3 1 Start CX Net from the CX Programmer by selecting Tools and then Net work Configuration Tool 2 Open the CX Server file CDM in CX Net or create a new file in CX Net by selecting Project and then Open in CX Net 3 Start the Data Link Editor to create the data link tables by selecting Data Link and then Editor e If creating the same data link tables in all nodes start the Data Link Engineer from the Data Link Editor by selecting Table and then Data Link Engineer e If creating different data link tables for each node create data link pa rameters for each node by editing tables for each node individually 67 CX Programmer Procedures Section 4 12 4 Check the data link tables from the Data Link Editor by selecting Table and then Check 5 Save the data link tables from the Data Link Editor by selecting File and then Save or Save as 6 Connect to the network from CX Net by selecting PLC and then Open 7 Read the data link tables and transfer them to the PLC using the Data Link Setup Dialog Box from CX Net Select Data Links and then Setup 8 Start the data links using the Data Link Status Dialog Box from CX Net Se lect Data Link and then Status Note Data link tables cannot be set for the C200H SLK21 and C1000H SLK21 Refer
209. t that is designed for a specific purpose Special I O Units include Position Control Units High speed Counter Units Analog I O Units etc Static random access memory a data storage media A group of instructions placed separate from the main program and executed only when called from the main program or activated by an interrupt Abbreviation for set value Execution of programs and servicing operations in which program execution and servicing are synchronized so that all servicing operations are executed each time the programs are executed The form of a program statement as opposed to its meaning For example the two statements LET A B B and LET A B 2 use different syntaxes but have the same meaning 175 syntax error SYSMAC LINK System SYSMAC NET Link System SYSMAC NET Link Unit system configuration system error system error message terminator timer TR Area TR bit transfer transmission distance UM area Unit 176 Glossary An error in the way in which a program is written Syntax errors can include spelling mistakes i e a function code that does not exist mistakes in spec ifying operands within acceptable parameters e g specifying read only bits as a destination and mistakes in actual application of instructions e g a call to a subroutine that does not exist A communications system used to create data links and enable network com munications between PLCs A
210. ta Links The operation of data links procedures required to establish data links and methods of monitoring data link operations are described in this section APN IntrOduCuOMn esir enen Sates a ios Bee Bee Re eee ake esa ees 4 2 Data Link Specifications s 4 0 3 64 kako as 4 3 Data Link Indicators vn Eso ed ae eer eed Aceh e sek eas A d Data Link Settings ets ada is ole A Az Rotary SWICHES cc irse EA 4 4 2 Specifying Data Link Mode and Number of Data Link Words 4 4 3 Data Link Start Stop Blt oooooooooooooo oo As Creatine Data Link S rana aia ee eS 4 5 1 Automatic and Manual SettidgS ooooooooo eee eee 4 5 2 Automatic Data Link Tables o oooooooo oo oo 4 5 3 Manually Generating Data Link Tables dS Table Backup da A A A eo eee 4 6 Data Link Area Allocations oooooooooooooooooooooso 4 6 1 Automatic SettidgS o ooo 4202 Manual Settini See rara 4 6 3 Refreshing Data Links with Automatic Settings 4 6 4 Refreshing Data Links with Manual Settings 4 7 Data Link Table Example ora ld de is ee DEA 4 8 Controlling Data Links metiste ria 4 8 1 DM Parameter Area Software Switches 4 8 2 DATA LINK START HALT Commands 4 8 3 CX Net in CX Programmer 0 0 ccc eens to Data Enk Status ii es idee ee ee oe eRe Rae a a oe 4 9 Data ink Stata dain
211. ta link tables file Sample sl3 and then click the Open but ton The data link tables will be read as follows Data Link Setup SYSMAC LINK l l m Common Link OO Mode Information _ _ _ _ _ _ _ Cl The data link parameters Common Link gt Start Channel Zn Parameters and Refresh Parameters will P clo 1000 p New be displayed when the data link tables are Dhl 500 A cae A Status 7 a 2 Refresh Parameters tems 3 Info fon o1 cio 020 bm oso saveas 02 02 ClO 020 Dit 030 03 03 Cle 020 Oh O30 Edit fe Click the Write button to transfer the data link tables to the PLCs Refer to Data Link Setup SYSMAC LINK Dia log Box Functions below for other but ton functions fat Afa Read Write VWerity Delete Online Status Transferring Data Link Tables 1 23 1 Select the destination PLC node address in the Nodes Field under Com mon Link or select the Operate on all Nodes in Network Checkbox lf Operate on all Nodes in Network is selected you can transfer data link tables simultaneously to all PLCs 2 Click the Write button e Data link tables will start to be transferred to the nodes set in the Nodes Field or to all the nodes on the same network e When the transfer is finished the bottom of the window will be dis played as follows Read a werify Delete Online Status Download complete
212. tance between nodes Crimp cut 800 m adhesive polishing 1 km The maximum distance between nodes is determined by the connector cable process ing method Transmission path Coaxial cable 5C 2V 2 carrier hard plastic clad quartz optical fiber cable Node connection BNC connector Special full lock connector a half lock con nector can also be used Number of nodes 62 max Number of data link words Send words per node 508 words max 254 words in CIO Area 254 words in DM Area Data link words send and receive that can be created in a single SYSMAC LINK Unit 2 966 words max CIO Area DM Area Data link words Automatic settings CIO 1000 to CIO 1063 Data Link Area D00000 to D00127 DM Area Manual settings CIO 0000 to CIO 6143 entire CIO entire DM Area D00000 to D32767 When creating manually set data link tables using CX Programmer Ver 1 2 or earlier the words that can be set by the user are limited to the same words as for CVM1 CV as fol lows CIO Area CIO 0000 to CIO 2555 DM Area D00000 to D24575 Message length 552 bytes max including header RAS functions Automatic polling node backup self diag Automatic polling node backup self diag nostics startup hardware check internode nostics startup hardware check internode testing broadcast test using FINS com testing broadcast test using FINS com mand watchdog timer error log mand watchdog timer error log failed node bypass Erro
213. te the service from a node that is part node because the local node is not part of the data link of the data link The communications cycle time in the Either use the automatic setting or increase data link table is too short The LNK _ the setting manually indicator will be flashing rapidly Service cannot be executed because Check the command format and make the the necessary settings have not been necessary settings made in the command data The specified action or transition num Execute the command again using an ber has already been registered action or transition number that has not been registered Cannot clear error because the cause Eliminate the cause of the error and exe of the error still exists cute the ERROR CLEAR command 30 Access right error 01 The access right is held by another Execute the command again after the device access right has been released The command can be executed after the ACCESS RIGHT FORCED ACQUIRE or ACCESS RIGHT RELEASE command is completed Releasing the access right might affect processes in progress at the node that held the access right Network Relay Errors For network relay errors using SEND 90 or RECV 98 check the path of the command using the routing tables and the nature of the error using the response code to eliminate the cause of the error For network relay errors using CMND 490 the location of the relay error is recorded in the second and third words of
214. the response as shown below Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 First word 0 0 0 O D O N a gt Command code Bit 15 14 13 12 11109 8 7 6 5 4 3 2 1 0 Second word Main response code Sub response code A A A 1 Relay Error Flag 1 Nonfatal CPU Unit Error Flag apesar 1 Fatal CPU Unit Error Flag Bit 15 14 13 12 11 109 8 7 6 5 4 3 2 1 0 Third word Error network address Error node address Network error address 00 to 7F 0 to 127 Node error address SYSMAC LINK 01 to 3E 1 to 62 Controller Link 01 to 20 1 to 32 135 Troubleshooting Section 8 1 Ethernet 01 to 7E 1 to 126 SYSMAC NET 01 to 7E 1 to 126 Relay Errors A relay error is caused when a command fails to reach the Unit to which it has been sent A relay error can be caused either by data failing to be passed between Communications Units connected over a network see example 1 or by data being passed from a Communications Unit to a Unit that is not a Communications Unit e g to a CPU Unit see example 2 A relay error may also occur if the destination node or the next relay node does not exist Example 1 Data fails to be passed between Communications Units due to a routing table error 136 1 PS Power Supply Unit CPU CPU Unit
215. tically become the new polling node SLK SYSMAC LINK Unit SLK SLK SLK Node 2 Node 3 Node N PLC PLC PLC Previous polling node Note New polling node While the network is being reconstructed no communications are possible If the data link function was active all data will remain at its present values When the network has been reconstructed the data links will be reactivated The approximate time required for the reconstruction of the network can be computed as follows Address of new polling node 1 x 20 ms maximum node address x 1 ms 8 4 Node Bypass Optical SYSMAC LINK networks can be connected to a backup power supply If a backup power supply is provided the node bypass function of the SYS MAC LINK Units will operate whenever a node or node power supply fails The failing node will be bypassed in the network and the overall network will con tinue operating preventing total network shutdown In this example if the Unit assigned node address 3 has an error the node bypass function will eliminate this node from the network and the remainder of the network will continue functioning Optical transmission path SLK11 pee gt SLK11 iS SLK11 e SLK11 PO Node 1 eee ed A PLC PLC PLC PLC Error occurred Backup power supply SLK11 SYSMAC LINK Unit Note 1 With systems using optical transmis
216. tings Section 2 2 2 2 Switch Settings The SYSMAC LINK Unit provides rotary switches on the front panel with which to set the node address NODE NO and unit number You must turn OFF the PLC before setting the rotary switches If you have changed the set tings when the PLC is not turned OFF you must restart the SYSMAC LINK Unit or the PLC to use the new settings Switch Positions The switches are positioned as shown in the following diagram swi UNIT No NODE No x10 x 10 SW2 SW3 Set the unit number with SW1 Set the node address with SW2 and SW3 The setting ranges are given in the following table Settings Values Dorner Eevee tenons fe Unit number OtoF pe Each Unit in the Erie data must UNIT No PA O a Erie data unit number Node address 01 to 62 decimal Each node on the network NODE No must have a unique address x101 x100 2 3 Mounting to Backplanes Up to a total of four SYSMAC LINK Units coaxial and optical can be mounted on the CPU Rack or CS series Expansion Racks SYSMAC LINK Units cannot be mounted on C200H Expansion Racks or Slave Racks Note Tighten the screws on the Backplane to a torque of 0 9 Nem Tighten the mounting screws on the Units to a torque of 0 4 N e m 18 Cable Connections Section 2 4 CPU Rack CS1W BC103 CS1W BC083 CS1W BC053 CS1W BC033 CS1W BC023 P CPU Rack S SYSMAC LINK Units can be mounted to the 2 3 5 8 10 slots shown in the diagram on the right
217. tion is being executed and it goes OFF when the execution of the instruction has been completed The 10 word data starting from D00010 on the local PLC is sent to D00020 and following words on the PLC with a unit address of 0 node address of 4 and network address of 2 DO0000 00 OA Number of words 10 D00001 00 DO00002 04 Destination network address 2 Destination node address 4 Destination unit address 0 Communications port No 7 Number of retries 5 DO0003 07 D00004 00 Storing the Send Data The 10 word data starting from 0000 is stored in D00010 and following words Response monitor time 10 s Transmission error display The RECV 98 program will run when CIO 000001 is ON provided that the Enabled Flag for port 7 is ON and the SEND 90 instruction has not been executed CIO 120002 is ON while the RECV 98 instruction is being executed and it goes OFF when the execution of the instruction has been completed The 16 word data starting from A100 on the PLC with a unit address of 0 node address of 48 network address of 3 is stored at CIO 2000 and following words a the local PLC D00005 00 Number of words 16 D00006 00 D00007 30 Destination network address 3 Destination node address 48 Destination Unit address 0 D00008 07 Communications port No 7 Number of retries 15 D00009 00 Response monitor time Default Reception e
218. tion of the PLC or another exter nal factor affecting the PLC operation Not doing so may result in serious accidents e Emergency stop circuits interlock circuits limit circuits and similar safety measures must be provided in external control circuits e 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 Operating Environment Precautions 4 e The PLC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors As a counter measure for such problems external safety measures must be provided to ensure safety in the system e When the 24 VDC output Service power supply to the PLC is overloaded or short circuited the voltage may drop and result in the outputs being turned OFF As a countermeasure for such problems external safety measures must be provided to ensure safety in the system N Caution Confirm safety at the destination node before transferring a program to another node or changing the I O memory area Doing either of these without confirming safety may result in injury 4 Operating Environment Precautions N Caution Do not operate the control system in the following places e Locations subject to direct sunlight e Locations subject to temperatures or
219. to 9 3 Using the C200H SLK21 or C1000H SLK21 for details 4 12 2 Data Link Settings System Configuration Node 2 CVM1 PLC Node 1 CS series PLC Node 3 CS series PLC ATni ee SYSMAC LINK Network Note The network settings for the three PLCs shown above have already been saved in the CX Server file CDM For CX Server file creation refer to in the CX Programmer Operation Manual Opening CX Server Files CDM Read the CX Server file in CX Net using the following procedure 1 2 3 1 Start CX Net from the CX Programmer by selecting Tools and then Net work Configuration Tool 68 CX Programmer Procedures Section 4 12 2 Open the CX Server file CDM in CX Net or create a new file in CX Net by selecting Project and then Open in CX Net In this example Sam ple cdm is used as the file name The following dialog box will be displayed RS E Network Configuration Tool Project PLO Routing Table Data Link Help Sea Ae ez See Pie el Project Devices a mple cdm ju PCOO Model H Pegga Node n POOOS_ Modez Mode fo Meteork o Press Fl tor Help Status Off Line Mode gt Unknown Creating Data Link Tables Create the data link tables for each node entered in the CX Server file In this example the data link tables are created automatically using the Data Link Table Engineer then the parameters are changed manually Starting the Data Link Editor 1 2 3 1 Select Data Link and then Editor A dialo
220. to the PLC operating manual If the error occurs again replace the PLC Z O Check unit number settings to be sure they are within range and unique Check routing tables Check routing tables Check routing tables Check routing tables and sys tem configuration Do not try Z O O O No to access Networks sepa rated by more than one other Network Be sure to use the FINS com No mand format Be sure to use the correct FINS command format Check I O table accuracy Check Unit and cable connec tions and clear error No No No N Check unit numbers for O redundancy within the same PLC Check Unit and cable connec No tions and clear error Error Log Section 8 2 Error Contents Correction Written to sa 2nd byte Internal buffer full Bits O to 7 Bits 8 to 14 Bit 15 OFF 0117 Hex 0118 Hex 0206 Hex Bits O to 7 Destination Bits 8 to 14 Destination address Bit 15 ON 1st byte bits 8 2nd byte bits 0 Network parameters maximum node address Illegal packet discarded Number of participating nodes decreased local node still partic ipating Number of participating nodes decreased local node not partic ipating Polling node changed Address of 0207 Hex 0208 Hex previous poll ing node 0209 Network parameter disagree 00 Hex Hex ment error 020C Time out with token 00 Hex Hex 0210 Communications controller send 00
221. ttings Wem Range Cotes Destination net 1 to 127 The network address of the desig work nated node Relay network 1 to 127 The address of the network through which the destination network can be reached Relay node 1 to 62 for SYSMAC LINK The address of the node on the relay 1 to 32 for Controller Link network through which the destina 1 to 126 for Ethernet tion network can be reached Create the routing tables using CX Net in CX Programmer as shown below Here the procedure for CX Net in CX Programmer Ver 1 2 Service Pack 1 is given as an example e Local Network Table Local network address is 10 and the SYSMAC LINK Unit s unit number is 5 e Relay Network Table Destination network address is 20 relay network address is 10 and relay node address is four Routing Table Examples Section 5 3 The local network table and relay network table are input as follows wi Urtitledrt3 Routing Table Editor FINS File Table Help Ole al ejN Pele 2 E020 010 inode O04 E 030 F010 node O05 Table tems Table Items For Help press Fl CAP NUM Setting Ranges Network address 1 to 127 010 15 Node address SYSMAC LINK 1 to 62 Controller Link 1 to 32 Ethernet 1to126 5 3 Routing Table Examples Local Network Table The following illustration shows an example of local network table settings for a single PLC with more than one CPU Bus Unit Ethernet Network Network address B SYSMAC LI
222. twork to commu nicate with or automatically exchange data with other PLCs in the same Net work and to communicate with interconnected Networks The specialized communications LSIs used in all SYSMAC LINK Units deliver high speed reliability and flexibility in an advanced data link system while optical fiber cable systems provide high speed communications with unparal leled immunity to noise In the event of an error or failure in the polling node another node automati cally takes over management of the SYSMAC LINK System without stopping the entire network The CX Net within the CX Programmer can monitor and or program PLCs anywhere in the network via the SYSMAC LINK System The data link function transfers data to and from other nodes automatically establishing simple but powerful peer to peer links between nodes Data links can be generated automatically or the user can use the flexibility of manually generating data links to eliminate unused link words improve data link I O response time and to even create several data link groups in one network The data link communications cycle time can be fixed at a constant value so even simultaneous remote programming monitoring and NETWORK READ WRITE instructions RECV 98 SEND 90 execution have no effect on the data link I O response time The data link function allows data exchange not only between PLCs but also between PLCs and host computers in the network making it possible to dev
223. ulations The examples below calculate the communications cycle time for both coaxial and optical fiber cable with the following characteristics Maximum node address 62 Maximum number of frames 10 Number of polled units 4 Number of Link Units 32 Total number of words 2 000 Communications cycle time coaxial cable systems 62 x 0 085 ms 10 x 0 654 ms 4 x 0 75 ms 32 x 0 056 ms 2000 x 0 01 ms 1 322 ms 37 924 ms 38 ms after rounding Communications cycle time optical fiber cable systems 62 x 0 1115 ms 10 x 0 77 ms 4 x 0 75 ms 32 x 0 056 ms 2000 x 0 01 ms 1 322 ms 40 727 ms 41 ms after rounding Note Data links might not operate correctly if the communications cycle time is set to a value shorter than that generated automatically by the system If the LNK indicator on the front of a CS series SYSMAC LINK Unit CS1W SLK11 12 flashes quickly at approximately 100 ms intervals either automatically set the communications cycle time for the data link table or manually set the communications cycle time to a longer value Changing the Communications Cycle Time When the communications cycle time is generated automatically it can be changed by changing the other network parameters on the Support Software The default values and setting ranges of the other network parameters are shown in the table below Network parameter Default value Setting range Maximum node address 2 to 6
224. ultiple networks The four networks listed below can be interconnected to achieve this FA Networks e SYSMAC NET Networks e SYSMAC LINK Networks e Controller Link Networks OA Network e Ethernet Networks 5 1 1 Interconnecting SYSMAC LINK Networks SYSMAC LINK Networks can be connected through a CS series CVM1 or CV series PLC SYSMAC LINK Network SYSMAC LINK Network CS series CS series CVM1 or CVM1 or CV series PLC see note CV series PLC Note A data bridge is created between SYSMAC LINK Units mounted on the same CS series CVM1 or CV series PLC 5 1 2 Interconnecting Different Types of Networks A CS series CVM1 or CV series PLC can be used to connect a SYSMAC LINK Network with an Ethernet SYSMAC NET or Controller Link Network CS series CS series CVM1 or CVM1 or CV series PLC see note CV series PLC Note A data and communications protocol gateway is created between a SYSMAC LINK Unit and an Ethernet SYSMAC NET or SYS MAC LINK Unit mounted to the same CS CVM1 or CV series PLC Note 1 A bridge is used between Communications Units to connect the same type of networks 84 What is Network Interconnection Section 5 1 2 A gateway is used between Communications Units to connect different types of networks Bridge Gateway SYSMAC LINK SYSMAC LINK SYSMAC LINK Ethernet Data Data and communications protocol gateway e Although a C200HX HG HE PLC supports up to 2 Communications Unit
225. undant Hex node address 0107 Transmission failed destination Hex node not in Network 0108 Transmission failed specified Hex Unit does not exist Section 8 2 Detail code Correction Written to 1st byte 2nd byte EEPROM 01 Hex Read 01 Hex Set the appropriate data Yes error 02 Hex Write error Command block Bits O to 7 Source node address Bits 8 to 14 Source Network address Bit 15 OFF Response block Bits O to 7 Destination node address Bits 8 to 14 Destination Network address Bit 15 ON 1st byte bits 8 to 15 2nd byte bits O to 7 Data link table 02 Hex Net work param eters 03 Hex Routing table 04 Hex PLC Setup Area Release the CPU Unit write Y protection Refer to page 8 1 1 Error Indi cations and place the local node into Network Using the CX Net or FINS commands run echoback tests and check operating environment if errors occur Reduce the number of events per communications cycle or increase the maximum num ber of network parameter frames Check node address settings to be sure they are within range and unique Correct node addresses so that they are unique within the same Network Refer to 8 1 1 Error Indica tions and place destination node into Network Check the unit address and unit number of destination es No No No No No No No 139 Error Log Section 8 2 Error Contents Correction Written to
226. upply leave the label in place 2 When wiring is complete remove the label to avoid overheating 3 Use a power supply that is not connected to PLC operation as in the case of the node bypass function for the backup power supply so that when the power to the PLC is turned OFF the backup power supply will contin ue 4 Use a dedicated power supply for the backup power supply Do not share a power supply being used for I O motors or control systems 5 When two or more nodes are connected to a single backup power supply wire each node separately Backup power Backup power supply supply Note Unlike the CV500 SLK11 the CS1W SLK11 does not require an Auxiliary Power Supply Unit for the node bypass function Instead directly connect a 24 VDC external power source as a backup power supply Attach crimp terminals to the power supply cable when connecting the backup power supply to the SYSMAC LINK Unit C T Backup 24 VDC power supply Crimp Terminals Use an M3 crimp terminal as illustrated below 30 Cable Connections Section 2 4 Recommended Crimp Terminals Manufacturer Suitable wiring range Japan Crimp Termi V1 25 N3A Vinyl insulated 0 25 to 1 65 mm2 nals KK forked terminal AWG 22 to 16 V1 25 MS3 Vinyl insulated round terminal MOLEX JAPAN VSY1 25 3 5L Vinyl insulated 0 3 to 1 65 mm2 CO LTD forked terminal AWG 22 to 15 RAV1 25 M3 Vinyl insulated round terminal Note 1 Always turn
227. urposes may also be used as work words A switch used to write protect the contents of a storage device e g a floppy disk If the hole on the upper left of a floppy disk is open the information on this floppy disk cannot be altered A state in which the contents of a storage device can be read but cannot be altered 177 A C automatic generation of data link tables 47 broadcast test 119 cables connecting transmission cables 19 optical 25 Optical Fiber Cables 27 characteristics data link 62 coaxial cable See also cables communications cables optical 25 data exchange timing 64 data processing time 65 preparations 10 testing broadcast test 119 internode echo test 118 token bus 34 communications cycle 34 communications cycle time 37 data link 62 Connectors installation 28 Controller Link network remote 124 Controller Link Units CS series PLCs 16 CS series PLCs installation 18 CV mode command set DATA LINK START 112 ERROR LOG CLEAR 121 ERROR LOG READ 120 HALT DATA LINK 112 RESET 112 CV mode commands command set BROADCAST TEST DATA SEND 119 BROADCAST TEST RESULTS READ 119 CONTROLLER DATA READ 113 CONTROLLER STATUS READ 113 DATA LINK STATUS READ 117 INTERNODE ECHO TEST 118 NETWORK STATUS READ 115 errors 131 for SYSMAC LINK Units 112 121 Index response codes errors 131 CX Net 9 CX Programmer 9 D data link 42 86 characteristics 62 communications cycle time 62
228. using a C200HW SLK13 14 23 24 with a C20OHX HG HE mounted to it however the SEND 90 or RECV 490 instructions can be executed for all areas except for the Work Area and Holding Area in CS series PLCs and the CPU Bus Line Area in CVM1 or CV series PLCs by using indirect addressing Refer to the C series SYSMAC LINK System Manual W174 for details 8 Specification of indirect DM Area from a C series PLC corresponds to the EM Area s current bank Use indirect addressing to access a specified bank number of the EM Area from a C series PLC 6 2 4 Communications Ports Timing Communications Ports 94 When the SEND 90 RECV 98 or CMND 490 instructions have been exe cuted the status of the execution will be stored in the Auxiliary Area of the PLC according to the communications port Using this status information the PLC can adjust the timing of SEND 90 RECV 98 or CMND 490 execution from the user s program Eight communications ports can be used simultaneously to execute the SEND 90 RECV 98 or CMND 490 instructions but only one instruction PLC Network Instructions Word BE Port number corresponds to bit number i e Network Instruction A202 Enabled Flag Network Instruction Error Flag Note Communications Instruction Response Codes Flag Timing Port Enabled Flag port 0 Port Execution Error Flag port 0 Response code port 0 Note Response code for the previous command Sectio
229. ustment of the number of ON bits in a word or other unit of data so that the total is always an even number or always an odd number Parity is generally used to check the accuracy of data after being transmitted by confirming that the number of ON bits is still even or still odd Checking parity to ensure that transmitted data has not been corrupted An acronym for Programmable Controller The arrangement and interconnections of the Units that are put together to form a functional PLC With building block PLCs all of the Racks and independent Units connected directly to them up to but not including the I O devices The boundaries of a PLC System are the PLC and the program in its CPU at the upper end and the I O Units Special I O Units Optical I O Units Remote Terminals etc at the lower end An acronym for printed circuit board A group of operating parameters set in the PLC from a Programming Device to control PLC operation Peripheral Device peripheral servicing PID Unit polling present value printed circuit board Programmable Controller Programming Console Programming Device PROM PROM Writer prompt protocol PV Rack Glossary Devices connected to a PLC System to aid in system operation Peripheral de vices include printers programming devices external storage media etc Processing signals to and from peripheral devices including refreshing com munications processing interrupts
230. ved commands must be prepared and loaded in the computer prior to command reception The SYSMAC LINK Unit receives and processes commands and returns the proper responses automatically Since all of the processing is handled auto matically you do not need to prepare a routine for command reception in the PLC program 6 2 PLC Network Instructions Data is sent from the PLC to other nodes PLCs or computers using the SEND 90 RECV 98 or CMND 490 instruction in the PLC user program 6 2 1 Specifying Destination Nodes Sending and Receiving Data Between Specific Nodes 92 The following two types of communication are possible Messages can be sent to or received from a specific node or it can be broadcast to all nodes The PLC s network instructions SEND 90 RECV 98 and CMND 490 can be used to transfer data to or from a node specified by network address and node address The unit address is also specified enabling communications with a specific Unit at the specified node Send data Receive data PLC Network Instructions Section 6 2 Broadcasting Data It is possible to transfer the same data to all nodes in a network simulta neously by designating the destination node as FF Hex This transmission is called broadcasting No responses are returned to broadcasts Broadcast data 6 2 2 Communications Specifications The basic specifications of the network instructions are given in the following table Transmis
231. ween O to F Hex 0 to 15 using the rotary switches on the front of the SYSMAC LINK Unit Network Parameters The following parameters are set with the Support Software CX Net within See page 36 the CX Programmen e Communications cycle time e Maximum node address e Number of polled nodes e Maximum number of frames 1 3 2 Data Links SYSMAC LINK Units can be used to create data links between PLCs and computers on the same network The data links support the following func tions Automatic settings communications using data link words with settings made automatically from settings made in PLC memory and manual settings communications using data link tables with settings made using the CX Net within the CX Programmer Automatic Settings The areas to be used in creating the data links CIO Area and or DM Area See page 49 and the number of data link words for each node are set in parameters in the DM Area Manual Settings See page 49 e Data Link Table Settings 1 3 3 The common link parameters and refresh parameters required by data links are set using Support Software Common link parameters The same for all nodes Refresh parameters Unique to each node e Data Link Area Settings The data areas i e CIO Area and or DM Area to be used in the data links are specified in the common link parameters Number of Words in Data Links The number of data link words for each node is specified in the common link parameters
232. work Table Network Unit End Relay Relay No netwk netwk node 30 5 10 30 15 20 30 15 Routing Tables on PLC 7 Local Network Table Relay Network Table Using Routing Tables 1 2 3 Unit End Relay Relay Network do netwk netwk node 30 6 10 30 15 20 30 15 The following descriptions shows how the above routing tables are used for data transmission from PLC 1 to PLC 6 using a SEND 90 RECV 98 or CMND 490 instruction 1 PLC 1 checks its relay network table and sends the data to node 5 PLC 3 on network 10 to send the data to network 30 on PLC 6 2 PLC 3 receives the data from PLC 6 checks its local network table and sends the data to node 5 PLC 6 via CPU Bus Unit with unit number 7 which is connected to network 30 3 PLC 6 checks its local network table and confirms that the data transmitted to node 5 network 30 is for PLC 6 Then PLC 6 retrieves the data 89 SECTION 6 Message Service This section describes the PLC ladder network instructions and FINS commands that can be used to transfer data and control operation via a SYSMAC LINK System 6 1 6 2 6 3 About Data Read Write Services 2 6 ws ee ance ad anes PLE Network IMstuctions 6 4 icwa lt maw teed sa as 6 2 1 Specifying Destination Nodes 0 0 00 6 2 2 Communications Specifications ssas aseeseen 6225 PEC MEMO ACAS erosta ra eIn AI
233. y 5 Register routing tables if using internetwork connections Contents emarks Page a Set the local network table b Set the relay network table 6 Create the user program Contents Remarks Page a Prepare the send and receive Stored in the memory areas of the 92 data in memory source node b Prepare the control data for the communications instruction c Check the conditions for exe The standard input conditions are cuting the SEND RECV or the Active Node Flags for the CMND instruction source and destination nodes and the Port Enabled Flag d Execute the SEND RECV or CMND instruction e Execute other instructions are The standard input condition is the required for the results of the Port Error Flags communications instruction CS series PLCs have 8 communi e g retry or error processing cations ports When 9 or more if an error occurs communications instructions are executed at the same time exclu sive control is necessary 14 SECTION 2 Unit Components and Switch Settings The names and functions of the SYSMAC LINK Unit components and switch settings are described in this section 2 1 2 2 2 3 2 4 Nomenclatura IA 2 1 1 Component Names and Functions o oooooocoocoooooooo oo Dale2 nd aO 2d so Switch Settings Mounting to Backplanes Cable Connections 2 4 1 2420 2 43 Coaxial Units Optical Units Backup Power Supply 16 16 17
Download Pdf Manuals
Related Search
Related Contents
Getriebebau NORD MCF51MM Tower Story Hardware Specification HYDRAULIC CHIPPING HAMMER AMS 700™ avec MS Pump™ (Pompe MS) Manuel d`installation du Capteur sur le Fauteuil Rotatoire Nokia 6120 Cell Phone User Manual KOHLER K-9459-G Installation Guide A tradução literária numa perspectiva metodológica HQ EL-PIRLA90 motion detector Copyright © All rights reserved.
Failed to retrieve file