14: Tunnel and Modbus Settings
xSenso User Guide
75
Modbus Settings
The Modbus server, if enabled, is active on TCP port 502. If present, the additional TCP port is
also used. Modbus TCP parameters are configured using the Modbus menu and submenus under
Admin.
Table 14-2 Modbus Settings
To Configure Modbus Settings
Using Web Manager
To configure the Modbus, go to the
Admin
tab/page and click
Modbus
in the menu.
Using the CLI
To enter the Modbus command level:
enable -> config -> modbus
Using XML
Include in your file:
<configgroup name="modbus">
Supported Modbus TCP/IP Functions and Registers
Table 14-3 0xxxx Read/Write Coils (Function Codes 1, 5 and 15)
Modbus Settings
Description
TCP Server State
Click to turn the TCP server state
On
or
Off
. The TCP port is 502.
Additional TCP Server Port
If present,
the Modbus server also listens on this TCP port.
Response Timeout
Enter the amount of time, in milliseconds, where the Modbus server will
timeout in lieu of a response.
RSS Trace Input
Click to turn RSS trace input
On
or
Off
. If RSS trace input is enabled, each
PDU received on the Modbus serial line creates a non-persistent
descriptive item in the RSS feed.
Device Address
Modbus Address
Description
00001
0x0000
0: Relay 1 Off, 1: Relay 1 On
00002
0x0001
0: Relay 2 Off, 1: Relay 2 On
00003
0x0002
Write 1 to reset latched Relay 1
00004
0x0003
Write 1 to reset latched Relay 2