background image

Cat.No. W383-E1-1

Controller Link Support Boards for PCI Bus

SYSMAC

3G8F7-CLK12-E (Optical Ring, H-PCF Cable)
3G8F7-CLK52-E (Optical Ring, Gl Cable)
3G8F7-CLK21-E (Twisted-pair Cable)

OPERATION MANUAL

Summary of Contents for SYSMAC 3G8F7-CLK12-E

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

Page 2: ......

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 4: ......

Page 5: ... this sense The abbreviation PC means Programmable Controller and is not used as an abbreviation for any thing else Visual Aids The following headings appear in the left column of the manual to help you locate different types of information Note Indicates information of particular interest for efficient and convenient operation of the product Reference Indicates supplementary information on relate...

Page 6: ......

Page 7: ...ring Optical Ring Systems Only 38 SECTION 3 Creating Applications Using the C Library 41 3 1 Basic Flow 42 3 2 Using the C Library 44 SECTION 4 C Language Function Reference 47 4 1 Library Functions 48 4 2 Structure Descriptions 56 4 3 Detailed Error Information 61 SECTION 5 Data Links 63 5 1 What Are Data Links 64 5 2 Setting Data Links 68 5 3 Starting and Stopping Data Links 72 5 4 Checking Data...

Page 8: ...k I O Response Time 120 8 4 Message Service Delay Times 123 SECTION 9 Troubleshooting and Maintenance 125 9 1 Troubleshooting Using Indicators 126 9 2 Status Information and Troubleshooting 128 9 3 Error Log 132 9 4 Cleaning and Inspection 139 9 5 Handling Precautions 140 Appendix A Standard Models 143 Index 147 Revision History 151 ...

Page 9: ...PCs to a Controller Link Network W309 CS1W CLK12 CVM1 CLK12 Optical Ring Controller Link Units Operation Manual Installation setup and operating procedures for the Optical Ring Controller Link Units Controller Link Units are used to connect C200HX HG HE CV series and CS1 series PCs to a Controller Link Network W370 Depending on the system you may also need the SYSMAC or CV Support Software or a Pr...

Page 10: ......

Page 11: ...nt 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 1 Intended Audience xii 2 General Precautions xii 3 Safety Precautions xii 4 Operating Environment Precautions xiii 5 Application Precautions xiv ...

Page 12: ... 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 representative before applying a Controller Link Support Board for P...

Page 13: ...tions Caution Do not operate the control system in the following locations Locations subject to direct sunlight Locations subject to temperatures or humidity outside the range specified in the specifications Locations subject to condensation as the result of severe changes in tempera ture Locations subject to corrosive or flammable gases Locations subject to dust especially iron dust or salts Loca...

Page 14: ...n 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 unstable An incorrect power supply may result in malfunction Install external breakers and take other safety measures against short circuit ing in external wiring Insufficie...

Page 15: ... place heavy objects on top of the cables Route cables inside conduits Before touching the Unit be sure to first touch a grounded metallic object in order to discharge any static built up Not doing so may result in malfunction or damage Do not touch the Board surfaces or parts Install the Board according to instructions in the operation manuals Improper installation may cause faulty operation When...

Page 16: ......

Page 17: ...ink Support Board 7 1 1 4 Features of PCI Bus Controller Link Support Boards 8 1 1 5 Outline of PCI Bus Controller Link Support Board Functions 8 1 2 Specifications and Configurations 10 1 2 1 System Configuration 10 1 2 2 PCI Bus Controller Link Support Board Models 11 1 2 3 Communications Specifications 11 1 2 4 General Specifications 13 1 2 5 Dimensions 14 1 2 6 Indicators 16 1 2 7 Product Comp...

Page 18: ...rted by CS1 series C200HX HG HE CQM1H series CVM1 and CV series PCs CQM1H CLK21 Controller Link Unit CS1 series PC Twisted pair cable 3G8F5 CLK21 E Controller Link ISA Support Board CS1W CLK21 Controller Link Unit C200HW CLK21 Controller Link Unit C200HX HG HE PC CVM1 or CV series PC CVM1 CLK21 Controller Link Unit CQM1H series PC 3G8F7 CLK21 E Controller Link PCI Support Board IBM PC AT or compat...

Page 19: ... 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 CS1 series PC CVM1 or CV series PC CVM1 or CV series PC CS1 series PC GI Optical Fiber Cable ring connection 3G8F7 CLK52 E Controller Link PCI Support Board Token Ring Mode IBM PC AT or compatible Token bus Mode CS1W CLK52 Contr...

Page 20: ...reated for large capacities of data as listed below Item Specifications Number of send words per node 1 000 words max Number of send and receive words per node Optical Ring Controller Link Support Board 62 000 words max Wired Controller Link Unit for ISA bus or PCI bus 32 000 words max Controller Link Unit for CS1 Series 12 000 words max Controller Link Unit for C200HX HG HE CVM1 or CV Series 8 00...

Page 21: ...th GI cable the communica tions distance can be up to 30 km 2 km max between nodes using 62 5 125 µm cable which allows long distance and large scale networks Once the optical fiber cable has been fitted with special connectors the cables can be easily connected or disconnected Communications between Different PCs The following Controller Link Units are available for communications between differe...

Page 22: ...on backup power must be supplied to the Control ler Link Unit Support Board Optical transmission path Bypass IBM PC AT or compatible Power interruption 24 VDC Backup Pow er Supply CLK PC CLK PC CLK PC CLK In Token Ring Mode in an Optical Ring System H PCF cable or GI cable data transmission will be unaffected even by a cable or connector break at one loca tion in the ring connection With the optic...

Page 23: ... the type of connection cable Wired System Controller Link Network 3G8F7 CLK21 E for PCI Bus or 3G8F5 CLK21 E for ISA Bus Controller Link Support Board Controller Link Unit PC IBM PC AT or compatible Optical System Optical Ring System H PCF Cable Optical System Optical Ring System H PCF Cable Controller Link Network 3G8F7 CLK12 E for PCI Bus or 3G8F5 CLK11 E for ISA Bus Controller Link Support Boa...

