C500BC061 Omron, C500BC061 Datasheet

no-image

C500BC061

Manufacturer Part Number
C500BC061
Description
BACKPLANE
Manufacturer
Omron
Datasheet

Specifications of C500BC061

Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Cat. No. W143-E1-07
SYSMAC
C-series Rack PCs
SYSMAC WAY
Host Link Unit
SYSTEM MANUAL

Related parts for C500BC061

C500BC061 Summary of contents

Page 1

Cat. No. W143-E1-07 SYSMAC C-series Rack PCs SYSMAC WAY Host Link Unit SYSTEM MANUAL ...

Page 2

...

Page 3

SYSMAC WAY Host Link Units For Use With C-series Rack PCs Revised April 2001 ...

Page 4

... Cancellation; Etc. Orders are not subject to rescheduling or cancellation unless Buyer indemnifies Omron against all related costs or expenses. 10. Force Majeure. Omron shall not be liable for any delay or failure in delivery resulting from causes beyond its control, including earthquakes, fires, floods, strikes or other labor disputes, shortage of labor or materials, accidents to machinery, acts of sabotage, riots, delay in or lack of transportation or the requirements of any government authority ...

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 6

vi ...

Page 7

TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience ...

Page 8

TABLE OF CONTENTS 4-21 TC STATUS WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 9

About this Manual: This manual describes the functions, characteristics, and operating procedures of the Host Link Units for the C-series building block PCs (Programmable Controllers), i.e., the C120, C200H, C200HS, C200HX, C200HG, C200HE, C500, C1000H, and C2000H Units. Section 1 ...

Page 10

...

Page 11

This section provides general precautions for using the Programmable Controller (PC) and related devices. The information contained in this section is important for the safe and reliable application of the PC. You must read this section and understand the information ...

Page 12

... It is extremely important that a PC and all PC Units 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 PC System to the abovementioned applications. ...

Page 13

Application Precautions • When the 24-VDC output (service power supply to the PC) is overloaded or Caution Execute online edit only after confirming that no adverse effects will be caused ! by extending the cycle time. Otherwise, the input signals ...

Page 14

Application Precautions • Always ground the system to 100 Ω or less when installing the Units. Not con- • Always turn OFF the power supply to the PC before attempting any of the fol- Caution Failure to abide by the ...

Page 15

Application Precautions • Resume operation only after transferring to the new CPU Unit the contents of the DM Area, HR Area, and other data required for resuming operation. Not doing so may result in an unexpected operation. • Do not ...

Page 16

...

Page 17

This document is designed to introduce the reader to the principles of operation of Host Link Units, their characteristics, and methods of interfacing them into PC networks. 1-1 Applicable Units lists the PCs that are applicable for each Unit and ...

Page 18

System Configuration 1-1 Applicable Units A Host Link Unit allows a host computer to monitor the operating status and data areas of the PCs and to control the communications between the PCs and the controlled system. One Host Link Unit ...

Page 19

... RS-422 cable must be no longer than 10 m. RS-232C and RS-422 cables which are used to connect the Host Link Unit to the host comput- er are not available from OMRON and must be purchased from an alternative source. Maximum lengths for optical fiber cables are determined by the type of cable and the particular models employed. Models which finish with “ ...

Page 20

System Configuration As shown above, more than one Host Link Unit can be connected in series using optical fiber. If, however, any failure (due to power failure, disconnection, etc.) occurs in one of the Units, the series connection will cause ...

Page 21

System Configuration Example 4 Multiple-link System with RS-232C and RS-422 Cable By using RS-422 cable, more than one Host Link Unit can be connected to the same host computer to make a multiple-link system. Host computer RS-422 cable Link Adapter ...

Page 22

Mounting Host Link Units All lines connecting to host computers would have to be RS-232C cable. All oth- er lines could be RS-422 cable or optical fiber cable, depending on the particular Host Link Units and Link Adapters used. Note ...

Page 23

Types of Interfaces 1-4 Host Computer Settings To establish correct data communications with the Host Link Unit, the communi- cations conditions listed below must match on both the host computer and the Host Link Unit. For the actual setting of ...

Page 24

Types of Interfaces 1-5-2 RS-232C Interface (For all but C500-LK203 and insulated types.) When using an optical fiber cable or RS-422 cable, several Host Link Units can be connected to one host comput- er. When RS-232C cables are used, however, ...

Page 25

Types of Interfaces Interfacing to IBM AT via AL004 Link Adapter RS232-C Host Link Unit RTS 4 CTS DTR 20 Two-wire system, no handshaking. RS232-C Host Link Unit ...

Page 26

Types of Interfaces Interfacing to IBM XT via AL004 Link Adapter 10 RS232-C Host Link Unit RTS 4 CTS DTR 20 Two-wire system, no handshaking. RS232-C Host Link Unit FG 1 ...

