
Chapter 10 Program Examples
10-21
Sequence
Procedure
Setting method
8
Setting of writing
operation (4)
▶
Write 0~15
th
bit of M2 to 0~15
th
bit of M21 of server
1. Ch., P2P function, conditional flag, destination station no.: same with step 6
2. Command type: select continuous.
3. Setting: after setting Read area and Save area, click OK.
(1) Read area: device address saved in the client (M2.0)
(2) Save area: deice address of server to save (0x00150)
9
Setting of
reading
operation (1)
▶
Read 1 word of M2 of server and save it at M160 of client
1. Ch., Conditional flag, Command type, Data type, Destination station no.: same with step 4
2. P2P function: select READ
3. Setting: after setting Read area and Save area, click OK.
(1) Read area: device address saved in server (0x30002)
(2) Save area: device address of client to save (M0160)
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 5
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)
Summary of Contents for XGL-C22A
Page 172: ...Chapter 8 Modbus Communication 8 23 ...
Page 246: ...Chapter 10 Program Examples 10 40 XG 5000 program Sequence Program 1 2 3 4 ...
Page 247: ...Chapter 10 Program Examples 10 41 Sequence Program 5 6 ...
Page 289: ...Appendix A 23 Sub procedure module When port open event occurs perform the next module ...
Page 291: ...Appendix A 25 The lower code shows BCC check setting ...