Page 24: ...ls for PC communica tions User applications can be created more easily using Microsoft Visual Ba sic PLC Reporter 32 DataFlowNavi for Access and AIMAX FA are software packages of communications middleware These software packages must be purchased separately For details refer to the manual for the appropriate soft ware 1 1 5 Outline of PCI Bus Controller Link Support Board Functions Controller Link...

Page 25: ...port Board Controller Link Network ClkSendFins ClkRecvFins FinsGateway Controller Link PCI Embedded Edition PC A maximum of 4 PCI Bus Controller Link Support Boards can be mounted to one computer Consequently multiple user applications can be executed simulta neously Computer User application User application FinsGateway Controller Link PCI Embedded Edition Controller Link Support Board PC Control...

Page 26: ...g Mode CVM1 CLK12 Controller Link Unit Token Ring Mode CS1W CLK12 Controller Link Unit Token Ring Mode CVM1 CLK12 Controller Link Unit Token Ring Mode Backup power supply 24 VDC CS1 series PC CVM1 or CV series PC CVM1 or CV series PC CS1 series PC H PCF Optical Fiber Cable ring connection 3G8F7 CLK12 E Controller Link PCI Support Board Token Ring Mode IBM PC AT or compatible Token bus Mode CS1W CL...

Page 27: ...PC AT or compatible 3G8F7 CLK52 E Controller Link PCI Support Board Token bus mode Note A maximum of 4 PCI Bus Controller Link Support Boards can be mounted Dif ferent types of system can be mounted simultaneously PCI Bus Controller Link Support Boards can also be used with ISA Bus Controller Link Support Boards If PCI Bus and ISA Bus Controller Link Support Boards are used together howev er a sep...

Page 28: ...twork total transmission 62 000 words max See note 4 Data link areas FinsGateway Event Memory Message length 2 012 bytes max including the header RAS functions Polling node backup function Self diagnosis function hardware checking at startup Echoback test and broadcast test using the FINS command Watchdog timer Error log function Node bypass function Transmission path duplication For ring method i...

Page 29: ...ta link words in one network send receive 32 000 words max Data link areas FinsGateway event memory Message length 2 012 bytes max including the header RAS functions Polling node backup function Self diagnosis function hardware checking at startup Inter node test and broadcast test using the FINS command Watchdog timer Error log function Error control Manchester code check CRC check CCITT X16 X12 ...

Page 30: ...1 2 Section Specifications and Configurations 14 1 2 5 Dimensions Wired Model 3G8F7 CLK21 E Unit mm ...

Page 31: ...1 2 Section Specifications and Configurations 15 Unit mm H PCF Cable Optical Ring Model 3G8F7 CLK12 E GI Cable Optical Ring Model 3G8F7 CLK52 E ...

Page 32: ...s OFF TER See Terminating resistance Yellow Lit Terminating resistance switch is ON resistance is connected See note 2 resistance setting Not lit Terminating resistance switch is OFF resistance is not connected Note 1 The P S indicator is mounted to the Optical Ring Units only 2 The TER indicator is mounted to the Wired Units only 1 2 7 Product Components System Model Contents Wired system 3G8F7 C...

Page 33: ...Service Pack 3 or later Microsoft Visual C Ver 6 0 Service Pack 3 Note 1 Operation of the Controller Link BIOS Driver and Library can be guaran teed only under the computer and operating system specified above Please use the specified computer and operating system 2 Windows 95 Windows NT3 51 or earlier OS cannot support the Controller Link Support Board 1 3 Basic Procedures Initial Procedure Refer...

Page 34: ...ontroller Link Network and turn OFF the switch for all other nodes Note Refer to the Controller Link Support Board Installation Guide W388 Turn OFF the power of all the nodes on the network before connecting or discon necting a cable Note Refer to Section 2 Wiring Use the specified cable only Note Refer to 1 2 Specifications and Configurations Set the same baud rate for all nodes on the same netwo...

Page 35: ...rent the net work will not be configured correctly Wired Systems cannot be used together with Optical or Optical Ring Systems If using Optical System Units model numbers ending CLK11 and H PCF Cable Optical Ring System models model numbers ending CLK12 together the transmission paths for the H PCF Cable Optical Ring System Units must be set to Token Bus Mode for all nodes If the transmission path ...

Page 36: ......

Page 37: ... 2 1 4 Connecting the Connector to the Board 26 2 2 Connecting H PCF Cable Optical Ring System Cables 27 2 2 1 Communications Cables 27 2 2 2 Optical Fiber Cables H PCF Cables 29 2 2 3 Installing Connectors 30 2 3 Optical Ring System GI Cable Wiring 33 2 3 1 Communications Cables 33 2 3 2 GI Optical Fiber Cable Wiring 33 2 3 3 Installing Connectors 35 2 4 Backup Power Supply Wiring Optical Ring Sy...

Page 38: ...lectronic noise 3 Ground the shield line of the communications cable at one end of the net work Do not ground the shield at both ends 4 Do not connect the shield cable of the communications cable to a ground that is also being used for power system devices such as inverters 5 Turn ON the terminating resistance switch at the nodes at both ends of the network to connect terminating resistance Turn O...

Page 39: ...bles to Communications Connectors When connecting a communications cable to a Controller Link Support Board connect the cable to the attached connector first and then attach to the connec tor 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 ...

Page 40: ...ing tool can be used to attach these terminals Crimp terminal Cable 7 Carefully insert the signal line and shield line into each hole of the connector Insert as marked on the connector The following example shows connec tion to a Board in the middle of the Network S S BD L BD H Shield lines Note a Loosen the screws in the connector enough to allow the terminal to pass before inserting the signal l...

Page 41: ...t suitable because it cannot be inserted far enough 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 S S 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...

Page 42: ...connection Utmost care is necessary to prevent disconnection of a connector during communications Controller Link Support Board Communications disabled Connector Network split communications disabled 2 Do not pull on a communication cable 3 When bending a communications cable allow 60 mm or more for the bend ing radius R 4 Do not place heavy objects on the communications cable 5 Supply power only ...

