
Chapter 10 Program Examples
10-11
After standard settings, P2P channel and P2P block should be set. Setting methods are as follows.
Sequence
Procedure
Setting method
1
P2P setting
Click ‘
’ below th project windows
1
Communication
module settings
1. Right click on the Network -> Add Item -> Communication module
2. Click “Add Module” and select Type, Base, Slot. Then click “OK”.
3
P2P channel
setting
1. Double-click of P2P 01 and set P2P driver of channel 1 as
4
1. Double-click of P2P 01.
5
Setting of
writing
operation
1. Ch.: Select ch.1 set as XGT client set in P2P channel.
2. P2P function: select WRITE.
3. Conditional flag: to send frame every 200ms, use flag F92.
4. Command type, Data type: to write 1 word, select single and 2 byte.
5. No. of variable: since no. of word is 1, select 1.
6. Destination station number: select station number of server.
7. Setting: after setting Read area and Save area, click OK.
1) Read area: device address of data saved in the client
2) Save area: device address of server to save data
* If all settings are completed, color of index of channel becomes black.
Содержание 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 ...