Page 27

Types of Interfaces 1-5-3 RS-422 Interface (For all but C500-LK203 and insulated types) The following table details the pin connections for a RS-422 interface. Send data A Send data B Receive data A Receive data B Signal ground Frame ground ...

Page 28

... FG RDB(+) RTS 7 4 RTS CTS 8 5 CTS SDB(+) RDA DSR 6 6 DSR SDA DTR 4 20 DTR Two-wire system, no hand-shaking. IBM AT OMRON 3G2A9-AL004-(P)E DB-9 Link Adapter DB- RDB(+) RTS 7 4 RTS CTS 8 5 CTS SDB(+) RDA DSR 6 6 DSR SDA DTR 4 20 ...

Page 29

... FG RDB(+) RTS 4 4 RTS CTS 5 5 CTS SDB(+) DSR 6 6 DSR RDA SDA DTR 20 20 DTR FG Two-wire system, no hand-shaking. IBM XT OMRON 3G2A9-AL004-(P)E DB-25 Link Adapter DB- RDB(+) RTS 4 4 RTS CTS 5 5 CTS SDB(+) DSR 6 6 DSR RDA SDA DTR ...

Page 30

Types of Interfaces RS-422 Interface (For Insulated C500-LK203) The table below lists the connections for interfacing a RS-422 cable to an insu- lated C500-LK203 Host Link Unit. Send data A Send data B Receive data A Receive data B Frame ...

Page 31

Wiring RS-232C and RS-422 Cable Connectors FG Connections for In systems which use only the insulated C500-LK203 Host Link Units, connect Insulated C500-LK203 the frame ground to the shield wire at the connections to the Host Link Units and Host ...

Page 32

Wiring RS-232C and RS-422 Cable Connectors 1-6-2 Preparation for Connecting Unshielded Cable to FG The procedures outlined in the list below correspond to the following diagrams 3... Soldering Observe the following when soldering ...

Page 33

Wiring RS-232C and RS-422 Cable Connectors Hood Assembly Assemble the hood as shown in the following diagram. 1-6-3 FG Connection to the Cable’s Shield Wire (RS-422 Interface) Connection of C500-LK203 When connecting a Host Link Unit and a Link Adapter, ...

Page 34

Wiring RS-232C and RS-422 Cable Connectors Connection of C500-LK203 When connecting a C500-LK203 and a Link Adapter, connect the cable’s shield with other Host Link Units wire to the C500-LK203 Host Link Unit’s FG. Do not connect the shield wire ...

Page 35

Wiring RS-232C and RS-422 Cable Connectors Wiring Example Host Computer RS- 4 232C inter- 5 face Shield Optical Fiber Cable C500 CPU Rack Optical Host Link Unit To next Host Link Unit Be ...

Page 36

Wiring RS-232C and RS-422 Cable Connectors 1:1 Connection of Host The following diagram shows a 1:1 connection of a host computer and a Host Computer and Host Link Link Unit (C200H-LK202-V1, 3G2A5-LK201-EV1, C500-LK203, or 3G2A6- Unit LK202-EV1). Wiring Example Note ...

Page 37

Wiring RS-232C and RS-422 Cable Connectors Note Set the I/O port switch on the back of 3G2A5-LK201-EV1/C500-LK203 Host Link Units to “RS-422.” Be sure to use a wire of at least 1.25 mm Use M4 screws for tightening crimp terminals. ...

Page 38

...

Page 39

This section provides the switch location and setting details for each group of Host Link Units. The Units are grouped accord- ing the operating characteristics. C200H Units are dealt with first, followed by C500 and 3G2A5 models, and 3G2A6 models ...

Page 40

C200H Host Link Units 2-1 C200H Host Link Units 2-1-1 Nomenclature and External Appearance The following figures give details of switch types, selectors, and connectors for your Host Link Unit. It will be necessary to refer to these diagrams from ...

Page 41

C200H Host Link Units Front Panel C200H-LK202-V1 LK202-V1 RUN indicator RCV (receive) indicator SW3 Baud rate 2-1-2 Switch Settings The following information provides details on correct settings for the range of Host Link Units covered by this manual. Pay particular ...

Page 42

C200H Host Link Units SW4: Command Level, Parity and Transmission Code See descriptions of Command Levels at the end of this sub-section. ** ...

Page 43

C200H Host Link Units Termination Resistance When using a RS-422 cable (C200H-LK202-V1 Host Link Units) throughout a system, the Host Link Unit at each end of the cable system (as detailed in the following diagram) must have the termination resistances ...

Page 44

