MODBUS REGISTERS
EATON PowerXpert®Gateway Series 1000 Card User’s Guide S164201670 Rev 1
50
Modbus Register Addressing
This section describes Modbus function codes, data formats, and data
addressing.

Modbus Function Codes

The PDU/RPP registers are read using Modbus Function Codes (FC). For
most PDU/RPP registers, FC 04 is used. The PDU/RPP supports the
following hex function codes:
Table1. Function Codes
FC Hex Description Use
01 0x01 ReadCoil Status Supported for compatibility purposes
02 0x02 ReadDiscrete Inputs Singleinput data, such as alarms and
discretecontacts
03 0x03 ReadHolding Registers Supportedfor compatibility purposes
04 0x04 Read Input Registers Analogdata (most string and numeric
datatypes), such as voltage
05 0x05 WriteSingle Coil For future use
06 0x06 WriteSingle Register Forfuture use
0F 0x0F WriteMultiple Coils For future use
10 0x10 WriteMultiple Registers Forfuture use

Data Formats

Modbus programs usually provide an option for viewing various data
types. Refer to your Modbus program documentation for detailed
information on viewing data options.
A register is 16 bits (two bytes). The PDU/RPP supports the following
data types:
SSTRING – A string of ASCII characters (two per register). Consult the
Size parameter to find the string’s length for a given entry (it is a
multiple of two so that entries are register-aligned).
SFLOAT – A 32-bit IEEE754 floating point number. FLOATs are always
two registers.
SUINT – An unsigned integer. Consult the Size parameter to find the
integer’s size for a given entry (it is a multiple of two so that entries
are register-aligned).