Chapter 10 Example Program
10
Setting of
reading
operation (2)
▶
Read 4 words from P0 of server and save it at M150~M153
1. Ch., Conditional flag, Command type, Data type, Destination station no.: same with step 6
2. P2P function: select READ.
3. Setting: after setting Read area and Save area, click OK.
(1) Read area: device address saved in server (0x30000)
(2) Save area: device address of client to save (M0150)
11
Setting of
reading
operation (3)
▶
Read 1
st
bit of P2 of server and save it at 1
st
bit of M170.
1. Ch., Conditional flag, Command type, Data type, Destination station no.: same with step 7
2. P2P function: select READ
3. Setting: after setting Read area and Save area, click OK.
(1) Read area: device address saved in server (0x00021)
(2) Save area: device address of client to save (M170.1)
12
Setting of
reading
operation (4)
Read 0
th
~ 15
th
bit of M10 of server and save it at 0
th
~ 15
th
of M180 of client.
1. Ch., Conditional flag, Command type, Data type, Destination station no.: same with step 8
2. P2P function: select READ
3. Setting: after setting Read area and Save area, click OK.
(1) Read area: device address saved in server (0x100A0)
(2) Save area: device address of client to save (M180.0)