Page 43: ... HCCO502 1 000 m S3200 HCCO103 Note The Optical Fiber Cable model numbers are as follows S3200 Hjjjjjjj Tensioner option None Standard with tension member N Without tension member Cable length jjj A B A 10 x 10B m Cable color B Black O Orange Cable specification L With power supply line C Without power supply line Type B Cord C Cable Name Model Specifications Connector S3200 COCF2011 Use to connec...

Page 44: ...3200 COCF2511 10 m S3200 CN102 25 25 S3200 COCF2511 15 m S3200 CN152 25 25 20 m S3200 CN202 25 25 Over 20 m S3200 CN 25 25 Specify length m when ordering Note 1 Consult a specialist tradesman if cables with outdoor specifications are re quired 2 The cables listed above are black and have power supply lines and tension members although the power supply lines aren t used in the Controller Link Netwo...

Page 45: ... Board Note 1 Always use the specified Optical Fiber Cables 2 The maximum distance between nodes depends on the method used to at tach the connector to the cable 3 In a system using Optical System Units model numbers ending CLK11 in Token Bus Mode daisy chain connections the maximum number of nodes is 32 i e node addresses 1 to 32 Connect all the nodes in a ring using H PCF Optical Fiber Cables Be...

Page 46: ...the Optical Fiber Cable and se cure the holding piece to the mounting bracket Secure the two cables simul taneously for nodes except the end nodes Pay attention to the orientation of the mounting bracket and the connector position when connecting the cable 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 Cable ...

Page 47: ...ided into two Communications disabled Do not pull on the Optical Fiber Cable The maximum tension that can be applied to the cord is 10 kg about 22 lbs and the maximum tension that can be applied to the cable is 50 kg about 110 lbs Cord Cable Do not bend the cable paste its natural bending radius The minimum radius for bends is 10 cm R To prevent the Optical Fiber Cable from being pulled too forcef...

Page 48: ...e Optical Ring System Cables 32 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: ...mission bandwidth 500 MHz km λ 0 85 µm LD Note Lf is fiber length in km Ta is ambient temperature and λ is the peak wavelength of the test light source 62 5 125 µm AGF Cable Item Minimum Standard Maximum Unit Conditions Numerical Aperture N A 0 28 Theoretical value Transmission loss 3 5 Lf dB 0 5 km x Lf λ 0 8 µm loss 3 5 Lf 0 2 0 2 km x Lf 0 5 km Ta 25_C 3 5 Lf 0 4 Lf 0 2 km Connection loss 1 0 λ...

Page 50: ...ble to reduce the effect on the communications time if a wire breaks Also be sure to cover the unused connectors on the highest and lowest nodes in the network with the provided Optical Connector Covers Optical Connector Cover Included Higher Lower Optical Connector Cover Included Refer to 2 1 1 Devices Required for Connection for details on available Optical Fiber Cables Refer to 2 2 3 Installing...

Page 51: ...fer to 2 2 3 Installing Connectors for details on connecting the Optical Fiber Cables to the Controller 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 ...

Page 52: ...ting bracket with the grooves into the hole on the board surface until it locks firmly a and then secure the other end of the mounting bracket using the screw b Take care not to bend or pull the Optical Fiber Cable forcefully Cable is not shown for clarity of the diagram 4 Remove the Optical Connector Covers from the Unit s connectors shown in the following diagram if there are covers protecting t...

Page 53: ...e connector Insert the connectors completely and always check that the connectors are locked before starting operation If a connector becomes disconnected while in token bus mode the node will be unable to communicate with other nodes in that part of the network The network will be divided into two and communications with the remaining nodes will be unreliable Be sure not to remove connectors duri...

Page 54: ...pply voltage 24 VDC Allowable power supply voltage fluctuation range 20 4 to 26 4 VDC 24 VDC 15 to 10 Consumption current 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 the power supply and the node is great carefully consider...

Page 55: ...s installed properly before using the power supply Check the wiring configuration carefully before turning ON the power 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 using H PCF cables but the diagram for GI cables is the same Be sure that the power supply polarity is not reversed 24 VDC B...

Page 56: ......

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

Page 58: ...orded in the Board s EEPROM Initialization Sending receiv ing data link data Ending Open the application interface using the ClkOpen function Read and write data link data using the ClkRadDatalink and ClkWrite Datalink functions Close the application interface using the ClkClose function The network participation status and data link oper ating status can be read using the ClkGetNetwork Status fun...

Page 59: ...us and data link operating status can be read using the ClkGetNetworkStatus function Response Note 1 Routing tables are not needed if all communications take place with other nodes in the local network but routing tables must be prepared if there are communications between nodes on different networks 2 Repeat the process to send and receive FINS messages as often as re quired by the application 3 ...

Page 60: ...ata to a data link area 50 ClkReadDatalink Data Link Data Read Reads data from a data link area 51 ClkGetNetworkStatus Network Status Read Reads the network status 51 ClkGetRingStatus Optical Ring Status Read Reads the optical ring status 52 ClkSetMessageOnArrival FINS Message Reception Notification Registration to Window Makes settings to notify the specified window with a Windows message when a ...

Page 61: ...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 Button 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 Contro...

Page 62: ......

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

Page 64: ...tion Acquire Gets an error code generated when a CLK library function is used 55 4 1 1 ClkOpen Board Open Opens the application interface and gets a CLK handle PCLKHANDLE ClkOpen BYTE byAppUnitAdr INT piRetErr Type Variable name Description BYTE byAppUnitAdr Unit address allocated to the application INT piRetErr Error information for ClkOpen A CLK handle is returned if the function ends normally C...

Page 65: ... FINS message send buffer CLK_SUCCESS is returned 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 Refer to Structure Descriptions for information on the header information struc ture Store the FINS message from the command code MRC on in the FINS mes sage send buffer The function will end in an e...

Page 66: ...e timeout The function will end in an error if the received FINS message is larger than the reception buffer size The portion of the FINS message that fits will be stored in the reception buffer Detailed error information ERR_MSG_SIZE_OVER Re ceive buffer size error 4 1 5 ClkWriteDatalink Data Link Data Write Writes data to a data link area INT ClkWriteDatalink PCLKHANDLE hCLK PEMCLKADDRESS pEmAd ...

