Omron CQM1H-SCB41 Operation Manual
Omron CQM1H-SCB41 Operation Manual

Omron CQM1H-SCB41 Operation Manual

Sysmac cqm1h series serial communications board
Hide thumbs Also See for CQM1H-SCB41:
Table of Contents

Advertisement

Quick Links

Cat. No. W365-E1-02
SYSMAC
CQM1H Series
CQM1H-SCB41
Serial Communications Board
OPERATION MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H-SCB41 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Omron CQM1H-SCB41

  • Page 1 Cat. No. W365-E1-02 SYSMAC CQM1H Series CQM1H-SCB41 Serial Communications Board OPERATION MANUAL...
  • Page 2 SYSMAC CQM1H Series CQM1H-SCB41 Serial Communications Board Operation Manual Revised April 2002...
  • Page 4 1. Indicates lists of one sort or another, such as procedures, checklists, etc. OMRON, 1999 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
  • Page 6: Table Of Contents

    SECTION 1 Introduction ........
  • Page 7 E5ZE Temperature Controller Read Protocol ........
  • Page 8 The Serial Communications Board is classified as an Inner Board. Read this manual and all related manuals listed in the following table carefully and be sure you under- stand the information provided before attempting to install and operate a Serial Communications Board.
  • Page 10: Precautions

    Conformance to EC Directives........
  • Page 11: Intended Audience

    This manual provides information for programming and operating the Unit. Be sure to read this manual before attempting to use the Unit and keep this man- ual close at hand for reference during operation.
  • Page 12: Operating Environment Precautions

    • Locations subject to possible exposure to radioactivity. • Locations close to power supplies. !Caution The operating environment of the PC System can have a large effect on the longevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the PC System.
  • Page 13 • Refer to Section 2 Board Components and Installation and correctly wire and install the Units. • Do not attempt to take any Units apart, to repair any Units, or to modify any Units in any way. • Disconnect the functional ground terminal when performing withstand voltage tests.
  • Page 14: Conformance To Ec Directives

    EMI (Electromagnetic Interference): EN50081-2 (Radiated emission: 10-m regulations) Low Voltage Directive Always ensure that devices operating at voltages of 50 to 1,000 VAC or 75 to 1,500 VDC meet the required safety standards for the PC (EN61131-2). 6-1-2 Conformance to EC Directives The CQM1H-series PCs comply with EC Directives.
  • Page 15 Low impedance, 25 MHz: 90 , 100 MHz: 160 Recommended Mounting Method Mount the core on one turn of the communications cable, as shown in the fol- lowing illustration. Mount the cores as closely to the end of the communications cable as possi- ble, as shown in the following illustration.
  • Page 16: Introduction

    1-1-5 Mounting Location........
  • Page 17: Overview

    The Serial Communications Board is an option that can be mounted in the CPU Unit to increase the number of serial ports without using an I/O slot. It supports protocol macros (which are not supported by the ports built into the CPU Units), allowing easy connection to general-purpose devices that have a serial port.
  • Page 18: System Configuration

    Console) No-protocol Host Link Note An NT-AL001-E Converting Link Adapter can be used to convert between RS- 232C and RS-422A/485. This Link Adapter requires a 5-V power supply. Power is provided by the RS-232C port on the Serial Communications Board when the Link Adapter is connected to it, but must be provided separately when connecting the Link Adapter to other devices.
  • Page 19: Protocol Overview

    Section 1-2 Protocol Overview 1-1-5 Mounting Location The Serial Communications Board can be installed in Inner Board slot 1 of a CQM1H-series CPU Unit. The Board cannot be installed in slot 2. Serial Communications Board Protocol Overview The following six serial communications modes can be used as required for each serial communications port on the Serial Communications Board.
  • Page 20: Host Link Mode

    Host Link Mode In Host Link Mode, C-mode Host Link commands can be sent from a com- puter, PT, or other host to read or write I/O memory in the PC or to control the PC’s operating modes. The TXD( ) instruction can be used to send ASCII data to the host. This is called slave-initiated communications or unsolicited communications.
  • Page 21: No-Protocol Communications

    RS-232C port to and from an external device. A start code can be sent before the data and an end code can be sent after it. Alternately, the amount of data being sent can be specified. A communica- tions frame, however, cannot be created according to the specifications of the partner device, providing less flexibility than protocol macros.
  • Page 22: Nt Links - 1:N Mode

    PC. Up to eight PTs can be connected to a PC. Note The user does not need to be aware of NT Link commands. The user only has to allocate the PC memory to the PTs.
  • Page 23: Specifications

    4. Turn ON the power supply to the PC. 5. Set the PC Setup settings from a Programming Device (e.g., Programming Console or CX-Protocol). 6. Execute communications. Use the control bits, flags, and words allocated in the IR area in the ladder program to control communications.
  • Page 24: Board Components And Installation

    RS-422A/485 Port ........
  • Page 25: Component Names And Functions

    There are three LED indicators on the Board, as described below. RDY: Lit when the Board is operational (green) COMM1 COMM1: Lit when data is being sent or received on the RS-232C port (Yellow) COMM2 COMM2: Lit when data is being sent or received on the RS-442A/485 port (Yellow)
  • Page 26: Rs-232C Port

    If an error in the Inner Board is the cause of the error indicated on the ERR/ ALM indicator, the Inner Board Error Flag (SR 25415) will turn ON and infor- mation on the error will be stored in AR 0400 to AR 0407.
  • Page 27: Rs-422A/485 Port

    1:N (N: 8 Units max.) Transmission 500 m max. distance (The total combined cable length is 500 m max. T-branch lines must be a maximum of 10 m long.) Interface Complies with EIA RS-485 Connector Pin Layout Pin No. Abbreviation Signal name 1 (See note 1.)
  • Page 28: Switches

    One Socket and one Hood are provided for each port. Recommended Cables CO-HC-ESV-3P 7/0.2 (Hirakawa Hewtech Corp.) Cable length: 500 m max. (The total combined cable length is 500 m max. T-branch lines must be a maximum of 10 m long.) 2-1-4 Switches The TERM and WIRE switches are on the front panel of the Serial Communi- cations Board.
  • Page 29: Installation

    This section describes how to mount a Serial Communications Board in Inner Board slot 1 of a CPU Unit. Slot 1 is the slot on the left. Only one Serial Com- munications Board can be installed in each CPU Unit.
  • Page 30: External Dimensions

    CPU Unit Connecting Cable connector Note The mounting heights shown above are applicable when the attached con- nectors, connector covers, and recommended cables are used. The mounting height may differ when other connectors, connector covers, and cables are used.
  • Page 31: Precautions In Handling The Board

    Section 2-2 2-2-4 Precautions in Handling the Board • Turn OFF the power supply to the CPU Unit before mounting or removing the Board. • Turn OFF the power supply to the CPU Unit before connecting or discon- necting Board connectors or wiring.
  • Page 32: Wiring

    2-3-1 Connectors Prepare connecting cables for port 1 (RS-232C) and port 2 (RS422A/485) using the Sockets and Hoods provided with the Board and the recommended cables. Connection methods vary with the serial communications mode that is being used. Refer to the following sections for connection examples.
  • Page 33: Wiring Precautions

    Power lines Ground to 100 or less. • If the I/O wiring and power cables must be placed in the same duct, they must be shielded from each other using grounded steel sheet metal. PC power supply and general control...
  • Page 34: Port Applicability And Restrictions For 2-Wire/4-Wire Connections

    Board Note 1. Use the same transmission circuit (2-wire or 4-wire) for all nodes. 2. Do not use 4-wire connections when the 2/4-wire switch on the Board is set to 2-wire. NT-AL001-E Link Adapter The NT-AL001-E Link Adapter has a DIP switch for setting RS-422A/485 com- Settings munications conditions.
  • Page 35: Recommended Rs-232C Wiring Examples

    Transmission performed when CTS signal in RS- 232C interface is at low level: Set pin 5 to ON and pin 6 to OFF. Note When connecting to a CQM1H-series CPU Unit, turn OFF pin 5 and turn ON pin 6. 2-3-5...
  • Page 36: Recommended Rs-422A/485 Wiring Examples

    (GR) on the Power Supply Unit. Although there is conductivity between the Hood (FG) and pin 1 (FG), connect the Hood (FG) to the shield because the Hood (FG) has smaller contact resistance with the shield than pin 1 (FG), and thus provides better noise resistance.
  • Page 37 Note The following cables are available for this connection. Length Model 70 cm XW2Z-070T-1 XW2Z-200T-1 It is recommended that one of these cables be used to connect the RS-232C port on the Serial Communications Board to the NT-AL001-E Converting Link Adapter.
  • Page 38: Wiring Connectors

    Ground to 100 or less Grounding the GR terminal grounds the Hood (FG). 3. Be sure to turn ON the terminating resistance at the last Unit at the end of the RS-422A/485 cable. 2-3-7 Wiring Connectors Use the following steps to wire connectors.
  • Page 39 Section 2-3 Wiring 2. Remove the specified length of the sheath from the cable using a knife. Be careful not to scratch the braided shield. 25 mm (RS-422A) 40 mm (RS-232C) 3. Trim off the braided shield using scissors so that the remaining shield length is 10 mm.
  • Page 40: Soldering

    2. Temporarily solder each conductor to the corresponding connector termi- nals. 3. Completely solder each conductor. Soldering iron Heat-shrinking tube Inside diameter: 1.5 mm, l = 10 4. Return the heat-shrinking tube to the soldered portion, then heat the tube to shrink it in place. Heat-shrinking tube...
  • Page 41: Assembling Connector Hood

    Wiring Section 2-3 2-3-9 Assembling Connector Hood Assemble the connector Hood as shown below. Adhesive tape End connected to FG End not connected to FG Aluminum foil tape Grounding plate 2-3-10 Connecting to the Board Tighten the screws firmly with your fingers.
  • Page 42: Default Settings And Related Bits/Flags

    PC Setup Settings ..........Control Bits, Flags, and Status Information ......
  • Page 43: Overview

    Port 2: DM 6550 to DM 6554 The settings stored in these words are read constantly; the PC does not need to be restarted or reset when changes are made to the settings. They will be updated automatically as soon as they are changed.
  • Page 44 08 to 11 Link words for 1:1 Data Link (when bits 12 to 15 are set to 3) 1:1 Data Link 0: LR 00 to LR 63; 1: LR 00 to LR 31; 2: LR 00 to LR 15 master (link words) Maximum Programmable Terminal unit number (when bits 12 to 15 are set to 5) NT Link (max.
  • Page 45: Control Bits, Flags, And Status Information

    Control Bits, Flags, and Status Information Control bits, flags, and status information for the Serial Communications Board is available in the Inner Board Slot 1 area. The addresses in this area are as follows: Inner Board Slot 1 Area: IR 200 to IR 207 The following bits are often used in Protocol Macro Mode.
  • Page 46 Communications modes IR 202 00 to 07 Port 1 Communicating with PT Flags (Bits 00 to 07 are flags for PTs 0 to 7.) NT Link in 1:N mode Repeat counter PV (00 to FF hexadecimal) Protocol macro 00 to 15...
  • Page 47 Turns ON when an error occurs in an Inner Board mounted in slot 1 or slot 2. The error code for slot 1 is stored in AR 0400 to AR 0407 and the error code for slot 2 is stored in AR 0408 to AR 0415.
  • Page 48: Host Link Communications

    Example Programs ........
  • Page 49: Host Link Communications

    122 characters max. Terminator code Note If the PC is sending a response to a Host Link command when the TXD( ) instruction is executed, the EX command for TXD( ) will be sent after the response. If TXD( ) is executed in Host Link Mode, the specified data is converted to ASCII before being sent.
  • Page 50: Host Link Communications

    Communications can be performed either by sending a command from a host Communications and having the PC return a response, or by sending data from a PC to the host. Note A Host Link connection can also be used to connect the PC to a Programming Device running on a personal computer.
  • Page 51: Application Procedure

    Communications dis- RS-232C port: 15 m max. (See note 2.) tance (See note 1.) RS-442A/485 port: 500 m max. (The total combined cable length is 500 m max. T-branch lines must be a maximum of 10 m long.) Connection configura- RS-232C port: 1:1 (1:N (N = 32 Units max.) is possible using an Converting Link Adapters.)
  • Page 52 PC Setup between DM 6550 and DM 6559. Note The settings stored in these words are read constantly; the PC does not need to be restarted or reset when changes are made to the set- tings. They will be updated automatically as soon as they are changed.
  • Page 53 Serial Communications Board Host Response Command PC-initiated Communications: TXD( ) Instruction TXD( ) must be included in the ladder program to send data from the PC to the host. Program to send responses Host Serial Communications Board TXD( )
  • Page 54: Connections

    Host Link communications. 2. “Resistance ON” indicates the terminating resistance must be turned ON. 3. “5-V power” indicates that a 5-V power supply is required for the Link Adapter. Refer to the Link Adapter manual for details. A 5-V power supply is not required for a Link Adapter connected to a Serial Communications Board because power is supplied from pin 6 of the connector.
  • Page 55 XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m !Caution Do not use the 5-V power from pin 6 of the RS-232C port for anything but the NT-AL001-E Link Adapter. Using this power supply for any other external device may damage the Serial Communications Board or the external device.
  • Page 56 Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: ON Note We recommend using the following NT-AL001-E Link Adapter Connecting Cables to connect to NT-AL001-E Link Adapters. XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m...
  • Page 57 Section 4-3 Connections 1:1 Connections Using RS-422A/485 Ports Serial Communications Board Computer NT-AL001-E Link Adapter Signal Signal Signal Signal RS-422A Shield / 485 In- terface RS-232C Hood Interface Terminating resistance ON 4-wire D-sub, 9-pin Terminal block connector (male) 5-V (+)
  • Page 58 Connections Section 4-3 1:N Connections Using RS-422A/485 Ports Serial Communications Board 3G2A9-AL001 Link Adapter NT-AL001-E Link Adapter Computer Shield Signal Signal Signal Signal Signal Signal RS-422A/ Shield RS-422A/ 485 Inter- 485 Inter- face face RS-232C Interface Hood Terminating resistance OFF...
  • Page 59: Standard Cables From Board To Personal Computer

    Host Link XW2Z-200S-CV Conforms to (D-sub, 9-pin compatible male (SYSMAC ESD. XW2Z-500S-CV female) WAY) The following Connecting Cables can be used to connect an RS-232C to the computer. Board port Computer Computer Network type Model Length Remarks port RS-232C port...
  • Page 60: Host Link Communications

    Host Link communications are executed by means of an exchange of com- mands and responses between the host computer and the PC. The command or response data that is transferred in one exchange is known as a frame and one frame can contain up to 131 characters of data.
  • Page 61 When the response is longer than 131 characters, it will be divided into more than one frame. A carriage return delimiter ( , CHR$(13)) instead of a termi- nator will automatically be set at the end of the frame. A terminator will be set at the end of the last frame.
  • Page 62 The right to send a frame is called the “transmission right.” The Unit that has Sequence the transmission right is the one that can send a frame at any given time. The transmission right is traded back and forth between the host computer and the PC each time a frame is transmitted.
  • Page 63: Example Programs

    430 A$=RIGHT$(RESPONSE$,1) 440 PRINT RESPONSE$,A$,L 450 IF A$=”*” THEN LENGS=LEN(RESPONSE$)-3 ELSE LENGS=LEN(RESPONSE$)-2 460 FCSP$=MID$(RESPONSE$,LENGS+1,2) ’..FCS data received 470 FOR I=1 TO LENGS ’..Number of characters in FCS...
  • Page 64 This example shows a program for using the RS-232C port in the Host Link Example mode to transmit 10 bytes of data (DM 0000 to DM 0004) to a computer. From DM 0000 to DM 0004, “1234” is stored in every word.
  • Page 65 Host Link Communications Section 4-4 Setting a Transmission A transmission delay can be set in the PC Setup to create a minimum interval Delay between sending a response from the PC to a Host Link command until the beginning of sending the response to the next command.
  • Page 66: Host Link Commands

    Host Link Communications Section 4-4 4-4-3 Host Link Commands The Host Link commands listed in the following table can be sent to the CQM1H for Host Link communications. Refer to the CQM1H-series Program- ming Manual for details. Header code PC mode...
  • Page 67: End Codes

    Section 4-4 4-4-4 End Codes The response (end) codes listed in the following table are returned in the response frame for Host Link commands. When two or more errors occur, the end code for the first error will be returned.
  • Page 68: Changes From Previous Products

    There are differences between Host Link Systems created using the CQM1H- series Serial Communications Boards in comparison to Host Link Systems created with Host Link Units and CPU Units in other PC product series. These differences are described in this section.
  • Page 69 CQM1H command specifications. Note The number of words that can be read and written per frame (i.e., the text lengths) when using C-mode Host Link commands is different for C-series Host Link Units and CQM1H-series Serial Communications Boards. A host computer program previously used for C-series Host Link Units may not func- tion correctly if used for CQM1H-series PCs.
  • Page 70: Rs-422A/485 Ports

    Unit CQM1H command specifications. Note The number of words that can be read and written per frame (i.e., the text lengths) when using C-mode Host Link commands is different for C-series Host Link Units and CQM1H-series Serial Communications Boards. A host computer program previously used for C-series Host Link Units may not func- tion correctly if used for CQM1H-series PCs.
  • Page 72: Protocol Macros

    Storage Memory........
  • Page 73: Overview Of The Protocol Macro Functions

    Overview of the Protocol Macro Functions 5-1-1 Protocol Macros The protocol macro function is used to control devices by using the PMCR( ) instruction in the ladder program to execute the data communications sequences (protocols) with the various communications devices, such as gen- eral-purpose devices, connected to the RS-232C or RS-422A/485 port.
  • Page 74 RS-232C port: 1:1 (1:N (N = 32 Units max.) is possible using a Convert- ing Link Adapter.) RS-422A/485 port: 1:N (N = 32 Units max.) Number of connected Units 32 Units max. (unit numbers 0 to 31; unit number 0 is set for 1:1 connec- tion) Maximum number of Operand setting...
  • Page 75 Monitoring time Receive wait, receive completion, or send completion can be monitored. during send/ Setting range: 0.01 to 0.99 s, 0.1 to 9.9 s, 1 to 99 s, or 1 to 99 min receive process- Link word setting Area in which data is exchanged between the CPU Unit and the Serial Communications Board during Serial Communications Board refresh- ing.
  • Page 76 0 to 9 (Only when the command is SEND&RECEIVE) Send wait time 0.01 to 0.99 s, 0.1 to 9.9 s, 1 to 99 s, or 1 to 99 min (Only when the command is SEND or SEND&RECEIVE) With or without...
  • Page 77 ASCII data, hexadecimal data, or control code tents Header and stant terminator data attributes Con- ASCII data, hexadecimal data, or control code (with an address, no control Data stant code is possible) attributes of Vari- No conversion, conversion to ASCII data, or conversion to hexadecimal data...
  • Page 78: Using The Protocol Macro Function

    Trace function A total of up to 1,700 bytes (characters) of time-series data can be traced in send and receive messages. Changes to the step No. and control signals such as RTS and CTS can also be traced.
  • Page 79 If there is no standard system protocol for the required OMRON product or System Protocols you wish to modify part of the protocol, you can use the CX-Protocol to modify a standard system protocol, transfer this as a separate communications sequence to the Serial Communications Board, and execute the PMCR( ) instruction.
  • Page 80: Restrictions In Using The Cx-Protocol

    CPU Unit or Board ports for the CX-Programmer, SYSMAC-CPT, or SYSMAC Support Software. • The model of PC must be set to the C200HG and the model of CPU Unit must be set to the CPU43.
  • Page 81: Application Procedure

    3. Connect the system. Connect the external devices using RS-232C or RS-422 cable. The set- tings of the TERM and WIRE switches on the front panel of the Board will need to be changed if the RS-422A/485 port on the Serial Communica- tions Board is used.
  • Page 82 1,2,3... 1. Setting the Send Data Refer to information on the 2nd operand of PMCR( ) in Appendix B Com- poWay/F Master Protocol and set the number of send data words in S, and set the send data starting in S+1.
  • Page 83 4 words from D00010 to D00013 D00011 Response code is stored. D00012 The read data (in this case, the present value of K3N) is stored. D00013 3. Executing the PMCR( ) instruction 4. For details on confirming operation, see Section 12 Tracing and I/O Mem- ory Monitoring in the CX-Protocol Operation Manual (W344).
  • Page 84 3. Create the ladder program. a) Setting Send Data • Specifying Operands Set the send data in the I/O memory after the S+1 operand of the PM- CR( ) instruction. Set the number of send data words (including S it- self) in S.
  • Page 85: Connections

    Connections Section 5-4 Connections This section describes the connections for protocol macros. Up to 32 nodes can be used for 1:N connections. Port Configuration Schematic diagram RS-232C RS-232C RS-232C interface NT-AL001-E Resistance ON NT-AL001-E 5-V power RS-422A/485 RS-232C Resistance RS-232C...
  • Page 86 Adapter is connected. 4. Branch lines must be a maximum of 10 m long. 5. Up to 32 nodes can be used for 1:N connections. With a 2-wire connection, this figure includes the Communications Board itself, whereas with a 4- wire connection, it does not (i.e., up to 32 devices can be connected).
  • Page 87 Pin 4: OFF Pin 5: OFF Pin 5: OFF Pin 6: ON Pin 6: OFF Note We recommend using the following NT-AL001-E Link Adapter Connecting Cables to connect to NT-AL001-E Link Adapters. XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m Connections to a Modem...
  • Page 88 Pin 2: ON Terminating resistance Pin 3: ON 2-wire Pin 4: ON Pin 5: OFF Pin 6: ON Note We recommend using the following NT-AL001-E Link Adapter Connecting Cables to connect to NT-AL001-E Link Adapters. XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m...
  • Page 89 Section 5-4 Connections 1:1 Connections Using RS422A/485 Ports Device supporting Device supporting RS-422A/485 RS-422A/485 communications communications (4-wire) (2-wire) Serial Communications Board Serial Communications Board Signal Shield Signal RS-422A Signal Shield Signal RS-422A /485 in- terface /485 in- RS-422A RS-422A terface...
  • Page 90 Connections Section 5-4 1:N Connections Using RS422A/485 Ports Device supporting RS-422A/485 Serial Communications Board communications (2-wire) Signal Pin Signal RS-422A/ 485 inter- RS-422A/ face 485 inter- face Hood Device supporting RS-422A/485 communications (2-wire) D-sub, 9-pin connector (male) Terminating resistance ON...
  • Page 91: Protocol Structure

    A protocol consists of processing sequences (such as reading the process value for a Temperature Controller) for a general-purpose external device. A sequence consists of a group of steps, each of which consists of a send/ receive/control command, send/receive message, processing result, and a next step that depends on the processing results.
  • Page 92 Depending on the response received, the user can either choose to resend the same send message (retry processing), or to perform the next process (for example, read the process value for a Temperature Controller with a dif- ferent address). One protocol One-step structure Sequence No.
  • Page 93 RECEIVE or SEND&RECEIVE is used. Repeat counter The number of times to repeat the step (0 to 255). The repeat counter can be used to change send/receive mes- sages. Retry count Used for SEND&RECEIVE to retry the command for errors...
  • Page 94 Length <l> Address <a> & (R (1) ) ,2) Message edited <h> + <a> + "00" + "00" + & (W (1) ,4) + <c> + <t> Data Handling The CQM1H-series PCs provide standard system protocols to enable com- Communications...
  • Page 95: Control Bits, Flags, And Status Information

    MONITOR mode, when the STUP( ) instruction is executed to change the serial communications mode, or when the communications port is restarted. The bits are also reset at the timing indicated in the Reset column in the table. Word Bits...
  • Page 96 If the Repeat Counter Setting Value is set to read word R ( ), and 0 is read, then 0 will be stored and this step will be skipped (the next process setting will be ignored), and the sequence will move to the next step (+1).
  • Page 97 The list of error codes is provided at the end of this table on page page 84. If error code 1, 2, 3, or 4 is stored, the Port 1 Protocol Macro Execution Error Flag (IR 20111) will be turned ON, the ERR/ALM indicator on the CPU Unit will flash, and a non- fatal error will occur.
  • Page 98 This flag is turned ON when a step has ended abnormally. It reception is turned OFF if the step ends normally as a result of a retry. 1: Step ended abnormally 0: Step ended normally Port 1 Sequence END Completion Flag...
  • Page 99: Using Protocol Macros

    Port 2 Forced Abort Bit Abort pro- User-set User-reset cessing Same as IR 20711. Error Codes The contents of the error codes are shown in the following table. Code Error contents Protocol macro execution No error Executed Sequence Number Error...
  • Page 100 When PMCR( ) is executed, the communications sequence specified in bits 00 to 11 of C is executed for the port specified in bits 12 to 15 of C (port 1 or If an operand is specified as a variable in the send message, data starting in S+1 for the number of words specified in S is used as the send data.
  • Page 101: Ladder Program Structure

    Using Protocol Macros Section 5-7 received in words starting from D+1 and the number of words of received data will be automatically stored in D. Flags Name Address Error Flag SR 25503 Indirectly addressed DM or EM word is non-exis- Other tent.
  • Page 102: Ladder Program Example

    Section 5-7 5-7-3 Ladder Program Example The following diagram shows an example in which sequence number 000 (Present Value Read) for a Temperature Controller (E5@K Read Protocol) is executed using the protocol for an OMRON Temperature Controller connected to port 2 (RS-422A/485) of a Serial Communications Board.
  • Page 103 Using Protocol Macros Section 5-7 Operand Settings for the Reading the present value of E5@K Unit No. 03 and storing it in DM 0201 PMCR ( ) Instruction C: Control data PMCR #0000 D00100 D00200 0000: Sequence No. 000 Port 1...
  • Page 104 If programming is included in the ladder diagram to periodically read, it should be designed to read the data only when receptions are successful, and not when the contents of the buffer has been cleared to all zeros. The above ladder programming shows one way to achieve this.
  • Page 105 2. There is a time lag between the completion of data send processing and the end of the SEND operation. This time lag is time t1 and is shown in the following table. If the response from the external device is too quick, any receive data entering between the end of sending data for the SEND oper- ation and the completion of the SEND operation will not be received.
  • Page 106 4,800 9,600 19,200 Note The lag time shown above is an approximate value. It may become longer depending on the protocol macro processing. Error Flags for Overrun, Framing, and Parity Errors When an overrun, framing, or parity error is detected during a protocol macro, the receive data will be stored in the reception buffer along with error informa- tion.
  • Page 107 (IR 20709) Processing When a Sequence Ends Abnormally As shown in the following examples, if END is set when a sequence ends nor- mally and ABORT is set when a sequence ends abnormally, it is possible to determine whether each sequence has ended normally or abnormally by using the Sequence End Completion Flag and the Sequence Abort Comple- tion Flag.
  • Page 108 Note The Step Error Processing Flag is used to see whether error processing has been executed for an individual step in a sequence, and not for the overall steps. Therefore, as shown in Ex ample 2 above, after executing error processing during a sequence (step No. 00), the flag will remain ON, even if the next step ends normally.
  • Page 109 Bit is turned ON from the ladder program. The Forced Abort Bit must remain ON for at least 15 ms longer than the CPU Unit cycle time. Thus, the sequence will not be aborted if the Forced Abort Bit is turned OFF as soon as the Protocol Macro Executing Flag turns OFF.
  • Page 110 Protocol trace data. Changes in the Echoback Disable Mode Flag (Port 1: 20706, Port 2: 20707) from 0 (OFF) to 1 (ON) are always input to the system while the lad- der program is running, but the 0 (OFF) state is only input to the Serial Communi-...
  • Page 111 Using Protocol Macros Section 5-7 Disable Mode, it is not sufficient to simply set the Echoback Disable Mode Flags to 0 (OFF) while executing the protocol macro. Either switch once to the Program mode, and then start running again, or turn the power supply OFF and then ON.
  • Page 112 Note The condition of the 20700 to 20707, 20711, and 20715 flags is also main- tained during interruptions in the power supply. When 20711 or 20715 (Forced Abort Bit for Port 1 or Port 2) is set to 1 (ON), signals will not be sent or received.
  • Page 114: No-Protocol Communications

    RXD( ) Communications Procedure ..... . . 6-4-4 Application Example ........
  • Page 115: Overview

    RS-232C ports that do not required command-response procedures. Data is sent in one direction only, using TXD( ) to send data from the port or RXD( ) to read data received on the port.
  • Page 116 256 bytes max. 256 bytes max. • Only the first start code is valid if there is more than one start code. • Only the first end code is valid if there is more than one end code. • Use CF+LF if using an end code may cause receptions to be interrupted because the end code exists in the receive data.
  • Page 117: Application Procedure

    00 Hex Number of receive bytes (Disabled when end code is set.) 6. Write and execute the ladder program. Use TXD( ) to send data to an ex- ternal device and RXD( ) to receive data from an external device.
  • Page 118: Connections

    Bar Code Reader Cable 100 VAC 5-V external power supply (e.g., 82S-0305) Note If the external device has a FG terminal, connect the shield wire to ground at both the external device and the Serial Communications Board to prevent faulty operation.
  • Page 119: Using No-Protocol Communications

    The specified number of bytes will be read starting from S and transmitted through the specified port. • Up to 256 bytes of data can be sent each time the instruction is executed. • The bytes of source data shown below will be sent in the following order.
  • Page 120 MSB LSB MSB LSB • If the value of N is larger than the number of receive bytes, only the num- ber of bytes actually received will be read into memory. • Communications parameters for the Serial Communications Board are set in the PC Setup.
  • Page 121: Txd( ) Communications Procedure

    The Port 1 Transmission Enabled Flag is IR 20105 and the Port 2 Transmis- sion Enabled Flag is IR 20113. The Transmission Enabled Flag will turn OFF while TXD( ) is being executed and will turn ON when the send has been completed.
  • Page 122: Application Example

    #0256 1,2,3... 1. When IR 00100 turns ON, the contents of DM 0100 to DM 0104 will be sent with most significant bytes first from port 1 on the Serial Communications Board if IR 20105 is ON (Transmission Enabled Flag).
  • Page 124: Communications For 1:1 Data Links

    Starting Data Links ........
  • Page 125: Overview

    HE, C200HS, CPM1, CPM1A, CPM2A, CPM2C, or SRM1(-V2). One of the PCs is set as a 1:1 Data Link master and the other as a 1:1 Data Link slave. The linked words are separated into two groups of words, and the words written by each PC is transferred to the other PC, as illustrated in the following diagram.
  • Page 126: Application Procedure

    3. Connections Connect the external devices using RS-232C or RS-422 cables. The TERM and WIRE switches on the front panel of the Board must be set if the Board is connected using the RS-422A/485 port. The CPU Unit can be connected to a Programming Console, the CX-Pro- grammer, or the CX-Protocol as required.
  • Page 127: Connections

    Section 7-3 Connections The following table shows the master PC settings for a 1:1 Data Link for LR 00 to LR 63. Port 1 Port 2 Bits Setting Function DM 6555 DM 6550 00 to 07 Not used. 08 to 11...
  • Page 128: Using 1:1 Data Links

    MOV (21) MOV (21) LR00 LR08 When the programs in the two PCs are executed, the status of input word IR 001 of both PCs will be transferred to the other PC and will be output to output word IR 100.
  • Page 130: Nt Link Communications

    8-1-1 NT Links — 1:N Mode ........
  • Page 131: Overview Of Nt Links

    2. The NT20S, NT600S, NT30/30C, and NT620S/620C/625C cannot be used if the cycle time of the PC is 800 ms or longer. This is true in both 1:1 and 1:N mode (even when a 1:1 connection is used in 1:N mode).
  • Page 132 PC. If the same unit number is set for more than one PT, malfunctions will occur. 5. The number of PTs that can be connected to one port in 1:N mode is lim- ited by the CPU Unit’s cycle time when a Serial Communications Board is used, as shown in the following diagrams.
  • Page 133: Application Procedure

    Refer to the operation manual for the PT for de- tails. This is true in both 1:1 and 1:N mode. 7. If more PTs are required by the system than allowed by the above restric- tions in 1:N mode, connect the PTs in smaller groups to different ports.
  • Page 134: Connections

    00 to 15 Port Settings are always the same for 1:1-mode NT Links. Settings of the start bits, stop bits, parity, and baud rate are not necessary and will be ig- nored. Set the communications mode to a 1:1-mode NT Link (4 Hex).
  • Page 135 Connections Section 8-3 1:N, 4-wire Connections from RS422A/485 to RS422A/485 Ports (1:N Mode) Serial Communications Board Signal Signal RS-422A RS-422A /485 In- /485 In- terface terface Hood D-sub, 9-pin connector (male) Terminal block or D-sub connector Short bar Signal RS-422A...
  • Page 136: Troubleshooting And Maintenance

    1:N NT Link Mode ........
  • Page 137: Front-Panel Indicator Error Displays

    The Serial Communications Board is not Board. correctly secured to the CPU Unit. The Serial Communications Board is faulty. If all the indicators are not lit when the Serial Communications Board is mounted to another CPU Unit, replace the Serial Communications Board.
  • Page 138 When a non-fatal error occurs, the ERR/ALM indicator on the CPU Unit will flash. Refer to the indicator error displays. Note The ERR/ALM indicator will continue to flash even after the cause of a non- fatal error has been removed for the Serial Communications Board. The indi- cator can be stopped by clearing the error from a Programming Console or other Programming Device.
  • Page 139: Troubleshooting

    Section 9-2 Troubleshooting Troubleshooting This section describes how to resolve transmission and reception problems. 9-2-1 Host Link Communications Serial commu- Indicator Status I/O memory Cause Remedy nications status information, mode etc. Serial commu- Bits 12 to 15 (Serial Serial communica-...
  • Page 140 IR 20111 for port 2 at the host. on the response, and the is 1 (parity error), 2 error code in IR 20100 to (framing error), or 3 IR 20103 or IR 20108 to (overrun error). IR 20111.
  • Page 141 Board. Communications The communica- Reset the parameters in parameters and tions conditions and the PC Setup and at the baud rate settings in baud rate do not host correctly. the PC Setup do not match the settings correspond with the at the host.
  • Page 142: Protocol Macros

    DM 6550 are set to a protocol value other than macro. 6 Hex. Serial com- The PMCR( ) IR 20708 or The program is incorrect. Set IR 20708 or IR 20712 munica- COMM@ instruction was IR 20712 (Protocol (Protocol Macro Execut- tions mode indicators...
  • Page 143 Serial com- The PMCR( ) The error code in The protocol data in the Use CX-Protocol to cor- munica- COMM@ instruction is IR 20408 to Serial Communications rect and transfer the pro- tions mode...
  • Page 144 PC there are bit errors due to Review the remote node is set to do not flash there is no Setup do not match mismatched stop bits and...
  • Page 145 Review the operating environment to prevent noise problems. Note The following table shows the measures to correct error codes provided in IR 20408 to IR 20411 for port 1 and IR 20412 to IR 20415 for port 2. Error Indicator Error details...
  • Page 146 • Check whether the total specified num- cution. ber of link words in the area (O1, O2, I1, I2) exceeds 128. • The same area with link word specifica- tion is used by both ports 1 and 2.
  • Page 147: 1:N Nt Link Mode

    Remedy nications mode display information, etc. Serial communi- Bits 12 to 15 Serial communica- Set bits 12 to 15 (Serial cations mode is (Serial Commu- tions mode is not set Communications Mode) of not set to NT nications Mode) correctly.
  • Page 148: Cleaning And Inspection

    Adjust the timeout and retry settings in the PT. Note The PT serial port must be set for a 1:N NT Link. The PT will not be able to communicate with a Serial Communications Board if the PT is set for a 1:1 NT Link.
  • Page 149: Inspection

    To keep the Serial Communications Board in optimum condition, regular inspections must be performed. Normally, inspect the devices once every six months or every year. Inspect the devices at more regular intervals when they are being used in environments subject to high temperatures, high humidity, or high dust levels.
  • Page 150: Board Replacement

    Serial Communications Board that was replaced. Note 1. If the CPU Unit is to be replaced, transfer to the replacement CPU Unit the contents of the Holding Areas and DM Area required for operation before starting operation. If the relationship between the DM Area and Holding Area and the program is not maintained, unexpected malfunctions may re- sult.
  • Page 151 3. The PC Setup of the Serial Communications Board is allocated to the DM Area saved in the battery backup of the CPU Unit, and if the user-designed macro data is not used, the PC Setup can be used as before, simply by setting the hardware.
  • Page 152: Appendices

    Procedure 1,2,3... 1. Set the port number (1 or 2) and the sequence number as BCD values in the first operand of PM- CR( ). 2. Specify the address of the first word containing the data required for the sequence as the second operand (S: First word of send data) of PMCR( ).
  • Page 153 1 to 25 for unit numbers 00 to 31 (e.g., in the temperature controller read sequences). This restriction is due to a limit in the number of words that can be transferred between the CPU Unit and the Serial Communications Board.
  • Page 154: Compoway/F Master Protocol

    PC can function as a host (master) to send CompoWay/F commands (message frames) to OMRON compo- nents, which function as slaves. The components will return responses to these commands. Using CompoWay/ F commands, the host can read/write data, settings, and operating status to control the operation of the com- ponents.
  • Page 155 1 byte 1 byte Note 1. Data is not saved in the response if there is a command frame error (i.e., if the end code is not 00 or 0F). 2. Other values are possible for the subaddress and SID.
  • Page 156 Command Frame Contents Item Meaning A code, 02 Hex, indicating the beginning of a communica- tions frame (text). This code must always be set as the first byte. Node number The node number identifies the source of the command frame. Specify “XX” to broadcast a transmission. There will be no response made to a broadcast.
  • Page 157 The receive frame contained an illegal subaddress. “18” Frame length The receive frame was too long. error Example The command and response frames for a K3N@-series Intelligent Signal Processor are shown below. Command Frame Node No. Subaddress Command Text Data...
  • Page 158 Process “0001” Read the data and end normally. Note If “0000” is specified, nothing will be read and a normal end will be returned. A parameter error will occur for any settings other than “0000” and “0001.” Response Text Response code...
  • Page 159 Refer to the communications specifications for the OMRON CompoWay/F component to which the command is being sent and set the command code and required data starting at the words specified for the 3rd operand of PMCR(260). The relationship between the CompoWay/F command and response frames and the operands of PMCR(260)
  • Page 160 Send with ASCII Conversion, with Response: (Sequence No. 600) This sequence converts the specified data beginning with the command code to ASCII and sends it to the specified Unit. The response is converted to hexadecimal and stored starting at the specified word.
  • Page 161 S+3 will be sent. Note 1. Set the number of send bytes to twice the number of bytes in memory. This is necessary because the data is converted to ASCII data before being sent. 2. When hexadecimal data is converted to ASCII data, data is sent starting from the send data word with the largest offset.
  • Page 162 The command frame for reading the present value for a K3N@-@@@@-FLK1/2/3/4/5/6 Intelligent Signal Pro- cessor (command code 01 01) is shown below. The following data is specified in the operands for PMCR(260). • Rightmost byte of S+1: Node number (2 digits BCD) •...
  • Page 163 ASCII and the number of bytes specified in S+3 will be sent. Note 1. Set the number of send bytes to twice the number of bytes in memory. This is necessary because the data is converted to ASCII data before being sent.
  • Page 164 CompoWay/F Master Protocol Appendix B 2. When hexadecimal data is converted to ASCII data, data is sent starting from the send data word with the largest offset. This is done because ladder programming handles data in 4-byte units. Send data words Send frame "56"...
  • Page 165 Broadcast with No Conversion and No Response (Sequence No. 603) This sequence broadcasts the specified data beginning with the command code No responses are received and no conversions are performed on the send data. Send Data Word Allocation (2nd Operand of PMCR(260))
  • Page 166 This sequence sends the specified data beginning with the subaddress and SID to the specified Unit. The response is stored starting at the specified word. No conversions are performed on the send and receive data. Send Data Word Allocation (2nd Operand of PMCR(260))
  • Page 167 Generalpurpose Broadcast with No Conversion and No Response (Sequence No. 605) This sequence broadcasts the specified data beginning with the subaddress and SID. No responses are received and no conversions are performed on the send data. Send Data Word Allocation (2nd Operand of PMCR(260))
  • Page 168 Connection methods between a Serial Communications Board and the K3N@-series Intelligent Signal Proces- sor are shown below. RS-232C • RS-232C connections are one-to-one. • The max. cable length is 15 m. Use an RS-232C optical interface (Z3RN) when extending the transmission line beyond 15 m. • Use shielded, twisted-pair cable. Intelligent...
  • Page 169 32 Serial Communications Boards can be connected in one-to-N systems. • The total cable length can be 500 m max. • Use shielded, twisted-pair cable. • Be sure to turn ON the terminating resistance switches at the device at each end of the transmission line. Serial Communications...
  • Page 170: E5@K Digital Controller Read Protocol

    Appendix C E5@K Digital Controller Read Protocol The E5@K Digital Controller Read Protocol reads and controls various parameters in remote mode for the Controller connected to the Serial Communications Board via RS-232C or RS-485 cable. Structure of the Protocol The following table shows the structure of the E5@K Digital Controller Read Protocol.
  • Page 171 Note 1. The communications configuration is a one-to-one configuration or a one-to-N configuration. In the one-to-N configuration, up to 32 units including the Serial Communications Board can be connected. 2. The maximum cable length is 500 m. Use a shielded twisted-pair cable for the cable (AWG28i or greater).
  • Page 172 E5@K Digital Controller Read Protocol Appendix C any terminator to units No.0 to No.29. Use a resistance of 120 (1/2W) for the terminators (the total resistance of both ends must be 54 or more). Serial Communications Board RS-485: D-sub 9 pin female Pin No.
  • Page 173 Set point lower limit to upper limit (4 digits BCD) Read MV (Sequence No. 002) Reads the MV (manipulated variable) for heating and cooling and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send...
  • Page 174 Read Proportional Band, Integral Time, and Derivative Time (Sequence No. 005) Reads the proportional band, integral time, and derivative time and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send...
  • Page 175 F indicates a negative value and A indi- cates –1. Read Manual Reset Value (Sequence No. 008) Reads the manual reset value and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send...
  • Page 176 0001 to 9999 (4 digits BCD) Read Control Period (Sequence No. 010) Reads the control period for heating and for cooling and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 177 Appendix C Read SP Ramp Time Unit and Set Value (Sequence No. 011) Reads the SP ramp time unit and SP ramp set value and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 178 F indicates a negative value. Read MV Limits (Sequence No. 014) Reads the MV upper limit, MV lower limit, and MV change rate limit and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 179 (4 digits BCD) Read Input Shift Limits (Sequence No. 017) Reads the input shift upper limit and input shift lower limit and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 180 –1. Read Level 0 Parameters (Sequence No. 018) Reads parameters in level 0 (process value, set point during SP ramp, MV (heating), MV (cooling), and set point) from multiple units and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 181 Read Level 1 Parameters 1 (Sequence No. 019) Reads parameters in level 1 (alarm value 1, alarm value 2 , alarm value 3, proportional band, integral time, and derivative time) from multiple units and stores the results in the specified words.
  • Page 182 Read Level 1 Parameters 2 (Sequence No. 020) Reads parameters in level 1 (cooling coefficient, dead band, manual reset value, hysteresis (heating), hystere- sis (cooling), control period (heating), and control period (cooling)) from multiple units and stores the results in the specified words.
  • Page 183 E5@K Digital Controller Read Protocol Appendix C Receive Data Word Allocation (3rd Operand of PMCR) Number of receive data words Receive data storage words Cooling coefficient Dead band Manual reset value Hysteresis (heating) 1st unit Hysteresis (cooling) Control period (heating)
  • Page 184 Read Level 2 Parameters 1 (Sequence No. 021) Reads parameters in level 2 (SP ramp time unit, SP ramp set value, LBA detection time, MV at stop, MV at PV Error, MV upper limit, MV lower limit, and MV change rate limit) from multiple units and stores the results in the specified words.
  • Page 185 Reads parameters in level 2 (input digital filter, alarm 1 hysteresis, alarm 2 hysteresis, alarm 3 hysteresis, input shift upper limit, and input shift lower limit) from multiple units and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 186 Appendix C E5@K Digital Controller Read Protocol Receive Data Word Allocation (3rd Operand of PMCR) Number of receive data words Receive data storage words Input digital filter Alarm 1 hysteresis Alarm 2 hysteresis 1st unit Alarm 3 hysteresis Input shift upper limit...
  • Page 187 (4 digits BCD) Read data (4 digits BCD) A999 to 9999 F indicates a negative value and A indi- cates –1. Note To read parameters in the setup mode or extended mode, execute Switch to Level 1 (Sequence No. 075) in advance.
  • Page 188: E5@K Digital Controller Write Protocol

    Appendix D E5@K Digital Controller Write Protocol The E5@K Digital Controller Write Protocol writes and controls various settings in remote mode for the Control- ler connected to the Serial Communications Board via RS-232C or RS-485 cable. Note Negative values cannot be written. All values must be set as unsigned BCD.
  • Page 189 Appendix D E5@K Digital Controller Write Protocol Connections The connections are the same as that for the E5@K Digital Controller Read Protocol. Write Set Point (Sequence No. 050) Writes the set point. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 190 E5@K Digital Controller Write Protocol Appendix D Receive Data Word Allocation (3rd Operand of PMCR) None. Write Cooling Coefficient (Sequence No. 053) Writes the cooling coefficient. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 191 (4 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) None. Write SP Ramp Time Unit and Set Value (Sequence No. 058) Writes the SP ramp time unit and SP ramp set value. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 192 Receive Data Word Allocation (3rd Operand of PMCR) None. Write MV Limits (Sequence No. 061) Writes the MV upper limit, MV lower limit, and MV change rate limit. Send Data Word Allocation (2nd Operand of PMCR) First word of send...
  • Page 193 Receive Data Word Allocation (3rd Operand of PMCR) None. Write Input Shift Value (Sequence No. 064) Writes the input shift upper limit and input shift lower limit. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 194 E5@K Digital Controller Write Protocol Appendix D Write Level 0 Parameters (Sequence No. 065) Writes parameters (set points) in level 0 to multiple units. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 195 Appendix D Write Level 1 Parameters 1 (Sequence No. 066) Writes parameters in level 1 (alarm value 1, alarm value 2, alarm value 3, proportional band, integral time, and derivative time) to multiple units. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 196 Appendix D Write Level 1 Parameter 2 (Sequence No. 067) Writes parameters in level 1 (cooling coefficient, dead band, manual reset value, hysteresis (heating), hystere- sis (cooling), control period (heating), and control period (cooling)) to multiple units. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 197 Write Level 2 Parameters 1 (Sequence No. 068) Writes parameters in level 2 (SP ramp time unit, SP ramp set value, LBA detection time, MV at stop time, MV at PV error, MV upper limit, MV lower limit, and MV change rate limit) to multiple units.
  • Page 198 Appendix D Write Level 2 Parameters 2 (Sequence No. 069) Writes parameters in level 2 (input digital filter, alarm 1 hysteresis, alarm 2 hysteresis, alarm 3 hysteresis, input shift upper limit, and input shift lower limit) to multiple units. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 199 Receive Data Word Allocation (3rd Operand of PMCR) None. Note When this sequence is executed, a software reset command is issued and the operation of the E5@K is reset (equivalent to turning on the power supply). About five seconds will be required until communica-...
  • Page 200 E5@K Digital Controller Write Protocol Appendix D Run/Stop (Sequence No. 072) Switches the mode to Run or Stop according to the command code. This sequence can be executed for multi- ple units. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 201 Receive Data Word Allocation (3rd Operand of PMCR) None. Execute/Cancel AT (Sequence No. 074) Executes or cancels AT (autotuning) according to the command code. This sequence can be executed for mul- tiple units. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 202 E5@K Digital Controller Write Protocol Appendix D Switch to Level 1 (Sequence No. 075) Switches the setting level to level 1 (setup mode, extended mode). This sequence can be executed for multiple units. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 204: E5Ze Temperature Controller Read Protocol

    Temperature Controller connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Note All sequences in this appendix operate on memory bank 0 and cannot be used for other memory banks. Structure of the Protocol The following table shows the structure of the E5ZE Temperature Controller Read Protocol...
  • Page 205 Shielded cable Signal name Note 1. The maximum communications cable length is 15 m. Use a shielded twisted-pair cable (AWG28 or greater) for the cable. 2. Use a 25-pin D-sub Plug (OMRON XM2A-2501). 3. Use XM2S-2511 Hood (OMRON) or an equivalent.
  • Page 206 Pin No. name minal Shielded cable E5ZE RS-485: Terminals Shielded cable Terminating Terminating resistance Ter- Signal minal name resistance Note Terminal block pins 1 and 2 cannot be connected. If these blocks are used, operation of the E5ZE may fail.
  • Page 207 E5ZE Temperature Controller Read Protocol Appendix E • RS-422A Pin No. Signal name Abbreviation Signal direction Receive data B Input Receive data A Input Signal ground – Send data B Output Send data A Output Turn off the communications switch Serial Communications to disconnect terminating resistance.
  • Page 208 RS-422A or RS-485 Unit Number Switch Setting 0 Unit No. 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F Factory defaults Baud Rate DIP Switch 1 2 3 4 5 6 7 8...
  • Page 209 E5ZE Temperature Controller Read Protocol Appendix E Read Set Point (Sequence No. 100) Reads the set points and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 210 Process value (leftmost 1 digit) (1 digit BCD) Read Output Values (Sequence No. 102) Reads the output values of the control outputs and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 211 Read Set Point, Process Value, and Output Value (Sequence No. 103) Reads the set points, process values, and output values and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 212 Read Proportional Band, Integral Time, and Derivative Time (Sequence No. 104) Reads the proportional bands (constant P), integral times (constant I), and derivative times (Constant D) and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 213 Cooling control period (4 digits BCD) Read Output Mode (Sequence No. 106) Reads the output modes (normal/reverse) and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of...
  • Page 214 00 to 0C Alarm 2 set code (2 digits Hex) Read Alarm Temperatures (Sequence No. 108) Reads the alarm temperatures and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 215 F indicates a negative number. (4 digits BCD) Read Hysteresis (Sequence No. 109) Reads the hysteresis and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of send data Unit No.
  • Page 216 Status code (4 digits Hex) Read Error Status (Sequence No. 111) Reads the contents of errors if they have occurred and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 217 0000: unit of 1 0001: unit of 0.1 Read Input Shift Value (Sequence No. 113) Reads the input shift values and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 218 Input shift value (4 digits BCD) F indicates a negative number. Read Manual Reset Value (Sequence No. 114) Reads the manual reset value and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 219 Time unit (one ASCII character) Read Present Set Point (Sequence No. 116) Reads the present set points during ramp operation and stores the results in the specified word. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 220 Present set point (leftmost 1 digit) (1 digit BCD) Read Output Value Limit (Sequence No. 117) Reads the output value limits and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 221 (4 digits BCD) Read Output Value Change Rate Limit (Sequence No. 118) Reads the output value change rate limits and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 222 Read HB Alarm and HS Alarm Valid Channels (Sequence No. 119) Reads the valid or invalid channels for HB alarms and HS alarms and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 223 (4 digits BCD) Read Heater Current and SSR Leakage Current (Sequence No.121) Reads the heater currents and SSR leakage currents and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 224 E5ZE Temperature Controller Read Protocol Appendix E Note The read data will be 0000 for all channels for which HB and HS alarms are not enabled and for all chan- nels for which control is stopped. Read Dead Band/Overlap Band (Sequence No. 122) Reads the dead bands/overlap bands and stores the results in the specified words.
  • Page 225 E5ZE Temperature Controller Read Protocol Appendix E Receive Data Word Allocation (3rd Operand of PMCR) Receive data Number of receive data words storage words Cooling coefficient Channel 0 Cooling coefficient Channel 1 Cooling coefficient Channel 7 Offset Contents (data format)
  • Page 226: E5Ze Temperature Controller Write Protocol

    Board. Note 1. Negative values cannot be written. All values must be set as unsigned BCD. 2. All sequences in this appendix operate on memory bank 0 and cannot be used for other memory banks. Structure of the Protocol The following table shows the structure of the E5ZE Temperature Controller Write Protocol.
  • Page 227 Refer to the manual for the E5ZE. (4 digits BCD) Not used Receive Data Word Allocation (3rd Operand of PMCR) None. Note When the setting unit for the set point is 0.1 (5 digits), use Write Set Point (Setting Unit 0.1), Sequence No.151.
  • Page 228 Channel 7 Set point (rightmost 1 digit) (1 digit BCD) Receive Data Word Allocation (3rd Operand of PMCR) None. Note When the setting unit for the set point is 1 (4 digits), use Write Set Point (Setting Unit 1), Sequence No.150.
  • Page 229 E5ZE Temperature Controller Write Protocol Write Proportional Band, Integral Time, and Derivative Time (Sequence No. 152) Writes the proportional bands (constant P), integral times (constant I), and derivative times (constant D). Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 230 E5ZE Temperature Controller Write Protocol Appendix F Write Control Period (Sequence No. 153) Writes the control periods and cooling control periods. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of send data Unit No.
  • Page 231 Receive Data Word Allocation (3rd Operand of PMCR) None. Write Alarm Mode (Sequence No. 155) Writes the alarm modes for alarm 1 and alarm 2. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of...
  • Page 232 Appendix F E5ZE Temperature Controller Write Protocol Write Alarm Temperature (Setting Unit 1) (Sequence No. 156) Writes the alarm temperatures using a setting unit of 1 (4 digits) Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 233 E5ZE Temperature Controller Write Protocol Appendix F Write Alarm Temperature (Setting Unit 0.1) (Sequence No. 157) Writes the alarm temperatures using a setting unit of 0.1 (5 digits) Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 234 E5ZE Temperature Controller Write Protocol Appendix F Write Hysteresis (Sequence No. 158) Writes the hysteresis for control outputs for ON/OFF control. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of send data (Undefined) Unit No.
  • Page 235 E5ZE Temperature Controller Write Protocol Appendix F Cancel Autotuning (Sequence No. 160) Cancels Autotuning (AT) for all channels. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of send data Unit No. (Undefined) Offset...
  • Page 236 Input shift value (4 digits BCD) Channel 7 0000 to 0999 Input shift value (4 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) None. Write Manual Reset Value (Sequence No. 163) Writes the manual reset values. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 237 Receive Data Word Allocation (3rd Operand of PMCR) None. Write Manual Output Value (Sequence No. 165) Writes the manual output values for control output in manual operation. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 238 Receive Data Word Allocation (3rd Operand of PMCR) None. Write Output Value Limit (Sequence No. 166) Writes the output value limits that restrict the values of the control outputs. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 239 None. Write Output Value Change Rate Limit (Sequence No. 167) Writes the output value change rate limits that restrict the rates of change in the control value output. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 240 (4 digits BCD) Channel 7 0000 to 1000 Output change rate limit (4 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) None. Save Settings (Sequence No. 168) Saves the settings. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 241 E5ZE Temperature Controller Write Protocol Appendix F Write HB and HS Alarm Valid Channels (Sequence No. 170) Writes the valid or invalid channels of HB alarm and HS alarm. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 242 Appendix F E5ZE Temperature Controller Write Protocol Write Dead Band/Overlap Band (Sequence No. 172) Writes the dead bands or overlap bands for control outputs during heating/cooling control. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 243 Receive Data Word Allocation (3rd Operand of PMCR) None. Stop Operation or Control (Sequence No. 175) Stops temperature control or manual operation for all channels of the specified Unit. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 244 E5ZE Temperature Controller Write Protocol Appendix F Start Manual Operation (Sequence No. 176) Starts manual operation based on the output values that were set for all channels of the specified Unit. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 246: E5@J Temperature Controller Protocol

    Appendix G E5@J Temperature Controller Protocol The E5@J Temperature Controller Protocol performs various settings and controls in remote mode for the Tem- perature Controller connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Note Negative values cannot be written. All values must be set as unsigned BCD.
  • Page 247 Termi- equivalent Signal name name Shielded cable Note 1. The connection configuration is a one-to-one configuration and the maximum cable length is 15 m. 2. Use shielded twisted-pair cable (AWG28i or greater). RS422A/485 Connections CQM1H E5@J Serial Commu- nications Board...
  • Page 248 E5@J Temperature Controller Protocol Appendix G • RS-422A Signal name Abbreviation Signal direction Pin No. Send data A Output Send data B Output Receive data A Input Receive data B Input Signal ground – Serial Communications Board SN751177N or RS-422A: D-sub...
  • Page 249 E5@J Temperature Controller Protocol Appendix G Note 1. The connection configuration is a one-to-one or a one-to-N configuration. Using a one-to-N configu- ration, up to 32 units can be connected including the Serial Communications Board. 2. The maximum cable length is 500 m. Use shielded twisted-pair cable (AWG28i or greater).
  • Page 250 Receive Data Word Allocation (3rd Operand of PMCR) None. Write Parameters 1 (Sequence No. 205) Writes the set point, alarm value 1, alarm value 2, and a heater burnout alarm value to multiple units. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 251 Receive Data Word Allocation (3rd Operand of PMCR) None. Write Parameters 2 (Sequence No. 206) Writes the proportional bands, integral times, and derivative times to multiple units. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 252 31th unit 0000 to 9999 (max.) Derivative time (4 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) None. Write Input Shift Value (Sequence No. 207) Writes the input shift value. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 253 Appendix G Read Parameters 1 (Sequence No. 208) Reads the set points, alarm values 1, alarm values 2, and heater burnout alarm values for multiple units and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 254 –, F is set. Read Parameters 2 (Sequence No. 209) Reads the proportional bands, integral times, and derivative times for multiple units and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 255 When the left digit is –1, A is set and when it is –, F is set. Read Input Shift Value (Sequence No. 210) Reads the input shift value and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 256 When the left digit is –1, A is set and when it is –, F is set. Read Process Value (Sequence No. 212) Reads the process value and status data and stores the results in the specified word. Send Data Word Allocation (2nd Operand of PMCR) First word of...
  • Page 257 When the left digit is –1, A is set and when it is –, F is set. Read Heater Current (Sequence No. 214) Reads the heater current and stores the results in the specified word. Send Data Word Allocation (2nd Operand of PMCR) First word of...
  • Page 258 0 to 9 Input type (1 digit BCD) 0 to 9 General-purpose Write (Sequence No. 216) Writes the parameter specified by setting a header code. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of send data Unit No.
  • Page 259 0002 (4 digits BCD) Read data (4 digits BCD) 0000 to 9999 When the left digit is –1, A is set and when it is –, F is set. Note The completion code is not included in the read data.
  • Page 260: Es100@ Digital Controller Protocol

    Appendix H ES100@ Digital Controller Protocol The ES100@ Digital Controller Protocol controls in remote mode and reads various settings from the Controller connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Note Negative values cannot be written. All values must be set as unsigned BCD.
  • Page 261 Note Ladder Interface Settings YES: User settings are required for the 2nd and 3rd operands of PMCR. Send word allocation: Set a dummy word address for the 3rd operand (D). Receive word allocation: Set the constant 0000 for the 2rd operand (S).
  • Page 262 Appendix H ES100@ Digital Controller Protocol RS422A/485 Connections CQM1H ES100@ Serial Communica- tions Board RS-422A/485 port RS-422A/485 ES100@ RS-422A/485 Up to 32 units can be connected. ES100@ RS-422A/485 • RS-422A Serial Communications Board ES100@-@04@ RS-422A: D-sub RS--422 9-pin female Terminal Block...
  • Page 263 Switch Settings There are two switches located on the board on the left of the Unit. Set SW1 to the interface: RS-422A or RS- 485. Set SW2 to the center on all terminating Units and to the same setting as SW1 on all other Units.
  • Page 264 00 to FF Event data 10 (2 digits Hex) Read Time Signal (Sequence No. 251) Reads time signals from 1 to 10 in the variable area. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 265 00 to FF Time signal 10 data (2 digits Hex) Read Error Detection Data (Sequence No. 252) Reads error groups from 0 to 15 in the variable area. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 266 • • • 16th unit 00 to 31 (max.) Unit No. (2 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) Receive data Number of receive data words storage words Error group 0 Error group 1 Error group 2...
  • Page 267 ES100@ Digital Controller Protocol Appendix H Read Heater Burnout Data (Sequence No. 253) Reads the heater burnout alarm in the variable area. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words send data...
  • Page 268 ES100@ Digital Controller Protocol Appendix H Read PV Data (Sequence No. 254) Reads the PV data for the variable type “analog data” in the variable area. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of...
  • Page 269 PV data (leftmost 4 digits) (4 digits BCD) Read SP Data (Sequence No. 255) Reads the SP data for the variable type “analog data” in the variable area. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 270 SP data (leftmost 4 digits) (4 digits BCD) Read MV Data (Sequence No. 256) Reads the MV for the variable type “analog data” in the variable area. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 271 32nd unit MV (leftmost 4 digits) (4 digits BCD) Read Control Monitor Data (Sequence No. 257) Reads the control monitor data (SP/PV/MV) in the variable area. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 272 • • 21st unit 00 to 31 (max.) Unit No. (2 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) Number of receive data words Receive data storage words SP data (rightmost 4 digits) SP data (leftmost 4 digits)
  • Page 273 ES100@ Digital Controller Protocol Appendix H Read Adjustment Parameters (Sequence No. 258) Reads the adjustment parameters in the parameter area and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 274 ES100@ Digital Controller Protocol Appendix H Receive Data Word Allocation (3rd Operand of PMCR) Number of receive data words Receive data storage words (rightmost 4 digits) Fixed SP (leftmost 4 digits) (rightmost 4 digits) Control output 1 pulse cycle (leftmost 4 digits)
  • Page 275 (8 digits BCD) +25 to 26 SP setting upper limit (8 digits BCD) +27 to 28 SP rise rate limit (8 digits BCD) +29 to 30 SP fall rate limit (8 digits BCD) +31 to 32 MV rate-of-change limit (8 digits BCD)
  • Page 276 ES100@ Digital Controller Protocol Appendix H Write Adjustment Parameters (Sequence No. 259) Writes the adjust parameters in the parameter area. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of send data (Undefined) Unit No.
  • Page 277 None. Read PID Control Parameters 1 (Sequence No. 260) Reads PID parameters No. 1 to 4 from PID control parameters in the parameter area and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 278 PID No. 1 I (8 digits BCD) +5 to 6 PID No. 1 D (8 digits BCD) +7 to 8 PID No. 1 MV lower limit (8 digits BCD) +9 to 10 PID No. 1 MV upper limit (8 digits BCD) +11 to 12 PID No.
  • Page 279 Appendix H Read PID Control Parameters 2 (Sequence No. 261) Reads PID parameters No. 5 to 8 from the PID control parameters in the parameter area and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 280 PID No. 5 I (8 digits BCD) +5 to 6 PID No. 5 D (8 digits BCD) +7 to 8 PID No. 5 MV lower limit (8 digits BCD) +9 to 10 PID No. 5 MV upper limit (8 digits BCD) +11 to 12 PID No.
  • Page 281 ES100@ Digital Controller Protocol Appendix H Write PID Control Parameters 1 (Sequence No. 262) Writes PID parameters No. 1 to 4 to the PID control parameters in the parameter area. Send Data Word Allocation (2nd Operand of PMCR) First word of...
  • Page 282 PID No. 1 I (8 digits BCD) +6 to 7 PID No. 1 D (8 digits BCD) +8 to 9 PID No. 1 MV lower limit (8 digits BCD) +10 to 11 PID No. 1 MV upper limit (8 digits BCD) +12 to 13 PID No.
  • Page 283 ES100@ Digital Controller Protocol Appendix H Write PID Control Parameters 2 (Sequence No. 263) Writes the PID parameters No. 5 to 8 to the PID control parameters in the parameter area. Send Data Word Allocation (2nd Operand of PMCR) First word of...
  • Page 284 PID No. 5 I (8 digits BCD) +6 to 7 PID No. 5 D (8 digits BCD) +8 to 9 PID No. 5 MV lower limit (8 digits BCD) +10 to 11 PID No. 5 MV upper limit (8 digits BCD) +12 to 13 PID No.
  • Page 285 (max.) Pattern No. (2 digits BCD) 00 to 63 Step No. (2 digits BCD) 00 to 63 Receive Data Word Allocation (3rd Operand of PMCR) Number of receive data words Receive data storage words Local SP (rightmost 4 digits) 1st unit...
  • Page 286 Appendix H ES100@ Digital Controller Protocol Write Local SP (Sequence No. 265) Writes the local SP to the program parameter area. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of send data Number of units (Undefined) Unit No.
  • Page 287 ES100@ Digital Controller Protocol Read Program Parameters (Sequence No. 266) Reads the local SP, step time, PID set No., wait code, and events from 1 to 10 set values in the program parameter area. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 288 ES100@ Digital Controller Protocol Appendix H Receive Data Word Allocation (3rd Operand of PMCR) Number of receive data words Receive data storage words Local SP (rightmost) Local SP (leftmost) Step bank time (rightmost) Step bank time (leftmost) PID set No. (rightmost) PID set No.
  • Page 289 Event 10 setting (8 digits BCD) Write Program Parameters (Sequence No. 267) Writes the local SP, step time, PID set No., wait code, and events from 1 to 10 settings in the program parame- ter area. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 290 Receive Data Word Allocation (3rd Operand of PMCR) None. Remote Setting Mode (Sequence No. 268) Switches the setting mode to the remote setting mode. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of...
  • Page 291 Receive Data Word Allocation (3rd Operand of PMCR) None. Local Setting Mode (Sequence No. 269) Switches the setting mode to the local setting mode. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 292 • • 32nd unit 00 to 31 (max.) Unit No. (2 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) None. Run Command (Sequence No. 271) Starts control. Send Data Word Allocation (2nd Operand of PMCR) First word of...
  • Page 293 ES100@ Digital Controller Protocol Appendix H Reset (Stop) (Sequence No. 272) Stops control. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words send data Number of units (Undefined) 1st unit Unit No. (Undefined) Unit No.
  • Page 294 ES100@ Digital Controller Protocol Appendix H Manual Mode (Sequence No. 274) Switches the control mode to the manual mode. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words send data Number of units...
  • Page 295 Unit No. (2 digits BCD) 32nd unit 0000 to 0008 (max.) PID set No. (4 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) None. Cancel A.T. (Sequence No. 276) Cancels A.T. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 296 ES100@ Digital Controller Protocol Appendix H Change Pattern No. (Sequence No. 277) Changes the pattern number. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words send data Number of units (Undefined) Unit No.
  • Page 297 Unit No. (2 digits BCD) 32nd unit 0000 to 0007 (max.) Bank No. (4 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) None. Read Controller Status (Sequence No. 279) Reads the Controller status. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 298 02: Setting level 2 (without technical mode) 03: Setting level 2 (with technical mode) General-purpose Command (Sequence No. 280) Sends the specified data and stores the received data in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 299 • +126 Receive data (max.) (ASCII 1 characters) 1. At transmission, a header code “@” is attached before the data and the FCS and a terminator “*”CR are attached following the send data. 0006 First word of send data 0007 "AB"...
  • Page 300: K3T@ Intelligent Signal Processor Protocol

    Appendix I K3T@ Intelligent Signal Processor Protocol The K3T@ Intelligent Signal Processor Protocol is used to make various settings or control remotely the Intelli- gent Signal Processor connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Protocol Configuration...
  • Page 301 2. Special specifications are required to use communications + comparison output for the K3TR and K3TC. The operands HH, H, L, and LL are for the K3TR, and the operands O5, O4, O3, O2, and O1 are for the K3TC.
  • Page 302 9-pin female Terminal block MAX232C or Signal equivalent Signal Termi- Name nal. Name Shielded cable Note 1. The connection configuration is a one-to-one configuration and the maximum cable length is 15 m. 2. Use shielded twisted-pair cable (AWG28i or greater).
  • Page 303 K3T@ Intelligent Signal Processor Protocol Appendix I RS422A/485 Connections CQM1H Serial Communica- K3T@ tions Board RS-422A/485 port K3T@ Up to 32 units can be connected K3T@ • RS-422A Signal name Abbreviation Signal direction Pin No. Send data A Output Send data B...
  • Page 304 The terminal block switch is turned ON. Shielded cable Note 1. The connection configuration is a one-to-one or a 1-to-N configuration. For 1-to-N connections, up to 32 units including the Serial Communications Board can be connected using a 2-wire connection. Us- ing a 4-wire connection, up to 32 units can be connected with only the K3T@.
  • Page 305 K3T@ Intelligent Signal Processor Protocol Appendix I Reset (by Unit Number) (Sequence No. 300) This sequence performs the same processing as when an input is received on the reset terminal. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 306 K3T@ Intelligent Signal Processor Protocol Appendix I Write Set Value (by Unit Number) (Sequence No. 302) This sequence writes each set value (HH, H, L, LL). Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 307 303 (Write Set Value HH (Continuous Units)). Write Set Value with Bank (by Unit Number) (Sequence No. 307) This sequence writes set value of a bank which is not in use (K3TR: HH to LL, K3TC:O1 to O5). Send Data Word Allocation (2nd Operand of PMCR)
  • Page 308 None. Write Set Value HH with Bank (Continuous Units) (Sequence No. 308) This sequence writes set value HH of a bank not in use for continuous units. Send Data Word Allocation (2nd Operand of PMCR) First word of Number of send data words...
  • Page 309 Write Set Value H with Bank (Continuous Units) (Sequence No. 309) This sequence writes set value H of a bank not in use for continuous units. The word allocation is identical to that of sequence No. 308 (Write Set Value HH with Bank (Continuous Units)).
  • Page 310 Write Set Value O2 with Bank (Continuous Units) (Sequence No. 315) This sequence writes set value O2 of a bank not in use for continuous units. The word allocation is identical to that of sequence No. 308 (Write Set Value HH with Bank (Continuous Units)).
  • Page 311 This sequence is similar to sequence No. 317 (Read Set Value (by Unit Number)). Read Set Value H (Continuous Units) (Sequence No. 319) This sequence reads set value H for continuous units. The word allocation is identical to that of sequence No. 318 (Read Set Value HH (Continuous Units)).
  • Page 312 Appendix I Read Set Value with Bank (by Unit Number) (Sequence No. 322) Reads the set value of a bank which is not in use (K3TR: HH to LL, K3TC:01 to 05) and stores the results in the specified words.
  • Page 313 Read Set Value H with Bank (Continuous Units) (Sequence No. 324) This sequence reads set value H of a bank not in use for continuous units. The word allocation is identical to that of sequence No. 323 (Read Set Value HH with Bank (Continuous Units)).
  • Page 314 Read Set Value O3 with Bank (Continuous Units) (Sequence No. 329) This sequence reads set value O3 of a bank not in use for continuous units. The word allocation is identical to that of sequence No. 323 (Read Set Value HH with Bank (Continuous Units)).
  • Page 315 Number of send data words 0002 (4 digits BCD) Number of units (2 digits BCD) 01 to 32 Receive Data Word Allocation (3rd Operand of PMCR) The data allocation is similar to sequence No. 332 (Read Holding Data (by Unit Number)).
  • Page 316 Appendix I Read Holding Data BH (Continuous Units) (Sequence No. 334) This sequence reads bottom holding data for continuous units. The word allocation is identical to that of sequence No. 333 (Read Holding Data PH (Continuous Units)). Read Display Value (PV) (by Unit Number) (Sequence No. 335) Reads the display value (PV) and stores the results in the specified words.
  • Page 317 Others: 0 d1 bit: If underflow: 1 Others: 0 d2 bit: Not used d3 bit: During forced zero operation: 1 Others: 0 (K3TH, K3TR, K3TC: 0) d4 bit: In test mode: 1 Others: 0 d5 bit: While holding input: 1...
  • Page 318 (2 digits BCD) Receive Data Word Allocation (3rd Operand of PMCR) This sequence is similar to sequence No. 335 (Read Display Value (PV) (Continuous Units)). Model Data Read (by Unit Number) (Sequence No. 337) Reads model data and stores the results in the specified words.
  • Page 319 01 to 25 (2 digits BCD) Note The number of Units can be up to 25 maximum. Receive Data Word Allocation (3rd Operand of PMCR) The work allocation is similar to sequence No. 337 (Model Data Read (by Unit Number)).
  • Page 320 General-purpose Command (Sequence No. 339) Sends the specified data and writes the receive data to the receive data words. The characters such as “@”, FCS, terminators need not be set in the send and receive data words. These characters will be automatically added for transmission and automatically removed before saving data.
  • Page 322: V500/V520 Bar Code Reader Protocol

    Appendix J V500/V520 Bar Code Reader Protocol The V500/V520 Bar Code Reader Protocol is used to make various settings or control remotely the Bar Code Reader connected the Serial Communications Board via RS-232C cable.
  • Page 323 V500/V520 Bar Code Reader Protocol Appendix J Protocol Configuration The configuration of the V500/V520 Bar Code Reader Protocol is shown below. Sequence Communications Function Ladder interface sequence name Send word Receive word allocation allocation BCR read start Instructs the Reader to start a BCR read.
  • Page 324 V500/V520 Bar Code Reader Protocol Appendix J Connections The connections for using the V500/V520 Bar Code Reader Protocol are shown below. V500 Connections 100 VAC V520-R12@ CQM1H Reader V500-C11 Serial Communica- ID Controller tions Board RS-232C port V509-W040 Reader Cable...
  • Page 325 V500/V520 Bar Code Reader Protocol Appendix J System Setting Shown below are the system settings of the V500-C11 and V520-R121 when this protocol is used. Note The portions enclosed by in boxes are used for this protocol. V500-C11 • BCR Functions Read trigger "READ SIGNAL INPUT", "ONLINE READ COMMAND"...
  • Page 326 Complete Data Read (Sequence No. 353) This sequence instructs the Bar Code Reader to start reading, receives the data read by the Bar Code Reader, stores the data in the receive data storage words, and then instructs the Reader to stop reading.
  • Page 327 42 (‘B’): ON for no-read 43 (‘C’): OFF Horizontal control mode 41 (‘A’): Normal (continuous rotating) (ASCII 1 character) 42 (‘B’): In-zone startup Note Selecting the values marked with asterisks is required for this protocol. Receive Data Word Allocation (3rd Operand of PMCR) None.
  • Page 328 V500/V520 Bar Code Reader Protocol Appendix J BCR Function Read (V500) (Sequence No. 355) This sequence reads the settings of functions in the Bar Code Reader. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR)
  • Page 329 V500/V520 Bar Code Reader Protocol Appendix J Log Data Output Request (V500) (Sequence No. 356) This sequence requests output of the log data sent to host. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of...
  • Page 330 Receive Data Word Allocation (3rd Operand of PMCR) None. BCR Connection Confirmation (V500) (Sequence No. 358) This sequence confirms whether the Bar Code Reader is connected correctly or not. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR)
  • Page 331 This sequence performs the following operations repeatedly: Instructs the Bar Code Reader to start reading and receives the data read by the Bar Code Reader. The scan notification method is used for the receive data. Send Data Word Allocation (2nd Operand of PMCR) None.
  • Page 332 Receive Data Word Allocation (3rd Operand of PMCR) The receive data word allocation is similar to that of sequence No. 352 (Data Read). Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution state until cancelled.
  • Page 333 This general-purpose command is used to send data with a specified data length, and receive back ACK in addition to other receive data. The frame format of the receive data, however, has to contain STX and ETX. STX and ETX are automatically attached to the send data.
  • Page 334: 3Z4L Laser Micrometer Protocol

    Appendix K 3Z4L Laser Micrometer Protocol The 3Z4L Laser Micrometer Protocol is used to make various settings or control remotely the Laser Micrometer connected to the Serial Communications Board via RS-232C cable. Protocol Configuration The configuration of the 3Z4L Laser Micrometer Protocol is shown below.
  • Page 335 Requests the settings of work automatic request (3000-series) detection function. 3Z4L initialize (3000-series) Clears the 3Z4L, sets the mm unit, sets the memory unit, does not processes statis- tics, and clears all statistic memory. Measurement condition set Sets measurement conditions.
  • Page 336 *1Depends on the measurement contents. Note Ladder Interface Settings YES: User settings are required for the 2nd and 3rd operands of PMCR. Send word allocation: Set a dummy word address for the 3rd operand (D). Receive word allocation: Set the constant 0000 for the 2rd operand (S).
  • Page 337 3Z4L Laser Micrometer Protocol Appendix K DIP Switch Settings Shown below are the settings of 3Z4L-3000, 3Z4L-4000-series DIP switches required to use the system proto- col sequences. 3Z4L-3000 Series • DIP Switch 1 Setting Status Baud rate ON/OFF ON/OFF Handshaking procedure...
  • Page 338 3Z4L-4000 Series The delimiter control codes must be set on DIP switch SW1 for the 3Z4L-4000 Series. Turn off pins 4 and 5, set the delimiter codes to CR+LF, and set the delimiter code control setting in the sequence to CR+LF. See the set- ting for CR+LF in the following diagram.
  • Page 339 The delimiter control code does not need to be set on the DIP switch for the 3Z4L-3000 Series. Set the delim- iter control codes in the sequence to CR+LF for the send code and to CR or CR+LF for the receive code. See the settings in the following diagram.
  • Page 340 Receive Data Word Allocation (3rd Operand of PMCR) None. Note This sequence can be used for the 3Z4L-4000 Series only when pin 8 on DIP switch SW2 is turned ON. E Unit Set (Sequence No. 403) This sequence sets the display unit to E.
  • Page 341 Note 1. For this sequence, both the high and low calibration gauges must be set. 2. The limit value, reference value, and offset value can be set to 3 digits for the integer portion and to 4 digits for the decimal portion.
  • Page 342 Note Retry processing is not performed for this sequence. Measurement Condition Set (3000-series) (Sequence No. 407) This sequence sets measurement conditions. Conditions to be set can be selected by setting Yes/No flags. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 343 Number of send data words 0054 (fixed) (4 digits BCD) Unused Undefined +2 to +4 Segment number Combination of 31(‘1’) to 36(‘6’), 20(‘ ’) (ASCII 6 characters) Measurement interval num- 1 to 4 ber (1 digit BCD) Lower limit value (decimal 0000 to 9999 Example 123.4567...
  • Page 344 Multistep selection limit Reference value, analog output scale number Data output conditions, scheduled print timer 3. The limit value, reference value, and offset value can be set to 3 digits for the integer portion and to 4 digits for the decimal portion.
  • Page 345 Send Data Word Allocation (2nd Operand of PMCR) Send data word allocation is similar to that of sequence No. 407 (Measurement Condition Set). However, only the setting Yes/No flags at +46 to +53 from the send data leading word can be used.
  • Page 346 3Z4L Laser Micrometer Protocol Appendix K Receive Data Word Allocation (3rd Operand of PMCR) Number of receive data words First word of send data (Undefined) Program number (P) Segment number (SG) (Undefined) Measurement interval number (M) Decimal portion Integer portion...
  • Page 347 Statistical processing calcu- 535420 (“ST”), 4E5354 (“NST”) lation classification (ASCII 3 characters) Note This sequence cannot be used to request the lower limit (EL), error upper limit (EH), error exclusion counter (CNT) of the error data exclusion function (centerless grinder function).
  • Page 348 Appendix K Single Run Measurement Start (3000-series) (Sequence No. 410) When the sample measurement condition is from 1 to 999, this sequence performs a single run measurement and requests the measurement results Send Data Word Allocation (2nd Operand of PMCR) None.
  • Page 349 3Z4L Laser Micrometer Protocol Appendix K Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution state until cancelled. 2. Even if execution is cancelled, the Laser Micrometer still keeps measuring. Execute sequence No.
  • Page 350 Appendix K Statistic Processing Non-execution (3000-series) (Sequence No. 417) This sequence turns the statistic processing LED off and does not carry out the statistic processing. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None.
  • Page 351 Same as average value Note The number of digits of the Decimal portion is fixed to 4 digits. If a deviation calculation results in a value with 5 decimal places, it will be stored with one digit overflowing into the integer portion.
  • Page 352 Receive Data Word Allocation (3rd Operand of PMCR) None. Note 1. Memory switches cannot be set when DIP switch SW3, pin 5 of the Laser Micrometer is not turned 2. The setting (y, z) of RS-232C takes effect when the power supply is turned back on.
  • Page 353 3Z4L Laser Micrometer Protocol Appendix K Note This sequence cannot be used when DIP switch SW3, pin 5 of the Laser Micrometer is not turned ON. AVG Move Interval Set (3000-series, High-speed Type) (Sequence No. 424) This sequence uses the average move as the averaging method and sets the measurement interval number.
  • Page 354 3Z4L Laser Micrometer Protocol Appendix K Note This sequence cannot be used when DIP switch SW3, pin 5 of the Laser Micrometer is not turned ON. Automatic Detection Set (3000-series, High-speed Type) (Sequence No. 427) This sequence sets the work automatic detection function.
  • Page 355 +6 to +8 Detection upper limit Same as detection lower limit Note This sequence cannot be used when DIP switch SW3, pin 5 of the Laser Micrometer is not turned ON. 3Z4L Initialize (3000-series) (Sequence No. 430) This sequence clears the 3Z4L, sets the mm unit, sets memory switches, does not process statistics, and clears the statistic memory.
  • Page 356 3Z4L Laser Micrometer Protocol Appendix K Measurement Condition Set (4000-series) (Sequence No. 431) This sequence sets measurement conditions. Conditions to be set can be selected by setting Yes/No flags. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 357 Lower limit, upper limit Reference value, data output timer Data output conditions, scheduled print timer 2. The limit value and reference value can be set to 3 digits for the integer portion and to 4 digits for the decimal portion.
  • Page 358 Data output conditions, Scheduled print timer The scale (SCL) and data output timer (PRT) cannot be cleared. 3. This sequence can be used for the 3Z4L-4000 Series only when pin 8 on DIP switch SW2 is turned Measurement Condition List Request (4000-series) (Sequence No.
  • Page 359 (2 digits BCD) Note This sequence can be used for the 3Z4L-4000 Series only when pin 8 on DIP switch SW2 is turned ON. Single Run Measurement Start (4000-series) (Sequence No. 434) When the sample measurement condition is from 1 to 999, this sequence performs a single run measurement and requests the measurement results.
  • Page 360 Receive Data Word Allocation (3rd Operand of PMCR) The receive data word allocation is similar to that of sequence No. 434 (Single Run Measurement Start). Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution state until cancelled.
  • Page 361 For continuous measurement:None. For Deflection Measurement The receive data word allocation is similar to that of sequence No. 434 (Single Run Measurement Start). Data Request (4000-series) (Sequence No. 439) This sequence requests display data in the idle measurement status or latch data generated by the measure- ment command.
  • Page 362 Appendix K General-purpose Command 1 (4000-series) (Sequence No. 444) This general-purpose command is used to send data with a specified data length, and receive back only OK. The terminator (CR) is automatically attached to the send data. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 363 Appendix K General-purpose Command 2 (4000-series) (Sequence No. 445) This general-purpose command is used to send data with a specified data length, and receive back receive data other than OK. The terminator (CR) is automatically attached to the send data.
  • Page 364: Visual Inspection System Protocol

    Appendix L Visual Inspection System Protocol The Visual Inspection System Protocol is used to make various settings or control remotely the Visual Recog- nition Device connected to the Serial Communications Board via RS-232C cable. Protocol Configuration The configuration of the Visual Inspection System Protocol is shown below.
  • Page 365 Note Ladder Interface Settings YES: User settings are required for the 2nd and 3rd operands of PMCR. Send word allocation: Set a dummy word address for the 3rd operand (D). Receive word allocation: Set the constant 0000 for the 2rd operand (S).
  • Page 366 Visual Inspection System Protocol Appendix L Connections The connections for using the Visual Inspection System Protocol are shown below. RS-232C Connections CQM1H F200/300/350 Serial Communica- tions Board RS-232C port RS-232C Unit Pin No. Signal name Abbreviation Protective ground or earth...
  • Page 367 For calibration OFF setting: –2147483.648 to 2147483.647 For calibration ON setting: –9999999.999 to 9999999.999 3. If a measurement value exceeds the range of measurement values when calibration is turned off, un- defined data is stored in the specified words. Continuous Measurement Execution (Scan) (F200) (Sequence No.
  • Page 368 Note 1. Only one output No. can be designated. 2. Turn OFF CIO 28911 (if port A is used) or CIO 28915 (if port B is used) to terminate this sequence. 3. The ranges of measurement values are as follows: For calibration OFF setting : –2147483.648 to 2147483.647...
  • Page 369 For calibration OFF setting: –2147483.648 to 2147483.647 For calibration ON setting: –9999999.999 to 9999999.999 4. If a measurement value exceeds the range of measurement values when calibration is turned off, un- defined data is stored in the specified words. Reference Object Registration (Group) (F200) (Sequence No.
  • Page 370 3. Enter upper limit and lower limit values within the range –2147483.648 to 2147483.648. Arbitrary Measurement Value Acquisition (F200) (Sequence No. 457) This sequence stores measurement values of arbitrary measurement items regardless of output format in the specified words. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 371 3. This command can acquire only the measurement value of the window No. set by output format. 4. For data 1 and 2 , the receive data is compared with the send data. If the receive data is not the same as the send data, CIO 28909 (if port A is used) or CIO 28913 (if port B is used) will turn ON.
  • Page 372 Note 1. Exponential expressions are used for numbers larger than 9999999.999 and smaller than –999999.9. 2. The number of measurement items is up to 5, but only one window number can be read. 3. The ranges of measurement values are as follows: For calibration OFF setting: –2147483.648 to 2147483.648...
  • Page 373 Note 1. Exponential expressions are used for numbers larger than 9999999.999 and smaller than –999999.9. 2. The number of measurement items are up to 5, but only one window number can be read. 3. The range of measurement values are as follows: For calibration OFF setting: –2147483.648 to 2147483.648...
  • Page 374 (Sequence No. 462) This sequence carries out continuously setting the F300 and stores measurement results in the specified words. The interrupt notification method is used for the receive data. The interrupt No. is 102. Send Data Word Allocation (2nd Operand of PMCR) None.
  • Page 375 Note 1. Exponential expressions are used for numbers larger than 9999999.999 and smaller than –999999.9. 2. The number of measurement items is up to 5, but only one window number can be read. 3. The ranges of measurement values are as follows: For calibration OFF setting: –2147483.648 to 2147483.648...
  • Page 376 Appendix L Reference Object Registration Command 2 Execution (F300) (Sequence No. 464) This sequence performs a measurement for the input image and updates the reference object data of a desig- nated window. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 377 None. Note 1. Set values so that the first camera No.< last camera No. 2. If a designated camera No. is abnormal, CIO 28909 (if port A is used) or CIO 28913 (if port B is used) will turn ON.
  • Page 378 Receive Data Word Allocation (3rd Operand of PMCR) None. Note 1. If a scene No. is abnormal, CIO 28909 (if port A is used) or CIO 28913 (if port B is used) will turn ON. 2. Retry processing is not performed for this sequence.
  • Page 379 Receive Data Word Allocation (3rd Operand of PMCR) None. Binary Level Modification (F200/300) (Sequence No. 482) This sequence modifies the binary levels (upper limit and lower limit values) of a designated output No. (F200) or window number No. (F300). Send Data Word Allocation (2nd Operand of PMCR)
  • Page 380 Receive Data Word Allocation (3rd Operand of PMCR) None. General-purpose Command (Send) (Sequence No. 494) This sequence can set and execute commands that are not otherwise supported. The delimiter (CR+LF) is automatically attached to the send data. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 381 Visual Inspection System Protocol Appendix L General-purpose Command (Send/Receive) (Sequence No. 495) This sequence can set and execute commands that are not otherwise supported. The delimiter (CR+LF) is automatically attached to the send data. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 382: M V600/V620 Id Controller Protocol

    Appendix M V600/V620 ID Controller Protocol The V600/V620 ID Controller Protocol is used to make various settings or control remotely the ID Controller Connected to the Serial Communications Board via RS-232C or RS-422A cable. Protocol Configuration The configuration of the V600/V620 ID Controller Protocol is shown below.
  • Page 383 Carrier is 8. decimal/8) Data check Writes and verify the CRC code for the check blocks designated by the user. Control management Performs I/O or an I/O read. Error information read Reads information from the latest error log.
  • Page 384 Note Ladder Interface Settings YES: User settings are required for the 2nd and 3rd operands of PMCR. Send word allocation: Set a dummy word address for the 3rd operand (D). Receive word allocation: Set the constant 0000 for the 2rd operand (S).
  • Page 385 Note 1. Ground the cable shield at either the ID Controller or the Serial Communications Board to prevent malfunction. 2. Turn ON the pin 6 on DIP switch SW6 to set the host communications procedure to the 1-to-N proce- dure for 1-to-N connections.
  • Page 386 SW7 Setting This setting is only valid if the EEPROM-type (batteryless- type) Data Carrier (DC) is accessed. The setting of SW7 does not work with the SRAM-type (battery-type) DC. SW7 must be set to OFF when the V620 is used.
  • Page 387 No. 3 No. 4 No. 5 No. 6 No. 7 Note 1. Be careful not to set to the same unit number twice. 2. Set them to OFF for the 1-to-1 protocol. Synchronous condition OFF (LL level) ON (HL level)
  • Page 388 V600-CA1A/RS-232C interface, the setting is limited No. 15 to N=1. In this case, the FCS check code may be add- Note 1. Be careful not to set to the same unit number twice. 2. Set them to OFF for the 1-to-1 protocol.
  • Page 389 V600/V620 ID Controller Protocol Appendix M Read (ASCII/1) (Sequence No. 500) This sequence is used when the number of Heads to be read from the Carrier is 1. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words...
  • Page 390 Appendix M Read (ASCII/2) (Sequence No. 501) This sequence is used when the number of Heads to be read from the Carrier is 2. Up to 118 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 391 Appendix M Read (ASCII/4) (Sequence No. 502) This sequence is used when the maximum number of Heads to be read from the Carrier is 4. Up to 48 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 392 Read (ASCII/8) (Sequence No. 503) This sequence is used when the maximum number of Heads to be read from the Carrier is 8. Up to 20 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 393 Number of read bytes stored in ASCII +(10(N–1)+10) N: Number of Heads Note Data from Data Carriers designated for ASCII is stored beginning with the smallest offset from the receive data words. Read (Hexadecimal/1) (Sequence No. 504) This sequence is used when the number of Heads to be read from the Carrier is 1.
  • Page 394 Read (Hexadecimal/2) (Sequence No. 505) This sequence is used when the maximum number of Heads to be read from the Carrier is 2. Up to 60 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 395 Read (Hexadecimal/4) (Sequence No. 506) This sequence is used when the maximum number of Heads to be read from the Carrier is 4. Up to 24 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 396 Read (Hexadecimal/8) (Sequence No. 507) This sequence is used when the maximum number of Heads to be read from the Carrier is 8. Up to 10 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 397 The receive data word allocation is similar to that of Sequence No. 500 (Read (ASCII/1)). Note For auto-read (AR), a response is not returned if the number of Heads is not read by the Carrier, the Abort Bit must be turned OFF to terminate the sequence.
  • Page 398 The receive data word allocation is similar to that of Sequence No. 504 (Read (Hexadecimal/1)). Note For auto-read (AR), a response is not returned if the number of Heads is not read by the Carrier, the Abort Bit must be turned OFF to terminate the sequence.
  • Page 399 3. Retry processing is not performed for this sequence. Polling Auto-read Sub-command (ASCII/4) (Sequence No. 512) This sequence is used when the maximum number of Heads to be read from the Carrier is 4. Up to 48 bytes of data can be read for each Read/Write Head.
  • Page 400 Polling Auto-read Sub-command (Hexadecimal/2) (Sequence No. 515) This sequence is used when the maximum number of Heads to be read from the Carrier is 2. Up to 60 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No.
  • Page 401 Polling Auto-read Sub-command (Hexadecimal/4) (Sequence No. 516) This sequence is used when the maximum number of Heads to be read from the Carrier is 4. Up to 24 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No.
  • Page 402 Note Write data designated for ASCII is sent beginning with the smallest offset from the send data words. Write (ASCII/2) (Sequence No. 519) This sequence is used when the number of Heads to be written to the Carrier is 2. Up to 118 bytes of data can be read for each Read/Write Head.
  • Page 403 Up to 118 bytes (max.) can be set 1)+64) N: Number of Heads Receive Data Word Allocation (3rd Operand of PMCR) None. Note Write data designated for ASCII is sent beginning with the smallest offset from the send data words.
  • Page 404 Appendix M Write (ASCII/4) (Sequence No. 520) This sequence is used when the number of Heads to be written to the Carrier is 4. Up to 48 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 405 Appendix M Write (ASCII/8) (Sequence No. 521) This sequence is used when the number of Heads to be written to the Carrier is 8. Up to 20 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 406 Receive Data Word Allocation (3rd Operand of PMCR) None. Note 1. Data of which Data Carrier designated for hexadecimal is sent beginning with the largest offset from the send data words. 2. Always set an even number of digits for the write data.
  • Page 407 Appendix M Write (Hexadecimal/2) (Sequence No. 523) This sequence is used when the number of Heads to be written to the Carrier is 2. Up to 56 digits of data can be written for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 408 Appendix M Write (Hexadecimal/4) (Sequence No. 524) This sequence is used when the number of Heads to be written to the Carrier is 4. Up to 24 digits of data can be written for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 409 2. Always set an even number of digits for the write data. Write (Hexadecimal/8) (Sequence No. 525) This sequence is used when the number of Heads to be written to the Carrier is 8. Up to 10 digits of data can be written for each Read/Write Head.
  • Page 410 The receive data word allocation is similar to that of Sequence No. 518 (Write(ASCII/1)). Note For auto-write (AW), a response is not returned if the number of Heads is not written by the Carrier, the Abort Bit must be turned OFF to terminate the sequence.
  • Page 411 Appendix M Polling Auto-write Subcommand (ASCII/2) (Sequence No. 529) This sequence is used when the number of Heads to be written to the Carrier is 2. Up to 118 digits of data can be written for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No.
  • Page 412 Polling Auto-write Subcommand (Hexadecimal/2) (Sequence No. 535) This sequence is used when the number of Heads to be written to the Carrier is 2. Up to 56 digits of data can be written for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No.
  • Page 413 Polling Auto-write Subcommand (Hexadecimal/8) (Sequence No. 539) This sequence is used when the number of Heads to be written to the Carrier is 8. Up to 10 digits of data can be written for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No.
  • Page 414 76:alarm for number of write times is over those which is specified. Note If L (management of number of write times) is designated by processing designation, management of number of write times for Data Carrier of EEPROM is performed. Control (Sequence No. 541) This sequence performs I/O operations or I/O reads.
  • Page 415 2. Up to 30 error records can be stored. 3. The most resent error records are stored first. Command Processing Cancel (Sequence No. 543) This sequence cancels command processing except for polling command processing. The command waiting status is entered. Send Data Word Allocation (2nd Operand of PMCR)
  • Page 416 This sequence cancels polling auto-write processing Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No. 544 (Polling Auto-read Command Processing Cancel) Receive Data Word Allocation (3rd Operand of PMCR) The receive data word allocation is similar to that of Sequence No.
  • Page 417 This sequence transmits arbitrary data and stores receive data to the receive data words. The characters “@”, FCS (terminator) are not required in the send data words and receive data words. These characters will be automatically added for transmission and automatically removed before saving data.
  • Page 418: Hayes Modem At Command Protocol

    Appendix N Hayes Modem AT Command Protocol The Hayes Modem AT Command Protocol is used to make various settings or control remotely a Hayes modem connected to the Serial Communications Board via RS-232C cable. Protocol Configuration The configuration of the Hayes Modem AT Command Protocol is shown below.
  • Page 419 25 pin (female) (female) Compatible Modems Although most of the sequences in this protocol can be used regardless of modem, the sequences Initialize Modem (specialized) and Dial sequences can be used only for the following Modems: • MD24FB10V (OMRON Modem) •...
  • Page 420 0018 0032 AT E0 V0 X4 \ V 2 \ N3 %C 0 * C 0 \ X 1 & M 0 S 2 6 = 1 0 Character string length of modem initialization command (bytes) Code length of PMCR when it is used (words)
  • Page 421 0044 AT \ J 1B 8E 0 V 0 S 0 = 1 X 4 \ V 2 \ N 3 & M 0 %C 0 & D 0 & E 0 \ X 1 S 2 6 = 1 0...
  • Page 422 Code length of PMCR when it is used (words) Password Verification A password can be verified by executing sequence No. 552 of this protocol. It is required to set in advance the value of the password in the words specified by the second operand of PMCR.
  • Page 423 Data Send/Receive can be executed using sequence No. 553. The send data sent to another exchange is set in the words specified by the second operand of PMCR. Data received by the PC is stored in the words speci- fied by the third operand of PMCR.
  • Page 424 Shifting to the escape mode can be made using sequence No. 554. No setting is necessary for this sequence. Note The character string to shift the online mode to the escape mode (i.e., the escape code) is ‘+’ for modem settings.
  • Page 426: Index

    Host Link write protocol macros read protocols communications ports sequences See also ports E5ZE Temperature Controller communications sequences connections See also PMCR( ) instructions, protocol macros, standard system protocols read See also sequences write comparison read protocols previous products sequences components...
  • Page 427 ES100 Digital Controller no-protocol communications connections connections protocols NT Links sequences connections Executed Reception Case No. (code) protocol macros external dimensions connections connector cover Serial Communications Boards instructions PMCR( ) RXD( ) F200/F300/F350 Visual Inspection Unit TXD( )
  • Page 428 Host Link K3T_ Intelligent Signal Processor no-protocol communications sequences NT Links Protocol Support Software protocol macros list PC-initiated communications See also standard system protocols PMCR( ) instruction structure operand settings V500/V520 Bar Code Reader specifications sequences ports V600/V620 ID Controller...
  • Page 429 General-purpose Write (Sequence No. 216) Automatic Detection Set (3000-series) (Sequence No. 427) Read Heater Current (Sequence No. 214) AVG Move (H) Times Set (3000-series) (Sequence No. 425) Read Initial Status (Sequence No. 215) Read Input Shift Value (Sequence No. 210) AVG Move (L) Times Set (3000-series) (Sequence No.
  • Page 430 Write Manual Reset Value (Sequence No. 055) Write Ramp Value (Sequence No. 164) Write MV at Stop Time and at PV Error (Sequence No. 060) Write Set Point (Setting Unit 0.1) (Sequence No. 151) Write Set Point (Setting Unit 1) (Sequence No. 150) Write MV Limits (Sequence No.
  • Page 431 Read Set Value O5 with Bank (Continuous Units) (Sequence Read Program Parameters (Sequence No. 266) No. 327) Read PV Data (Sequence No. 254) Read Set Value with Bank (by Unit Number) (Sequence No. Read SP Data (Sequence No. 255) 322) Read Time Signal (Sequence No. 251) Reset (by Unit Number) (Sequence No.
  • Page 432 Reset (F200/300) (Sequence No. 483) 533) Scene Switching (Arbitrary) (Sequence No. 492) Polling Auto-write Subcommand (Hexadecimal/2) (Se- Scene Switching (Decrease by 1) (Sequence No. 490) quence No. 535) Scene Switching (Increase by 1) (Sequence No. 491) Polling Auto-write Subcommand (Hexadecimal/4) (Se- Scene Switching and Positioning (F350) (Sequence No.
  • Page 433 Index Temperature Controllers terminating resistance switch trace function protocol macros troubleshooting 1:N NT Link errors Host Link errors protocol macro errors TXD( ) instruction Host Link V500/V520 Bar Code Reader connections protocols sequences V600/V620 ID Controller connections protocols sequences Visual Inspection System...
  • Page 434: Revision History

    Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W365-E1-02 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 435 Regional Headquarters OMRON EUROPE B.V. Wegalaan 67-69, NL-2132 JD Hoofddorp The Netherlands Tel: (31)2356-81-300/Fax: (31)2356-81-388 OMRON ELECTRONICS LLC 1 East Commerce Drive, Schaumburg, IL 60173 U.S.A. Tel: (1)847-843-7900/Fax: (1)847-843-8568 OMRON ASIA PACIFIC PTE. LTD. 83 Clemenceau Avenue, #11-01, UE Square,...
  • Page 436 Authorized Distributor: Cat. No. W365-E1-02 Note: Specifications subject to change without notice. Printed in Japan...

Table of Contents