Yokogawa Data Acquisition with PID Control CX2000 User Manual

Page 129

Advertising
background image

5-19

IM 04L31A01-17E

5

Ladder Communication Protocol

• Reception processing: Receive the data of CH5 to CH8.

X2A

1084

FROMP H2 H0A00 D200 K1

FROMP H2 H0A01 D201 K0Z0

MOVP D200 Z0

Read
request
flag

CPU No.

address

Rx read

end

Data size

Data size

<Send data size of data starting with D201>

First D register

5

th

digit and sign

information of CH5

CH5 data

SWAPP D201

SWAPP D202

Y28

<Swap the upper and lower bytes of D201>

<Swap the upper and lower bytes of D202>

SWAPP D203

SWAPP D204

<Swap the upper and lower bytes of D203>

5

th

digit and sign

information of CH6

SWAPP D205

<Swap the upper and lower bytes of D205>

<Swap the upper and lower bytes of D204>

<Send the data size to D200>

<Send the data size to Z0>

= K3 C0

Interval
counter

1372

1371

P124

END

CH7 data

5

th

digit and sign

information of CH7

CH6 data

5

th

digit and sign

information of CH8

SWAPP D206

SWAPP D207

<Swap the upper and lower bytes of D206>

<Swap the upper and lower bytes of D207>

SWAPP D208

SWAPP D209

<Swap the upper and lower bytes of D208>

CH8 data

SWAPP D210

<Swap the upper and lower bytes of D210>

CJ P124

<Jump to P124>

<Swap the upper and lower bytes of D209>

5.5 Communication Program for MELSEC

Advertising