Cat.No.
SYSMAC CQM1H Series CQM1H-SCB41 Serial Communications Board Operation Manual Produced September 1999
Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property. DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
About this Manual: This manual describes the installation and operation of the SYSMAC CQM1H-series CQM1H-SCB41 Serial Communications Board and includes the sections described below. 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 understand the information provided before attempting to install and operate a Serial Communications Board.
TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLE OF CONTENTS SECTION 7 Communications for 1:1 Data Links . . . . . . . . . . . . . . . . 7-1 7-2 7-3 7-4 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PRECAUTIONS This section provides general precautions for using the Serial Communications Boards. The information contained in this section is important for the safe and reliable application of the Serial Communications Boards and the PC in general. You must read this section and understand the information contained before attempting to set up or operate a PC system containing a Serial Communications Board. 1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Conformance to EC Directives 1 3 Intended Audience This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing FA systems. • Personnel in charge of designing FA systems. • Personnel in charge of managing FA systems and facilities. 2 General Precautions The user must operate the product according to the performance specifications described in the operation manuals.
Conformance to EC Directives 4 5 Operating Environment Precautions ! Caution Do not operate the control system in the following locations: • Locations subject to direct sunlight. • Locations subject to temperatures or humidity outside the range specified in the specifications. • Locations subject to condensation as the result of severe changes in temperature. • Locations subject to corrosive or flammable gases. • Locations subject to dust (especially iron dust) or salts.
5 Conformance to EC Directives • Always discharge static electricity by touching a grounded metal part before mounting the Serial Communications Board. • Always discharge static electricity by touching a grounded metal part before connecting cable connectors to RS-232C or RS-422A/485 port of the Serial Communications Board. • Be sure that the connectors, terminal blocks, expansion cables, and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
6 Conformance to EC Directives 6 Conformance to EC Directives 6-1 Applicable Directives • EMC Directives • Low Voltage Directive 6-1-1 Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or machines. The actual products have been checked for conformity to EMC standards (see the following note).
6 Conformance to EC Directives Recommended Ferrite Cores The following ferrite core (data line noise filter) is recommended: 0443-164151 by Fair-Rite Products Corp. 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 following illustration. Mount the cores as closely to the end of the communications cable as possible, as shown in the following illustration.
SECTION 1 Introduction This section introduces the hardware and software functions of the Serial Communications Board, including the serial communications modes, system configurations, and specifications. 1-1 1-2 1-3 1-4 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1-1 Model Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section Basic Operating Procedure 1-1 1-1 Overview 1-1-1 Model Number Name Model Serial Communications Board Specifications CQM1H-SCB41 One RS-232 port One RS-422A/485 port 1-1-2 Serial Communications Boards The Serial Communications Board is an Inner Board for the CQM1H-series PCs. One Board can be installed in Inner Board slot 1 of a CQM1H-series CPU Unit. The Board cannot be installed in slot 2.
Section Protocol Overview 1-1 1-1-4 System Configuration The following serial communications modes are supported by the Serial Communications Board: Host Link (SYSMAC WAY), protocol macro, no-protocol, 1:1 Data Links, 1:N-mode NT Link, and 1:1-mode NT Link modes. The devices shown in the following diagram can be connected. Note The 1:1-mode NT Link and 1:N-mode NT Link communications modes use different protocols that are not compatible with each other.
Section Basic Operating Procedure 1-2 1-1-5 Mounting Location Slot 2: Not mountable Slot 1: Mount here 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 1-2 Protocol Overview The following six serial communications modes can be used as required for each serial communications port on the Serial Communications Board.
Section Protocol Overview 1-2 1-2-1 Host Link Mode In Host Link Mode, C-mode Host Link commands can be sent from a computer, 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. Note 1. Programming Devices can also be connected in Host Link mode. 2. A 4-wire connection must be used when using an RS-422A/485 port.
Section Basic Operating Procedure 1-2 • Pin 8 on the DIP switch on the front of the CQM1H-series CPU Unit must be turned ON to use the CX-Protocol. While pin 8 is ON, you will not be able to use any of the 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. • Refer to 5-2 Restrictions in Using the CX-Protocol for further details.
Section Protocol Overview 1-2 Note A 4-wire connection must be used when using an RS-422A/485 port. Serial Communications Board CQM1H or other C-series PC CQM1H RS-232C Master PC LR 00 to Master area (sent) LR 31 LR 32 to Slave area (received) Slave PC LR 00 to Master area (received) LR 31 LR 32 to Slave area (sent) LR 63 LR 63 1-2-5 NT Links –– 1:N Mode A PC can be connected to one or more Programmable Terminals (PTs) using an RS-232C or RS-422A/485 port.
Section Basic Operating Procedure 1-3 1-4 Specifications 1-3-1 Serial Communications Board Device name Serial Communications Board Model number CQM1H-SCB41 Classification CQM1H-series Inner Board Supporting CPU Units CQM1H-CPU51/61 Number of mountable Boards/PC and mounting location Serial communications Port 1 ports Port 2 Protocols Port 1 Port 2 Software interface with CPU Unit One Board per PC maximum, must be in Inner Board slot 1 PC Setup settings DM 6550 to DM 6559 (in read-only DM are
SECTION 2 Board Components and Installation This section describes the components of the Serial Communications Board, how to connect it in the CPU Unit, and how to connect it to external devices. 2-1 2-2 2-3 Component Names and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-2 RS-232C Port . . . . . . . . . . . . . . . . . .
Section Installation 2-1 2-1 Component Names and Functions The components of the Serial Communications Board are described in this section. Serial Communications Board (Inner Board slot 1) Port 1: RS-232C Terminating resistance switch Applicable Connectors Socket: XM2SA-0901 (OMRON) Hood: XM2SA-0911-E (OMRON) (Two of each are included with the Board) 2-wire or 4-wire switch Port 2: RS-422A/485 2-1-1 Indicators Board Indicators There are three LED indicators on the Board, as described below.
Section Wiring 2-1 A Serial Communications Board is mounted as an Inner Board in the CPU Unit and thus affects the CPU Unit ERR/ALM indicator. CPU Unit Indicators Indicator Color ERR/ALM Red Status Meaning Lit Fatal error Flashing Non-fatal error Not lit Normal operation If a fatal error occurs, the CPU Unit will stop operation in either RUN or MONITOR mode. If a non-fatal error occurs, the CPU Unit will continue operation in either RUN or MONITOR mode. The CPU Unit is operating normally.
Section Installation ! Caution 2-1 Do not connect the 5-V power supply of pin 6 to any external device other than an NT-AL001-E Link Adapter. Otherwise, the external device and the Serial Communications Board may be damaged. The following cables are provided for connection to NT-AL001-E Link Adapters. We recommend that these cables be used. NT-AL001-E connecting cables: XW2Z-070T-1 (0.
Section Wiring 2-1 The internal circuits for port 2 are shown below. Internal Circuits Pin 8: RDB (+) Receiver Terminating resistance: 200 Ω Terminating resistance switch Pin 6: RDA (–) 2-wire/4-wire switch Pin 2: SDB (+) Driver Pin 1: SDA (–) ! Caution Confirm polarities before connecting RS-422A/485 cables. Some devices require that SDA/B and RDA/B or signal polarities be reversed.
Section Installation 2-2 2-2 Installation 2-2-1 Mounting the Board 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 Communications Board can be installed in each CPU Unit. Note 1, 2, 3... 1. The Serial Communications Board cannot be mounted in Inner Board slot 2. 2. Always turn OFF the power before installing or removing the Serial Communications Board.
Section Wiring 2-2 2-2-2 External Dimensions Unit: mm CS1W-SCB41 Mounted in the CPU Unit 110 25 107 2-2-3 Mounting Height and Connector Cover Dimensions When mounting the Serial Communications Board, make sure to provide space for the mounting height and connector cover dimensions shown below.
Section Installation 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 before connecting or disconnecting Board connectors or wiring. • Separate the port connector lines from the high-tension or power lines to reduce external noise. • Leave the port cover attached when not using a communications port.
Section Wiring 2-3 2-3 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.
Section Installation 2-3 RS-422A/485 Cable Model Manufacturer CO-HC-ESV-3P×7/0.2 Hirakawa Hewtech Corp. Refer to pages 11 and 12 for the connector pin layouts. Refer to 2-3-5 Recommended RS-232C Wiring Examples and 2-3-6 Recommended RS-422A/485 Wiring Examples for wiring examples, and to 2-3-7 Wiring Connectors for wiring methods. Standard cables are available for connection to personal computers and PTs.
Section Wiring 2-3 2-3-4 Port Applicability and Restrictions for 2-Wire/4-Wire Connections The following table shows the port connections that can be used for each serial communications mode.
Section Installation Pin Function 2-3 1 Not used. Always set this pin to ON. Factory setting ON 2 Built-in terminating resistance setting ON 3 ON: Connects terminating resistance. OFF: Disconnects terminating resistance. 2/4-wire setting OFF 4 2-wire: Set both pins to ON. 4-wire: Set both pins to OFF. OFF 5 Transmission mode (See note) ON Constant transmission: Set both pins to OFF.
Section Wiring 2-3 Note The Hood (FG) is internally connected to the ground terminal (GR) on the Power Supply Unit. Therefore, FG is grounded by grounding the ground terminal (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.
Section Installation 2-3 4-Wire Connections Serial Communications Board Remote device Signal Signal Pin Hood Shield Using a 3G2A9-AL001 Link Adapter Serial Communications Board Pin Signal 3G2A9-AL001 Pin Signal Remote device Signal Signal Pin RS-422 interface Hood Signal Pin Remote device Signal Using an NT-AL001-E RS-232C/RS-422 Link Adapter Serial Communications Board NT-AL001-E Pin Signal Pin Signal Signal Pin RD SD CTS RTS 5V DSR DTR SG SD RD RTS CTS 5V DSR DTR SG Hood FG Remote d
Section Wiring 2-3 Note The Hood (FG) is internally connected to the ground terminal (GR) on the Power Supply Unit. Therefore, FG is grounded by grounding the ground terminal (GR) on the Power Supply Unit. Serial Communications Board Power Supply Unit Ground to 100 Ω or less Hood and GR are internally connected. 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.
Section Installation 2-3 5. Fold back the braided shield. 6. Wrap aluminum foil tape around the folded shield. Aluminum foil tape Shield Not Connected to Hood (FG) 1, 2, 3... 1. Cut the cable to the required length. 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 all the braided shield using scissors. 4.
Section Wiring 2-3 2-3-8 Soldering 1, 2, 3... 1. Thread a heat-shrinking tube through each conductor. 2. Temporarily solder each conductor to the corresponding connector terminals. 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 2-3-9 Assembling Connector Hood Assemble the connector Hood as shown below.
Section Installation 2-3-10 Connecting to the Board Tighten the screws firmly with your fingers.
SECTION 3 Default Settings and Related Bits/Flags This section describes the settings, control bits, flags, and status information available in the CPU Unit for use with the Serial Communications Board. 3-1 3-2 3-3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PC Setup Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section PC Setup Settings 3-1 3-2 Overview The following settings, control bits, flags, and information are available in the CPU Unit memory for use with the Serial Communications Board.
Section PC Setup Settings Word(s) DM 6550 (port 2) Bit(s) Port settings 0: Standard (1 start bit, 7-bit data, even parity, 2 stop bits, 9,600 bps) 1: Settings in DM 6551 (DM 6556 for port 1) 04 to 07 CTS control settings 0: Disable; 1: Set Host Link, noprotocol, 1:1 Data Links 08 to 11 Link words for 1:1 Data Link (when bits 12 to 15 are set to 3) 0: LR 00 to LR 63; 1: LR 00 to LR 31; 2: LR 00 to LR 15 1:1 Data Link master (link words) or or 12 to 15 DM 6556 (port 1) DM 6552 (port 2) DM 6557 (
Section PC Setup Settings 3-3 3-3 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. Refer to 5-6 Control Bits, Flags, and Status Information for details.
Section PC Setup Settings Word Bits Function IR 202 00 to 07 Port 1 Communicating with PT Flags (Bits 00 to 07 are flags for PTs 0 to 7.
Section PC Setup Settings Word Bit(s) SR 254 15 AR 04 00 to 07 32 3-3 Function Inner Board Error Flag 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.
SECTION 4 Host Link Communications This section describes the procedure and other information required to use Host Link communications. 4-1 4-2 4-3 4-4 4-5 Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1-1 Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1-2 Host Link Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section Connections 4-1 4-1 Host Link Communications A Host Link System can be used to send C-mode Host Link commands from a host (e.g., personal computer or PT) to a PC to read/write I/O memory, control operating modes, etc. The PC can also use the TXD(––) instruction to send specified I/O memory data to the host for slave-initiated communications. Refer to the CQM1H-series PC Programming Manual for details on C-mode commands.
Section Application Procedure 4-1 4-1-1 Host Link Communications Host Link communications are supported by all CQM1H-series CPU Units. A Serial Communications Board can be used to connect a single PC to more than one host computer for Host Link communications, including slave-initiated communications. Host Link communications provide the following features. Connect One Computer to Multiple PCs An RS-422A/485 port can be used to connect one host computer to up to 32 CQM1H-series PCs.
Section Connections 4-2 4-1-2 Host Link Specifications Item Description Communications mode Half-duplex (Full-duplex for slave-initiated communications) Synchronization Start-stop (asynchronous mode) Baud rate (see note 1) RS-232C port and RS-422A/485 ports: 1,200/2,400/4,800/9,600/19,200 bps Communications distance (see note 1) Connection configuration Number of connected Units Frame structure Error check codes Command flow and support Default setting: 9,600 bps RS-232C port: 15 m max.
Section Application Procedure 4-2 shown below. Perform other processing as required, such as setting switches on the external device(s). Serial Communications Board RS-232C RS-232C RS-422A /485 3G2A9-AL001 RS-422A /485 NT-AL001-E Terminating resistance ON, 5-V power supply required Terminating resistance ON The CPU Unit can be connected to a Programming Console, the CX-Programmer, or the CX-Protocol as required. 4. Turn ON power. 5. Set the PC Setup settings for the Serial Communications Board.
Section Connections 4-2 6. Program the host and the CPU Unit and execute the programs. Host-initiated Communications: Host Link Commands A program must be prepared in the host to send Host Link commands to the PC and receive responses. Program to send commands and receive responses Host Response Serial Communications Board Command PC-initiated Communications: TXD(––) Instruction TXD(––) must be included in the ladder program to send data from the PC to the host.
Section Application Procedure 4-3 4-3 Connections 4-3-1 Types of Connection Port connections for Host Link communications are shown in the following table. Up to 32 nodes can be connected for 1:N connections.
Section Connections 4-3 Host Computer Connections 1:1 Connections Using RS-232C Ports IBM PC/AT or Compatible Computers Serial Communications Board Computer Signal Pin RS-232C interface Pin Signal CD RD SD DTR SG DSR RTS CTS CI FG SD RD RTS CTS 5V DSR DTR SG RS-232C interface D-sub, 9-pin connector (female) D-sub, 9-pin connector (male) Using NT-AL001-E Converting Link Adapters Computer Signal RS-232C Interface Shield RS-232C NT-AL001-E Link Adapter Pin Signal FG SD RD RTS CTS Signal Pin R
Section Application Procedure 4-3 1:N Connections Using RS-232C Ports Computer Signal FG SD RS-232C RD Interface RTS CTS DSR DTR SG 5-V (+) power (–) NT-AL001-E Link Adapter Shield Pin Signal Signal Pin RS-422A Pin Signal NC SD RD RTS CTS 5V DSR DTR SG D-sub, 9-pin Terminal block connector (male) DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: OFF Serial Communications Board NT-AL001-E Link Adapter Signal Pin RS-232C (See note) Pin Sig
Section Connections 1:1 Connections Using RS-422A/485 Ports NT-AL001-E Link Adapter Computer Serial Communications Board Pin Signal Signal FG SD RS-232C RD Interface RTS CTS DSR DTR SG 5-V (+) power (–) Shield Pin Signal Pin Signal NC SD RD RTS CTS 5V DSR DTR SG D-sub, 9-pin Terminal block connector (male) DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: OFF 42 RS-422A / 485 Interface Hood Terminating resistance ON 4-wire 4-3
Section Application Procedure 4-3 1:N Connections Using RS-422A/485 Ports Serial Communications Board 3G2A9-AL001 Link Adapter NT-AL001-E Link Adapter Computer Signal FG SD RS-232C RD Interface RTS CTS Pin Signal Pin Signal Shield RS-422A/ 485 Interface Hood Terminating resistance OFF 4-wire Signal Pin D-sub, 9-pin connector (male) D-sub, 9-pin Terminal block connector (male) 5-V (+) power (–) Pin Signal RS-422A/ 485 Interface NC SD RD RTS CTS 5V DSR DTR SG DSR DTR SG Shield Signal Pin S
Section Connections 4-3 4-3-2 Standard Cables from Board to Personal Computer Board port Computer RS-232C port (D-sub, 9-pin female) IBM PT/AT or compatible Computer port D-sub, 9-pin male Network type Host Link (SYSMAC WAY) Model Length XW2Z-200S-CV 2m XW2Z-500S-CV 5m Remarks Conforms to ESD. The following Connecting Cables can be used to connect an RS-232C to the computer.
Section Application Procedure 4-4 4-4 Host Link Communications 4-4-1 Protocol Host Link communications are executed by means of an exchange of commands 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. The frame formats for Host Link commands transmitted from the host computer and responses returned from the PC are described below.
Section Connections 4-4 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 terminator will automatically be set at the end of the frame. A terminator will be set at the end of the last frame. Item Error Response Frame Format Function @ An “@” symbol is placed at the beginning of every response. Local Host Link Node No. The PC’s Host Link node number set in DM 6553 or DM 6558 of the PC Setup.
Section Application Procedure 4-4 that is included in the frame makes it possible to check for data errors in the frame. @ 1 0 R R 0 0 Node No. Header code 0 1 4 Text 2 FCS ↵ Terminator FCS calculation range ASCII code Communications Sequence @ 40 1 31 0 30 R 52 1 Calculation result 31 0100 EOR 0011 EOR 0011 EOR 0101 0000 0011 0100 ↓ 4 0001 0010 ↓ Converted to hexadecimal. 2 Handled as ASCII characters.
Section Connections 4-4 The TXD(––) instruction can be used to transmit data from the PC’s data area to the host computer. There is no response from the host computer. The TXD(––) instruction will be executed after the response has been transmitted if TXD(––) is executed while a response to a Host Link command is being returned to the host computer. Using the TXD(––) Instruction Host computer PC No response @ Unit No.
Section Application Procedure 480 490 500 510 520 530 540 Note TXD(––) Application Example 4-4 Q=ASC(MID$(RESPONSE$,I,1)) XOR Q NEXT I FCSD$=HEX$(Q) IF LEN(FCSD$)=1 THEN FCSD$=”0”+FCSD$ ’FCS result IF FCSD$<>FCSP$ THEN FCSCK$=”ERR” PRINT”FCSD$=”;FCSD$,”FCSP$=”;FCSP$,”FCSCK$=”;FCSCK$ RETURN 1. Normal reception data includes the FCS, delimiter or terminator, and so on. When an error occurs in transmission, however the FCS or some other data may not be included.
Section Connections Setting a Transmission Delay A transmission delay can be set in the PC Setup to create a minimum interval between sending a response from the PC to a Host Link command until the beginning of sending the response to the next command. The delay is not used in the response to the first command. The delay will affect responses to other commands only if the normal time for the response comes before the time set for the transmission delay has expired.
Section Application Procedure 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 Programming Manual for details.
Section Connections 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. End code 00 Contents Probable cause Corrective measures Normal completion No problem exists. Not executable in RUN mode Not executable in MONITOR mode The command that was sent cannot be executed when the PC is in RUN mode.
Section Application Procedure 4-5 A response will not be received with some errors, regardless of the command. These errors are listed in the following table. Error Parity, overrun, or framing error during command reception. (Same even for commands address to other Units.) PC operation The Communications Error Flag will be turned ON, an error code will be registered, and receptions will be reset. (The error will be cleared automatically if communications restart normally.
Section Connections Previous products C-series CPU Units Model number SRM1 4-5 Changes required for CQM1H-series product Wiring Other No changes have been made in wiring. It may be possible to use the host computer programs without alteration as long as the same communications settings (e.g., baud rate) are used. It may be necessary, however, to change programs to allow for different CQM1H command specifications. No changes have been made in wiring. No changes have been made in wiring.
Section Application Procedure 4-5 4-5-2 RS-422A/485 Ports Take the following differences into consideration when changing from an existing Host Link System to one using an RS-422A/485 port on a CQM1H-series Serial Communications Board.
SECTION 5 Protocol Macros This section describes the procedure and other information required to use protocol macros. 5-1 5-2 5-3 5-4 5-5 5-6 5-7 Overview of the Protocol Macro Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1-1 Protocol Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1-2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section Using Protocol Macros 5-1 5-1 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 generalpurpose devices, connected to the RS-232C or RS-422A/485 port.
Section Using Protocol Macros 5-1 Protocol Macro Function Specifications Item Number of protocols (20 max.) Number of sequences (1,000 max.) Per protocol Number of sequences Number of messages Number of reception matrixes Protocol data memory Description Can be created and registered with the Protocol Support Tool (CX-Protocol). 60 max. 300 max. 100 max. Communications mode Flash memory in the Serial Communications Board (Retained even when the power supply to the PC is turned OFF.
Section Using Protocol Macros Item Sequence contents (step common parameters) 5-1 Description Number of steps per sequence Transmission control parameters Response notification method (operand) 16 max. X-on/X-off flow, RTS/CTS flow, delimiter control, or contention control, and modem control can be selected. Scan notification or interrupt notification (i.e., writing the receive data in the I/O memory area specified in the 3rd operand of the PMCR(––) instruction) can be selected.
Section Using Protocol Macros Item Step contents 5-1 Description Commands Repeat counter Retry count Send wait time With or without response write (operand) Next processing Error processing Send message Send only (SEND), receive only (RECEIVE), or send and receive (SEND&RECEIVE) 1 to 255 times 0 to 9 (Only when the command is SEND&RECEIVE) 0.01 to 0.99 s, 0.1 to 9.
Section Using Protocol Macros Item Message contents *1: Header and terminator data attributes *2: Data attributes of addresses and data in send/ receive messages 5-1 Description Constant ASCII data, hexadecimal data, or control code Constant Variables ASCII data, hexadecimal data, or control code (with an address, no control code is possible) No conversion, conversion to ASCII data, or conversion to hexadecimal data (the read/write direction can be specified) Desig(X, Y) nation X: Effective address (
Section Using Protocol Macros Item Message contents (continued) 5-1 Description *3: Error check codes Maximum length of send/receive messages LRC, LRC2, CRC-CCITT, CRC-16, SUM, SUM1, and SUM2 can be calculated. 256 bytes.
Section Using Protocol Macros Modifying Standard System Protocols 5-1 If there is no standard system protocol for the required OMRON product or 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. Modifying and transferring standard system protocols Serial Communications Board CPU Unit Sequence No.
Section Using Protocol Macros 5-2 In this manual, the protocol structure is explained in simple terms, and examples are given of the use of the PMCR(––) instruction when controlling OMRON devices using standard system protocols. For details on the protocols, the method of modifying the standard system protocols, and the method of creating new sequences, refer to the CX-Protocol Operation Manual (W344).
Section Using Protocol Macros Item Communications port settings on the Board Restriction Procedure Use the same communications port settings for the Board as those used for the C200HX/HG/HE. The communications port names will be as follows: Communications Port A will be port 1 on the Board. Communications Port B will be port 2 on the Board. I/O memory operations: PLC Memory Window 5-3 Use I/O memory addresses only within the ranges supported by the CQM1H.
Section Using Protocol Macros 5-3 Note The PC Setup settings for the Serial Communications Board are read constantly during PC operation. It is not necessary to restart the PC after changing these settings. The default settings are shown in the following table. These are the standard settings for protocol macros.
Section Using Protocol Macros 5-3 Send Data S:D00000 D00001 D00002 D00003 D00004 D00005 D00006 0007 0000 0101 000C C000 0000 0001 7 words from D00000 to D00006 K3N node No. : 00 CompoWay/F command “0101” (reads the K3N present value) Number of send bytes CompoWay/F command send data (Variable type, read start address, 00, number of elements) Receive Data D:D00010 D00011 D00012 D00013 0004 4 words from D00010 to D00013 Response code is stored.
Section Using Protocol Macros 5-3 e) Transferring the created project to the Board: See 11.1 Transferring and Reading Protocol Data between Personal Computers and Serial Communications Boards. 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 PMCR(––) instruction. Set the number of send data words (including S itself) in S.
Section Using Protocol Macros 5-4 5-4 Connections This section describes the connections for protocol macros. Up to 32 nodes can be used for 1:N connections.
Section Using Protocol Macros Port RS-422A/485 Configuration 5-4 Schematic diagram 1:N RS-422A/485 interface RS-422A/485 Resistance ON Resistance ON RS-422A/485 interface 3G2A9-AL001 Resistance ON RS-422A/485 Resistance ON RS-232C interface NT-AL001-E RS-232C Resistance ON RS-422A/485 RS-232C Resistance ON RS-232C 5-V power Note 1. The maximum cable length for RS-232C is 15 m. 2. The maximum combined cable length for RS-422A/485 is 500 m including branch lines. 3.
Section Using Protocol Macros 5-4 Connecting a Host Computer with NT-AL001-E Converting Link Adapters Serial Communications Board RS-232C NT-AL001-E Link Adapter Signal Pin Shield Pin Signal RS-232C Interface FG SD RD RTS CTS 5V DSR DTR SG D-sub, 9-pin connector (male) NT-AL001-E Link Adapter Signal Pin Pin RS-422A NC SD RD RTS CTS 5V DSR DTR SG Signal Signal Pin Computer RS-232C NC SD RD RTS CTS 5V DSR DTR SG FG SD RD RS-232C RTS Interface CTS DSR DTR SG (See note) Terminal block D-sub, 9
Section Using Protocol Macros 5-4 1:N Connections Using RS-232C Ports Device supporting RS-422A/485 communications (4-wire) Serial Communications Board NT-AL001-E Signal Pin RS-232C Pin Signal Signal Pin Shield RS-232C interface FG SD RD RTS CTS 5V DSR DTR SG NC SD RD RTS CTS 5V DSR DTR SG Signal RS-422A /485 interface Device supporting RS-422A/485 communications (4-wire) Signal (See note) D-sub, 9-pin connector (male) RS-422A Shield D-sub, 9-pin Terminal block connector (male) RS-422A /485
Section Using Protocol Macros 1:1 Connections Using RS-422A/485 Ports Device supporting RS-422A/485 communications (2-wire) Serial Communications Board Signal Pin Shield Signal Pin /485 interface RS-422A /485 interface Serial Communications Board Signal RS-422A Shield RS-422A /485 interface Hood Hood D-sub, 9-pin connector (male) D-sub, 9-pin connector (male) Serial Communications Board RS-422A Signal Pin Shield Pin Signal RS-422A /485 interface Signal Pin NC SD RD RTS CTS 5V DSR DTR SG Ho
Section Using Protocol Macros 5-4 1:N Connections Using RS-422A/485 Ports Device supporting RS-422A/485 communications (2-wire) Serial Communications Board Signal Pin Signal RS-422A/ 485 interface RS-422A/ 485 interface Hood Device supporting RS-422A/485 communications (2-wire) D-sub, 9-pin connector (male) Terminating resistance ON 4-wire Signal RS-422A/ 485 interface Serial Communications Board Signal Pin Device supporting RS-422A/485 communications Shield (4-wire) 3G2A9-AL001 Pin Signal RS
Section Using Protocol Macros 5-5 5-5 Protocol Structure Protocols consist of communications sequences. A sequence consists of steps. These steps can be repeated, or they can be branched or ended depending on the responses received. A step consists of a command, send/receive messages, processing results, and the next process (which depends on the processing results).
Section Using Protocol Macros 5-5 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 different address). One protocol One-step structure With the SEND, RECEIVE, or SEND&RECEIVE command Sequence No. 000 to 999 (60 sequences max.
Section Using Protocol Macros Step Parameters Parameter Command Meaning One of the following: SEND, RECEIVE, or SEND&RECEIVE Messages Send message Receive message Send message and receive message The message sent for SEND. The expected message for RECEIVE. Reception matrix A group of expected messages that can be used to switch to different next processes when RECEIVE or SEND&RECEIVE is used. The message sent and the expected message for SEND&RECEIVE.
Section Using Protocol Macros Level Send message SD (00) _1 Item Header Terminator Error check code Length Address Message edited 5-5 Setting “@” [2A0D] LRC (horizontal parity) (0) (2 bytes of ASCII) --$ (R (1) ) ,2) + + “1” + “00” + “0000” + + Data Receive message RV (00) _1 Header Terminator Error check code Length Address Message edited “@” [2A0D] LRC (horizontal parity) (0) (2 bytes of ASCII) --& (R (1) ) ,2) + + “00” + “00” + & (W (
Section Using Protocol Macros 5-6 5-6 Control Bits, Flags, and Status Information Control bits, flags, and status information for the Serial Communications Board are available in the Inner Board Slot 1 area.
Section Using Protocol Macros Word Bits IR 201 00 to 03 Name and Function Port 1 Error Code (Transmission Error Status) When an error occurs during transmissions for a protocol macro, an error code will be output to these bits. 0: Normal operation 1: Parity error Classification Transmission error Set When error occurs 5-6 Reset Start of sequence 2: Framing error Error codes 3 to 7 are not possible for protocol macros. These error codes are the same regardless of the serial communications mode.
Section Using Protocol Macros Word IR 204 Bits 00 Name and Function Port 1 Tracing Flag Classification Tracing Port 2 Tracing Flag 08 to 11 Same as IR 20400. Port 1 Protocol Macro Error Code The list of error codes is provided at the end of this table on page 85.
Section Using Protocol Macros Word IR 207 Bits Name and Function 00 Port 1 Restart Bit 01 The communications port will be restarted when this bit is turned ON by the user. Port 2 Restart Bit Classification Port status 5-6 Set Reset User-set or STUP(––) After settings are changed and port restarted From CX-Protocol From CX-Protocol Same as IR 20700. 02 Port 1 Continuous Trace Start/Stop Bit The CX-Protocol will start a continuous trace when the bit is turned ON.
Section Using Protocol Macros Word IR 207 Bits 08 Name and Function Port 1 Protocol Macro Executing Flag (instruction execution) This flag is turned ON when a PMCR(––) instruction (sequence) is executed. The flag will remain OFF if execution fails.
Section Using Protocol Macros 5-7 Error Codes The contents of the error codes are shown in the following table. Code Error contents 0 No error Protocol macro execution Executed 2 Sequence Number Error Not executed The sequence number specified by the PMCR(––) instruction does not exist in the Board. 3 Receive Data/Write Area Exceeded Error 4 When data is written or read to the CPU Unit, the specified area range was exceeded. Protocol Data Syntax Error Execution stops after the error occurs.
Section Using Protocol Macros 5-7 The number of send words in S+1 and the following words is stored in S. The setting range is 0001 to 0129 (4 digits BCD). S is also included in the number of words. Note When there is no send data, set S to #0000. If any other constant or a word address is set, an error will occur, the Error Flag (SR 25503) will turn ON, and PMCR(––) will not be executed. First Receive Data Storage Word (D) D specifies the first word of the area used to store the receive data.
Section Using Protocol Macros 5-7 Operand Areas and Address Ranges Area C S IR and SR Areas IR 000 to IR 255 HR Area HR 00 to HR 99 AR Area AR 00 to AR 27 LR Area LR 00 to LR 63 Timer and Counter Area Data Memory (DM) Area Extended Data Memory (EM) Area TIM/CNT000 to TIM/CNT511 Indirect DM address Indirect EM address Constant Area *DM 0000 to *DM 6655 D IR 000 to IR 252 DM 0000 to DM 6655 DM 0000 to DM 6143 EM 0000 to EM 6143 *EM 0000 to *EM 6143 See description of control data.
Section Using Protocol Macros 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. Connections Serial Communications Board 32 Units max. Port 2 RS-422A/485 Specifies the Temperature Controller Unit No.
Section Using Protocol Macros Operand Settings for the PMCR(––) Instruction 5-7 Reading the present value of E5 K Unit No. 03 and storing it in DM 0201 C: Control data PMCR #0000 D00100 1 0 0 D00200 0 0000: Sequence No. 000 Port 1 S: First send data word S: S+1: DM 0100 DM 0101 Number of send data words = 2 Unit No. = 03 D: First receive data storage word D: D+1: DM 0200 DM 0201 Present value Number of receive data words = 2 Present value is stored.
Section Using Protocol Macros Ladder Programming Example Input condition 000000 The following diagram shows an example in which sequence number 000 (PRESENT VALUE READ) of a Temperature Controller (E5 K Read System) is executed using the PMCR(––) instruction. If the sequence has been completed normally, the present value that has been read is transferred to another word.
Section Using Protocol Macros 5-7 Transmission Methods Although the following two transmission methods are commonly used, only halfduplex transmissions are supported for CQM1H protocol macros. Half-duplex: Data can be sent only one direction at a time. A B Or A B Full-duplex: Data can be sent in both directions at the same time. B A The use of half-duplex transmissions presents some restrictions.
Section Using Protocol Macros 5-7 Time Lag t1 Baud rate (b/s) Lag time (ms) 1,200 30 2,400 15 4,800 8 9,600 5 19,200 3 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 information.
Section Using Protocol Macros 5-7 troller. When sequence execution has been completed, the PV is transferred to words to store it. Execution Protocol Macro Execondition cuting Flag 00000 20708 PMCR #1000 DM 0100 Protocol Macro Executing Flag If IR 20708 is OFF when the execution condition turns ON, sequence #000 is executed and the PV is stored in DM 0201.
Using Protocol Macros Example 1 Sequence Step No. 00 Section 5-7 Error Sequence ended abnormally Example 2 Sequence Step No. 00 Error Error Sequence ended abnormally Step No. 01 Step No. 01 Step No.
Section Using Protocol Macros 5-7 Precautions on Using the Force Abort Bit The Protocol Macro Executing Flag will turn OFF as soon as the Forced Abort 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.
SECTION 6 No-protocol Communications This section provides information required to use no-protocol communications on a Serial Communications Board port. 6-1 6-2 6-3 6-4 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section Using No-protocol Communications 6-1 6-1 Overview Data can be sent or received without a protocol and without conversion by connecting an external device to the RS-232C port and executing the TXD(––) or RXD(––) instruction from the ladder program. Start and end codes can be attached to the data or the amount of data to be received can be specified. The communications frame cannot be specified for no-protocol communications in the way it can be for protocol macros.
Section Using No-protocol Communications 6-1 Send/Receive Message Frames End code Start code No Yes CR+LF No Data Data 256 bytes max. ED Data 256 bytes max. CR+LF 256 bytes max. Yes ST Data ST Data 256 bytes max. ED ST Data CR+LF 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.
Section Using No-protocol Communications 6-2 6-2 Application Procedure 1, 2, 3... 1. Turn OFF the power supply to the PC. 2. Mount the Board. 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-Programmer, or the CX-Protocol as required. 4. Turn ON power. 5.
Section Using No-protocol Communications 6-3 6-3 Connections The connection examples in this section show only the basic connection diagrams. We recommend that appropriate noise countermeasures be taken in actual applications, including the use of shielded twisted-pair cables. Refer to 2-3 Wiring for actual wiring methods.
Section Using No-protocol Communications 6-4 6-4 Using No-protocol Communications 6-4-1 TRANSMIT – TXD(––) and RECEIVE – RXD(––) This section describes using TXD(––) and RXD(––) for no-protocol communications. TRANSMIT – TXD(––) in No-protocol Mode TXD(––) S First source word C Control word N Number of bytes (4 digits BCD, 0000 to 0256) Control Word: C 15 00 0 0 Byte order 0: Most significant bytes first 1: Least significant bytes first Not used. (Set to 0.
Section Using No-protocol Communications 6-4 RECEIVE – RXD(––) in No-protocol Mode RXD(––) D First destination word C Control word N Number of bytes (4 digits BCD, 0000 to 0256) Control Word: C 15 00 0 0 Byte order 0: Most significant bytes first 1: Least significant bytes first Not used. (Set to 0.) Port 0: RS-232C port on CPU Unit 1: Port 1 on Serial Communications Board 2: Port 2 on Serial Communications Board Not used. (Set to 0.
Section Using No-protocol Communications 6-4 6-4-2 TXD(––) Communications Procedure Confirm that the Transmission Enabled Flag is ON before executing TXD(––). The Port 1 Transmission Enabled Flag is IR 20105 and the Port 2 Transmission 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.
Section Using No-protocol Communications Port 1 Port 2 6-4 Function IR 20100 to IR 20103 IR 20108 to IR 20111 Error Code 0: Normal operation 1: Parity error 2: Framing error 3: Overrun error IR 20104 IR 20112 Communications Error Flag IR 20107 IR 20115 Reception Overflow Flag (Turns ON when data is received again before the previous data is read with RXD(––).) IR 20200 to IR 20215 IR 20300 to IR 20315 Reception counter Provides the number of bytes of data received in 4-digit BCD (0 to 256).
SECTION 7 Communications for 1:1 Data Links This section provides information required to create 1:1 Data Links through a Serial Communications Board port. 7-1 7-2 7-3 7-4 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1-1 Starting Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1-2 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section Overview 7-1 7-1 Overview If two PCs are linked one-to-one by connecting them together through RS-232C or 4-wire RS-422A/485 cable, they can share up to 64 words of their LR areas. The 1:1 Data Links are the same as normal Data Links in that data is not shared bidirectionally, i.e., the link words written by one PC are transferred to the other PC.
Section Using 1:1 Data Links 7-2 7-1-2 Specifications Item Connection method Applicable PCs Specification Connection of 2 PCs through their RS-232C ports (prepared cable). Note RS-422A/485 ports can also be connected if a 4-wire connection method is used. CQM1H, CQM1, CPM1, CPM1A, CPM2A, CPM2C, or SRM1(-V2), C200HX/HG/HE, C200HS There are restrictions in the number of words that can be linked for some PCs.
Section Overview Port 1 DM 6555 Port 2 DM 6550 Bits 00 to 07 08 to 11 12 to 15 Setting 7-3 Function --0 Hex Not used. Link words for 1:1 Data Link 3 Hex 0: LR 00 to LR 63 (default) 1: LR 00 to LR 31 2: LR 00 to LR 15 Communications mode DM 6556 DM 6551 00 to 15 --- 2: 1:1 Data Link slave 3: 1:1 Data Link master Not used. DM 6557 DM 6552 00 to 15 --- Not used. DM 6558 DM 6553 00 to 15 --- Not used. DM 6559 DM 6554 00 to 15 --- Not used. 6.
Section Using 1:1 Data Links 7-4 7-4 Using 1:1 Data Links This section provides an example of using 1:1 Data Links. Conditions The following settings are made in the PC Setup before executing the program.
SECTION 8 NT Link Communications This section describes the procedure and other information required to use 1:N-mode and 1:1-mode NT Links to Programmable Terminals (PTs). 8-1 8-2 8-3 Overview of NT Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1-1 NT Links — 1:N Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1-2 NT Links — 1:1 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section Connections 8-1 8-1 Overview of NT Links This section explains the application of a Serial Communications Board for an NT Link in either 1:N or 1:1 mode. For details on the operation of the PT, refer to the operation manual for the PT. Note In an NT Link using 1:N mode, a PC can be connected to either one or more than one PTs. There is no difference in functionality determined by the number of PTs connected.
Section Connections 8-1 3. The Programming Console functions of the PT (Expansion Mode) cannot be used when connected to Serial Communications Board ports. They can be used only by connecting to the peripheral port or RS-232C port on the CPU Unit. This is true in both 1:1 and 1:N mode. 4. When using 1:N-mode NT Links, set a unique unit number for each PT connected to the same PC. If the same unit number is set for more than one PT, malfunctions will occur. 5.
Section Connections 8-2 6. With some PTs, timeout settings can be changed to eliminate some of the communications errors. Refer to the operation manual for the PT for details. 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 restrictions in 1:N mode, connect the PTs in smaller groups to different ports. 8-2 Application Procedure 1, 2, 3... 1. Turn OFF the power supply to the PC. 2. Mount the Board. 3.
Section Connections Port 1 Port 2 Bit(s) DM 6556 DM 6557 DM 6558 DM 6559 DM 6551 DM 6552 DM 6553 DM 6554 00 to 15 00 to 15 00 to 15 00 to 15 Setting --- 8-3 Function Not used. 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 ignored. Set the communications mode to a 1:1-mode NT Link (4 Hex). 6. Operate the system. Refer to the operation manual for your PT for operating instructions.
Section Connections 8-3 1:N, 4-wire Connections from RS-422A/485 to RS-422A/485 Ports (1:N Mode) Serial Communications Board PT Signal Signal Pin RS-422A /485 Interface RS-422 A/485 Interface Hood D-sub, 9-pin connector (male) FG Terminal block or D-sub connector Short bar PT Signal RS-422A /485 Interface FG Terminal block or D-sub connector Communications Mode: 1:N NT Link Note Serial Communications Board settings: Terminating resistance ON, 4-wire.
SECTION 9 Troubleshooting and Maintenance This section describes the troubleshooting and maintenance procedures for the Serial Communications Boards. 9-1 9-2 9-3 9-4 Front-panel Indicator Error Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2-1 Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section Board Replacement 9-1 9-1 Front-panel Indicator Error Displays Indicators Board RDY Possible cause Remedy CPU Unit ERR/ALM Lit Not lit The Serial Communications Board has started normally. --- Not lit Lit The Serial Communications Board is faulty (hardware self-diagnostic function). Board watchdog timer error: IR 20000 will turn ON. If the ERR and ALM indicators light when the Serial Communications Board is mounted to another CPU Unit, replace the Serial Communications Board.
Section Board Replacement Serial Communications Board Error Information Word IR 200 For Serial Communications Boards, refer to the following error flags. When an error occurs, the corresponding flag is turned ON. All of these flags represent non-fatal errors. Bit Name Probable cause 00 Serial Communications Board Hardware Error Flag The Board has failed. 01 Port Identification Error Flag (hardware error) Protocol Data Error Flag There is a problem with the communications port.
Section Board Replacement Serial communications mode Indicator status Status information, etc. Serial communications mode is not set to Host Link. --- --- Serial communications mode is set to Host Link. --The COMM indicators do not flash at all. (Communications have not been electrically established.) 9-2 I/O memory Cause Remedy Bits 12 to 15 (Serial Communications Mode) of DM 6555/DM 6550 are set to a value other than 0 Hex. --- Serial communications mode is not set correctly.
Section Board Replacement Serial communications mode Serial communications mode is set to Host Link. (Continued) Indicator status The COMM indicators are flashing, but the response has not been returned to the host. Status I/O memory information, etc. There is a The error code in transmission IR 20100 to error. IR 20103 for port 1 or IR 20108 to IR 20111 for port 2 is 1 (parity error), 2 (framing error), or 3 (overrun error).
Section Board Replacement Serial communications mode Host Link, slave-initiated communications Indicator status The COMM indicators are flashing, but there is no response from the host. Status I/O memory information, etc. A transmis--sion error has not been detected at the host. ----- --- Communications parameters and baud rate settings in the PC Setup do not correspond with the settings at the host. 124 Cause 9-2 Remedy There is a hardware error in the reception circuit.
Section Board Replacement 9-2 9-2-2 Protocol Macros Serial communications mode Serial communications mode is not set to protocol macro. Serial communications mode is set to protocol macro. Indicator display Status information, etc. I/O memory Cause Remedy --- --- Bits 12 to 15 (Serial Communications Mode) of DM 6555/DM 6550 are set to a value other than 6 Hex. Serial communications Set bits 12 to 15 of mode is not set correctly. DM 6555/DM 6550 to 6 Hex. (protocol macros).
Section Board Replacement Serial communications mode Serial communications mode is set to protocol macro. Serial communications mode is set to protocol macro. Indicator display Status information, etc. I/O memory Cause Remedy The COMM indicators do not flash at all. (Communications have not been electrically established.) The PMCR(––) instruction is executed, but IR 20708 or IR 20712 (Protocol Macro Executing Flag) does not turn ON.
Section Board Replacement Serial communications mode Serial communications mode is set to protocol macro. (Continued) Indicator display The COMM indicators are flashing, but the Serial Communications Board cannot perform communications or a communications error sometimes occurs. The COMM indicators are flashing, but the Serial Communications Board cannot perform communications or a communications error sometimes occurs. Status information, etc. A transmission error occurs.
Section Board Replacement Error code 2 Hex 3 Hex 4 Hex Indicator Error details No display Sequence number error ERR/ALM : Flashing ERR/ ALM: Flashing Receive data write range overflow error Protocol data syntax error Cause 9-2 Remedy The communications sequence number specified in bits 00 to 11 of the PMCR(––) instruction’s C operand is not registered. The data range of the specified area is exceeded when data is being written to or read from the I/O memory of the CPU Unit.
Section Board Replacement 9-2 9-2-3 1:N NT Link Mode Serial communications mode Indicator display Status information, etc. Serial communications mode is not set to NT Link. --- --- Serial communications mode is set to NT Link. --The COMM indicators do not flash at all. (Communications have not been electrically established.) The SD and --COMM indicators are flashing, but the Serial Communications Board cannot communicate with the Programmable Terminal (PT).
Section Board Replacement Serial communications mode Serial communications mode is set to NT Link. Indicator display The COMM indicators are flashing, but a communications error sometimes occurs in the PT. Status information, etc. --- I/O memory --- Cause 9-3 Remedy Cables are incorrectly connected. Review the wiring or switch settings. The RS-422A/485 port setting (2-wire or 4-wire) is incorrect.
Section Board Replacement 9-3 9-3-2 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. Materials for Inspection Prepare the following materials before performing any inspections.
Section Board Replacement 9-4 9-4 Board Replacement A malfunction of the Serial Communications Board may affect the operation of remote communications devices, so be sure to perform repairs or replace the faulty Board promptly. Make sure a spare Serial Communications Board is available to replace a faulty one, so that functionality can be restored without delay. 9-4-1 Precautions Observe the following precautions when replacing the Serial Communications Board.
Section Board Replacement 9-4 4. Turn ON the power of the PC to which the replacement Serial Communications Board is mounted, and to all serially connected external devices, and start operating the system. 5. Check from the indicators and status display that the system is operating normally. Protocol Macros Designed with CX-Protocol 1, 2, 3... Note 1. Connect Programming Console or CX-Protocol to the PC to which the replacement Serial Communications Board is mounted, and switch to PROGRAM mode. 2.
Appendix A Introduction Appendices B to N provide information on the standard system protocols provided with the CX-Protocol, the Serial Communications Boards. Refer to 5-7 Using Protocol Macros for details on using PMCR(––).
Appendix A Introduction D: Receive Data Word Allocation (4th Operand) Receive data storage words +0 Number of receive data words +1 Response code +2 Receive data Offset Contents (data format) Data D+0 Number of receive data words (4 digits BCD) 0003 to 0128 BCD D+1 Response code (4 digits Hex) The response code will be stored in hexadecimal form.
Appendix B CompoWay/F Master Protocol The CompoWay/F Master Protocol is used to send CompoWay/F commands with the CS1-series PC serving as the host (master). CompoWay/F CompoWay/F is a protocol used by many OMRON components for serial communications. A host computer of a PC can function as a host (master) to send CompoWay/F commands (message frames) to OMRON components, which function as slaves. The components will return responses to these commands.
Appendix B CompoWay/F Master Protocol Communications Specifications Item Specification Transmission path connections Communications Multipoint Synchronization Start-stop Baud rate 1,200/2,400/4,800/9,600/19,200 bps Default: 9,600 bps ASCII Transmitted code Data length RS-232C, RS-422A/485, 4-wire half-duplex, 2-wire half-duplex 7 bits or 8 bits (Default: 7 bits) Note: A 7-bit code is used with 0 added to the beginning.
Appendix B CompoWay/F Master Protocol Command Frame Contents Item Meaning STX A code, 02 Hex, indicating the beginning of a communications 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. Subaddress Set “00” for most components. Other values must be set for special components. SID Set “0” for most components.
Appendix B CompoWay/F Master Protocol Note The end codes are described in the following table. End code Name Meaning “00” Normal end The command frame was processed normally without any of the following errors. “0F” Command error The specified command could not be executed. Refer to the response code for more information. “10” Parity error A parity error was detected for one of the characters that was received.
Appendix B CompoWay/F Master Protocol Example: VARIABLE AREA READ The following command and text are used to read the present value, maximum value, minimum value, and status of the Intelligent Signal Processor. Command and Text Variable type 2 bytes 1, 2, 3... 2 bytes No. of elements First read address 2 bytes 4 bytes 4 bytes 1. Variable Type Variable type “C0” Contents Present value, maximum value, minimum value, status , and comparison value 2.
Appendix B CompoWay/F Master Protocol CompoWay/F Master Protocol Sequences The CompoWay/F Master Protocol provides six communications sequences that can be used for the following: • Converting to ASCII data or not converting to ASCII data • Sending to a specified Unit or broadcasting • Specifying from the command code or specifying from the subaddress and SID. Structure of the Protocol The following table shows the structure of the CompoWay/F Master Protocol. Sequence No.
Appendix B CompoWay/F Master Protocol CompoWay/F Message Frames and PMCR(260) Operands The relationship between the CompoWay/F command and response frames and the operands of PMCR(260) is shown below, using communications sequence No. 600 as an example. Command Frame Node No. Variable type Subaddress First read address Command No.
Appendix B CompoWay/F Master Protocol Send Data Word Allocation (2nd Operand of PMCR(260)) First word of send data +0 Number of send data words +1 (Undefined) Node No. +2 MRC SRC +3 Number of send bytes +4 Send data Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0005 to 0128 +1 (Undefined) Node No.
Appendix B CompoWay/F Master Protocol Example: The following example illustrates reading the present value from a K3N -series Intelligent Signal Processor. CS1-series PC CompoWay/F response Read data = present value Intelligent Signal Processor K3N - -FLK1/2/3/4/5/6 CompoWay/F command VARIABLE AREA READ Command code: 01 01 First read address Sequence No. 600 (Send with ASCII Conversion, with Response) is used.
Appendix B CompoWay/F Master Protocol The 2nd and 3rd operands of the PMCR(260) instruction are specified as follows. Send Data Word Allocation (2nd Operand of PMCR(260)) Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0007 +1 (Undefined) Node No.
Appendix B CompoWay/F Master Protocol 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 1 2 3 4 “56” “78” “12” “34” 5 6 7 8 Receive Data Word Allocation (3rd Operand of PMCR(260)) None. (Specify a dummy value for the operand, such as #0000.) Send with No Conversion and with Response (Sequence No.
Appendix B CompoWay/F Master Protocol 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.
Appendix B CompoWay/F Master Protocol General-purpose Send with No Conversion and with Response (Sequence No. 604) 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)) First word of send data +0 Number of send data words +1 (Undefined) Node No.
Appendix B CompoWay/F Master Protocol General-purpose 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.
Appendix B CompoWay/F Master Protocol Connections Connection methods between a Serial Communications Board and the K3N -series Intelligent Signal Processor 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 Signal Processor Serial Communications Board RS-232C RS-232C Abbrevi- Pin ation No. Pin No.
Appendix B CompoWay/F Master Protocol RS-422 4-wire Connections • RS-422 connections can be one-to-one, or one-to-N when a 3G2A9-AL001 Link Adapter is used. A maximum of 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.
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. Sequence No.
Appendix C E5jK Digital Controller Read Protocol Connection Configuration The connection configuration for using the E5 K Digital Controller Read Protocol is shown below. RS-232C Connection E5 K CQM1H Serial Communications Board RS-232C port → Serial Communications Board E5 K RS-232C: D-sub 9 pin female Signal name RS-232C: Terminal block Pin No. Terminal No. Signal name Shielded cable Note 1. The communications configuration is a one-to-one configuration and the maximum cable length is 15 m. 2.
Appendix C E5jK Digital Controller Read Protocol 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. Shielded cable E5CK (No. 0) AB: [0] Space E5CK (No. 30) RS-485: Terminal block RS-485: Terminal block Terminal No. Terminal No. Terminator (120 /2 W) Read Process Value (Sequence No.
Appendix C E5jK Digital Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 +1 Set point during SP ramp (4 digits BCD) Set point lower limit to upper limit 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 +0 data +1 Number of send data words (Undefined) Offset Unit No.
Appendix C E5jK Digital Controller Read Protocol Send Data Word Allocation (2nd Operand of PMCR) First word of send +0 data +1 Number of send data words (Undefined) Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix C E5jK Digital Controller Read Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Cooling coefficient Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 +1 Cooling coefficient (4 digits BCD) 0001 to 9999 Read Dead Band (Sequence No.
Appendix C E5jK Digital Controller Read Protocol Read Hysteresis (Sequence No. 009) Reads the hysteresis for heating and for cooling and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix C E5jK Digital Controller Read Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix C E5jK Digital Controller Read Protocol Read MV at Stop Time and at PV Error (Sequence No.013) Reads the MV at stop time and at PV error and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix C E5jK Digital Controller Read Protocol Read Input Digital Filter (Sequence No. 015) Reads the input digital filter and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix C E5jK Digital Controller Read Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Input shift upper limit +2 Input shift lower limit Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0003 +1 Input shift upper limit (4 digits BCD) A999 to 9999 F indicates a negative value and A indicates –1.
Appendix C E5jK Digital Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units 5 + 1 +1 1st unit Process value (4 digits BCD) Scaling lower limit to upper limit +2 1st unit Set point during SP ramp (4 digits BCD) Set point lower limit to upper limit +3 1st unit MV (heating) (4 digits BCD) F050 to 1050 F indicates a negative value.
Appendix C E5jK Digital Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units 6 + 1 +1 1st unit Alarm value 1 (4 digits BCD) A999 to 9999 F indicates a negative value and A indicates –1. +2 1st unit Alarm value 2 (4 digits BCD) A999 to 9999 F indicates a negative value and A indicates –1. +3 1st unit Alarm value 3 (4 digits BCD) A999 to 9999 F indicates a negative value and A indicates –1.
Appendix C E5jK Digital Controller Read Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Cooling coefficient +2 Dead band +3 Manual reset value +4 Hysteresis (heating) +5 Hysteresis (cooling) +6 Control period (heating) +7 Control period (cooling) ~ 1st unit ~ Cooling coefficient +50 +51 Dead band +52 Manual reset value +53 Hysteresis (heating) +54 Hysteresis (cooling) +55 Control period (heating) +56 Co
Appendix C E5jK Digital Controller Read Protocol 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. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 Number of units +2 (Undefined) Unit No.
Appendix C E5jK Digital Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units 8 + 1 +1 1st unit SP ramp time unit (4 digits BCD) 0000: s, 0001: hr +2 1st unit SP ramp set value (4 digits BCD) 0000 to 9999 +3 1st unit LBA detection time (4 digits BCD)} 0000 to 9999 +4 1st unit MV at stop (4 digits BCD) F050 to 1050 F indicates a negative value. A050 to 1050 for heating/cooling control A indicates a negative value.
Appendix C E5jK Digital Controller Read Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Input digital filter +2 Alarm 1 hysteresis +3 Alarm 2 hysteresis +4 Alarm 3 hysteresis +5 Input shift upper limit +6 Input shift lower limit 1st unit ~ ~ +43 Input digital filter +44 Alarm 1 hysteresis +45 Alarm 2 hysteresis +46 Alarm 3 hysteresis +47 Input shift upper limit +48 Input shift lower limit Offset 8th uni
Appendix C E5jK Digital Controller Read Protocol General-purpose Read (Sequence No. 023) Reads the specified parameter and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send +0 data +1 (Undefined) Number of send data words Unit No. +2 (Undefined) Parameter No. Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 +2 Parameter No.
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 Controller 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. Structure of the Protocol The following table shows the structure of the E5 K Digital Controller Write Protocol. Sequence No.
Appendix D E5jK 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) First word of send data +0 Number of send data words (Undefined) +1 Unit No. set point +2 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 (fixed) +1 Unit No.
Appendix D E5jK Digital Controller Write Protocol 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 send data +0 Number of send data words (Undefined) +1 Unit No. Cooling coefficient +2 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 (fixed) +1 Unit No.
Appendix D E5jK Digital Controller Write Protocol Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Unit No. +2 Hysteresis (heating) +3 Hysteresis (cooling) Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0004 (fixed) +1 Unit No.
Appendix D E5jK Digital Controller Write Protocol Receive Data Word Allocation (3rd Operand of PMCR) None. Write LBA Detection Time (Sequence No. 059) Writes the LBA detection time. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Unit No. LBA detection time +2 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 (fixed) +1 Unit No.
Appendix D E5jK Digital Controller Write Protocol Receive Data Word Allocation (3rd Operand of PMCR) None. Write Input Digital Filter (Sequence No. 062) Writes the input digital filter. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Unit No. Input digital filter +2 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 (fixed) +1 Unit No.
Appendix D E5jK Digital Controller Write Protocol Receive Data Word Allocation (3rd Operand of PMCR) None. 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 send data +0 Number of send data words Number of units +1 (Undefined) +2 Unit No. 1st unit Set point +3 (Undefined) +4 Unit No. 2nd unit Set point +5 ~ ~ (Undefined) +16 Unit No. 8th unit (max.
Appendix D E5jK Digital Controller Write Protocol 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) First word of send data +0 Number of send data words +1 Number of units (Undefined) +2 Unit No.
Appendix D E5jK Digital Controller Write Protocol Write Level 1 Parameter 2 (Sequence No. 067) Writes parameters in level 1 (cooling coefficient, dead band, manual reset value, hysteresis (heating), hysteresis (cooling), control period (heating), and control period (cooling)) to multiple units. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words Number of units +1 (Undefined) +2 Unit No.
Appendix D E5jK Digital Controller Write Protocol 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. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 +2 Number of units (Undefined) Unit No.
Appendix D E5jK Digital Controller Write Protocol 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) First word of send data +0 Number of send data words +1 Number of units +2 (Undefined) Unit No.
Appendix D E5jK Digital Controller Write Protocol General-purpose Write (Sequence No. 070) Writes the specified parameter. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 (Undefined) Unit No. +2 (Undefined) Parameter No. Write data +3 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0004 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 +2 Parameter No. (2 digits BCD) Refer to the manual of E5 K.
Appendix D E5jK Digital Controller Write Protocol Run/Stop (Sequence No. 072) Switches the mode to Run or Stop according to the command code. This sequence can be executed for multiple units. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 Number of units (Undefined) +2 Unit No. 1st unit Command code +3 (Undefined) +4 Unit No. 2nd unit Command code +5 ~ ~ (Undefined) +16 Unit No. 8th unit (max.
Appendix D E5jK Digital Controller Write Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units 2 + 2 +1 Number of units (4 digits BCD) 0001 to 0008 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Command code (4 digits BCD) 0000: Local 0001: Remote +17 (max.) 8th unit Command code (4 digits BCD) 0000: Local 0001: Remote Receive Data Word Allocation (3rd Operand of PMCR) None. Execute/Cancel AT (Sequence No.
Appendix D E5jK Digital Controller Write Protocol 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) First word of send data +0 Number of send data words +1 Number of units +2 (Undefined) Unit No. +3 (Undefined) Unit No. (Undefined) Unit No. ~ +9 ~ Offset (max.
Appendix E E5ZE Temperature Controller Read Protocol The E5ZE Temperature Controller Read Protocol reads and controls various parameters in remote mode for the 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 Sequence No.
Appendix E E5ZE Temperature Controller Read Protocol Connections This section shows connections for using the E5ZE Temperature Controller Read Protocol. RS-232C Connections CQM1H E5ZE Serial Communications Board RS-232C port → RS-232C Signal Pin abbreviNo. ation Signal name Abbreviation Signal direction Pin No.
Appendix E E5ZE Temperature Controller Read Protocol RS422/485 Connections • RS-485 Pin No. Signal name Abbreviation Signal direction 1 Disabled (Do not connect.) – – 2 Disabled (Do not connect.) – – 3 Signal ground SG – 4 Terminal B (+ side) B I/O 5 Terminal A (– side) A I/O Turn off the communications switch to disconnect terminating resistance.
Appendix E E5ZE Temperature Controller Read Protocol • RS-422A Pin No. Receive data B RDB Input Receive data A RDA Input 3 Signal ground SG – 4 Send data B SDB Output 5 Send data A SDA Output Pin No. Turn off the communications switch to disconnect terminating resistance.
Appendix E E5ZE Temperature Controller Read Protocol Switch Settings This section shows the switch settings for using the E5ZE Temperature Controller Read Protocol.
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0017 +1 Channel 0 Process value (rightmost 4 digits) (4 digits BCD) Varies according to the temperature sensor type. Refer to the manual for the E5ZE. +2 Channel 0 Process value (leftmost 1 digit) (1 digit BCD) F indicates a negative value.
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0017 +1 Channel 0 Output value (4 digits BCD) 0000 to 1000 +2 Channel 0 Cooling output value (4 digits BCD) 0000 to 1000 +3 Channel 1 Output value (4 digits BCD) 0000 to 1000 +4 Channel 1 Cooling output value (4 digits BCD) 0000 to 1000 +15 Channel 7 Output value (4 digits BCD) 0000 to 1000 +16 Channel 7 Cooling output value (4 digits BCD) 0000
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0041 +1 Channel 0 Set point (rightmost 4 digits) (4 digits BCD) Varies according to the temperature sensor type. Refer to the manual for the E5ZE.
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0025 +1 Channel 0 Constant P (4 digits BCD) 0000 to 9999 +2 Channel 0 Constant I (4 digits BCD) 0000 to 3999 +3 Channel 0 Constant D (4 digits BCD) 0000 to 3999 +22 Channel 7 Constant P (4 digits BCD) 0000 to 9999 +2 3 Channel 7 Constant I (4 digits BCD) 0000 to 3999 +24 Channel 7 Constant D (4 digits BCD) 0000 to 3999 Read Control Period (Sequ
Appendix E E5ZE Temperature Controller Read Protocol 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) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix E E5ZE Temperature Controller Read Protocol 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) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix E E5ZE Temperature Controller Read Protocol Read Hysteresis (Sequence No. 109) Reads the hysteresis and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0009 +1 Channel 0 Status code (4 digits Hex) 0000 to FFFF +2 Channel 1 Status code (4 digits Hex) 0000 to FFFF +8 Channel 7 Status code (4 digits Hex) 0000 to FFFF Read Error Status (Sequence No. 111) Reads the contents of errors if they have occurred and stores the results in the specified words.
Appendix E E5ZE Temperature Controller Read Protocol 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) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0009 +1 Channel 0 Manual reset value (4 digits BCD) 0000 to 1000 +2 Channel 1 Manual reset value (4 digits BCD) 0000 to 1000 +8 Channel 7 Manual reset value (4 digits BCD) 0000 to 1000 Read Ramp Value (Sequence No. 115) Reads the ramp values and stores the results in the specified words.
Appendix E E5ZE Temperature Controller Read Protocol 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) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix E E5ZE Temperature Controller Read Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Output value lower limit +2 Output value upper limit +3 Cooling control output value lower limit +4 Cooling control output value upper limit ~ Channel 0 ~ +29 Output value lower limit +30 Output value upper limit +31 Cooling control output value lower limit Channel 7 +32 Cooling control output value upper limit Offset Conten
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0009 +1 Channel 0 Output value change rate limit (4 digits BCD) 0000 to 1000 +2 Channel 1 Output value change rate limit (4 digits BCD) 0000 to 1000 +8 Channel 7 Output value change rate limit (4 digits BCD) 0000 to 1000 Read HB Alarm and HS Alarm Valid Channels (Sequence No.
Appendix E E5ZE Temperature Controller Read Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Heater burnout detection current +2 SSR failure detection current +3 Heater burnout detection current +4 SSR failure detection current Channel 0 Channel 1 ~ ~ +15 Heater burnout detection current +16 SSR failure detection current Offset Channel 7 Contents (data format) Data +0 Number of receive data words (4 digits BCD)
Appendix E E5ZE Temperature Controller Read Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0017 +1 Channel 0 Heater current (4 digits BCD) 0000 to 0500 +2 Channel 0 SSR leakage current (4 digits BCD) 0000 to 0500 +15 Channel 7 Heater current (4 digits BCD) 0000 to 0500 +16 Channel 7 SSR leakage current (4 digits BCD) 0000 to 0500 Note The read data will be 0000 for all channels for which HB and HS alarms are not enabled and for all channel
Appendix E E5ZE Temperature Controller Read Protocol Read Cooling Coefficient (Sequence No. 123) Reads the cooling coefficients and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol The E5ZE Temperature Controller Write Protocol writes and controls various settings in remote mode for the Temperature Controller connected via a RS-232C or RS-422A/485 cable from the PC via the Serial Communications 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.
Appendix F E5ZE Temperature Controller Write Protocol Connections The connections are the same as that for the E5ZE Temperature Controller Read Protocol. Write Set Point (Setting Unit 1) (Sequence No. 150) Writes the set points using a setting unit of 1 (4 digits). Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 +2 Set point +3 (Undefined) +4 Set point +5 (Undefined) Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Write Set Point (Setting Unit 0.1) (Sequence No. 151) Writes the set points using a setting unit of 0.1 (5 digits). Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Unit No.
Appendix F 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) First word of send data +0 Number of send data words (Undefined) +1 +2 Constant P +3 Constant I +4 Constant D Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Write Control Period (Sequence No. 153) Writes the control periods and cooling control periods. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Write Output Mode (Sequence No. 154) Writes the output mode (normal/reverse). Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 (Undefined) Unit No. +2 (Undefined) Write code Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 (fixed) +1 Unit No.
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 send data +0 Number of send data words (Undefined) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol 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) First word of send data +0 Number of send data words (Undefined) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Write Hysteresis (Sequence No. 158) Writes the hysteresis for control outputs for ON/OFF control. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Cancel Autotuning (Sequence No. 160) Cancels Autotuning (AT) for all channels. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits Hex) 00 to 0F Receive Data Word Allocation (3rd Operand of PMCR) None. Write Setting Unit (Sequence No.
Appendix F E5ZE Temperature Controller Write Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0010 (fixed) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Write Ramp Value (Sequence No. 164) Writes the ramp values. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 +2 (Undefined) Ramp value Time unit +3 +4 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0018 (fixed) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0034 (fixed) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0010 (fixed) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol 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) First word of send data +0 Number of send data words +1 (Undefined) Unit No. +2 (Undefined) Write code Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 (fixed) +1 Unit No.
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) First word of send data +0 Number of send data words (Undefined) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0010 (fixed) +1 Unit No.
Appendix F E5ZE Temperature Controller Write Protocol 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) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix G E5 J Temperature Controller Protocol The E5 J Temperature Controller Protocol performs various settings and controls in remote mode for the Temperature 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. Structure of the Protocol The following table shows the structure of the E5 J Temperature Controller Protocol. Sequence No.
Appendix G E5jJ Temperature Controller Protocol Connections The connections for using the E5 J Temperature Controller Protocol are shown below. RS-232C Connections CQM1H E5 J Serial Communications Board RS-232C port → RS-232C Signal name Abbreviation Signal direction Pin No. Signal ground or common return line Send data SG – 25, 27 SD Output 26 Receive data RD Input 28 Serial Communications Board RS-232C: D-sub 9-pin female Signal name E5AJ RS-232C: Terminal Block Pin No.
Appendix G E5jJ Temperature Controller Protocol • RS-422A Signal name Abbreviation Signal direction Pin No. Send data A SDA Output 26 Send data B SDB Output 25 Receive data A RDA Input 28 Receive data B RDB Input 29 Signal ground SG – 27 Serial Communications Board Terminating resistance RS-422A: Terminal Block Signal Pin name No.
Appendix G E5jJ Temperature Controller Protocol Note 1. The connection configuration is a one-to-one or a one-to-N configuration. Using a one-to-N configuration, 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). 3. Connect terminating resistance to the devices only at both ends of the transmission path. 4.
Appendix G E5jJ Temperature Controller Protocol Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand of PMCR) None. Save Set Point (Sequence No. 204) Saves the set point.
Appendix G E5jJ Temperature Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units 5 + 2 +1 Number of units (4 digits BCD) 0001 to 0025 +2 1st unit Unit No.
Appendix G E5jJ Temperature Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units 4 + 2 +1 Number of units (4 digits BCD) 0001 to 0031 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Proportional band (4 digits BCD) 0000 to 9999 +4 1st unit Integral time (4 digits BCD) 0000 to 9999 +5 1st unit Derivative time (4 digits BCD) 0000 to 9999 +6 2nd unit Unit No. (2 digits BCD) 00 to 31 +125 (max.
Appendix G E5jJ Temperature Controller Protocol 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) First word of send data +0 Number of send data words +1 Number of units (Undefined) +2 Unit No. ~ ~ (Undefined) +26 Offset (max.) Unit No.
Appendix G E5jJ Temperature Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units 4 + 1 +1 1st unit Set point (4 digits BCD) 0000 to 9999 When the left digit is –1, A is set and when it is –, F is set. +2 1st unit Alarm value 1 (4 digits BCD) 0000 to 9999 When the left digit is –1, A is set and when it is –, F is set.
Appendix G E5jJ Temperature Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Proportional band +2 Integral time +3 Derivative time 1st unit ~ ~ +91 Proportional band +92 Integral time +93 Derivative time Offset 31th unit (max.
Appendix G E5jJ Temperature Controller Protocol Read Output Value (Sequence No. 211) Reads the output value and stores the results in the specified word. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix G E5jJ Temperature Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix G E5jJ Temperature Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 +1 Number of receive data words (Undefined) +2 (Undefined) Offset Alarm 1 type Status Alarm 2 type Input type Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0003 +1 Status (2 digits Hex) 00 to 99 +2 Alarm 1 type (1 digit Hex) Alarm 2 type (1 digit Hex) Input type (1 digit BCD) 0 to 9 0 to 9 0 to 9 General-purpose Write (Sequence No.
Appendix G E5jJ Temperature Controller Protocol Offset Contents (data format) +0 Number of receive data words (4 digits BCD) 0002 +1 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.
Appendix H ES100j 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. Structure of the Protocol The structure of the ES100 Digital Controller Protocol is shown below. Sequence No.
Appendix H ES100j Digital Controller Protocol Sequence No. Transmission sequence name Function Ladder interface Send word Receive word allocation allocation Yes No 273 Auto mode Switches the control mode to auto. 274 Manual mode Switches the control mode to a manual. Yes No 275 Execute A.T. Executes A.T. Yes No 276 Cancel A.T. Cancels A.T. Yes No 277 Change pattern No. Changes the pattern No. Yes No 278 Change bank No. Changes the bank No.
Appendix H ES100j Digital Controller Protocol RS-422A/485 Connections CQM1H ES100 Serial Communications 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--422 Terminal Block RS-422A: D-sub 9-pin female Signal name Pin No. Shielded cable Terminal Signal name Next ES100 • RS-485 Serial Communications Board ES100 - 04 RS-485: D-sub 9-pin female Pin No.
Appendix H ES100j Digital Controller Protocol 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. 422← →485 422← →485 Read Event Data (Sequence No. 250) Reads events 1 to 10 in the variable area.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units x 5 + 1 +1 1st unit Event data 1 (2 digits Hex) Event data 2 (2 digits Hex) 00 to FF 00 to FF +2 1st unit Event data 3 (2 digits Hex) Event data 4 (2 digits Hex) 00 to FF 00 to FF +3 1st unit Event data 5 (2 digits Hex) Event data 6 (2 digits Hex) 00 to FF 00 to FF +4 1st unit Event data 7 (2 digits Hex) Event data 8 (2 digits Hex) 00 to FF 00 to F
Appendix H ES100j Digital Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Time signal 1 Time signal 2 +2 Time signal 3 Time signal 4 +3 Time signal 5 Time signal 6 +4 Time signal 7 Time signal 8 +5 Time signal 9 Time signal 10 +121 Time signal 1 Time signal 2 +122 Time signal 3 Time signal 4 +123 Time signal 5 Time signal 6 +124 Time signal 7 Time signal 8 +125 Time signal 9 Time signal 10
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0008 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31 +17 (max.) 16th unit Unit No.
Appendix H ES100j Digital Controller Protocol 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 send data +0 Number of send data words +1 Number of units +2 (Undefined) Unit No. 1st unit +3 (Undefined) Unit No. 2nd unit ~ ~ (Undefined) +33 Offset Unit No. 32nd unit (max.
Appendix H ES100j Digital Controller Protocol 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) First word of send data +0 Number of send data words +1 Number of units +2 (Undefined) Unit No. 1st unit +3 (Undefined) Unit No. 2nd unit (Undefined) Unit No. ~ +33 ~ Offset 32nd unit (max.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4digits BCD) Number of units 2 + 1 +1 1st unit PV data (rightmost 4 digits) (4 digits BCD) 00000000 to 09999000 F indicates a negative number. +2 1st unit PV data (leftmost 4 digits) (4 digits BCD) +3 2nd unit PV data (rightmost 4 digits) (4 digits BCD) +4 2nd unit PV data (leftmost 4 digits) (4 digits BCD) 00000000 to 09999000 F indicates a negative number.
Appendix H ES100j Digital Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 SP data (rightmost 4 digits) +2 SP data (leftmost 4 digits) +3 SP data (rightmost 4 digits) +4 SP data (leftmost 4 digits) ~ 1st unit 2nd unit ~ +63 SP data (rightmost 4 digits) +64 SP data (leftmost 4 digits) Offset 32nd unit Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units 2 + 1 +
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31 +33 (max.) 32nd unit Unit No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0021 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31 +22 (max.) 21st unit Unit No.
Appendix H ES100j Digital Controller Protocol 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) First word of send +0 data +1 Number of send data words (Undefined) Offset 256 Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix H ES100j Digital Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 Number of receive data words Fixed SP Control output 1 pulse cycle Control output 2 pulse cycle Fuzzy strength Cooling coefficient Heater burnout alarm setting Position-proportional dead band Switching output hysteresis ON/OFF count alarm setting ON/OFF control hysteresis Manual reset SP se
Appendix H ES100j Digital Controller Protocol Offset 258 Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0043 +1 to 2 Fixed SP (8 digits BCD) +3 to 4 Control output 1 pulse cycle (8 digits BCD) 00000000 to 09999000 F indicates a negative number.
Appendix H ES100j Digital Controller Protocol Write Adjustment Parameters (Sequence No. 259) Writes the adjust parameters in the parameter area.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0044 (fixed) +1 Unit No.
Appendix H ES100j Digital Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 PID No. 1 P (rightmost 4 digits) +2 PID No. 1 P (leftmost 4 digits) +3 PID No. 1 I (rightmost 4 digits) +4 PID No. 1 I (leftmost 4 digits) +5 PID No. 1 D (rightmost 4 digits) +6 PID No. 1 D (leftmost 4 digits) +7 PID No. 1 MV lower limit (rightmost 4 digits) +8 PID No.
Appendix H ES100j Digital Controller Protocol 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) First word of send data +0 Number of send data words (Undefined) +1 Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0057 +1 to 2 PID No. 5 P (8 digits BCD) 00000000 to 09999000 +3 to 4 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. 5 PV bias value (8 digits BCD) +13 to 14 PID No.
Appendix H ES100j Digital Controller Protocol 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 send data +0 +1 Number of send data words (Undefined) Unit No. +2 PID No. 1 P (rightmost 4 digits) +3 PID No. 1 P (leftmost 4 digits) +4 PID No. 1 I (rightmost 4 digits) +5 PID No. 1 I (leftmost 4 digits) +6 PID No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0058 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 +2 to 3 PID No. 1 P (8 digits BCD) 00000000 to 09999000 +4 to 5 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. 1 PV bias value (8 digits BCD) +14 to 15 PID No.
Appendix H ES100j Digital Controller Protocol 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 send data Number of send data words +0 (Undefined) +1 Unit No. +2 PID No. 5 P (rightmost 4 digits) +3 PID No. 5 P (leftmost 4 digits) +4 PID No. 5 I (rightmost 4 digits) +5 PID No. 5 I (leftmost 4 digits) +6 PID No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0058 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 +2 to 3 PID No. 5 P (8 digits BCD) 00000000 to 09999000 +4 to 5 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. 5 PV bias value (8 digits BCD) +14 to 15 PID No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units 2 + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Pattern No. (2 digits BCD) Step No. (2 digits BCD) 00 to 63 00 to 63 +64 32nd unit Unit No. (2 digits BCD) +65 (max.) 32nd unit Pattern No. (2 digits BCD) Step No.
Appendix H ES100j 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) First word of send data +0 Number of send data words Number of units +1 +2 (Undefined) Unit No. +3 Pattern No. Step No. 1st unit Local SP (rightmost 4 digits) +4 Local SP (leftmost 4 digits) +5 +6 (Undefined) Unit No. +7 Pattern No. Step No.
Appendix H ES100j 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) First word of send data +0 Number of send data words +1 Number of units +2 (Undefined) Unit No. +3 Pattern No. Step No. +4 (Undefined) Unit No. +5 Pattern No. Step No. +6 (Undefined) Unit No. +7 Pattern No. Step No.
Appendix H ES100j Digital Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Local SP (rightmost) +2 Local SP (leftmost) +3 Step bank time (rightmost) +4 Step bank time (leftmost) +5 PID set No. (rightmost) +6 PID set No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4digits BCD) Number of units 28 + 1 +1 to 2 1st unit Local SP (8 digits BCD) 00000000 to 09999000 F indicates a negative number. +3 to 4 1st unit Step time) (8 digits BCD) +5 to 6 1st unit PID set No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units 30 + 2 +1 Number of units (4 digits BCD) 0001 to 0004 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Pattern No. (2 digits BCD) Step No. (2 digits BCD) 00 to 63 00 to 63 00000000 to 09999000 +4 to 5 1st unit Local SP (8 digits BCD) +6 to 7 1st unit Step time (8 digits BCD) +8 to 9 1st unit PID set No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31 +33 (max.) 32nd unit Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand of PMCR) None. Local Setting Mode (Sequence No. 269) Switches the setting mode to the local setting mode.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31 +33 (max.) 32nd unit Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand of PMCR) None. Run Command (Sequence No. 271) Starts control.
Appendix H ES100j Digital Controller Protocol Reset (Stop) (Sequence No. 272) Stops control. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 Number of units +2 (Undefined) Unit No. 1st unit +3 (Undefined) Unit No. 2nd unit (Undefined) Unit No. ~ +33 ~ Offset 32nd unit (max.
Appendix H ES100j Digital Controller Protocol Manual Mode (Sequence No. 274) Switches the control mode to the manual mode. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 Number of units +2 (Undefined) Unit No. 1st unit +3 (Undefined) Unit No. 2nd unit (Undefined) Unit No. ~ +33 ~ Offset 32nd unit (max.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units 2 + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit PID set No. (4 digits BCD) 0000 to 0008 +4 2nd unit Unit No. (2 digits BCD) 00 to 31 +64 32nd unit Unit No. (2 digits BCD) 00 to 31 +65 (max.) 32nd unit PID set No.
Appendix H ES100j Digital Controller Protocol Change Pattern No. (Sequence No. 277) Changes the pattern number. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 Number of units (Undefined) +2 Unit No. 1st unit Pattern No. +3 ~ +64 ~ (Undefined) Unit No. 32nd unit (max.) Pattern No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units 2 + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Bank No. (4 digits BCD) 0000 to 0007 +4 2nd unit Unit No. (2 digits BCD) 00 to 31 +64 32nd unit Unit No. (2 digits BCD) 00 to 31 +65 (max.) 32nd unit Bank No.
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) +0 Number of receive data words (4 digits BCD) +1 1st unit Operation status (2 digits BCD) Data Number of units 5 + 1 00: Reset 01: Run Hold (2 digits BCD) 00: Not hold 01: Hold +2 1st unit Auto/manual (2 digits BCD) 00: Auto mode 01: Manual mode SP mode (2 digits BCD) 00: Local SP mode 01: Remote SP mode 02: Fixed SP mode +3 1st unit Setting mode (2 digits BCD) 00: Local setting mode 01: Remote setting mode 02:
Appendix H ES100j Digital Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0001 to 0128 +1 Number of send data bytes 0001 to 0251 The number of send bytes not including @, the FCS, or the terminator. +2 Refer to the manual for the ES100 . Send data (ASCII 2 characters) Use ASCII (Up to 251 characters total.) +127 (max.
Appendix I K3T Intelligent Signal Processor Protocol The K3T Intelligent Signal Processor Protocol is used to make various settings or control remotely the Intelligent Signal Processor connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Protocol Configuration The configuration of the K3T Intelligent Signal Processor Protocol is shown as follows: Sequence No.
Appendix I K3Tj Intelligent Signal Processor Protocol Sequence No. 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 Communications sequence name Function Read set value L (continuous units) Read set value LL (continuous units) Read set value with bank (by unit number) Reads the set value L.
Appendix I K3Tj Intelligent Signal Processor Protocol Connections The connections used for the K3T Intelligent Signal Processor Protocol are shown below. RS-232C Connections CQM1H K3T Serial Communications Board RS-232C port Signal name Abbreviation Signal direction Pin No.
Appendix I K3Tj Intelligent Signal Processor Protocol RS-422A/485 Connections CQM1H Serial Communications Board RS-422A/485 port K3T K3T Up to 32 units can be connected K3T • RS-422A Signal name Signal direction Pin No.
Appendix I K3Tj Intelligent Signal Processor Protocol • RS-485 Signal name Abbreviation Signal direction Terminal Inverting output – Input or output 19 Non-inverting output + Input or output 18 Serial Communications Board RS-485: D-sub 9-pin female Signal Pin Name No. Intelligent Signal Processor Turn ON the terminal block switch for terminators only. RS-485: Terminal block SN751177N or equivalent Terminal block SW Termi- Signal nal.
Appendix I K3Tj Intelligent Signal Processor Protocol 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) First word send data of +0 Number of send data words +1 (Undefined) Number of units +2 (Undefined) Relevant unit No. ~ ~ (Undefined) +33 Offset Relevant unit No.
Appendix I K3Tj Intelligent Signal Processor Protocol 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 send data Number of send data words +0 +1 (Undefined) Number of units +2 (Undefined) Relevant unit No. Operand +3 Set value +4 (Undefined) +5 Set value ~ +122 ~ (Undefined) Relevant unit No.
Appendix I K3Tj Intelligent Signal Processor Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0004 to 0066 +1 Number of units (2 digits BCD) 01 to 32 +2 to +3 Set value (5 digits BCD) 00000 to 99999 Negative sign: F (most significant digit) Example 12345 Example –1234 +2 2345 +2 1234 +3 0001 +3 000F +64 to +65 Set value (5 digits BCD) Same as above Receive Data Word Allocation (3rd Operand of PMCR) None.
Appendix I K3Tj Intelligent Signal Processor Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0007 to 0127 +1 Number of units (2 digits BCD) 01 to 25 +2 Relevant unit No. (2 digits BCD) 00 to 99 +3 Bank No.
Appendix I K3Tj Intelligent Signal Processor Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0004 to 0098 +1 Number of units (2 digits BCD) 01 to 32 +2 Bank No.
Appendix I K3Tj Intelligent Signal Processor Protocol 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)). Write Set Value O1 with Bank (Continuous Units) (Sequence No. 316) This sequence writes set value O1 of a bank not in use for continuous units.
Appendix I K3Tj Intelligent Signal Processor Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0004 to 0097 +1 End code (2 digits Hex) 00 to 22 +2 to +3 Set value (5 digits BCD) 00000 to 99999 Negative sign: F (most significant digit) Example 12345 Example –1234 +2 2345 +2 1234 +3 0001 +3 000F +95 to +96 Set value (5 digits BCD) Same as above Read Set Value HH (Continuous Units) (Sequence No.
Appendix I K3Tj Intelligent Signal Processor Protocol 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. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Number of units +2 (Undefined) Relevant unit No. +3 (Undefined) Bank No. Operand +4 ~ ~ +95 (Undefined) Relevant unit No.
Appendix I K3Tj Intelligent Signal Processor Protocol Read Set Value HH with Bank (Continuous Units) (Sequence No. 323) This sequence reads set value HH of a bank not in use for continuous units. Send Data Word Allocation (2nd Operand of PMCR) First word send data of Number of send data words +0 +1 (Undefined) Number of units +2 (Undefined) Bank No. (Undefined) Bank No.
Appendix I K3Tj Intelligent Signal Processor Protocol 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)). Read Set Value O2 with Bank (Continuous Units) (Sequence No. 330) This sequence reads set value O2 of a bank not in use for continuous units. The word allocation is identical to that of sequence No.
Appendix I K3Tj Intelligent Signal Processor Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Peak/bottom data (Undefined) +2 Peak/bottom data (Undefined) +3 Status ~ ~ +94 Peak/bottom data (Undefined) +95 Peak/bottom data Status (Undefined) +96 Offset Contents (data format) +0 Number of receive data words (4 digits BCD) 0004 to 0097 Data +1 to +2 Peak/bottom data (5 digits BCD) 00000 to 99999 Negative sign:
Appendix I K3Tj Intelligent Signal Processor Protocol 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.
Appendix I K3Tj Intelligent Signal Processor Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0004 to 0097 +1 to +2 Display value (5 digits BCD) 00000 to 99999 Negative sign: F (most significant digit) Example 12345 +3 Status (4 digits Hex) Example –1234 +1 2345 +1 1234 +2 0001 +2 000F d0 bit: If overflow: 1 Others: 0 d1 bit: If underflow: 1 Others: 0 d2 bit: Not used d3 bit: During forced zero operation: 1 (K3TH, K3TR, K3TC: 0) d4 bit: In t
Appendix I K3Tj Intelligent Signal Processor Protocol Read Display Value (PV) (Continuous Units) (Sequence No. 336) This sequence reads display value (PV) for continuous units.
Appendix I K3Tj Intelligent Signal Processor Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0006 to 0126 +1 to +2 Input specifications (ASCII 3 characters) 544131 (“TA1”) (K3TH) 544231 (“TB1”) (K3TH) 564432 (“VD2”) (K3TX) 414432 (“AD2”) (K3TX) 564132 (“VA2”) (K3TX) 414132 (“AA2”) (K3TX) 524231 (“RB1”) (K3TR, K3TC) +2 Display specifications (ASCII 1 character) 41 (“A”) (common) 42 (“B”) (K3TH, K3TX) 43 (“C”) (K3TR, K3TC) +3 Output specifications (ASCI
Appendix I K3Tj Intelligent Signal Processor Protocol 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.
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.
Appendix J V500/V520 Bar Code Reader Protocol Protocol Configuration The configuration of the V500/V520 Bar Code Reader Protocol is shown below. Sequence No. Communications sequence name Function Ladder interface 350 BCR read start Instructs the Reader to start a BCR read. Send word allocation No 351 BCR read stop Instructs the Reader to stop a BCR read.
Appendix J V500/V520 Bar Code Reader Protocol Connections The connections for using the V500/V520 Bar Code Reader Protocol are shown below. V500 Connections 100 VAC V520-R12 CQM1H Reader Serial Communications Board RS-232C port V500-C11 ID Controller V509-W040 Reader Cable Serial Communications Board: D-sub 9 pin female Signal Name V500-C11: D-sub 9 pin female Pin No. Pin No.
Appendix J V500/V520 Bar Code Reader Protocol 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.
Appendix J V500/V520 Bar Code Reader Protocol BCR Read Start (Sequence No. 350) This sequence instructs the Bar Code Reader to start reading. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. BCR Read Stop (Sequence No. 351) This sequence instructs the Bar Code Reader to stop reading. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. Data Read (Sequence No.
Appendix J V500/V520 Bar Code Reader Protocol BCR Function Write (V500) (Sequence No. 354) This sequence sets the operation mode and read functions in the Bar Code Reader.
Appendix J V500/V520 Bar Code Reader Protocol 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.
Appendix J V500/V520 Bar Code Reader Protocol Log Data Output Request (V500) (Sequence No. 356) This sequence requests output of the log data sent to host.
Appendix J V500/V520 Bar Code Reader Protocol Preset Data Set (V500) (Sequence No. 357) This sequence sets preset data. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Number of presets +2 (Undefined) Preset data No. (Undefined) +3 Number of units +4 Preset data +5 Preset data ~ ~ +18 Preset data +19 Preset data ~ ~ +(18N+2) (Undefined) +(18N+3) (Undefined) Preset data No.
V500/V520 Bar Code Reader Protocol Appendix J Log Data Clear (V500) (Sequence No. 359) This sequence clears the log data. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. Data Continuous Read (Scan) (V500) (Sequence No. 360) 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.
Appendix J V500/V520 Bar Code Reader Protocol 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. 2. Even if execution is cancelled, the bar code still keeps reading. Execute sequence No. 351 (BCR Read Stop) to end the sequence. 3. The reception wait time is not set for this sequence.
Appendix J V500/V520 Bar Code Reader Protocol Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words +1 Send data byte length +2 Send data +3 Send data ~ ~ +127 Send data +128 Send data Offset Contents (data format) +0 Number of send data words (4 digits BCD) 0003 to 0129 Data +1 Send data byte length (3 digits BCD) 1 to 254 The byte length of the send data excluding STX and ETX.
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. Sequence No.
Appendix K 3Z4L Laser Micrometer Protocol Sequence No. Communications sequence name 418 All statistic memory clear (3000-series) Clears statistic processing memories of all programs. No No 419 Statistic memory clear (3000-series) Clears statistic processing memories of program under display. No No 420 Statistic result request (3000-series) Requests statistic processing result. No Yes 421 Memory switch set 1 (3000-series) Sets memory switches.
Appendix K 3Z4L Laser Micrometer Protocol Sequence No. Communications sequence name 439 Data request (4000-series) 440 441 442 443 444 445 Function Ladder interface Receive Send word word allocation allocation Requests measurement data in the idle measurement status or the latch data generated by the measurement command. Forced positive zero Sets the forced zero direction to positive (4000-series) (+). Forced negative zero Sets the forced zero direction to negative (4000-series) (–).
Appendix K 3Z4L Laser Micrometer Protocol DIP Switch Settings Shown below are the settings of 3Z4L-3000, 3Z4L-4000-series DIP switches required to use the system protocol sequences. 3Z4L-3000 Series • DIP Switch 1 No. Setting Baud rate 1 2 Status ON/OFF ON/OFF 3 Handshaking procedure ON/OFF 4 RS-232C interface use selection ON/OFF 5 6 ON/OFF ON/OFF • DIP Switch 2 No. Setting Selection for measurement section 1 2 3 Status ON/OFF Set these settings according to the sensor connected.
Appendix K 3Z4L Laser Micrometer Protocol • DIP Switch 2 No. 1 2 Setting Status Selection for measurement section ON/OFF 3 ON/OFF 4 ON/OFF ON/OFF 6 Setting of minimum read value 7 Display unit ON/OFF 8 External command setting ON/OFF 5 Set these settings according to the sensor connected. ON/OFF Set these settings for 4 digits in the decimal portion.
Appendix K 3Z4L Laser Micrometer Protocol 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. 1 2 3 4 5 6 Turn OFF.
Appendix K 3Z4L Laser Micrometer Protocol 3Z4L Clear (Sequence No. 400) This sequence resets errors, data, analog output, and decision result, and puts the Laser Micrometer into standby. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. Memory Switch Set (Sequence No. 401) This sequence sets memory switches and the area for the work position LED.
Appendix K 3Z4L Laser Micrometer Protocol Calibration Set (Sequence No. 404) This sequence calibrates the Laser Micrometer.
Appendix K 3Z4L Laser Micrometer Protocol Program Number Set (3000-series) (Sequence No. 406) This sequence switches the program number to a specified number. Send Data Word Allocation (2nd Operand of PMCR) First word of send +0 data +1 Number of send data words (Undefined) Offset Program number (1 digit BCD) Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Program number (1 digit BCD) 0 to 9 Receive Data Word Allocation (3rd Operand of PMCR) None.
Appendix K 3Z4L Laser Micrometer Protocol Decimal portion +30 +31 +32 +33 (Undefined) Reference value (REF) Integer portion Sign (Undefined) (Undefined) Analog output scale number (SCL) +34 Decimal portion +36 +37 +38 +39 Offset classification (OF) (Undefined) +35 (Undefined) Integer portion Sign Offset value (Undefined) (Undefined) +40 (Undefined) +41 (Undefined) Data output conditions (PR) Schedule output timer Sample measurement pulse (PRT) (SMP) +42 (Undefined) +43 +44 (Unu
Appendix K 3Z4L Laser Micrometer Protocol Offset Contents (data format) +30 to +32 Reference value Same as lower limit values +33 Analog output scale number (1 digit BCD) 1 to 3 +34 to +35 Offset classification (ASCII 3 characters) 4F4620 (“OF”), 4F4D20 (“OM”) +36 to +38 Offset value Same as lower limit values +39 Data output conditions (1 digit BCD) 0 to 6 +40 Scheduled output timer (3 digits BCD) 000 to 999 +41 Sample measurement pulse (3 digits BCD) 000 to 999 +42 to +43 Sample m
3Z4L Laser Micrometer Protocol Appendix K Measurement Condition Release (3000-series) (Sequence No. 408) This sequence releases the measurement conditions that have been set. 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. Receive Data Word Allocation (3rd Operand of PMCR) None. Note 1.
Appendix K 3Z4L Laser Micrometer Protocol Receive Data Word Allocation (3rd Operand of PMCR) First word of send data +0 Number of receive data words (Undefined) +1 Program number (P) +2 Segment number (SG) +3 +4 (Undefined) +5 Measurement interval number (M) Decimal portion +6 +7 (Undefined) +8 Sign Integer portion Lower limit value (LL) (Undefined) Decimal portion +9 +10 (Undefined) +11 Sign Integer portion Upper limit value (LH) (Undefined) Decimal portion +12 +13 (Undefined) +
Appendix K 3Z4L Laser Micrometer Protocol Offset Contents (data format) +0 Number of receive data words (4 digits BCD) 0046 (fixed) +1 Program number (1 digit BCD) 0 to 9 +2 to +4 Segment number (ASCII 6 characters) Combination of 31(‘1’) to 36(‘6’), 20(‘ ’) +5 Measurement interval number (1 digit BCD) 1 to 4 +6 Lower limit value (Decimal portion) (4 digits BCD) Lower limit value (Integer portion) (3 digits BCD) 0000 to 9999 +8 Lower limit value (Sign) (BIN) If +: 0 If – : F +9 to +11
Appendix K 3Z4L Laser Micrometer Protocol 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.
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. 414 (Measurement Termination) to end the sequence. Continuous Measurement Start (Interrupt) (3000-series) (Sequence No. 413) A continuous measurement is started.
Appendix K 3Z4L Laser Micrometer Protocol 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. All Statistic Memory Clear (3000-series) (Sequence No. 418) This sequence clears statistic processing memories of all programs. Send Data Word Allocation (2nd Operand of PMCR) None.
Appendix K 3Z4L Laser Micrometer Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0019 (fixed) +1 Program number (1digit BCD) 0 to 9 +2 to +3 Number of statistic data (6 digits BCD) 000000 to 999999 +4 Average value (decimal portion) (4 digits BCD) 0000 to 9999 +5 Average value (integer portion) (4 digits BCD) 000 to 999 +6 Average value (Sign) (BIN) If +: 0 If –: F +7 to +9 Maximum value Same as average value +10 to +12 Minimum value Same
Appendix K 3Z4L Laser Micrometer Protocol Memory Switch Set 1 (3000-series, High-speed Type) (Sequence No. 421) This sequence sets memory switches. Send Data Word Allocation (2nd Operand of PMCR) First word of send +0 data +1 Number of send data words W X Y (Undefined) +2 Offset Z V Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 (fixed) +1 w (1 digits BCD) 0: For single run or zero run measurement start displaying ‘–––.
Appendix K 3Z4L Laser Micrometer Protocol Memory Switch Set 2 (3000-series, High-speed Type) (Sequence No. 422) This sequence sets memory switches.
Appendix K 3Z4L Laser Micrometer Protocol 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.
Appendix K 3Z4L Laser Micrometer Protocol Automatic Detection Set (3000-series, High-speed Type) (Sequence No. 427) This sequence sets the work automatic detection function.
Appendix K 3Z4L Laser Micrometer Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 +1 Number of receive data words (Undefined) The number of measuring times +2 Invalid time +3 Decimal portion +4 (Undefined) +5 Sign Integer portion Detection lower limit (Undefined) Decimal portion +6 +7 (Undefined) Integer portion +8 Sign (Undefined) Detection upper limit Offset Contents (data format) +0 Number of receive data words (4 digits BCD) 0009 (fixed
Appendix K 3Z4L Laser Micrometer Protocol 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.
Appendix K 3Z4L Laser Micrometer Protocol Offset Contents (data format) +0 Number of send data words (4 digits BCD) 0025 (fixed) Data +1 Segment number (1 digit BCD) 1 to 5 +2 Measurement interval number (1 digit BCD) 1 to 7 +3 Lower limit value (Decimal portion) (4 digits BCD) 0000 to 9999 +4 Lower limit value (integer portion) (3 digits BCD) 000 to 999 Example –123.
Appendix K 3Z4L Laser Micrometer Protocol Measurement Condition Release (4000-series) (Sequence No. 432) This sequence clears the measurement conditions that have been set. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of sequence No. 431 (Measurement Condition Setting). However, only the setting Yes/No flags at +19 to +24 from the send data leading word can be used. Receive Data Word Allocation (3rd Operand of PMCR) None. Note 1.
Appendix K 3Z4L Laser Micrometer Protocol Offset Contents (data format) +0 Number of receive data words (4 digits BCD) 0019 (fixed) +1 Segment number (1 digit BCD) 1 to 5 +2 Measurement interval number (1 digit BCD) 1 to 7 +3 Lower limit value (Decimal portion) (4 digits BCD) Lower limit value (Integer portion) (3 digits BCD) 0000 to 9999 +5 Lower limit value (Sign) (BIN) If +: 0 If –: F +6 to +8 Upper limit value Same as lower limit value +9 to +11 Reference value Same as lower limit
Appendix K 3Z4L Laser Micrometer Protocol Offset Contents (data format) +0 Number of receive data words (4 digits BCD) With no reference setting: 0005 +1 Decision result (ASCII 2 characters) With no limit setting: 0000 +2 Data With reference setting: 0008 With limit setting: 2B4E (“+N”), 4F4B (“OK”), 2D4E (“–N”) Measurement value (decimal portion) (4 digits BCD) Measurement value (integer portion) (3 digits BCD) 0000 to 9999 +4 Measurement value (Sign) (BIN) If +: 0 +5 to +7 Deviation value
3Z4L Laser Micrometer Protocol Appendix K Continuous Measurement Termination (4000-series) (Sequence No. 438) This sequence terminates continuous measurement. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) 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.
Appendix K 3Z4L Laser Micrometer Protocol 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.
Appendix K 3Z4L Laser Micrometer Protocol 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.
Appendix L Visual Inspection System Protocol The Visual Inspection System Protocol is used to make various settings or control remotely the Visual Recognition Device connected to the Serial Communications Board via RS-232C cable. Protocol Configuration The configuration of the Visual Inspection System Protocol is shown below. Sequence No.
Appendix L Visual Inspection System Protocol Sequence No. Communications sequence name Function Camera designation and positioning (F350) Scene switching and positioning (F350) Inspection execution and character inspection (F350) Designates the camera for measurement. 474 480 471 472 Ladder interface Send word Receive word allocation allocation Yes No Switches to a designated scene No. Yes No Carries out one inspection and outputs inspection results to the video monitor.
Appendix L Visual Inspection System Protocol Connections The connections for using the Visual Inspection System Protocol are shown below. RS-232C Connections CQM1H F200/300/350 Serial Communications Board RS-232C port → RS-232C Unit Pin No.
Appendix L Visual Inspection System Protocol Measurement Execution (F200) (Sequence No. 450) This sequence carries out one measurement and stores the measurement results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words (Undefined) +1 Evaluation result Decimal portion +3 Integer portion +4 +5 Output No.
Appendix L Visual Inspection System Protocol Offset Content (data format) Data +0 Number of receive data words (4 digits BCD) 0006 +1 Output No. (2 digits BCD) 00 to 07 +2 Evaluation result (1 digit BCD) 0: OK 1: NG +3 to +5 Measurement value (decimal portion) (3 digits BCD) Measurement value (integer portion) (7 digits BCD) Measurement value (sign) (1 digit) Example –123.456 +3 Example +123.456 3456 +3 3456 +4 0012 +4 0012 +5 F000 +5 0000 F is stored for negative values.
Appendix L Visual Inspection System Protocol 3. The ranges of measurement values are as follows: 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, undefined data is stored in the specified words. Reference Object Registration (Group) (F200) (Sequence No.
Appendix L Visual Inspection System Protocol Offset Content (data format) Data +0 Number of send data words (4 digits BCD) 0010 +1 Output No. (2 digits BCD) 00 to 07 +2 to +5 Upper limit value (decimal portion) (3 digits BCD) Upper limit value (integer portion) (7 digits BCD) Upper limit value (sign) (ASCII 2 digits) +6 to +9 Lower limit value (decimal portion) (3 digits BCD) Example –123.456 +2 0567 +3 Example +123.
Appendix L Visual Inspection System Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 +1 Number of receive data words (Undefined) +2 +3 Decimal portion Integer portion Sign Measurement value 0 Offset Content (data format) Data +0 Number of receive data words (4 digits BCD) 0004 +1 to +3 Measurement value (decimal portion) (3 digits BCD) Example –123.
Appendix L Visual Inspection System Protocol Offset +0 Content (data format) Number of receive data words (4 digits BCD) Data 0006: 1 measurement item 0009: 2 measurement items 0012: 3 measurement items 0015: 4 measurement items 0018: 5 measurement items +1 Window number (2 digits BCD) 00 to 07 +2 Evaluation result (1 digit BCD) 0: OK 1: NG +3 to +5 Measurement value (decimal portion) (3 digits BCD) Measurement value (integer portion) (7 digits BCD) Measurement value (sign) (1 digit) Ex
Appendix L Visual Inspection System Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words (Undefined) +1 Integer portion +4 Sign Decimal portion Integer portion +7 Sign Decimal portion Integer portion +10 Sign Decimal portion Integer portion +13 Sign Data 4 0 Decimal portion +15 Integer portion +16 +17 Data 3 0 +12 +14 Data 2 0 +9 +11 Data 1 0 +6 +8 Evaluation result Decimal portion +3 +5 Window No.
Appendix L Visual Inspection System Protocol Main axis angle aberration (reserved) Edge angle Edge angle (reserved) Center X, center Y Center X displacement (reserved), center Y displacement (reserved) Inclination Inclination displacement (reserved) Intersecting point X, intersecting point Y Intersecting point X displacement (reserved), intersecting point Y displacement (reserved) Continuous Measurement Execution (Interrupt) (F300) (Sequence No.
Appendix L Visual Inspection System Protocol Offset +0 Content (data format) Number of receive data words (4 digits BCD) Data 0006: 1 measurement item 0009: 2 measurement items 0012: 3 measurement items 0015: 4 measurement items 0018: 5 measurement items +1 Window No. (2 digits BCD) 00 to 07 +2 Evaluation result (1 digit BCD) 0: OK 1: NG +3 to +5 Measurement value (decimal portion) (3 digits BCD) Example –123.456 Example +123.
Appendix L Visual Inspection System Protocol 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 designated window. Send Data Word Allocation (2nd Operand of PMCR) First word of send +0 data +1 Number of send data words (Undefined) Offset Window No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 +1 Window No.
Appendix L Visual Inspection System Protocol Offset Content (data format) Data +0 Number of receive data words +1 to +2 X displacement (decimal portion) (3 digits BCD) 0007 Example –123.456 X displacement (integer portion) (3 digits BCD) +1 3456 +1 3456 +2 F012 +2 0012 X displacement (sign) (1 digit) (See note.) +3 to +4 F is stored for negative values. Y displacement (decimal portion) (3 digits BCD) Example –123.
Appendix L Visual Inspection System Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 +1 Scene No. (2 digits BCD) 00 to 15 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. 3. Turn the Abort Bit ON and then OFF to end this sequence.
Appendix L Visual Inspection System Protocol Camera Change (Increase by 1) (F200/300) (Sequence No. 481) This sequence increases the display camera No. by 1. Send Data Word Allocation (2nd Operand of PMCR) None. 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).
Appendix L Visual Inspection System Protocol Scene Switching (Arbitrary) (Sequence No. 492) This sequence switches to a designated scene No. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 Number of send data words (Undefined) +1 Offset Scene No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 +1 Scene No. (2 digits BCD) 00 to 15 Receive Data Word Allocation (3rd Operand of PMCR) None. Measurement, Inspection Termination (Sequence No.
Appendix L Visual Inspection System Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 to 0129 +1 Command length (4 digits BCD) 0001 to 0253 +2 to Command (ASCII) Specify ASCII data.
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. Sequence No.
Appendix M V600/V620 ID Controller Protocol Sequence No. Communications sequence name 519 Write (ASCII/2) 520 Write (ASCII/4) 521 Write (ASCII/8) 522 Write (Hexadecimal/1) Write (Hexadecimal/2) Write (Hexadecimal/4) Write (Hexadecimal/8) Auto-write (ASCII/1) 523 524 525 526 527 528 529 530 Auto-write (Hexadecimal/1) Polling Auto-write (ASCII/2) Polling Auto-write Subcommand (ASCII/2) Function Used when the number of Heads to be written to the Carrier is 2.
Appendix M V600/V620 ID Controller Protocol Sequence No. Communications sequence name Function Ladder interface Send word Receive word allocation allocation Yes Yes 544 Polling auto-read command processing cancel Cancels polling auto-read processing. 545 Polling auto-write command processing cancel Cancels polling auto-write processing. Yes Yes 546 General-purpose command Sends arbitrary data and stores receive data to receive data words.
Appendix M V600/V620 ID Controller Protocol RS-422A Connections CQM1H Serial Communications Board RS-422A port Head Data Carrier Head Data Carrier ID Controller ID Controller Up to 16 units can be connected Serial Communications Board: D-sub 9 pin (female) Signal name ID Controller (CD1D): D-sub 9 pin (female) Signal Pin No. name Pin No. Shielded cable Note 1. Ground the cable shield at either the ID Controller or the Serial Communications Board to prevent malfunction. 2.
Appendix M V600/V620 ID Controller Protocol DIP Switch Settings V600/620-CD1D DIP Switches DIP Switch 1 1 2 3 4 5 6 7 8 Not used (Always keep it OFF.) Local communications mode setting Speed priority setting Distance priority setting • SW7 Setting This setting is only valid if the EEPROM-type (batterylesstype) 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.
Appendix M V600/V620 ID Controller Protocol DIP Switch 2 1 2 3 4 5 6 7 8 Not used (Always keep it OFF.) Communications protocol setting with host devices 1-to-N protocol 1-to-1 protocol Note When selecting the “1-to-N” protocol, setting is limited to N=1. In this case, the FCS check code may be added. • ID Controller Unit Number Setting (Valid Only for 1-to-N Protocol) Unit No. No. 0 No. 1 No. 2 No. 3 No. 4 No. 5 No. 6 No. 7 Note 1. Be careful not to set to the same unit number twice. 2.
Appendix M V600/V620 ID Controller Protocol V600-CA A DIP Switches DIP Switch 1 Note Factory Setting: All OFF Mode 1 1 2 3 4 5 6 7 8 SW7 and SW8: Be sure to set to OFF. • Baud Rate Setting • Communications Format Data length (bit) Baud rate (bps) 1200 2400 4800 9600 19200 1=ON, 0=OFF 1=ON, 0=OFF Note STOP bit (bit) Parity type 2 2 1 1 2 1 1 1 E O E O N N E O (See note 2) 7 7 7 7 8 8 8 8 (See note 1) 1. Data length setting 7 bits: ASCII code 8 bits: JIS8 unit code 2.
Appendix M V600/V620 ID Controller Protocol 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) First word of send +0 data +1 Number of send data words (Undefined) Unit No. (Undefined) +2 Head CH No. Leading address No. +3 (Undefined) +4 Offset Read bytes Contents (data format) Data +0 Number of send data words (4 digits BCD) 0005 (fixed) +1 Unit No.
Appendix M V600/V620 ID Controller Protocol 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) First word of send +0 data +1 Number of send data words Number of Heads +2 (Undefined) +3 Unit No. (Undefined) +4 Head CH No. CH 1 Leading address No. +5 (Undefined) Read bytes +6 (Undefined) Unit No.
Appendix M V600/V620 ID Controller Protocol 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) First word of send +0 data +1 Number of send data words Number of Heads +2 (Undefined) +3 Unit No. (Undefined) +4 Head CH No. CH 1 Leading address No. +5 (Undefined) Read bytes +6 (Undefined) Unit No.
Appendix M V600/V620 ID Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 to 0097 +(24(N–1)+1) to +(24(N–1)+24) Read data (ASCII) Number of read bytes stored in ASCII 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 (ASCII/8) (Sequence No. 503) This sequence is used when the maximum number of Heads to be read from the Carrier is 8.
Appendix M V600/V620 ID Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Read data ~ +10 Read data +11 Read data ~ ~ CH 1 ~ CH 2 Read data +20 ~ ~ Read data +71 ~ ~ +80 CH 8 Read data Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 to 0081 +(10(N–1)+1) to +(10(N–1)+10) Read data (ASCII) Number of read bytes stored in ASCII N: Number of Heads Note Data
Appendix M V600/V620 ID Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 to 0062 +1 to +61 Read data (Hexadecimal) Number of read bytes stored in hexadecimal data Note Data for Data Carriers designated for hexadecimal is stored beginning with the largest offset from the receive data words. Read (Hexadecimal/2) (Sequence No. 505) This sequence is used when the maximum number of Heads to be read from the Carrier is 2.
Appendix M V600/V620 ID Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 to 0091 +(60(N–1)+1) to +(60(N–1)+30) Read data (Hexadecimal) Number of read bytes stored in hexadecimal code N: Number of Heads Note Data for Data Carriers designated for hexadecimal is stored beginning with the largest offset from the receive data words. Read (Hexadecimal/4) (Sequence No.
Appendix M V600/V620 ID Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words +1 Read data ~ ~ +12 Read data +13 (Not used) ~ CH 1 ~ +24 (Not used) +25 Read data ~ ~ CH 2 Read data +36 ~ ~ Read data +73 ~ ~ CH 4 Read data +84 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 to 0085 +(24(N–1)+1) to +(24(N–1)+12) Read data (Hexadecimal) Number of read bytes
Appendix M V600/V620 ID Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0006 to 0034 +1 Number of Heads (4 digits BCD) 0001 to 0008 +(4(N–1)+2) Unit No. (2 digits BCD) Arbitrary (However, there is a limit for the maximum Unit No. depending on the model) +(4(N–1)+3) R/W Head CH No. (1 digit BCD) R/W Head CH 1 designation: 1 R/W Head CH 2 designation: 2 The CD1D must be set to 1. +(4(N–1)+4) Leading address No.
Appendix M V600/V620 ID Controller Protocol Auto-read (Hexadecimal/1) (Sequence No. 509) This sequence is used when the maximum number of Heads to be read from the Carrier is 1. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No. 504 (Read (Hexadecimal/1)). Receive Data Word Allocation (3rd Operand of PMCR) The receive data word allocation is similar to that of Sequence No. 504 (Read (Hexadecimal/1)).
V600/V620 ID Controller Protocol Appendix M Polling Auto-read Sub-command (ASCII/2) (Sequence No. 511) This sequence is used when the maximum 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) The send data word allocation is similar to that of Sequence No. 501 (Read (ASCII/2)). However, the leading address No. and number of read bytes are not used and will be the value specified for sequence #510.
Appendix M V600/V620 ID Controller Protocol Polling Auto-read (Hexadecimal) (Sequence No. 514) This sequence is used when the number of Heads to be read from the Carrier is from 1 to 8. Send Data Word Allocation (2nd Operand of PMCR) Number of send data words First word of send +0 data +1 Number of Heads (Undefined) +2 Unit No. (Undefined) +3 Head CH No. CH 1 Leading address No. +4 (Undefined) +5 Read bytes ~ +(4(N–1)+2) ~ (Undefined) Unit No. (Undefined) +(4(N–1)+3) Head CH No.
Appendix M V600/V620 ID Controller Protocol 2. Data from Data Carrier designated for hexadecimal is stored beginning with the largest offset from the receive data words. 3. Retry processing is not performed for this sequence. 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.
Appendix M V600/V620 ID Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0006 to 0129 +1 Relevant Unit No. (2 digits BCD) 00 to 07 (CD1D) 00 to 15 (CA2A) +2 R/W Head CH No. (1 digit BCD) R/W Head CH 1 designation: 1 R/W Head CH 2 designation: 2 The CD1D must be set to 1. +3 Leading address No.
Appendix M V600/V620 ID Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0007 to 0129 +1 Number of Heads (4 digits BCD) 0001 to 0002 +(64(N–1)+2) Unit No. (2 digits BCD) Arbitrary (However, there is a limit for the maximum Unit No. depending on the model) +(64(N–1)+3) R/W Head CH No. (1 digit BCD) R/W Head CH 1 designation: 1 R/W Head CH 2 designation: 2 The CD1D must be set to 1. +(64(N–1)+4) Leading address No.
Appendix M V600/V620 ID Controller Protocol 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) First word of send +0 data +1 Number of send data words Number of Heads (Undefined) +2 Unit No. (Undefined) +3 Head CH No. +4 Leading address No.
Appendix M V600/V620 ID Controller Protocol 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) First word of send +0 data +1 Number of send data words Number of Heads (Undefined) +2 Unit No. (Undefined) +3 Head CH No. +4 Leading address No.
Appendix M V600/V620 ID Controller Protocol Write (Hexadecimal/1) (Sequence No. 522) This sequence is used when the number of Heads to be written to the Carrier is 1. Send Data Word Allocation (2nd Operand of PMCR) First word of send +0 data +1 Number of send data words (Undefined) (Undefined) +2 Unit No. Head CH No. +3 Leading address No.
Appendix M V600/V620 ID Controller Protocol 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) First word of send +0 data +1 Number of send data words Number of Heads (Undefined) +2 Unit No. (Undefined) +3 Head CH No. +4 Leading address No.
Appendix M V600/V620 ID Controller Protocol 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) First word of send +0 data +1 Number of send data words Number of Heads (Undefined) +2 Unit No. (Undefined) +3 Head CH No. +4 Leading address No.
Appendix M V600/V620 ID Controller Protocol Note 1. Write data 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. 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.
Appendix M V600/V620 ID Controller Protocol Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0007 to 0107 +1 Number of Heads (4 digits BCD) 0001 to 0004 +(14(N–1)+2) Unit No. (2 digits BCD) Arbitrary (However, there is a limit for the maximum Unit No. depending on the model) +(14(N–1)+3) R/W Head CH No. (1 digit BCD) R/W Head CH 1 designation: 1 R/W Head CH 2 designation: 2 The CD1D must be set to 1. +(14(N–1)+4) Leading address No.
V600/V620 ID Controller Protocol 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. 519 (Write (ASCII/2)). However, the leading address No., number of write, and write data are not used and become undefined.
V600/V620 ID Controller Protocol Appendix M Receive Data Word Allocation (3rd Operand of PMCR) None. Note 1. Execute Sequence No. 532 before executing Sequence No. 533. 2. Retry processing is not performed for this sequence. Polling Auto-write (Hexadecimal/2) (Sequence No. 534) This sequence is used when the number of Heads to be written to the Carrier is 2. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No. 523 (Write (Hexadecimal/2)).
Appendix M V600/V620 ID Controller Protocol Note 1. Execute Sequence No. 536 before executing Sequence No. 537. 2. Retry processing is not performed for this sequence. Polling Auto-write (Hexadecimal/8) (Sequence No. 538) This sequence is used when the number of Heads to be written to the Carrier is 8. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No. 525 (Write (Hexadecimal/8)).
Appendix M V600/V620 ID Controller Protocol Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words +0 Number of receive data words (Undefined) +1 Completion code Offset Contents (data format) +0 Number of receive data words (4 digits BCD) 0002 (fixed) Data +1 Completion code (2 digits Hexadecimal) (Verification, calculation designation) 00: Normal completion for calculation processing 75: Data in normal condition for verification processing 76: Error Data alarm for verif
Appendix M V600/V620 ID Controller Protocol Error Information Read (Sequence No. 542) This sequence reads information from the latest error log. Send Data Word Allocation (2nd Operand of PMCR) First word of send +0 data +1 Number of send data words (Undefined) Offset Unit No. Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No.
Appendix M V600/V620 ID Controller Protocol Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 (fixed) +1 Completion code (2 digits Hexadecimal) 00: Normal termination 14: Auto or communications command processing not executed 75: Cancelled before the end of expansion command receive or before sync input went active or before detection of the existence of Data Carrier 76: Cancelled during read/write processing for Data Carrier Polling Auto-read Command Processin
Appendix M V600/V620 ID Controller Protocol General-purpose Command (Sequence No. 546) 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.
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. Sequence No.
Appendix N Hayes Modem AT Command Protocol Connections The connections when using the Hayes Modem AT Command Protocol is shown below.
Appendix N Hayes Modem AT Command Protocol Modem Settings When this protocol is used, it is required that the modem connected to the Serial Communications Board be initialized to the following conditions: Command echo No Result code display format Numeric format Speed display, busy/dialling tone detection at connection Error correction data compression display Baud rate display enabled, busy and dialling tone detection enabled.
Appendix N Hayes Modem AT Command Protocol MD144FB5V (OMRON) The following command is set in the words specified by the second operand of PMCR. ATE0V0X4\V2\N3%C0*C0\Q0&M0&D0%B9600S26=10 0023 0041 A T E 0 V 0 X 4 \ V 2 \ N 3 %C 0 * C 0 \ Q 0 & M 0 & D 0 % B 9 6 0 0 S 2 6 = 1 0 Character string length of modem initialization command (bytes) Code length of PMCR when it is used (words) ME1414VBII/ME1414BII (OMRON) The following command is set in the words specified by the second operand of PMCR.
Appendix N Hayes Modem AT Command Protocol Setting Example If telephone number is 03-0123-4567 0010 0016 4154 4454 3033 2D30 3132 332D 3435 3637 AT DT 03 –0 12 3– 45 67 Character string length of dialling operation sent to modem (bytes) Code length of PMCR when it is used (words) Note 1. This example uses a tone line. Change ATDT to ATDP for pulse lines. 2.
Appendix N Hayes Modem AT Command Protocol Password Verification Operation The number of retries is 3 for password verification. PC Personal computer (remote exchange) Password verification (starting #552) Dispatching character string “Password: ” Receiving character string (Retry up to 3 times) Password Issuing password Receiving password Verifying password Verification result When Instruction Execution Flag (SR 28908 or SR 28913) turns ON.
Appendix N Hayes Modem AT Command Protocol Setting Example When send data is THIS IS SAMPLE. 0009 0014 5448 4953 2049 TH IS I 5320 S 5341 4D50 4C45 SA MP LE Character string length of send data sent to modem (bytes) Code length of PMCR when it is used (words) A maximum of 200 bytes (including the CR) can be received.
Index Numbers 1:1 Data Link, 3, 4, 6, 107 functions, 108 ports, connections, 110 specifications, 109 starting, 108 1:1 NT Link, 3, 4, 7 1:N NT Link, 3, 4, 7 errors, 129 2-wire and 4-wire connections, transmission circuits, 19 2-wire or 4-wire switch, 13 3Z4L Laser Micrometer, 63 connections, 319 protocols, sequences, 317–347 components, names and functions, 10 CompoWay/F, protocols, 63 CompoWay/F Master command and response formats, 138 communications specifications, 138 connections, 151 message frames, 14
Index errors 1:N NT Link, 129 error codes, 30, 81, 85, 105 error flags, 30 flags, 121 Host Link, 121 end codes, 52 indicators, 120 protocol macros, 125 troubleshooting, 121 ES100 Digital Controller, 63 connections, 244 protocols, sequences, 243–282 Executed Reception Case No. (code), 82 external dimensions, connector cover, 15 F F200/F300/F350 Visual Inspection Unit, 63 ferrite cores, xvi flags, 30 errors, 121 Frame Check Sequence.
Index P parameters sequence, 77 step, 78 PC Setup, 8, 28 link words, 1:1 Data Link, 108 standard settings 1:1 Data Link, 109 Host Link, 37 no-protocol communications, 100 NT Links, 116 protocol macros, 67 PC-initiated communications, 34 PMCR(––) instruction, 85, 143 operand settings, 89 specifications, 85 ports, 8 See also RS-232C ports; RS-422A/485 ports settings, 29 protocols, 4, 136 See also standard system protocols 3Z4L Laser Micrometer, sequences, 317–347 CompoWay/F, sequences, 137 creating, 64 E5 J
Index S safety precautions.
Index Write Level 2 Parameters 1, 180 Write Level 2 Parameters 2, 181 Write Manual Reset Value, 173 Write MV at Stop Time and at PV Error, 175 Write MV Limits, 175 Write Proportional Band, Integral Time, and Derivative Time, 172 Write Set Point, 172 Write SP Ramp Time Unit and Set Value, 174 sequences, E5ZE Temperature Controller Cancel Autotuning, 218 Initialize Settings, 223 Read Alarm Mode, 197 Read Alarm Temperatures, 198 Read Control Period, 196 Read Cooling Coefficient, 208 Read Dead Band/Overlap Band
Index sequences, K3T Intelligent Signal Processor General-purpose Command, 303 Model Data Read (by Unit Number), 301 Model Data Read (Continuous Units), 302 Read Display Value (PV) (by Unit Number), 299 Read Display Value (PV) (Continuous Units), 301 Read Holding Data, 297 Read Holding Data BH (Continuous Units), 299 Read Holding Data PH (Continuous Units), 298 Read Set Value (by Unit Number), 293 Read Set Value H (Continuous Units), 294 Read Set Value H with Bank (Continuous Units), 296 Read Set Value HH
Index sequences, Visual Inspection System Arbitrary Measurement Value Acquisition (F200), 355 Binary Level Modification (F200/300), 364 Camera Change (Decrease by 1) (F200/300), 363 Camera Change (Increase by 1) (F200/300), 364 Camera Designation and Positioning (F350), 362 Character String Inspection and Character Inspection (F350), 363 Continuous Measurement Execution (Interrupt) (F200), 353 Continuous Measurement Execution (Interrupt) (F300), 359 Continuous Measurement Execution (Scan) (F200), 352 Contin
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-1 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
Authorized Distributor: Cat. No. W365-E1-1 Note: Specifications subject to change without notice.