Configuring a Modbus TCP IOScanner
Before configuring the Modbus TCP IOScanner:
oSet the IP address of the Ethernet 2 to fixed mode. It must be different from 0.0.0.0.
oThe connected devices must be in the same subnet as the Ethernet 2 port
For more information on IP address, refer to Ethernet Configuration.
The Modbus TCP IOScanner node is automatically added when a slave is added on the Ethernet 2 node.
Configure a Modbus TCP IOScanner
Step |
Action |
---|---|
1 |
In the Devices tree, double-click Modbus_TCP_IOScanner. Result: The configuration window is displayed. |
2 |
Select the IOScanner I/O Mapping tab. ![]()
|
3 |
Select the Bus cycle task in the list: oUse parent bus cycle setting (by default), oMAST, or oAn existing task of the project. NOTE: The Bus cycle task parameter inside the I/O mapping editor of the device that contains the Modbus TCP IOScanner defines the task responsible for the refresh of the I/O images (%QW, %IW). These I/O images correspond to the Modbus request sent to the Modbus slaves and the health bits. |
NOTE: When the Modbus TCP IOScanner is configured, the post configuration file for the Ethernet 2 network is ignored.