Define Communications and Status Reporting
The configuration settings for a
Modbus®
master include communications and status reporting. When configuring a Modbus
master, define these properties:Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Communications Link | The physical communications link to use for this Modbus master device. Select Ethernet or Serial . For Ethernet , enter the IP address of the T8151 Communications Interface port to use, and the TCP/IP port number (1000 by default). For Serial , choose the port to use. The serial parameters are defined in the T8151 Communications Interface configuration screen. | ||||||||||||
Timeout | The communications timeout for the link indicating how long to wait before deciding that a slave device is not responding. Every Modbus master and associated slave in the system can have a control and status register. These registers enable controlling each device and retrieving status information via the application. | ||||||||||||
Communications Control | The Modbus address of the application variable to control the master device. If the application does not control the master device, leave unchecked. These are the valid values for a slave control holding register. Invalid values result in the inactive state.Use different Modbus addresses for all control and status holding registers, and control variable coils.
| ||||||||||||
Status Reporting | The Modbus address of the application variable to report the status of the communications link to the application. If status reporting is not required, leave unchecked. These are the valid values for a master status holding register.Use different Modbus addresses for all control and status holding registers, and control variable coils.
|
To define communications and status reporting for a
Modbus
master- Click theConfigurationtab.
- In theCommunications Linkgroup, select the type of port and define the properties:
- Ethernet
- Serial
- In theTimeoutarea, specify a timeout delay (in milliseconds).
- (optional) In theApplications Interfacearea forSlave Control, selectApplication Controls, and then indicate theModbusaddress for the communications control variable to enable the application to control communications for theModbusmaster.
- (optional) In theApplications Interfacegroup forStatus Reporting, selectReport Status, and then indicate theModbusaddress for the status reporting variable to report the status of the communications link to the application.
- ClickSave.
Provide Feedback