C200H Host Link Units ON (Multiple-link): If set to ON Host Link Units can be connected to one host computer. The unit number and FCS must be specified, even if only one Host Link Unit is con- ...

Page 45

C200H Host Link Units Data Flow The diagram below shows the flow of data between the system using C200H Host Link Units, and a Programming Console. As can be seen, the Programming Console can be used for monitoring, or for ...

Page 46

C200H Host Link Units Sending a RUN Start Command to the PC The following flowchart shows the computer decision making processes for en- suring that the RUN mode after start-up. 2-1-5 Restart Bits and Error Flags Host ...

Page 47

C200H Host Link Units Host Link Unit Restart Bit When this bit is turned ON, the Host Link Unit is reset to its initial conditions the power had just been applied. ! Caution Do not turn this bit ...

Page 48

C200H Host Link Units 2-1-6 I/O Response Time The processing that determines and the methods for calculating the minimum and maximum times required from an input on one PC with a Host Link Unit to an output on another PC ...

Page 49

C500 (3G2A5) Host Link Units 2-2 C500 (3G2A5) Host Link Units 2-2-1 Nomenclature and External Appearance The following figures give details of switch types, selectors, and connectors for your Host Link Unit. It will be necessary to refer to these ...

Page 50

C500 (3G2A5) Host Link Units Front Panels 3G2A5-LK201-EV1 RUN indicator RCV (receive) indicator XMT (transmit) indicator ERROR indicator (Parity, framing, overrun, and FCS errors) Mode selector RS-232C cable connector See Example 3 in 1-2 System Configuration for restrictions with RS-232C ...

Page 51

C500 (3G2A5) Host Link Units 2-2-2 Switch Settings The following information provides details on correct settings for the range of Host Link Units covered by this manual. Pay particular attention to the RUN/ STOP and MONITOR/NORMAL switches on the C1000H-style ...

Page 52

C500 (3G2A5) Host Link Units RUN/STOP Selector When pin 8 is set to RUN (ON), the CPU will start in RUN mode upon power (3G2A5-LK101/-LK201) application. When set to STOP (OFF), the CPU will start operation in PRO- GRAM mode. ...

Page 53

C500 (3G2A5) Host Link Units Termination Resistance When this switch is set to ON, a built-in termination resistance of 220 Ω is con- nected. When set to OFF, the termination resistance is disconnected. When us- ing a RS-422 cable throughout ...

Page 54

C500 (3G2A5) Host Link Units 2-2-3 Indicators Indicator RUN ON when the Unit is operating. RCV ON when the Host Link Unit is receiving data. XMT ON when the Host Link Unit is transmitting data. ERROR Goes ON when a ...

Page 55

C500 (3G2A5) Host Link Units * A CPU-mounting Host Link Unit must be set to STOP mode when used together with a Rack-mounting Host Link Unit that is set to MONITOR mode Programming Console is also mounted, ...

Page 56

C500 (3G2A5) Host Link Units LOCAL Mode The following diagram shows the flow of data while the Host Link Unit is in LO- CAL mode. Note that in this mode the Programming Console can be used for monitoring only. Programming ...

Page 57

C500 (3G2A5) Host Link Units Appropriate initialization codes must be programmed between JMP(04) and JME(05). IR area bit 12800 can then be turned on to start PC operation from the host computer. The PC must be set in MONITOR mode ...

Page 58

C500 (3G2A5) Host Link Units C500-LK103(-P) and C500-LK203 Host Link Units 2-2-5 Restart Bits and Error Flags Host Link Units use some of the Special Relay (SR) area and Auxiliary Relay (AR) area bits of the PC to restart the ...

Page 59

C500 (3G2A5) Host Link Units C120 Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 * CM: CPU-mounting Host Link Unit Host Link Unit Restart Bit When this bit is turned ON, the Host Link Unit is reset to ...

Page 60

C500 (3G2A5) Host Link Units In considering response times important to remember the sequence of pro- cessing that occurs during the PC cycle. The main factor that affects the re- sponse time is the timing of inputs and ...

Page 61

C500 (3G2A5) Host Link Units Maximum Response Time The data flow that will produce the maximum response time is shown below. De- lays over the minimum response time occur because the input to be transferred through the host computer is ...

Page 62

C500 (3G2A5) Host Link Units C1000H and C2000H Although the C1000H and C2000H equations for the minimum and maximum response times are the same as those for the 3G2A6 and C500, the breakdown of the CPU’s cycle differs. These groups ...

Page 63

C500 (3G2A5) Host Link Units Maximum Response Time The data flow that will produce the maximum response time is shown below. De- lays over the minimum response time occur because the input to be transferred through the host computer is ...

Page 64

C120 (3G2A6) Host Link Units 2-3 C120 (3G2A6) Host Link Units 2-3-1 Nomenclature and External Appearance The following figures give details of switch types, selectors, and connectors for your Host Link Unit. It will be necessary to refer to these ...