Page 67: ...ize specified as the argument Detailed error information ERR_READ_BUFFER_SIZE Read data size error The function will end in an error if access is requested to 3 or more different memory areas for one CLK handle Detailed error information ERR_MEMORY_AREA Multiple memory area specification error The function will end in an error if a memory name specified in the argument does not exist Detailed erro...

Page 68: ...n PCLKHANDLE hCLK The CLK handle obtained with ClkOpen BYTE byNet Network address of the Broad to read the optical ring status for PRINGBUFFER pBuffer Pointer to the buffer structure to store the read data CLK_SUCCESS is returned 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 Refer to Structure ...

Page 69: ...he argument Detailed error information 67 Illegal window handle The function will end in an error if the message specified in the argument is over 0x7FFF Detailed error information ERR_MESSAGE_PARA Message type error The function will end in an error if a message has already been registered for FINS message reception Detailed error information 70 Duplicated message registration error 4 1 10 ClkSet...

Page 70: ... an illegal value is specified for the window han dle specified as the argument Detailed error information 67 Illegal window handle The function will end in an error if the message specified in the argument is over 0x7FFF Detailed error information ERR_MESSAGE_PARA Message type error The function will end in an error if a message has already been registered for FINS message reception Detailed erro...

Page 71: ...d error informa tion can be obtained using ClkGetLastError 4 1 12 ClkGetLastError Detailed Error Information Acquire Gets detailed error information generated when a Controller Link library function is used INT ClkGetLastError PCLKHANDLE hCLK Type Variable name Description PCLKHANDLE hCLK The CLK handle obtained with ClkOpen Detailed error information is returned if the function ends normally CLK_...

Page 72: ...NS message is stored BYTE byUnitAddr Source destination unit address For ClkSendFins set the destination unit address For ClkRecvFins the unit address of the source of the FINS message is stored INT nSid Service ID Any value can be set to identify the FINS message For ClkRecvFins the SID of the received FINS message is stored 4 2 2 EMCLKADDRESS PEMCLKADDRESS Structure This structure stores heading...

Page 73: ...ticipation status Stores a list of the nodes participating in the network Bit 0 1 2 30 31 Node 1 Reserved Node 3 Node 2 Node 5 Node 4 Node 61 Node 60 Reserved Node 62 Node Participation Information 0 Not participating in network 1 Participating in network 0 Normal disconnection 1 Error disconnection when not participating 0 Normal 1 No response to polling Note For Wired Systems the above informati...

Page 74: ...ntroller send section error 1 Node address setting error 1 Node address duplicated 1 Network parameter mismatch 1 Communications controller hardware error BYTE byStatus4 Reserved area Stores undetermined data BYTE byStatus5 Error information 2 Stores information such as EEPROM write errors setting table errors etc 1 EEPROM write error Bit 1 Network parameter error 1 Data link table error 1 Routing...

Page 75: ... Status 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 Insuffic...

Page 76: ...DisConnectionMaxCycleCount Maximum number of cycles with continuous disconnection DWORD dwFrameDropOutsCountSL1 Number of frame dropouts for SL1 DWORD dwFrameDropOutsCountSL2 Number of frame dropouts for SL2 DWORD dwFrameBrakesCountSL1 Number of broken frames for SL1 DWORD dwFrameBrakesCountSL2 Number of broken frames for SL2 DWORD dwCrcErrorCountSL1 Number of CRC errors for SL1 DWORD dwCrcErrorCo...

Page 77: ...ype does not exist 6 ERR_RESPONSE Response code error 7 ERR_SEND_BUFFER_SIZE Send message size error 8 ERR_RECV_BUFFER_SIZE Reception message size error 9 ERR_WRITE_BUFFER_SIZE Write data size error 10 ERR_READ_BUFFER_SIZE Read data size error 11 ERR_WINDOWHANDLE_PARA Window handle error 12 ERR_MESSAGE_PARA Message type error 13 ERR_MEMORY_AREA Memory type designation error 14 ERR_INTERNAL_FAILURE...

Page 78: ......

Page 79: ...68 5 2 2 Manual Setting 69 5 2 3 Data Link Table Specifications for Controller Link Support Boards 70 5 2 4 Automatic Setting Select All 71 5 2 5 Automatic Setting Example 71 5 3 Starting and Stopping Data Links 72 5 3 1 Using a Programming Device or a Ladder Program 73 5 3 2 Using the Controller Link Support Software 74 5 3 3 Using FINS Commands 74 5 4 Checking Data Link Status 75 5 4 1 LED Indic...

Page 80: ...rea 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 1 1 1 2 Area 1 2 2 2 1 2 2 Area 2 1 1 1 1 2 2 Area 1 1 2 1 2 Area 2 1 1 Send only Example 1 The order of send and receive nodes is free Example 2 Some nodes can send data without receiving data 1 2 Area 1 2 2 2 2 1 2 Area 2 1 2 2 Ar...

Page 81: ...ry Node 1 Node 2 Node 3 3 2 1 3 2 1 3 2 1 Area 1 Bit areas 3 2 1 3 2 1 3 2 1 Example Automatic setting can be used to create simple data links Using a Programming Device such as a Programming Console set the auto matic 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 A computer cann...

Page 82: ... area can be restricted by specifying a number of words from the beginning word of the words sent by another node 1 2 3 2 3 2 3 3 2 1 1 3 2 1 1 3 2 1 1 2 3 1 2 3 Manually set data links A node can specify the number of words to receive from the begin ning send word Automatically set data links However the above system does not guarantee that only the desired words will be received and there is a g...

Page 83: ...in Wired System 32 nodes max 2 nodes min Number of data link words Number of send receive words per node total of area 1 and area 2 CS1 Up to 12 000 C200HX HG HE CV Up to 8 000 Computer Manual setting Optical Ring System Up to 62 000 Wired System Up to 32 000 Automatic setting Up to 8 000 Number of send words per node total of area 1 and area 2 Up to 1 000 Allocation of data link areas Manual sett...

Page 84: ...ossible to not receive the data sent from a specific node See note 2 The entire data sent from each node that is participating in the data link is received Data transmission The send sizes can be set freely in each node It is also possible for certain node not to send data See note 2 In area 1 and area 2 data send sizes are the same in each node Note 1 Automatically set data links cannot be starte...

