background image

OPERATION

 

MANUAL

Cat. No. W383-E1-06

SYSMAC

3G8F7-CLK13-E (Optical Ring, H-PCF Cable)

3G8F7-CLK12-EV1 (Optical Ring, H-PCF Cable)

3G8F7-CLK53-E (Optical Ring, GI Cable)

3G8F7-CLK52-EV1 (Optical Ring, GI Cable)

3G8F7-CLK23-E (Twisted-pair Cable)

3G8F7-CLK21-EV1 (Twisted-pair Cable)

Controller Link Support Boards for PCI Bus

Summary of Contents for SYSMAC 3G8F7-CLK12-EV1

Page 1: ...3 E Optical Ring H PCF Cable 3G8F7 CLK12 EV1 Optical Ring H PCF Cable 3G8F7 CLK53 E Optical Ring GI Cable 3G8F7 CLK52 EV1 Optical Ring GI Cable 3G8F7 CLK23 E Twisted pair Cable 3G8F7 CLK21 EV1 Twisted pair Cable Controller Link Support Boards for PCI Bus ...

Page 2: ......

Page 3: ...EV1 Optical Ring H PCF Cable 3G8F7 CLK53 E Optical Ring GI Cable 3G8F7 CLK52 EV1 Optical Ring GI Cable 3G8F7 CLK23 E Twisted pair Cable 3G8F7 CLK21 EV1 Twisted pair Cable Controller Link Support Boards for PCI Bus Operation Manual Revised December 2018 ...

Page 4: ...iv ...

Page 5: ...f 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 abbrevia...

Page 6: ...en 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 Intel and Celeron are registered trademarks of Intel Corporation Microsoft Windows Windows Vista Windows NT Visual C Visual C NET Visual Basic Visual Basic NET and Visual ...

Page 7: ...stems 30 2 2 Connecting H PCF Cable Optical Ring System Cables 35 2 3 Optical Ring System GI Cable Wiring 41 2 4 Backup Power Supply Wiring Optical Ring Systems Only 46 SECTION 3 Creating Applications Using the C Library 49 3 1 Basic Flow 50 3 2 Using the C Library 52 SECTION 4 C Language Function Reference 55 4 1 Library Functions 56 4 2 Structure Descriptions 64 4 3 Detailed Error Information 69...

Page 8: ...s 119 7 3 Setting Routing Tables 121 SECTION 8 Communications Timing 125 8 1 Network Parameters 126 8 2 Communications Cycle Time 128 8 3 Data Link I O Response Time 133 8 4 Message Service Delay Times 135 SECTION 9 Troubleshooting and Maintenance 137 9 1 Troubleshooting Using Indicators 138 9 2 Status Information and Troubleshooting 143 9 3 Error Log 148 9 4 Cleaning and Inspection 154 9 5 Handli...

Page 9: ...o connect IBM PC ATs or compatibles to a Controller Link Network W467 3G8F5 CLK11 E 3G8F5 CLK21 E Controller Link Support Boards for ISA Bus Operation Manual Installation setup and operating procedures for Con troller Link Support Boards for ISA bus connections Controller Link Support Boards are used to connect IBM PC ATs or compatibles to a Controller Link Net work W307 C200HW ZW3AT2 E V2 Control...

Page 10: ...r Link Support Board Section 5 describes how to use data links in a Controller Link Network Section 6 explains how to use the message service provided by a Controller Link Support Board Section 7 describes the method used to connect multiple networks Section 8 explains details on Controller Link Network communications Refer to this section for net work communications that require accurate communic...

Page 11: ...chase price of the non complying Product provided that in no event shall Omron be responsible for warranty repair indemnity or any other claims or expenses 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 Return of any Products by Buyer must be ...

Page 12: ... Products Omron Companies shall not be responsible for the user s programming of a programmable Product or any consequence thereof Disclaimers Performance Data Data presented in Omron Company websites catalogs and other materials is provided as a guide for the user in determining suitability and does not consti tute a warranty It may represent the result of Omron s test conditions and the user mus...

Page 13: ...Support Board for PCI Bus You must read this section and understand the information contained before attempting to set up or operate a Controller Link Support Board for PCI Bus 1 Intended Audience xiv 2 General Precautions xiv 3 Safety Precautions xiv 4 Operating Environment Precautions xv 5 Application Precautions xvii 6 Conformance to EC Directives xviii 6 1 Applicable Directives xviii 6 2 Appli...

Page 14: ...manual before attempting to use the software and keep this manual close at hand for reference during operation WARNING It is extremely important that a Controller Link Support Board for PCI Bus and all related devices be used for the specified purpose and under the specified conditions especially in applications that can directly or indirectly affect human life You must consult with your OMRON rep...

Page 15: ...asures must be provided to ensure safety in the system Caution Execute online edit only after confirming that no adverse effects will be caused by extending the cycle time Otherwise the input signals may not be readable Caution Confirm safety at the destination node before transferring a program to another node or changing contents of the I O memory area Doing either of these without confirming sa...

Page 16: ...or the computer can have a large effect on the longevity and reliability of the system Improper operating environments can lead to malfunction failure and other unforeseeable problems with the Controller Link Support Board for PCI Bus or the computer Be sure that the operating environment is within the specified conditions at installation and remains within the specified conditions during the life...

Page 17: ...or abnormal signals caused by broken signal lines momentary power interruptions or other causes Always use the power supply voltage specified in the operation manuals An incorrect voltage may result in malfunction or burning 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 unsta...

Page 18: ...he operation manuals Improper installation may cause faulty operation When using the Optical Ring Controller Link Support Board for public util ities systems such as electricity gas or water supply use the Optical Ring mode and provide appropriate fail safe measures 6 Conformance to EC Directives 6 1 Applicable Directives EMC Directives 6 2 Applicable Directives EMC Directives OMRON devices that c...

Page 19: ... Support Boards complying with EC Directives also conform to the Common Emission Standard EN61000 6 4 Particularly for the 10 m radiated emission the structure of the control panel relations to other connected devices and wiring can affect compliance of the overall system The customer must therefore perform final checks to confirm that devices and the overall machine conform to EC standards even w...

Page 20: ...xx Conformance to EC Directives 6 ...

Page 21: ...k Support Board 10 1 1 4 Features of PCI Bus Controller Link Support Boards 11 1 1 5 Outline of PCI Bus Controller Link Support Board Functions 11 1 2 Specifications and Configurations 13 1 2 1 System Configuration 13 1 2 2 PCI Bus Controller Link Support Board Models 15 1 2 3 Communications Specifications 16 1 2 4 General Specifications 18 1 2 5 Dimensions 18 1 2 6 Indicators 20 1 2 7 Product Com...

Page 22: ...air Cable Wired Systems are supported by CS series CJ series C200HX HG HE CQM1H series CVM1 and CV series PCs Optical Bus or Optical Ring System H PCF Cable Optical Systems are supported by CS series CVM1 and CV series PCs Token Ring Mode CQM1H CLK21 Controller Link Unit CS series PC Twisted pair cable 3G8F5 CLK21 E Controller Link ISA Support Board CS1W CLK21 Controller Link Unit C200HW CLK21 Con...

Page 23: ...T or compatible CS1W CLK52 Controller Link Unit Token Ring Mode CVM1 CLK52 Controller Link Unit Token Ring Mode CS1W CLK52 Controller Link Unit Token Ring Mode CVM1 CLK52 Controller Link Unit Token Ring Mode Backup power supply 24 VDC CS series PC CVM1 or CV series PC CVM1 or CV series PC CS series PC GI Optical Fiber Cable ring connection 3G8F7 CLK52 EV1 Controller Link PCI Support Board Token Ri...

Page 24: ...tion data reading Note 1 Optical Systems and Optical Ring Sys tems only 2 Only for Optical Ring Systems in Token Ring Mode See note 1 See note 2 See note 2 See note 2 Item Specifications Number of data link words Send areas per node CS or CJ Series CS1W CLK23 or CJ1W CLK23 4 000 words max CS1W CLK21 EV1 or CJ1W CLK21 EV1 1 000 words max C200HX HG HE CVM1 CV CQM1H 1 000 words max Computers 3G8F7 CL...

Page 25: ...er board for easy system assembly and mod ification The network is equipped with the required terminating resistance built into the Units allowing the terminating resistance to be easily set at both ends of the network using a simple switch Features of Optical and Optical Ring Systems Optical fiber cable H PCF cable or GI cable has superior noise resistance so the system can provide highly reliabl...