Page 65

C120 (3G2A6) Host Link Units 2-3-2 Switch Settings The following information provides details on correct settings for the range of 3G2A6 Host Link Units covered by this manual. SW1 For SW1, the first five pins are used to set the ...

Page 66

C120 (3G2A6) Host Link Units SW2 Operating Levels Set pin 5 of SW2 to OFF (operating level 1) when using a C500(F) PC and ON (operating level 0) when using the Host Link Unit together with a SYSMAC NET Link ...

Page 67

C120 (3G2A6) Host Link Units When this switch is set to ON, a built-in termination resistance of 220 Ω is con- Termination Resistance nected. When set to OFF, the termination resistance is disconnected. When us- ing a RS-422 cable throughout ...

Page 68

C120 (3G2A6) Host Link Units 2-3-4 PC Operating Modes The operating mode of the PC depends an the setting of the mode selector on the Host Link Unit, the RUN/STOP or MONITOR/NORMAL selector on the Host Link Unit, and the ...

Page 69

C120 (3G2A6) Host Link Units Caution Sticker The CPU-mounting 3G2A6-LK101-(P)EV1 Host Link Unit is supplied with a cau- tion sticker. The caution sticker should be attached as shown below if the RUN/ STOP selector is set to RUN. This is ...

Page 70

C120 (3G2A6) Host Link Units 2-3-5 Restart Bits and Error Flags Host Link Units use some of the Special Relay (SR) area and Auxiliary Relay (AR) area bits of the PC to restart the communications control program of the Host ...

Page 71

C120 (3G2A6) Host Link Units 2-3-6 I/O Response Time The processing that determines and the methods for calculating the minimum and maximum times required from an input on one PC with a Host Link Unit to an output on another ...

Page 72

C120 (3G2A6) Host Link Units C120 and C500 Although the C120 and C500 equations for the minimum and maximum re- sponse times are the same as those for the C1000H and C2000H, the break- down of the CPU’s cycle differs. ...

Page 73

Installing and Removing Host Link Units Maximum Response Time The data flow that will produce the maximum response time is shown below. De- lays over the minimum response time occur because the input to be transferred through the host computer ...

Page 74

Installing and Removing Host Link Units 3. 4. Removal of CPU-mounting Follow the procedure below when removing a CPU-mounting Host Link Unit Host Link Units from a PC 3... 1. 2. Transmission Errors When a CPU-mounting Host Link ...

Page 75

This section gives the information required for effective programming of the Host Link Units. It lists the commands and re- sponses for Host Link Units. The basic formats for that they can take are described and the data representation explained. ...

Page 76

Command Levels 3-1 Command Levels The following tables give the commands and responses available for the Host Link Units, the command levels, and the modes in which they are applicable. De- tails of the command and response formats are given ...

Page 77

Command Levels Header Name Code WL LR AREA WRITE WG TC STATUS WRITE WD DM AREA WRITE WF FM AREA WRITE WRITE W# SV CHANGE CHANGE CHANGE 3 KS FORCED SET ...

Page 78

Communications Protocol Header Name Code RI I/O TABLE READ MI I/O TABLE GENERATE Level 3 Header Name Code QQ COMPOUND COMMAND 3-2 Communications Protocol The host computer has initial transmission priority. Data transfer between the host computer and the Host ...

Page 79