Page 85: ... Programmer Use the CLK Data Link Setting Utility in Fins Gateway or the Controller Link Support Software version 2 00 or higher 2 Refer to the Controller Link Support Software Operation Manual or the CX Net Operation Manual for actual setting procedures 3 When transferring the data link tables to a Controller Link Unit for a CV se ries PC set the System Protect Keyswitch on the CPU Unit to NORMAL...

Page 86: ...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 The same area cannot be set for both area 1 and area 2 Set different areas Number of words Remote nodes 0 to the number of source words Set the number of words to be received Local node 0 to 1 000 Set the number of words to be transmitted The total numb...

Page 87: ...tically setting data links can only be set in PCs Refer to the Controller Link Units Operation Manual W309 for details 2 A computer Controller Link Support Board cannot be the startup node for an automatically setting data links 3 A computer can participate in automatically set data links Data link tables are not required in the computer the data link tables in the startup node will be used 5 2 5 ...

Page 88: ...ink table in the case of manual setting and data link automat ic setting parameters in the case of automatic setting If the settings are incor rect 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 sys tem Even if the correct data link tables and paramete...

Page 89: ... gram 2 The data in the AR and DM Areas is retained when power is turned off Therefore by setting in the AR and DM Areas can be made in advance to start data links as soon as power is turned on It is recommended to set the Start Bit to ON in multiple 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 ...

Page 90: ... Programming Device Connected to PC Node Node in data links Start stop data links Controller Link Support Software IBM PC AT or compatible Using a Computer Node with FinsGateway IBM PC AT or compatible FinsGateway Start stop specified directly to Controller Link Support Board 5 3 3 Using FINS Commands Data links can be started and stopped by sending the DATA LINK START and DATA LINK STOP FINS comm...

Page 91: ...ive The LNK indicator will be lit at all node participating in the data links as long as operation is normal The data link mode manual automatic can be checked us ing the M A indicator The M A indicator is only available in the Controller Link Unit and cannot be used in the Controller Link Support Board See 9 1 Trouble shooting Using Indicators for details 5 4 2 Data Link Status Area The data link...

Page 92: ...or Indicates if an error has occurred in the PC Always 0 for Controller Link Support Board nodes Communications error 0 Normal 1 Error Indicates if data link data for node was received normally or not Data link participation 0 Not participating in data links or data links inactive 1 Participating in data links Indicates data link participation status Offset error 0 No error 1 Error Error indicates...

Page 93: ...ors com munications errors and data link participation for all nodes 5 When there is not enough receive data to filling a receive area area re maining at a computer node the status of the rest of the receive area will be indeterminate 5 4 3 Checking by Manipulating Bit Word Status Although the data link function itself may be operating correctly the data link areas may have been input incorrectly ...

Page 94: ......

Page 95: ...83 6 3 2 DATA LINK START 83 6 3 3 DATA LINK STOP 84 6 3 4 CONTROLLER DATA READ 84 6 3 5 CONTROLLER STATUS READ 85 6 3 6 NETWORK STATUS READ 87 6 3 7 DATA LINK STATUS READ 89 6 3 8 CONNECTION CONFIGURATION INFORMATION READ 90 6 3 9 NETWORK DISCONNECTION INFORMATION READ 91 6 3 10 NETWORK DISCONNECTION INFORMATION CLEAR 93 6 3 11 ECHOBACK TEST 94 6 3 12 BROADCAST TEST RESULTS READ 94 6 3 13 BROADCAS...

Page 96: ... 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 format data is prepared by the program and sent by executing clksend No special program is required at the receiving end if FINS commands and responses supported by the receiving Unit ar...

Page 97: ...vidual commands in the rest of this manual Command Data Structure 00 02 ICF RSV GCT DNA DA1 DA2 SNA SA1 SA2 SID Header Command code Text Response Data Structure 00 02 ICF RSV GCT DNA DA1 DA2 SNA SA1 SA2 SID Header Command code Text Response code Details ICF Information control field Individual bits of the ICF are used as follows 1 0 0 0 0 0 7 6 5 4 3 2 1 0 Bit Set to 0 Data type 0 command 1 respon...

Page 98: ... 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 transmission is executed using the required parameters The spe cific method depends on the programming method being used Prepare the transm...

Page 99: ...01 Valid Valid ECHOBACK TEST 94 02 Valid Valid BROADCAST TEST RESULTS READ 94 03 Valid Valid BROADCAST TEST DATA SEND 95 21 02 Valid Valid ERROR LOG READ 95 03 Valid Valid ERROR LOG CLEAR 96 Note Command codes 06 04 06 05 and 06 06 are supported only by the Optical Ring Controller Link Support Boards in Token Ring Mode 6 3 2 DATA LINK START Starts the Controller Link Network data links Command Blo...

Page 100: ...nd Block 01 05 Command code Response Block Response code Command code Model 20 bytes 20 bytes Version Reserved for system Node address 05 01 00 Wired Optical Unit address Network address 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 r...

Page 101: ...ror is generated Network address response The network address set for the Support Board in the routing table is returned between 00 and 7F Hex 0 to 127 If the routing table setting has not been made 00 Hex is returned 6 3 5 CONTROLLER STATUS READ Reads the Controller Link Support Board s controller status Command Block 01 06 Command code Response Block 06 01 00 00 00 00 00 Response code Command co...

Page 102: ...oard and the PC The configuration is as follows 1 EEPROM error 1 PC model error C200HX HG HE only 1 PC system setting error CV series PCs only 1 Network parameter error 1 Data link table error 1 Routing table error 7 0 6 5 4 3 2 1 0 0 Bit A network parameter error data link table error or routing table error occurs if an error is discovered when the parameters and tables are checked at power up A ...

Page 103: ...nk operation Data link type 8 bytes 62 bytes Data link recurring error status Data link data error counter 06 02 Participation data response This parameter indicates the active status of individual nodes with respect to the network i e their participation in the net work As shown in the following diagram that status is expressed in four bits corresponding to the node address 7 6 5 4 3 2 1 0 0 Rese...