Page 26: ...levels are possible Improved Error Handling RAS Functions Error Log and Data Link Status Display An error log enables quick handling of errors by recording the time the error occurred and error details The current Controller Link Unit and Support Board status are also available as are the data link and network status Polling Node Backup Function When an error occurs in the polling node that contro...

Page 27: ...rk Expansions Converting Network Sections to Optical Fiber and Device Modularization T Branches enable greater wiring freedom during layout restructuring and expansion of networks Wire to Wire Repeater Units enable Controller Link T Branches T Branches provide the following advantages Cabling can conform to the layout of equipment It is possible to add nodes by adding or inserting Repeater Units a...

Page 28: ...to perform unequal 1 N allocations of data between nodes with automatic data link creation This makes it easy to perform data links that for merly required the user to manually edit data link parameters The following four automatic data link creation patterns can be used Equality layout the previous pattern 1 N allocation common type 1 N allocation 1 to 1 type 1 N allocation chain type This settin...

Page 29: ...ompleted Nodes will participate in data links after changes to the data link table have been completed Note Refer to the Controller Link Unit Operation Manual W309 for information on changing user set data link tables while the data links are active Overview of 3G8F7 CLK23 E 3G8F7 CLK13 E and 3G8F7 CLK53 E Features and Functions The 3G8F7 CLK23 E 3G8F7 CLK13 E and 3G8F7 CLK53 E are upwardly compat...

Page 30: ... type of connection cable Wired System Optical System Optical Ring System H PCF Cable Model Units CS1W CLK23 CS series Unit CJ1W CLK23 CJ series Unit Support Board 3G8F7 CLK23 E Support Board for PCI Bus Model Units CS1W CLK13 CS series Unit H PCF Cable CS1W CLK53 CJ series Unit GI Cable Support Board 3G8F7 CLK13 E Support Board for PCI Bus H PCF Cable 3G8F7 CLK53 E Support Board for PCI Bus GI Ca...

Page 31: ...ckages of communications middleware These software packages must be purchased separately For details refer to the manual for the appro priate software 1 1 5 Outline of PCI Bus Controller Link Support Board Functions Data Links Controller Link Support Board data link data is stored in the event memory in the computer Event memory is shared memory with names such as DM or CIO and is stored in the co...

Page 32: ... Bus Controller Link Support Boards can be mounted to one computer Consequently multiple user applications can be executed simultaneously Computer User application ClkWriteDatalink ClkReadDatalink CIO DM Event memory FinsGateway Data link Controller Link Support Board PC Controller Link Network Computer User application Controller Link Support Board Controller Link Network ClkSendFins ClkRecvFins ...

Page 33: ... Controller Link PCI Embedded Edition Controller Link Support Board PC Controller Link Network Controller Link Support Board C P U CJ1W CLK21 V1 Controller Link Unit CJ series PC IBM PC AT or compatible Twisted pair cable 3G8F7 CLK21 EV1 Controller Link Support Board C200HW CLK21 Controller Link Unit CVM1 CLK21 Controller Link Unit C200HX HG HE PC CVM1 CV series PC CQM1H CLK21 Controller Link Unit...

Page 34: ... token ring mode CVM1 CLK12 Controller Link Unit token ring mode CVM1 CLK12 Controller Link Unit token ring mode CS1W CLK12 V1 Controller Link Unit token ring mode CVM1 CV series PC CS series PC C P U Backup power supply 24 V DC C P U C P U 3G8F7 CLK12 EV1 Controller Link Support Board for PCI Bus token bus mode CS1W CLK12 V1 Controller Link Unit token bus mode CS1W CLK11 Controller Link Unit CVM1...

Page 35: ... token ring mode GI Optical fiber cable ring connection CS series PC CVM1 CV series PC CS series PC CVM1 CV series PC Personal computer CS1W CLK52 V1 Controller Link Unit token ring mode CVM1 CLK52 Controller Link Unit token ring mode CS1W CLK52 V1 Controller Link Unit token ring mode CVM1 CLK52 Controller Link Unit token ring mode System Product Model H PCF cable optical ring Controller Link Supp...

Page 36: ... Crimp cut 800 m Adhesive 1 km See note 1 62 5 125 μm 2 km 50 125 μm 1 km Medium H PCF cable optical two core cable GI cable optical two core cable 62 5 125 μm or 50 125 μm Node connection method Connected via a special full lock connector connector A half lock connector can also be used Connected via ST connectors Maximum number of nodes 62 nodes See notes 2 and 3 Communications functions Data li...

Page 37: ...e The maximum transmission distance varies with the baud rate as follows 2 Mbps 500 m 1 Mbps 800 m 500 Kbps 1 km Media Specified shielded twisted pair cable Number of signal lines 2 shield line 1 Node connection method Connect with provided connector Maximum number of nodes 32 nodes or 62 nodes Communications functions Data links and message service Number of data link words Transmission area per ...

Page 38: ... 3G8F7 CLK13 E 3G8F7 CLK12 EV1 Optical system GI cable 3G8F7 CLK53 E 3G8F7 CLK52 EV1 External dimensions 106 140 mm W L Weight 104 g 120 g excluding mounting bracket 124 g excluding mounting bracket Current consumption 0 35 A max at 5 VDC Without power supply 0 54 A max at 5 VDC With power supply 0 35 A max at 5 VDC Without power supply 0 60 A max at 5 VDC With power supply 0 35 A max at 5 VDC Ins...

Page 39: ... 1 2 Note The dimensions given in parentheses are for when the previous connector is mounted Unit mm H PCF Cable Optical Ring Models 3G8F7 CLK13 E and 3G8F7 CLK12 EV1 GI Cable Optical Ring Models 3G8F7 CLK53 E and 3G8F7 CLK52 EV1 155 163 155 163 ...

Page 40: ...K Sending data link Yellow Lit Sending data link participating in data link Flashing Error in the data link table settings Not lit Data link is stopped or Unit is not participating in data link PS See note 1 Power supply ON Green Lit Backup power supply is ON Not lit Backup power supply is OFF TER See note 2 Terminating resistance set ting Yellow Lit Terminating resistance switch is ON resistance ...

Page 41: ...k allocations changing data link tables while data links are active and using 62 wired nodes Maximum number of data link send words per node 4 000 3 Use FinsGateway Version 2003 21 or higher to use up to 4 000 data link send words per node Software Hardware User application C Library Controller Link Support Board FinsGateWay FinsGateway utilities Compatible computers FinsGateway version Compatible...

Page 42: ...ation manual for SYSMAC Compolet Version 2003 for details 1 3 Basic Procedures Initial Procedure Refer to the Controller Link Support Board Installation Guide for information on the first three steps in the following procedure 1 2 3 1 Set the Board ID on the Board switch 2 Install the Board into the computer 3 Install the software 4 Wire and connect the cables 5 Perform the following data link and...

Page 43: ...cting or dis connecting a cable Note Refer to SECTION 2 Wiring Use the specified cable only Note Refer to 1 2 Specifications and Configurations Baud Rates Wired Systems Only Set the same baud rate for all nodes on the same network Note Refer to the Controller Link Support Board Installation Guide W467 Routing Tables When a CV series PC is connected to the network set routing tables at all the node...

Page 44: ...program is not suitable the system may not operate properly Make sure that the node addresses of the new nodes are not already being used by other nodes in the same network If the same node address is used by more than one node a node duplication error will be detected when the node is added communications will stop and the node with the same address will not be able to the join the network Data m...

Page 45: ...roller Link Support Board driver proper ties to Polling Always set the Max Node Number set 62 option in the Controller Link Support Board driver properties of the new node to match the settings of the existing network If different settings are used the network may not be configured cor rectly When a new node is to be added to a system that is already wired over a long distance using T branch lines...

Page 46: ... the H PCF Cable Optical Ring System Units must be set to Token Bus Mode for all nodes If the transmission path settings are different the network will not be configured correctly Set node addresses from 1 to 32 for all nodes Set the polling node polled node software switches for all the Optical Ring System Units for the polled node If an optical ring node is the polling node when the network is s...

Page 47: ...t employ 1 N allocations Note Lot numbers 030601 or later If the total number of data link words is increased the PLC cycle time and the communications cycle time will be increased In that case observe the following precautions Check to make sure that it will not cause problems if performance in responses to external devices is reduced In message communications extending the communications cycle t...

Page 48: ...28 Applications Precautions Section 1 4 Example CX Programmer Response Timeout Setting ...

