5-7SectionUsing Protocol Macros
88
5-7-3 Ladder Program Example
The following diagram shows an example in which sequence number 000 (Pres-
ent Value Read) for a Temperature Controller (E5jK Read Protocol) is
executed using the protocol for an OMRON Temperature Controller connected
to port 2 (RS-422A/485) of a Serial Communications Board.
Connections
Port 2
Specifies the Temperature Controller Unit No. ,
sends the PRESENT VALUE READ command
send data, and receives the present value set
in the response in the specified word.
Send data
Temperature
Controller E5jK
Unit No. 01
Receive data
Temperature
Controller E5jK
Unit No. 00
32 Units max.
Temperature
Controller E5jK
Unit No. 31
Serial Communications Board
32 Units max.
RS-422A/485
Send Word Allocation for Sequence No. 000 (Present Value Read)
First word of
send data
Number of send data words Contents (data format) Data
(Undefined) Unit No. Number of send data words
(4-digit BCD)
0002 (fixed)
WordS
S + 1 S
S + 1
Unit No.
(2-digit BCD)
00 to 31
Receive Word Allocation for Sequence No. 000 (Present Value Read)
Receive data
storage words
Number of receive data words Contents (data format) Data
Present value Number of receive data words
(4-digit BCD)
Present value
(4-digit BCD)
0002
WordD
D + 1 D
D + 1
Scaling
Lower limit to upper limit