Yokogawa Data Acquisition with PID Control CX2000 User Manual
Page 125

5-15
IM 04L31A01-17E
5
Ladder Communication Protocol
• Read command transmission processing: If M601 is ON, send a command to
lead CH1 to 4.
M601
X27
Y27
113
MOVP H5 D0
MOVP H102 D1
MOVP H5001 D2
MOVP H4 D4
MOVP H0A0D D5
Tx flag 1
Tx end Tx request
<Set CPU NO. “1” and station address No. 2>
D register
First No.
D register
First No.
CPU address
Num. of Tx data
<Specify first call register No. 5001 of the CX>
<Recall 4 words from the first D register No.>
Read/write
Num. of data to be read/
write data
Num. of data to be read/
write data
<Specify read execute. Send “1”>
MOVP H0 D3
Terminator
<Attach terminator>
<Swap the upper and lower bytes of D2>
SWAPP D2
<Swap the upper and lower bytes of D2>
SWAPP D4
<Declare num. of Tx data to be 5>
Num. of Tx data
TOP H2 H800 D0 K6
<Transfer the contents of D0 to D5 to the Tx buffer>
SET Y27
Tx request
Tx request
<Set Tx request>
X27
323
RST Y27
Tx end
<Reset Tx request when Tx end>
5.5 Communication Program for MELSEC