
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)
Содержание XGL-C22A
Страница 74: ...Chapter 6 Communication Parameter 6 22 4 Click I O Sync 6 Read the message If there is no problem click OK ...
Страница 172: ...Chapter 8 Modbus Communication 8 23 ...
Страница 246: ...Chapter 10 Program Examples 10 40 XG 5000 program Sequence Program 1 2 3 4 ...
Страница 247: ...Chapter 10 Program Examples 10 41 Sequence Program 5 6 ...
Страница 289: ...Appendix A 23 Sub procedure module When port open event occurs perform the next module ...
Страница 291: ...Appendix A 25 The lower code shows BCC check setting ...
Страница 296: ...Appendix A 30 4 Example Register monitor X 5 Example execution monitor Y Address of server Monitor result ...
Страница 297: ...Appendix A 31 A 4 Dimension Unit mm XGL C22A CH2A C42A H W version Less than V2 0 H W version V2 0 or Later ...