Page 49: ... 2 1 4 Connecting the Connector to the Board 34 2 2 Connecting H PCF Cable Optical Ring System Cables 35 2 2 1 Communications Cables 35 2 2 2 Optical Fiber Cables H PCF Cables 37 2 2 3 Installing Connectors 38 2 3 Optical Ring System GI Cable Wiring 41 2 3 1 Communications Cables 41 2 3 2 GI Optical Fiber Cable Wiring 42 2 3 3 Installing Connectors 43 2 4 Backup Power Supply Wiring Optical Ring Sy...

Page 50: ...ect the shield cable of the communications cable to a ground that is also being used for power system devices such as inverters 5 Turn ON the terminating resistance switch at the nodes at both ends of the network to connect terminating resistance Turn OFF the terminating resis tance switch at all nodes 6 Do not run wiring outdoors If outdoor wiring is necessary take protection measures against lig...

Page 51: ...ctors When connecting a communications cable to a Controller Link Support Board connect the cable to the attached connector first and then attach to the con nector on the Board Connect the communications cable to the connector using the following procedure 1 2 3 1 Peel back the cover of the cable for about 50 mm without scratching the mesh of the shield Do not peel too much because it may cause a ...

Page 52: ...mp terminals to the shield wire and signal wires Apply elec trical tape or heat shrink tubing to the connections Note We recommend the Phoenix AI series crimp terminals shown in the following diagram The Phoenix Company s ZA3 crimping tool can be used to attach these terminals 7 Carefully insert the signal line and shield line into each hole of the connec tor Insert as marked on the connector The ...

Page 53: ...half of the connector at the node at either end of the network e The shield wire connections are different if grounding each node individually Refer to 2 1 2 Communications Cable to connect the shield wire to the connector 8 Firmly secure each signal line with the signal line screw on the connector An ordinary flat blade screwdriver with a tip that tapers at the end is not suitable because it cann...

Page 54: ...s 0 2 N m Note 1 If the connector is disconnected communications for the Board that was disconnected with other nodes in the network will be disabled and the net work will be split into two at point of disconnection Utmost care is neces sary to prevent disconnection of a connector during communications 2 Do not pull on a communication cable 3 When bending a communications cable allow 60 mm or more...

Page 55: ...Hard Plastic clad Fiber H PCF Note The Optical Fiber Cable model numbers are as follows Name Specifications Model H PCF cables Black 10 m S3200 HCCB101 50 m S3200 HCCB501 100 m S3200 HCCB102 500 m S3200 HCCB502 1 000 m S3200 HCCB103 Orange 10 m S3200 HCCO101 50 m S3200 HCCO501 100 m S3200 HCCO102 500 m S3200 HCCO502 1 000 m S3200 HCCO103 Name Model Specifications Connector S3200 COCF2071 Use to co...

Page 56: ...n members although the power supply lines aren t used in the Controller Link Network 3 All of the cables listed above are attached to the connectors with adhesive 4 Special training is required to assemble Optical Fiber Cables and connec tors with adhesive Name Model Replacement model Connector S3200 COCF2011 S3200 COCF2071 S3200 COCF2511 S3200 COCF2571 Specifications Length Model Optical Fiber Ca...

Page 57: ...ect on the communications time if a wire breaks Always cover the unused connectors on the highest and lowest nodes in the network with the enclosed Optical Connector Covers Refer to 2 1 1 Devices Required for Connection Devices for details on avail able Optical Fiber Cables Refer to 2 2 3 Installing Connectors for details on connecting the Optical Fiber Cables to the Controller Link Board Note 1 A...

Page 58: ...t the Optical Fiber Cable to the Control ler Link Support Board This manual does not provide details on Optical Fiber Cable preparation Connect the nodes in order beginning with the highest node in the network and continuing on to lower nodes When connecting a ring also connect the end node in the ring to the start node Always turn OFF the computer and backup power supply before connect ing Optica...

Page 59: ...from the node higher in the network connects to the Board s right connector and the cable to the node lower in the network connects to the Board s left connector Insert the cable s connectors fully into the Board s connectors Insert the connectors completely and check that the connectors are locked before starting operation If a connector becomes disconnected the node will be unable to commu nicat...

Page 60: ...ly always use the cable mounting bracket and provide space behind the Board 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 5 kg about 11 lbs 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 Inspect ...

Page 61: ...ength of the test light source 62 5 125 μm AGF Cable Note Lf is fiber length in km Ta is ambient temperature and λ is the peak wave length of the test light source Connectors ST Connector Item Minimum Standard Maximum Unit Conditions Numerical Aper ture N A 0 21 Theoretical value Transmission loss 3 0 Lf dB 0 5 km Lf λ 0 8 μm Ta 25 C 3 0 Lf 0 2 0 2 km Lf 0 5 km 3 0 Lf 0 4 Lf 0 2 km Connection loss...

Page 62: ... to cover the unused connectors on the highest and lowest nodes in the network with the provided Optical Connector Covers Refer to 2 1 1 Devices Required for Connection for details on available Opti cal Fiber Cables Refer to 2 2 3 Installing Connectors for details on connect ing the Optical Fiber Cables to the Controller Link Board Note 1 Always use the specified Optical Fiber Cables 2 The code fo...

Page 63: ...ntroller Link Board Note 1 Always use the specified Optical Fiber Cables 2 The code for the Optical Fiber Cables can be identified from cable marks and color but OMRON recommends adding tags to prevent incorrect con nection during installation 3 The maximum distance between the nodes depends on the type of GI ca ble core diameter as described below 62 5 125 μm 2 km maximum distance between nodes 5...

Page 64: ...from the highest node in the network to the rightmost connector SL1 and the cable from the next lower node to the leftmost connector SL2 3 Install the mounting bracket on the Board with the screws provided Insert the tip of the mounting bracket with the grooves into the hole on the board surface until it locks firmly a and then secure the other end of the mount ing bracket using the screw b Take c...

Page 65: ...token bus mode the node will be unable to communicate with other nodes in that part of the net work The network will be divided into two and communications with the remaining nodes will be unreliable Be sure not to remove connectors dur ing communications When installing Optical Fiber Cables be sure to stay within the specifications e g tensile strength bending lateral pressure for the cables used...

Page 66: ...te 1 If connecting multiple nodes to one power supply or if the distance be tween the power supply and the node is great carefully consider the max imum current and voltage to satisfy the specifications described above using the node power supply connectors and terminal positions 2 Power supply from the backup power supply is given priority Consider the following points when designing a system a T...

Page 67: ...nstalled properly before using the power sup ply Check the wiring configuration carefully before turning ON the power If the connectors on boards in adjacent slots come into contact with each other mount one of the boards in a different slot Connect the power supply cable to the cable connector and then secure it to the Board as shown in the following diagram The following diagram shows a Board us...

Page 68: ...48 Backup Power Supply Wiring Optical Ring Systems Only Section 2 4 ...

Page 69: ...sing the C Library This section describes how to create applications user programs that control the Controller Link Support Board 3 1 Basic Flow 50 3 1 1 Data Link Procedure 50 3 1 2 Message Service Procedure 51 3 2 Using the C Library 52 ...

Page 70: ... or by sending a FINS command from the application using the ClkSendFins function 3 Information on errors that occur in using the C library can be read using the CkGetLastError function For details on various methods for making programs refer to the following resources Information on using the C library 3 2 Using the C Library Writing data link tables Data link tables not yet written no DATALINK D...

Page 71: ...uired by the application Writing routing tables Routing tables already written Routing tables already written or not necessary START Write the routing tables using the Support Software Transfer the routing tables to the other nodes using the Support Software Routing tables transferred to the Board will be recorded in the Board s EEPROM memory Sending and receiving FINS messages Send FINS message u...

Page 72: ...Opens the application interface and gets a CLK handle 56 ClkClose Board Close Closes the application interface and releases the CLK handle 57 ClkSendFins FINS Message Send Sends a FINS message 57 ClkRecvFins FINS Message Receive Receives a FINS message 58 ClkWriteDatalink Data Link Data Write Writes data to a data link area 59 ClkReadDatalink Data Link Data Read Reads data from a data link area 59...

Page 73: ...then Options 2 Select the Directory Tab set the directory being displayed to the one for the library files click the first empty row in the list and then click the But ton at the left of the row 3 Specify the folder in which the C library for the Support Board was installed and click the OK Button The installation directory in the header file default for the C library is Pro gram Files OMRON Contr...

Page 74: ...54 Using the C Library Section 3 2 ...