Communications Protocol 3-2-2 Block Format With More Than One Frame Multiple-link System First Frame (131 Characters or Less X10 X10 Unit no Intermediate Frame(s) (128 Characters or Less) Last Frame (128 Characters ...

Page 80

Communications Protocol Sending Commands To send a command block with more than one frame from the computer, initially send only the first frame in the block. Do not send the next frame until the host computer has received the delimiter ...

Page 81

Communications Protocol Numerical data within a transmission is expressed in hexadecimal, decimal, or binary format. Refer to the format example of each command for details. The appropriate range is indicated in the following manner. Conversion tables in Ap- pendix C ...

Page 82

Communications Protocol 3-2-4 System Checks Prior to an actual data transaction between the Host Link Unit and host comput- er, check the system by following the nine steps listed below 3... ...

Page 83

Communications Protocol (C200HS/HX/HG/HE only) S 260 IF LEN(FCS )=1 THEN FCS 270 RETURN 280 ’********************************************* 290 *EROPE 300 PRINT ”ERL=”;ERL,”ERR=”;ERR 310 CLOSE #1 320 END . .................................................... 330 ’********************************************* * The FCS calculation subroutine starting from statement 180 is for ...

Page 84

Communications Protocol (C200HS/HX/HG/HE only) 3-3-1 Command Timing When the Host Link Unit is receiving a command from the host computer at the time the execution of the TRANSMIT instruction has been completed, command transmission to the host computer is possible ...

Page 85

Frame Checksum (FCS) Calculation 3-4 Frame Checksum (FCS) Calculation The Frame Checksum is 8-bit data converted into two ASCII characters. The 8-bit data is the result of an EXCLUSIVE OR sequentially performed between each character, from the first character in ...

Page 86

...

Page 87

This section provides the command and response formats for all of the instructions covered by this manual. A table of the responses produced for different errors is included in 4-45 Response Code List. Examples of communications between a Host Link ...

Page 88

STATUS READ 4-1 TEST Transmits one block of data to the PC and then returns it, unaltered, to the host computer. Each frame is treated as a block regardless of whether it uses a termi- nator or delimiter. Command Format ...

Page 89

ERROR READ 4-3 ERROR READ Reads and clears errors in the PC. Also checks whether previous errors have already been cleared. When both Rack- and CPU-mounting Host Link Units are used in combination, errors in either type of Unit are ...

Page 90

AR AREA READ 4-4 IR AREA READ Reads the contents of the specified number of IR area words, starting from the specified word. Command Format @ Unit no X10 X10 Response Format @ Unit no. R ...

Page 91

TC STATUS READ Response Format Unit no X10 X10 * FCS CR 4-7 LR AREA READ Reads the contents of the specified number of LR area words, starting from the specified word. Command Format @ ...

Page 92

FM INDEX READ 4-9 DM AREA READ Reads the contents of the specified number of DM words, starting from the spe- cified word. Command Format @ Unit no X10 X10 Response Format @ Unit no. R ...

Page 93

PV READ 4-11 FM DATA READ Reads the contents of the specified number of FM blocks, starting from the spe- cified block. The “data type” and “comments per block” information can be add each block, separated by a ...

Page 94

SV READ 1 Response Format @ Unit no X10 X10 * FCS CR 4-13 SV READ 1 Reads the set value (a constant) of the specified timer/counter instruction. Reads from the beginning of the program and ...

Page 95

SV READ 2 4-14 SV READ 2 Reads the set value (a constant, or data area and word) of the specified timer/ counter instruction. The timer/counter instruction is designated by its program address. If the program has more than 9,999 ...

Page 96

SV READ 3 4-15 SV READ 3 Reads the set value (a constant, or data area and word) of the specified timer/ counter instruction. The operation is similar to SV READ 2, but the SV READ 3 is capable of ...

Page 97

IR AREA WRITE 4-16 STATUS WRITE Changes the operating mode of the PC according to the information entered into word X16 Command Format Response Format 4-17 IR AREA WRITE Writes data to the IR area, starting from the specified word. ...

Page 98

LR AREA WRITE 4-18 HR AREA WRITE Writes data to the HR area, starting from the specified word. Writing is done word by word. Command Format @ Unit no X10 X10 X10 * FCS CR Response ...

Page 99

DM AREA WRITE Response Format 4-21 TC STATUS WRITE Writes the status of the Completion Flags to the TC area, starting form the speci- fied timer/counter. Command Format @ W G Unit no X10 X10 Response Format 4-22 ...

Page 100

PV WRITE 4-23 FM AREA WRITE Writes data to a single specified word entire file memory block. Command Format @ Unit no X10 X10 X10 END block * *The ...

Page 101

SV CHANGE 1 4-25 SV CHANGE 1 Changes the set value (constant only) of the specified timer/counter instruction. Reads from the beginning of the program and therefore take seconds to produce a response. Refer also to 4-26 ...

Page 102

SV CHANGE 2 4-26 SV CHANGE 2 Changes the set value (a constant, or data area and word) of the specified timer/ counter instruction. The instruction is specified by its program address. If the program has more than 9,999 addresses, ...

Page 103

SV CHANGE 3 4-27 SV CHANGE 3 Changes the set value (a constant, or data area and word) of the specified in- struction. The operation is similar to SV CHANGE 2, but SV CHANGE 3 can change SVs at higher ...

Page 104

FORCED RESET 4-28 FORCED SET Forced sets a bit in an IR, LR, HR, AR area. Bits need to be force set one at a time. Command Format @ K S Unit no X10 X10 OP1 ...

Page 105

MULTIPLE FORCED SET/RESET 87Response Format 4-30 MULTIPLE FORCED SET/RESET (C200H, C200HS, C200HX, C200HG, C200HE, and Mini H-type only.) This command force sets or resets bits in the IR, LR, HR, AR areas. Command Format @ F K Unit ...

Page 106

FORCED SET/RESET CANCEL 4-31 MULTIPLE FORCED SET/RESET STATUS READ Command Format Response Format Response @ F R Unit no. code X10 X10 X16 Data area , 0/1 0/1 0P1 0P2 0P3 0P4 Bit 1 0 Delineator 4-32 ...

Page 107

DM HIGH-SPEED READ 4-33 PC MODEL READ Reads the model type of the PC. Command Format Response Format @ M Unit no X10 X10 4-34 DM HIGH-SPEED READ (C1000H and C2000H only) Reads a fixed group of eight ...

Page 108

Response to an Undefined Command 4-35 ABORT and INITIALIZE The ABORT command is used to abort the process being performed by the Host Link Unit and to then enable reception of the next command. The INITIALIZE command initializes the transmission ...

Page 109

I/O TABLE READ 4-38 Response Indicating an Unprocessed Command This response is sent when the Host Link Unit cannot process a command. The type of error encountered by the Host Link Unit can be identified via the response code. Response ...

Page 110

I/O TABLE GENERATE 4-41 PROGRAM WRITE Writes the received program into the PC program memory. Command Format @ Unit no X10 X10 Response Format 4-42 I/O TABLE GENERATE Corrects the registered I/O table to match the actual ...

Page 111

I/O REGISTER 4-43 I/O REGISTER Registers the IR, LR, HR, AR area bit, or the DM word that read via I/O READ (described in the next subsection). Registered data is retained until new data is ...

Page 112

I/O READ Response Format 4-44 I/O READ Reads the data specified by I/O REGISTER. Command Format Response Format @ Q Unit no X10 X10 ON/ , OFF Read bit status 0: OFF Unit no. @ ...

Page 113

Response Code List 4-45 Response Code List A response code is returned with each response to a command to indicate the results of executing the command. A response code of 00 indicates that the command was completed normally. All other ...

Page 114

Communications Examples 4-46 Communications Examples The following are examples of commands from the host computer (first line) and the responses that would be given by the Host Link Unit (second line). The ar- rows indicate the transfer of the right ...

Page 115

Communications Examples Writing Data into PC Words (“0123” 400 and “FEDC” 401) and Confirming with DM AREA READ ...

Page 116

...

Page 117

This section describes errors that can occur in a computer-linked system employing one or more Host Link Units and how to remedy them. 5-1 Development of an Error-processing Program 5-2 Error Control . . . . . . . . ...

Page 118

Development of an Error-processing Program 5-1 Development of an Error-processing Program Errors that occur in Host Link systems are classified into the following three cate- gories 3... Programs to monitor communication times and error handling ...

Page 119

Error Control 5-2 Error Control The host computer is responsible for ensuring system recovery after errors oc- cur in the Host Link Unit. The Host Link Unit runs the following checks to detect errors 3... ...

Page 120

... This example program causes arbitrary data to be written from the host comput 0001. A timer is included to retry transmission if the timer times out. An error message is displayed after 3 time outs. • OMRON FC-986 Host Computer 10 OPEN ”CQM1:E37NN” NG=0:I=0:CNT=0 30 INPUT ”TEST DATA INPUT-----”;TD$ 40 TC$=” ...

Page 121

Troubleshooting 4090 IF LEN(FCS$)=1 THEN FCS$=”0”+FCS$ 4100 RETURN 5-4 Troubleshooting The following troubleshooting guide outlines the basic steps for remedying the errors most likely to occur when using Host Link Units. Problem RUN indicator does not Power is not applied ...

Page 122

...

Page 123

... Connector cover XM2S-2511 DB-C2-J9 XM2S-0911 DE-C1-J6 Model Number C200H-LK101-PV1 C200H-LK201-V1 C200H-LK202-V1 3G2A5-LK101-PEV1 3G2A5-LK101-EV1 3G2A5-LK201-EV1 C500-LK103-P C500-LK103 C500-LK203 3G2A6-LK101-PEV1 3G2A6-LK101-EV1 3G2A6-LK201-EV1 3G2A6-LK202-EV1 3G2A9-AL001 3G2A9-AL002-E 3G2A9-AL002-PE 3G2A9-AL004-E 3G2A9-AL004-PE 3G2A9-AL005-E 3G2A9-AL005-PE 3G2A9-AL006-E 3G2A9-AL006-PE Model Number Z3RN-A-5 Z3F2-4DjM Z3GP-01 Maker OMRON JAE OMRON JAE 107 ...

Page 124

Standard Models Plastic Optical Fiber Cable Host Link Units with the suffix -P in the model number can be extended The optical connector of the 3G5A2-PF002 must supplied by the user. Product Plastic optical fiber cable ...

Page 125

... Since the optical fiber cable cannot be spliced as easily as ordinary cables when damaged or extended, be sure to install an adequate length. The cable lengths above do not include connectors. Crystal Fiber Cable (AGF) Crystal fiber cable is not available from OMRON. It must be obtained from an alternative supplier. Description Operating Environment Operating temperature ...

Page 126

...

Page 127

Communications Communications 2-fiber, half duplex: -LK10j models 4-wire, half duplex: -LK20j models Synchronization Start/stop: 1 stop bit (JIS bits (ASCII) Transmission 300, 600, 1,200, 2,400, 4,800, 9,600, or 19,200 bps (switch-selectable) speed Character code ASCII (7 bits) or ...

Page 128

Specifications Power Consumption C200H-LK101-PV1 C200H-LK201-V1* C200H-LK202-V1 3G2A5-LK101-(P)EV1 3G2A5-LK201-EV1 C500-LK103(-P) C500-LK203* 3G2A6-LK101-(P)EV1 3G2A6-LK201-EV1 3G2A6-LK202-EV1 *Internal power consumption increases by 0.1 A when using the Z3RN-A-5. Host Link Unit Dimensions C200H All C200H Units have dimensions as given below. 130 112 0.25 ...

Page 129

Specifications C500 (3G2A5) The dimensions for C500 (3G2A5) Units are as given below. 34.5 250 C120 (3G2A6) The dimensions for C120 (3G2A6) CPU-mounting Units are as detailed in the following diagrams. Approx. 100* 93 Approx. 165** * Including Backplane ** ...

Page 130

Specifications Link Adapter The following gives the specifications for Link Adapters suitable for use with the Host Link Units. Care should be taken to to choose a Link Adapter with the appropriate connections for the Units in the System. Other ...

Page 131

... Specifications 3G2A9-AL001 Link Adapter Dimensions 74.6 58 Cable Wiring Applicable Connector Connector XM2A-0901 XM2S-0911 DE-9P DE-C1-J6 Three RS-422 connectors are included with the 3G2A9-AL001. Four, 3.5 dia Approx. 100 RS-422 Link Adapter 3G2A9-AL001 Cover OMRON JAE Appendix B 20 Maker 115 ...

Page 132

Specifications 3G2A9-AL002-(P)E Link Adapter Dimensions AC power Fuse supply 43 Power 100VAC LG FG Repeater supply 200VAC 101 Branch line Main line 150 164 178 Main line optical Branch line connector optical connector Internal Configuration Main signal line (APF/PCF/H-PCF) Optical ...

Page 133

Specifications Be sure to use a wire of at least 1.25 mm Use M4 screws for tightening crimp terminals. Use ring crimp terminals for wiring. Do not connect bare stranded wires directly to terminal blocks. Caution Tighten the screws on ...

Page 134

Specifications Internal Configuration RS-232C /switching circuit External 6 DR CTS Switching Transmission Reception CTS (CS) Switching Set ...

Page 135

Specifications Cable Length Cable APF 20 m H-PCF 100 m PCF 200 m Note Always cap unused Optical Connectors. If the connectors are not capped, ambient light interference can enter the Optical Fiber Cable and cause trans- mission errors. 3G2A9-AL005-(P)E ...

Page 136

Specifications Use ring crimp terminals for wiring. Do not connect bare stranded wires directly to terminal blocks. Caution Tighten the screws on the terminal block of the AC Power Supply Unit to a torque ! of 1.2 N⋅m. The loose ...

Page 137

Specifications Internal Configuration Repeater input Reception Transmission Wiring To Link (AGF) Adapter Be sure to use a wire of at least 1.25 mm Use M4 screws for tightening crimp terminals. Use ring crimp terminals for wiring. Do not connect bare ...

Page 138

...

Page 139

This appendix gives data conversions for ASCII characters. The decimal, binary and hexadecimal equivalents are given. Refer to Appendix D for conversions between binary, hexadecimal, binary-coded hexadecimal, and decimal data dec Extended ASCII to Binary and ...

Page 140

ASCII Conversions ASCII to Decimal The following table gives the decimal equivalents of the range of English language ASCII characters. The Pro- grammable Controller stores ASCII data in hexadecimal form. Care should be taken when inputting ASCII data in equivalent ...

Page 141

Appendix D Data Conversion Table Decimal BCD 00 0000 0000 00 01 0000 0001 01 02 0000 0010 02 03 0000 0011 03 04 0000 0100 04 05 0000 0101 05 06 0000 0110 06 07 0000 0111 07 08 ...

Page 142

...

Page 143

The location in memory where data is stored. For data areas, an address consists of a two-letter data area designation and a number that designate the word and/or bit location. For the UM area, an address designates the in- ...

Page 144

The location in memory where a bit of data is stored. A bit address must specify (sometimes by default) the data area and word that is being ad- dressed as well as the number of the bit. bit ...

Page 145

An operand for which the actual numeric value is specified by the user, and which is then stored in a particular address in the data memory. control bit A bit in a memory area that is set either through ...

Page 146

A number system where all numbers are expressed to the base 10. Although all data is ultimately stored in binary form, four binary bits are often used to represent one decimal digit, via a system called ...

Page 147

Electrical ‘static’ that can disturb electronic communications. The ‘snow’ that can appear screen is an example of the effects of electrical noise. error code A numeric code output to indicate the existence, and something about ...

Page 148

A decimal number expressed as a number between 0 and 1 (the mantissa) multiplied by a power of 10, e.g., 0.538 x 10 Floppy Disk Interface Unit A Unit used to interface a floppy disk drive to ...

Page 149

An address whose contents indicates another address. The contents of the second address will be used as the operand. Indirect addressing is possible in the DM area only. initialization error An error that occurs either in hardware or ...

Page 150

A signal that stops normal program execution and causes a subroutine to be run. Interrupt Input Unit A Rack-mounting Unit used to input external interrupts into a PC System. inverse condition see normally closed condition. I/O capacity The ...

Page 151

A type of programming where execution moves directly from one point in a program to another, without sequentially executing any instructions inbe- tween. Jumps are usually conditional on an execution condition. jump number A definer used with a jump ...

Page 152

An instruction used to locally combine the execution condition resulting from a logic block with a current execution condition. The current execution condi- tion could be the result of a single condition another logic block. ...

Page 153

... One of the positions in a LAN. Each node incorporates a device that can communicate with the devices at all of the other nodes. The device at a node is identified by the node number. One loop of a Net Link System (OMRON’s LAN) can consist 126 nodes. Each node is occupied by a Net Link Unit mounted device providing an interface to a computer or other peripheral device ...

Page 154

Bit(s) or word(s) designated as the data to be used for an instruction. An op- erand can be input as a constant expressing the actual numeric value to be used address to express the location in ...

Page 155

PCF Acronym for plastic-clad optical fiber cable. PC Link System A system in which PCs are connected through PC Link Units to enable them to share common data areas, i.e., each of the PCs writes to certain words in the ...

Page 156

Programming Device A peripheral device used to input a program into alter or monitor a program already held in the PC. There are dedicated programming devices, such as Programming Consoles, and there are non-dedicated devices, such ...

Page 157

A counter that can be both incremented and decremented depending on the specified conditions. reversible shift register A shift register that can shift data in either direction depending on the speci- fied conditions. right-hand instruction Another term for ...

Page 158

A position on a Rack (Backplane) to which a Unit can be mounted. software error An error that originates in a software program. software protect A means of protecting data from being changed that uses software as op- posed ...

Page 159

... The memory area used to hold the active program, i.e., the program that is being currently executed. Unit In OMRON PC terminology, the word Unit is capitalized to indicate any prod- uct sold for a PC System. Though most of the names of these products end with the word Unit, not all do, e.g., a Remote Terminal is referred col- lective sense as a Unit ...

Page 160

A word that can be used for data calculation or other manipulation in pro- gramming, i.e., a ‘work space’ in memory. A large portion of the IR area is always reserved for work words. Parts of other areas ...

Page 161

A ABORT, 92 applications, precautions, xiii AR AREA READ AREA WRITE, 82 ASCII, data conversions decimal, 124 to binary and hexadecimal, 123 B baud rate See also transmission speed C200H, 25 binary data C120 (3G2A6), Host ...

Page 162

D data areas, keying in, 65 data conversion, table, 125 data flow C200H, 29 C500/3G2A5, 39 test program example, 66 data representation binary, 65 decimal, 65 hexadecimal, 65 decimal data, 65 delimiter, 72, 103 dimensions Host Link Units, 112 C120 ...

Page 163

RS-232C, 8 RS-422, 11 invalid processing, 103 IR AREA READ AREA WRITE, 81 L-M Link Adapter dimensions 3G2A9-AL001, 115 3G2A9-AL002-(P)E, 116 3G2A9-AL004-(P)E, 117 3G2A9-AL005-(P)E, 119 3G2A9-AL006-(P)E, 120 ...

Page 164

C200H, 30 C500/3G2A5, 42 restart bit, C200H, 31 restart flag 3G2A6, 54 C500/3G2A5, 43 retries, 103 RUN mode 3G2A6, 53 C200H, 30 C500/3G2A5, 41 RUN start command 3G2A6, 53 C200H, 30 C500/3G2A5, 41 RUN/STOP selector 3G2A6, 52 C200H, 28 C500/3G2A5, ...

Page 165

A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W143-E1-7 The following table outlines the changes made to the manual during each revision. Unless noted, page num- ber ...

Page 166

...

Page 167

...

Page 168

W143-E1-07 ...

Related keywords