SENS EnerGenius® DC Compact Technical Manual
43
11
MODBUS COMMUNICATIONS
Modbus is an application layer messaging protocol used for client/server communication and is implemented
according to specifications
provided by Modbus Organization (
http://www.modbus.org/specs.php
11.1.
TCP/IP Modbus
—
Optional
Modbus communications over TCP/IP is optional and requires configuration using the SENS Setup Utility
or the keypad. To adjust settings using the keypad, ensure the access level is set to allow adjustments.
Adjust IP address as desired. It may take up to 10 seconds for the network setting changes to apply. A
TCP/IP address of 0.0.0.0 implies DHCP (Dynamic) addressing. Adjust the Gateway and Subnet Mask
values as required. The displayed Hardware Address is the MAC address corresponding to the Ethernet
interface. The MAC address is also shown on the label on the inside of the field wiring cover. This value
is not adjustable. Configure Modbus slave address and enable/disable Modbus write access as desired.
See section
Table 21
–
TCP/IP Modbus Default Settings
Setting
Value
IP Address
0.0.0.0 DHCP/AUTO
Subnet Mask
N/A
Gateway
N/A
Port Number
502
Modbus Slave
Address
10
11.2.
Modbus RS-485
—
Optional
Serial Modbus communications over RS-485 using RTU mode is optional. Modbus communications
settings may be configured using the keypad or SENS Setup Utility prior to executing communications.
Configure Modbus slave address, baud rate, parity and enable/disable Modbus write access as desired.
See section
for connection and termination requirements.
Table 22
–
Modbus RS-485 Default Settings
Setting
Value
Configuration
RTU
Baud Rate
19200
Data Bits
8
Parity
Even
Stop Bits
1
Slave Address
10
11.3.
Modbus Holding Registers
EnerGenius DC products provide an extensive array of Modbus registers. The following are common
registers that are applicable to most applications. The entire list of Modbus registers is available from
sens-usa.com/support/download-center/
Address High Address Low
Name
Description
Units
Scale
Factor
Deci
mal
Hex
Deci
mal
Hex
0
0x000
1
0x001 Unit Serial
Serial Number of System the device
was built into and shipped part of
Num
1
2
0x002
3
0x003 Program Revision
Version of the main program
Num
1