Page 75: ...s Network Status Read 60 4 1 8 ClkGetRingStatus Optical Ring Status Read 61 4 1 9 ClkSetMessageOnArrival FINS Message Reception Notification Registration to Window 61 4 1 10 ClkSetThreadMessageOnArrival FINS Message Reception Notification Registration to Thread 62 4 1 11 ClkClearMessageOnArrival FINS Message Reception Notification Clear 63 4 1 12 ClkGetLastError Detailed Error Information Acquire ...

Page 76: ...ESS Unit address range error Function name Name Function Page ClkOpen Board Open Opens the application interface and gets a CLK handle 56 ClkClose Board Close Closes the application interface and releases the CLK handle 57 ClkSendFins FINS Message Send Sends a FINS message 57 ClkRecvFins FINS Message Receive Receives a FINS message 58 ClkWriteDatalink Data Link Data Write Writes data to a data lin...

Page 77: ... normally CLK_ERROR is returned if the function ends in an error Detailed error infor mation can be obtained using ClkGetLastError Description Refer to Structure Descriptions for information on the header information structure Store the FINS message from the command code MRC on in the FINS mes sage send buffer The amount of data that can be sent and received will be limited by the type of networks...

Page 78: ...pecified in the argument Detailed error information ERR_RECV_BUFFER_SIZE Receive message size error The function will end in an error if a message reception area cannot be obtained because of insufficient memory Detailed error information ERR_NO_MEMORY Memory acquisition error The function will end in an error if the reception wait time is set to 0 and a FINS message has not yet been received Deta...

Page 79: ...No such memory 4 1 6 ClkReadDatalink Data Link Data Read Function Reads data from a data link area Call Format INT ClkReadDatalink PCLKHANDLE hCLK PEMCLKADDRESS pEmAd dress LPWORD lpReadData DWORD dwSize Return Value CLK_SUCCESS is returned if the function ends normally CLK_ERROR is returned if the function ends in an error Detailed error infor mation can be obtained using ClkGetLastError Descript...

Page 80: ...hat is not part of a network 0 will be set for the following members of the read data structure Network participation status Communications cycle time Polling node address Data link operation status and data link mode Data link status The function will end in an error if an error response code is returned for the FINS message Detailed error information ERR_RESPONSE Error response code error The fu...

Page 81: ...ormation ERR_NOT_RING_MODE Wrong operating mode The function will end in an error if a message reception area cannot be obtained because of insufficient memory Detailed error information ERR_NO_MEMORY Memory acquisition error The function will end in an error if a network address of 0 is specified when there is more than one network Detailed error information ERR_NETWORK_ADDRESS 4 1 9 ClkSetMessag...

Page 82: ...readMessageOnArrival PCLKHANDLE hCLK DWORD dwThreadId UINT uMsg Return Value CLK_SUCCESS is returned if the function ends normally CLK_ERROR is returned if the function ends in an error Detailed error infor mation can be obtained using ClkGetLastError Description Both ClkSetMessageOnArrival and ClkSetThreadMessageOnArrival cannot be registered at the same time The function will end in an error if ...

Page 83: ...tError 4 1 12 ClkGetLastError Detailed Error Information Acquire Function Gets detailed error information generated when a Controller Link library func tion is used Call Format INT ClkGetLastError PCLKHANDLE hCLK Return Value Detailed error information is returned if the function ends normally CLK_ERROR is returned if the function ends in an error Description Refer to 4 3 Detailed Error Informatio...

Page 84: ...e destination network address For ClkSendFins set the destination network address For ClkRecvFins the network address of the source of the FINS message is stored BYTE byNodeAddr Source destination node address For ClkSendFins set the destination node address For ClkRecvFins the node address of the source of the FINS message is stored BYTE byUnitAddr Source destination unit address For ClkSendFins ...

Page 85: ...Stores undetermined data Wired optical discrimination transmission path form etc Bit Not specified Maximum number of nodes supported 00 32 nodes 01 64 nodes Transmission path 0 Token bus 1 Token ring Connection type 0 Wired 1 Optical ring Note When optical and optical ring connections are combined the maxi mum number of nodes supported will be given as 62 nodes for an op tical ring connection even...

Page 86: ...500 kbits s Wired System 0 Terminating resistance switch OFF 1 Terminating resistance switch ON Optical System 0 No backup power supply 1 Backup power supply Error information 1 Stores information such as whether or not there is an error log recorded node address setting errors etc 1 Error history 1 Fatal data link error 1 Communications controller send section error 1 Node address setting error 1...

Page 87: ...pped 1 Running PC program being executed CPU Unit Error Status 0 No error 1 Error Data Link Communications Error Status 0 Normal 1 Error Data link data not received normally Data Link Participation Status 0 Not participating or data links stopped 1 Participating Offset Error Status Offset larger than number of send words 0 Normal 1 Error Insufficient Reception Area 0 Normal 1 Insufficient Excess R...

Page 88: ...n storage See graphic following this table DWORD dwNetworkSeparationCount Number of network separations DWORD dwNewsorkDisConnectionCount Number of network disconnections DWORD dwLocalNodeDisConnectionCount Number of local node disconnections DWORD dwNetworkDisConnectionMaxCycleCount Maximum number of cycles with continuous disconnection DWORD dwFrameDropOutsCountSL1 Number of frame dropouts for S...

Page 89: ...htmost 2 digits Month Error code Macro name Meaning 1 ERR_UNIT_ADDRESS Unit address range error 2 ERR_NO_CLKUNIT Controller Link Unit is missing 3 ERR_NO_MEMORY Memory could not be obtained 4 ERR_MSG_SIZE_OVER Reception message was too large 5 ERR_NO_MEM_TYPE Memory type does not exist 6 ERR_RESPONSE Response code error 7 ERR_SEND_BUFFER_SIZE Send message size error 8 ERR_RECV_BUFFER_SIZE Receptio...

Page 90: ...led in standby process of exclusive control of shared memory 50 Failed in mapping of shared memory 51 Name of object is too long 52 Attempted to release unused unit address 53 Unexpected error occurred 54 Failed to initialization of shared memory 55 Failed in attachment to shared memory 56 Number of units units simultaneously usable exceeded 57 Send destination unit does not existence 58 Could not...

Page 91: ...of Automatic Setting with Equality Layout 81 5 3 Starting and Stopping Data Links 82 5 3 1 Using a Programming Device or a Ladder Program 83 5 3 2 Using the Controller Link Support Software 84 5 3 3 Using FINS Commands 84 5 4 Checking Data Link Status 85 5 4 1 LED Indicators 85 5 4 2 Data Link Status Area 85 5 4 3 Checking by Manipulating Bit Word Status 87 5 5 Changing the Data Link Tables with A...

Page 92: ...r area 1 and area 2 Separate settings first link words and send area size are made in area 1 and area 2 The sequences of send and receive words are the same in area 1 and area 2 Not all nodes must participate in the data links Manually Setting Data Links Manually set data links are used to create flexible data links that meet the needs of the individual system Data links are set in the Controller ...

Page 93: ...All on the Controller Link Support Board screen Automatically Setting Data Links with Equality Layout Automatic setting can be used to create simple data links Using a Programming Device such as a Programming Console set the automatic data link mode in the DM parameter area of the startup node Area 1 can be selected from bit areas i e IR CIO and LR areas and area 2 can be selected from Data Memory...

Page 94: ...setting This Easy Set ting can be used first and then the send size of each node and oth er settings can be changed as required Automatic Setting Data Links with 1 N Allocations This method is used to simplify setting of 1 N allocation data links between master and slave nodes There are three types of 1 N allocations Programming Devices including Programming Consoles are used to set the automatic ...

Page 95: ...ng a number of words from the beginning word of the words sent by another node However the above system does not guarantee that only the desired words will be received and there is a good chance that unnecessary data will also be received Offsetting enables specification of a more specific range of receive data by indicating both the number of words and the starting word position from the beginnin...

Page 96: ...n No of data link nodes Optical Ring System 62 nodes max 2 nodes min Wired System 32 nodes max 2 nodes min Number of data link words Send areas per node CS or CJ Series CS1W CLK23 or CJ1W CLK23 4 000 words max CS1W CLK21 EV1 or CJ1W CLK21 EV1 1 000 words max C200HX HG HE CVM1 CV CQM1H 1 000 words max Computers 3G8F7 CLK23 E 4 000 words max 3G8F7 CLK21 EV1 3G8F5 CLK21 E 1 000 words max Data link ar...

Page 97: ... data links Data link settings Set in data link tables that are set in the nodes to participate in data links Determined by the data link parameters set in the data link startup node the node used to start the data links Data link areas 1 and 2 In each node area 1 and area 2 are selected from bit areas IR CIO and LR Areas and Data Memory DM and EM Areas However areas 1 and 2 cannot be set in the s...

Page 98: ...h different parameters are not used 5 2 2 Manual Setting Transfer the data link tables that were created on the Support Software to the Controller Link Unit and the Controller Link Support Board at all node partici pating in the data links Transferring from a Programming Device Note 1 Data link tables cannot be set in the Controller Link Support Board using the CX Net in the CX Programmer Use the ...

Page 99: ...tly Set routing tables at each node as required When using manually set data links be sure to delete data link tables for all nodes not participating in data link Refer to 1 4 Applications Precautions for details Refer to Fins Gateway online help for actual setting procedures for the CLK Data Link Set ting Utility Data link tables IBM PC AT or compatible Controller Link Support Board CLK Data Link...

Page 100: ... first data link status word is fixed the setting cannot be changed Set to Area 1 Data link start word Set the start word within the FinsGateway event memory setting range The defaults are CIO 0 to CIO 32767 and DM 0 to DM 32767 Number of words Remote nodes 0 to the number of source words Set the number of words to be received Local node 0 to 4 000 3G8F7 CLK 3 E 0 to 1 000 3G8F7 CLK21 12 52 EV1 Se...

Page 101: ... are not required in the computer the data link tables in the startup node will be used 4 Refer to the Controller Link Units Operation Manual W309 for details on automatically setting data links with 1 N allocations 5 2 5 Example of Automatic Setting with Equality Layout This section shows an example of DM parameter area settings and the data link areas that are created as a result DM Parameter Ar...

Page 102: ...omatic setting parameters in the case of automatic setting If the settings are incorrect the data link will not start Caution Check the following items before starting data links If incorrect data link tables or parameters are set injury may result due to unexpected operation of the system Even if the correct data link tables and parameters have been set do not start or stop data links before veri...

Page 103: ...ple nodes that are participating in the data link so that the data links will start even if the startup node is down The same data link settings must be set in these nodes for automatically set data links CS series or CJ series Startup Node C200HX HG HE Startup Node Programming Device User program Startup node Controller Link CS CJ series PCs Turn ON the Start Bit in DM 3000 100 N N unit number C2...

Page 104: ...STOP FINS commands from a node on the Controller Link to a node that is in the data links Sending FINS Commands from a Computer Node Issuing the FINS Command from CV series CS series and CJ series PCs Data link Start Bit Start Changed from OFF to ON or set to ON when power is turned on Stop Changed from ON to OFF 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Word N N DM 2000 100 unit number Node in data l...

Page 105: ...d Refer to 9 1 Troubleshooting Using Indicators for details 5 4 2 Data Link Status Area The data link status area can be used to check for errors when data link does not operate normally even though no abnormality has been detected by the computer or the Controller Link Support Board Data link status can be monitored using the CLK Data Link Setting Utility in FinsGateway or it can be stored in Fin...

Page 106: ...he send words will have indeterminate sta tus Insufficient short receive area 0 Receive area not short 1 Receive area short A receive area is short if the number of send words is larger than the number of words in the receive area Data will be received normally but all words that will not fit in the receive area will be discarded First word 1 2 3 Node 2 Node 4 Node 6 Node 8 to to to to Note The fi...

Page 107: ... being transferred to the intended words at other nodes Change the contents of a bit or word in a data link send area using a Pro gramming Device or the user program and check whether the change is reflected in data link areas of other nodes as intended The contents of the data link areas set on the local node for the Controller Link Support Board can be read and written using the memory monitor p...

Page 108: ...rogrammer version 3 2 or later to change a data link table with active data links will temporarily stop refreshing data with the PC or computer change to the new data link table data link refresh allocation and then resume refreshing data links Nodes with data link tables that are changed will send the data from immedi ately before the tables were changed while PC and computer data link refreshing...

Page 109: ...t be sent as data link data to other nodes Data received from other nodes will also not be shown in the data link receive areas of the other nodes The data refresh interrupt timing maximum theoretical value is as follows Data link refresh maximum interrupt time Communications cycle time 3 250 ms Computer overhead time See note 1 ms Note 1 The overhead time of the computer varies somewhat with the ...

Page 110: ...90 Changing the Data Link Tables with Active Data Links Section 5 5 ...

Page 111: ... 2 DATA LINK START 95 6 3 3 DATA LINK STOP 96 6 3 4 CONTROLLER DATA READ 96 6 3 5 CONTROLLER STATUS READ 97 6 3 6 NETWORK STATUS READ 99 6 3 7 DATA LINK STATUS READ 101 6 3 8 CONNECTION CONFIGURATION INFORMATION READ 102 6 3 9 NETWORK DISCONNECTION INFORMATION READ 104 6 3 10 NETWORK DISCONNECTION INFORMATION CLEAR 106 6 3 11 ECHOBACK TEST 107 6 3 12 BROADCAST TEST RESULTS READ 107 6 3 13 BROADCAS...

Page 112: ...nt Functions Features Sending Messages ClkSendFins library func tion See note This library function and driver call send command response data Can be issued with respect to any Units at a PC or to the Support Board or user program at a computer Mainly used for sending FINS commands and responses The FINS commands and responses enable various types of control and allow the status to be read Fixed f...

Page 113: ... the other parame ters described for individual commands in the rest of this manual Command Data Structure Response Data Structure Details ICF Information control field Individual bits of the ICF are used as follows Note All settings below are shown in hexadecimal except where otherwise indi cated RSV Reserved Set to 00 GCT Gateway count Set to 02 DNA Destination network address Specify within the...

Page 114: ...U Bus Unit or computer SID Service ID Used to identify the processing generating the transmission Set the SID to any number between 00 and FF 6 2 2 Parameters All parameters are specified in hexadecimal unless otherwise specified Where decimal is specified it is indicated by BCD 6 2 3 Data Formats Commands The command code and text for the command are stored in memory as oper ands and the transmis...

Page 115: ... tables do not exist The node that receives this command and starts the data links will become the data link startup node Command code Data link operation mode Name Page Active Inactive 04 01 Not valid Valid DATA LINK START 95 02 Valid Not valid DATA LINK STOP 96 05 01 Valid Valid CONTROLLER DATA READ 96 06 01 Valid Valid CONTROLLER STATUS READ 97 02 Valid Valid NETWORK STATUS READ 99 03 Valid Val...

Page 116: ...address data Command Block Response Block Parameters Model version response The Controller Link Unit s model and version are returned as shown below each 20 characters in ASCII code If fewer than 20 bytes of data are used 20 Hex i e spaces will be returned for the remain ing bytes In the version numbers shown below the spaces are represented by boxes Model 3G8F7 CLK21 E Wired 3G8F7 CLK12 E Optical...

Page 117: ...ponse The operating status of the data links is as fol lows 00 Hex Data links inactive 01 Hex Data links active 02 Hex Local data links not active The data links are active in the net work but the source node is not participating Status 1 Status 4 Status 6 response Not used by Controller Link Always set to 00 Hex 0 Wired 1 Optical Ring Not used Bit Maximum Number of Supported Nodes 00 32 nodes 01 ...

Page 118: ...CS series CJ series or CV series PC A PC model error occurs if a C200HX HG HE Controller Link Unit is mounted to another type of PC Count 1 to Count 8 response The total number of times for each of the items listed below is returned as 1 byte of hexadecimal data Count 1 Number of CRC errors Count 2 Number of token re sends Count 3 Number of token returns Count 4 Number of token timeouts Count 5 Nu...

Page 119: ... 56 62 61 60 59 58 57 Reserved for system use The numbers in the boxes indicate the node addresses The bit status of a particular node address shows whether or not that node is participating in the network 0 Not part of network 1 Part of network All boxes marked by are reserved for system use and fixed at 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Bytes 5 to 8 are all reserved for W...

Page 120: ... is expressed in hexa decimal as one byte per node The count can range from 0 to 255 i e 0 to FF in hexadecimal Bit Data link operational status 0 Inactive 1 Active 7 0 6 5 4 3 2 1 0 0 0 0 0 0 0 Bit Source node data transmission status 0 Transmission 1 No transmission 7 0 6 5 4 3 2 1 0 0 0 0 0 0 0 Bit 7 7 6 5 4 3 2 1 0 6 5 4 3 2 1 8 15 14 13 12 11 10 9 16 23 22 21 20 19 18 17 24 31 30 29 28 27 26 ...

Page 121: ... value refresh cycle time maximum value response The present value and the maximum value of the cycle time for refreshing the data link area are both returned in units of 1 ms in hexadeci mal within a range of 0000 to 00FF decimal 0 to 255 With the Support Board both the present value and the maximum value will be 0 Command code 03 06 Type Response code Command code Status flag Data link mode Refr...

Page 122: ...nd Boards connected to the ring in order in the downstream direction This command is supported only by the Optical Ring Controller Link Support Units and Boards in Token Ring Mode H PCF or GI cable Command Block 7 6 5 4 3 2 1 0 0 7 6 5 4 3 2 1 0 Byte 1 Byte 2 Byte 3 Bit Byte 62 Node 1 Node 2 Node 3 Node 62 Data link status for each node PC status 0 Inactive 1 Active Communications error data link ...

Page 123: ... configuration response These parameters show the seconds minutes hour 0 to 23 date month and year the rightmost two digits in BCD specifying the time that the connection configuration was last updated The information is updated each communications cycle in Token Bus Mode as long as the ling connection status is normal The time will be taken from the clock data in the local node Node address respo...

Page 124: ... address of specified first node to read Node address 31 19 1F 20 Command code 05 06 Response code Command code 06 05 Min Sec Date Hours Year Month Disconnected Line Flags Disconnected node in formation 1 Disconnected node in formation 2 No of network separations No of network disconnections No of local node disconnections Max No of cycles with continuous disconnections No of frame dropouts for SL...

Page 125: ... starting time for disconnection information If the disconnection information is the same two or more communications cycles in a row it is considered a continuous discon nection and not counted The value is given as an 8 digit hexadecimal value Maximum number of cycles with continuous disconnection response Specifies the largest number of cycles that disconnection information has been received fro...

Page 126: ...INFORMATION CLEAR Clears the network disconnection information This command is supported only by the Optical Ring Controller Link Support Units and Boards in Token Ring Mode H PCF or GI cable Command Block Response Block Description None of the disconnection information except for the Disconnected Line Flags is cleared when communications recover The Disconnected Line Flags always show the most cu...

Page 127: ...ecified network For details on the BROADCAST TEST RESULTS SEND command refer to 6 3 13 BROADCAST TEST DATA SEND Command Block Response Block Parameters Number of receptions response The number of times that broadcast test data has been received at the command destination node from the time that the last BROADCAST TEST RESULTS READ command was sent until this one was sent is returned An error will ...

Page 128: ...nning record no command Specifies the first record to be read in two bytes four digits in hexadecimal The first record number is 0000 in hexadecimal No of records command and response Specifies the number of records to be read within a range of 0001 to 0027 in hexadecimal decimal 1 to 39 Max no of stored records response Specifies the maximum number of records that can be recorded within a range o...

Page 129: ...s section describes the response codes returned with responses to FINS commands Response codes can be used to confirm normal completion of command execution or to troubleshoot problems when commands fail For further troubleshooting information refer to SECTION 9 Troubleshooting and Maintenance of this manual and to the operation manuals for specific Units or Systems 6 4 1 Configuration Response co...

Page 130: ... this happens two more bytes of data will follow the response code to indicate the location of the error This information along with the response code should enable you to track the error Error network address 00 to 7F Hex 0 to 127 in decimal Error node address Controller Link 01 to 3E Hex 1 to 62 in decimal SYSMAC NET 01 to 7E Hex 1 to 126 in decimal SYSMAC LINK 01 to 3E Hex 1 to 62 in decimal Re...

Page 131: ... Controller Link Unit Controller Link Unit Controller Link Support Board Response Computer Main code Sub code Probable cause Remedy 00 Normal completion 00 01 Service was interrupted Check the contents of the destination trans mission area of third node Check the data link status 01 Source node error 01 Source node not part of Network Add to Network 02 Token time out node address too large Set the...

Page 132: ... replace the controller board 04 Unit address setting error Make sure the unit address and unit num ber are within the specified ranges and that each number address is set only once 04 Not executable 01 An undefined command has been used Check the command code and be sure that the Unit supports it 02 Cannot process command because the specified unit model or version is wrong Check the unit model a...

Page 133: ...eak function processing or wait until it is completed and execute the command Check the data link tables for node addresses that have been set twice 0B The response block is longer than the max permissible length Check the command format and set the number of items correctly 0C An incorrect parameter code has been specified Check the command data and reenter it correctly Check the data link table ...

Page 134: ...eady exists Change the name of the file and execute the instruction again 08 Data cannot be changed Check the contents of the memory area being written to 22 Not executable in cur rent mode 01 The mode is wrong executing Check the operating mode Data links are active Check the data link status before execution 02 The mode is wrong inactive Check the operating mode Data links are active Check the d...

Page 135: ... Unit Service Boards and cable connections and issue the ERROR CLEAR command 09 SYSMAC BUS 2 error An error occurred during SYSMAC BUS 2 data transfer Check the Unit Service Boards and cable connections and issue the ERROR CLEAR command 0A Special I O Unit error An error occurred during CPU Bus Unit data transfer Check the Unit Service Boards and cable connections and issue the ERROR CLEAR command...

Page 136: ...g a normal response Reset the board If the error persists replace the board 08 Service cannot be executed because necessary settings haven t been made Make the necessary settings 09 Service cannot be executed because necessary settings haven t been made in the command data Check the command format of and make the necessary settings 0A The specified action or transition num ber has already been reg...

Page 137: ... used to connect multiple networks 7 1 What is Network Interconnection 118 7 1 1 Interconnecting Controller Link Networks 118 7 1 2 Interconnecting Different Types of Networks 118 7 2 Routing Tables 119 7 3 Setting Routing Tables 121 7 3 1 Example Routing Table Settings 121 ...

Page 138: ... a Controller Link Network with a SYSMAC NET or SYSMAC LINK Network Note 1 A bridge is used between Communications Units Boards to connect the same type of networks 2 A gateway is used between Communications Units Boards to connect dif ferent types of networks CV series PC CS CJ series PC or IBM computer with FinsGateway See note IBM PC AT or compatible CS CJ series C200HX HG HE or CV series PC No...

Page 139: ...ng the header because the SYSMAC LINK Net work can only handle that many bytes See the manual for the network you are using in order to determine the maxi mum amount of data for each network 7 2 Routing Tables Routing tables that define the communications path from the Controller Link Unit on the local PC to the network connected to the destination PC must be created in order to send and receive d...

Page 140: ...lar routing table entries would be required 2 Refer to 7 3 Setting Routing Tables for a routing table setting example Local network address Unit number Unit number 04 Unit number 05 Unit number 06 Network address 1 Network address 2 Network address 3 Network address 4 Example Local network table Local network address Unit number 2 05 3 06 4 07 1 04 Unit number 07 Local net work ad dress Unit numbe...

Page 141: ...ting details For specific procedures see the FinsGateway online help Controller Link Support Software Operation Manual W308 or CX Programmer User s Man ual 7 3 1 Example Routing Table Settings This section shows examples of routing table settings Example 1 The example below shows local network table settings when a Support Board is mounted to a computer 1 A No Loc Netwk SIOU unit Local Network Tab...

Page 142: ...work is B and the relay node is e when network C is the destination PC 2 Node address c 1 2 B C A A b b 1 2 A C B B c e 1 2 A B C C f f No End Netwk Relay PC ID Netwk Node 1 C B e 1 A B c Relay Network Tables No End Netwk Relay PC ID Netwk Node No End Netwk No End Netwk No End Netwk Network address A Network address B Network address C PC 1 Node address a Node address b PC 3 Node address d PC 4 No...

Page 143: ...e 5 Unit 1 Node 2 Unit 0 Node 1 Network 10 Network 30 Network 20 Unit 5 Node 1 Unit 7 Node 15 1 2 020 010 004 1 2 010 05 3 3 030 010 005 Relay Network Table Local Network Table No End Netwk Relay PC ID Netwk Node No Loc Netwk SIOU unit 1 2 030 010 005 1 2 010 03 3 3 Relay Network Table Local Network Table No End Netwk Relay PC ID Netwk Node No Loc Netwk SIOU unit 020 02 1 2 020 010 004 1 2 010 04 ...

