Yokogawa Data Acquisition with PID Control CX2000 User Manual
Page 126

5-16
IM 04L31A01-17E
• Reception processing: Receive data of CH1 to 4.
X2A
341
FROMP H2 H0A00 D100 K1
FROMP H2 H0A01 D101 K0Z0
MOVP D100 Z0
Read
request
flag
CPU No.
address
Rx read
end
Data size
Data size
<Send data size of data starting with D101>
First D register
No.
5
th
digit and sign
information of CH1
CH1 data
SWAPP D101
SWAPP D102
Y28
<Swap the upper and lower bytes of D101>
<Swap the upper and lower bytes of D102>
SWAPP D103
SWAPP D104
<Swap the upper and lower bytes of D103>
<Swap the upper and lower bytes of D104>
<Send the data size to D100>
<Send the data size to Z0>
= K1 C0
Interval
counter
5
th
digit and sign
information of CH3
5
th
digit and sign
information of CH2
CH2 data
CH3 data
SWAPP D105
SWAPP D106
<Swap the upper and lower bytes of D105>
<Swap the upper and lower bytes of D106>
SWAPP D107
SWAPP D108
<Swap the upper and lower bytes of D107>
5
th
digit and sign
information of CH4
SWAPP D109
<Swap the upper and lower bytes of D109>
CH4 data
SWAPP D110
<Swap the upper and lower bytes of D110>
CJ P124
<Jump to P124>
<Swap the upper and lower bytes of D108>
5.5 Communication Program for MELSEC