Chapter 10 Example Program
7
Setting of
writing
operation (3)
bit of M20 of server
1. Ch., P2P function, conditional flag, destination station no.: same with step 5
2. Data type: select bit
3. Setting: after setting Read area and Save area, click OK.
(1) Read area: device address saved in the client (M1.F : 15
th
bit of M1)
(2) Save area: deice address of server to save (0x00142: 2
nd
bit of M20)
* When inputting M1.F, it is converted into M0001F in the XG-PD.
* Device address of server is Hex value.
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 7
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 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 (0x40002)
(2) Save area: device address of client to save (M0160)