Page 144: ...able Local Network Table No End Netwk Relay PC ID Netwk Node No Loc Netwk SIOU unit 1 2 010 030 015 1 2 030 05 3 3 020 030 015 Relay Network Table Local Network Table No End Netwk Relay PC ID Netwk Node No Loc Netwk SIOU unit 1 2 010 030 015 1 2 030 06 3 3 020 030 015 Relay Network Table Local Network Table No End Netwk Relay PC ID Netwk Node No Loc Netwk SIOU unit ...

Page 145: ...126 8 1 1 Controller Link Communications 126 8 1 2 Communications Cycle 126 8 1 3 Network Parameters 127 8 1 4 Specifying Network Parameters 128 8 2 Communications Cycle Time 128 8 2 1 Active Data Links 128 8 2 2 Inactive Data Links 130 8 2 3 Maximum Delay for Line Disconnections in Token Ring Mode 131 8 3 Data Link I O Response Time 133 8 3 1 Computer to PC 133 8 3 2 PC to Computer 134 8 4 Messag...

Page 146: ...reate a more robust system Polling Node Each Controller Link Network always has a Unit that controls communications within the network This Unit is called the polling node Normally the node that has the smallest node address in the network is the polling node All Units at nodes other than the polling node are called polled nodes The polling node controls the token checks the network and performs o...

Page 147: ...en they are con nected The following three network parameters can be specified Maximum Node Address This parameter specifies the maximum node address of nodes to be checked by the polling node The default is 32 for Wired Networks and 62 for Optical Ring Networks Reducing the setting of this parameter reduces the number of nodes checked by the polling node and can thus avoids unnecessary check oper...

Page 148: ... for sending and receiving data link data and the timing for exchanging data 8 2 1 Active Data Links The following equations are used to calculate the communications cycle time when data links are operating The communications cycle time will vary somewhat depending on the baud rate and the conditions at that particular time Wired Networks Optical Networks Note The meanings of the variables in the ...

Page 149: ...ata link words 8 000 words Nodes that send messages 2 nodes Bytes in all messages sent 2 012 2 bytes In this example A to E in the equation have the following values A 8 000 B 4 C 8 D 2 E 4 024 The communications cycle time is thus as follows 10 8 000 600 4 290 8 320 2 4 4 024 3 290 104 746 μs 105 ms Calculation Example for Optical Ring Networks with H PCF Cable Communications conditions are as fo...

Page 150: ... network D Number of nodes that send messages during the communications cycle E Total number of bytes in messages transmitted during the communications cycle F Extra communications time for long distance cable connec tions If L is the cable length in km then F 7 L μs for H PCF cable and F 5 L μs for GI cable Calculation Example for Wired Networks Communications conditions are as follows Type Wired...

Page 151: ... as follows 1 740 4 450 8 1 100 2 4 4 024 2 7 8 3 000 31 968 μs 32 ms The communications cycle time for Token Bus Mode is thus as follows 1 300 4 110 8 320 2 4 4 024 2 7 8 1 800 24 728 μs 25 ms 8 2 3 Maximum Delay for Line Disconnections in Token Ring Mode Although the duplicated transmission lines used in Token Ring Mode for Opti cal Ring Networks will ensure that communications continue even if ...

Page 152: ...work D Extra communications time for long distance cable connections If L is the cable length in km then F 7 L μs for H PCF cable and F 5 L μs for GI cable A 4 B 2 1 3 C D μs Calculation Example for Optical Ring Networks with H PCF Cable Communications conditions are as follows Type Optical Ring Transmission medium H PCF cable Transmission distance 8 km Baud rate 2 Mbps fixed Network parameters De...

Page 153: ...at node 1 passes the token that makes it the polling node causing a delay of up to one communica tions cycle time before the data is transferred in data link processing 2 The data transferred in data link processing arrives at the PC at node 2 after data exchange so the data will not be read into the PC until the next data exchange causing a delay of up to one cycle If the cycle time of the PC at ...

Page 154: ...ing the data link I O response time 1 2 3 1 The input arrives in the PC just after I O refreshing causing a delay of up to one cycle before the input is read into the PC 2 Data exchange occurs just after the PC at node 2 passes the token that makes it the polling node causing a delay of up to one communications cycle time before the data is transferred in data link processing 3 The data arrives at...

Page 155: ...ansmission delay time for command Receive pro cessing node 2 PC processing time node 2 Send processing node 2 Communications cycle time Transmission delay time for response Receive processing node 1 Send Receive Processing at Node 1 Depends on the processing capacity of the computer that is used Communications Cycle Time See 8 2 Communications Cycle Time on page 128 Transmission Delay Time Transmi...

Page 156: ...umber of words transferred 0 00125 3 0 ms Note 1 The I O response time can increase due to noise or restrictions on the number of frames that can be transmitted while data links are operating 2 Refer to the Controller Link Units Operation Manual W309 or W370 for details on the time from reception at the Controller Link Unit until transmis sion ...

Page 157: ... the RUN ERR and INS Indicators 138 9 1 2 Troubleshooting with LNK Indicators 140 9 2 Status Information and Troubleshooting 143 9 2 1 Troubleshooting with the ClkGetNetworkStatus Function 143 9 2 2 Error Processing 146 9 3 Error Log 148 9 3 1 Error Log Table 148 9 3 2 Error Codes 149 9 3 3 Reading and Clearing Error Logs 153 9 4 Cleaning and Inspection 154 9 4 1 Cleaning 154 9 4 2 Inspection 154 ...

Page 158: ...it Backup power supply is ON TER Lit Terminating resistance switch is ON resistance is connected Optical Ring System H PCF Cable and GI Cable Wired System Indicators Error history Probable cause Probable remedy RUN ERR INS Lit Not lit Lit Unit operating normally Network partici pation normal Not lit Lit The Controller Link Support Board is faulty If the ERC indicator still lights when the Board is...

Page 159: ...y referring to 7 3 Setting Routing Tables When no routing table is being used delete the routing table There is an error in the data link table set tings When using data links refer to 5 2 Setting Data Links and correct the tables When not using data links delete the tables EEPROM error Refer to 9 2 Status Information and Trou bleshooting correct the data where the error has occurred and reset the...

Page 160: ...nks Data links cannot be stopped from nodes which do not have active data links Indicators Probable cause Probable remedy LNK Lit Data link operating normally Flashing There is an error in the data link tables When the ERR indicator is flashing reset the data link tables When manual setting is used either data link tables have not been created for the startup node or there is an error in the data ...

Page 161: ...e INS indicator is ON for some nodes in the same network Those nodes are C200HW CLK21 CQM1H CLK21 CVM1 CLK21 CS1W CLK21 CJ1W CLK21 or 3G8F7 CLK21 The INS indicator is ON for some nodes in the same network Those nodes are CS1W CLK21 V1 CJ1W CLK21 V1 CS1W CLK23 CJ1W CLK23 3G8F7 3G8F7 CLK21 EV1 or 3G8F7 CLK23 E The Wired Network 62 Node Enable Bit in the DM Parameters Area of the polling node CS1W CL...

Page 162: ...uses a node address higher than 32 are the CS1W CLK21 V1 CJ1W CLK21 V1 CS1W CLK23 CJ1W CLK23 3G8F7 CLK21 EV1 and 3G8F7 CLK23 E only Either configure the network using compatible Units and Boards or split the network into two separate networks The data link status is showing statuses of 32 nodes only The polling node is a C200HW CLK21 CQM1H CLK21 CVM1 CLK21 CS1W CLK21 CJ1W CLK21 or 3G8F7 CLK21 The ...

Page 163: ...r the Controller Link Board BYTE abyNodeList 32 WORD wComunicationCycleTime Communications cycle time Stores the current value of the communications cycle time unit 0 1 ms BYTE byPollingNodeAddr Polling node address Stores the node address of the current polling node Wired optical discrimination transmission path form etc Bit Not specified Maximum number of nodes supported 00 32 nodes 01 64 nodes ...

Page 164: ...ate 0x1 2 Mbits s 0x2 1 Mbits s 0x3 500 kbits s Wired System 0 Terminating resistance switch OFF 1 Terminating resistance switch ON Optical System 0 No backup power supply 1 Backup power supply Error information 1 Stores information such as whether or not there is an error log recorded node address setting errors etc 1 Error history 1 Fatal data link error 1 Communications controller send section ...

Page 165: ... 0 Stopped 1 Running PC program being executed CPU Unit Error Status 0 No error 1 Error Data Link Communications Error Status 0 Normal 1 Error Data link data not received normally Data Link Participation Status 0 Not participating or data links stopped 1 Participating Offset Error Status Offset larger than number of send words 0 Normal 1 Error Insufficient Reception Area 0 Normal 1 Insufficient Ex...

Page 166: ...e 140 Node Cannot Participate in Data Link and troubleshoot accordingly There are no active data links in the Network Activate the data links Offset error is 1 ON The offset is greater than the num ber of send words at the relevant node Check the number of send words at the relevant node the number of receive words at the local node and the offset then reset the data link table correctly Receive a...

Page 167: ...Tables and reset the routing tables correctly If the error occurs again replace the Control ler Link Support Board There is an error in the routing table setting When using a routing table refer to 7 3 Setting Routing Tables and reset the routing tables correctly If no routing tables are being used delete the tables Data link table error is 1 ON The data link table data in the EEPROM of the CPU Un...

Page 168: ...ed and the most recent error recorded Error Log Table Configuration 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 The computer s time information can be read and used in the Controller Link Support Board When the time cannot be read from the computer all error log times wi...

Page 169: ...nit number settings and recreate the I O tables Yes 0006 Hex CPU error Bit 11 Unit missing in reg istered I O tables Bit 12 Hard test number detected Bit 13 Illegal number detected Bit 14 Unit number dupli cated Check the unit number settings and recreate the I O tables Yes 000E Hex I O bus error 00 Hex 00 Hex Check the environment settings Yes 000F Hex CPU Unit initialization error Check the envi...

Page 170: ...unique No 0106 Hex Transmission failed redundant node address Correct node addresses so that they are unique within the same Network No 0107 Hex Transmission failed destination node not in Network Refer to 9 1 Troubleshooting Using Indicators and place destination node into Network No 0108 Hex Unit missing cannot execute Refer to the Installation Guide and check the Controller Link unit num ber No...

Page 171: ...con figure system to distribute load No 0118 Hex Illegal packet discarded Check for nodes sending illegal data Yes 0124 Hex Maximum frame length exceeded cannot route Correct the FINS command format Also be sure that the parameters specified for the command do not produce a response that is too long No 0203 Hex EEPROM error 01 Hex Read error 02 Hex Write error 01 Hex Data link tables 02 Hex Net wo...

Page 172: ... Support Board No See note 3 021C Hex Data link error stopped Not set Stop the user application reset the computer and retry Yes 021E Hex Network line disconnection Ring status See note 5 Refer to information in previous sec tions of this manual Yes 0220 Hex Additional information 1 for num ber of participating nodes decreased 0206 Hex Bits 00 to 15 correspond to disconnected nodes 1 to 16 Check t...

Page 173: ...Software and the message service When using other Programming Devices refer to the Programming Device s operation manual for details 1 Token timeout error 1 Polling timeout error 1 Communications controller hardware error 1 Polling node was changed 1 Nodes in Network changed added or removed 1 Communications controller send error 1 Duplicate node address setting error 7 6 5 4 3 2 1 0 Disconnected ...

Page 174: ...mum condition Wipe the Unit with a dry soft cloth daily If glue vinyl or tape is left on the Board for long periods of time it will stain Remove these items during cleaning Caution Do not use volatile solvents such as benzine or paint thinner or chemical cloths for cleaning They will damage the quality of the coating on the Board 9 4 2 Inspection Controller Link Support Boards must be inspected on...

Page 175: ...d return to you nearest OMRON outlet as listed at the back of this manual Note In order to prevent faulty operation be sure to turn off the power to all nodes before replacing the Board 9 5 2 Replacing the Board Note 1 When replacing the Board 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...

Page 176: ...g for the polling unit g Click the OK Button 7 Use the following procedure to start the Controller Link PCI service from the FinsGateway Settings so the Board will participate in the network a Click the Basic Tab in the FinsGateway Settings b Click the Services Icon c Select CLK PCI and click the Start Button 8 Using the CLK Data Link Setting Utility in the FinsGateway or the Control ler Link Supp...

Page 177: ...Applicable computer Connection type Model number Remarks IBM PC AT or com patible Wired 3G8F5 CLK21 E Controller Link Sup port Software included Optical 3G8F5 CLK11 E Applicable PC Connection type Model number Remarks CV series PCs Wired CVM1 CLK21 Optical Ring for H PCF cable CVM1 CLK12 Optical Ring for GI cable CVM1 CLK52 C200HX HG HE PCs Wired C200HW CLK21 CS series PCs Wired CS1W CLK23 CS1W CL...

Page 178: ...ric Wire Co Japanese company Name Model Remarks Optical Connector S3200 COCF2071 Connects a cable to a node Two connectors are required for each cable Full lock connector for crimp cut cable S3200 COCF2571 Connects a cable to a node Two connectors are required for each cable Half lock connector for crimp cut cable S3200 COIAT2000 Connects two cables One adapter is required to connect two cables Op...

Page 179: ...101 50 m S3200 HCCB501 100 m S3200 HCCB102 500 m S3200 HCCB502 1 000 m S3200 HCCB103 Orange 10 m S3200 HCCO101 50 m S3200 HCCO501 100 m S3200 HCCO102 500 m S3200 HCCO502 1 000 m S3200 HCCO103 S3200 H Tensioner option None Standard with tension member N Without tension member Cable length A B A 10 x 10B m Cable color B Black O Orange Cable specification L With power supply line C Without power supp...

Page 180: ... 10 m S3200 CN102 20 25 15 m S3200 CN152 20 25 20 m S3200 CN202 20 25 Over 20 m S3200 CN 20 25 Specify length m when ordering Optical Fiber Cable Connectors CF 2501H CF 2501H 2 m S3200 CN201 25 25 5 m S3200 CN501 25 25 10 m S3200 CN102 25 25 15 m S3200 CN152 25 25 20 m S3200 CN202 25 25 Over 20 m S3200 CN 25 25 Specify length m when ordering Item Min Typical Max Unit Conditions Numerical aper ture...

Page 181: ...n 20 connections backup power supply 46 clearing network disconnection information 106 GI Cable Optical Ring System 41 H PCF Cable Optical Ring System 35 maximum delay for line disconnections 131 reading connection configuration information 102 reading network disconnection information 104 wired systems 30 connectors standard models 158 160 Controller Link communications 126 Controller Link Suppor...

Page 182: ...table 148 network relay 110 processing data link status 146 other status 147 reading 108 reading and clearing error logs 153 reading with C language 69 response codes 111 F features Controller Link 1 Controller Link network 4 data links 11 message service 12 FINS commands BROADCAST TEST DATA SEND 108 BROADCAST TEST RESULTS READ 107 command codes 95 CONNECTION CONFIGURATION INFORMATION READ 102 CON...

Page 183: ...18 definition 118 other OMRON networks 118 parameters 127 specifying 128 reading status 99 relay error 110 network parameters maximum node address 127 node bypass function 46 nodes extending to 62 7 number of polled nodes 127 O operating system specifications 21 optical fiber cables accessories 37 See also cables standard models 159 P parameters 93 FINS commands 94 PC reading controller status 97 ...

Page 184: ...upply 46 communications 16 data link 76 data link tables 80 general 18 message service 92 standard models 157 system configuration 13 T troubleshooting 137 indicators LNK 140 RUN ERR INS 138 status information 143 using ClkGetNetworkStatus 143 using indicators 138 W wiring 30 See also connections ...

Page 185: ...rst table second table corrected and information added after it and table added Page 49 Information added to description in two places Page 50 Detailed error information changed in two places Pages 52 and 53 Information added to description Page 53 Error code changed from 70 to 69 Page 56 Data type changed to DWORD at bottom of page Pages 57 59 87 88 and 130 Information restricting context to 32 n...

Page 186: ...table Page 67 Added error codes Pages 74 76 Added note Page 111 Changed last third of table Page 77 Added material to first row of table and removed material from third and sixth rows Page 104 Changed ranges in No of stored records response Page 116 Changed section on relay network table 05 March 2011 Pages xvi and xvii Changed PC to PLC Page xvi Changed last warning Page xvii Changed first senten...

Page 187: ......

Page 188: ... IL 60169 U S A Tel 1 847 843 7900 Fax 1 847 843 7787 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 Contact www ia omron com Kyoto JAPAN OMRON ASIA PACIFIC PTE LTD No 438A Alexandra Road 05 05 08 Lobby 2 Alexandra Technopark Singapore 119967 Tel 65 6835 3011 Fax 65 6835 2711 OMRON CHINA CO LTD Room 2211 Bank of China T...

Reviews: