Escolar Documentos
Profissional Documentos
Cultura Documentos
Introduction
Appendices B the N provide information on the standard system protocols provided with the CX-Protocol, the
Serial Communications Boards, and the Serial Communications Units. Refer to 5-4 Using Protocol Macros for
details on using PMCR(260).
1. Set the sequence number as a hexadecimal value in the second operand of PMCR(260).
2. Specify the address of the first word containing the data required for the sequence as the third
operand (S: First word of send data) of PMCR(260).
3. Specify the address of the first word where respond data is to be stored as the fourth operand
(D: First receive data storage word) of PMCR(260). Unless there is a reason to specify otherwise, set 0000 Hex in D at the initial value.
Example
The following data would be used to execute sequence number 600 in the CompoWay/F Master Protocol for a
transmission with ASCII conversion.
PMCR(260)
#0258
S
D
Offset
+0
+1
(Undefined)
Node number
+2
(Undefined)
SRC
+3
+4
Send data
Data
S+0
S+1
(Undefined)
00 to 99
S+2
MRC
(2 digits Hex)
SRC (2 digits Hex) Set the command code for the required service
S+3
S+4
on
359
Appendix A
Introduction
D: Receive Data Word Allocation (4th Operand)
Receive data
storage words
+0
+1
Response code
+2
Offset
Receive data
Data
D+0
D+1
D+2
on
Function
Protocol for sending CompoWay/F commands as a Master to OMRON CompoWay/F
slave components and receiving responses.
Host Link C-mode Command Mas- Protocol for sending C-mode (Host Link) commands to OMRON C-series or CS/CJter (See note.)
series PLCs used as slaves and receiving responses.
Host Link FINS Command Master Protocol for sending Host Link FINS commands to OMRON CS/CJ-series or CVM1/
(See note.)
CV-series PLCs used as slaves and receiving responses.
Mitsubishi Computer Link Master Protocol for sending Computer Link commands to Mitsubishi PLCs (Sequencer CPU)
(A-compatible, 1C frame, model 1) used as slaves and receiving responses.
(See note.)
E5@K Digital Controller Read
Protocol for controlling an E5@K Digital Controller via the Communications Board.
Procedures for reading the MV the operating parameter settings
E5@K Digital Controller Write
Protocol for controlling an E5@K Digital Controller via the Communications Board.
Procedures for writing set points and operating parameters.
ES100@ Controller
Protocol for controlling an ES100@ Controller via the Communications Board. Procedures for writing adjustment parameters, reading operation amounts, and writing/
reading operating parameters.
Protocol for controlling a Digital Panel Meter via the Communications Board. Procedures for writing comparison values and reading display values are set.
Protocol for controlling a Bar Code Reader via the Communications Board. Procedures for controlling the Bar Code Reader in remote mode, reading the data that has
been read by the Bar Code Reader, and reading/writing operating parameters.
Protocol for controlling a Laser Micrometer via the Communications Board. Procedures for controlling the Laser Micrometer in remote mode, reading measured data,
and writing/reading operating parameters.
Protocol for controlling a Visual Inspection System via the Communications Board.
Procedures for controlling the Visual Inspection System in remote mode, reading
measured values, and writing/reading operating parameters.
360
Introduction
Protocol name
V600/V620 ID Controllers
Appendix A
Function
Protocol for controlling an ID Controller via the Communications Board. Procedures
for performing Read/Write operations of the ID Controller and writing/reading operating parameters.
Protocol for controlling a Hayes modem (AT commands) via the Communications
Board. Procedures for initialization of the modem, dialing, data transmission, switching to escape mode, and disconnecting the line.
361
Introduction
362
Appendix A
Appendix B
CompoWay/F Master Protocol
The CompoWay/F Master Protocol is used to send CompoWay/F commands with the CS/CJ-series PLC 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 PLC 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. Using CompoWay/
F commands, the host can read/write data, settings, and operating status to control the operation of the components.
CompoWay/F has the following features.
The same message frame format is used, eliminating the need for special protocols for each component.
The same commands can thus be used for serial communications with all CompoWay/F components.
The CompoWay/F protocol conforms to OMRONs standard FINS command protocol, providing compatibility with other networks and more flexible expansions in the future.
The CompoWay/F Master Protocol is provided as a standard system protocol to enable the CS/CJ-series PLC
to execute read/write sequences for CompoWay/F commands.
CompoWay/F response
RS-232C
CompoWay/F command
RS-422A/486 Connections
CompoWay/F response
RS-422A/485
CompoWay/F command
OMRON CompoWay/F components: Slaves
363
Appendix B
Communications Specifications
Item
Transmission path
connections
Communications
Synchronization
Baud rate
Transmitted code
Data length
Specification
Multipoint
RS-232C, RS-422A/485, 4-wire half-duplex, 2-wire half-duplex
Start-stop
1,200/2,400/4,800/9,600/19,200/38,400 bps
Default: 9,600 bps
ASCII
7 bits or 8 bits (Default: 7 bits)
Note: A 7-bit code is used with 0 added to the beginning.
1 bit or 2 bits (Default: 2 bits)
Stop bits
Error detection
Transmission Procedure
The PLC or host computer serving as the master sends a command and the component serving as the slave
returns a response for the command message contained in the command. One response message is returned
for each command message. The movement of command and response messages is shown below.
Master (PLC or host computer)
Command message
Slave (component)
Response message
Subaddress
"00"
1 byte
Command
"0"
2 bytes
2 bytes
1 byte
Node No.
Subaddress
End code
Text
Data
1 byte
1 byte
1 byte
1 byte
Response Format
1 byte
2 bytes
"00"
"00"
2 bytes
2 bytes
Response
Text
Data
(See note.)
Note 1. Data is not saved in the response if there is a command frame error (i.e., if the end code is not 00 or
0F).
2. Other values are possible for the subaddress and SID.
364
Appendix B
Meaning
STX
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. Other values must be set for special
components.
The command and required text are placed here. Refer to the command codes and text for individual sequences.
The command code specifies the service being used. Refer to the
command codes and text for individual sequences.
ETX
BCC
Meaning
STX
Node number
Subaddress
00 for most components. Other values must be set for special components.
SID
0 for most components. Other values must be set for special components.
The response and requested text are placed here. Refer to the
response and text for individual sequences.
ETX
BCC
Name
Meaning
00
Normal end
0F
Command error
10
Parity error
11
Framing error
12
Overrun error
13
BCC error
14
Format error
16
Subaddress error
18
365
Appendix B
The command and response frames for a K3N@-series Intelligent Signal Processor are shown below.
Command Frame
Node No.
Subaddress
"00"
Text
Command
"0"
SID
Data
Command
code
Command
Data contents
Command
code
01 01
Data contents
Variable type
Address
00
No. of elements
01
02
Variable type
Address
00
No. of elements
02
01
Parameter
type
Address
No. of elements
02
02
Parameter
type
Address
No. of elements
05
03
06
08
01
01
Text data
OPERATION COMMAND
30
05
Command code
Write data
Write data
Response Format
Node No.
Subaddress
End code
Response
"00"
Text
Data
Command
code
366
Response
code
Appendix B
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
"00"
2 bytes
"00"
"C0"
2 bytes
2 bytes
No. of
elements
"00"
4 bytes
"0001"
4 bytes
1. Variable Type
Variable type
C0
Contents
Present value, maximum value, minimum value, status, and
comparison value
Note If 0000 is specified, nothing will be read and a normal end will be returned. A parameter error will occur
for any settings other than 0000 and 0001.
Response Text
"01"
"01"
Response code
2 bytes 2 bytes
Read data
4 bytes
8 bytes
Meaning
Normal end
1001
1002
1100
1101
Parameter error
Area type error
1103
2203
2. Read Data
The specified data is returned in 8 digits of hexadecimal data.
367
Appendix B
Communications
sequence name
Function
600 (0258)
601 (0259)
Yes
No
602 (025A)
Yes
Yes
603 (025B)
Yes
No
604 (025C)
General-purpose send
with no conversion and
with response
Yes
Yes
605 (025D)
Yes
No
606 (025E)
Yes
Yes
607 (025F)
Yes
Yes
Yes
Yes
610 (0262)
368
Ladder interface
Send word
Receive word
allocation
allocation
Yes
Yes
Appendix B
Communications
sequence name
611 (0263)
612 (0264)
613 (0265)
Function
Ladder interface
Send word
Receive word
allocation
allocation
Yes
Yes
Yes
No
Yes
Yes
614 (0266)
Yes
No
615 (0267)
Yes
Yes
616 (0268)
Yes
Yes
617 (0269)
Yes
No
618 (026A)
Yes
Yes
619 (026B)
Yes
Yes
620 (026C)
Echoback test
Yes
Yes
621 (026D)
Operation command
Yes
Yes
369
Appendix B
Subaddress
"00"
"0"
"01"
"01"
Variable
type
First read
address
"C0"
"0000"
Command
No. of
elements
"00"
"0001"
Send data
PMCR(260) Instruction
#0258
(Undefined)
S+1
Node number
S+2
S+3
S+4
S+5
Send data
S+6
Response Frame
Node No.
Subaddress
End code
"00"
"01"
"01"
Response code
Response code
Receive data
Read data
Receive data
PMCR(260) Instruction
#0258
D
D+1
Response code
D+2
Receive data
D+3
Send sequence
Send word order: Rightmost to leftmost
Send data words
Rightmost word 1 2 3 4
Leftmost word
370
Receive sequence
5 6 7 8
Send frame
"12"
"34"
"56"
Receive frame
"78"
"12"
"34"
"56"
"78"
5 6 7 8 Rightmost word
1 2 3 4 Leftmost word
Appendix B
Send sequence
Receive sequence
Receive frame
Send data words
"12"
Send frame
Rightmost word 1 2 3 4
"56"
"78"
"12"
"34"
"56"
"78"
5 6 7 8 Rightmost word
1 2 3 4 Leftmost word
"34"
Leftmost word 5 6 7 8
607 (025F)
Send frame
Rightmost word 1 2 3 4
"12"
"34"
Receive frame
"56"
"78"
"12"
"34"
"56"
"78"
1 2 3 4 Rightmost word
5 6 7 8 Leftmost word
Leftmost word 5 6 7 8
+0
+1
(Undefined)
Node No.
+2
MRC
SRC
+3
+4
Offset
Data
+0
+1
(Undefined)
00 to 99
+2
MRC
(2 digits Hex)
SRC (2 digits Hex) Set the command code for the required service
+3
+4
on
Note 1. Set the number of send bytes to twice the number of bytes in memory. This is necessary because the
data is converted to ASCII data before being sent.
2. Frames are created and sent starting from the rightmost to leftmost word of the address in I/O memory.
Send data words
1 2 3 4
Send frame
"12"
"34"
"56"
"78"
5 6 7 8
371
Appendix B
+0
+1
Response code
+2
Receive data
Offset
Data
+0
+1
+2
on
Note Received frames are stored starting from the leftmost to rightmost word of the address in I/O memory.
Receive frame
"12"
"34"
"56"
"78"
1 2 3 4
Example: The following example illustrates reading the present value from a K3N@-series Intelligent Signal
Processor.
CS/CJ-series PLC
CompoWay/F response
Read data = present value
CompoWay/F command
VARIABLE AREA READ
Command code: 01 01
First read address
Sequence No. 600 (Send with ASCII Conversion, with Response) is used. The specified data beginning with
the command code is converted ASCII and sent to the Intelligent Signal Processor with the specified node
number. The response is converted to hexadecimal and stored starting at the specified word.
The command frame for reading the present value for a K3N@-@@@@-FLK1/2/3/4/5/6 Intelligent Signal Processor (command code 01 01) is shown below. The following data is specified in the operands for PMCR(260).
Rightmost byte of S+1: Node number (2 digits BCD)
S+2: Command code: MRC + SRC = 0101
S+4 on: Send data = Variable type + first read address + 00 + number of elements.
STX
Node No.
(101)
Subaddress
00
SID
Command code
MRC
01
SRC
01
Send data
ETX
Variable
type
First read
address
(Note)
C0
0000
00
0001
BCC
(03 Hex)
372
Appendix B
Node No.
Subaddress
End
code
Command code
MRC
(02 Hex)
(101)
(101)
01
Response code
Receive
data
Note 1
Read data
(Note 2)
SRC
01
00
00
0000
ETX
BCC
(03 Hex)
Data in shaded portions is stored at the location specified by the operand in the PMCR(260) instruction.
Note 1. Response Codes
Response code
0000
Meaning
Normal end
1001
1002
1100
1101
Parameter error
Area type error
1103
2203
2. The read data is returned as 4-digit hexadecimal as follows: F0019999 to 00099999 Hex.
The 3rd and 4th operands of the PMCR(260) instruction are specified as follows.
Send Data Word Allocation (3rd Operand of PMCR(260))
Offset
Data
+0
0007 Hex
+1
(Undefined)
0000 Hex
+2
MRC
(2 digits Hex)
+3
000C Hex
+4
C000 Hex
+5
0000 Hex
+6
0001 Hex
Data
+0
+1
+2
+3
373
Appendix B
First word of
send data
+1
MRC
+2
Offset
SRC
+3
+4
Send data
Data
+0
+1
(Undefined)
---
+2
MRC
(2 digits Hex)
+3
+4
on
SRC
(2 digits Hex)
Note 1. Set the number of send bytes to twice the number of bytes in memory. This is necessary because the
data is converted to ASCII data before being sent.
2. When hexadecimal data is converted to ASCII data, data is sent starting from the send data word with
the largest offset. This is done because ladder programming handles data in 4-byte units.
Send data words
1 2 3 4
Send frame
"56"
"78"
"12"
"34"
5 6 7 8
+0
(Undefined)
Node No.
+2
MRC
SRC
+3
+4
374
+1
Appendix B
Data
+0
+1
(Undefined)
00 to 99
+2
MRC
(2 digits Hex)
SRC
(2 digits Hex)
+3
Send data
+4
on
+0
+1
+2
+3
+4
+5
+6 etc.
Offset
+0
+1
Response code
+2
Receive data
Data
+0
+1
+2
on
+0
+1
+2
+3
+4
+5
+6 etc.
+0
+1
(Undefined)
+2
+3
+4
Offset
MRC
SRC
Data
+0
+1
(Undefined)
---
+2
MRC
(2 digits Hex)
+3
SRC
(2 digits Hex)
375
Appendix B
Data
Send data
+0
+1
+2
+3
+4
+5
+6 etc.
Offset
+0
+1
(Undefined)
Node No.
+2
(Undefined)
Subaddress
+3
(Undefined)
SID
+4
+5
Send data
Data
+0
+1
Always 00 Hex
00 to 99
+2
MRC
(2 digits Hex)
Subaddress
(2 digits Hex)
+3
Always 00 Hex
+4
Send data
+5
on
+0
+1
+2
+3
+4
+5
+6 etc.
Offset
376
+0
+1
Response code
+2
Response data
Data
+0
+1
Appendix B
Data
Receive data
+0
+1
+2
+3
+4
+5
+6 etc.
Offset
+0
+1
+2
(Undefined)
(Undefined)
Subaddress
+3
(Undefined)
SID
+4
+5
Send data
Data
+0
+1
---
+2
MRC
(2 digits Hex)
Subaddress
(2 digits Hex)
+3
Always 00 Hex
+4
Send data
+5
on
+0
+1
+2
+3
+4
+5
+6 etc.
377
Appendix B
Connections
Connection methods between a Serial Communications Board or Unit 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
Unit/Board
RS-232C
RS-232C
Abbrevi- Pin
ation
No.
FG
FG
SG
SG
SD
SD
TX
RD
RD
RX
RTS
RTS
CTS
CTS
DSR
DSR
DTR
20 DTR
Shield
Serial
Communications
Unit/Board
K3N@-@@@@-FLK1
Intelligent
Signal
Processor
RS-232C
Abbreviation
RS-232C
Pin
No.
Pin
No.
Abbreviation
SG
SD
RD
RTS
CTS
DSR
9
2
3
5
3
DTR
SG
SD
RD
RTS
CTS
DSR
DTR
FG
378
MAX232C or equivalent
2
7
8
6
4
4
5
7
1/
Shell
MAX232C or equivalent
Shield
K3N@-@@@@-FLK4
TX
RX
Appendix B
Intelligent Signal
Processor
RS-422
SN751177N or equivalent
Abbreviation
Terminal
220 block switch
Shell
6
8
1
2
220
Shield
Abbreviation
Ter- Abminal breviation
Shell
SN751177N or equivalent
Terminal
block
220 switch
1
+
Shield
Intelligent Signal
Processor end-station
AbTerminal brevi
ation
Terminal
220 block switch ON
+
Terminal block switch ON at the end station.
Shield
379
Appendix B
Offset
+0
+1
+2
Node No.
MRC
SRC
+3
+4
Send data
Data
+0
+1
(Undefined)
00 to 99
+2
MRC (2 digits hex) SRC (2 digits hex) Set the command code for the required service
+3
+4
on
Node No.
(2 digits BCD)
Set the number of send bytes to twice the number of bytes in memory. This is necessary because the data is
converted to ASCII data before being sent. The frames are created and sent in order from the leftmost word to
rightmost word of the I/O memory address.
Send data words
1 2 3 4
Send frame
"56"
"78"
"12"
"34"
5 6 7 8
Offset
+0
+1
+2
Response code
Receive data
Data
+0
+1
+2
on
The received frames are stored in order from the leftmost word to rightmost word of the I/O memory address.
Receive data words
Receive frame
"12"
"34"
"56"
"78"
5 6 7 8 Rightmost word
1 2 3 4 Leftmost word
380
Appendix B
Offset
+0
+1
+2
Node No.
MRC
SRC
+3
+4
Send data
Data
+0
+1
(Undefined)
00 to 99
+2
MRC (2 digits hex) SRC (2 digits hex) Set the command code for the required service
+3
+4
on
Node No.
(2 digits BCD)
Set the number of send bytes to twice the number of bytes in memory. This is necessary because the data is
converted to ASCII data before being sent. The frames are created and sent in order from the rightmost word
to leftmost word of the I/O memory address.
Send data words
Send frame
"12"
1 2 3 4
"34"
"56"
"78"
5 6 7 8
Offset
+0
+1
+2
Response code
Receive data
Data
+0
+1
+2
381
Appendix B
The received frames are stored in order from the rightmost word to leftmost word of the I/O memory address.
Receive data words
Receive frame
"12"
"34"
"56"
1 2 3 4
"78"
Rightmost word
5 6 7 8 Leftmost word
Offset
+0
+1
+2
(Undefined)
+3
+4
Number of elements
Node No.
Variable type
Data
+0
+1
(Undefined)
00 to 99
+2
Variable type
(2 digits hex)
+3
+4
Node No.
(2 digits BCD)
Offset
+0
+1
+2
Response code
Receive data
Data
+0
+1
+2
on
The received frames are stored in order from the leftmost word to the rightmost word of the I/O memory
address.
Receive data words
Receive frame
"12"
"34"
"56"
"78"
1 2 3 4
Rightmost word
5 6 7 8 Leftmost word
382
Appendix B
+0
+1
+2
(Undefined)
+0
+1
Variable type
+3
+4
Number of elements
+5
+6
Offset
Node No.
Write data
Data
+2
+3
+4
Number of elements
(4 digits BCD)
Number of bytes to write
(4 digits hex)
+5
+6
on
Write data
Set the number of write bytes to twice the number of send data in memory. This is necessary because the data
is converted to ASCII data before being written. When hexadecimal data is converted to ASCII data, data in the
first write address +0 and +1 is stored in I/O memory in order from the rightmost word to leftmost word and the
data is sent starting from the send data word with the largest offset. This is done because ladder programming
handles data in 2-word (4-byte) units.
0
0
0
0
0
0
0
0
0
0
0
0
3
2
1
0
Send frame
1
+0
+1
Response code
Offset
Contents (data format)
+0
Number of receive data words
Data
Always 0002 hex (2 decimal)
+1
383
Appendix B
+0
+1
+2
(Undefined)
+3
+4
+5
+6
Offset
Variable type
First write address
Number of elements
Number of bytes to write
Write data
Data
+0
+1
(Undefined)
---
+2
Variable type
(2 digits hex)
+3
+4
Number of elements
(4 digits BCD)
+5
+6
on
Write data
Node No.
(2 digits BCD)
Set the number of write bytes to twice the number of send data in memory. This is necessary because the data
is converted to ASCII data before being written. When hexadecimal data is converted to ASCII data, data in the
first write address +0 and +1 is stored in I/O memory in order from the leftmost word to the rightmost word and
the data is sent starting from the send data word with the largest offset. This is done because ladder programming handles data in 2-word (4-byte) units.
0
0
0
0
0
0
0
0
0
0
0
0
3
2
1
0
Send frame
1
384
Appendix B
First word of
send data
Offset
+1
+2
(Undefined)
+3
+4
+5
Node No.
Variable type
Data
+0
+1
(Undefined)
00 to 99
+2
Variable type
(2 digits hex)
+3
+4
Number of elements
(4 digits BCD)
+5
Node No.
(2 digits BCD)
Offset
+0
+1
Response code
Data
+0
+1
+0
+1
+2
(Undefined)
+3
+4
+5
Variable type
First write address
Number of elements
Write data
385
Appendix B
Data
+0
+1
(Undefined)
+2
Variable type
(2 digits hex)
+3
+4
+5
First word of
send data
Offset
+1
+2
Node No.
Parameter type
+3
+4
Number of elements
Data
+0
+1
(Undefined)
00 to 99
+2
+3
+4
Node No.
(2 digits BCD)
+0
+1
Response code
+2
Variable type
+3
+4
Number of elements
+5
Offset
386
Read data
Data
+0
+1
+2
+4
+5
Appendix B
The received frames are stored in order from the leftmost word to the rightmost word of the I/O memory
address.
Receive data words
Receive frame
"12"
"34"
"56"
1 2 3 4
"78"
Rightmost word
5 6 7 8 Leftmost word
First word of
send data
+1
+2
+3
+4
Number of elements
+5
+6
Offset
Write data
Data
+0
+1
+2
+3
+4
Number of elements
(4 digits hex)
+5
+6
on
Write data
Set the number of write bytes to twice the of the actual number of send data bytes. This is necessary because
the data is converted to ASCII data before being written. When hexadecimal data is converted to ASCII data,
data in the first write address +0 and +1 is stored in I/O memory in order from the leftmost word to the rightmost
word and the data is sent starting from the send data word with the largest offset. This is done because ladder
programming handles data in 2-word (4-byte) units.
0
0
0
0
0
0
0
0
0
0
0
0
3
2
1
0
Send frame
1
387
Appendix B
Offset
+0
+1
Response code
Data
+0
+1
+0
+1
+2
(Undefined)
Parameter type
+3
+4
Number of elements
+5
+6
Offset
Write data
Data
0007 to 00FA Hex (7 to 250 decimal)
---
+2
(Undefined)
Parameter type (4 digits hex)
+3
+4
+5
+0
+1
+6
Set the number of write bytes to twice the of the actual number of send data bytes. This is necessary because
the data is converted to ASCII data before being written. When hexadecimal data is converted to ASCII data,
data in the first write address +0 and +1 is stored in I/O memory in order from the leftmost word to the rightmost
word and the data is sent starting from the send data word with the largest offset. This is done because ladder
programming handles data in 2-word (4-byte) units.
0
0
0
0
0
0
0
0
0
0
0
0
3
2
1
0
Send frame
1
388
Appendix B
Offset
+0
+1
+0
+1
Node No.
Data
+0
+1
Response code
+2
Model number
+3
+4
+5
Offset
(Undefined)
Buffer size
Data
+0
+1
+2
+3
+4
+5
(Undefined)
Buffer size (4 digits hex)
Offset
+0
+1
Node No.
+0
Data
Always 0002 hex (2 decimal)
+1
(Undefined)
00 to 99
Node No.
(2 digits BCD)
389
Appendix B
+0
+1
+2
+3
Response code
Run status
Error status, etc.
Offset
Contents (data format)
+0
Number of receive data words
Data
0003 to 00FA hex (3 to 250 decimal)
+1
+2
Run status
(2 digits hex)
Error status, etc.
+3
Echoback Test
(Sequence No. 620 (Hex 026C))
This sequence executes an echoback test at the specified node.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
+2
+3
on
Offset
+0
+1
+2
+3
on
Data
0004 to 00FA Hex (4 to 250 decimal)
00 to 99
0001 to 007A Hex (1 to 122 decimal)
Set the number of data bytes for the
test.
The test data is sent.
Offset
+1
Response code
+2
Test data
Data
+1
+2
Test data
+0
390
+0
Appendix B
Operation Command
(Sequence No. 621 (Hex 026D))
This sequence remotely stops/starts operations of the device at the specified node number.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
+2
+3
+4
Offset
Data
+2
+3
Command code
(2 digits hex)
+4
Related information
+0
+1
+0
+1
Response code
+2
Command code
Related information
+0
Offset
Data
0003 to 00FA hex (3 to 250 decimal)
+1
+2
Command code
(4 digits hex)
Related information
+3
391
392
Appendix B
Appendix C
C-mode (Host Link) Command Master
The C-mode (Host Link) command master protocol provides communications sequences using C-mode command codes for a PLC (CS/CJ Series) host (master).
This protocol enables any C-mode command to be sent from a Serial Communications Unit/Board installed in
a CS/CJ-series PLC to a CS/CJ-series or C-series (see note) CPU Unit that is connected via RS-232C or RS422A/485.
Note C-series PLCs refer to the C200H, C200HS, C200HX/HG/HE(-Z), C120, C500, C500F, C1000HF,
CQM1, CPM1, CPM1A, CPM2A, CPM2C, SRM1, CQM1H, C1000H, and C2000H.
Serial Communications Board/Unit
CS/CJ-series
PLC
PMCR
(260)
PMCR
(260)
C-mode command
Response
C-mode command
Response
CS/CJ-series PLC
CS/CJ-series PLC
CS/CJ-series PLC
CS/CJ-series PLC
Command Frame
"@"
40 hex
1 byte
Host Link
unit number
1
Text
Command code
FCS
(X10 )(X10 )
2 bytes
"*"
2A hex
2 bytes
1 byte
CR
0D hex
2 bytes
Response Frame
"@"
40 hex
1 byte
Host Link
unit number
1
Command code
0
Text
FCS
(X16 )(X16 )
(X10 )(X10 )
2 bytes
End code
2 bytes
2 bytes
1 byte
"*"
CR
2A hex
0D hex
2 bytes
393
Appendix C
Contents
Must be attached at the beginning of the command.
Host Link unit num- Set the unit number in BCD from 0 to 31 for each Host Link.
ber
Command code
Text
FCS
Terminator
Contents
@
Must be attached at the beginning of the response.
Host Link unit num- Set the unit number in BCD from 0 to 31 for each Host Link.
ber
Command code
The command code that was received is returned.
End code
Text
FCS
Terminator
For details on C-mode command codes for sending to CS/CJ-series CPU Units, refer to the CS/CJ Series
Communications Commands Reference Manual (W342). For details on C-mode command codes for sending
to C-series CPU Units, refer to each of the C-series PLC operation manuals.
Communications
sequence name
700 (02BC)
701 (02BD)
Send/receive CSends the text data for the specified C-mode command
Yes
mode command
to the specified Host Link Unit without converting into
(without conversion) ASCII. The response is stored starting from the specified
word without converting into hexadecimal.
CIO AREA READ
Reads the contents of the specified number of CIO Area Yes
words beginning with the designated word from the specified Host Link Unit and stores starting from the specified
storage word.
702 (02BE)
394
Function
Converts the text data for the specified C-mode command into ASCII and sends to the specified Host Link
Unit. The response is converted into hexadecimal and
stored starting from the specified word.
Ladder interface
Send word
Receive
allocation
word
allocation
Yes
Yes
Yes
Yes
Appendix C
Communications
sequence name
Function
Ladder interface
Send word
Receive
allocation
word
allocation
Yes
Yes
703 (02BF)
LR AREA READ
704 (02C0)
HR AREA READ
Yes
705 (02C1)
TIMER/COUNTER
PV READ
706 (02C2)
TIMER/COUNTER
STATUS READ
Yes
707 (02C3)
DM AREA READ
708 (02C4)
AR AREA READ
Yes
709 (02C5)
EM AREA READ
710 (02C6)
Yes
711 (02C7)
LR AREA WRITE
Writes the specified write data to the specified Host Link Yes
Unit starting from the designated CIO Area word. Writing
is done in word units.
Writes the specified write data to the specified Host Link Yes
Unit starting from the designated Link Area (CS/CJ
Series: CIO 1000 to CIO 1199) word. Writing is done in
word units.
712 (02C8)
HR AREA WRITE
Yes
Yes
713 (02C9)
TIMER/COUNTER
PV WRITE
Writes the specified write data to the specified Host Link Yes
Unit starting from the designated timer/counter PV word.
Writing is done in word units.
Yes
714 (02CA)
DM AREA WRITE
Yes
Yes
715 (02CB)
AR AREA WRITE
Yes
Yes
Yes
Yes
Yes
Yes
Changes the CPU Units operating mode for the specified Yes
Host Link Unit.
Yes
718 (02CE)
STATUS CHANGE
Yes
Yes
Yes
Yes
395
Appendix C
Communications
sequence name
Function
719 (02CF)
TEST
720 (02D0)
ABORT
Ladder interface
Send word
Receive
allocation
word
allocation
Executes a data loopback test for the specified Host Link Yes
Yes
Unit.
Initializes the port of the specified Host Link Unit.
Yes
No
721 (02D1)
INITIALIZE
No
No
Command
code
FCS
Text
"*"
2A hex
PMCR(260)
#02BC
S
D
396
CR
0D hex
Appendix C
Host Link
unit number
(X101)(X100)
Command
code
End code
Text
(X101)(X100)
FCS
"*"
2A hex
CR
0D hex
PMCR(260)
#02BC
S
D
D
D+1
D+2
Offset
+0
+1
+2
(Undefined)
Host Link unit No.
C-mode command code
+3
+4
Text
+0
Data
0004 to 0022 hex (4 to 34 decimal)
+1
(Undefined)
00 to 31
+2
+3
+4
Text
397
Appendix C
Offset
+0
+1
+2
+0
(Undefined)
End code
Read data
+1
+2
Data
0003 to 00FA hex (3 to 250 decimal)
The end code is stored in hexadecimal.
The read data is converted into hexadecimal stored.
Note The read data from the end code area (+1 word, rightmost byte) is stored for responses without end
codes.
Offset
398
+0
+1
+2
(Undefined)
Host Link unit No.
C-mode command code
+3
+4
Text
+0
Data
0004 to 0040 hex (4 to 64 decimal)
+1
(Undefined)
00 to 31
+2
+3
+4
Text
Appendix C
Offset
+0
+1
+2
+0
+1
+2
Data
0003 to 00FA hex (3 to 250 decimal)
The end code is stored in hexadecimal.
The read data is converted into hexadecimal stored.
Note The read data from the end code area (+1 word, rightmost byte) is stored for responses without end
codes. Only the data stored in the end code area will be converted into ASCII.
Offset
+0
+1
+2
(Undefined)
Host Link unit No.
First read word
+3
+0
Data
Always 0004 hex (4 decimal)
+1
(Undefined)
00 to 31
+2
+3
0000 to 6143
Offset
+0
+1
+2
+3
+0
+1
+2
Data
0003 to 00FA hex (3 to 250 decimal)
The end code is stored in hexadecimal.
The contents of the first read word is
stored
The contents of the first read word +1
is stored
399
Appendix C
Offset
+0
+1
+2
+3
+0
+1
+2
(Undefined)
Host Link unit No.
First read word
+3
Data
0000 to 0199
Depends on the remote CPU Unit.
Offset
+1
+2
+0
Data
0003 to 00FA hex (3 to 250 decimal)
+1
(Undefined)
+2
+3
400
+0
End code
(2 digits hex)
Appendix C
Offset
+0
+1
+2
+3
+0
+1
+2
(Undefined)
Host Link unit No.
First read word
+3
Data
0000 to 0511
Depends on the remote CPU Unit.
Offset
+0
+1
+2
+0
Data
0003 to 00FA hex (3 to 250 decimal)
+1
(Undefined)
+2
+3
End code
(2 digits hex)
401
Appendix C
Offset
+0
+1
+2
(Undefined)
Host Link unit No.
First read word
+3
Data
+1
+2
+3
+0
Offset
+0
+1
+2
+3
402
+0
+1
+2
Data
0003 to 00FA hex (3 to 250 decimal)
The end code is stored in hexadecimal.
The contents of the first read word is
stored
The contents of the first read word +1
is stored
Appendix C
Offset
+0
+1
+2
(Undefined)
Host Link unit No.
First read word
+3
Data
+1
+2
+3
+0
Offset
+0
+1
+2
(Undefined)
End code
Read data
+0
Data
0003 to 00FA hex (3 to 250 decimal)
+1
(Undefined)
End code
(2 digits hex)
+2
+0
+4
+2
+6
ON: 1 hex
OFF: 0 hex
The Timer/Counter Completion Flag is
1 digit hex (4 bits) per point, and the
ON (1 hex) or OFF (0 hex) status is
stored in order from the leftmost to
rightmost digit in 1 word for each 4
points.
+3
+1
+5
+3
+7
403
Appendix C
Offset
+0
+1
+2
+3
+0
+1
+2
(Undefined)
Host Link unit No.
First read word
+3
Data
0000 to 9999
Depends on the remote CPU Unit.
Offset
+1
+2
+0
Data
0003 to 00FA hex (3 to 250 decimal)
+1
(Undefined)
+2
+3
404
+0
End code
(2 digits hex)
Appendix C
Offset
+0
+1
+2
+3
+0
+1
+2
(Undefined)
Host Link unit No.
First read word
+3
Data
0000 to 0959
Depends on the remote CPU Unit.
Offset
+0
+1
+2
+0
Data
0003 to 00FA hex (3 to 250 decimal)
+1
(Undefined)
+2
+3
End code
(2 digits hex)
405
Appendix C
Offset
+0
+1
+2
+3
+4
+0
+1
+2
(Undefined)
(Undefined)
Bank No.
+3
+4
Data
Offset
+0
+1
+2
+3
406
+0
+1
+2
Data
0003 to 00FA hex (3 to 250 decimal)
The end code is stored in hexadecimal.
The contents of the first read word is
stored
The contents of the first read word +1
is stored
Appendix C
Offset
+0
+1
+2
(Undefined)
+3
+4
Write data
Data
+3
+4
Write data
+0
+1
+2
0000 to 6143
+5
Offset
+0
+1
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
407
Appendix C
Offset
+0
+1
+2
(Undefined)
+3
+4
Write data
Data
+3
+4
Write data
+0
+1
+2
0000 to 0199
+5
Offset
+0
+1
408
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
Appendix C
Offset
+0
+1
+2
(Undefined)
+3
+4
Write data
Data
+3
+4
Write data
+0
+1
+2
0000 to 0511
+5
Offset
+0
+1
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
409
Appendix C
Offset
+0
+1
+2
+0
+1
+2
(Undefined)
+3
+4
Write data
Data
+3
+4
Write data
+5
Offset
410
+0
+1
End code
+0
Data
Always 0002 hex (2 decimal)
+1
(Undefined)
End code
(2 digits hex)
Appendix C
Offset
+0
+1
+2
(Undefined)
+3
+4
Write data
Data
+3
+4
Write data
+0
+1
+2
0000 to 9999
+5
Offset
+0
+1
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
411
Appendix C
Offset
+0
+1
+2
(Undefined)
+3
+4
Write data
Data
+3
+4
Write data
+0
+1
+2
0448 to 0959
+5
Offset
+0
+1
412
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
Appendix C
Offset
+0
+1
+2
(Undefined)
(Undefined)
Bank No.
+3
+4
+5
Write data
Data
+1
+2
(Undefined)
Bank No.
(2 digits hex)
First write word (4 bits hex)
+4
+5
Write data
+0
+3
+6
Offset
+0
+1
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
413
Appendix C
Offset
+0
+1
(Undefined)
+0
Data
Always 0002 hex (2 decimal)
+1
(Undefined)
00 to 31
+0
+1
(Undefined)
+2
Status data
+3
Message
End code
+4
+5
+6
+0
Offset
Data
0003 hex or 0007 hex (3 or 7 decimal)
+1
(Undefined)
+2
End code
(2 digits hex)
Status data (4 digits hex)
+3
Message
+4
+5
+6
Offset
+0
+1
+2
414
+0
+1
(Undefined)
+2
(Undefined)
Mode
Data
Always 0003 hex (3 decimal)
00 to 31
Appendix C
Offset
+0
+1
(Undefined)
End code
+0
Data
Always 0002 hex (2 decimal)
+1
(Undefined)
End code
(2 digits hex)
Offset
+0
+1
(Undefined)
+2
+3
Test data
+0
Data
0004 to 0022 hex (2 to 34 decimal)
+1
(Undefined)
00 to 31
+2
+3
Test data
Offset
+0
Data
0002 to 0031 hex (2 to 49 decimal)
+1
Test data
415
Appendix C
Offset
+0
+1
(Undefined)
+0
Data
Always 0002 hex (2 decimal)
+1
(Undefined)
00 to 31
416
Appendix D
Host Link FINS Command Master
The Host Link FINS Command Master Protocol provides communications sequences using FINS commands
with the CS/CJ-series PLC as the host (master).
This protocol is used to send user-specified or specific (e.g., MEMORY AREA READ) FINS commands
enclosed in a Host Link header and terminator from a Serial Communications Unit/Board installed in a CS/CJseries PLC connected through RS-232C or RS-422A/485 to a CS/CJ-series CPU Unit or to a Special I/O Unit
or CPU Bus Unit on the network.
Serial Communications Board/Unit
CS/CJ PLC
PMCR
(260)
Network
Communications Unit
CS/CJ or
CVM1/CV PLC
Protocol macro mode
(Host Link master)
Communications Unit
CPU Unit
FINS command
PLC on network
Communications Board
Network (Controller Link, Ethernet, etc.)
FINS command
PLC master
FINS command
Note The remote destination network address (DNA) specifies the local network address (00 hex), the remote
destination node address (DA1) specifies the local node (00 hex), and the remote destination unit
address (DA2) specifies the CPU Unit in the PLC Slave (00 hex).
2. Sending to a CPU Unit on the Network
Serial Communications Unit/Board
PLC slave
Host Link
FINS command
Note
1. The response monitoring time for both sending methods 1 and 2 is 3 s. These commands can
be sent across up to 3 network levels.
2. Slave-initiated FINS commands sent from the PLC slave to the PLC master are not supported
for either method 1 or 2.
417
Appendix D
"@"
40 hex
Host Link
command code
"A"
"F"
RSV "00"
ICF "80"
41 hex
30 hex
38 hex
30 hex
30 hex
30 hex
GCT "02"
30 hex
32 hex
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
@@ hex
@@ hex
@@ hex
@@ hex
@@ hex
30 hex
30 hex
30 hex
30 hex
30 hex
30 hex
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
@@ hex
2A hex
0D hex
1 byte
1 byte
(X10 )(X10 )
1 byte
DNA
@@ hex
Response
wait time "0"
46 hex
DA1
1 byte
SID "55"
DA2
SNA "00"
Command code
35 hex
35 hex
1 byte
1 byte
SA2 "00"
SA1 "00"
Text
"*"
FCS
@@@@@@@@ hex
@@ hex
4 bytes
CR
Response Frame
"@"
Host Link
unit number
40 hex
(X10 )(X10 )
1 byte
1 byte
Host Link
command code
"A"
"F"
46 hex
41 hex
30 hex
30 hex
43 hex
30 hex
30 hex
30 hex
GCT "02"
32 hex
30 hex
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
@@ hex
@@ hex
@@ hex
@@ hex
@@ hex
@@ hex
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
DNA "00"
30 hex
DA1 "00"
30 hex
1 byte
1 byte
SID "55"
35 hex
1 byte
"*"
2A hex
1 byte
418
1 byte
30 hex
1 byte
DA2 "00"
30 hex
1 byte
Command code
35 hex
1 byte
CR
0D hex
1 byte
ICF "C0"
"00"
@@@@@@@@ hex
4 bytes
30 hex
1 byte
RSV "00"
SNA
30 hex
1 byte
End code
@@@@@@@@ hex
4 bytes
SA1
1 byte
SA2
Text
FCS
@@ hex
@@ hex
Appendix D
Contents
The @ symbol is automatically attached to the beginning of the command.
Specify the unit number for Host Link between 0 and 31 BCD.
Command code
Specify a 2-character code. Always set FA (ASCII: 46, 41) when sending FINS commands. In this
protocol, FA is automatically generated.
Response wait
time
ICF (Information
control field)
RSV (Reserved)
The response wait time sets the time from when the CPU Unit receives a command block until it
starts to return a response. This time is automatically set to 0 (ASCII: 30).
Specify whether or not there are network relays. ICF is automatically set to 80 (ASCII: 38,30) indicating that network relays are used.
RSV is automatically set to 00 (ASCII: 30,30). Setting RSV is required only when sending to a CPU
Unit on a network.
This is the number of networks through which the transmission can be relayed. 02 (ASCII: 30,32) is
automatically generated.
GCT (Gateway
count)
DNA (Destination
network address)
DA1 (Destination
node address)
DA2 (Destination
unit address)
Specify the network, node, and unit addresses of the remote destination node.
DNA (Destination Network Address)
Set between 00 and 7F Hex (0 and 127 decimal). The network address (DNA) setting is required to
specify the node address on the specified network.
DA1 (Destination Node Address)
Set in hexadecimal. The setting range depends on the network type. Set to 00 hex as the local node
when sending commands to a PLC slave directly connected using serial communications.
DA2 (Destination Unit Address)
Set the address of the device on the FINS network (e.g., CPU Unit, Special I/O Unit, personal computer).
CPU Unit: 00 hex
CPU Bus Unit: Unit number + 10 hex
Example: Set 13 hex for unit number 3.
Special I/O Unit (except C200H Special I/O Units): Unit number + 20 hex
Example: Set 23 hex for unit number 3.
Specify the source network and node addresses. These settings are set to 00 (ASCII: 30, 30)
regardless of whether or not there is a network relay.
Specify the unit address of the unit at the PLC slave that is connected to the PLC master. SA2 is
automatically set to 00 (ASCII: 30, 30) to indicate the CPU Unit. When 00 is set, internal processing converts the value to the unit address of each serial port.
The SID is used as a counter when resending. It is automatically set to 55 (ASCII: 35, 35).
Set the command code and text according to the FINS command and response formats.
A 2-character FCS is automatically set.
The terminator is a required delimiter at the end of a command. The terminator is automatically set
to *CR (ASCII: 2A, 0D).
Contents
The @ symbol is automatically attached to the beginning of the response.
The same unit number and header code specified in the FINS command that was received will be
returned.
For a CPU Unit on a network, C0 (ASCII: 43, 30) will be returned.
GCT (Gateway
count)
The same GCT that was specified in the command that was received will be returned.
419
Appendix D
Contents
The same contents specified for SNA, SA1, and SA2 in the command that was received will be
returned.
Command code,
end code, text
The command code, end code, and text corresponding to the FINS command and response formats
will be returned.
Terminator
The terminator is a required delimiter at the end of a command. The terminator is automatically set
to *CR (ASCII: 2A, 0D).
The same contents specified for DNA, DA1, and DA2 in the command that was received will be
returned.
The SID that was specified in the command that was received will be returned.
For details on FINS command codes for sending to CS/CJ-series CPU Units, refer to the CS/CJ Series Communications Commands Reference Manual (W342).
Communications
sequence name
MEMORY AREA
READ
752 (02F0)
753 (02F1)
AR AREA READ
754 (02F2)
DM AREA READ
755 (02F3)
420
Function
Ladder interface
Send word
Receive
allocation
word
allocation
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Appendix D
Communications
sequence name
756 (02F4)
MEMORY AREA
WRITE
757 (02F5)
758 (02F6)
DM AREA WRITE
759 (02F7)
760 (02F8)
MEMORY AREA
FILL
761 (02F9)
762 (02FA)
DM AREA FILL
763 (02FB)
764 (02FC)
765 (02FD)
766 (02FE)
767 (02FF)
Function
Ladder interface
Send word
Receive
allocation
word
allocation
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
OPERATING MODE Sends command code 0401 hex to the specified Host
Yes
CHANGE (RUN)
Link Unit and changes the CPU Units operating mode to
MONITOR mode.
OPERATING MODE Sends command code 0401 hex to the specified Host
Yes
CHANGE (STOP)
Link Unit and changes the CPU Units operating mode to
PROGRAM mode.
UNIT DATA READ
Sends command code 0501 hex to the specified Host
Yes
Link Unit and stores the Unit data starting from the designated word.
Yes
UNIT STATUS
READ
Yes
Yes
Yes
Yes
421
Appendix D
SNA
0
0
ICF
0
8
SA1
RSV
0
0
SA2
0
0
Host Link
unit number
40 hex (101)(100)
DA1
DA2
*
2A hex
FCS
Text
CR
0D hex
PMCR
Communications sequence No. 750
#02EE
S
D
S
Number of send data words
S+1 Host Link unit No. Remote destination
network address (DNA)
(2 digits BCD)
(2 digits hex)
S+2 Remote destination node
Remote destination unit address
address (DA1) (2 digits hex)
Response Frame
ICF
SNA
SA1
@
40 hex
Host Link
unit number
(101)(100)
RSV
SA2
Command
code
GCT
DNA
S
D
End code
Text
D
D+1
422
DA1
DA2
FCS
CR
*
2A hex 0D hex
PMCR(260)
#02EE
SID
SID
5 5
Command
code
DNA
GCT
2
Appendix D
Remote destination
+1 Host Link unit number network address (DNA)
+2
Offset
+0
+3
MRC
+4
+5
FINS text
SRC
Data
+0
+1
+3
MRC
(2 digits hex)
+4
+5
FINS text
+2
SRC
(2 digits hex)
Offset
+0
+1
+2
+0
+1
End code
+2
Data
0002 to 00FA hex (2 to 250 decimal)
423
Appendix D
+0
+1
+2
destination
Host Link unit number Remote
network address
Remote destination node Remote destination
unit address
address
Offset
Data
+2
+3
Memory area
code
(2 digits hex)
+4
+0
+1
+5
Offset
+2
Read data
Data
+0
+1
+2
424
+0
+1
Appendix D
+0
Remote destination
+1 Host Link unit number network address
+2
+3
+4
Offset
Data
Always 0005 hex (5 decimal)
+2
+3
+4
+0
+1
Offset
+0
+1
End code
+2
Read data
Data
0003 to 00F2 hex (3 to 250 decimal)
+1
+2
Receive data
+0
425
Appendix D
AR AREA READ
(Sequence No. 753 (Hex 02F1)
This sequence sends command code 0101 hex to the specified Host Link Unit, reads the contents of consecutive AR Area words, and stores the data starting from the designated word.
+3
+4
Offset
Data
Always 0005 hex (5 decimal)
+2
+3
+4
+0
+1
Offset
+2
Read data
Data
0003 to 00F2 hex (3 to 250 decimal)
+1
+2
Receive data
+0
426
+0
+1
Appendix D
DM AREA READ
(Sequence No. 754 (Hex 02F2)
This sequence sends command code 0101 hex to the specified Host Link Unit, reads the contents of consecutive DM Area words, and stores the data starting from the designated word.
+0
+1
+2
+3
+4
Offset
Data
Always 0005 hex (5 decimal)
+2
+3
+4
+0
+1
Offset
+0
+1
End code
+2
Read data
Data
0003 to 00F2 hex (3 to 250 decimal)
+1
+2
Receive data
+0
427
Appendix D
+0
Remote destination
+1 Host Link unit number network address
+2
+3
+4
Offset
Data
Always 0005 hex (5 decimal)
+2
+3
+4
+0
+1
Offset
+2
Read data
Data
0003 to 00F2 hex (3 to 250 decimal)
+1
+2
Receive data
+0
428
+0
+1
Appendix D
+0
Remote destination
network address
Remote destination
unit address
Offset
+4
+5
+6
+7
Write data
Data
+2
+3
Memory area
code
(2 digits hex)
+4
+0
+1
+5
+6
+7
+8
on
Offset
+0
+1
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
429
Appendix D
Offset
+0
+1
+0
Remote destination
network address
Remote destination
unit address
+3
+4
+5
+6
Write data
+2
+3
+4
+5
+6
Data
+7
on
Offset
430
+0
+1
End code
+0
Data
Always 0002 hex (2 decimal)
+1
Appendix D
DM AREA WRITE
(Sequence No. 758 (Hex 02F6))
This sequence sends command code 0102 hex to the specified Host Link Unit and writes data to consecutive
DM Area words.
Offset
+0
Remote destination
network address
Remote destination
unit address
+3
+4
+5
+6
Write data
Data
+2
+3
+4
+0
+1
+5
+6
+7
on
Offset
+0
+1
End code
+0
Data
Always 0002 hex (2 decimal)
+1
431
Appendix D
Offset
+0
Remote destination
network address
Remote destination
unit address
+3
+4
+5
+6
Write data
Data
+2
+3
+4
+0
+1
+5
+6
+7
on
Offset
432
+0
+1
End code
+0
Data
Always 0002 hex (2 decimal)
+1
Appendix D
+0
Remote destination
+1 Host Link unit number network address
+2
Offset
+5
+6
Write data
Data
+0
+1
+3
Memory area
code
(2 digits hex)
+4
+2
+5
+6
Offset
+0
+1
End code
Data
+0
+1
433
Appendix D
+0
+2
Offset
Remote destination
+1 Host Link unit number network address
Remote destination node Remote destination
unit address
address
+3
+4
+5
Write data
Data
+0
+1
+3
+4
+5
Write data
+2
Offset
+0
+1
434
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal
(4 digits hex).
Appendix D
DM AREA FILL
(Sequence No. 762 (Hex 02FA))
This sequence sends command code 0103 hex to the specified Host Link Unit and writes the same data to
consecutive DM Area words.
+0
+2
Offset
Remote destination
+1 Host Link unit number network address
Remote destination node Remote destination
unit address
address
+3
+4
+5
Write data
Data
+0
+1
+3
+4
+5
+2
Offset
+0
+1
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
435
Appendix D
+0
+2
Offset
Remote destination
+1 Host Link unit number network address
Remote destination node Remote destination
unit address
address
+3
+4
+5
Write data
Data
+0
+1
+3
+4
+5
+2
Offset
+0
+1
436
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
Appendix D
+0
+2
Offset
+0
+1
+2
Remote destination
+1 Host Link unit number network address
Remote destination node Remote destination
unit address
address
Data
Offset
+0
+1
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
437
Appendix D
+0
+2
Offset
+0
+1
+2
Remote destination
+1 Host Link unit number network address
Remote destination node Remote destination
unit address
address
Data
Offset
+0
+1
438
+0
+1
End code
Data
Always 0002 hex (2 decimal)
The end code is stored in hexadecimal.
Appendix D
+0
+2
Offset
+0
+1
+2
Remote destination
+1 Host Link unit number network address
Remote destination node Remote destination
unit address
address
Data
Offset
+0
+1
+2
+0
+1
End code
+2
Unit data
Data
Always 0002 hex (2 decimal)
439
Appendix D
+0
+2
Offset
+0
+1
+2
Remote destination
+1 Host Link unit number network address
Remote destination node Remote destination
unit address
address
Data
Offset
+0
+1
+2
440
+0
+1
End code
+2
Unit status
Data
Always 0002 hex (2 decimal)
Appendix E
Mitsubishi Computer Link Master
(A-compatible 1C Frame, Model 1)
The Mitsubishi Computer Link Master (A-compatible 1C frame, model 1) Protocol is used to send user-specified or specific (e.g., Device Memory Read/Write) Computer Link commands using the A-compatible 1C frame
model 1 control protocol from a CS/CJ-series PLC (CPU Unit) connected through RS-232C or RS-422A to a
Mitsubishi PLC (Sequencer CPU Module installed in a Computer Link Module). This protocol enables the
OMRON PLC to be used as the host (master) to remotely execute RUN/STOP for or read/write the device
memory of a Mitsubishi A/QnA/Q-series PLC that is connected either serially or on a MELSECNET/Ethernet
network.
OMRON CS/CJ-series PLC
Serial Communications Unit/Board
CPU Unit
PMCR(260)
Computer Link
command
Communications Specifications
Item
Protocol
Transmission path connection
Communications method
Specifications
Computer Link, A-compatible 1C frame, model 1
Multi-point
Host (OMRON CS/CJ-series PLC): Mitsubishi Sequencer CPU Module
1:1, 1:n (n = 32 max), m:n (m+n = 32 max)
Note 1: Specifying the PLC number enables access of the specified Sequencer CPU Module on the MELSECNET or Ethernet network.
Note 2: Sending data using slave-initiated communications from the Sequence CPU Unit to
the Host (on-demand function) is not supported.
RS-232C, RS-422A (4-wire, half-duplex)
Synchronization method
Start-stop synchronization
Transmission code
Data length
ASCII
7, 8 bits
Note: 8-bit units with 0 added to the beginning of the 7-bit code
Stop bits
Error detection method
1, 2 bits
Horizontal parity (none, 1 bit)
441
Appendix E
2 bytes
Command Transmission
code
Characters (text)
delay
30 hex
2 bytes
2 bytes
1 byte
Checksum
2 bytes
Response Frame
Normal Response Type 1
Station
PLC
No.
STX
No.
02 hex @@ hex @@ hex @@ hex @@ hex
1 byte 1 byte 1 byte 1 byte 1 byte
Characters (text)
ETX
03 hex
1 byte
Checksum
1 byte
1 byte
1 byte 1 byte
1 byte
Error Response
PLC
Station
No.
No.
NAK
02 hex @@ hex @@ hex @@ hex @@ hex
1 byte
1 byte
1 byte 1 byte
Error code
1 byte
2 bytes
Contents
ENQ (05 hex) for A-compatible 1C frames, model 1.
Station No.
PLC No.
Command code
Send delay
Device type
442
Specify the processing command to read/write device memory and execute remote RUN/STOP of
the Mitsubishi Sequencer CPU Module at the remote destination.
This is the delay until a response is returned from the remote destination Computer Link Module.
The send delay is not supported by this protocol, and 0 hex (0 ms) is set in the command frame
automatically.
Set the following device type characters in ASCII.
All characters except T/C: X, Y, M, L, S, B, F, M, D, W, R, D
T/C characters: TS (contact), TC (coil), CS (contact), CC (coil), TN (PV), CN (PV)
Appendix E
Contents
Specify the addresses for specified device types in hexadecimal.
Device points
Specify the number of bits for bit data and the number of words for word data in hexadecimal.
Function
Converts the text data of a user-specified Computer Link command
into ASCII and sends to the Mitsubishi Computer Link Module with
the specified station number (and the PLC number that follows).
The response data is converted into hexadecimal and stored in the
CS/CJ-series CPU Unit starting from the specified word.
Sends the text data of a user-specified Computer Link command to
the Mitsubishi Computer Link Module with the specified station
number (and the PLC number that follows) without converting into
ASCII. The response data is stored in the CS/CJ-series CPU Unit
starting from the specified word without converting into hexadecimal.
Computer Link
command
WR (Device
memory batch
read as word
data)
Device type
Function
Device other than Reads the word data for the number of device
Timer/Counter
points starting from the specified device address
for the specified device type (except T, C) in the
Mitsubishi Computer Link Module with the specified station number (and the PLC number that
follows), converts the data into hexadecimal, and
stores it starting from the specified word + 2 in
the CS/CJ-series CPU Unit.
Timer/Counter
Reads the word (PV) data for the number of
(T, C)
device points starting from the specified device
address for the specified device type (T, C) in the
Mitsubishi Computer Link Module with the specified station number (and the PLC number that
follows), converts the data into hexadecimal, and
stores it starting from the specified word + 2 in
the CS/CJ-series CPU Unit.
Device other than Writes the word data starting from the specified
Timer/Counter
word + 6 in the CS/CJ-series CPU Unit to the
number of device points starting from the specified device address for the specified device type
(except T, C) in the Mitsubishi Computer Link
Module with the specified station number (and
the PLC number that follows).
Timer/Counter
(T, C)
443
Appendix E
Function
444
Timer/Counter
(T, C)
Writes the bit (PV) data starting from the specified word + 6 in the CS/CJ-series CPU Unit to
the number of device points starting from the
specified device address for the specified device
type (T, C) in the Mitsubishi Computer Link Module with the specified station number (and the
PLC number that follows).
Appendix E
Communications
sequence name
Computer Link
command
QR (Device
memory batch
read as word
data)
Device type
Function
Device other than Reads the word data for the number of device
Timer/Counter
points starting from the specified device address
for the specified device type (except T, C) in the
Mitsubishi Computer Link Module with the specified station number (and the PLC number that
follows), converts the data into hexadecimal, and
stores it starting from the specified word + 2 in
the CS/CJ-series CPU Unit.
Timer/Counter
(T, C)
JR (Device mem- Device other than Reads the bit data for the number of device
ory batch read as Timer/Counter
points starting from the specified device address
bit data)
for the specified device type (except T, C) in the
Mitsubishi Computer Link Module with the specified station number (and the PLC number that
follows), converts the data into hexadecimal, and
stores it starting from the specified word + 2 in
the CS/CJ-series CPU Unit.
815 (032F) Device memory
Timer/Counter
Reads the bit (PV) data for the number of device
batch read as bit
(T, C)
points starting from the specified device address
data (T/C device
for the specified device type (T, C) in the Mitsubtype)
ishi Computer Link Module with the specified
station number (and the PLC number that follows), converts the data into hexadecimal, and
stores it starting from the specified word + 2 in
the CS/CJ-series CPU Unit.
816 (0330) Device memory fill JW (Device
Device other than Writes the bit data starting from the specified
as bit data (all
memory fill as bit Timer/Counter
word + 7 in the CS/CJ-series CPU Unit to the
device types except data)
number of device points starting from the speciT/C)
fied device address for the specified device type
(except T, C) in the Mitsubishi Computer Link
Module with the specified station number (and
the PLC number that follows).
817 (0331) Device memory fill
as bit data (T/C
device type)
Timer/Counter
(T, C)
Writes the bit (PV) data starting from the specified word + 7 in the CS/CJ-series CPU Unit to
the number of device points starting from the
specified device address for the specified device
type (T, C) in the Mitsubishi Computer Link Module with the specified station number (and the
PLC number that follows).
445
Appendix E
Communications
sequence name
Computer Link
command
TT (Loopback
test)
Function
Executes a loopback test at the Mitsubishi Computer Link Module
with the specified station number (and the PLC number that follows). (E.g, if the data starting from the specified word + 3 is sent
from the host, the Computer Link Module will return the data
unchanged to the host.)
Offset
+0
+1
Station No.
+2
+3
Command
Number of send bytes
+4
Text data
PLC No.
Data
0004 to 00FA hex (4 to 250 decimal)
+1
Station No.
(2 digits hex)
+2
+3
+4
Text data
+0
PLC No.
(2 digits hex)
Offset
+0
+1
+2
446
+0
+1
+2
Station No.
Receive data
PLC No.
Data
0002 to 00FA hex (2 to 250 decimal)
Station No: 00 to FF hex
PLC No.: 00 to FF hex
Any receive data is converted into
hexadecimal and stored.
Appendix E
Offset
+0
+1
Station No.
+2
+3
Command
Number of send bytes
+4
Text data
PLC No.
Data
+0
+1
Station No.
(2 digits hex)
+2
+3
+4
Text data
PLC No.
(2 digits hex)
Offset
+0
+1
+2
Station No.
Receive data
PLC No.
Data
0002 to 00FA hex (2 to 250 decimal)
+1
Station No.
(2 digits hex)
+2
+0
PLC No.
(2 digits hex)
447
Appendix E
Device Memory Batch Read as Word data (Any Device Type Except T/C)
(Sequence No. 802 (Hex 0322)) (Command Code: WR)
This sequence reads the word data for the number of device points starting from the specified device address
for the specified device type (except T, C) in the Mitsubishi Computer Link Module with the specified station
number (and the PLC number that follows), converts the data into hexadecimal, and stores it starting from the
specified word + 2 in the CS/CJ-series CPU Unit.
Offset
+0
+1
+2
PLC No.
Device type
+3
Station No.
(Undefined)
Device No.
+4
(Undefined)
Number of device
words/bits
Data
Always 0005 hex (5 decimal)
+3
+4
(Undefined)
+0
+1
+2
Device words/
bits
(2 digits hex)
Offset
+0
+1
+2
448
+0
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (2 to 250 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the number read data converted
into hexadecimal.
Appendix E
+0
+1
+2
Station No.
Device type
+3
Offset
Device No.
(Undefined)
+4
PLC No.
(Undefined)
Number of device
words/bits
Data
+2
+3
(Undefined)
Device No.
(3 digits hex)
+4
(Undefined)
Device words/
bits
(2 digits hex)
+0
+1
Offset
+0
+1
+2
+0
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (2 to 250 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the number read data converted
into hexadecimal.
449
Appendix E
Device Memory Fill as Word Data (Any Device Type Except T/C)
(Sequence No. 804 (Hex 0324)) (Command Code: WW)
This sequence writes the word data starting from the specified word + 6 in the CS/CJ-series CPU Unit to the
number of device points starting from the specified device address for the specified device type (except T, C) in
the Mitsubishi Computer Link Module with the specified station number (and the PLC number that follows).
Offset
+0
+1
Station No.
PLC No.
+2
+3
(Undefined)
Device No.
Device type
+4
+5
(Undefined)
Number of device
words/bits
+6
Write data
Data
+0
+1
Station No.
(2 digits hex)
+2
(Undefined)
PLC No.
(2 digits hex)
+3
Device type
(2 digits hex)
Device No. (4 digits hex)
+4
(Undefined)
+5
+6
Device words/
bits
(2 digits hex)
Number of send data bytes
(4 digits hex)
Offset
+0
+1
+2
450
+0
+1
+2
Station No.
Error code
PLC No.
(Undefined)
Data
0002 or 0003 hex (2 or 3 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the error code converted to
hexadecimal. No error code is stored
for normal completion.
Appendix E
+0
+1
+2
Station No.
+3
Offset
+0
+1
+2
PLC No.
Device type
(Undefined)
Device No.
Number of device
words/bits
+4
(Undefined)
+5
+6
Write data
Data
+3
+4
(Undefined)
+5
+6
Device words/
bits
(2 digits hex)
Number of send data bytes
(4 digits hex)
Offset
+0
+1
+2
+0
+1
+2
Station No.
Error code
PLC No.
(Undefined)
Data
Error code
(2 digits hex)
(Undefined)
451
Appendix E
Device Memory Batch Read as Bit Data (All Device Types Except T/C)
(Sequence No. 806 (Hex 0326)) (Command Code: BR)
This sequence reads the bit data for the number of device points starting from the specified device address for
the specified device type (except T, C) in the Mitsubishi Computer Link Module with the specified station number (and the PLC number that follows), converts the data into hexadecimal, and stores it starting from the specified word + 2 in the CS/CJ-series CPU Unit.
Offset
+0
+1
+2
PLC No.
Device type
+3
Station No.
(Undefined)
Device No.
+4
(Undefined)
Number of device
words/bits
Data
Always 0005 hex (5 decimal)
+3
+4
(Undefined)
+0
+1
+2
Device words/
bits
(2 digits hex)
Offset
+0
+1
+2
452
+0
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (3 to 250 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the number read data converted
into hexadecimal.
Appendix E
+0
+1
+2
Station No.
Device type
+3
Offset
Device No.
(Undefined)
+4
PLC No.
(Undefined)
Number of device
words/bits
Data
+2
+3
(Undefined)
Device No.
(3 digits hex)
+4
(Undefined)
Device words/
bits
(2 digits hex)
+0
+1
Offset
+0
+1
+2
+0
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (3 to 250 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the number read data converted
into hexadecimal.
453
Appendix E
Device Memory Fill as Bit Data (All Device Types Except T/C)
(Sequence No. 808 (Hex 0328)) (Command Code: BW)
This sequence writes the bit data starting from the specified word + 6 in the CS/CJ-series CPU Unit to the
number of device points starting from the specified device address for the specified device type (except T, C) in
the Mitsubishi Computer Link Module with the specified station number (and the PLC number that follows).
+0
+1
Station No.
PLC No.
+2
+3
(Undefined)
Device No.
Device type
+4
Offset
(Undefined)
+5
+6
Write data
Data
+0
+1
Station No.
(2 digits hex)
+2
(Undefined)
+3
+4
+5
+6
PLC No.
(2 digits hex)
Device type
(2 digits hex)
Device No. (4 digits hex)
(Unde- Device words/bits
fined) (2 digits hex)
Number of send data bytes
(4 digits hex)
Offset
+0
+1
+2
454
+0
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (3 to 250 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the number read data converted
into hexadecimal.
Appendix E
Offset
+0
+1
Station No.
PLC No.
+2
+3
Device type
Device No.
(Undefined)
+4
(Undefined)
+5
+6
Write data
Data
+0
+1
Station No.
(2 digits hex)
+2
+3
+4
+5
+6
PLC No.
(2 digits hex)
Offset
+0
+1
+2
+0
+1
+2
Station No.
Error code
PLC No.
(Undefined)
Data
Error code
(2 digits hex)
(Undefined)
455
Appendix E
Device Memory Batch Read as Word Data (All Device Types Except T/C)
(Sequence No. 810 (Hex 032A)) (Command Code: QR)
This sequence reads the word data for the number of device points starting from the specified device address
for the specified device type (except T, C) in the Mitsubishi Computer Link Module with the specified station
number (and the PLC number that follows), converts the data into hexadecimal, and stores it starting from the
specified word + 2 in the CS/CJ-series CPU Unit.
+0
+1
Station No.
PLC No.
+2
+3
(Undefined)
Device No.
Device type
+4
+5
Offset
(Undefined)
(Undefined)
Number of device
words/bits
Data
+0
+1
Station No.
(2 digits hex)
+2
(Undefined)
+3
Device type
(2 digits hex)
Device No. (6 digits hex)
+4
+5
PLC No.
(2 digits hex)
(Undefined)
(Undefined)
Device words/
bits
(2 digits hex)
Offset
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (3 to 250 decimal)
+1
Station No.
(2 digits hex)
+2
+0
456
+0
PLC No.
(2 digits hex)
Appendix E
+0
+1
Station No.
+2
+3
Device type
Device No.
+4
+5
Offset
PLC No.
(Undefined)
(Undefined)
Number of device
words/bits
Data
+0
+1
Station No.
(2 digits hex)
+2
+3
+4
(Undefined)
(Undefined)
Device words/
bits
(2 digits hex)
+5
PLC No.
(2 digits hex)
Offset
+0
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (3 to 250 decimal)
+1
Station No.
(2 digits hex)
+2
+0
PLC No.
(2 digits hex)
457
Appendix E
Device Memory Fill as Word Data (All Device Types Except T/C)
(Sequence No. 812 (Hex 032C)) (Command Code: QW)
This sequence writes the word data starting from the specified word + 7 in the CS/CJ-series CPU Unit to the
number of device points starting from the specified device address for the specified device type (except T, C) in
the Mitsubishi Computer Link Module with the specified station number (and the PLC number that follows).
Offset
+0
+1
+2
+3
+4
+5
+6
+7
+0
+1
Station No.
PLC No.
+2
+3
(Undefined)
Device No.
Device type
(Undefined)
+4
+5
(Undefined)
+6
+7
Write data
Number of device
words/bits
Data
Offset
+0
+1
+2
458
+0
+1
+2
Station No.
Error code
PLC No.
(Undefined)
Data
0002 hex or 0003 hex (2 or 3 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the error code converted to
hexadecimal. No error code is stored
for normal completion.
Appendix E
Offset
+0
+1
Station No.
+2
+3
Device type
Device No.
PLC No.
(Undefined)
+4
+5
(Undefined)
+6
+7
Write data
Number of device
words/bits
Data
+2
+3
+4
(Undefined)
(Undefined)
Device words/
bits
(2 digits hex)
Number of send data bytes
(4 digits hex)
+0
+1
+5
+6
+7
Offset
+0
+1
+2
+0
+1
+2
Station No.
Error code
PLC No.
(Undefined)
Data
0002 hex or 0003 hex (2 or 3 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the error code converted to
hexadecimal. No error code is stored
for normal completion.
459
Appendix E
Device Memory Batch Read as Bit Data (All Device Types Except T/C)
(Sequence No. 814 (Hex 032E)) (Command Code: JR)
This sequence reads the bit data for the number of device points starting from the specified device address for
the specified device type (except T, C) in the Mitsubishi Computer Link Module with the specified station number (and the PLC number that follows), converts the data into hexadecimal, and stores it starting from the specified word + 2 in the CS/CJ-series CPU Unit.
+0
+1
Station No.
PLC No.
+2
+3
(Undefined)
Device No.
Device type
+4
+5
Offset
(Undefined)
(Undefined)
Number of device
words/bits
Data
+0
+1
Station No.
(2 digits hex)
+2
(Undefined)
+3
Device type
(2 digits hex)
Device No. (6 digits hex)
+4
+5
PLC No.
(2 digits hex)
(Undefined)
(Undefined)
Device words/
bits
(2 digits hex)
Offset
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (3 to 250 decimal)
+1
Station No.
(2 digits hex)
+2
+0
460
+0
PLC No.
(2 digits hex)
Appendix E
+0
+1
Station No.
+2
+3
Device type
Device No.
+4
+5
Offset
PLC No.
(Undefined)
(Undefined)
Number of device
words/bits
Data
+0
+1
Station No.
(2 digits hex)
+2
+3
+4
(Undefined)
(Undefined)
Device words/
bits
(2 digits hex)
+5
PLC No.
(2 digits hex)
Offset
+0
+1
+2
Station No.
PLC No.
Read data
Data
0003 to 00FA hex (3 to 250 decimal)
+1
Station No.
(2 digits hex)
+2
+0
PLC No.
(2 digits hex)
461
Appendix E
Device Memory Fill as Bit Data (All Device Types Except T/C)
(Sequence No. 816 (Hex 0330)) (Command Code: JW)
This sequence writes the bit data starting from the specified word + 7 in the CS/CJ-series CPU Unit to the
number of device points starting from the specified device address for the specified device type (except T, C) in
the Mitsubishi Computer Link Module with the specified station number (and the PLC number that follows).
Offset
+0
+1
+2
+3
+4
+5
+6
+7
+0
+1
Station No.
PLC No.
+2
+3
(Undefined)
Device No.
Device type
(Undefined)
+4
+5
(Undefined)
+6
+7
Write data
Number of device
words/bits
Data
Offset
+0
+1
+2
462
+0
+1
+2
Station No.
Error code
PLC No.
(Undefined)
Data
0002 hex or 0003 hex (2 or 3 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the error code converted to
hexadecimal. No error code is stored
for normal completion.
Appendix E
Offset
+0
+1
Station No.
+2
+3
Device type
Device No.
PLC No.
(Undefined)
+4
+5
(Undefined)
+6
+7
Write data
Number of device
words/bits
Data
+2
+3
+4
(Undefined)
(Undefined)
Device words/
bits
(2 digits hex)
Number of send data bytes
(4 digits hex)
+0
+1
+5
+6
+7
Offset
+0
+1
+2
+0
+1
+2
Station No.
Error code
PLC No.
(Undefined)
Data
0002 hex or 0003 hex (2 or 3 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Stores the error code converted to
hexadecimal. No error code is stored
for normal completion.
463
Appendix E
Loopback Test
(Sequence No. 818 (Hex 0332)) (Command Code: TT)
This sequence executes a loopback test at the Mitsubishi Computer Link Module with the specified station
number (and the PLC number that follows). (E.g, if the data starting from the specified word + 3 is sent from the
host, the Computer Link Module will return the data unchanged to the host.)
Offset
+0
+1
+2
+3
+0
+1
Station No.
PLC No.
+2
+3
(Undefined)
Loopback data
Data length
Data
Offset
+0
+1
+2
+3
464
+0
+1
Station No.
+2
+3
Data length
Loopback data
PLC No.
Data
0002 to 00FA hex (2 to 250 decimal)
Station No.
(2 digits hex)
Data length
(2 digits hex)
Loopback data
PLC No.
(2 digits hex)
Appendix F
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 Unit/Board via RS-232C or RS-485 cable.
Communications sequence
name
Read process value
Read set point during SP ramp
Function
Ladder interface
Send word
allocation
Receive word
allocation
Yes
Yes
Yes
Yes
002 (0002)
Read MV
Yes
Yes
003 (0003)
004 (0004)
Yes
Yes
Yes
Yes
005 (0005)
Yes
Yes
006 (0006)
007 (0007)
Yes
Yes
Yes
Yes
008 (0008)
009 (0009)
Yes
Yes
Yes
Yes
010 (000A)
Yes
Yes
011 (000B)
Yes
Yes
012 (000C)
013 (000D)
Yes
Yes
Yes
Yes
014 (000E)
Read MV limits
Yes
Yes
015 (000F)
016 (0010)
Yes
Yes
Yes
Yes
017 (0011)
018 (0012)
Yes
Yes
Yes
Yes
019 (0013)
020 (0014)
Yes
Yes
Yes
Yes
021 (0015)
022 (0016)
Yes
Yes
Yes
Yes
023 (0017)
General-purpose read
Yes
Yes
465
Appendix F
Connection Configuration
The connection configuration for using the E5@K Digital Controller Read Protocol is shown below.
RS-232C Connection
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
E5#K
PLC PS
RS-232C
RS-232C port
RS-232C
Serial Communications Unit/Board
E5#K
Pin No.
FG
SD
RD
RTS
CTS
DSR
DST
SG
Terminal No.
Signal name
13
14
1
SD
RD
SG
Shielded cable
Note 1. The communications configuration is a one-to-one configuration and the maximum cable length is 15
m.
2. Use shielded twisted-pair cable (AWG28i or greater).
466
Appendix F
RS-485 Connection
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
E5#K
PLC PS
RS-485 port
RS-485
E5#K
RS-485
Up to 31 units can be connected.
E5#K
RS-485
Shielded cable
1
2
FG
A<B:
A>B:
[1]
[0]
E5CK (No. 0)
Terminal No.
Terminal No.
13
13
14
14
Mark
Space
467
Appendix F
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Process value
Offset
Data
+0
0002
+1
Read Set Point during SP Ramp (Sequence No. 001 (Hex 0001))
Reads the set point during the SP ramp and stores the results in the specified words.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of send +0
data
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Offset
Data
+0
0002
+1
Offset
468
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
Appendix F
+0
+1
MV (heating)
+2
MV (cooling)
Offset
Data
+0
0003
+1
+2
F050 to 1050
F indicates a negative value.
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Set point
Offset
Data
+0
0002
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
469
Appendix F
+0
+1
Alarm value 1
+2
Alarm value 2
Offset
Data
+0
0003
+1
A999 to 9999
F indicates a negative value and A indicates
1.
+2
A999 to 9999
F indicates a negative value and A indicates
1.
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
+2
Integral time
+3
Derivative time
Offset
+0
Data
0004
+1
0000 to 9999
+2
0000 to 3999
+3
0000 to 3999
+0
+1
(Undefined)
Offset
470
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
Appendix F
+0
+1
Cooling coefficient
Offset
Data
+0
0002
+1
0001 to 9999
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Dead band
Offset
Data
+0
0002
+1
A999 to 9999
F indicates a negative value and A indicates
1.
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Offset
Data
+0
0002
+1
0000 to 1000
471
Appendix F
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
+2
Hysteresis (heating)
Hysteresis (cooling)
Offset
Data
+0
0003
+1
Hysteresis (heating)
(4 digits BCD)
0001 to 9999
+2
Hysteresis (cooling)
(4 digits BCD)
0001 to 9999
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
+2
Offset
472
Data
+0
0003
+1
0001 to 0099
+2
0001 to 0099
Appendix F
Read SP Ramp Time Unit and Set Value (Sequence No. 011 (Hex
000B))
Reads the SP ramp time unit and SP ramp set value and stores the results in the specified words.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
+2
Offset
Data
+0
0003
+1
0000: s, 0001: h
+2
0000 to 9999
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Offset
Data
+0
0002
+1
0000 to 9999
473
Appendix F
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
+2
MV at PV error
MV at stop time
Offset
Data
+0
0003
+1
F050 to 1050
F indicates a negative value.
A050 to 1050 for heating/cooling control
A indicates a negative value.
+2
F050 to 1050
F indicates a negative value.
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
MV upper limit
+2
MV lower limit
+3
Offset
474
Data
+0
0004
+1
Appendix F
Contents (data format)
Data
+2
+3
0000 to 1000
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Offset
Data
+0
0002
+1
0000 to 9999
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Alarm 1 hysteresis
+2
Alarm 2 hysteresis
Offset
Data
+0
0003
+1
Alarm 1 hysteresis
(4 digits BCD)
0001 to 9999
+2
Alarm 2 hysteresis
(4 digits BCD)
0001 to 9999
475
Appendix F
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
+2
Offset
Data
+0
0003
+1
A999 to 9999
F indicates a negative value and A indicates
1.
+2
A999 to 9999
F indicates a negative value and A indicates
1.
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
(Undefined)
Unit No.
~
+9
Offset
476
(max.)
Data
+0
Number of units + 2
+1
0001 to 0008
+2 to 9
00 to 31
Appendix F
+0
+1
+2
+3
MV (heating)
+4
MV (cooling)
+5
Set point
Process value
1st unit
+36
Process value
+37
+38
MV (heating)
+39
MV (cooling)
+40
Set point
Offset
Data
+0
Number of units 5 + 1
+1
1st unit
Process value (4 digits BCD)
+2
1st unit
Set point during SP ramp
(4 digits BCD)
+3
1st unit
MV (heating) (4 digits BCD)
F050 to 1050
F indicates a negative value.
0000 to 1050 for heating/cooling control
+4
1st unit
MV (cooling) (4 digits BCD)
0000 to 1050
+5
1st unit
Set point (4 digits BCD)
+40
(max.)
8th unit
Set point (4 digits BCD)
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+9
~
(Undefined)
Offset
Unit No.
(max.)
Data
+0
Number of units + 2
+1
0001 to 0008
+2 to 9
00 to 31
477
Appendix F
+0
+1
+2
Alarm value 1
Alarm value 2
+3
+4
Alarm value 3
1st unit
Proportional band
+5
+6
Integral time
Derivative time
+43
Alarm value 1
+44
Alarm value 2
+45
Alarm value 3
+46
Proportional band
+47
Integral time
+48
Derivative time
Offset
Data
+0
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.
+4
1st unit
Proportional band
(4 digits BCD)
0001 to 9999
+5
1st unit
Integral time (4 digits BCD)
0000 to 3999
+6
1st unit
Derivative time (4 digits BCD)
0000 to 3999
+48
(max.)
8th unit
Derivative time (4 digits BCD)
0000 to 3999
478
Appendix F
+0
+1
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+9
~
(Undefined)
Offset
Unit No.
(max.)
Data
+0
Number of units + 2
+1
0001 to 0008
+2 to 9
00 to 31
+0
+1
Cooling coefficient
+2
+3
Dead band
+4
Hysteresis (heating)
+5
Hysteresis (cooling)
+6
1st unit
+7
~
+50
~
Cooling coefficient
+51
Dead band
+52
+53
Hysteresis (heating)
+54
Hysteresis (cooling)
+55
+56
Offset
Data
+0
Number of units 7 + 1
+1
1st unit
Cooling coefficient (4 digits BCD)
0001 to 9999
+2
1st unit
Dead band (4 digits BCD)
A999 to 9999
F indicates a negative value and A indicates
1.
+3
1st unit
Manual reset value
(4 digits BCD)
0000 to 1000
+4
1st unit
Hysteresis (heating)
(4 digits BCD)
0001 to 9999
+5
1st unit
Hysteresis (cooling) (4 digits BCD)
0001 to 9999
+6
1st unit
Control period (heating)
(4 digits BCD)
0001 to 0099
+7
1st unit
Control period (cooling)
(4 digits BCD)
0001 to 0099
479
Appendix F
Contents (data format)
Data
+56
(max.)
8th unit
Control period (cooling)
(4 digits BCD)
0001 to 0099
+0
+1
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+9
~
(Undefined)
Offset
Unit No.
(max.)
Data
+0
Number of units + 2
+1
0001 to 0008
+2 to 9
00 to 31
+0
+1
+2
+3
+4
+5
MV at PV error
+6
+7
MV upper limit
MV lower limit
+8
MV at stop
480
1st unit
+57
+58
+59
+60
MV at stop
+61
MV at PV error
+62
MV upper limit
+63
MV lower limit
+64
Appendix F
Contents (data format)
Data
+0
Number of units 8 + 1
+1
1st unit
SP ramp time unit (4 digits BCD)
0000: s, 0001: h
+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.
+5
1st unit
MV at PV error (4 digits BCD)
F050 to 1050
F indicates a negative value.
A050 to 1050 for heating/cooling control
A indicates a negative value.
+6
1st unit
MV upper limit (4 digits BCD)
+7
1st unit
MV lower limit (4 digits BCD)
+8
1st unit
MV change rate limit
(4 digits BCD)
0000 to 1000
+64
(max.)
8th unit
MV change rate limit
(4 digits BCD)
0000 to 1000
+0
+1
+2
+3
(Undefined)
Unit No.
(Undefined)
Unit No.
~
+9
~
(Undefined)
Offset
Unit No.
(max.)
Data
+0
Number of units + 2
+1
0001 to 0008
+2 to 9
00 to 31
481
Appendix F
+0
+1
+2
Alarm 1 hysteresis
+3
+4
Alarm 2 hysteresis
+5
+6
1st unit
Alarm 3 hysteresis
+43
+44
Alarm 1 hysteresis
+45
Alarm 2 hysteresis
+46
Alarm 3 hysteresis
+47
+48
Offset
Data
+0
Number of units 6 + 1
+1
1st unit
Input digital filter (4 digits BCD)
0000 to 9999
+2
1st unit
Alarm 1 hysteresis
(4 digits BCD)
0001 to 9999
+3
1st unit
Alarm 2 hysteresis
(4 digits BCD)
0001 to 9999
+4
1st unit
Alarm 3 hysteresis
(4 digits BCD)
0001 to 9999
+5
1st unit
Input shift upper limit (4 digits BCD)
A999 to 9999
F indicates a negative value and A indicates 1.
+6
1st unit
Input shift lower limit (4 digits BCD)
A999 to 9999
F indicates a negative value and A indicates 1.
+48
(max.)
482
8th unit
Input shift lower limit (4 digits BCD)
A999 to 9999
F indicates a negative value and A indicates 1.
Appendix F
(Undefined)
Unit No.
+2
(Undefined)
Parameter No.
Offset
+0
Data
0003 (fixed)
+1
00 to 31
+2
+0
+1
Read data
Offset
Data
+0
0002
+1
A999 to 9999
F indicates a negative value and A indicates
1.
Note To read parameters in the setup mode or extended mode, execute Switch to Level 1 (Sequence No. 075)
in advance.
483
484
Appendix F
Appendix G
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 Unit/Board via RS-232C or RS-485 cable.
Note Negative values cannot be written. All values must be set as unsigned BCD.
Communications
sequence name
Function
Ladder interface
Send word
allocation
Receive word
allocation
Yes
Yes
No
No
050 (0032)
051 (0033)
052 (0034)
Yes
No
053 (0035)
054 (0036)
Yes
Yes
No
No
055 (0037)
056 (0038)
Yes
Yes
No
No
057 (0039)
Yes
No
058 (003A)
Yes
No
059 (003B)
060 (003C)
Yes
Yes
No
No
061 (003D)
062 (003E)
Write MV limits
Write input digital filter
Yes
Yes
No
No
063 (003F)
064 (0040)
Yes
Yes
No
No
065 (0041)
066 (0042)
Yes
Yes
No
No
067 (0043)
068 (0044)
Yes
Yes
No
No
069 (0045)
070 (0046)
Yes
Yes
No
No
071 (0047)
Yes
No
072 (0048)
Switch to level 0
(software reset)
Run/stop
Yes
No
073 (0049)
074 (004A)
Remote/local
Execute/cancel AT
Yes
Yes
No
No
075 (004B)
076 (004C)
Switch to level 1
Software reset
Yes
Yes
No
No
485
Appendix G
Set the constant 0000 for the 3rd operand (S).
Set the constant 0000 for the 4th operand (D).
Connections
The connections are the same as that for the E5@K Digital Controller Read Protocol.
+0
+1
Read data
Offset
+0
Data
0003 (fixed)
+1
00 to 31
+2
Unit No.
+2
Alarm value 1
+3
Alarm value 2
Offset
+0
0004 (fixed)
+1
00 to 31
+2
0000 to 999
+3
0000 to 9999
486
Data
Appendix G
Unit No.
+2
Proportional band
+3
Integral time
+4
Derivative time
Offset
+0
Data
0005 (fixed)
+1
00 to 31
+2
0001 to 9999
+3
0000 to 3999
+4
0000 to 3999
+0
+1
+2
Unit No.
Cooling coefficient
Offset
+0
Data
0003 (fixed)
+1
00 to 31
+2
0001 to 9999
+0
+1
(Undefined)
+2
Unit No.
Dead band
Offset
+0
Data
0003 (fixed)
+1
00 to 31
+2
0000 to 9999
487
Appendix G
+0
+1
Unit No.
+2
Offset
+0
Data
0003 (fixed)
+1
00 to 31
+2
0000 to 1000
+0
+1
(Undefined)
Unit No.
+2
Hysteresis (heating)
+3
Hysteresis (cooling)
Offset
+0
Data
0004 (fixed)
+1
00 to 31
+2
Hysteresis (heating)
(4 digits BCD)
0001 to 9999
+3
Hysteresis (cooling)
(4 digits BCD)
0001 to 9999
+0
+1
(Undefined)
+3
Offset
488
Unit No.
+2
Data
+0
0004 (fixed)
+1
00 to 31
Appendix G
Contents (data format)
Data
+2
0001 to 0099
+3
0001 to 0099
Write SP Ramp Time Unit and Set Value (Sequence No. 058 (Hex
003A))
Writes the SP ramp time unit and SP ramp set value.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
(Undefined)
Unit No.
+2
+3
Offset
+0
Data
0004 (fixed)
+1
00 to 31
+2
0000:
0001:
+3
0000 to 9999
Minutes
Hours
+0
+1
(Undefined)
+2
Unit No.
Offset
Data
+0
0003 (fixed)
+1
00 to 31
+2
0000 to 9999
489
Appendix G
+0
+1
Unit No.
+2
MV at stop time
+3
MV at PV error
Offset
+0
Data
0004 (fixed)
+1
00 to 31
+2
0000 to 1050
+3
0000 to 1050
+2
Unit No.
MV upper limit
+3
MV lower limit
+4
Offset
+0
0005 (fixed)
+1
00 to 31
+2
+3
+4
0000 to 1000
490
Data
Appendix G
+0
+1
(Undefined)
Unit No.
+2
Offset
+0
Data
0003 (fixed)
+1
00 to 31
+2
0000 to 9999
+0
+1
(Undefined)
Unit No.
Alarm 1 hysteresis
+2
+3
Alarm 2 hysteresis
Offset
+0
Data
0004 (fixed)
+1
00 to 31
+2
Alarm 1 hysteresis
(4 digits BCD)
0001 to 9999
+3
Alarm 2 hysteresis
(4 digits BCD)
0001 to 9999
+0
+1
+2
+3
Offset
+0
Unit No.
Data
0004 (fixed)
+1
00 to 31
+2
0000 to 9999
+3
0000 to 9999
491
Appendix G
+0
+1
Number of units
+2
(Undefined)
+3
Unit No.
1st unit
Set point
+4
+5
2nd unit
Set point
~
+16
~
(Undefined)
+17
Unit No.
Set point
Offset
Data
+0
Number of units 2 + 2
+1
0001 to 0008
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Set point (4 digits BCD)
+17
(max.)
8th unit
Set point (4 digits BCD)
492
Appendix G
+0
+1
Number of units
(Undefined)
+2
Unit No.
+3
Alarm value 1
+4
+5
Alarm value 2
+6
Proportional band
Alarm value 3
+7
Integral time
+8
Derivative time
1st unit
~
+51
~
(Undefined)
Unit No.
+52
Alarm value 1
+53
Alarm value 2
+54
Alarm value 3
+55
Proportional band
+56
Integral time
+57
Derivative time
Offset
Data
+0
Number of units 7 + 2
+1
0001 to 0008
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Alarm value 1 (4 digits BCD)
A999 to 9999
F indicates a negative value and A indicates
1.
+4
1st unit
Alarm value 2 (4 digits BCD)
A999 to 9999
F indicates a negative value and A indicates
1.
+5
1st unit
Alarm value 3 (4 digits BCD)
A999 to 9999
F indicates a negative value and A indicates
1.
+6
1st unit
Proportional band (4 digits BCD)
0001 to 9999
+7
1st unit
Integral time (4 digits BCD)
0000 to 3999
+8
1st unit
Derivative time (4 digits BCD)
0000 to 3999
+57
(max.)
8th unit
Derivative time (4 digits BCD)
0000 to 3999
493
Appendix G
+0
+1
(Undefined)
+2
Unit No.
Cooling coefficient
+3
+4
Dead band
+5
+6
Hysteresis (heating)
+7
Hysteresis (cooling)
+8
+9
~
(Undefined)
+58
1st unit
+59
Unit No.
Cooling coefficient
+60
Dead band
+61
+62
Hysteresis (heating)
+63
Hysteresis (cooling)
+64
+65
Offset
Data
+0
Number of units 8 + 2
+1
0001 to 0008
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Cooling coefficient (4 digits BCD)
0001 to 9999
+4
1st unit
Dead band (4 digits BCD)
0000 to 9999
+5
1st unit
Manual reset value (4 digits BCD)
0000 to 1000
+6
1st unit
Hysteresis (heating)
(4 digits BCD)
0001 to 9999
+7
1st unit
Hysteresis (cooling)
(4 digits BCD)
0001 to 9999
+8
1st unit
Control period (heating)
(4 digits BCD)
0001 to 0099
+9
1st unit
Control period (cooling)
(4 digits BCD)
0001 to 0099
+65
(max.)
8th unit
Control period (cooling)
(4 digits BCD)
494
0001 to 0099
Appendix G
+0
+1
+2
+3
Unit No.
+4
+5
+6
+7
MV at PV error
MV at stop
1st unit
MV upper limit
+8
+9
+10
MV lower limit
MV change rate limit
~
+65
~
(Undefined)
Unit No.
+66
+67
+68
+69
+70
MV at PV error
+71
MV upper limit
+72
MV lower limit
+73
MV at stop
Offset
+0
Data
Number of units 9 + 2
+1
0001 to 0008
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
SP ramp time unit (4 digits BCD)
0000 to 0001
+4
1st unit
SP ramp set value (4 digits BCD)
0000 to 9999
+5
1st unit
LBA detection time (4 digits BCD)
0000 to 9999
+6
1st unit
MV at stop (4 digits BCD)
0000 to 1050
+7
1st unit
MV at PV error (4 digits BCD)
0000 to 1050
+8
1st unit
MV upper limit (4 digits BCD)
+9
1st unit
MV lower limit (4 digits BCD)
+10
1st unit
MV change rate limit (4 digits BCD)
0000 to 1000
+73
(max.)
8th unit
MV change rate limit
(4 digits BCD)
0000 to 1000
495
Appendix G
+0
+1
+2
Number of units
(Undefined)
Unit No.
+3
+4
+5
alarm 1 hysteresis
+6
alarm 3 hysteresis
+7
+8
alarm 2 hysteresis
1st unit
~
+51
~
(Undefined)
Unit No.
+52
+53
alarm 1 hysteresis
+54
alarm 2 hysteresis
+55
alarm 3 hysteresis
+56
+57
Offset
Data
+0
Number of units 7 + 2
+1
0001 to 0008
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Input digital filter (4 digits BCD)
0000 to 9999
+4
1st unit
Alarm 1 hysteresis
(4 digits BCD)
0001 to 9999
+5
1st unit
Alarm 2 hysteresis
(4 digits BCD)
0001 to 9999
+6
1st unit
Alarm 3 hysteresis
(4 digits BCD)
0001 to 0099
+7
1st unit
Input shift upper limit (4 digits BCD)
000 to 9999
+8
1st unit
Input shift lower limit (4 digits BCD)
000 to 9999
+57
(max.)
8th unit
Input shift lower limit (4 digits BCD)
496
000 to 9999
Appendix G
+0
+1
(Undefined)
Unit No.
+2
(Undefined)
Parameter No.
+3
Write data
Offset
+0
Data
0004 (fixed)
+1
00 to 31
+2
+3
0000 to 9999
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+9
~
(Undefined)
Offset
Unit No.
(max.)
Data
+0
Number of units + 2
+1
Number of units
(4 digits Hex)
0001 to 0008
+2 to 9
Unit No.
(2 digits BCD)
00 to 31
497
Appendix G
+0
+1
Number of units
+2
(Undefined)
+3
Unit No.
1st unit
Command code
+4
(Undefined)
+5
Unit No.
2nd unit
Command code
~
+16
~
(Undefined)
+17
Unit No.
Command code
Offset
Data
Number of units 2 + 2
+1
0001 to 0008
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Command code (4 digits BCD)
0000:
0001:
Run
Stop
0000:
0001:
Run
Stop
+0
+17
(max.)
8th unit
Command code (4 digits BCD)
+0
+1
Number of units
+2
+3
(Undefined)
+4
(Undefined)
+5
Unit No.
Unit No.
+17
498
2nd unit
Command code
~
+16
1st unit
Command code
~
(Undefined)
Unit No.
Command code
Appendix G
Offset
Data
Number of units 2 + 2
+1
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
+0
+17
(max.)
8th unit
Command code (4 digits BCD)
0000: Local
0001: Remote
+0
+1
Number of units
+2
(Undefined)
+3
Unit No.
1st unit
Command code
+4
(Undefined)
Unit No.
2nd unit
Command code
+5
~
+16
~
(Undefined)
Unit No.
Command code
+17
Offset
Data
+0
Number of units 2 + 2
+1
0001 to 0008
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Command code (4 digits BCD)
0000: Stop
0001: Execute AT 40%
0002: Execute AT 100%
+17
(max.)
8th unit
Command code (4 digits BCD)
0000: Stop
0001: Execute AT 40%
0002: Execute AT 100%
499
Appendix G
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
(Undefined)
Unit No.
~
+9
Offset
(max.)
Data
+0
Number of units + 2
+1
0001 to 0008
+2 to 9
00 to 31
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+9
~
(Undefined)
Offset
Unit No.
(max.)
Data
+0
Number of units + 2
+1
0001 to 0008
+2 to 9
00 to 31
500
Appendix H
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 Unit/Board via RS-232C or RS-422/485
cable.
Note All sequences in this appendix operate on memory bank 0 and cannot be used for other memory banks.
Communications sequence
name
Function
Ladder interface
Send word
allocation
Receive word
allocation
100 (0064)
101 (0065)
Yes
Yes
Yes
Yes
102 (0066)
103 (0067)
Yes
Yes
Yes
Yes
Yes
Yes
105 (0069)
Yes
Yes
106 (006A)
107 (006B)
Yes
Yes
Yes
Yes
108 (006C)
109 (006D)
Yes
Yes
Yes
Yes
110 (006E)
111 (006F)
Yes
Yes
Yes
Yes
112 (0070)
113 (0071)
Yes
Yes
Yes
Yes
114 (0072)
115 (0073)
Yes
Yes
Yes
Yes
116 (0074)
117 (0075)
Yes
Yes
Yes
Yes
118 (0076)
Yes
Yes
119 (0077)
Yes
Yes
120 (0078)
Yes
Yes
Yes
Yes
Yes
123 (007B)
Yes
122 (007A)
Yes
Yes
104 (0068)
121 (0079)
501
Appendix H
Connections
This section shows connections for using the E5ZE Temperature Controller Read Protocol.
RS-232C Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
PLC
PS
E5ZE
RS-232C
RS-232C port
RS-232C
Signal name
Signal
Pin abbreviNo. ation
NC
SD
RD
RTS
CTS
DSR
SG
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
DTR
NC
NC
NC
NC
NC
Abbreviation
Signal direction
Pin No.
SG
---
Send data
Receive data
SD
RD
Output
Input
2
3
Request to send
Clear to send
RTS
CTS
Output
Input
4
5
DSR
DTR
Input
Output
6
20
NC
---
1, 8 to 19, 21 to 25
Serial Communications
Unit/Board/Unit
E5ZE
RS-232C: D-sub
9-pin female
Signal Pin
name No.
FG
SG
SD
RD
RTS
1
9
2
3
4
CTS 5
DSR 7
DTR 8
RS-232C: D-sub
9-pin female
Shield
Pin
No.
LT1181CS or
equivalent
Signal
name
7
2
SG
SD
TX
3 RD
4 RTS
5 CTS
6 DSR
20 DTR
RX
Note 1. The maximum communications cable length is 15 m. Use a shielded twisted-pair cable for the cable.
2. Use a 25-pin D-sub Plug (OMRON XM2A-2501).
3. Use XM2S-2511 Hood (OMRON) or an equivalent.
502
Appendix H
Pin No.
Signal name
Disabled (Do not connect.)
Disabled (Do not connect.)
Abbreviation
-----
Signal direction
-----
3
4
Signal ground
Terminal B (+ side)
SG
B
--I/O
Terminal A ( side)
I/O
E5ZE
240
SN751177N or
equivalent
5V
51 k
4.7 k
RS-485: Terminals
4.7 k
Signal
name
Pin
No.
Terminal
Signal
name
FG
Hood
SG
RX
51 k
TX
6.8 V
Shield
E5ZE
RS-485: Terminals
Shield
Terminal
Signal
name
SG
Terminating
resistance
240
Note Terminal block pins 1 and 2 cannot be connected. If these blocks are used, operation of the E5ZE may
fail.
503
Appendix H
Signal name
Abbreviation
Receive data B
RDB
Input
Receive data A
RDA
Input
Signal ground
SG
---
Send data B
SDB
Send data A
SDA
Output
Output
E5ZE
RS-422:
Terminals
Pin
No.
Hood
Terminal
SDB
RDB
SDA
RDA
RDB
SDB
RDA
SDA
FG
Shield
*1: Set the 2-/4-wire switch
to the 4-wire setting.
*2: Turn ON the terminating resistance switch.
Terminating
resistance
Signal
name
5V
240
51 k
4.7 k
4.7 k
TX
Terminating
resistance
Shield
RX
51 k
6.8 V
Terminal
block
Terminal
Signal
name
RDB
RDA
SDB
SDA
Terminating
resistance
240
Terminating
resistance
240
504
Signal direction
Appendix H
Switch Settings
This section shows the switch settings for using the E5ZE Temperature Controller Read Protocol.
Communications Parameter DIP Switch
1 2
DTS-4
3 4
OFF
OFF
1 and 2
RS-422 or RS-485
OFF
OFF
ON
ON
OFF
OFF
3 4
3 4
OFF
OFF
ON
1 2
ON
ON
RS-485
1 2
RS-422
3 4
Parameter
Terminating ON
resistance
3 4
Pins
3 and 4
Setting 0
1
2
3
4
5
6
7
8
9
A
Unit No. 00 01 02 03 04 05 06 07 08 09 0A
B
0B
C
D
E
0C 0D 0E
F
0F
Factory defaults
Baud Rate DIP Switch
ON
1 2 3 4 5 6 7 8
Factory default: 9,600 bps
(pin 1 ON, pin 2 OFF)
2,400
ON
ON
ON
ON
1
2
4,800
1
2
9,600
1
2
Pins 1 and 2
19,200
1
2
Baud rate
(bps)
505
Appendix H
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
Channel 0
+15
+16
Offset
Channel 7
Data
+0
+1
Channel 0
Set point (rightmost 4 digits)
(4 digits BCD)
+2
Channel 0
Set point (leftmost 1 digit) (1 digit BCD)
+15
Channel 7
Set point (rightmost 4 digits)
(4 digits BCD)
+16
Channel 7
Set point (leftmost 1 digit) (1 digit BCD)
Offset
506
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
Appendix H
+0
+1
+2
+3
+4
Channel 0
Channel 1
+15
+16
Offset
Channel 7
Data
+0
+1
Channel 0
Process value (rightmost 4 digits)
(4 digits BCD)
+2
Channel 0
Process value (leftmost 1 digit)
(1 digit BCD)
+15
Channel 7
Process value (rightmost 4 digits)
(4 digits BCD)
+16
Channel 7
Process value (leftmost 1 digit)
(1 digit BCD)
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
+3
Output value
+4
Output value
Channel 0
Channel 1
+15
Output value
+16
Channel 7
507
Appendix H
Data
+0
+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 to 1000
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
+3
+4
+5
Output value
508
Channel 0
+36
+37
+38
+39
+40
Output value
Channel 7
Appendix H
Data
+0
+1
Channel 0
Set point (rightmost 4 digits)
(4 digits BCD)
+2
Channel 0
Set point (leftmost 1 digit) (1 digit BCD)
+3
Channel 0
Process value (rightmost 4 digits)
(4 digits BCD)
+4
Channel 0
Process value (leftmost 1 digit)
(1 digit BCD)
+5
Channel 0
Output value (4 digits BCD)
0000 to 1000
+36
Channel 7
Set point (rightmost 4 digits)
(4 digits BCD)
+37
Channel 7
Set point (leftmost 1 digit) (1 digit BCD)
+38
Channel 7
Process value (rightmost 4 digits)
(4 digits BCD)
+39
Channel 7
Process value (leftmost 1 digit)
(1 digit BCD)
+40
Channel 0
Output value (4 digits BCD)
0000 to 1000
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
Constant P
+2
Constant I
+3
Constant D
~
+22
Channel 0
~
Constant P
+23
Constant I
+24
Constant D
Channel 7
509
Appendix H
Offset
Data
+0
+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
+23
Channel 7
Constant I (4 digits BCD)
0000 to 3999
+24
Channel 7
Constant D (4 digits BCD)
0000 to 3999
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
Control period
Channel 0
+3
Control period
+4
+15
Control period
+16
Offset
Channel 1
Channel 7
Data
+0
+1
Channel 0
Control period (4 digits BCD)
0001 to 0099
+2
Channel 0
Cooling control period
(4 digits BCD)
0001 to 0099
510
+15
Channel 7
Control period (4 digits BCD)
0001 to 0099
+16
Channel 7
Cooling control period
(4 digits BCD)
0001 to 0099
Appendix H
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
(Undefined)
Offset
Set code
Data
+0
0002
+1
00 to FF
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
(Undefined)
+2
(Undefined)
+3
(Undefined)
+4
(Undefined)
+15
(Undefined)
+16
(Undefined)
Channel 0
Channel 1
Offset
Channel 7
Data
+0
+1
Channel 0
Alarm 1 set code (2 digits Hex)
00 to 0C
+2
Channel 0
Alarm 2 set code (2 digits Hex)
00 to 0C
+15
Channel 7
Alarm 1 set code (2 digits Hex)
00 to 0C
+16
Channel 7
Alarm 2 set code (2 digits Hex)
00 to 0C
511
Appendix H
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
+3
+4
~
+29
Channel 0
~
Alarm 1 set value (rightmost 4 digits)
+30
+31
+32
Channel 7
`
Offset
Data
+0
+1
Channel 0
Alarm 1 set value (rightmost 4 digits)
(4 digits BCD)
0000 to 9999
F indicates a negative number.
+2
Channel 0
Alarm 1 set value (leftmost 1 digit)
(4 digits BCD)
0000 to 0009
F indicates a negative number.
+3
Channel 0
Alarm 2 set value (rightmost 4 digits)
(4 digits BCD)
0000 to 9999
F indicates a negative number.
+4
Channel 0
Alarm 2 set value (leftmost 1 digit)
(4 digits BCD)
0000 to 0009
F indicates a negative number.
512
+29
Channel 7
Alarm 1 set value (rightmost 4 digits)
(4 digits BCD)
0000 to 9999
F indicates a negative number.
+30
Channel 7
Alarm 1 set value (leftmost 1 digit)
(4 digits BCD)
0000 to 0009
F indicates a negative number.
+31
Channel 7
Alarm 2 set value (rightmost 4 digits)
(4 digits BCD)
0000 to 9999
F indicates a negative number.
+32
Channel 07
Alarm 2 set value (leftmost 1 digit)
(4 digits BCD)
0000 to 0009
F indicates a negative number.
Appendix H
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
Hysteresis
+2
Cooling hysteresis
+3
Hysteresis
+4
Cooling hysteresis
Channel 0
Channel 1
+15
Hysteresis
+16
Cooling hysteresis
Offset
Channel 7
Data
+0
+1
Channel 0
Hysteresis (4 digits BCD)
0000 to 0999
+2
Channel 0
Cooling hysteresis (4 digits BCD)
0000 to 0999
+15
Channel 7
Hysteresis (4 digits BCD)
0000 to 0999
+16
Channel 7
Cooling hysteresis (4 digits BCD)
0000 to 0999
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
513
Appendix H
+0
+1
Channel 0
+2
Status code
Channel 1
~
Status code
+8
Offset
Channel 7
Data
+0
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
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
Status code
Offset
Data
+0
0002
+1
0000 to FFFF
+0
+1
Offset
514
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
Appendix H
+0
+1
Offset
Data
+0
0002
+1
0000: unit of 1
0001: unit of 0.1
+0
(Undefined)
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
Channel 0
+2
Channel 1
~
Input shift value
+8
Offset
Channel 7
Data
+0
0009
+1
Channel 0
Input shift value (4 digits BCD)
0000 to 0999
F indicates a negative number.
+2
Channel 1
Input shift value (4 digits BCD)
0000 to 0999
F indicates a negative number.
+8
Channel 7
Input shift value (4 digits BCD)
0000 to 0999
F indicates a negative number.
+0
(Undefined)
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
515
Appendix H
+0
+1
Channel 0
+2
Channel 1
~
Manual reset value
+8
Offset
Channel 7
Data
+0
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
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1 (Undefined)
+2
Ramp value
Time unit
+3 (Undefined)
+4
Ramp value
Time unit
~
Ramp value
+15 (Undefined)
Offset
Time unit
Channel 7
(Undefined)
Data
+0
+1
Channel 0
Ramp value (3 digits BCD)
000 to 999
+2
Channel 0
Time unit (one ASCII character)
516
Channel 1
(Undefined)
~
+16
Channel 0
(Undefined)
Appendix H
Data
+15
Channel 7
Ramp value (3 digits BCD)
000 to 999
+16
Channel 7
Time unit (one ASCII character)
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
Channel 0
+15
+16
Offset
Channel 7
Data
+0
+1
Channel 0
Present set point (rightmost 4 digits)
(4 digits BCD)
+2
Channel 0
Present set point (leftmost 1 digit)
(1 digit BCD)
+15
Channel 7
Present set point (rightmost 4 digits)
(4 digits BCD)
+16
Channel 7
Present set point (leftmost 1 digit)
(1 digit BCD)
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
517
Appendix H
+0
+1
+2
Channel 0
+29
+30
Channel 7
Offset
Data
+0
+1
Channel 0
Output value lower limit
(4 digits BCD)
0000 to 1000
+2
Channel 0
Output value upper limit
(4 digits BCD)
0000 to 1000
+3
Channel 0
0000 to 1000
Cooling control output value upper limit
(4 digits BCD)
+4
Channel 0
0000 to 1000
Cooling control output value upper limit
(4 digits BCD)
+31
Channel 7
0000 to 1000
Cooling control output value upper limit
(4 digits BCD)
+32
Channel 7
0000 to 1000
Cooling control output value upper limit
(4 digits BCD)
Read Output Value Change Rate Limit (Sequence No. 118 (Hex
0076))
Reads the output value change rate limits and stores the results in the specified words.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
Channel 0
+2
Channel 1
~
+8
518
~
Output value change rate limit
Channel 7
Appendix H
Offset
Data
+0
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
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
(Undefined)
Offset
Set code
Data
+0
0009
+1
00 to FF
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
519
Appendix H
+0
+1
+2
+3
+4
Channel 0
Channel 1
+15
+16
Offset
Channel 7
Data
+0
+1
Channel 0
Heater burnout detection current
(4 digits BCD)
0000 to 0500
+2
Channel 0
SSR failure detection current
(4 digits BCD)
0000 to 0500
+15
Channel 7
Heater burnout detection current
(4 digits BCD)
0000 to 0500
+16
Channel 7
SSR failure detection current
(4 digits BCD)
0000 to 0500
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
Heater current
+3
Heater current
+4
520
Channel 0
Channel 1
+15
Heater current
+16
Channel 7
Appendix H
Data
+0
+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 channels for which control is stopped.
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
~
+8
Channel 0
Channel 1
~
Dead band/overlap band
Offset
Channel 7
Data
+0
+1
Channel 0
Dead band/overlap band
(4 digits BCD)
F indicates a number.
Channel 1
Dead band/overlap band
(4 digits BCD)
F indicates a number.
+2
0009
0000 to 0999
0000 to 0999
+8
Channel 7
Dead band/overlap band
(4 digits BCD)
0000 to 0999
F indicates a number.
521
Appendix H
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
+2
Cooling coefficient
Cooling coefficient
~
+8
Channel 0
Channel 1
~
Cooling coefficient
Offset
Channel 7
Data
+0
0009
+1
Channel 0
Cooling coefficient (4 digits BCD)
0000 to 0100
+2
Channel 1
Cooling coefficient (4 digits BCD)
0000 to 0100
+8
522
Channel 7
Cooling coefficient (4 digits BCD)
0000 to 0100
Appendix I
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-422/485 cable from the PLC via the Serial Communications Unit/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.
Function
Ladder interface
Send
Receive
word
word
allocation allocation
150
(0096)
Yes
No
151
(0097)
Yes
No
152
(0098)
Yes
No
153
(0099)
154
(009A)
155
(009B)
156
(009C)
Yes
No
Yes
No
Yes
No
Yes
No
157
(009D)
Yes
No
158
(009E)
Write hysteresis
Yes
No
159
(009F)
160
(00A0)
161
(00A1)
162
(00A2)
Start autotuning
Starts autotuning.
Yes
No
Cancel autotuning
Cancels autotuning.
Yes
No
Yes
No
Yes
No
163
(00A3)
Yes
No
164
(00A4)
Yes
No
165
(00A5)
166
(00A6)
167
(00A7)
168
(00A8)
Yes
No
Yes
No
Yes
No
Save settings
Saves settings.
Yes
No
523
Appendix I
Function
Ladder interface
Send
Receive
word
word
allocation allocation
Yes
No
169
(00A9)
170
(00AA)
Initialize settings
Initializes settings.
Yes
No
171
(00AB)
Yes
No
172
(00AC)
Yes
No
173
(00AD)
174
(00AE)
175
(00AF)
176
(00B0)
Yes
No
Start control
Yes
No
Yes
No
Yes
No
Connections
The connections are the same as that for the E5ZE Temperature Controller Read Protocol.
Write Set Point (Setting Unit 1) (Sequence No. 150 (Hex 0096))
Writes the set points using a setting unit of 1 (4 digits).
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
+2
Set point
+3
(Undefined)
+4
Set point
+5
(Undefined)
524
Unit No.
Channel 0
Channel 1
+16
Set point
+17
(Undefined)
Channel 7
Appendix I
Data
+1
00 to 0F
+2
Channel 0
Set point
(4 digits BCD)
+16
Channel 7
Set point
(4 digits BCD)
+17
Not used
---
Write Set Point (Setting Unit 0.1) (Sequence No. 151 (Hex 0097))
Writes the set points using a setting unit of 0.1 (5 digits).
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
(Undefined)
Unit No.
+2
+3
+4
+5
Channel 1
+16
+17
Offset
+0
Channel 0
Channel 7
Data
+1
00 to 0F
+2
Channel 0
Set point (rightmost 4 digits)
(4 digits BCD)
+3
Channel 0
Set point (leftmost 1 digit) (1 digit BCD)
+16
Channel 7
Set point (rightmost 4 digits)
(4 digits BCD)
+17
Channel 7
Set point (rightmost 1 digit)
(1 digit BCD)
525
Appendix I
+0
+1
Unit No.
+2
Constant P
+3
Constant I
+4
Constant D
Channel 0
~
Constant P
+23
+24
Constant I
+25
Constant D
Offset
+0
Channel 7
Data
+1
00 to 0F
+2
Channel 0
Constant P (4 digits BCD)
0000 to 9999
+3
Channel 0
Constant I (4 digits BCD)
0000 to 3999
+4
Channel 0
Constant D (4 digits BCD)
0000 to 3999
+23
Channel 7
Constant P (4 digits BCD)
0000 to 9999
+24
Channel 7
Constant I (4 digits BCD)
0000 to 3999
+25
Channel 7
Constant D (4 digits BCD)
0000 to 3999
526
Appendix I
+0
+1
Unit No.
+2
Control period
+3
+4
Control period
+5
~
Control period
+17
Offset
Channel 1
+16
+0
Channel 0
Channel 7
Data
+1
00 to 0F
+2
Channel 0
Control period (4 digits BCD)
0001 to 0099
+3
Channel 0
Cooling control period
(4 digits BCD)
0001 to 0099
+4
Channel 1
Control period (4 digits BCD)
0001 to 0099
+5
Channel 1
Cooling control period
(4 digits BCD)
0001 to 0099
+16
Channel 7
Control period (4 digits BCD)
0001 to 0099
+17
Channel 7
Cooling control period
(4 digits BCD)
0001 to 0099
527
Appendix I
+0
+1
(Undefined)
Unit No.
+2
(Undefined)
Write code
Offset
+0
Data
0003 (fixed)
+1
00 to 0F
+2
00 to FF
+0
+1
(Undefined)
+2
(Undefined)
Unit No.
Alarm 1 set code
+3
(Undefined)
+4
(Undefined)
+5
(Undefined)
Channel 0
Channel 1
+16
(Undefined)
+17
(Undefined)
Offset
+0
Channel 7
Data
+1
00 to 0F
+2
Channel 0
Alarm 1 set code (2 digits Hex)
00 to 0C
+3
Channel 0
Alarm 2 set code (2 digits Hex)
00 to 0C
+4
Channel 1
Alarm 1 set code (2 digits Hex)
00 to 0C
+5
Channel 1
Alarm 2 set code (2 digits Hex)
00 to 0C
+16
Channel 7
Alarm 1 set code (2 digits Hex)
00 to 0C
+17
Channel 7
Alarm 2 set code (2 digits Hex)
00 to 0C
528
Appendix I
+0
(Undefined)
+1
Unit No.
+2
+3
+4
+5
(Undefined)
(Undefined)
Channel 0
~
+30
+31
+32
+33
(Undefined)
Offset
+0
Channel 7
Data
+1
00 to 0F
+2
Channel 0
Alarm 1 set value
(4 digits BCD)
0000 to 9999
+3
Not used
+4
Channel 0
Alarm 2 set value
(4 digits BCD)
+5
Not used
0000 to 9999
+32
Channel 7
Alarm 2 set value
(4 digits BCD)
+33
Not used
0000 to 9999
529
Appendix I
+0
+1
Unit No.
+2
+3
+4
+5
~
+30
Channel 0
~
Alarm 1 set value (rightmost 4 digits)
+31
+32
+33
Offset
+0
Channel 7
Data
+1
00 to 0F
+2
Channel 0
Alarm 1 set value (rightmost 4 digits)
(4 digits BCD)
0000 to 9999
+3
Channel 0
Alarm 1 set value (leftmost 1 digits)
(4 digits BCD)
0000 to 0009
+4
Channel 0
Alarm 2 set value (rightmost 4 digits)
(4 digits BCD)
0000 to 9999
+5
Channel 0
Alarm 2 set value (leftmost 1 digits)
(4 digits BCD)
0000 to 0009
+32
Channel 7
Alarm 2 set value (rightmost 4 digits)
(4 digits BCD)
0000 to 9999
+33
Channel 7
Alarm 2 set value (leftmost 1 digits)
(4 digits BCD)
0000 to 0009
530
Appendix I
+0
+1
Unit No.
+2
Hysteresis
+3
+4
Cooling hysteresis
+5
Cooling hysteresis
Channel 0
Hysteresis
Channel 1
+16
Hysteresis
+17
Cooling hysteresis
Offset
+0
Channel 7
Data
+1
00 to 0F
+2
Channel 0
Hysteresis (4 digits BCD)
0000 to 0999
+3
Channel 0
Cooling hysteresis (4 digits BCD)
0000 to 0999
+4
Channel 1
Hysteresis (4 digits BCD)
0000 to 0999
+5
Channel 1
Cooling hysteresis (4 digits BCD)
0000 to 0999
+16
Channel 7
Hysteresis (4 digits BCD)
0000 to 0999
+17
Channel 7
Cooling hysteresis (4 digits BCD)
0000 to 0999
+0
+1
Unit No.
(Undefined)
+2
Offset
+0
Channel
Data
0003 (fixed)
+1
00 to 0F
+2
0 to 7
531
Appendix I
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
(Undefined)
Unit No.
Write code
+2
Offset
Data
+0
0003 (fixed)
+1
00 to 0F
+2
0000: unit of 1
0001: unit of 0.1
532
+0
+1
+2
Channel 0
+3
Channel 1
+4
Channel 2
+5
Channel 3
+6
+7
Channel 5
+8
Channel 6
+9
Channel 7
Channel 4
Appendix I
Data
+1
00 to 0F
+2
Channel 0
Input shift value (4 digits BCD)
0000 to 0999
+3
Channel 1
Input shift value (4 digits BCD)
0000 to 0999
+4
Channel 2
Input shift value (4 digits BCD)
0000 to 0999
+8
Channel 6
Input shift value (4 digits BCD)
0000 to 0999
+9
Channel 7
Input shift value (4 digits BCD)
0000 to 0999
+0
+1
(Undefined)
Unit No.
+2
Channel 0
+3
Channel 1
+4
Channel 2
+5
Channel 3
+6
Channel 4
+7
+8
Channel 5
Channel 6
+9
Channel 7
Offset
+0
Data
+1
00 to 0F
+2
Channel 0
Manual reset value
(4 digits BCD)
0000 to 1000
+3
Channel 1
Manual reset value
(4 digits BCD)
0000 to 1000
+4
Channel 2
Manual reset value
(4 digits BCD)
0000 to 1000
+8
Channel 6
Manual reset value
(4 digits BCD)
0000 to 1000
+9
Channel 7
Manual reset value
(4 digits BCD)
0000 to 1000
533
Appendix I
+0
+1
(Undefined)
Unit No.
+2 (Undefined)
+3
Ramp value
Time unit
+4 (Undefined)
+5
Ramp value
Time unit
Channel 1
(Undefined)
+16 (Undefined)
Ramp value
Time unit
+17
Offset
+0
Channel 0
(Undefined)
(Undefined)
Channel 7
Data
+1
00 to 0F
+2
Channel 0
Ramp value (3 digits BCD)
000 to 999
+3
Channel 0
Time unit (one ASCII character)
+4
Channel 1
Ramp value (3 digits BCD)
000 to 999
+5
Channel 1
Time unit (one ASCII character)
+16
Channel 7
Ramp value (3 digits BCD)
000 to 999
+17
Channel 7
Time unit (one ASCII character)
+0
+1
Unit No.
Output value
+2
+3
+4
Output value
+5
Channel 1
534
Channel 0
+16
Output value
+17
Channel 7
Appendix I
Offset
+0
Data
+1
00 to 0F
+2
Channel 0
Output value (4 digits BCD)
0000 to 1000
+3
Channel 0
Cooling output value
(4 digits BCD)
0000 to 1000
+4
Channel 1
Output value (4 digits BCD)
0000 to 1000
+5
Channel 1
Cooling output value
(4 digits BCD)
0000 to 1000
+16
Channel 7
Output value (4 digits BCD)
0000 to 1000
+17
Channel 7
Cooling output value
(4 digits BCD)
0000 to 1000
+0
+1
+2
Unit No.
+3
+4
+5
Channel 0
+30
+31
+32
+33
Channel 7
535
Appendix I
Data
+1
00 to 0F
+2
Channel 0
Output value lower limit
(4 digits BCD)
0000 to 1000
+3
Channel 0
Output value upper limit
(4 digits BCD)
0000 to 1000
+4
Channel 0
Cooling output value lower limit
(4 digits BCD)
0000 to 1000
+5
Channel 0
Cooling output value upper limit
(4 digits BCD)
0000 to 1000
+32
Channel 7
Cooling output value lower limit
(4 digits BCD)
0000 to 1000
+33
Channel 7
Cooling output value upper limit
(4 digits BCD)
0000 to 1000
Write Output Value Change Rate Limit (Sequence No. 167 (Hex
00A7))
Writes the output value change rate limits that restrict the rates of change in the control value output.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
536
+0
+1
Unit No.
+2
Channel 0
+3
Channel 1
+4
Channel 2
+5
Channel 3
+6
Channel 4
+7
Channel 5
+8
Channel 6
+9
Channel 7
Appendix I
Data
+1
00 to 0F
+2
Channel 0
Output change rate limit
(4 digits BCD)
0000 to 1000
+3
Channel 1
Output change rate limit
(4 digits BCD)
0000 to 1000
+4
Channel 2
Output change rate limit
(4 digits BCD)
0000 to 1000
+8
Channel 6
Output change rate limit
(4 digits BCD)
0000 to 1000
+9
Channel 7
Output change rate limit
(4 digits BCD)
0000 to 1000
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
537
Appendix I
+0
+1
(Undefined)
Unit No.
+2
(Undefined)
Write code
Offset
+0
Data
0003 (fixed)
+1
00 to 0F
+2
00 to FF
+0
+1
Unit No.
+2
+3
+4
+5
538
Channel 0
Channel 1
+16
+17
Channel 7
Appendix I
Data
+1
00 to 0F
+2
Channel 0
Heater burnout detection current
(4 digits BCD)
0000 to 0500
+3
Channel 0
SSR failure detection current
(4 digits BCD)
0000 to 0500
+4
Channel 1
Heater burnout detection current
(4 digits BCD)
0000 to 0500
+5
Channel 1
SSR failure detection current
(4 digits BCD)
0000 to 0500
+16
Channel 7
Heater burnout detection current
(4 digits BCD)
0000 to 0500
+17
Channel 7
SSR failure detection current
(4 digits BCD)
0000 to 0500
+0
+1
Unit No.
+2
Channel 0
+3
+4
Channel 1
Channel 2
+5
Channel 3
+6
Channel 4
+7
Channel 5
+8
Channel 6
+9
Channel 7
539
Appendix I
Data
+1
00 to 0F
+2
Channel 0
Dead band/overlap band
(4 digits BCD)
0000 to 0999
+3
Channel 1
Dead band/overlap band
(4 digits BCD)
0000 to 0999
+4
Channel 2
Dead band/overlap band
(4 digits BCD)
0000 to 0999
+8
Channel 6
Dead band/overlap band
(4 digits BCD)
0000 to 0999
+9
Channel 7
Dead band/overlap band
(4 digits BCD)
0000 to 0999
+0
(Undefined)
+1
Unit No.
+2
Cooling coefficient
Channel 0
+3
Cooling coefficient
Channel 1
+4
Cooling coefficient
Channel 2
+5
+6
Cooling coefficient
Channel 3
Cooling coefficient
Channel 4
+7
Cooling coefficient
Channel 5
+8
Cooling coefficient
Channel 6
+9
Cooling coefficient
Channel 7
Offset
+0
Data
+1
00 to 0F
+2
Channel 0
Cooling coefficient (4 digits BCD)
0000 to 0100
+3
Channel 1
Cooling coefficient (4 digits BCD)
0000 to 0100
+4
Channel 2
Cooling coefficient (4 digits BCD)
0000 to 0100
540
+8
Channel 6
Cooling coefficient (4 digits BCD)
0000 to 0100
+9
Channel 7
Cooling coefficient (4 digits BCD)
0000 to 0100
Appendix I
+0
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
+0
(Undefined)
+1
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 0F
541
542
Appendix I
Appendix J
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 Unit/Board via RS-232C or RS-422A/485 cable.
Note Negative values cannot be written. All values must be set as unsigned BCD.
Communications
sequence name
Function
Ladder interface
Send word
allocation
Receive word
allocation
200 (00C8)
201 (00C9)
Yes
Yes
No
No
202 (00CA)
Yes
No
203 (00CB)
Yes
No
204 (00CC)
Select RAM write mode Switches from set point write mode to RAM
write mode.
Save set point
Saves the set point.
Yes
No
205 (00CD)
Write parameters 1
Yes
No
206 (00CE)
Write parameters 2
Yes
No
207 (00CF)
208 (00D0)
Yes
Yes
No
Yes
209 (00D1)
Read parameters 2
Yes
Yes
210 (00D2)
Yes
Yes
211 (00D3)
212 (00D4)
Yes
Yes
Yes
Yes
213 (00D5)
Yes
Yes
214 (00D6)
Yes
Yes
215 (00D7)
216 (00D8)
Yes
Yes
Yes
No
217 (00D9)
General-purpose read
Yes
Yes
543
Appendix J
Connections
The connections for using the E5@J Temperature Controller Protocol are shown below.
RS-232C Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
E5#J
PLC PS
RS-232C
RS-232C port
RS-232C
Signal name
Signal ground or common
return line
Abbreviation
SG
Signal direction
---
Pin No.
25, 27
Send data
Receive data
SD
RD
Output
Input
26
28
Serial Communications
Unit/Board
RS-232C: D-sub
9-pin female
Signal Pin
name No.
FG
SG
SD
RD
RTS
1
9
2
3
4
E5AJ
RS-232C:
Terminal Block
Ter- Signal
minal name
Shield
MAX232C or
equivalent
25 SG
27 SG
26 SD
28 RD
TX
RX
CTS 5
DSR 7
DTR 8
Note 1. The connection configuration is a one-to-one configuration and the maximum cable length is 15 m.
2. Use shielded twisted-pair cable.
544
Appendix J
RS-422A/485 Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
E5#J
PLC PS
RS-422A/485 port
RS-422A/485
E5#J
RS-422A/485
Up to 32 units can be
connected.
E5#J
RS-422A/485
Abbreviation
Signal direction
Pin No.
Send data A
Send data B
SDA
SDB
Output
Output
26
25
Receive data A
Receive data B
RDA
RDB
Input
Input
28
29
Signal ground
SG
---
27
E5AJ
RS-422A:
Terminal Block
SN751177N or
equivalent
Ter- Signal
minal name
Shield
*1: Set the 2-/4-wire switch
to the 4-wire setting.
*2: Turn ON the terminating resistance switch.
Terminating
resistance
RS-422A:
Terminal Block
Shield
Ter- Signal
minal name
545
Appendix J
Abbreviation
A
Signal direction
I/O
Pin No.
26, 28
Terminal B
Signal ground
B
SG
I/O
---
25, 29
27
SN751177N
or equivalent
E5AJ
RS-485:
Terminal Block
Signal Pin
name No.
Terminating
resistance
Ter- Signal
minal name
Shell
SDA
SDB
Shield
Terminating resistance (240 ) is
connected via the
terminator switch.
E5AJ
Terminator switch
RS-485:
Terminal Block
Shield
Ter- Signal
minal name
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 Boards Unit.
2. The maximum cable length is 500 m. Use shielded twisted-pair cable.
3. Connect terminating resistance to the devices only at both ends of the transmission path.
4. The total terminating resistance at both ends must be at least 100 for RS-422A or 54 for RS-485.
Offset
Unit No.
0002 (fixed)
+1
00 to 31
546
Data
+0
Appendix J
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
547
Appendix J
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
+2
Unit No.
+3
Set point
+4
Alarm value 1
+5
+6
Alarm value 2
Heater burnout alarm value
~
+122
+123
548
1st unit
~
(Undefined)
Unit No.
Set point
+124
Alarm value 1
+125
Alarm value 2
+126
Appendix J
Contents (data format)
Data
Number of units 5 + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Set point (4 digits BCD)
0000 to 9999
+4
1st unit
Alarm value 1 (4 digits BCD)
0000 to 9999
+5
1st unit
Alarm value 2 (4 digits BCD)
0000 to 9999
+6
1st unit
Heater burnout alarm value 2
(4 digits BCD)
0000 to 9999
+7
2nd unit
Unit No. (2 digits BCD)
00 to 31
+126
(max.)
25th unit
Heater burnout alarm value 2
(4 digits BCD)
0000 to 9999
+0
+1
+2
Unit No.
+3
Proportional band
+4
Integral time
+5
Derivative time
~
+122
1st unit
~
(Undefined)
Unit No.
+123
Proportional band
+124
Integral time
+125
Derivative time
549
Appendix J
Contents (data format)
Data
Number of units 4 + 2
+1
+2
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
+0
+125
(max.)
31th unit
Derivative time (4 digits BCD)
0000 to 9999
+0
+1
Unit No.
+2
Offset
+0
+1
00 to 31
+2
0000 to 9999
550
Data
0003 (fixed)
Appendix J
+0
+1
Number of units
+2
(Undefined)
Unit No.
~
+26
~
(Undefined)
Offset
+0
(max.)
Unit No.
Data
Number of units + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
2nd unit
Unit No. (2 digits BCD)
00 to 31
+26
(max.)
25th unit
Unit No. (2 digits BCD)
00 to 31
+0
+1
Set point
+2
Alarm value 1
+3
Alarm value 2
+4
1st unit
+97
Set point
+98
Alarm value 1
+99
Alarm value 2
+100
551
Appendix J
Contents (data format)
Data
+0
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.
+3
1st unit
Alarm value 2 (4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+4
1st unit
Heater burnout alarm value
(4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+5
2nd 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.
+100
(max.)
25th unit
Heater burnout alarm value
(4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+0
+1
Number of units
+2
(Undefined)
Unit No.
(Undefined)
Unit No.
~
+32
Offset
(max.)
Data
+0
Number of units + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
2nd unit
Unit No. (2 digits BCD)
00 to 31
+32
(max.)
552
31th unit
Unit No. (2 digits BCD)
00 to 31
Appendix J
+0
+1
Proportional band
+2
Integral time
+3
Derivative time
1st unit
+91
Proportional band
+92
Integral time
+93
Derivative time
Offset
Data
+0
Number of units 3 + 1
+1
1st unit
Proportional band (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
Integral time (4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+3
1st unit
Derivative time (4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+4
2nd unit
Proportional band (4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+93
(max.)
31th unit
Derivative time (4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Offset
Data
+0
0002
+1
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
553
Appendix J
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Output value
Offset
Data
+0
0002
+1
Output value
(4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Process value
+2
Status data
Offset
Data
+0
0003
+1
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+2
0000 to 9999
554
+0
+1
Unit No.
Appendix J
Offset
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
+2
Offset
Data
+0
0003
+1
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+2
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
Heater current
+2
Status data
Offset
Data
+0
0003
+1
Heater current
(4 digits BCD)
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
+2
0000 to 0011
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
555
Appendix J
+0
+1
Status
Offset
+0
Data
0003
+1
00 to 99
+2
0 to 9
0 to 9
0 to 9
+2
Unit No.
+3
(Undefined)
+4
Data code
Send data
Offset
+0
Data
0005 (fixed)
+1
00 to 31
+2
+3
01 to 02
+4
0000 to 9999
+0
+1
(Undefined)
+2
+3
(Undefined)
Offset
+0
556
Unit No.
Data code
Data
0004 (fixed)
+1
00 to 31
+2
+3
01 to 02
Appendix J
+0
+1
Receive data
Offset
Data
+0
0002
+1
0000 to 9999
When the left digit is 1, A is set and when it
is , F is set.
557
558
Appendix J
Appendix K
ES100@ Digital Controller Protocol
The ES100@ Digital Controller Protocol controls in remote mode and reads various settings from the Controller
connected to the Serial Communications Unit/Board via RS-232C or RS-422A/485 cable.
Note Negative values cannot be written. All values must be set as unsigned BCD.
Transmission
sequence name
Function
Ladder interface
Send word
allocation
Receive word
allocation
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
254 (00FE)
255 (00FF)
Read PV data
Read SP data
Yes
Yes
Yes
Yes
256 (0100)
257 (0101)
Read MV
Read control monitor
data
Read adjustment
parameters
Yes
Yes
Yes
Yes
Yes
Yes
259 (0103)
Write adjustment
parameters
Yes
No
260 (0104)
Yes
Yes
261 (0105)
Yes
Yes
262 (0106)
Yes
No
263 (0107)
Yes
No
264 (0108)
Read local SP
Yes
Yes
265 (0109)
Write local SP
Yes
No
266 (010A)
Read program parame- Reads local SP, step time, PID No. wait code,
ters
and events 1 to 10 set values in the program
parameter area.
Yes
Yes
267 (010B)
Write program parame- Writes the local SP, step time, PID No., wait
ters
code, and event 1 to 10 set values in the program parameter area.
Yes
No
268 (010C)
269 (010D)
Yes
Yes
No
No
270 (010E)
Yes
No
250 (00FA)
251 (00FB)
258 (0102)
559
Transmission
sequence name
Appendix K
Function
Ladder interface
Send word
Receive word
allocation
allocation
271 (010F)
272 (0110)
Run command
Reset (stop)
Starts control.
Stops control.
Yes
Yes
No
No
273 (0111)
274 (0112)
Auto mode
Manual mode
Yes
Yes
No
No
275 (0113)
276 (0114)
Execute A.T.
Cancel A.T.
Executes A.T.
Cancels A.T.
Yes
Yes
No
No
277 (0115)
278 (0116)
Yes
Yes
No
No
279 (0117)
280 (0118)
Yes
Yes
Yes
Yes
Connections
Connections for using the ES100@ Digital Controller Protocol are shown below.
RS-232C Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
ES100#
PLC PS
RS-232C
RS-232C port
RS-232C
ES100#-#01#
RS-232C:
Terminal Block
Pin No.
FG
SD
RD
RTS
1
2
3
4
CTS
DSR
5
7
DTR
SG
8
9
Terminal
17
16
15
Shield
560
Signal name
SD
RD
SG
Appendix K
RS-422A/485 Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
ES100#
PLC PS
RS-422A/485 port
RS-422A/485
ES100#
RS-422A/485
Up to 32 units can be
connected.
ES100#
RS-422A/485
RDA
RDB
SDA
SDB
FG
Pin No.
ES100#-#04#
RS-422A
Terminal Block
Shield
6
8
1
2
Terminal
24
25
16
17
Signal name
SDA
SDB
RDA
RDB
24
25
16
17
SDA
SDB
RDA
RDB
Next
ES100
ES100#-#04#
RS-485
Terminal Block
Terminal
Signal name
Pin No.
SDA
16
SBA
17
FG
Shield
Hood
Next
ES100
*1: Set the 2-/4-wire switch
to the 2-wire setting.
*2: Turn ON the terminating resistance switch.
561
Appendix K
Switch Settings
There are two switches located on the board on the left of the Unit. Set SW1 to the interface: RS-422A or RS485. Set SW2 to the same setting as SW1 on the terminating Units and to the center on all other Units.
422 485
422 485
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+26
1st unit
2nd unit
~
(Undefined)
Offset
+0
Unit No.
Data
Number of units + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
2nd unit
Unit No. (2 digits BCD)
00 to 31
+26
(max.)
562
25th unit
Unit No. (2 digits BCD)
00 to 31
Appendix K
+0
+1
Event 1
Event 2
+2
Event 3
Event 4
+3
Event 5
Event 6
+4
Event 7
Event 8
+5
Event 9
Event 10
1st unit
+121
Event 1
Event 2
+122
Event 3
Event 4
+123
Event 5
Event 6
+124
Event 7
Event 8
+125
Event 9
Event 10
Offset
Data
+0
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 FF
+5
1st unit
Event data 9 (2 digits Hex)
Event data 10 (2 digits Hex)
00 to FF
00 to FF
+125
(max.)
25th unit
Event data 9 (2 digits Hex)
Event data 10 (2 digits Hex)
00 to FF
00 to FF
+0
+1
Number of units
+2
(Undefined)
Unit No.
1st unit
+3
(Undefined)
Unit No.
2nd unit
~
(Undefined)
+26
Offset
+0
Unit No.
Data
Number of units + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
563
Appendix K
Contents (data format)
2nd unit
Unit No. (2 digits BCD)
Data
00 to 31
+26
(max.)
25th unit
Unit No. (2 digits BCD)
00 to 31
+0
+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 9
Time signal 8
+5
1st unit
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
Offset
Data
+0
Number of units 5 + 1
+1
1st unit
Time signal 1 data (2 digits Hex)
Time signal 2 data (2 digits Hex)
00 to FF
00 to FF
+2
1st unit
Time signal 3 data (2 digits Hex)
Time signal 4 data (2 digits Hex)
00 to FF
00 to FF
+3
1st unit
Time signal 5 data (2 digits Hex)
Time signal 6 data (2 digits Hex)
00 to FF
00 to FF
+4
1st unit
Time signal 7 data (2 digits Hex)
Time signal 8 data (2 digits Hex)
00 to FF
00 to FF
+5
1st unit
Time signal 9 data (2 digits Hex)
Time signal 10 data (2 digits Hex)
00 to FF
00 to FF
+125
(max.)
564
25th unit
Time signal 9 data (2 digits Hex)
Time signal 10 data (2 digits Hex)
00 to FF
00 to FF
Appendix K
+0
+1
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
2nd unit
~
(Undefined)
+17
1st unit
Offset
+0
Unit No.
Data
Number of units + 2
+1
+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. (2 digits BCD)
00 to 31
+0
+1
Error group 0
Error group 1
+2
Error group 2
Error group 3
+3
Error group 4
Error group 5
+4
Error group 6
Error group 7
+5
+6
Error group 8
Error group 9
Error group 10
Error group 11
+7
Error group 12
Error group 13
+8
Error group 14
Error group 15
~
Error group 14
+128
1st unit
Offset
Error group 15
Data
+0
Number of units 8 + 1
+1
1st unit
Error group 0 data (2 digits Hex)
Error group 1 data (2 digits Hex)
00 to FF
00 to FF
+2
1st unit
Error group 2 data (2 digits Hex)
Error group 3 data (2 digits Hex)
00 to FF
00 to FF
+7
1st unit
Error group 12 data (2 digits Hex)
Error group 13 data (2 digits Hex)
00 to FF
00 to FF
+8
1st unit
Error group 14 data (2 digits Hex)
Error group 15 data (2 digits Hex)
00 to FF
00 to FF
+9
2nd unit
Error group 0 data (2 digits Hex)
Error group 1 data (2 digits Hex)
00 to FF
00 to FF
565
Appendix K
Offset
Data
+128
(max.)
16th unit
Error group 14 data (2 digits Hex)
Error group 15 data (2 digits Hex)
00 to FF
00 to FF
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+33
1st unit
2nd unit
~
(Undefined)
Offset
+0
Unit No.
Data
Number of units + 2
+1
+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
+0
+1
(Undefined)
1st unit
+2
(Undefined)
2nd unit
+3
(Undefined)
3rd unit
+4
(Undefined)
~
(Undefined)
+32
4th unit
Offset
Data
+0
Number of units +1
+1
1st unit
Heater burnout alarm (2 digits Hex)
00 to FF
+2
2nd unit
Heater burnout alarm (2 digits Hex)
00 to FF
+3
3rd unit
Heater burnout alarm (2 digits Hex)
00 to FF
+4
4th unit
Heater burnout alarm (2 digits Hex)
00 to FF
+32
(max.)
566
32nd unit
Heater burnout alarm (2 digits Hex)
00 to FF
Appendix K
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+33
1st unit
2nd unit
~
(Undefined)
Offset
+0
Unit No.
Data
Number of units + 2
+1
+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
+0
+1
+2
+3
+4
1st unit
2nd unit
+63
+64
Offset
32nd unit
Data
+0
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.
+63
32nd unit
PV data (rightmost 4 digits)
(4 digits BCD)
+64
32nd unit
PV data (leftmost 4 digits)
(4 digits BCD)
00000000 to 09999000
F indicates a negative number.
567
Appendix K
+0
+1
Number of units
+2
(Undefined)
Unit No.
1st unit
+3
(Undefined)
Unit No.
2nd unit
(Undefined)
Unit No.
~
+33
Offset
+0
Data
Number of units + 2
+1
+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
+0
+1
+2
+3
+4
1st unit
2nd unit
+63
+64
Offset
32nd unit
Data
+0
Number of units 2 + 1
+1
1st unit
SP data (rightmost 4 digits)
(4 digits BCD)
00000000 to 09999000
F indicates a negative number.
+2
1st unit
SP data (leftmost 4 digits)
(4 digits BCD)
+3
2nd unit
SP data (rightmost 4 digits)
(4 digits BCD)
+4
2nd unit
SP data (leftmost 4 digits)
(4 digits BCD)
00000000 to 09999000
F indicates a negative number.
568
+63
32nd unit
SP data (rightmost 4 digits)
(4 digits BCD)
+64
32nd unit
SP data (leftmost 4 digits)
(4 digits BCD)
00000000 to 09999000
F indicates a negative number.
Appendix K
+0
+1
Number of units
+2
(Undefined)
Unit No.
1st unit
+3
(Undefined)
Unit No.
2nd unit
(Undefined)
Unit No.
~
+33
Offset
+0
Data
Number of units + 2
+1
+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
+0
+1
MV (rightmost 4 digits)
+2
MV (leftmost 4 digits)
+3
MV (rightmost 4 digits)
+4
MV (leftmost 4 digits)
2nd unit
+63
MV (rightmost 4 digits)
+64
MV (leftmost 4 digits)
Offset
1st unit
32nd unit
Data
+0
Number of units 2 + 1
+1
1st unit
MV (rightmost 4 digits) (4 digits BCD)
00000000 to 09999000
F indicates a negative number.
+2
1st unit
MV (leftmost 4 digits) (4 digits BCD)
+3
2nd unit
MV (rightmost 4 digits) (4 digits BCD)
+4
2nd unit
MV (leftmost 4 digits) (4 digits BCD)
00000000 to 09999000
F indicates a negative number.
+63
32nd unit
MV (rightmost 4 digits) (4 digits BCD)
+64
32nd unit
MV (leftmost 4 digits) (4 digits BCD)
00000000 to 09999000
F indicates a negative number.
569
Appendix K
+0
+1
Number of units
+2
(Undefined)
Unit No.
1st unit
+3
(Undefined)
Unit No.
2nd unit
(Undefined)
Unit No.
~
+22
Offset
+0
Data
Number of units + 2
+1
+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. (2 digits BCD)
00 to 31
+0
+1
+2
+3
+4
+5
MV (rightmost 4 digits)
+6
MV (leftmost 4 digits)
~
+121
~
SP data (rightmost 4 digits)
+122
+123
+124
+125
MV (rightmost 4 digits)
+126
MV (leftmost 4 digits)
Offset
570
1st unit
21st unit
Data
+0
1st unit
Number of receive data words (4 digits Hex)
Number of units 6 + 1
+1
1st unit
SP data (rightmost 4 digits) (4 digits BCD)
00000000 to 09999000
F indicates a negative number.
+2
1st unit
SP data (leftmost 4 digits) (4 digits BCD)
+3
1st unit
PV data (rightmost 4 digits) (4 digits BCD)
+4
1st unit
PV data (leftmost 4 digits) (4 digits BCD)
+5
1st unit
MV (rightmost 4 digits) (4 digits BCD)
+6
1st unit
MV (leftmost 4 digits) (4 digits BCD)
00000000 to 09999000
F indicates a negative number.
00000000 to 09999000
F indicates a negative number.
Appendix K
Offset
Data
+125
21st unit
MV (rightmost 4 digits) (4 digits BCD)
+126
21st unit
MV (leftmost 4 digits) (4 digits BCD)
00000000 to 09999000
F indicates a negative number.
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
571
Appendix K
+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
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
572
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
Appendix K
Contents (data format)
Data
+1 to 2
+3 to 4
+5 to 6
+7 to 8
+9 to 10
+11 to 12
+13 to 14
+15 to 16
+17 to 18
+19 to 20
+21 to 22
+23 to 24
+25 to 26
+27 to 28
+29 to 30
+31 to 32
+33 to 34
+35 to 36
+37 to 38
+39 to 40
+41 to 42
573
Appendix K
+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
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
574
Unit No.
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
(rightmost 4 digits)
(leftmost 4 digits)
Appendix K
Offset
+0
Data
+1
00 to 31
+2 to 3
00000000 to 09999000
+4 to 5
+6 to 7
+8 to 9
+10 to 11
+12 to 13
+14 to 15
+16 to 17
+18 to 19
+20 to 21
+22 to 23
+24 to 25
+26 to 27
+28 to 29
+30 to 31
+32 to 33
+34 to 35
+36 to 37
+38 to 39
+40 to 41
+42 to 43
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
575
Appendix K
+0
+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
(rightmost 4 digits)
+8
(leftmost 4 digits)
+9
(rightmost 4 digits)
+10
(leftmost 4 digits)
+11
(rightmost 4 digits)
+12
(leftmost 4 digits)
+13
+14
(leftmost 4 digits)
+51
(rightmost 4 digits)
+52
(leftmost 4 digits)
+53
(rightmost 4 digits)
+54
(leftmost 4 digits)
+55
(rightmost 4 digits)
+56
(leftmost 4 digits)
Offset
Data
+0
+1 to 2
00000000 to 09999000
+3 to 4
+5 to 6
+7 to 8
+9 to 10
+11 to 12
+13 to 14
576
(rightmost 4 digits)
+43 to 44
+45 to 46
+47 to 48
+49 to 50
+51 to 52
+53 to 54
+55 to 56
Appendix K
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 31
+0
+1
PID No. 5 P
(rightmost 4 digits)
+2
PID No. 5 P
(leftmost 4 digits)
+3
PID No. 5 I
(rightmost 4 digits)
+4
+5
PID No. 5 I
(leftmost 4 digits)
PID No. 5 D
(rightmost 4 digits)
+6
PID No. 5 D
(leftmost 4 digits)
+7
+8
(rightmost 4 digits)
(leftmost 4 digits)
+9
(rightmost 4 digits)
+10
(leftmost 4 digits)
+11
(rightmost 4 digits)
+12
(leftmost 4 digits)
+13
(rightmost 4 digits)
+14
(leftmost 4 digits)
+51
(rightmost 4 digits)
+52
(leftmost 4 digits)
+53
(rightmost 4 digits)
+54
(leftmost 4 digits)
+55
(rightmost 4 digits)
+56
(leftmost 4 digits)
577
Appendix K
Offset
Data
+0
+1 to 2
00000000 to 09999000
+3 to 4
+5 to 6
+7 to 8
+9 to 10
+11 to 12
+13 to 14
+43 to 44
+45 to 46
+47 to 48
+49 to 50
+51 to 52
+53 to 54
+55 to 56
+0
+1
(Undefined)
+2
PID No. 1 P
(rightmost 4 digits)
+3
+4
PID No. 1 P
(leftmost 4 digits)
PID No. 1 I
(rightmost 4 digits)
+5
PID No. 1 I
(leftmost 4 digits)
+6
PID No. 1 D
(rightmost 4 digits)
+7
PID No. 1 D
(leftmost 4 digits)
+8
(rightmost 4 digits)
+9
(leftmost 4 digits)
+10
(rightmost 4 digits)
+11
(leftmost 4 digits)
+12
(rightmost 4 digits)
+13
(leftmost 4 digits)
+14
+15
578
(rightmost 4 digits)
(leftmost 4 digits)
+52
(rightmost 4 digits)
+53
(leftmost 4 digits)
+54
+55
(rightmost 4 digits)
(leftmost 4 digits)
+56
(rightmost 4 digits)
+57
(leftmost 4 digits)
Appendix K
Contents (data format)
Number of send data words
(4 digits Hex)
Data
003A (0058 decimal) (fixed)
+1
00 to 31
+2 to 3
00000000 to 09999000
+4 to 5
+6 to 7
+8 to 9
+10 to 11
+12 to 13
+14 to 15
+44 to 45
+46 to 47
+48 to 49
+50 to 51
+52 to 53
+54 to 55
+56 to 57
579
Appendix K
+0
+1
Unit No.
+2
PID No. 5 P
(rightmost 4 digits)
+3
PID No. 5 P
(leftmost 4 digits)
+4
+5
PID No. 5 I
(rightmost 4 digits)
PID No. 5 I
(leftmost 4 digits)
+6
PID No. 5 D
(rightmost 4 digits)
+7
PID No. 5 D
(leftmost 4 digits)
+8
+9
(rightmost 4 digits)
(leftmost 4 digits)
+10
(rightmost 4 digits)
+11
(leftmost 4 digits)
+12
(rightmost 4 digits)
+13
(leftmost 4 digits)
+14
+15
(rightmost 4 digits)
(leftmost 4 digits)
580
+52
(rightmost 4 digits)
+53
(leftmost 4 digits)
+54
(rightmost 4 digits)
+55
(leftmost 4 digits)
+56
(rightmost 4 digits)
+57
(leftmost 4 digits)
Appendix K
Offset
+0
Data
003A (0058 decimal) (fixed)
+1
00 to 31
+2 to 3
00000000 to 09999000
+4 to 5
+6 to 7
+8 to 9
+10 to 11
+12 to 13
+14 to 15
+44 to 45
+46 to 47
+48 to 49
+50 to 51
+52 to 53
+54 to 55
+56 to 57
+0
+1
Number of units
+2
+3
(Undefined)
Unit No.
Pattern No.
Step No.
+4
(Undefined)
Unit No.
+5
Pattern No.
Step No.
~
+64
+65
1st unit
2nd unit
~
(Undefined)
Unit No.
Pattern No.
Step No.
32nd unit
581
Appendix K
Contents (data format)
Data
Number of units 2 + 2
+1
+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. (2 digits BCD)
00 to 31
00 to 63
00 to 63
+0
+1
+2
+3
+4
1st unit
2nd unit
+63
+64
Offset
32nd unit
Data
+0
Number of units 2 + 1
+1
1st unit
Local SP (rightmost 4 digits)
(4 digits BCD)
00000000 to 09999000
F indicates a negative number.
+2
1st unit
Local SP (leftmost 4 digits)
(4 digits BCD)
+3
2nd unit
Local SP (rightmost 4 digits)
(4 digits BCD)
+4
2nd unit
Local SP (leftmost 4 digits)
(4 digits BCD)
00000000 to 09999000
582
+63
32nd unit
Local SP (rightmost 4 digits)
(4 digits BCD)
+64
32nd unit
Local SP (leftmost 4 digits)
(4 digits BCD)
00000000 to 09999000
Appendix K
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
Pattern No.
Step No.
+4
1st unit
+5
+6
(Undefined)
Unit No.
+7
Pattern No.
Step No.
+8
+9
2nd unit
+122
(Undefined)
Unit No.
+123
Pattern No.
Step No.
+124
+125
Offset
31st unit
Data
+0
Number of units 4 + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Pattern No. (2 digits BCD)
Step No. (2 digits BCD)
+4
1st unit
Local SP (rightmost 4 digits)
(4 digits BCD)
+5
1st unit
Local SP (leftmost 4 digits)
(4 digits BCD)
00 to 63
00 to 63
00000000 to 09999000
+122
31st unit
Unit No. (2 digits BCD)
+123
31st unit
Pattern No. (2 digits BCD)
Step No. (2 digits BCD)
+124
31st unit
Local SP (rightmost 4 digits)
(4 digits BCD)
+125
31st unit
Local SP (leftmost 4 digits)
(4 digits BCD)
00 to 31
00 to 63
00 to 63
00000000 to 09999000
583
Appendix K
+0
+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.
+8
(Undefined)
Unit No.
+9
Pattern No.
Step No.
Offset
1st unit
2nd unit
3rd unit
4th unit
Data
+0
Number of units 2 + 2
+1
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
584
+8
4th unit
Unit No. (2 digits BCD)
+9
(max.)
4th unit
Pattern No. (2 digits BCD)
Step No. (2 digits BCD)
00 to 31
00 to 63
00 to 63
Appendix K
+0
+1
Local SP (rightmost)
+2
Local SP (leftmost)
+3
+4
+5
+6
+7
+8
+9
+10
+27
+28
~
+85
1st unit
~
Local SP (rightmost)
+86
Local SP (leftmost)
+87
+88
+89
+90
+91
+92
+93
+94
+111
+112
585
Appendix K
Contents (data format)
Number of receive data words
(4 digits Hex)
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. (8 digits BCD)
+7 to 8
1st unit
Wait code (8 digits BCD)
+9 to 10
1st unit
Event 1 setting (8 digits BCD)
+11 to 12
1st unit
Event 2 setting (8 digits BCD)
+27 to 28
1st unit
Event 10 setting (8 digits BCD)
+29 to 30
1st unit
Local SP (8 digits BCD)
586
Data
+0
+109 to 110
4th unit
Event 9 setting (8 digits BCD)
+111 to 112
(max.)
4th unit
Event 10 setting (8 digits BCD)
Appendix K
+2
(Undefined)
Unit No.
+3
Pattern No.
Step No.
+4
Local SP (rightmost)
+5
Local SP (leftmost)
+6
+7
+8
+9
+10
+11
+12
+13
1st unit
+30
+31
+92
(Undefined)
Unit No.
+93
Pattern No.
Step No.
+120
+121
587
Appendix K
Offset
Data
+0
Number of units 30 + 2
+1
0001 to 0004
+2
00 to 31
+3
1st unit
Pattern No. (2 digits BCD)
Step No. (2 digits BCD)
00 to 63
00 to 63
+4 to 5
1st unit
Local SP (8 digits BCD)
00000000 to 09999000
+6 to 7
1st unit
Step time (8 digits BCD)
+8 to 9
1st unit
PID set No. (8 digits BCD)
+10 to 11
1st unit
Wait code (8 digits BCD)
+12 to 13
1st unit
Event 1 setting (8 digits BCD)
+14 to 15
1st unit
Event 2 setting (8 digits BCD)
+30 to 31
1st unit
Event 10 setting (8 digits BCD)
+32 to 33
2nd unit
Unit No. (2 digits BCD)
+111 to 112
4th unit
Event 9 setting (8 digits BCD)
+120 to 121
(max.)
4th unit
Event 10 setting (8 digits BCD)
+0
+1
Number of units
+2
(Undefined)
Unit No.
1st unit
+3
(Undefined)
Unit No.
2nd unit
~
+33
588
~
(Undefined)
Unit No.
Appendix K
Contents (data format)
Data
+0
Number of units + 2
+1
+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
+0
+1
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+33
1st unit
2nd unit
~
(Undefined)
Offset
+0
Unit No.
Data
Number of units + 2
+1
+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
+0
+1
Number of units
+2
(Undefined)
Unit No.
1st unit
+3
(Undefined)
Unit No.
2nd unit
(Undefined)
Unit No.
~
+33
~
32nd unit (max.)
589
Appendix K
Contents (data format)
Number of send data words
(4 digits Hex)
Data
Number of units + 2
+1
+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
+0
+1
Number of units
+2
(Undefined)
+3
Unit No.
1st unit
~
(Undefined)
+64
Unit No.
+65
Offset
Data
+0
Number of units 2 + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Pattern No./Bank No.
(4 digits BCD)
0000 to 0063
+24
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
Pattern No./Bank No.
(4 digits BCD)
0000 to 0063
590
Appendix K
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
2nd unit
~
(Undefined)
+33
1st unit
Offset
+0
Unit No.
Data
Number of units + 2
+1
+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
+0
+1
Number of units
+2
(Undefined)
Unit No.
+3
(Undefined)
Unit No.
~
+33
1st unit
2nd unit
~
(Undefined)
Offset
+0
Unit No.
Data
Number of units + 2
+1
+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
591
Appendix K
+0
+1
Number of units
+2
(Undefined)
Unit No.
1st unit
+3
(Undefined)
Unit No.
2nd unit
(Undefined)
Unit No.
~
+33
Offset
+0
Data
Number of units + 2
+1
+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
+0
+1
Number of units
+2
+3
(Undefined)
Unit No.
~
+64
+65
592
1st unit
~
(Undefined)
Unit No.
Appendix K
Contents (data format)
Data
Number of units 2 + 2
+1
+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. (4 digits BCD)
0000 to 0008
+0
+1
Number of units
+2
(Undefined)
Unit No.
1st unit
+3
(Undefined)
Unit No.
2nd unit
~
+33
~
(Undefined)
Offset
+0
Unit No.
Data
Number of units + 2
+1
+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
593
Appendix K
+0
+1
+2
(Undefined)
+3
Unit No.
1st unit
Pattern No.
~
+64
~
(Undefined)
Unit No.
Pattern No.
+65
Offset
+0
Data
Number of units 2 + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+3
1st unit
Pattern No. (4 digits BCD)
0001 to 0063
+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
Pattern No. (4 digits BCD)
0001 to 0063
+0
+1
Number of units
+2
+3
(Undefined)
Unit No.
1st unit
Bank No.
~
+64
+65
594
~
(Undefined)
Bank No.
Unit No.
Appendix K
Offset
+0
Data
Number of units 2 + 2
+1
+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. (4 digits BCD)
0000 to 0007
+0
+1
Number of units
+2
(Undefined)
1st unit
Unit No.
+26
(Undefined)
Offset
+0
Unit No.
Data
Number of units + 2
+1
+2
1st unit
Unit No. (2 digits BCD)
00 to 31
+26
(max.)
25th unit
Unit No. (2 digits BCD)
00 to 31
+0
+1
Operation status
Hold
+2
Auto/manual
SP mode
+3
Setting mode
+4
A.T.
+5
Wait
Operation mode
1st unit
+121
Operation status
Hold
+122
Auto/manual
SP mode
+123
Setting mode
+124
A.T.
+125
Wait
Operation mode
595
Appendix K
Contents (data format)
+0
+1
1st unit
Operation status (2 digits BCD)
Hold (2 digits BCD)
+2
1st unit
Auto/manual (2 digits BCD)
1st unit
Setting mode (2 digits BCD)
Valid pattern No. (2 digits BCD)
+4
1st unit
A.T. (2 digits BCD)
Valid PID set No. (2 digits hex)
+5
00: Reset
01: Run
00: Not hold
01: Hold
00: Auto mode
01: Manual mode
00: Local SP mode
01: Remote SP mode
02: Fixed SP mode
+3
Data
Number of units 5 + 1
1st unit
Wait (2 digits BCD)
+125
(max.)
25th unit
Wait (2 digits BCD)
+0
+1
+2
+3
~
+249
596
~
Send data
Appendix K
Offset
Data
+0
+1
+2
+249
(max.)
+0
+1
+2
+249
Receive data
Offset
(Undefined)
Data
+0
+1
Receive data
(2 characters ASCII)
+249
(max.)
Receive data
(1 character ASCII)
Note 1. At transmission, a header code @ is attached before the data and the FCS and a terminator *CR
are attached following the send data.
First word of send +0
data
+1
0006
0007
+2
"AB"
+3
"CD"
+4
"EF"
+5
"GH"
@ABCDEFG[FCS]*CR
2 bytes
2. At reception, data excluding the header code @ at the beginning of the receive data and the FCS
and terminator *CR at the end of the data is stored in the receive data storage words.
First word of send +0
data
+1
@ABCDEFG[FCS]*CR
2 bytes
0006
0007
+2
"AB"
+3
"CD"
+4
+5
"EF"
"G"
3. Refer to the manual for the ES100@ for the contents of send data and receive data.
597
598
Appendix K
Appendix L
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 Unit/Board via RS-232C or RS-422/485 cable.
Protocol Configuration
The configuration of the K3T@ Intelligent Signal Processor Protocol is shown as follows:
Sequence
No.
Communications
sequence name
Function
Ladder interface
Send word
allocation
Receive word
allocation
Notes
300 (012C)
Yes
No
301 (012D)
Yes
No
302 (012E)
Yes
No
303 (012F)
Yes
No
304 (0130)
Yes
No
305 (0131)
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
311 (0137)
Yes
No
312 (0138)
Yes
No
313 (0139)
Yes
No
Yes
No
Yes
No
Yes
No
317 (013D)
Yes
Yes
318 (013E)
Yes
Yes
306 (0132)
307 (0133)
308 (0134)
309 (0135)
310 (0136)
314 (013A)
315 (013B)
316 (013C)
599
Communications
sequence name
Function
Appendix L
Ladder interface
Send word
Receive word
allocation
allocation
Notes
319 (013F)
Yes
Yes
320 (0140)
Yes
Yes
321 (0141)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
327 (0147)
Yes
Yes
328 (0148)
Yes
Yes
329 (0149)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
334 (014E)
Yes
Yes
335 (014F)
Yes
Yes
336 (0150)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
322 (0142)
323 (0143)
324 (0144)
325 (0145)
326 (0146)
330 (014A)
331 (014B)
332 (014C)
333 (014D)
337 (0151)
338 (0152)
339 (0153)
600
Appendix L
Connections
The connections used for the K3T@ Intelligent Signal Processor Protocol are shown below.
RS-232C Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
PLC PS
K3T#
RS-232C
RS-232C port
RS-232C
Signal name
Abbreviation
Signal
direction
Pin No.
FG
SG
-----
1
7
Send data
Receive data
SD
RD
Output
Input
2
3
Request to send
Clear to send
RS
CS
Output
Input
4
5
DR
ER
Input
Output
6
20
Intelligent Signal
Processor
RS-232C: D-sub
9-pin female
RS-232C:
Terminal block
Signal Pin
Name No.
Terminal
FG
SG
SD
9
2
RD
RTS
CTS
DSR
3
4
5
7
DTR 8
Shield
Signal
Name
MAX232C or
equivalent
1 FG
7 SG
2 SD
3 RD
4
5
6
20
RTS
CTS
DSR
DTR
Note 1. The connection configuration is a one-to-one configuration and the maximum cable length is 15 m.
2. Use shielded twisted-pair cable.
601
Appendix L
RS-422/485 Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
PLC PS
RS-422/485 port
K3T#
RS-422/485
K3T#
RS-422/485
Up to 32 units can be connected
K3T#
RS-422/485
Abbreviation
SDA
Signal direction
Output
Pin No.
9
Send data B
Receive data A
SDB
RDA
Output
Output
5
6
Receive data B
Signal ground
RDB
SG
Input
---
1
3
Protective ground
FG
---
Serial Communications
Board/Unit
RS-422: D-sub
9-pin female
Terminal.
Signal
Name
SDA
SDB
SDA
RDA
SDB
RDB
SG
FG
Hood
RDA
RDB
SN751177N or
equivalent
RS-422:
Terminal block
Signal Pin
Name No.
602
220
block SW
6.8 V
Shield
Terminating resistance (approx. 220 ) is
connected via the terminal block switch.
Appendix L
Signal direction
Input or output
Terminal
19
Non-inverting output
Input or output
18
Serial Communications
Board/Unit
RS-485: D-sub
9-pin female
Signal Pin
Name No.
FG
Abbreviation
SDA
19
SDB
18
Signal
Name
SN751177N or
equivalent
51 k
Terminal
block SW
TX
220
4.7 k
RX
4.7 k
4.7 k
6.8 V
Shield
Intelligent Signal Processor
Unit designated as terminator.
RS-485:
Terminal block
Termi- Signal
nal. Name
220
Terminal block SW ON
18
19
Note 1. The connection configuration is a one-to-one or a 1-to-N configuration. For 1-to-N connections, up to
32 units including the Serial Communications Boards/Units can be connected.
2. The maximum cable length is 500 m. Use shielded twisted-pair cables (AWG28i or greater).
3. Connect terminating resistance at both ends of the transmission path.
4. Turn the terminal block switch ON at the terminators.
5. Turn the terminal block switches OFF for units that are not terminators.
603
Appendix L
+0
+1
Number of units
+2
(Undefined)
~
+33
~
(Undefined)
Offset
Data
+0
+1
Number of units
(4 digits Hex)
+2
00 to 99
+33
00 to 99
+0
+1
Number of units
Offset
0002
+1
Number of units
(4 digits Hex)
604
Data
+0
Appendix L
Write Set Value (by Unit Number) (Sequence No. 302 (Hex 012E))
This sequence writes each set value (HH, H, L, LL).
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
Number of units
(Undefined)
+2
+3
Operand
+4
Set value
(Undefined)
+5
Set value
~
+122
~
(Undefined)
Relevant unit No.
Operand
+123
+124
Set value
+125
(Undefined)
Offset
Set value
Data
+0
+1
Number of units
(4 digits Hex)
+2
00 to 99
+3
Operand
(ASCII 2 characters)
4848 (HH),
4820 (H),
+4 to +5 Set value
(5 digits BCD)
4C4C (LL)
4C20 (L)
00000 to 99999
Negative sign: F (5th digit in BCD)
Example 12345
Example 1234
+4
2345
+4
1234
+5
0001
+5
000F
+124 to
+125
Set value
(5 digits BCD)
Same as above
+0
+1
Number of units
+2
Set value
+3
(Undefined)
~
+64
+65
Set value
~
Set value
(Undefined)
Set value
605
Offset
Appendix L
Data
+0
+1
Number of units
(4 digits Hex)
+2 to +3 Set value
(5 digits BCD)
00000 to 99999
Negative sign: F (5th digit in BCD)
Example 12345
Example 1234
+2
2345
+2
1234
+3
0001
+3
000F
+64 to
+65
Set value
(5 digits BCD)
Same as above
Write Set Value with Bank (by Unit Number) (Sequence No. 307
(Hex 0133))
This sequence writes set value of a bank which is not in use (K3TR: HH to LL, K3TC:O1 to O5).
606
Appendix L
+0
+1
Number of units
Relevant unit No.
+2
(Undefined)
+3
(Undefined)
Bank No.
+4
Operand
+5
Set value
(Undefined)
+6
Set value
+122
(Undefined)
+123
(Undefined)
Bank No.
+124
Operand
+125
Set value
+126
(Undefined)
Offset
Set value
Data
+0
+1
Number of units
(4 digits Hex)
+2
00 to 99
+3
Bank No.
(2 digits BCD)
01 to 04
+4
Operand
(Two ASCII characters)
4848 (HH),
4820 (H),
4C20 (L),
4C4C (LL),
+5 to +6 Set value
(5 digits BCD)
4F31 (O1)
4F32 (O2)
4F33 (O3)
4F34 (O4)
4F35 (O5)
00000 to 99999
Negative sign: F (5th digit in BCD)
Example 12345
Example 1234
+5
2345
+5
1234
+6
0001
+6
000F
+125 to
+126
Set value
(5 digits BCD)
Same as above
607
Appendix L
+0
+1
Number of units
(Undefined)
+2
+3
Bank No.
Set value
(Undefined)
+4
Set value
~
+95
~
(Undefined)
Bank No.
Set value
+96
(Undefined)
+97
Offset
Set value
Data
+0
+1
Number of units
(4 digits Hex)
+2
Bank No.
(2 digits BCD)
01 to 04
+3 to +4 Set value
(5 digits BCD)
00000 to 99999
Negative sign: F (5th digit in BCD)
Example 12345
+2
+3
Example 1234
2345
+2
1234
0001
+3
000F
+96 to
+97
Set value
(5 digits BCD)
Same as above
608
Appendix L
Read Set Value (by Unit Number) (Sequence No. 317 (Hex 013D))
Reads set value HH, H, L, or LL.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
Number of units
+1
(Undefined)
+2
Operand
+3
~
(Undefined)
Relevant unit No.
Operand
+64
+65
Offset
Data
+0
+1
Number of units
(4 digits Hex)
+2
00 to 99
+3
Operand
(ASCII 2 characters)
4848 (HH),
4820 (H),
4C4C (LL)
4C20 (L)
4F31 (01)
4F35 (05)
609
Appendix L
Data
+64 to
+65
Operand
(ASCII 2 characters)
Same as above
+0
+1
+2
(Undefined)
End code
Set value
+3
(Undefined)
Set value
~
+94
~
(Undefined)
+95
End code
Set value
+96
(Undefined)
Offset
Set value
+0
+1
+2 to +3 Set value
(5 digits BCD)
Data
0004 to 0061 (4 to 97 decimal)
00 to 22
00000 to 99999
Negative sign: F (5th digit in BCD)
Example 12345
Example 1234
+2
2345
+2
1234
+3
0001
+3
000F
+95 to
+96
Set value
(5 digits BCD)
Same as above
+0
+1
Number of units
Offset
Data
+0
0002
+1
610
Appendix L
Read Set Value with Bank (by Unit Number) (Sequence No. 322
(Hex 0142))
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 (3rd Operand of PMCR(260))
First word of
send data
+0
+1
(Undefined)
Number of units
+2
(Undefined)
+3
(Undefined)
Bank No.
Operand
+4
~
+95
(Undefined)
+96
(Undefined)
Bank No.
Operand
+97
Offset
Data
+0
+1
+2
00 to 99
+3
01 to 04
+4
4848 (HH),
4820 (H),
4C20 (L),
4C4C (LL),
4F31 (O1)
4F32 (O2)
4F33 (O3)
4F34 (O4)
4F35 (O5)
+ 97
Same as above
611
Appendix L
+0
+1
+2
(Undefined)
Set value
~
+63
Set value
+64
(Undefined)
Offset
+0
Set value
+1 to +2 Set value
(5 digits BCD)
Data
0003 to 0041 (3 to 65 decimal)
00000 to 99999
Negative sign: F (5th digit in BCD)
Example 12345
Example 1234
+1
2345
+1
1234
+2
0001
+2
000F
+63 to
+64
Set value
(5 digits BCD)
Same as above
+0
+1
Number of units
(Undefined)
Bank No.
+2
~
`
~
(Undefined)
+33
Offset
Bank No.
Data
+0
+1
+2
01 to 04
+ 33
Same as above
612
Appendix L
613
Appendix L
+0
+1
+2
Operand
+3
~
+64
~
(Undefined)
Operand
+65
Offset
Data
+0
+1
+2
00 to 99
+3
5048 (PH)
4248 (BH)
+65
Same as above
+0
+1
+2
+3
Peak/bottom data
Status
~
+94
+95
+96
Offset
+0
~
Peak/bottom data
(Undefined)
(Undefined)
Peak/bottom data
Status
+1 to +2 Peak/bottom data
(5 digits BCD)
Data
0004 to 0061 (4 to 97 decimal)
00000 to 99999
Negative sign: F (most significant digit)
Example 12345
614
Example 1234
+1
2345
+1
1234
+2
0001
+2
F000
Appendix L
Data
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: 0)
Others: 0
d4 bit:
Not used
d5 bit:
During hold input:1
Others: 0
d6 bit:
Bank input 1:1
(K3TH, K3TX: 0)
Others: 0
d7 bit:
Bank input 2:1
(K3TH, K3TX: 0)
Others: 0
+96
Status
Same as above
Offset
+0
+1
Number of units
Data
+0
0002
+1
Read Display Value (PV) (by Unit Number) (Sequence No. 335
(Hex 014F))
Reads the display value (PV) and stores the results in the specified words.
615
Appendix L
+0
+1
+2
(Undefined)
(Undefined)
~
+33
Offset
Contents
(data format)
Data
+0
+1
+2
00 to 99
+ 33
00 to 99
+0
+1
Display value
+2
(Undefined)
Display value
Status
+3
~
+94
+95
~
Display value
(Undefined)
+96
Offset
+0
Display value
Status
+1 to +2 Display value
(5 digits Hex)
Data
0004 to 0061 (4 to 97 decimal)
00000 to 99999
Negative sign: F (5th digit in BCD)
Example 12345
616
Example 1234
+1
2345
+1
1234
+2
0001
+2
000F
Appendix L
Data
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)
Others: 0
d4 bit:
In test mode:
Others: 0
d5 bit:
While holding input:1
Others: 0
d6 bit:
Bank input 1:1
(K3TH, K3TX: 0)
Others: 0
d7 bit:
Bank input 2:1
(K3TH, K3TX: 0)
Others: 0
d8 bit:
LL comparison output:1
Others: 0
OUT1 comparison output: 1 (K3TC)
d9 bit:
L comparison output:1
Others: 0
OUT2 comparison output:1 (K3TC)
d10 bit:
H comparison output:1
Others: 0
OUT4 comparison output:1 K3TC)
d11 bit:
HH comparison output:1
Others: 0
OUT5 comparison output:1 (K3TC)
d12 bit:
PASS comparison output:1
Others: 0
OUT3 comparison output:1 (K3TC)
d13 bit: Not used
d14 bit: Not used
d15 bit: Not used
+96
Same as above
617
Appendix L
Offset
+0
+1
Number of units
Data
+0
0002
+1
Number of units
(4 digits Hex)
Model Data Read (by Unit Number) (Sequence No. 337 (Hex
0151))
Reads model data and stores the results in the specified words.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
+1
+2
Number of units
(Undefined)
~
+26
Offset
~
(Undefined)
Data
+0
+1
Number of units
(4 digits Hex)
+2
00 to 99
+ 26
618
Same as above
Appendix L
+0
Input specifications
+1
Input specifications
+2
+3
Display specifications
Output specifications
+4
Input contents
+5
Operation mode
+121
+122
Input specifications
Input specifications
+123
Display specifications
Output specifications
+124
Input contents
+125
Operation mode
Offset
Data
+0
+1 to
+2
+2
+3
+4
Input contents
(ASCII 2 characters)
+5
Operation mode
(ASCII 2 characters)
+125
Operation mode
(ASCII 2 characters)
Same as above
Offset
+0
+1
Number of units
Data
+0
0002
+1
Number of units
(4 digits Hex)
619
Appendix L
+0
+1
+2
Send data
Send data
+3
+249
Offset
Send data
Data
+0
+1
+2 to
+249
ASCII
Send data: 496 characters max.
+0
+1
Receive data
+2
Receive data
Receive data
+3
~
+249
Offset
620
~
Receive data
Data
+0
+1 to
+249
ASCII
Receive data: 498 characters max.
Appendix M
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 Unit/Board via RS-232C cable.
Protocol Configuration
The configuration of the V500/V520 Bar Code Reader Protocol is shown below.
Sequence
No.
Communications
sequence name
Function
Ladder interface
Send word
allocation
Receive word
allocation
350 (015E)
351 (015F)
No
No
No
No
352 (0160)
Data read
No
Yes
353 (0161)
No
Yes
354 (0162)
Yes
No
355 (0163)
No
Yes
356 (0164)
Yes
Yes
357 (0165)
358 (0166)
Yes
No
No
No
359 (0167)
360 (0168)
No
No
No
Yes
361 (0169)
Performs the following operations repeatedly: starts reading, receives data read by
the Reader, saves the data to the receive
words by the interrupt method (interrupt
No.100).
No
Yes
362 (016A)
BCR initialize
Yes
No
363 (016B)
No
Yes
364 (016C)
Performs the following operations repeatedly: starts reading, receives data read by
the Reader, saves the data to the receive
words by the scan method.
Performing the following operations repeatedly: starts reading, receives data read by
the Reader, saves the data to the receive
words by the interrupt method (interrupt
No.100).
No
Yes
365 (016D)
General-purpose command 1
Yes
No
366 (016E)
General-purpose command 2
Yes
Yes
621
Appendix M
3. Sequences No. 361 and No. 364 (Continuous Data Read with Interrupt) are not supported by the
CS1W-SCU@@(-V1) and CJ1W-SCU@@(-V1) Serial Communications Units. A protocol syntax error
will occur if an attempt is made to execute either sequence with the Serial Communications Unit.
Connections
The connections for using the V500/V520 Bar Code Reader Protocol are shown below.
V500 Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
100 VAC
V520-R12#
PLC PS
Reader
V500-C11
ID Controller
RS-232C port
V509-W040
Reader Cable
Serial Communications Unit/Board:
D-sub 9 pin female
Signal
Name
622
Pin No.
V500-C11:
D-sub 9 pin female
Pin No.
Signal
Name
FG
SD
RD
1
2
3
1
2
3
FG
SD
RD
RTS
CTS
DSR
DTR
5
7
8
5
7
8
RTS
CTS
DSR
SG
DTR
SG
Appendix M
V520-R121
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
Reader
PLC PS
RS-232C port
V509-W011
Reader Cable
V520-R121:
D-sub 9 pin female
Pin No.
Pin No.
1
2
3
4
6
7
1
2
3
4
5
7
Signal
Name
SD
RD
RTS
CTS
DTR
SG
8
9
System Setting
Shown below are the system settings of the V500-C11 and V520-R121 when this protocol is used.
Note The portions enclosed by in boxes are used for this protocol.
V500-C11
BCR Functions
Read trigger
Read control method
Host Interface
Prefix
NONE, "STX"
Suffix
V520-R121
Start code
Stop code
Operation mode
Data output mode
NONE, "STX"
"ETX" , "CR"
External trigger, host trigger
1-shot, continuous
623
Appendix M
+0
+1
Read data
+2
Read data
+3
Read data
+4
Read data
+15
Read data
+16
Read data
Offset
Data
+0
+1 to
+16
Note The reception wait time is not set for this sequence.
624
Appendix M
+0
+1
Operation mode
In-zone control
+2
(Undefined)
+3
(Undefined)
Number of digits
+4
Modulus check
(Undefined)
+5
(Undefined)
Number of Multistep
matches
labels
+6
Buzzer
Horizontal control
Offset
Data
+0
0007 (fixed)
+1
Operation mode
(ASCII 1 character)
41 (A): ONLINE
*42 (B): ONLINE CONTROL
In-zone control
(ASCII 1 character)
*41 (A): ON
42 (B): OFF
+2
41 (A):
42 (B):
43 (C):
44 (D):
45 (E):
46 (F):
47 (G):
48 (H):
49 (I):
4A (J):
4B (K):
+3
Number of digits
(2 digits BCD)
00 to 32
00: Any number of digits allowed.
+4
Modulus check
(ASCII 1 character)
41 (A):
42 (B):
43 (C):
44 (D):
45 (E):
46 (F):
47 (G):
+5
Number of matches
(1 digit BCD)
1 to 5
Multistep labels
(1 digit BCD)
1 to 4
Buzzer
(ASCII 1 character)
41 (A):
42 (B):
43 (C):
41 (A):
42 (B):
+6
JAN
NW7 NORMAL
NW7 SMALL
NW7 HEX
CODE39 NORMAL
CODE39 ST/SP OUTPUT
2 of 5 (ITF)
CODE128
CODE93
2 of 5 (3BAR)
2 of 5 (5BAR)
No-check
Modulus 10 (all bar codes)
Modulus 11 (except JAN)
Modulus 16 (NW7 only)
Modulus 43 (CODE39 only)
Modulus 47 (CODE93 only)
Modulus 103 (CODE128 only)
Note Selecting the values marked with asterisks is required for this protocol.
Receive Data Word Allocation (4th Operand of PMCR(260))
None.
625
Appendix M
+0
+1
Operation mode
In-zone control
+2
(Undefined)
+3
(Undefined)
Number of digits
+4
Modulus check
(Undefined)
+5
(Undefined)
Number of Multistep
labels.
matches.
+6
Buzzer
Horizontal control
Offset
Data
0007 (fixed)
+1
Operation mode
(ASCII 1 character)
41 (A):
42 (B):
ONLINE
ONLINE CONTROL
In-zone control
(ASCII 1 character)
41 (A):
42 (B):
ON
OFF
+2
41 (A):
42 (B):
43 (C):
44 (D):
45 (E):
46 (F):
47 (G):
48 (H):
49 (I):
4A (J):
4B (K):
JAN
NW7 NORMAL
NW7 SMALL
NW7 HEX
CODE39 NORMAL
CODE39 ST/SP Output
2 of 5 (ITF)
CODE128
CODE93
2 of 5 (3BAR)
2 of 5 (5BAR)
+3
Number of digits
(2 digits BCD)
00 to 32
+4
Modulus check
(ASCII 1 character)
41 (A):
42 (B):
43 (C):
44 (D):
45 (E):
46 (F):
47 (G):
+5
Number of matches
(1 digit BCD)
1 to 5
Multistep labels
(1 digit BCD)
1 to 4
Buzzer
(ASCII 1 character)
41 (A):
42 (B):
43 (C):
41 (A):
42 (B):
+6
626
+0
No-check
Modulus 10 (all bar codes)
Modulus 11 (except JAN)
Modulus 16 (NW7 only)
Modulus 43 (CODE39 only)
Modulus 47 (CODE93 only)
Modulus 103 (CODE128 only)
Appendix M
Log Data Output Request (V500) (Sequence No. 356 (Hex 0164))
This sequence requests output of the log data sent to host.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
+0
Number of units
(Undefined)
+1
Offset
Data
+0
0002 (fixed)
+1
Number of units
(2 digits BCD)
01 to 99
+0
+1
Log data
+2
Log data
+248
Log data
+249
Log data
Offset
Data
+0
+1 to
+249
627
Appendix M
+0
+1
(Undefined)
+2
(Undefined)
(Undefined)
+3
Number of presets
Preset data No.
Number of units
+4
Preset data
+5
Preset data
+18
Preset data
+19
Preset data
+(18N+2)
(Undefined)
(Undefined)
+(18N+3)
+(18N+4)
Preset data
+(18N+5)
Preset data
+(18N+18)
Preset data
+(18N+19)
Preset data
Offset
Data
+0
+1
Number of presets
(1 digit BCD)
1 to 5
+2
1 to 5
+3
Data length
(2 digits BCD)
01 to 32
+4 to
+19
+20 to
+91
628
Appendix M
629
Appendix M
+0
+1
+2
Send data
+3
Send data
630
+248
Send data
+249
Send data
Appendix M
Data
+0
+1
+2 to
+249
+0
+1
+2
Send data
+3
Send data
+248
Send data
+249
Send data
Offset
Data
+0
+1
+2 to
+128
+0
+1
Receive data
+2
Receive data
+126
Receive data
+127
Receive data
Offset
Data
+0
+1 to
+127
Note Shown below is the receive data frame format. The reception data without ACK, STX, and ETX is stored.
Receive data (498 bytes max.)
STX
ETX
ACK
631
632
Appendix M
Appendix N
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 Unit/Board via RS-232C cable.
Protocol Configuration
The configuration of the 3Z4L Laser Micrometer Protocol is shown below.
Sequence
No.
Communications sequence
name
Function
Send word
allocation
Receive
word allocation
No
No
Yes
No
No
No
400 (0190)
3Z4L clear
401 (0191)
402 (0192)
mm unit set
403 (0193)
404 (0194)
E unit set
Calibration set
No
Yes
No
No
405 (0195)
Calibration release
No
No
406 (0196)
Yes
No
407 (0197)
Yes
No
Yes
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
No
No*1
No
Yes
408 (0198)
409 (0199)
410 (019A)
411 (019B)
412 (019C)
413 (019D)
414 (019E)
415 (019F)
Ladder interface
Notes
633
Appendix N
Communications sequence
name
Function
416 (01A0)
418 (01A2)
419 (01A3)
420 (01A4)
Ladder interface
Send word
Receive
allocation
word allocation
No
No
No
No
No
No
No
No
No
Yes
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
Taking the average move and lowspeed data output as the averaging
method, sets the averaging times per
measurement interval 4.
Yes
No
Yes
No
No
No
No
Yes
Yes
No
431 (01AF)
Yes
No
Yes
No
No
Yes
No
Yes
No
No
No
Yes
417 (01A1)
421 (01A5)
422 (01A6)
423 (01A7)
424 (01A8)
425 (01A9)
432 (01B0)
433 (01B1)
434 (01B2)
435 (01B3)
436 (01B4)
634
Notes
Appendix N
437 (01B5)
438 (01B6)
439 (01B7)
440 (01B8)
Communications sequence
name
441 (01B9)
Function
Ladder interface
Send word
Receive
allocation
word allocation
No
Yes
No
No *1
No
Yes
No
No
No
No
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes
No
Notes
Note 1. Sequences with interrupt notification are not supported by the CS1W-SCU@@(-V1) and CJ1WSCU@@(-V1) Serial Communications Units. A protocol syntax error will occur if an attempt is made
to execute either sequence with a Serial Communications Unit.
Do not set an EM bank as the receive storage word for interrupt notification. A protocol syntax error
will occur if an EM banks is set.
2. Ladder Interface Settings
YES: User settings are required for the 3rd and 4th operands of PMCR(260).
NO: Send word allocation:
Set the constant 0000 for the 3rd operand (S).
Receive word allocation:
Set the constant 0000 for the 4th operand (D).
3. The hexadecimal equivalents of sequences numbers are given in parentheses.
635
Appendix N
Connections
The connections for the 3Z4L Laser Micrometer Protocol are shown below.
RS-232C Connection
Sensor
Signal cable
PLC PS
RS-232C
Controller
RS-232C Port
Controller: D-sub
25 pin (female)
Pin No.
Pin No.
1
2
3
4
5
7
8
9
1
2
3
4
5
6
7
20
Signal
name
FG
TXD
RXD
RTS
CTS
DSR
SG
DTR
Setting
Baud rate
Status
ON/OFF
ON/OFF
Handshaking procedure
ON/OFF
ON/OFF
5
6
ON/OFF
ON/OFF
DIP Switch 2
No.
1
2
Setting
Selection for measurement section
6
7
636
ON/OFF
ON/OFF
ON/OFF
4
5
Status
ON/OFF
Setting of minimum read
value
Setting of transparent
body measurement function
Setting of simultaneous
measurement function
ON/OFF
ON/OFF
ON/OFF
ON/OFF
Appendix N
Setting
Setting of measurement
function by 2 measurement instruments
2
3
Status
ON/OFF
ON/OFF
ON/OFF
ON/OFF
ON/OFF
ON/OFF
3Z4L-4000 Series
DIP Switch 1
No.
1
Setting
Baud rate
Status
ON/OFF
ON/OFF
Hand-shake procedure
Delimiter
ON/OFF
ON/OFF
ON/OFF
7
8
ON/OFF
ON/OFF
ON/OFF
DIP Switch 2
No.
1
2
Setting
Selection for measurement section
ON/OFF
ON/OFF
ON/OFF
4
5
Status
ON/OFF
Setting of minimum read
value
ON/OFF
ON/OFF
Display unit
ON/OFF
637
Appendix N
3 4 5
6 7 8
Turn OFF
Turn OFF (to use a general-purpose interface)
CR+LF
CR
LF
Pin 4
OFF
ON
OFF
Pin 5
OFF
OFF
ON
Pin
Handshaking
ON: Control (recognize DRT input)
OFF: 3-wire method (non-protocol)
Baud Rate
Baud rate
1200
2400
Pin 1
OFF
ON
Pin 2
OFF
OFF
Pin
638
4800
9600
OFF
ON
ON
ON
Appendix N
3Z4L-3000 Series
The delimiter control code does not need to be set on the DIP switch for the 3Z4L-3000 Series. Set the delimiter 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.
3 4
5 6
Turn OFF
Turn OFF (to use a general-purpose interface)
2400
4800
9600
Pin 1
OFF
ON
OFF
ON
Pin 2
OFF
OFF
ON
ON
Pin
The High-speed 3Z4L-3000-series Meters must have the delimiter control codes set using the memory
switches. Set both the send and receive codes to CR+LF.
Protocol Configuration
The configuration of the 3Z4L Laser Micrometer Protocol for the 5000 and 6000 Series is shown below.
Sequence
No.
Operation
5000 Series
400 (0190)
401 (0191)
3Z4L clear
Memory switch set
Yes
6000 Series
Yes
No*1
No*1
402 (0192)
403 (0193)
mm unit set
E unit set
Yes
Yes
Yes
Yes
404 (0194)
405 (0195)
Calibration set
Calibration release
No
Yes
No
Yes
406 (0196)
No*1
No
Yes
407 (0197)
408 (0198)
409 (0199)
No
No
No
No
No
410 (019A)
411 (019B)
No
Yes
Yes
Yes
412 (019C)
413 (019D)
No
No
Yes
Yes
414 (019E)
415 (019F)
No
No
Yes
Yes
639
Appendix N
Operation
5000 Series
416 (01A0)
417 (01A1)
Yes
Yes
6000 Series
Yes
Yes
418 (01A2)
419 (01A3)
Yes
Yes
Yes
Yes
420 (01A4)
421 (01A5)
No
No
422 (01A6)
423 (01A7)
424 (01A8)
425 (01A9)
426 (01AA)
*1
No*1
No*1
Yes
No*1
Yes
Yes
Yes
Yes
Yes
Yes*2
No
No
No
Yes
Yes
Yes
Yes
Yes*3
No
Yes*3
No
427 (01AB)
428 (01AC)
429 (01AD)
430 (01AE)
No
431 (01AF)
432 (01B0)
433 (01B1)
No
No
No
No
434 (01B2)
435 (01B3)
Yes
No
No
436 (01B4)
437 (01B5)
Yes
Yes
No
No
438 (01B6)
439 (01B7)
Yes
Yes
No
No
440 (01B8)
441 (01B9)
Yes
Yes
Yes
Yes
442 (01BA)
443 (01BB)
Yes
Yes
Yes*3
Yes*3
444 (01BC)
445 (01BD)
General-purpose command 1
General-purpose command 2
Yes
Yes
Yes
Yes
446 (01BE)
447 (01BF)
No
No
No
No
Yes
*4
Note 1. *Normal responses will be returned for these sequences for 5000-series and 6000-series Laser Micrometers, but no processing will be performed.
2. *This sequence will be processed the same as sequence No. 425 AVG move (H) times set for 5000series Laser Micrometers.
3. *Memory switch settings will be ignored for these sequences for 5000-series and 6000-series Laser
Micrometers.
4. *This sequence will be processed the same as sequence No. 411 Zero run measurement start for
5000-series Laser Micrometers.
640
Appendix N
(Undefined)
+2
Offset
Z
V
Contents
(data format)
Data
3000-series
4000-series
+0
0003 (fixed)
0003 (fixed)
+1
w (1 digit BCD)
x (1 digit BCD)
y (1 digit BCD)
Display of Err0: 0 or 1
z (1 digit BCD)
Averaging method: 0 to 2
(high-speed), 0 (other)
v (1 digit BCD)
Measurement interval 4: 0 to
6
Use of comma: 0 or 1
+2
641
Appendix N
Note This sequence can be used for the 3Z4L-4000 Series only when pin 8 on DIP switch SW2 is turned ON.
+3
(Undefined)
High calibration
gauge dimension
Decimal portion
+4
+5
(Undefined)
+6
Offset
Sign
Low calibration
gauge dimension
(Undefined)
Data
+0
0007 (fixed)
+1
0000 to 9999
+1
+2
000 to 999
+3
if +: 20( )
if : 2D()
+4 to +6 LC gauge dimensions
Example 123.4567
4567
+2
0123
+3
2D00
Example -123.4567
+1
4567
+2
0123
+3
2D00
Note 1. Use sequences No. 446 (High calibration set) and No. 447 (Low calibration set) to calibrate the Laser
Micrometer. If this sequence (No. 404) is used, both the high and low calibration gauges must be set,
and the high calibration and low calibration gauges cannot be exchanged.
2. The HC gauge dimension and LC gauge dimension must be set with 3 digits for the integer portion
and 4 digits for the decimal portion.
Receive Data Word Allocation (4th Operand of PMCR(260))
None.
642
Appendix N
Offset
Data
+0
0002 (fixed)
+1
0 to 9
643
Appendix N
+2
+3
+4
+5
(Undefined)
+6
+7
+8
Decimal portion
(Undefined)
Sign
+11
+12
+13
+14
(Undefined)
Sign
+17
+18
+19
+20
Sign
(Undefined)
Sign
(Undefined)
Sign
+29
644
Integer portion
(Undefined)
Integer portion
(Undefined)
Integer portion
(Undefined)
Decimal portion
(Undefined)
Sign
Integer portion
(Undefined)
Decimal portion
(Undefined)
Sign
+27
+28
(Undefined)
Decimal portion
+24
+25
+26
Integer portion
Decimal portion
+21
+22
+23
(Undefined)
Decimal portion
(Undefined)
+15
+16
Integer portion
Decimal portion
+9
+10
Integer portion
(Undefined)
Decimal portion
(Undefined)
Sign
Integer portion
(Undefined)
Appendix N
Decimal portion
+30
+31
+32
+33
+34
(Undefined)
Sign
(Undefined)
+36
+38
+39
(Undefined)
+35
+37
Integer portion
(Undefined)
Decimal portion
(Undefined)
Integer portion
Offset value
(Undefined)
Sign
(Undefined)
+40
(Undefined)
(PRT)
+41
(Undefined)
(SMP)
+42
(Undefined)
+43
+44
(Unused)
+45
+46
(Unused)
0
+47
+48
+49
+50
+51
+52
+53
Offset
Data
+0
0054 (fixed)
+1
Unused
Undefined
+2 to +4 Segment number
(ASCII 6 characters)
+5
1 to 4
+6
0000 to 9999
+7
000 to 999
+8
if +: 20( )
if : 2D()
+9 to
+11
+12 to
+14
+15 to
+17
+18 to
+20
+21 to
+23
+24 to
+26
+27 to
+29
+30 to
+32
Reference value
Example 123.4567
+6
4567
+7
0123
+8
2D00
645
Appendix N
Data
+33
1 to 3
+34 to
+35
+36 to
+38
Offset value
+39
0 to 6
+40
000 to 999
+41
000 to 999
+42 to
+43
+44 to
+45
Unused
Undefined
+46
Set:
1 (SG)
Dont set: 0
+47
Set:
1 (M)
Dont set: 0
+48
Set:
1 (LL,LH)
Dont set: 0
+49
Set:
1 (L1,L2,L3,L4,L5,L6)
Dont set: 0
+50
Set:
1 (REF,SCL)
Dont set: 0
+51
Set:
1 (OF or OM)
Dont set: 0
+52
+53
646
Appendix N
647
Appendix N
+2
Segment number (SG)
+3
+4
(Undefined)
+5
Decimal portion
+6
+7
(Undefined)
Integer portion
+8
Sign
(Undefined)
Decimal portion
+9
+10
(Undefined)
Integer portion
+11
Sign
(Undefined)
Decimal portion
+12
+13
(Undefined)
Integer portion
+14
Sign
(Undefined)
+15
Decimal portion
+16
(Undefined)
+17
Sign
Integer portion
(Undefined)
Decimal portion
+18
+19
(Undefined)
+20
Sign
Integer portion
(Undefined)
+21
Decimal portion
+22
(Undefined)
+23
Sign
Integer portion
(Undefined)
+24
Decimal portion
+25
(Undefined)
+26
Sign
Integer portion
(Undefined)
+27
Decimal portion
+28
(Undefined)
Integer portion
+29
Sign
(Undefined)
Decimal portion
+30
+31
(Undefined)
Integer portion
+32
Sign
(Undefined)
(Undefined)
+33
+34
+35
(Undefined)
+36
Decimal portion
+37
(Undefined)
Integer portion
+38
+39
Sign
(Undefined)
+40
(Undefined)
+41
(Undefined)
+42
+43
(Undefined)
+44
+45
648
(Undefined)
Appendix N
Data
+0
+1
Program number
(1 digit BCD)
0 to 9
+2 to +4 Segment number
(ASCII 6 characters)
+5
1 to 4
+6
0000 to 9999
+7
000 to 999
+8
If +: 0
If : F
+9 to
+11
+12 to
+14
+15 to
+17
+18 to
+20
+21 to
+23
+24 to
+26
+27 to
+29
+30 to
+32
Reference value
+33
1 to 3
+34 to
+35
+36 to
+38
Offset value
+39
0 to 6
+40
000 to 999
+41
000 to 999
+42 to
+43
+44 to
+45
Example 123.4567
+6
4567
+7
0123
+8
F000
Note This sequence cannot be used to request the lower limit (EL), error upper limit (EH), error exclusion
counter (CNT) of the error data exclusion function (centerless grinder function).
649
Appendix N
(Undefined)
Program number
+2
Decision result
+3
Decimal portion
+4
(Undefined)
+5
Sign
Integer portion
Measurement value
(Undefined)
Decimal portion
+6
(Undefined)
+7
Sign
+8
Offset
Integer portion
Deviation value
(Undefined)
Data
+0
+1
Program number
(1 digit BCD)
0 to 9
+2
Decision result
(ASCII 2 characters)
+3
+4
+5
+6 to +8 Deviation value
000 to 999
If +: 0
If : F
Example 123.4567
+3
4567
+4
0123
+5
F000
650
Appendix N
651
Appendix N
652
Appendix N
+0
+1
(Undefined)
+2
+4
+5
+6
Decimal portion
(Undefined)
(Undefined)
Decimal portion
(Undefined)
+9
(Undefined)
Decimal portion
(Undefined)
(Undefined)
Decimal portion
(Undefined)
+15
Range (R)
Integer portion
Sign
(Undefined)
+16
+17
+18
Integer portion
Sign
+12
+13
+14
Integer portion
Sign
+10
+11
Integer portion
Sign
+7
+8
(Undefined)
+3
Decimal portion
(Undefined)
Sign
Integer portion
(Undefined)
Contents
(data format)
Offset
Data
+0
+1
Program number
(1 digit BCD)
0 to 9
000000 to 999999
+4
0000 to 9999
+5
000 to 999
If +: 0
If : F
+6
+7 to +9 Maximum value
+10 to
+12
Minimum value
+13 to
+15
Range
+16 to
+18
Standard deviation
Example 123.4567
+4
4567
+5
0123
+6
F000
Note The number of digits of the Decimal portion is fixed to 4 digits. If a deviation calculation results in a value
with 5 decimal places, it will be stored with one digit overflowing into the integer portion.
Examples: The value -0.1234 is stored as follows:
Area of decimal portion: 1234; Area of integer portion: 0000; Sign area: F000
653
Appendix N
+2
(Undefined)
Offset
Z
V
Contents
(data format)
Data
+0
0003 (fixed)
+1
w (1 digits BCD)
x (1 digit BCD)
y (1 digit BCD)
z (1 digit BCD)
v (1 digit BCD)
0: Displaying Err-0
1: Displaying 0
+2
Note Settings marked with asterisks are required for this protocol.
654
Appendix N
+2
(Undefined)
Offset
Z
V
Data
+0
0003 (fixed)
+1
w (1 digit BCD)
0:
1:
2:
3:
+2
x (1 digit BCD)
For expansion
0 (fixed)
y (1 digit BCD)
For expansion
0 (fixed)
z (1 digit BCD)
For expansion
0 (fixed)
v (1 digit BCD)
Note Settings marked with asterisks are required for this protocol.
Receive Data Word Allocation (4th Operand of PMCR(260))
None.
Note Memory switches cannot be set when DIP switch SW3, pin 5 of the Laser Micrometer is not turned ON.
Offset
Data
+0
0002 (fixed)
+1
1 to 2048
655
Appendix N
(Undefined)
Offset
Data
+0
0002 (fixed)
+1
1 to 4
Offset
Data
+0
0002 (fixed)
+1
16 to 2048
(32 to 2048 for 5000/6000 Series)
Offset
656
Data
+0
0002 (fixed)
+1
32 to 2048
Appendix N
Note 1. This sequence cannot be used when DIP switch SW3, pin 5 of the Laser Micrometer is not turned ON.
2. This sequence will be processed the same as sequence No. 425 AVG move (H) times set for 5000series Laser Micrometers.
+0
+1
+2
Invalid time
+3
Decimal portion
+4
(Undefined)
+5
(Undefined)
Sign
+6
+7
Integer portion
Decimal portion
(Undefined)
+8
Integer portion
Sign
Offset
(Undefined)
Data
+0
0009 (fixed)
+1
Number of measurements
(3 digits BCD)
001 to 999
+2
0001 to 9999
+3
0000 to 9999
+4
000 to 999
+5
If +: 20 ( )
If : 2D ()
Example 123.4567
+3
4567
+4
0123
+5
2D00
657
Appendix N
Note This sequence cannot be used when DIP switch SW3, pin 5 of the Laser Micrometer is not turned ON.
+0
+1
+2
Invalid time
+3
+4
Decimal portion
(Undefined)
Sign
+5
+6
+7
Integer portion
(Undefined)
Decimal portion
(Undefined)
Sign
+8
Offset
Integer portion
(Undefined)
Data
+0
0009 (fixed)
+1
000 to 999
+2
Invalid time
(4 digits BCD)
0001 to 9999
+3
0000 to 9999
+4
000 to 999
+5
If +: 0
If : F
Example 123.4567
+3
4567
+4
0123
+5
F000
Note This sequence cannot be used when DIP switch SW3, pin 5 of the Laser Micrometer is not turned ON.
658
Appendix N
+0
+1
(Undefined)
+2
(Undefined)
Decimal portion
+3
+4
+5
(Undefined)
Sign
+6
+7
+8
+11
+12
Decimal portion
Integer portion
Sign
Decimal portion
(Undefined)
Integer portion
Sign
(Undefined)
(Undefined)
(Unused)
+14
(Unused)
+15
+17
+18
(Undefined)
+13
+16
(Undefined)
(Undefined)
+9
+10
Integer portion
(Unused)
(Undefined)
(Undefined)
(Undefined)
+19
+20
+21
+22
+23
+24
659
Appendix N
Data
+0
+1
Segment number
(1 digit BCD)
1 to 5
+2
1 to 7
+3
0000 to 9999
+4
000 to 999
+5
Example 123.4567
+3
If +: 20 ( )
If : 2D ()
+9 to
+11
Reference value
+12
0 to 3
+13 to
+15
Unused
+16
0 to 6
+17
000 to 999
+18
00 to 99
+19
Set:
1(SG)
Dont set: 0
+20
Set:
1(M)
Dont set: 0
+21
Set:
1(LL, LH)
Dont set: 0
+22
Set:
1(REF, SCL)
Dont set: 0
+23
+24
4567
+4
0123
+5
2D00
Set:
1(RLT)
Dont set: 0
660
Appendix N
+0
+1
(Undefined)
+2
(Undefined)
Decimal portion
+3
+4
(Undefined)
Integer portion
+5
Sign
(Undefined)
+6
+7
(Undefined)
Integer portion
+8
Sign
(Undefined)
Decimal portion
Upper limit value (LH)
Decimal portion
+9
+10
(Undefined)
Integer portion
+11
+12
Sign
(Undefined)
(Undefined)
+13
Forced zero number (ZERO+)
+14
+15
+16
+17
+18
(Undefined)
(Undefined)
(Undefined)
(Undefined)
661
Appendix N
Data
+0
+1
Segment number
(1 digit BCD)
1 to 5
+2
1 to 7
+3
0000 to 9999
+4
000 to 999
If +: 0
If : F
+5
Example 123.4567
+3
+9 to
+11
Reference value
+12
0 to 3
+13 to
+15
5A45524F2B (ZERO+)
4E4F524D20 (NORM )
5A45524F2D (ZERO)
+16
0 to 6
+17
000 to 999
+18
00 to 99
4567
+4
0123
+5
F000
Note This sequence can be used for the 3Z4L-4000 Series only when pin 8 on DIP switch SW2 is turned ON.
+0
+1
Decision result
+2
Decimal portion
+3
+4
(Undefined)
Sign
+5
+6
+7
662
Integer portion
Measurement value
(Undefined)
Decimal portion
(Undefined)
Sign
Integer portion
(Undefined)
Deviation value
Appendix N
Data
+0
+1
Decision result
(ASCII 2 characters)
+2
+3
000 to 999
If +: 0
If : F
+4
+5 to +7 Deviation value
Example 123.4567
+2
4567
+3
0123
+4
F000
663
Appendix N
664
Appendix N
+0
+1
+2
Send data
+3
Send data
+248
+249
Send data
Send data
CR
665
Appendix N
Data
+0
+1
+2 to
+249
+0
+1
+2
Send data
+3
Send data
+128
+249
Offset
Send data
Send data
CR
Data
+0
+1
+2 to
+249
+0
+1
Receive data
+2
Receive data
+126
Receive data
+249
Receive data
Offset
666
Data
+0
+1 to
+249
Appendix N
667
668
Appendix N
Appendix O
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 Unit/Board via RS-232C cable.
Protocol Configuration
The configuration of the Visual Inspection System Protocol is shown below.
Sequence
No.
Communications
sequence name
450 (01C2)
451 (01C3)
Function
Ladder interface
Send word
allocation
Receive word
allocation
No
Yes
No
Yes
No
Yes
No
No
No
No
No
No
Changes the upper and lower limit values of the evaluation condition of the
designated output No.
457 (01C9) Arbitrary measurement Stores the measurement values of arbivalue acquisition (F200) trary measurement item regardless of
output format in the specified words.
460 (01CC) Measurement execuCarries out one measurement and
tion (F300)
stores the measurement results in the
specified words.
Yes
No
Yes
Yes
No
Yes
461 (01CD)
No
Yes
462 (01CE)
No
Yes
463 (01CF)
No
No
Yes
No
No
No
No
Yes
452 (01C4)
453 (01C5)
454 (01C6)
455 (01C7)
456 (01C8)
464 (01D0)
465 (01D1)
470 (01D6)
Notes
669
Appendix O
Communications
sequence name
Function
Ladder interface
Send word Receive word
allocation
allocation
471 (01D7)
Camera designation
and positioning (F350)
Yes
No
472 (01D8)
Yes
No
473 (01D9)
Inspection execution
and character inspection (F350)
No
No
474 (01DA)
Yes
No
480 (01E0)
Camera change
(decrease by 1) (F200/
300)
Camera change
(increase by 1) (F200/
300)
Binary level modification
(F200/300)
No
No
No
No
Yes
No
481 (01E1)
482 (01E2)
483 (01E3)
Reset (F200/300)
No
No
490 (01EA)
No
No
491 (01EB)
No
No
492 (01EC)
493 (01ED)
Yes
No
No
No
Yes
No
Yes
Yes
494 (01EE)
495 (01EF)
Notes
670
Appendix O
Connections
The connections for using the Visual Inspection System Protocol are shown below.
RS-232C Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
F200/300/350
PLC PS
RS-232C
RS-232C port
RS-232C Unit
Pin No.
25
14
13
Signal name
Abbreviation
FG (GND)
Send data
SD (TXD)
Receive data
RD (RXD)
Request to send
RS (RTS)
Clear to send
CS (CTS)
DR (DSR)
Signal ground
SG (GND)
20
CD (DCD)
ER (DTR)
Pin No.
SD (TXD)
2
3
4
5
7
9
8
1
RD (RXD)
RTS
CTS
DSR
SG
DTR
FG
F300-E:
D-sub 25 pin (female)
Pin No.
2
3
4
5
6
7
8
20
Signal Name
SD (TXD)
RD (RXD)
RTS
CTS
DSR
SG
CD (DCD)
DTR
F300-E:
D-sub 25 pin (female)
Signal Name
Pin No.
Pin No.
Signal Name
SD (TXD)
RD (RXD)
RTS
CTS
2
3
4
5
7
9
8
1
2
3
4
5
6
7
8
20
SD (TXD)
DSR
SG
DTR
FG
RD (RXD)
RTS
CTS
DSR
SG
CD (DCD)
DTR
671
Appendix O
+0
+1
Output No.
(Undefined)
+2
Evaluation
result
(Undefined)
+3
Decimal portion
+4
Integer portion
+5
Sign
Measurement value
Offset
Data
+0
0006
+1
00 to 07
+2
0: OK
1: NG
Example
123.456
Example
+123.456
+3
3456
+3
+4
0012
+4
0012
+5
F000
+5
0000
3456
+0
+1
+3
672
Evaluation
result
Decimal portion
+4
+5
Output No.
(Undefined)
+2
Integer portion
Sign
Measurement value
Appendix O
Data
+0
0006
+1
00 to 07
+2
0: OK
1: NG
Example
123.456
Example
+123.456
+3
3456
+3
3456
+4
0012
+4
0012
+5
F000
+5
0000
+0
+1
Output No.
(Undefined)
+2
(Undefined)
+3
Evaluation
result
Decimal portion
+4
Integer portion
+5
Sign
Offset
Measurement value
Data
+0
+1
00 to 07
+2
0: OK
1: NG
0006
Example
123.456
Example
+123.456
+3
3456
+3
3456
+4
0012
+4
0012
+5
F000
+5
0000
673
Appendix O
674
Appendix O
Output No.
Decimal portion
(Undefined)
+3
+4
+5
+6
Integer portion
(Undefined)
Sign
(Undefined)
Decimal portion
(Undefined)
+7
+8
Integer portion
(Undefined)
+9
Sign
Offset
(Undefined)
Data
+0
+1
00 to 07
Example
123.456
Example
+123.456
+2
0567
+2
0678
+3
1234
+3
2345
+4
0000
+4
0001
+5
2D00
+5
3000
+0
+1
(Undefined)
Data 1
+2
(Undefined)
Data 2
675
Appendix O
Data
+0
0003
+1
00:
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
+2
Area
Center of gravity x
Center of gravity y
Main axis angle
Output format
Reference value of output format
X displacement
Y displacement
Angle displacement
X reference position
Y reference position
Angle reference position
+0
+1
+2
+3
Decimal portion
Integer portion
Sign
Offset
+0
Measurement value
Data
0004
Example
123.456
Example
+123.456
+3
3456
+3
+4
0012
+4
0012
+5
F000
+5
0000
3456
676
Appendix O
+0
+1
Window No.
(Undefined)
+2
Evaluation
result
Decimal portion
+3
Data 1
Integer portion
+4
+5
Sign
0
Decimal portion
+6
Data 2
Integer portion
+7
+8
Sign
+9
Decimal portion
Data 3
Integer portion
+10
Sign
+11
0
Decimal portion
+12
Data 4
Integer portion
+13
Sign
+14
0
Decimal portion
+15
Data 5
Integer portion
+16
Sign
+17
Offset
Data
+0
0006:
0009:
000C:
000F:
0012:
+1
00 to 07
+2
0: OK
1: NG
1 measurement item
2 measurement items
3 measurement items
4 measurement items
5 measurement items
Example
123.456
Example
+123.456
+3
3456
+3
3456
+4
0012
+4
0012
+5
F000
+5
0000
Same as +3 to +5.
+9 to
+11
Same as +3 to +5.
Same as +3 to +5.
+12 to
+14
Same as +3 to +5.
Same as +3 to +5.
+15 to
+17
Same as +3 to +5.
Same as +3 to +5.
Note 1. Exponential expressions are used for numbers larger than 9999999.999 and smaller than 999999.9.
2. The number of measurement items is up to 5, but only one window number can be read.
3. The ranges of measurement values are as follows:
For calibration OFF setting: 2147483.648 to 2147483.648
For calibration ON setting: 9999999.999 to 9999999.999
677
Appendix O
+0
+1
(Undefined)
Integer portion
+4
Sign
Decimal portion
Integer portion
+7
Sign
Decimal portion
Integer portion
+10
Sign
Decimal portion
Integer portion
+13
Sign
Decimal portion
Integer portion
+16
678
Data 4
+15
+17
Data 3
+12
+14
Data 2
+9
+11
Data 1
+6
+8
Evaluation
result
Decimal portion
+3
+5
Window No.
(Undefined)
+2
Sign
Data 5
Appendix O
Data
+0
+1
00 to 07
+2
0: OK
1: NG
0006:
0009:
000C:
000F:
0012:
1 measurement item
2 measurement items
3 measurement items
4 measurement items
5 measurement items
Example
123.456
Example
+123.456
+3
3456
+3
3456
+4
0012
+4
0012
+5
F000
+5
0000
Same as +3 to +5.
+9 to
+11
Same as +3 to +5.
Same as +3 to +5.
+12 to
+14
Same as +3 to +5.
Same as +3 to +5.
+15 to
+17
Same as +3 to +5.
Same as +3 to +5.
Note 1. Exponential expressions are used for numbers larger than 9999999.999 and smaller than 999999.9.
2. The number of measurement items are up to 5, but only one window number can be read.
3. The range of measurement values are as follows:
For calibration OFF setting: 2147483.648 to 2147483.648
For calibration ON setting: 9999999.999 to 9999999.999
4. The priority of measurement items being output are as follows:
1 Area
2 Center of gravity X
3 Center of gravity Y
4 Main axis angle
5 Edge angle
6 Center X
7 Center Y
8 Inclination
9 Intersecting point X
10 Intersecting point Y
679
Appendix O
+0
+1
(Undefined)
Integer portion
+4
Sign
Decimal portion
Integer portion
+7
Sign
Decimal portion
Integer portion
Sign
Decimal portion
Integer portion
+13
Sign
Data 4
0
Decimal portion
+15
Integer portion
+16
+17
Data 3
+12
+14
Data 2
+9
+10
+11
Data 1
+6
+8
Evaluation
result
Decimal portion
+3
+5
Window No.
(Undefined)
+2
Sign
Offset
Data 5
Data
+0
+1
00 to 07
+2
0: OK
1: NG
0006:
0009:
000C:
000F:
0012:
1 measurement item
2 measurement items
3 measurement items
4 measurement items
5 measurement items
Example
123.456
Example
+123.456
+3
3456
+3
3456
+4
0012
+4
0012
+5
F000
+5
0000
Same as +3 to +5.
+9 to
+11
Same as +3 to +5.
Same as +3 to +5.
+12 to
+14
Same as +3 to +5.
Same as +3 to +5.
+15 to
+17
Same as +3 to +5.
Same as +3 to +5.
Note 1. Exponential expressions are used for numbers larger than 9999999.999 and smaller than 999999.9.
2. The number of measurement items is up to 5, but only one window number can be read.
680
Appendix O
5. Sequences No. 452 and No. 462 (Continuous Measurement Execution with Interrupt) are not supported by the CS1W-SCU@@(-V1) and CJ1W-SCU@@(-V1) Serial Communications Units. A protocol
syntax error will occur if an attempt is made to execute either sequence with a Serial Communications
Unit.
Do not set an EM bank as the receive storage word for interrupt notification. A protocol syntax error
will occur if an EM banks is set.
Offset
Window No.
Data
+0
0002
+1
0 to 7
681
Appendix O
+0
+1
+2
Sign
Integer portion
Decimal portion
+3
+4
Integer portion
Sign
Y displacement
Decimal portion
+5
+6
X displacement
Sign
Offset
+0
Integer portion
Correlation value
Data
0007
Example
123.456
Example
+123.456
+1
3456
+1
3456
+2
F012
+2
0012
Example
+123.456
+1
3456
+1
3456
+2
F012
+2
0012
Example
+12.345
+1
2345
+1
2345
+2
F001
+2
0001
682
Appendix O
1500 + 25 x unit number +9, bit 14 for Serial Communications Units. The flags for port 2 are CIO
1919114 for the Serial Communications Board and CIO 1500 + 25 x unit number +19, bit 14 for Serial
Communications Units.
4. Data to be output is within the range 999.999 (upper limit) to 999.999 (lower limit).
5. Retry processing is not performed for this sequence.
6. Turn the Abort Bit ON and then OFF to end this sequence.
+0
+1
(Undefined)
+2
(Undefined)
Offset
+0
First camera
No.
Last camera
No.
Data
0003
+1
0 to 7
+2
0 to 7
+0
+1
(Undefined)
Offset
Scene No.
Data
+0
0002
+1
00 to 15
683
Appendix O
+2
(Undefined)
Number of designated character strings
Designated character string
+3
~
Designated character string
Offset
Data
+0
+1
+2
0 to 7
+3 to
684
Appendix O
+0
+1
(Undefined)
Window No.
+2
(Undefined)
+3
(Undefined)
Offset
+0
or Output No.
Data
0004
+1
0 to 7
+2
000 to 255
+3
000 to 255
685
Appendix O
+0
+1
(Undefined)
Offset
Scene No.
Data
+0
0002
+1
00 to 15
+0
+1
Command length
+2
Command
(Undefined)
~
Offset
+0
~
Contents (data format)
+1
+2 to
Command (ASCII)
686
Data
Appendix O
+0
+1
Command length
+2
Command
(Undefined)
Offset
+0
Data
+1
+2 to
Command (ASCII)
+0
+1
Command length
+2
Command
(Undefined)
~
Offset
+0
~
Contents (data format)
Data
+1
+2 to
Command (ASCII)
687
688
Appendix O
Appendix P
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 Unit/Board via RS-232C or RS-422 cable.
Protocol Configuration
The configuration of the V600/V620 ID Controller Protocol is shown below.
Sequence
No.
Communications
sequence name
Function
Ladder interface
Send word
allocation
Receive word
allocation
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
500 (01F4)
Read (ASCII/1)
501 (01F5)
Read (ASCII/2)
502 (01F6)
Read (ASCII/4)
503 (01F7)
Read (ASCII/8)
504 (01F8)
Read (Hex/1)
505 (01F9)
Read (Hex/2)
Yes
Yes
506 (01FA)
Read (Hex/4)
Yes
Yes
507 (01FB)
Read (Hex/8)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Polling Auto-read
(ASCII)
511 (01FF)
Polling Auto-read
Subcommand
(ASCII/2)
Polling Auto-read
Subcommand
(ASCII/4)
Polling Auto-read
Subcommand
(ASCII/8)
Polling Auto-read
(Hex)
Polling Auto-read
Subcommand (Hex/2)
Polling Auto-read
Subcommand (Hex/4)
512 (0200)
513 (0201)
514 (0202)
515 (0203)
516 (0204)
517 (0205)
Polling Auto-read
Used when the maximum number of Heads to
Subcommand (Hex/8) be read from the Carrier is 8.
Yes
Yes
518 (0206)
Write (ASCII/1)
Yes
No
689
Appendix P
Communications
sequence name
Function
Ladder interface
Send word
Receive word
allocation
allocation
519 (0207)
Write (ASCII/2)
Yes
No
520 (0208)
Write (ASCII/4)
Yes
No
521 (0209)
Write (ASCII/8)
Yes
No
522 (020A)
Write (Hex/1)
Yes
No
523 (020B)
Write (Hex/2)
Yes
No
524 (020C)
Write (Hex/4)
Yes
No
525 (020D)
Write (Hex/8)
Yes
No
526 (020E)
Auto-write (ASCII/1)
Yes
No
527 (020F)
Auto-write (Hex/1)
Yes
No
528 (0210)
Polling Auto-write
(ASCII/2)
Polling Auto-write
Subcommand
(ASCII/2)
Polling Auto-write
(ASCII/4)
Polling Auto-write
Subcommand
(ASCII/4)
Yes
No
Yes
No
Yes
No
Yes
No
Polling Auto-write
(ASCII/8)
Polling Auto-write
Subcommand
(ASCII/8)
Yes
No
Yes
No
Polling Auto-write
(Hex/2)
Polling Auto-write
Subcommand (Hex/2)
Polling Auto-write
(Hex/4)
Polling Auto-write
Subcommand (Hex/4)
Yes
No
Yes
No
Yes
No
Yes
No
538 (021A)
Polling Auto-write
(Hex/8)
Yes
No
539 (021B)
Polling Auto-write
Used when the maximum number of Heads to
Subcommand (Hex/8) be written to the Carrier is 8.
Yes
No
540 (021C)
Data check
Yes
Yes
541 (021D)
Control management
Yes
Yes
542 (021E)
543 (021F)
Error information read Reads information from the latest error log.
Command processing Cancels command processing except polling
cancel
command processing and returns to the command waiting status.
Yes
Yes
Yes
Yes
529 (0211)
530 (0212)
531 (0213)
532 (0214)
533 (0215)
534 (0216)
535 (0217)
536 (0218)
537 (0219)
690
Appendix P
Communications
sequence name
544 (0220)
Polling auto-read
command processing
cancel
Polling auto-write
command processing
cancel
General-purpose
command
545 (0221)
546 (0222)
Function
Ladder interface
Send word
Receive word
allocation
allocation
Yes
Yes
Yes
Yes
Yes
Yes
Connections
Connections when using the V600/V620 ID Controller Protocol are shown below.
RS-232C Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
Head
PLC PS
Data Carrier
RS-232C
RS-232C port
ID Controller
RS-232C
Serial Communications Unit/Board
D-sub 9 pin (female)
Signal
FG
SD
RD
RTS
CTS
SG
ID Controller (CD1D):
D-sub 9 pin (female)
Pin No.
Pin No.
1
2
3
4
5
9
1
2
3
4
5
9
Signal
GR
SD
RD
RTS
CTS
SG
Shield
691
Appendix P
ID Controller (CA1A):
D-sub 25 pin (female)
Shield
RS-422 Connections
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
PLC PS
RS-422A/485 port
Head
Data Carrier
Head
Data Carrier
ID Controller
RS-422
ID Controller
RS-422
FG
Pin No.
8
2
6
1
Hood
ID Controller (CD1D):
D-sub 9 pin (female)
Signal
Pin No.
name
1
3
5
RDB
SG
SDB
6
7
9
RDA
FG
SDA
Shield
Note 1. Ground the cable shield at either the ID Controller or the Serial Communications Unit/Board to prevent malfunction.
2. Turn ON the pin 6 on DIP switch SW6 to set the host communications procedure to the 1-to-N procedure for 1-to-N connections.
692
Appendix P
8
Not used (Always keep it OFF.)
Baud rate
(bps)
2,400
4,800
9,600
19,200
Display mode
Error display mode
I/O display mode
Data
length (bit)
STOP
bits (bit)
Parity type
7
7
7
7
8
8
8
8
2
2
1
1
2
1
1
1
E
O
E
O
N
N
E
O
693
Appendix P
1 2 3 4 5 6 7 8
Not used (Always keep it OFF.)
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. Set them to OFF for the 1-to-1 protocol.
Synchronous condition
OFF (LL level)
ON (HL level)
Trailing edge
Leading edge
694
Appendix P
Baud Rate
Setting
Communications Format
Data
length (bit)
Baud rate
(bps)
1,200
2,400
4,800
9,600
19,200
7
7
7
7
8
8
8
8
1 = ON, 0 = OFF
(See note 1)
Note 1. Data length setting
7 bits: ASCII
8 bits: JIS8 unit code
2. Parity setting
E: Even parity
O: Odd parity
N: No parity designation
1=ON, 0=OFF
STOP
bit (bit)
2
2
1
1
2
1
1
1
Parity type
E
O
E
O
N
N
E
O
(See note 2)
DIP Switch 2
1 2 3 4 5 6 7 8
SW8: Receive Side Terminating Resistance Setting (Valid Only for the V600-CA2A)
Connected (ID Controller send side)
Not connected
SW7: Receive Side Terminating Resistance Setting (Valid Only for the V600-CA2A)
Connected (ID Controller receive side)
Not connected
SW6: Communications Protocol Setting
1-to-N protocol
1-to-1 protocol
ID Controller Unit Number Setting (Valid Only for the 1-to-N Protocol)
Unit No.
Local Communications Mode Setting
Speed priority setting
Distance priority setting
SW1 Setting
This setting is only valid if the EEPROM-type (batteryless-type) Data Carrier (DC) is accessed. The setting
of SW7 does not work with the SRAM-type (batterytype) DC.
No. 0
No. 1
No. 2
No. 3
No. 4
No. 5
No. 6
No. 7
No. 8
No. 9
No. 10
No. 11
No. 12
No. 13
No. 14
No. 15
SW6 Setting
When selecting the 1-to-N protocol for the
V600-CA1A/RS-232C interface, the setting is limited
to N=1. In this case, the FCS check code may be added.
Note 1. Be careful not to set to the same unit number twice.
2. Set them to OFF for the 1-to-1 protocol.
695
Appendix P
Unit No.
(Undefined)
+2
Head CH No.
+3
+4
(Undefined)
Offset
Read bytes
Data
+0
0005 (fixed)
+1
00 to 07 (CD1D)
00 to 15 (CA@A)
+2
+3
0000 to FFFF
+4
Read bytes
(2 digits Hex)
01 to F4 (1 to 244 bytes)
+0
+1
Read data
+2
Read data
~
Read data
+122
Offset
Data
+0
+1 to +122
Note Data from Data Carriers designated for ASCII is stored beginning with the smallest offset from the
receive data words, as shown in the following diagram.
Data Carrier
Receive data storage words
+0
+1
+2
+3
+4
696
+0
+1
+2
Appendix P
+2
(Undefined)
+3
Unit No.
Head CH No.
(Undefined)
Leading address No.
+4
+5
(Undefined)
Read bytes
+6
(Undefined)
Unit No.
+7
Head CH No.
(Undefined)
Leading address No.
+8
+9
(Undefined)
Offset
CH 1
CH 2
Read bytes
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0002
+(4(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(4(N1)+3)
+(4(N1)+4)
0000 to FFFF
+(4(N1)+5)
Read bytes
(2 digits Hex)
01 to 76 (1 to 118 bytes)
N: Number of Heads
+0
+1
Read data
~
+59
Read data
+60
Not used
+61
Read data
CH 1
CH 2
Read data
+119
Offset
Data
+0
0002 to 0120
+(60(N1)+1) to
+(60(N1)+59)
N: Number of Heads
Note Data from Data Carriers designated for ASCII is stored beginning with the smallest offset from the
receive data words.
697
Appendix P
+2
(Undefined)
+3
Unit No.
(Undefined)
+4
Head CH No.
CH 1
+5
(Undefined)
Read bytes
+6
(Undefined)
Unit No.
(Undefined)
+7
+8
Head CH No.
CH 2
+9
(Undefined)
Read bytes
(Undefined)
Unit No.
~
+14
~
(Undefined)
+15
Head CH No.
4 CH
+16
(Undefined)
+17
Offset
Read bytes
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0004
+(4(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(4(N1)+3)
+(4(N1)+4)
0000 to FFFF
+(4(N1)+5)
Read bytes
(2 digits Hex)
01 to 30 (1 to 48 bytes)
N: Number of Heads
+0
+1
Read data
~
+24
Read data
+25
Read data
~
+48
698
CH 2
~
Read data
~
+96
CH 1
Read data
~
+73
~
Read data
4 CH
Appendix P
Data
+0
0002 to 0097
+(24(N1)+1) to
+(24(N1)+24)
N: Number of Heads
Note Data from Data Carriers designated for ASCII is stored beginning with the smallest offset from the
receive data words.
Number of Heads
Unit No.
(Undefined)
+2
(Undefined)
+3
Head CH No.
CH 1
+4
+5
(Undefined)
Read bytes
+6
(Undefined)
Unit No.
(Undefined)
+7
Head CH No.
CH 2
+8
Read bytes
(Undefined)
+9
~
Unit No.
(Undefined)
+30
(Undefined)
+31
Head CH No.
+32
+33
Read bytes
(Undefined)
Offset
8 CH
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0008
+(4(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(4(N1)+3)
+(4(N1)+4)
0000 to FFFF
+(4(N1)+5)
Read bytes
(2 digits Hex)
01 to 14 (1 to 20 bytes)
N: Number of Heads
699
Appendix P
+0
+1
Read data
~
+10
Read data
+11
Read data
CH 1
CH 2
Read data
+20
~
Read data
+71
CH 8
Read data
+80
Offset
Data
+0
0002 to 0081
+(10(N1)+1) to
+(10(N1)+10)
N: Number of Heads
Note Data from Data Carriers designated for ASCII is stored beginning with the smallest offset from the
receive data words.
Unit No.
(Undefined)
+2
Head CH No.
+3
(Undefined)
+4
Offset
Read bytes
0005 (fixed)
+1
00 to 07 (CD1D)
00 to 15 (CA@A)
+2
+3
0000 to FFFF
+4
Read bytes
(2 digits Hex)
01 to 7A (1 to 122 bytes)
+0
+1
Read data
+2
Read data
~
+61
700
Data
+0
~
Read data
Appendix P
Data
+0
+1 to +61
Note Data for Data Carriers designated for hexadecimal is stored beginning with the largest offset from the
receive data words, as shown in the following diagram.
Data Carrier
+0
+1
+2
+2
(Undefined)
Unit No.
+3
(Undefined)
Head CH No.
+4
CH 1
+5
(Undefined)
+6
(Undefined)
Unit No.
+7
(Undefined)
Head CH No.
Read bytes
+8
(Undefined)
+9
Offset
CH 2
Read bytes
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0002
+(4(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(4(N1)+3)
+(4(N1)+4)
0000 to FFFF
+(4(N1)+5)
Read bytes
(2 digits Hex)
01 to 3C (1 to 60 bytes)
N: Number of Heads
701
Appendix P
+0
+1
Read data
+30
Read data
+31
Not used
CH 1
+60
Not used
+61
Read data
CH 2
Read data
+90
Offset
Data
+0
+(60(N1)+1) to
+(60(N1)+30)
N: Number of Heads
Note Data for Data Carriers designated for hexadecimal is stored beginning with the largest offset from the
receive data words.
Unit No.
Head CH No.
+5
(Undefined)
Read bytes
+6
(Undefined)
Unit No.
+7
+8
+9
(Undefined)
Head CH No.
+15
+16
+17
702
CH 2
Read bytes
~
+14
CH 1
~
(Undefined)
(Undefined)
Unit No.
Head CH No.
Read bytes
CH 4
Appendix P
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0004
+(4(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(4(N1)+3)
+(4(N1)+4)
0000 to FFFF
+(4(N1)+5)
Read bytes
(2 digits Hex)
01 to 18 (1 to 24 bytes)
N: Number of Heads
+0
+1
Read data
+12
Read data
+13
(Not used)
CH 1
+24
(Not used)
+25
Read data
CH 2
Read data
+36
+73
Read data
CH 4
Read data
+84
Offset
Data
+0
+(24(N1)+1) to
+(24(N1)+12)
Note Data for Data Carriers designated for hexadecimal is received beginning with the largest offset from the
receive data words.
703
Appendix P
+2
Unit No.
(Undefined)
+3
Head CH No.
+4
+5
(Undefined)
Read bytes
+6
(Undefined)
Unit No.
(Undefined)
+7
Head CH No.
CH 2
+8
(Undefined)
+9
Read bytes
~
(Undefined)
+30
+31
Unit No.
(Undefined)
+32
Head CH No.
+33
(Undefined)
Offset
CH 8
Read bytes
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0008
+(4(N1)+2)
+(4(N1)+3)
+(4(N1)+4)
0000 to FFFF
+(4(N1)+5)
Read bytes
(2 digits Hex)
01 to 0A (1 to 10 bytes)
N: Number of Heads
704
CH 1
Appendix P
+0
+1
Read data
+5
Read data
+6
Not used
CH 1
+10
Not used
+11
Read data
CH 2
Read data
+15
~
Read data
+71
CH 8
Read data
+75
Offset
Data
+0
+(10(N1)+1) to
+(10(N1)+5)
N: Number of Heads
Note Data for Data Carriers designated for hexadecimal is sent beginning with the largest offset from the
receive data words.
705
Appendix P
Number of Heads
(Undefined)
+2
Unit No.
(Undefined)
+3
Head CH No.
CH 1
+4
(Undefined)
+5
Read bytes
~
+(4(N1)+2)
~
(Undefined)
+(4(N1)+3)
Unit No.
(Undefined)
+(4(N1)+4)
Head CH No.
+(4(N1)+5)
(Undefined)
Offset
CH N
* N: Number of Heads
Read bytes
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0008
+(4(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(4(N1)+3)
+(4(N1)+4)
0000 to FFFF
+(4(N1)+5)
Read bytes
(2 digits Hex)
N: Number of Heads
706
Appendix P
Note 1. Execute Sequence No. 510 before executing Sequence No. 511.
2. Data from Data Carriers designated for ASCII is stored beginning with the smallest offset from the
receive data words.
3. Retry processing is not performed for this sequence.
707
Appendix P
Number of Heads
Unit No.
(Undefined)
+2
(Undefined)
+3
Head CH No.
CH 1
+4
Read bytes
(Undefined)
+5
~
+(4(N1)+2)
~
Unit No.
(Undefined)
+(4(N1)+3)
(Undefined)
+(4(N1)+4)
Head CH No.
+(4(N1)+5)
(Undefined)
Offset
CH N
* N: Number of Heads
Read bytes
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0008
+(4(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(4(N1)+3)
+(4(N1)+4)
0000 to FFFF
+(4(N1)+5)
Read bytes
(2 digits Hex)
N: Number of Heads
708
Appendix P
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.
709
Appendix P
+2
(Undefined)
Unit No.
Head CH No.
+3
+4
+5
Write data
Max
~
Write data
+249
Offset
Data
+0
+1
00 to 07 (CD1D)
00 to 15 (CA2A)
+2
+3
0000 to FFFF
+4
+5to
+249
Input in ASCII
Up to 248 bytes (max.) can be set
+0
+1
+2
+3
+4
710
Appendix P
(Undefined)
+2
+3
(Undefined)
Head CH No.
+4
+5
+6
Write data
+64
Write data
+65
(Not used)
Unit No.
(Undefined)
+66
(Undefined)
+67
CH 1
Head CH No.
+68
+69
+70
Write data
CH 2
~
Write data
+128
Offset
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0002
+(64(N1)+2)
+(64(N1)+3)
+(64(N1)+4)
0000 to FFFF
+(64(N1)+5)
+(64(N1)+6) to
(64(N1)+64)
Input in ASCII.
Up to 118 bytes (max.) can be set
N: Number of Heads
711
Appendix P
+2
Unit No.
(Undefined)
+3
Head CH No.
+4
+5
+6
Write data
CH 1
+29
Write data
+30
(Undefined)
Unit No.
(Undefined)
+31
Head CH No.
+32
+33
+34
Write data
CH 2
+57
Write data
~
+86
~
(Undefined)
Unit No.
(Undefined)
+87
Head CH No.
+88
+89
+90
Write data
CH 4
~
Write data
+113
Offset
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0004
+(28(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(28(N1)+3)
+(28(N1)+4)
0000 to FFFF
+(28(N1)+5)
+(28(N1)+6) to
(28(N1)+29)
Input in ASCII.
Up to 48 bytes (max.) can be set
N: Number of Heads
712
Appendix P
Number of Heads
(Undefined)
(Undefined)
+3
Unit No.
Head CH No.
+4
+5
+6
Write data
~
Write data
+15
+16
(Undefined)
(Undefined)
+17
Unit No.
Head CH No.
+18
+19
+20
Write data
CH 2
~
Write data
+29
~
+100
CH 1
~
(Undefined)
+101
(Undefined)
Unit No.
Head CH No.
+102
+103
+104
Write data
~
Write data
+113
Offset
CH 8
Data
+0
+1
Number of Heads
(4 digits BCD)
0001 to 0008
+(14(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(14(N1)+3)
+(14(N1)+4)
0000 to FFFF
+(14(N1)+5)
+(14(N1)+6) to
(14(N1)+15)
Input in ASCII
Up to 20 bytes (max.) can be set
N: Number of Heads
713
Appendix P
(Undefined)
Unit No.
(Undefined)
+2
Head CH No.
+3
+4
+5
Write data
~
Max +35
~
(Undefined)
Offset
Write data
Data
+0
+1
00 to 07 (CD1D)
00 to 15 (CA2A)
+2
+3
0000 to FFFF
+4
Input in hexadecimal
Up to 122 digits (max.)
+0
+1
+2
Each byte (address) in the Data
Carrier contains 2 digits.
714
Appendix P
Number of Heads
(Undefined)
+2
Unit No.
(Undefined)
+3
Head CH No.
+4
+5
+6
Write data
CH 1
+19
Write data
+20
(Not used)
+65
(Not used)
+66
(Undefined)
+67
Unit No.
(Undefined)
Head CH No.
+68
+69
+70
Write data
CH 2
~
Write data
+83
Offset
Data
+0
+1
Number of Heads
(4 digits Hex)
0002 to 0002
+(64(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(64(N1)+3)
+(64(N1)+4)
0000 to FFFF
+(64(N1)+5)
+(64(N1)+6) to
(64(N1)+19)
Input in hexadecimal
Up to 56 digits (max.) can be set
N: Number of Heads
715
Appendix P
Number of Heads
(Undefined)
+2
Unit No.
(Undefined)
+3
Head CH No.
+4
+5
+6
Write data
+11
+12
Write data
Not used
~
Not used
+29
+30
(Undefined)
+31
Unit No.
(Undefined)
Head CH No.
+32
+33
+34
Write data
CH 2
~
Write data
+39
~
(Undefined)
+86
Unit No.
(Undefined)
+87
Head CH No.
+88
+89
+90
Write data
CH 4
~
Write data
+95
Offset
Data
+0
+1
Number of Heads
(4 digits Hex)
0001 to 0004
+(28(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(28(N1)+3)
+(28(N1)+4)
0000 to FFFF
+(28(N1)+5)
+(28(N1)+6) to
(28(N1)+11)
N: Number of Heads
716
CH 1
Appendix P
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.
Number of Heads
(Undefined)
+2
Unit No.
(Undefined)
+3
Head CH No.
+4
+5
+6
Write data
~
(Undefined)
+8
+9
Write data
Not used
~
Not used
+15
(Undefined)
+16
Unit No.
(Undefined)
+17
Head CH No.
+18
+19
+20
Write data
~
Write data
~
(Undefined)
+100
Unit No.
(Undefined)
+101
Head CH No.
+102
+103
+104
Write data
CH 8
~
(Undefined)
+106
CH 2
~
(Undefined)
+22
Offset
CH 1
Write data
Data
+0
+1
Number of Heads
(4 digits Hex)
0001 to 0004
+(14(N1)+2)
Arbitrary (However, there is a limit for the maximum Unit No. depending on the model)
+(14(N1)+3)
+(14(N1)+4)
0000 to FFFF
+(14(N1)+5)
+(14(N1)+6) to
(14(N1)+8)
N: Number of Heads
717
Appendix P
718
Appendix P
Note 1. Execute Sequence No. 528 before executing Sequence No. 529.
2. Retry processing is not performed for this sequence.
719
Appendix P
Note 1. Execute Sequence No. 532 before executing Sequence No. 533.
2. Retry processing is not performed for this sequence.
720
Appendix P
+2
(Undefined)
+3
+4
Processing designation
+5
(Undefined)
Unit No.
Head CH No.
(Undefined)
721
Appendix P
Data
+0
0006 (fixed)
+1
00 to 07 (CD1D)
00 to 15 (CA2A)
+2
+3
Processing designation
(2 digits Hex)
Verification: 43 (C)
Calculation: 4B (K)
Management of number of write times: 4C (L)
+4
0000 to FFFF
(If management of number of write times is designated, H @@@0 to H @@@5 or H @@@8 to H
@@@D)
+5
+0
+1
(Undefined)
Offset
Completion code
Data
+0
0002 (fixed)
+1
Completion code
(2 digits Hex)
Offset
+0
722
Data
0003 (fixed)
+1
00 to 07 (CD1D)
+2
0: No operation
1: turned ON
2: turned OFF
0: No operation
1: turned ON
2: turned OFF
Appendix P
+0
+1
Offset
Data
+0
0002 (fixed)
+1
Leftmost 1
byte
1: ON status
0: OFF status
1: ON status
0: OFF status
Offset
Unit No.
Data
+0
0002 (fixed)
+1
00 to 07 (CD1D)
+0
+1
Error log
~
Error log
+75
Offset
Data
+0
+1 to +75
Unit No.
723
Appendix P
Data
+0
0002 (fixed)
+1
+0
+1
(Undefined)
Offset
Unit No.
Data
+0
0002 (fixed)
+1
Completion code
(2 digits Hex)
Unit No.
(Not used)
+2
+3
(Undefined)
Offset
Data
+0
0004 (fixed)
+1
+2
Not used
+3
+0
+1
(Undefined)
Offset
724
Completion code
Data
+0
0002 (fixed)
+1
Completion code
(2 digits Hex)
Appendix P
+0
+1
+2
Send data
+249
Send data
Offset
Data
+0
+1
+2 to
+249
+0
+1
Receive data
~
+249
~
Receive data
Offset
Data
+0
+1 to
+249
Receive data
(ASCII)
725
726
Appendix P
Appendix Q
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 Unit/Board via RS-232C cable.
Protocol Configuration
The configuration of the Hayes Modem AT Command Protocol is shown below.
Sequence
No.
Communications
sequence name
Function
Ladder interface
Send word
allocation
Receive word
allocation
550 (0226)
Initialize modem
(general-purpose)
Yes
No
560 (0230)
570 (023A)
580 (0244)
Initialize modem
(specialized)
No
No
561 (0231)
571 (023B)
581 (0245)
Dial
Yes
No
552 (0228)
Password
Yes
No
553 (0229)
Data send/receive
(general purpose
sequence)
Yes
Yes
554 (022A)
Escape
No
No
555 (022B)
Hang up
No
No
562 (0232)
572 (023C)
582 (0246)
590 (024E)
Yes*1
No
No
No
Escape to hang up
Note 1. Refer to sequences No. 561, No. 571, and No. 581 for dialing operations.
2. Ladder Interface Settings
YES: User settings are required for the 3rd and 4th operands of PMCR(260).
NO: Send word allocation:
Set the constant 0000 for the 3rd operand (S).
Receive word allocation: Set the constant 0000 for the 4th operand (D).
3. The hexadecimal equivalents of sequences numbers are given in parentheses.
727
Appendix Q
Connections
The connections when using the Hayes Modem AT Command Protocol is shown below.
RS-232C Connection
Serial Communications Board
(CS Series only)
Serial Communications Unit
(CS/CJ Series)
Modem
Telephone line
Modem: D-sub
25-pin (female)
FG
SD
RD
RTS
CTS
DSR
SG
CD
Modem
1
6
ST2
RT
DTR
CI
ST1
Compatible Modems
Although most of the sequences in this protocol can be used regardless of modem, the sequences Initialize
Modem (specialized) and Dial sequences can be used only for the following Modems:
MD24FB10V (OMRON Modem)
MD144FB5V (OMRON Intelligent Modem)
728
Appendix Q
Modem Settings
When this protocol is used, it is required that the modem connected to the Serial Communications Unit/Board
be initialized to the following conditions:
Command echo
Result code display format
No
Numeric format
MNP class 4
Not enabled
Not enabled
Always ON
Escape code
Note 1. It is recommended that, in addition to the above settings, the abort timer should be set so that communications are cut off if a communications error happened due to incidents such as cable disconnection between the Serial Communications Unit/Board and modem. The abort timer is set to 10
minutes for the modem initialization (specialized) (Sequences No. 560, No. 570, No. 580: Initialize
Modem (Specialized)). Refer to modems manual for further information about abort timers.
2. The data format of the modem (baud rate, data length, parity, stop bit) is set by AT commands issued
from a device connected to the modem. Its settings should conform to communications conditions of
the device which issues AT commands. Therefore when communications are made between the modem and Serial Communications Unit/Board, it is required that communications conditions should be
set by issuing AT commands from the Serial Communications Unit/Board.
3. Modem settings become invalid if the power supply is turned off and must be set again. However, a
memory backup function can be used to protect settings so that even after the power supply to the
modem is turned off, it can communicate with the previous setting conditions.
For Initialize Modem (specialized), the modem initialization command is built in as message data. However, for
Initialize Modem (general-purpose), the command must be specified in the send data for PMCR(260).
OPR 1
OPR 2
OPR 3
OPR 4
S+0
4 digits Hex
S+1
4 digits Hex
S+2
:
S+n
ASCII
0020
A T E 0 V 0 X 4 \ V 2 \ N 3 %C 0 * C 0 \ X 1 & M 0 S 2 6 = 1 0
Character string length of modem initialization command (bytes)
Code length of PMCR(260) when it is used (words)
Note Turn ON pin 4 of DIP switches SW3 on for this Modem (ER signal always ON).
729
Appendix Q
0029
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(260) when it is used (words)
ME1414BIII/ME2814BII (OMRON)
The following command is set in the words specified by the second operand of PMCR(260).
AT\J1B8E0V0S0=1X4\V2\N3&M0%C0&D0&E0\X1S26=10
0018
002C
A T \ J 1 B 8 E 0 V 0 S 0 = 1 X 4 \ V 2 \ N 3 & M 0 %C 0 & D 0 & E 0 \ X 1 S 2 6 = 1 0
Character string length of modem initialization command (bytes)
Code length of PMCR(260) when it is used (words)
Dialling (Sequences No. 561 (Hex 0231), No. 571 (Hex 023B), and
No. 581 (Hex 0245))
To dial a telephone numbers for the OMRON ME1414BIII/ME2814BII Modems using sequences No. 561, 571,
581, set the dialling command and telephone number in the words specified by the 3rd operand of PMCR(260).
However, for other Modems, make the following settings for the Data Communications sequence.
This is an example of telephone number settings for the above mentioned 4 OMRON Modems.
Operand and Send Data Word Settings of PMCR(260)
OPR 2
OPR 3
MD24FB10V
#0231
MD144FB5V
#023B
ME1414BIII/ME2814BII #0245
First address S of send data (dialling operation)
OPR 4
S+0
Number of words from address set for operand 2 to end of data 4 digits Hex
S+1
4 digits Hex
S+2
:
S+n
ASCII
Setting Example
If telephone number is 03-0123-4567
000A
0010
4154
4454
3033
2D30
3132
332D
3435
3637
AT
DT
03
12
45
67
Note 1. This example uses a tone line. Change ATDT to ATDP for pulse lines.
2. Fill the telephone number to the left in the words if the character string length of the dialling operation
is an odd number of bytes.
730
Appendix Q
000B
4154
4454
3031
2D32
3334
3500
AT
DT
01
34
5#
#0228
Address of first word where the password is set S
OPR4
S+0
Number of words from address set for operand 3 to end of data 4 digits Hex
S+1
4 digits Hex
S+2
:
S+n
ASCII
Setting Example
When password is OMRON-CO.
0006
0008
4F4D
524F
4E2D
434F
OM
RO
CO
731
Appendix Q
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
Terminating
process
#0229
OPR 3
OPR 4
Number of words from address set for operand 2 to end of data 4 digits Hex
C1+1
4 digits Hex
C1+2
:
C1+n
ASCII
732
C2+0
4 digits Hex
C2+1
:
C2+n
ASCII
Appendix Q
000E
5448
4953
2049
TH
IS
5320
S
5341
4D50
4C45
SA
MP
LE
A maximum of 200 bytes (including the CR) can be received. When the received data is RETURN OK, the content stored in the receive words is as follows:
0006
5245
5455
524E
204F
RE
TU
RN
4B00
K
Note An error will occur is the reception data is not received within 90 seconds after the data is sent.
Communication Errors
Three result codes are monitored after an AT command is sent to the modem. When a result code is returned,
it will be checked. If the code is not the normal result code (OK, CONNECT 9600/REL4, CONNECT 2400/
REL4, in words), after a fixed time of waiting to send, the following retry processing will be repeated 2 times to
send the AT command again and waiting for another result code.
The receive monitoring time and send wait time for each sequence are shown below.
Sequence
No.
550 (0226)
560 (0230)
Sequence name
Receive monitoring
time
10 s
10 s
1s
1s
Dial
90 s
90 s
581 (0245)
552 (0228)
Password
None
3s
553 (0229)
554 (022A)
90 s
10 s
None
1.5 s (after first try)
555 (022B)
562 (0232)
Hang up
Initialize and dial
10 s
90s
10 s
570 (023A)
580 (0244)
561 (0231)
571 (023B)
572 (023C)
582 (0246)
590 (024E)
733