Chapter 10 Example Program
10-1
Chapter 10 Example Program
10.1
Setting of Cnet I/F module in the XG-PD
Operation of XGT Cnet I/F is divided into P2P service and Server.
• P2P service: acts as client (master) and request reading/writing.
- XGT client
- Modbus RTU/ASCII client
- User frame definition
• Server: acts as server (slave) and acts according to request
- XGT server
- Modbus RTU server
- Modbus ASCII server
10.1.1
In case of acting as server
Select [Online]-[Connection Settings] or click icon( )
2. Click [Connect] after setting.
2
Select [Online] – [Read I/O Information] or click icon ( )
Reads the information about currently equipped module.
1. Double-click Cnet I/F module and execute standard setting window. Set Type, Speed,
Data bit, Stop bit, station no. of connection menu.
2. Modem initialization is available in case of dial modem, not null modem.
3. Delay time setting: when sending frame, it sends frame after specific delay time.
(a) Operation setting: Available when type is RS-422/485.
* When using as Modbus ASCII server, data bit should be 7.