Omron SYSMAC 3G8F7-CLK12-E Operation Manual

Controller link support boards for pci bus
Table of Contents

Advertisement

Quick Links

Cat.No. W383-E1-1
SYSMAC
3G8F7-CLK12-E (Optical Ring, H-PCF Cable)
3G8F7-CLK52-E (Optical Ring, Gl Cable)
3G8F7-CLK21-E (Twisted-pair Cable)
Controller Link Support Boards for PCI Bus
OPERATION MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron SYSMAC 3G8F7-CLK12-E

  • Page 1 Cat.No. W383-E1-1 SYSMAC 3G8F7-CLK12-E (Optical Ring, H-PCF Cable) 3G8F7-CLK52-E (Optical Ring, Gl Cable) 3G8F7-CLK21-E (Twisted-pair Cable) Controller Link Support Boards for PCI Bus OPERATION MANUAL...
  • Page 3 3G8F7-CLK12-E (Optical Ring, H-PCF Cable) 3G8F7-CLK52-E (Optical Ring, GI Cable) 3G8F7-CLK21-E (Twisted-pair Cable) Controller Link Support Boards for PCI Bus Operation Manual Produced January 2001...
  • Page 5 OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
  • Page 7: Table Of Contents

    TABLE OF CONTENTS PRECAUTIONS ....... . . 1 Intended Audience .
  • Page 8 TABLE OF CONTENTS SECTION 8 Communications Timing ......Network Parameters ............Communications Cycle Time .
  • Page 9 About this Manual: This manual describes the operation of the 3G8F7-CLK12-E, 3G8F7-CLK52-E, and 3G8F7-CLK21-E Controller Link Support Boards for PCI Bus and includes the sections described below. Controller Link Support Boards are used to connect IBM PC/AT or compatible computers to a Controller Link Network. The following three manuals are directly related to application of the Controller Link Network.
  • Page 11: Precautions

    PRECAUTIONS This section provides general precautions for using the Controller Link Support Board for PCI Bus and related devices. The information contained in this section is important for the safe and reliable application of the Controller Link Sup- port 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.
  • Page 12: Intended Audience

    You must consult with your OMRON representative before applying a Controller Link Support Board for PCI Bus to the above mentioned applications.
  • Page 13: Operating Environment Precautions

    Operating Environment Precautions • The PC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
  • Page 14: Application Precautions

    Application Precautions Application Precautions Observe the following precautions when using the Controller Link Support Board for PCI Bus or the computer into which it is installed. Note Refer also to 1-4 Application Precautions for further information and additional precautions. WARNING Failure to abide by the following precautions could lead to serious or possibly fatal injury.
  • Page 15 Application Precautions • Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected operation. • Observe the following precautions when wiring the communications cable or backup power supply cables. •...
  • Page 17: Outline Of Functions

    SECTION 1 Outline of Functions This section outlines the functions of the Controller Link Support Board, including the applications of the Controller Link Support Board and the differences between the Controller Link Support Board and the Controller Link Unit. Overview .
  • Page 18: Overview

    1-1-1 What Is the Controller Link? The Controller Link is an FA network that can send and receive large data pack- ets flexibly and easily among advanced OMRON Programmable Controllers (CS1-series, C200HX/HG/HE-series, CQM1H-series, CVM1, and CV-series PCs) and IBM PC/AT or compatible computers.
  • Page 19 Overview Section Token-bus Mode CS1W-CLK12 CVM1-CLK12 IBM PC/AT or CS1W-CLK11 Controller Link Unit IBM PC/AT or Controller Link Unit compatible Controller Link Unit (Token-bus mode) compatible (Token-bus mode) CVM1 or CV-series CS1-series PC CS1-series PC H-PCF Optical Fiber Cable 3G8F5-CLK11 3G8F7-CLK12-E (daisy-chain connection) Controller Link...
  • Page 20: Features

    Overview Section The functions of a Controller Link Network are outlined below. Controller Link Data link Manual settings Automatic settings Message service RAS functions Error log function Data link status display Polling node backup (See note 1.) Node bypass function Transmission path (See note 2.) duplication...
  • Page 21 Overview Section Twisted-pair Cable or Optical Fiber Cable Connection The Controller Link Units can be connected to the network using either shielded twisted-pair cables, optical fiber cables, or optical ring optical fiber cables. The optical ring optical fiber cables can be either H-PCF cables or GI cables. Select the system that suits the application.
  • Page 22 Overview Section Flexible Inter-network Connections The Controller Link Network can be connected to another network (Ethernet, SYSMAC NET Link, SYSMAC LINK, or another Controller Link network) through a CS1-series or CV-series PC. By installing Ethernet, SYSMAC NET Link, or SYSMAC LINK, or Controller Link Communications Units on the same CS1-series PC or CV-series PC, a message service can be created with nodes in the interconnected networks through that PC.
  • Page 23: What Is A Controller Link Support Board

    Overview Section 1-1-3 What Is a Controller Link Support Board? A Controller Link Support Board is used to directly connect an IBM PC/AT or compatible with an ICA or PCI bus to a Controller Link Network. A Controller Link Support Board supports data links, a message service, and RAS functions in the same way as a Controller Link Unit.
  • Page 24: Features Of Pci Bus Controller Link Support Boards

    Overview Section 1-1-4 Features of PCI Bus Controller Link Support Boards The Controller Link Support Board for PCI Bus can be used to configure various communications applications using FinsGateway Controller Link (PCI) Em- bedded Edition. User application PLC Reporter 32, DataFlowNavi for Access, AIMAX-FA, etc.
  • Page 25 Overview Section Message Service FINS commands and FINS responses can be sent and received for specified nodes on the network by executing FINS message send/receive functions ClkSendFins( ) and ClkRecvFins( ) from the user program. Computer User application ClkSendFins( ) ClkRecvFins( ) FinsGateway Controller Link (PCI) Embedded Edition...
  • Page 26: Specifications And Configurations

    Specifications and Configurations Section Specifications and Configurations 1-2-1 System Configuration Wired System Wired Systems are supported by CS1-series, C200HX/HG/HE, CVM1, and CV- (Twisted-pair Cable) series PCs. IBM PC/AT or IBM PC/AT or CQM1H-CLK21 CS1W-CLK21 C200HW-CLK21 CVM1-CLK21 compatible compatible Controller Link Unit Controller Link Unit Controller Link Unit Controller Link Unit...
  • Page 27: Pci Bus Controller Link Support Board Models

    Specifications and Configurations Section Optical Bus or Optical Optical Systems are supported by CS1-series, CVM1, and CV-series PCs. Ring System (GI Cable) Token Ring Mode CS1W-CLK52 CVM1-CLK52 Controller Link Unit Controller Link Unit (Token Ring Mode) (Token Ring Mode) CVM1 or CV-series CS1-series PC IBM PC/AT or...
  • Page 28 Specifications and Configurations Section Items Specifications Code Manchester code Modulation Baseband code Synchronization Flag synchronization (conforms to HDLC frames) Transmission path format Ring method (Token Ring Mode) Daisy-chain method (token-bus mode) Transmission speed 2 Mbps Maximum transmission 20 km 30 km distance 62.5/125 µm: 2 km Maximum distance...
  • Page 29: General Specifications

    Specifications and Configurations Section Wired System Items Specifications Type Wired Model 3G8F7-CLK21-E Communications method N:N token bus Code Manchester code Modulation Baseband code Synchronization Flag synchronization (conforms to HDLC frames) Transmission path form Multi-drop bus Baud rate and maximum The maximum transmission distance varies with the baud rate as follows: transmission distance 2 Mbps: 500 m...
  • Page 30: Dimensions

    Specifications and Configurations Section 1-2-5 Dimensions Wired Model (3G8F7-CLK21-E) (Unit: mm)
  • Page 31 Specifications and Configurations Section H-PCF Cable Optical Ring Model GI Cable Optical Ring Model (3G8F7-CLK12-E) (3G8F7-CLK52-E) (Unit: mm)
  • Page 32: Indicators

    Specifications and Configurations Section 1-2-6 Indicators Optical Ring System Wired System (H-PCF Cable and GI Cable) Name Color Status Explanation Operating Green The Board is operating normally. Not lit A Board operating error (watchdog timer error) has occurred. Error One of the following errors has occurred. Communications error Node address setting error (duplicate setting) Optical system connection error...
  • Page 33: Basic Procedures

    Basic Procedures Section 1-2-8 Software Configuration User application FinsGateway utilities Software C Library FinsGateWay Hardware Controller Link Support Board Note A CLK data link setting utility is included in the FinsGateway utilities. Make the data link table settings for the Board using this utility. For details, refer to Fins- Gateway online help.
  • Page 34: Applications Precautions

    Applications Precautions Section 2. Read and write to the data link area using the utility applications that use the C Library. Note The data links can also be started by sending the data link activation command of the FINS message service, or by using a PC software switch operation.
  • Page 35 Applications Precautions Section When a routing table is transferred (written) to a PC, all CPU Bus and Commu- nications Units are reset. The routing tables must not be transferred to a PC while the system is running. Data Links When using a manually set data link, delete the data link tables from all nodes not participating in the data link.
  • Page 37: Wiring

    SECTION 2 Wiring This section describes how to wire the power supply cables and communications cables to the Controller Link Support Board. Connecting Wired Systems ..........2-1-1 Devices Required for Connection .
  • Page 38: Connecting Wired Systems

    Connecting Wired Systems Section Connecting Wired Systems This section describes the methods for wiring network communications cables to the Controller Link Support Board (3G8F7-CLK21-E). 2-1-1 Devices Required for Connection The Wired Controller Link System uses the shielded twisted-pair cable specified below.
  • Page 39: Connecting Cables To Communications Connectors

    Connecting Wired Systems Section 11. The ground wire connected to the connector of a Controller Link Support Board must be 2.5 mm or less. Connect all the shield lines of the communication cables and then ground the shield at one end of the network. The wiring method is shown below. End Board Intermediate Board End Board...
  • Page 40 Connecting Wired Systems Section Note a) Turn OFF the power supply to the computer before connecting the communications cable or connecting/disconnecting a connector. b) Use the connector attached to a Controller Link Support Board. 4. Strip the insulation far enough to attach the crimp terminals and twist the wire strands tight.
  • Page 41 Use a small flat-blade screwdriver with a constant width. The appropriate tightening torque is 0.2 N-m. Small flat-blade screwdriver with a constant width Note The following screwdriver is available from OMRON. Model: XW4Z-00C Side Front 2-1-4 Connecting the Connector to the Board Connect the connector on the communications cable to the connector on the Board using the following procedure.
  • Page 42: Connecting The Connector To The Board

    Connecting Wired Systems Section 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 necessary to prevent disconnection of a connector during communications.
  • Page 43: Connecting H-Pcf Cable Optical Ring System Cables

    Connecting H-PCF Cable Optical Ring System Cables Section Connecting H-PCF Cable Optical Ring System Cables This section describes how to connect the communications cable to the Control- ler Link Support Board (3G8F7-CLK12-E) for H-PCF Cable Optical Ring Sys- tems. 2-2-1 Communications Cables Optical Bus or Optical The following devices are required for the Optical Bus or Optical Ring (H-PCF) Ring System (H-PCF...
  • Page 44 Connecting H-PCF Cable Optical Ring System Cables Section Also, the maximum distance is reduced due to extension loss when Inline Adapters are used to extend cables. Optical Fiber Cables with Connectors (Indoor Use Only) The following Optical Fiber Cables are available with Connectors already at- tached.
  • Page 45: Optical Fiber Cables (H-Pcf Cables)

    Connecting H-PCF Cable Optical Ring System Cables Section 2-2-2 Optical Fiber Cables (H-PCF Cables) All of the nodes in the Optical Controller Link Network are connected in a line Optical Ring System in Token Bus Mode (daisy-chain configuration) with H-PCF Optical Fiber Cables. Begin connection with the rightmost connector (SL1) of the highest node in the network and connect to the leftmost connector (SL2) in the next lower node, as shown in the following diagram.
  • Page 46: Installing Connectors

    Connecting H-PCF Cable Optical Ring System Cables Section 2-2-3 Installing Connectors A special connector is used to connect the Optical Fiber Cable to the Controller 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.
  • Page 47 Connecting H-PCF Cable Optical Ring System Cables Section 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 be- fore starting operation.
  • Page 48 Connecting H-PCF Cable Optical Ring System Cables Section Cord: 30 kg/10 cm Cable: 50 kg/10 cm • Inspect the connector before installing it. • When connecting or disconnecting the Optical Fiber Cable, be sure to hold the connector firmly. (Do not pull on the cable itself.)
  • Page 49: Optical Ring System (Gi Cable) Wiring

    Optical Ring System (GI Cable) Wiring Section Optical Ring System (GI Cable) Wiring This section describes how to wire the communications cables to a GI cable Ring System Controller Link Support Board (3G8F7-CLK52-E). 2-3-1 Communications Cables The following devices are required for the Optical Ring (GI) Controller Link Net- work.
  • Page 50 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 cable (core diameter), as follows: 62.5/125 µm:...
  • Page 51: Installing Connectors

    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 cable (core diameter), as described below.
  • Page 52 Optical Ring System (GI Cable) Wiring Section 2. As shown in the following diagram, secure the Optical Fiber Cable, and se- cure the holding piece to the mounting bracket. Secure the two cables simul- taneously for nodes except the start and end nodes. Pay attention to the orientation of the mounting bracket and the connector position when con- necting the cable from the highest node in the network to the rightmost con- nector (SL1), and the cable from the next lower node to the leftmost connec-...
  • Page 53 Optical Ring System (GI Cable) Wiring Section into the Board’s optical connector. Press and turn the cable’s connector clockwise to lock the connector in place. Board’s optical Cable optical connector connector Slot Press and turn the metal fitting on the cable connector until it locks. Align the tab in the cable connector with the slot in the Board’s connector and fully insert the cable connector.
  • Page 54: Backup Power Supply Wiring (Optical Ring Systems Only)

    24 VDC, 400 mA max. (per node) Inrush current 2.5 A max. (when 24-VDC rising time is 5 ms) An OMRON S82K-series Power Supply Unit is recommended. Note 1. If connecting multiple nodes to one power supply, or if the distance between...
  • Page 55: Connecting The Backup Power Supply

    Backup Power Supply Wiring (Optical Ring Systems Only) Section 2-4-2 Connecting the Backup Power Supply Observe the following precautions when connecting the backup power supply. • Separate the backup power supply wires from other power lines and high-volt- age lines to prevent noise. •...
  • Page 57: Creating Applications Using The C Library

    SECTION 3 Creating Applications Using the C Library This section describes how to create applications (user programs) that control the Controller Link Support Board. Basic Flow ............. . 3-1-1 Data Link Procedure .
  • Page 58: Basic Flow

    Basic Flow Section Basic Flow This section describes the basic procedural flow in creating the applications (user programs) necessary to use the Controller Link Support Board data link function and the message service function. Create the applications according to the flowcharts in this section. The following explanations assume that the driver and C library have already been installed.
  • Page 59 Basic Flow Section 3-1-2 Message Service Procedure The basic procedure for using the message service is outlined in the following flowchart. START Routing tables Routing tables already already written written or not necessary Write the routing tables using the Support Software. Writing routing tables Transfer the routing tables to the...
  • Page 60: Using The C Library

    Using the C Library Section Using the C Library The Microsoft Visual C++ library functions for the Controller Link Support Board are provided in the following file. Fine name Contents CLK_LIB.LIB Microsoft Visual C++ Ver. 6.0 (Service Pack 3) import library file The library contains the following functions.
  • Page 61 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\Controller Link\Lib. 4. Include the following line at the beginning of the program: #include <CLK_LIB.h>...
  • Page 63: C Language Function Reference

    SECTION 4 C Language Function Reference This section gives details on the C-language library functions supported by the Controller Link Support Board. Library Functions ............4-1-1 ClkOpen() Board Open...
  • Page 64: Library Functions

    Library Functions Section Library Functions This section describes the library functions used for the Control Link Support Boards for PCI bus. Refer to Section 3 Creating Applications Using the C Library for application methods. Functions Function name Name Function Page ClkOpen Board Open Opens the application interface and gets...
  • Page 65: Clkclose()

    Library Functions Section 4-1-2 ClkClose() Board Close Function Opens the application interface and gets a CLK handle. Call Format INT ClkClose( PCLKHANDLE hCLK ); Arguments Type Variable name Description PCLKHANDLE hCLK The CLK handle obtained with ClkOpen() Return Value CLK_SUCCESS is returned if the function ends normally. CLK_ERROR is returned if the function ends in an error.
  • Page 66: Clkwritedatalink()

    Library Functions Section Return Value The size of the FINS message that was receive is returned as the number of by- tes if the function ends normally. CLK_ERROR is returned if the function ends in an error. Detailed error informa- tion can be obtained using ClkGetLastError().
  • Page 67: Clkreaddatalink()

    Library Functions Section The function will end in an error if a memory name specified in the argument does not exist. (Detailed error information = ERR_NO_MEM_TYPE: 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);...
  • Page 68: Clkgetringstatus()

    Library Functions Section The read data size is fixed. Provide a memory area the size of the PNSTBUF- FER structure as a read data storage buffer. If the function is executed for a Board that is not part of a network, 0 will be set for the following members of the read data structure.
  • Page 69: Clksetmessageonarrival()

    Library Functions Section 4-1-9 ClkSetMessageOnArrival() FINS Message Reception Notification Registration to Window Function Makes settings to notify the specified window with a Windows message when a FINS message is received. Call Format INT ClkSetMessageOnArrival(PCLKHANDLE hCLK, HWND hWnd, UINT uMsg); Arguments Type Variable name Description...
  • Page 70 Library Functions Section The function will end in an error if a null pointer is specified for the window handle specified as the argument. (Detailed error information = ERR_WINDO- WHANDLE_PARA: Window handle error) The function will end in an error if an illegal value is specified for the window han- dle specified as the argument.
  • Page 71: Clkclearmessageonarrival()

    Library Functions Section 4-1-11 ClkClearMessageOnArrival() FINS Message Reception Notification Clear Function Clears windows message notification when a FINS message is received. Call Format INT ClkClearMessageOnArrival(PCLKHANDLE hCLK); Arguments Type Variable name Description PCLKHANDLE hCLK The CLK handle obtained with ClkOpen() Return Value CLK_SUCCESS is returned if the function ends normally.
  • Page 72: Structure Descriptions

    Structure Descriptions Section Structure Descriptions 4-2-1 CLKHEADER/*PCLKHEADER Structure This structure stores heading information for a FINS message. It is used by ClkSendFins() and ClkRecvFins(). Type Variable name Contents BYTE ByIcfBits FINS header ICF Set the following for the FINS message: Command/response and response needed/not needed.
  • Page 73: Nstbuffer/*Pnstbuffer Structure

    Structure Descriptions Section 4-2-3 NSTBUFFER/*PNSTBUFFER Structure This structure stores network status that has been read. It is used by ClkGetNet- workStatus(). Type Variable name Contents BYTE byConnectionMethod Wired/optical discrimination, transmission path form, etc. ––: Not specified. Maximum number of nodes supported 00: 32 nodes 01: 64 nodes Transmission path...
  • Page 74 Structure Descriptions Section Type Variable name Contents BYTE byStatus3 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: Node address setting error 1: Fatal data link error 1: Node address duplicated 1: Communications controller send 1: Network parameter mismatch...
  • Page 75 Structure Descriptions Section Type Variable name Contents BYTE byStatusFlag Data link operation status and data link mode Stores the data link operation status, data link mode, etc. ––: Not specified Current Data Link Mode 0: User-set links 1: Automatic Data Link Operating Status 0: Stopped 1: Running BYTE...
  • Page 76: Ringbuffer/*Pringbuffer Structure

    Structure Descriptions Section 4-2-4 RINGBUFFER/*PRINGBUFFER Structure This structure stores optical ring status that has been read. It is used by ClkGe- tRingStatus(). Type Variable name Contents WORD wDisConnectionFlag Disconnected Line Flags (See graphic following this table.) WORD wDisConnectionNodeInfo1 Disconnected node information 1 (See graphic following this table.) WORD wDisConnectionNodeInfo2...
  • Page 77: Detailed Error Information

    Detailed Error Information Section Starting Time for Disconnected Information Storage Minutes Seconds Date of month Hour (24–hr time) Year (rightmost 2 digits) Month The time when recording disconnection information was started is stored as shown above. All data is BCD. Detailed Error Information The information read by ClkGetLastError is listed in the following table.
  • Page 79: Data Links

    SECTION 5 Data Links This section describes how to use data links in a Controller Link Network. What Are Data Links? ........... . . 5-1-1 Data Link Specifications .
  • Page 80: What Are Data Links

    What Are Data Links? Section What Are Data Links? Data links automatically exchange data in the preset areas between nodes (PCs and/or computers) on one network. Data links can be created for C200HX/HG/ HE PCs, CV-series PCs, CS1-series PCs, and IBM PC/AT or compatible com- puters.
  • Page 81 What Are Data Links? Section Manual Setting Options The following options can be set when manually setting data links. Offsets Data of only the specified number of words can be received starting from the specified word position. The starting word is set as an offset from the beginning of the send data.
  • Page 82 What Are Data Links? Section • All nodes can be specified to either participate or not participate in the data link. • The data link areas are exactly the same and common to all nodes participat- ing in the data links. Note The Controller Link Support Software contains a function called “Easy Setting”...
  • Page 83: Data Link Specifications

    What Are Data Links? Section Application Example of Using Offsets In the following example, the send data from node 1 is split into three parts and each part is received by a different node, i.e., each of the other nodes receives only part of the send data from node 1.
  • Page 84: Setting Data Links

    Setting Data Links Section 5-1-2 Differences Between Manual and Automatic Setting Item Manual setting Automatic setting (See note 1.) Determination of nodes Determined by setting data link tables. Determined by the data link parameters participating in a data set in the data link startup node (the link node used to start the data links).
  • Page 85: Manual Setting

    Setting Data Links Section 4. In manual setting, a data link table must be set in the data link startup node and in automatic setting, automatic data link setting parameters must be set in the data link startup node. Data links will not be started unless the settings are correct.
  • Page 86: Data Link Table Specifications For Controller Link Support Boards

    Setting Data Links Section 5-2-3 Data Link Table Specifications for Controller Link Support Boards Setting item Setting range Nodes Optical Ring: 1 to 62 (1 to 32 when optical and optical ring connections are combined.) Wired: 1 to 32 Set the addresses of the refresh nodes. First data link The first data link status word is fixed;...
  • Page 87: Automatic Setting: "Select All

    Setting Data Links Section 5-2-4 Automatic Setting: “Select All” Data links can be automatically created by setting values in the DM parameter area of the PC’s CPU Unit of the startup node. The settings are made using a Programming Console “or the SYSMAC Support Software. The startup node is the node from which the data links are activated.
  • Page 88: Starting And Stopping Data Links

    Starting and Stopping Data Links Section Data Link Areas Created Node #1 (PC) Node #2 (PC) Node #3 (computer) LR 0 LR 10 Area 1 LR 20 DM1000 DM1200 Area 2 DM1400 Starting and Stopping Data Links Data link must be started after data link areas have been created. Use any of the methods described below for the startup node to start and stop data links.
  • Page 89: Using A Programming Device Or A Ladder Program

    Starting and Stopping Data Links Section 5-3-1 Using a Programming Device or a Ladder Program Set the software switches (AR or DM Start Bit) in the PC to ON using a Program- ming Device or from the ladder-diagram program. User program Startup node Programming Device Controller Link...
  • Page 90: Using The Controller Link Support Software

    Starting and Stopping Data Links Section CV-series Startup Node 15 14 13 12 11 10 9 Word N N: DM 2000 + 100 × (unit number) Data link Start Bit Start: Changed from OFF to ON or set to ON when power is turned on Stop: Changed from ON to OFF 5-3-2 Using the Controller Link Support Software...
  • Page 91: Checking Data Link Status

    Checking Data Link Status Section Checking Data Link Status There are two methods for checking the status of active data links: • Check the LED indicators on the front of the Units. • Check the data link status area. 5-4-1 LED Indicators Check the LNK indicator on the front of the Board.
  • Page 92 Checking Data Link Status Section See 9-2 Status Information and Troubleshooting for troubleshooting proce- dures. First word Node 1 Node 2 Node 3 Node 4 Node 4 Node 6 Node 7 Node 8 PC Operating Status 0: Stopped 1: Running (PC program being executed.) Node 29 Node 30 Node 31...
  • Page 93: Checking By Manipulating Bit/Word Status

    Checking Data Link Status Section • The following shows an example of an insufficient receive area. Insufficient (short) Sufficient Node 1 Node 2 Node 1 Node 2 Receive Receive Send Send area area area area Data indicated by cannot be received in node 2. Data indicated by is received in Data indicated by...
  • Page 95: Message Service

    SECTION 6 Message Service This section explains how to use the message service provided by a Controller Link Support Board. Introduction ............. 6-1-1 Message Service Specifications .
  • Page 96: Introduction

    Introduction Section Introduction A message service is a command/response system used for data transmission between nodes on a network, i.e., computer to computer, PC to computer, or computer to PC. The message service can also be used to control operations, such as mode changes.
  • Page 97: Fins Command/Response Format

    FINS Command/Response Format Section FINS Command/Response Format This section explains the format of the FINS commands and responses speci- fied by the “clksend” library function. When actually sending or receiving message service data, the contents speci- fied by the library function parameters are attached as a header. When the mes- sage service is used, however, there is normally no need to pay special attention to headers.
  • Page 98: Parameters

    FINS Command/Response Format Section Destination unit address. Specify within the following ranges. PC (CPU Unit) 01 to 0F: Application on FinsGateway (Refer to FinsGateway online help.) 10 to 1F: Board for CPU Bus Unit or computer Unit or Board connected to specified network (Any Unit or Board in Controller Link, SYSMAC NET, or SYSMAC LINK network) Source network address.
  • Page 99: Commands And Responses For The Support Board

    Commands and Responses for the Support Board Section Commands and Responses for the Support Board 6-3-1 Command Codes Data link operation Command Name Page mode code code Active Inactive Not valid Valid DATA LINK START Valid Not valid DATA LINK STOP Valid Valid CONTROLLER DATA READ...
  • Page 100: Data Link Stop

    Commands and Responses for the Support Board Section 6-3-3 DATA LINK STOP Stops the Controller Link Network data links. Command Block Command code Response Block Command Response code code The DATA LINK STOP command can be received only while the data links is ac- tive.
  • Page 101: Controller Status Read

    Commands and Responses for the Support Board Section Connection Type: Wired/Optical (response) Maximum Number of Supported Nodes Not used 00: 32 nodes 01: 62 nodes Note When optical and optical ring connections Transmission Path are combined, the maximum number of 0: Token bus 1: Token ring nodes supported will be given as 62 nodes...
  • Page 102 Commands and Responses for the Support Board Section Status 2 (response): This byte contains the following information for Controller Link Support Boards. (It is always 00 Hex for Wired Controller Link Support Boards.) 0 0 0 Baud rate setting Wired System 0001: 2 Mbps 0: Terminating resistance switch OFF 0010: 1 Mbps...
  • Page 103: Network Status Read

    Commands and Responses for the Support Board Section 6 5 4 3 2 1 Byte 1 The numbers in the boxes indicate the node addresses. The bit status of a particular 15 14 13 12 11 10 9 Byte 2 node address shows whether or not that 23 22 21 20 19 18 17 Byte 3...
  • Page 104 Commands and Responses for the Support Board Section Data link operation (response): Indicates the status of data link operation in the network. 0 0 0 0 Data link operational status 0: Inactive 1: Active Data link type (response): Indicates the data transmission status of the source node’s data links.
  • Page 105: Data Link Status Read

    Commands and Responses for the Support Board Section 6-3-7 DATA LINK STATUS READ Reads the data link operational status. Command Block Command code Response Block 62 bytes (See note.) Refresh Refresh Status Response Command cycle time cycle time code code present maximum value...
  • Page 106: Connection Configuration Information Read

    Commands and Responses for the Support Board Section Status (response): The data link status of each mode is returned as shown in the following diagram. It is the same as the data link read using a libary function. (Refer to page 75.) Data link status for each node Node #1 Byte 1...
  • Page 107: Network Disconnection Information Read

    Commands and Responses for the Support Board Section Parameters First node to read (command): Specify the node to start the configuration from counting downstream direction (SL2) from the local node. The number is speci- fied as a 2-digit hexadecimal value between 00 and 3E (decimal 0 to 62). Number of nodes to read (command and response): In the command, speci- fy the number of node addresses to return as a 2-digit hexadecimal value be- tween 00 and 3E (decimal 0 to 62).
  • Page 108 Commands and Responses for the Support Board Section Command Block Command code Response Block Command Response Disconnected Disconnected Disconnected Date Hours Year Month code code Line Flags node in- node in- formation 1 formation 2 4 bytes 4 bytes 4 bytes 4 bytes 4 bytes No.
  • Page 109: Network Disconnection Information Clear

    Commands and Responses for the Support Board Section Number of network disconnections (response): Specifies the number of times disconnection information has been received from the polling node since the starting time for disconnection information. If the same disconnection in- formation is received two or more communications cycles in a row, it is consid- ered a continuous disconnection and not counted.
  • Page 110: Echoback Test

    Commands and Responses for the Support Board Section Response Block Command Response code code 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 current disconnection status. Disconnected Node Information 1 and 2 are overwritten whenever new information is generated.
  • Page 111: Broadcast Test Data Send

    Commands and Responses for the Support Board Section Response Block Command Response Number of code code receptions Parameters Number of receptions (response): The number of times that broadcast test data has been received at the command destination node from the time that the last BROADCAST TEST RESULTS READ command was sent until this one was sent is returned.
  • Page 112: Response Codes

    Response Codes Section 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 re- cords that can be recorded, within a range of 0001 to 0027 in hexadecimal (deci- mal: 1 to 39).
  • Page 113: Configuration

    Response Codes Section 6-4-1 Configuration Response codes for FINS commands consist of two bytes that indicate the result of executing a command. The structure of the response codes is shown in the following diagram. First byte Second byte Main response code (MRES) Sub-response code (SRES) 1: Relay Error Flag 1: PC Non-fatal Error Flag...
  • Page 114: Response Codes And Troubleshooting

    Response Codes Section In the two diagrams, the numbers indicate the following: (1) The transmitted data fails to be received. (2) The relay error and response code are returned to the command source. In this example, data cannot be transferred between Controller Link Units due to Example 1 some cause such as a routing table error.
  • Page 115 Response Codes Section Main code Sub- Probable cause Remedy code 01: Source node error Source node not part of Network Add to Network. Token time-out, node address too Set the source node’s node address below large the maximum node address. Number of transmit retries exceeded Check communications with echoback test.
  • Page 116 Response Codes Section Main code Sub- Probable cause Remedy code 10: Command format The command is longer than the max. Check the command format of the error permissible length. command and set it correctly. The command is shorter than min. Check the command format of the permissible length.
  • Page 117 Response Codes Section Main code Sub- Probable cause Remedy code 20: Read not possible The data is protected. Execute the instruction again after issuing the PROGRAM AREA PROTECT CLEAR command to the PC. An attempt was made to download a Check the file name and either interrupt file that is being uploaded.
  • Page 118 Response Codes Section Main code Sub- Probable cause Remedy code 22: Not executable in The mode is wrong (executing). Check the operating mode. current mode Data links are active. Check the data link status before execution. The mode is wrong (inactive). Check the operating mode.
  • Page 119 Response Codes Section 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 I/O table again.
  • Page 120 Response Codes Section Main code Sub- Probable cause Remedy code 26: Command error The specified area is not protected. The program area is not protected, so it This response code will be returned if isn’t necessary to clear protection. an attempt is made to clear protection on an area that is not protected.
  • Page 121: Network Interconnections

    SECTION 7 Network Interconnections This section describes the method used to connect multiple networks. What is Network Interconnection? ..........7-1-1 Interconnecting Controller Link Networks .
  • Page 122: What Is Network Interconnection

    What is Network Interconnection? Section What is Network Interconnection? Network interconnection enables commands and responses for the message service to be sent and received across multiple networks, including FA and OA networks. The four networks listed below can be interconnected to achieve this. FA Networks •...
  • Page 123: Routing Tables

    Routing Tables Section • Computer Bridges and Gateways: FinsGateway automatically implements the bridge or gateway functionality. It does not need to be programmed by the user. The FinsGateway, however, does not connect all networks. Refer to the Fins- Gateway online help for details. Computer FinsGateway Controller Link...
  • Page 124: Setting Routing Tables

    Setting Routing Tables Section Note 1. The unit number is set between 00 and 15 using the rotary switch on the front panel of CV-series and CS1-series Controller Link Units, and is the same as the operating level for C200HX/HG/HE PCs. For the Support Board, the unit number is 16 less that the unit address (i.e., the Communications Unit num- ber) set for the Board in the FinsGateway settings.
  • Page 125: Example Routing Table Settings

    Setting Routing Tables Section 7-3-1 Example Routing Table Settings This section shows examples of routing table settings. The example below shows local network table settings when a Support Board is Example 1 mounted to a computer. Computer Unit number b Controller Link Network address A Local Network Table SIOU...
  • Page 126 Setting Routing Tables Section Example 3 The network structure example in the figure below shows routing tables for all nodes. Unit 5 Node 1 SNT: SYSMAC NET LINK Unit CLK: Controller Link Unit/ Board SLK: SYSMAC LINK Unit Network 10 Unit 3 Unit 4 Node 4...
  • Page 127 Setting Routing Tables Section Routing Tables on PC 4 Local Network Table Relay Network Table SIOU Relay Netwk unit# Netwk PC ID Netwk Node Routing Tables on PC 5 Local Network Table Relay Network Table SIOU Relay Netwk unit# Netwk PC ID Netwk Node...
  • Page 129: Communications Timing

    SECTION 8 Communications Timing This section explains details on Controller Link Network communications. Refer to this section for network communications that require accurate communications timing. Network Parameters ............8-1-1 Controller Link Communications .
  • Page 130: Network Parameters

    Network Parameters Section Network Parameters This section explains how to use Controller Link Network communications and how to adjust the network parameters to match the system. 8-1-1 Controller Link Communications The token bus method is used for communications in the Controller Link Net- work.
  • Page 131: Network Parameters

    Network Parameters Section The refresh cycle time will vary depending on factors such as the communica- tions cycle time, the number of data link words, and so on. The refresh cycle time value can be displayed by the Controller Link Support Software’s data link status monitoring function.
  • Page 132: Communications Cycle Time

    Communications Cycle Time Section Note The default value is 32 for Wired Controller Link Support Boards and 62 for Opti- cal Ring Controller Link Support Boards. The network parameters become valid immediately after being set. Note 1. Always stop the data link before changing network parameters. 2.
  • Page 133 Communications Cycle Time Section Calculation Example for Communications conditions are as follows: Wired Networks Type: Wired Transmission medium: Twisted-pair cables Baud rate: 2 Mbps Network parameters: Defaults Max node address: Polled nodes per comm cycle: Event-frames per comm cycle: 35 Network configuration: 8 nodes Total number of data link words: 8,000 words...
  • Page 134: Inactive Data Links

    Communications Cycle Time Section 8-2-2 Inactive Data Links The following equations are used to calculate the communications cycle time when the data links are inactive. (The communications cycle time will vary some- what depending on the baud rate and the conditions at that particular time.) Wired Networks Baud rate Equation...
  • Page 135: Maximum Delay For Line Disconnections In Token Ring Mode

    Communications Cycle Time Section Calculation Example for Communications conditions are as follows: Optical Ring Networks Type: Optical Ring with H-PCF Cable Transmission medium: H-PCF cable Transmission distance: 8 km Baud rate: 2 Mbps (fixed) Network parameters: Defaults Max node address: Polled nodes per comm cycle: Event-frames per comm cycle: 35 Network configuration:...
  • Page 136: Data Link I/O Response Time

    Data Link I/O Response Time Section Maximum Communications Cycle Time Delay with Node Addresses Set in Order The maximum delay in the communications cycle time can be calculated as fol- lows if the node addresses are set in the order that the nodes are connected in the network.
  • Page 137: Computer To Pc

    Data Link I/O Response Time Section 8-3-1 Computer to PC In the following diagram illustrating the maximum data link I/O response time, a CS1-series PC is used for the PC (#2) and the PC’s cycle time is greater than or equal to the communications cycle time.
  • Page 138: Pc To Computer

    Data Link I/O Response Time Section 8-3-2 PC to Computer In the following diagram illustrating the maximum data link I/O response time, a CS1-series PC is used for the PC (#2) and the PC’s cycle time is greater than or equal to the communications cycle time.
  • Page 139: Message Service Delay Times

    Message Service Delay Times Section Message Service Delay Times The following diagram illustrates the maximum message service transmis- sion delay time. In this example, the MEMORY AREA READ FINS command is sent to the PC at node #2 (a CS1-series PC) by the user application at the computer at node #1.
  • Page 141: Troubleshooting And Maintenance

    SECTION 9 Troubleshooting and Maintenance This section provides information on troubleshooting errors that occur during Controller Link Support Board operation, as well as daily inspection, cleaning, and other maintenance procedures. Troubleshooting Using Indicators ..........9-1-1 Using the RUN, ERR and INS Indicators .
  • Page 142: Troubleshooting Using Indicators

    Troubleshooting Using Indicators Section Troubleshooting Using Indicators This section describes the errors shown by the Controller Link Support Board indicators and possible remedies. Optical Ring System Wired System (H-PCF Cable and GI Cable) Name Status Description The Board is operating normally. An error has occurred.
  • Page 143: Troubleshooting With Lnk Indicators

    Troubleshooting Using Indicators Section Indicators Error Error Probable cause Probable cause Probable remedy Probable remedy history history 021A Hex Routing table setting error. Reset the routing table correctly, referring to 7-3 Setting Routing Tables. When no routing table is being used, delete the routing table.
  • Page 144: Status Information And Troubleshooting

    Status Information and Troubleshooting Section Indicators Probable cause Probable remedy Data link operating normally. Flashing When manual setting was used, there is an error in Refer to 5-2-2 Manual Setting and reset the data the data link table. link table. Not lit For manual setting, there are no data link tables set Set data link tables for the local node.
  • Page 145 Status Information and Troubleshooting Section Type Variable name Contents BYTE byMyUnitAddr Local unit address Stores the local unit address set for the Controller Link Board. BYTE byMyNetAddr Local network address Stores the local network address set for the Controller Link Board. BYTE abyNodeList[32] Network participation status...
  • Page 146 Status Information and Troubleshooting Section Type Variable name Contents BYTE byStatus6 Reserved area Stores undetermined data. BYTE byStatusFlag Data link operation status and data link mode Stores the data link operation status, data link mode, etc. ––: Not specified Current Data Link Mode 0: User-set links 1: Automatic Data Link Operating Status...
  • Page 147: Error Processing

    Status Information and Troubleshooting Section 9-2-2 Error Processing Data Link Status: abyDataLinkStatus [ ] Bit status Probable cause Probable remedy PC’s CPU Unit error is 1: ON A fatal PC error, non-fatal PC error, Refer to the PC’s operation manual or a watchdog timer error has and correct the error.
  • Page 148: Error Log

    Error Log Section Bit status Probable cause Probable remedy Communications controller hardware The Controller Link Support Board is Replace the Controller Link Support error is 1: ON faulty. Board. Network parameter mismatch is 1: ON The network parameters in EEPROM Use the Controller Link Support do not agree with those being used by Software to check the current...
  • Page 149 Error Log Section 9-3-1 Error Log Table Errors are recorded in an error log table in the Board’s RAM, with one record for each error and a maximum of 39 records. Serious errors are also recorded in the Board’s EEPROM so that when the pow- er to the Board is turned OFF or reset, a record of the error will remain.
  • Page 150: Error Codes

    Error Log Section Error Error Contents Contents Detail code Correction Correction Recorded Recorded code code 1st byte 2nd byte EEPROM EEPROM 0003 CPU Unit RAM error 01 Hex: 00 Hex Check the environment settings. Cyclic 02 Hex: Event 04 Hex: CPU bus link 0004...
  • Page 151 Error Log Section Error Error Contents Contents Detail code Correction Correction Recorded Recorded code code 1st byte 2nd byte EEPROM EEPROM 0101 Transmission failed; local node Command block Refer to 9-1 Troubleshooting not in Network Bits 0 to 7: Using Indicators and place the Source node address local node into Network.
  • Page 152 Error Log Section Error Error Contents Contents Detail code Correction Correction Recorded Recorded code code 1st byte 2nd byte EEPROM EEPROM 010D Transmission failed; destination Command block Check routing tables. address incorrect Bits 0 to 7: So rce node ddress Source node address 010E Transmission failed;...
  • Page 153 Error Log Section Error Error Contents Contents Detail code Correction Correction Recorded Recorded code code 1st byte 2nd byte EEPROM EEPROM 020C Time out with token 00 Hex Error status Check network parameters, node (See note participation, cables, and terminating resistance. 0210 Communications controller 00 Hex...
  • Page 154: Reading And Clearing Error Logs

    Error Log Section 3. Error Status The status of each bit indicates that an error has occurred as given in the diagram below. 1: Token timeout error 1: Polling timeout error 1: Communications controller hardware error 1: Polling node was changed 1: Nodes in Network changed (added or removed) 1: Communications controller send error 1: Duplicate node address setting error...
  • Page 155: Cleaning And Inspection

    Cleaning and Inspection Section Clearing an Error Log Send the ERROR LOG CLEAR FINS command (command code 2103) to the appropriate node. Refer to 6-3-15 ERROR LOG CLEAR Cleaning and Inspection 9-4-1 Cleaning Conduct the following periodic cleaning to keep the Controller Link Support Board in optimum condition.
  • Page 156: Handling Precautions

    Board. • When returning a faulty Board 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.
  • Page 157 Handling Precautions Section 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 Controller Link Support Software, read the network parameters and make sure the Network is operating normally.
  • Page 159: Appendix

    Appendix Standard Models Controller Link Support Boards for PCI Bus Applicable Connection type Model number Remarks computer IBM PC/AT or Include Wired 3G8F7-CLK21-E compatible FinsGateway Optical Ring for 3G8F7-CLK12-E Controller Link H-PCF cable (PCI) Embedded (PCI) Embedded Optical Ring for GI 3G8F7-CLK51-E Edition (Version 3) cable...
  • Page 160 Appendix Standard Models Optical Fiber Cable Connectors and Accessories for Optical Ring Networks with H-PCF Cable Name Model Remarks Optical S3200-COCF2011 Connects a cable to a node. Two Connector connectors are required for each cable. (Full-lock connector for crimp-cut cable.) S3200-COCF2511 Connects a cable to a node.
  • Page 161 20 m S3200-CN202-25-25 Over 20 m S3200-CN-25-25 (Specify length (m) when ordering.) Note Special training is required to assemble Optical Fiber Cables and con- nectors with epoxy adhesive. Contact your OMRON dealer for details on other optical fiber cords and cables.
  • Page 162 Appendix Standard Models GI Optical Fiber Cables for Optical Ring Networks Use graded index (GI) optical fiber cables with the following optical characteristics. 50/125 µm AGF Item Min. Typical Max. Unit Conditions Numerical 0.21 Theoretical value aperture λ = 0.8-µm band Transmission loss 3.0 Lf 0.5 km x Lf...
  • Page 163: Index

    Index A–B Controller Link Support Software (CLSS) standard models, 143 starting and stopping data links, 74 access modes, Controller Link Support Board, 8 Controller Link Unit, standard models, 143 applications, creating, 41 backup power supply, optical system, 38 broadcast test DA1, 81 reading results, 94 DA2, 82...
  • Page 164 98 features, 4 response data format, 82 interconnections, 105 starting and stopping data links, 74 Controller Link, 106 definition, 106 other OMRON networks, 106 G–I parameters, 115 specifying, 115 reading status, 87 gateway count, 81 relay error, 97 GCT, 81...
  • Page 165 Index operating system, specifications, 17 SA1, 82 optical fiber cables SA2, 82 See also cables service ID, 82 accessories, 28 standard models, 144 setting, data link, 68 SID, 82 SNA, 82 software, configuration, 17 parameters, 81 FINS commands, 82 source network address, 82 PC, reading controller status, 85 node number, 82...
  • Page 166 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W383-E1-1 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.

This manual is also suitable for:

Sysmac 3g8f7-clk52-eSysmac 3g8f7-clk21-e

Table of Contents