Page 104: ... 1 8 15 14 13 12 11 10 9 16 23 22 21 20 19 18 17 24 31 30 29 28 27 26 25 32 39 38 37 36 35 34 33 40 47 46 45 44 43 42 41 48 55 54 53 52 51 50 49 56 62 61 60 59 58 57 The numbers in the boxes indicate the node addresses The bit status of a particular node address shows whether or not there is a recurring data link error at that node 0 No recurring error 1 Recurring error Reserved for system use Byt...

Page 105: ...am Bit Data link operational status 0 Inactive 1 Active 1 Data link table error 1 No data link table Data link mode during operation 0 Manual settings 1 Automatic settings 7 6 5 4 3 2 1 0 0 0 0 0 Data link mode response The data link mode during operation is returned in one byte of data as follows 01 Hex Automatic 03 Hex Manual Refresh cycle time present value refresh cycle time maximum value re s...

Page 106: ... to 32 i e 32 bytes are returned for Wired Units Note 1 The length of data returned is different for Wired and Optical Ring Units 2 The data link status is not refreshed while the data links are inactive 3 Nodes which are not active in the network or participating in the data links will generate communications errors 4 Any node which is not active in the network retains the status that existed imm...

Page 107: ...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 response Node addresses are returned in order as 1 byte hexadecimal values starting from the node address of the local node and then the node address of the node specified as the first node to read If the number...

Page 108: ...Flag 0 Normal 1 Disconnected Disconnected node information 1 and 2 response The address of the dis connected node and the direction of the disconnection from the node upstream or downstream are returned 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 0 0 0 0 0 0 0 Disconnection Direction Flag 0 SL1 upstream Normal 1 SL2 downstream Disconnected Node Address 2 digit hexadecimal 00 No disconnection information...

Page 109: ...it hexadecimal value Number of broken frames for SL1 and SL2 response Specifies the number of frames that have been normally received by other systems but for which only the carrier was received at the local node since the starting time for disconnec tion information The value is given as an 8 digit hexadecimal value Number of CRC errors for SL1 and SL2 response Specifies the number of CRC and Man...

Page 110: ...ear all of the disconnection information Disconnection information can also be cleared from the Controller Link Support Software Ver 2 00 or higher and can be cleared for all nodes at the same time in one operation 6 3 11 ECHOBACK TEST Executes an echoback communications test between specified nodes Command Block Command code Test data 1 998 bytes max 08 01 Response Block Command code Test data 1 ...

Page 111: ...es max 08 03 There is no response to this command The control data must be set as follows when this command is issued Destination node address FF Hex for broadcasting the data Destination unit address FE Hex for the Controller Link Support Board or Unit Response required not required flag 1 response not required The transmission and reception status is checked by comparing the number of times this...

Page 112: ...code 1st byte 10th byte Error code details These parameters show the contents of errors For de tails refer to 9 3 2 Error Codes Date and time These parameters show the seconds minutes hour 0 to 23 date month and year the rightmost two digits in BCD specifying the time that the error occurred Note If the PC does not have the specified number of records all the records that have been stored in the P...

Page 113: ... Unit or 3 The destination of a gateway does not exist In any case the Unit that was not able to transfer data will return a response indicating a network relay error Bit 7 of the first byte of the response code will be ON if a network relay error has occurred When this happens two more bytes of data will follow the response code to indicate the location of the error This information along with th...

Page 114: ...er Link Support Board Response Transmission Computer Controller Link Unit Controller Link Unit Controller Link Support Board Response If an error occurs check the MRES and SRES codes for the node in question and correct the problem 6 4 3 Response Codes and Troubleshooting The table below lists response codes main and sub codes returned after execution of the FINS commands the probable cause of err...

Page 115: ...esponse time out response watch dog timer interval too short Increase the value for the response watch dog timer interval in the control data Frame lost in transmission Check the error log and correct the process 03 Communications controller error 01 Error occurred in the communications controller ERC indicator is lit Take corrective action referring to communications controller errors and remedie...

Page 116: ...irst address is in an inaccessible area Set a first address that is in an accessible area 04 The end of specified word range exceeds the acceptable range Check the acceptable limits of the data area and set the word range within the limits Check the data link tables to be sure the limit to link words has not been exceeded 06 A non existent program no has been specified Check the program number and...

Page 117: ...fied area is read only or is write protected If the specified area is read only the write cannot be performed If it is write protected turn off the write protect switch and execute the instruction again 02 The data is protected Execute the instruction again after issuing the PROGRAM AREA PROTECT CLEAR command to the PC An attempt was made to simultaneously download and upload a file Check the file...

Page 118: ...er mode 05 The PC is in the MONITOR mode Check the PC s mode and the computer mode 06 The PC is in the RUN mode Check the PC s mode and the computer mode 07 The specified node is not the control node Check which node is the control node 08 The mode is wrong and the step cannot be executed Check whether the step has active status or not 23 No Unit 01 A file device does not exist where specified Mou...

Page 119: ...en the CPU Unit and an I O Unit Check the 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 conn...

Page 120: ...ks A buffer error has prevented returning 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...

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

Page 122: ...the same PC or computer Controller Link Network Token Ring Controller Link Network IBM PC AT or compatible 7 1 2 Interconnecting Different Types of Networks CV series PCs CS1 series PCs or computers with FinsGateway can be used to connect a Controller Link Network with a SYSMAC NET or SYSMAC LINK Net work Ethernet CV series PC CS1 series PC or IBM computer with FinsGateway See note IBM PC AT or co...

Page 123: ...figure the amount of data sent and received from the Controller Link is limited to 552 bytes including the header because the SYSMAC LINK Network 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 loc...

Page 124: ...ork Network address 1 Local node Computer Node address 1 Node ad dress 3 Node ad dress 1 Relay node PC a Relay node PC b Node address 2 Unit number 0 Node ad dress 1 Unit num ber 1 Node address 2 Destination Network address 2 Network address 3 End network 2 3 Relay network 1 1 Relay node 3 3 3 PC a relay network table 2 2 2 PC b local network table 0 End network 3 1 Data first goes to node address...

Page 125: ...A C B B c e 1 2 A B C C f f 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 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 Node address f PC 5 Node address g Relay PC ID Netwk Node Relay PC ID Netwk Node Relay PC ID Netwk Node Relay PC ID Netwk Node Node a...

Page 126: ...es on PC 1 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 Routing Tables on PC 2 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 Routing Tables on PC 3 1 2 020 010 004 1 2 010 04 3 3 Relay Network Table Local Network...

Page 127: ... ID Netwk Node No Loc Netwk SIOU unit Routing Tables on PC 5 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 Routing Tables on PC 6 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 128: ......

Page 129: ...114 8 1 1 Controller Link Communications 114 8 1 2 Communications Cycle 114 8 1 3 Network Parameters 115 8 1 4 Specifying Network Parameters 115 8 2 Communications Cycle Time 116 8 2 1 Active Data Links 116 8 2 2 Inactive Data Links 118 8 2 3 Maximum Delay for Line Disconnections in Token Ring Mode 119 8 3 Data Link I O Response Time 120 8 3 1 Computer to PC 121 8 3 2 PC to Computer 122 8 4 Messag...

Page 130: ... Units at nodes other than the polling node are called polled nodes The polling node controls the token checks the network and performs other relevant tasks Should the polling node break down the node with the next smallest node ad dress is automatically selected as the polling node to prevent the entire network from shutting down Note There are times when the node with the smallest node address w...

Page 131: ...meter specifies the number of nodes to be checked polled by the pol ling node during each polling cycle The default is 4 Setting this parameter to a high value increases the communications cycle time but reduces the time re quired to recognize that nodes have been removed from or added to the net work Reducing the setting of this parameter shortens the communications cycle time but delays a networ...

Page 132: ...le time will vary some what depending on the baud rate and the conditions at that particular time Wired Networks Baud rate Equation 2 Mbps 10 A 600 B 290 C 320 D 4 E 3 290 µs 1 Mbps 18 A 1 150 B 370 C 360 D 8 E 3 770 µs 500 Kbps 34 A 2 260 B 530 C 440 D 16 E 4 730 µs Optical Networks Baud rate Equation 2 Mbps Fixed Token Ring Mode 9 1 A 1 740 B 960 C 1 100 D 4 E 2 x F 4 800 µs Token Bus Mode 9 1 A...

Page 133: ...s follows Type Optical Ring Transmission medium H PCF cable Transmission distance 8 km Baud rate 2 Mbps fixed Network parameters Defaults Max node address 62 Polled nodes per comm cycle 4 Event frames per comm cycle 35 Network configuration 8 nodes Total number of data 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 equ...

Page 134: ...etwork parameter C Number of nodes connected to 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 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 Communications conditions are as follows Type...

Page 135: ...nue even if the transmis sion line is broken in one location the communications cycle time will be af fected The data that is received first from the SL1 or SL2 reception interfaces is actually used but the data that would normally be received first may be lost The differ ence in time to receive the same data on SL1 and SL2 is thus the delay that can occur for line disconnections This delay result...

Page 136: ...e 4 Event frames per comm cycle 35 Network configuration 8 nodes Nodes that send messages 2 nodes Bytes in all messages sent 2 012 2 bytes In this example B to F in the equation have the following values A 4 B 8 C 2 D 7 8 The communications cycle time delay for Token Ring Mode is thus as follows 4 4 2 2 1 3 8 7 8 1 680 µs 1 7 ms The percentage change for active data links would be as follows refer...

Page 137: ...e before the data is transferred in data link processing 2 The data transferred in data link processing arrives at the PC at node 2 af ter 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 node 2 is longer than the communications cycle time the delay would be approximately two cycles The maximum num...

Page 138: ...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 the Data Link Area of the Support Board mounted at the computer at node 1 but processing is delayed until t...

Page 139: ...e node 2 Send processing node 2 Com munications cycle time Transmission delay time for response Receive pro cessing 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 116 Transmission Delay Time Transmission delay time varies with the baud rate Baud rate Transmission delay time...

Page 140: ......

Page 141: ... the RUN ERR and INS Indicators 126 9 1 2 Troubleshooting with LNK Indicators 127 9 2 Status Information and Troubleshooting 128 9 2 1 Troubleshooting with the ClkGetNetworkStatus Function 128 9 2 2 Error Processing 131 9 3 Error Log 132 9 3 1 Error Log Table 133 9 3 2 Error Codes 134 9 3 3 Reading and Clearing Error Logs 138 9 4 Cleaning and Inspection 139 9 4 1 Cleaning 139 9 4 2 Inspection 139 ...

Page 142: ...lowing Disconnecting the Board or connectors Securing Board or connectors Setting hardware switches Indicators Error hi Probable cause Probable remedy RUN ERR INS history y Lit Not lit Lit Unit operating normally Network participation normal Not lit Lit The Controller Link Support Board is faulty If the ERC indicator still lights when the Board is mounted on another computer replace the Controller...

Page 143: ...ing node 9 1 2 Troubleshooting with LNK Indicators The following table describes the LNK indicators at the startup node and their use in troubleshooting when a data link cannot be started Starting a data link depends on the Controller Link Support Board operating nor mally and participating in the Network Refer to 9 1 1 Using the RUN ERR and INS Indicators earlier in this section and check Board o...

Page 144: ...ating active data links Data links cannot be stopped from nodes which do not have active data links Indicators Probable cause Probable remedy LNK y Not lit Data link stopped normally 9 2 Status Information and Troubleshooting The Controller Link Support Board contains status information which reflects the current status of communications and the Board This status information can be read using the ...

Page 145: ...ores the node address of the current polling node BYTE byStatus1 Reserved area Stores undetermined data BYTE byStatus2 Baud rate power supply status terminating resistance setting status For Wired Systems stores the set baud rate and the setting of the terminating resistance switch For Optical Ring System stores the power supply status Bit Baud rate 0x1 2 Mbits s 0x2 1 Mbits s 0x3 500 kbits s Wire...

Page 146: ...nk Status Not specified PC Operating Status 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 Insufficien...

Page 147: ...rds at the local node and the offset then reset the data link table correctly Receive area short is 1 ON The send area at the relevant node is larger than the receive area and some data cannot be received When the intention is not to receive all data use as is data that cannot be received will be read and discarded When it differs from the intended data link check the number of send words at the r...

Page 148: ...he CPU Unit is damaged Refer to 5 3 Starting and Stopping Data Links and reset the data link tables correctly If the error occurs again replace the CPU Unit There is an error in the data link table settings When using manually set data links refer to 5 3 Starting and Stopping Data Links and reset the data link tables correctly When manually set data links are not being used delete the data link ta...

Page 149: ...ecorded Error Log Table Configuration Record Configuration Details Minutes Seconds Day Hour Year Month Error code 1st byte 10th byte 10 bytes 10 bytes 10 bytes 1 record 1 record 1 record Maximum 39 records 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 i...

Page 150: ... in registered I O tables Bit 12 Hard test number detected Bit 13 Illegal number detected Bit 14 Unit number duplicated 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 environment settings Yes 0010 Hex System capacity exceeded Yes 0011 Hex CPU Unit initialization ...

Page 151: ...o 15 d b bi Refer to the Installation Guide and check node address settings to be sure they are within range and unique No 0106 Hex Transmission failed redundant node address y 2nd byte bits 0 to 7 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...

Page 152: ...x I O duplication cannot send Check the unit numbers to be sure the same number is not set twice in the same PC No 0116 Hex CPU Bus Unit error cannot send Check the Board and cable connections and clear the error No 0117 Hex Internal buffer full Increase number of retries or reconfigure system to distribute load No 0118 Hex Illegal packet discarded Check for nodes sending illegal data Yes 0124 Hex...

Page 153: ...ink Support Board No 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 node 4 Refer to information in previous sections of this manual Yes 0220 hex Additional information 1 for number of participating nodes decreased 0206 Hex Bits 00 to 15 correspond to disconnected nodes 1 to 16 Check the network...

Page 154: ...0 No disconnection information Network Disconnected Flag 0 Normal 1 Disconnected Local Node Disconnected Flag 0 Normal 1 Disconnected Disconnected node information 2 See note 9 3 3 Reading and Clearing Error Logs Error logs can be read or cleared using the FinsGateway Controller Link Sup port Software CX Programmer PC Programming Devices or the message ser vice The following examples are for the C...

Page 155: ... a more regular basis Tools and Equipment Need for Inspection The following tools and equipment will be needed to perform inspection and ad justments Assorted flat blade and Phillips screwdrivers Circuit tester or digital voltmeter Industrial grade alcohol and clean cotton cloth Synchroscope Pen chart recording oscilloscope Thermometer hygrometer Optical tester Inspection Items Inspect the followi...

Page 156: ... param eters in the entire Network will be damaged 2 The data link table network parameters and routing table are stored in the Controller Link Support Board s EEPROM When the Board has been re placed make these settings again before starting operation The following procedure can be used to automatically set the network parame ters in EEPROM from other nodes operating on the network The data link ...

Page 157: ...rd 10 Change the Board to the polling node from the FinsGateway Settings re versing the procedure in step 6 above The RUN and INS indicators should light on the Board The LNK indicator may also light 11 Check that the data links are operating normally by using the CLK Data Link Setting Utility in the FinsGateway or the Controller Link Support Software Note The following procedure can be used to st...

Page 158: ......

Page 159: ...t Software included Controller Link Units 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 CS1 series PCs Wired CS1W CLK21 Optical CS1W CLK11 Optical Ring for H PCF cable CS1W CLK12 Optical Ring for GI cable CS1W CLK52 Controller Link Support Software Ap...

Page 160: ...Power Tester S3200 CAT2700 S3200 CAT2702 Head Unit For the S3200 COCF2011 2511 Connectors Master Fiber Set S3200 CAT2001H For the S3200 COCF2011 2511 Connectors Indoor H PCF Optical Fiber Cables for Optical Ring Networks 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 g 50 m S...

Page 161: ... CN 20 20 Specify length m when ordering Optical Fiber Cable Connectors 2 m S3200 CN201 20 25 S3200 COCF2011 5 m S3200 CN501 20 25 3200 COCF2011 S3200 COCF2511 10 m S3200 CN102 20 25 S3200 COCF2511 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 2 m S3200 CN201 25 25 S3200 COCF2511 5 m S3200 CN501 25 25 3200 COCF2...

Page 162: ...1 location Transmission band 500 MHz S km λ 0 85 µm LD Lf Fiber length in km Ta Ambient temperature λ Center wavelength of measurement light source 62 5 125 µm AGF Item Min Typical Max Unit Conditions Numerical aperture 0 28 Theoretical value Transmission loss 3 5 Lf dB 0 5 km x Lf λ 0 8 µm band 3 5 Lf 0 2 0 2 km x Lf 0 5 km Ta 25 C 3 5 Lf 0 4 Lf 0 2 km Connection loss 1 0 λ 0 8 µm band 1 location...

Page 163: ...er Link communications 114 Controller Link Support Board 143 access modes 8 configuration 16 definition 7 FINS commands 83 Controller Link Support Software CLSS standard models 143 starting and stopping data links 74 Controller Link Unit standard models 143 D DA1 81 DA2 82 data link 63 automatically set 65 example 71 Select All 71 description 64 Easy Setting 65 features 8 I O response time 120 com...

Page 164: ... response data format 82 starting and stopping data links 74 G I gateway count 81 GCT 81 ICF 81 indicators 16 troubleshooting 126 LNK 127 RUN ERR INS 126 inspection 139 L library C library 44 functions 48 ClkClearMessageOnArrival 55 ClkClose 49 ClkGetLastError 55 ClkGetNetworkStatus 51 ClkGetRingStatus 52 ClkOpen 48 ClkReadDatalink 51 ClkRecvFins 49 ClkSendFins 49 ClkSetMessageOnArrival 53 ClkSetT...

Page 165: ...ration 97 response to FINS commands 96 troubleshooting 98 routing tables 107 creating 107 examples 109 setting 108 RSV 81 S SA1 82 SA2 82 service ID 82 setting data link 68 SID 82 SNA 82 software configuration 17 source network address 82 node number 82 unit address 82 specifications backup power supply 38 communications 11 data link 67 data link tables 70 general 13 message service 80 standard mo...

Page 166: ...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 Revision code Date Revised content 1 January 2001 Original production ...

Reviews: