Modbus Registers
Eaton Power Xpert Gateway PXGX PDP Card User’s Guide 164202122—Rev 1
67
Time or Date (FC 04)
Some PDP models support a time and/or date function. This format has a DATE data type and contains six
bytes. Each byte represents the year, month, day, hour, minutes, and seconds (see page 58 for more
information).
To read the PDP date and time, set the Modbus program to Unit ID 1 and register 12203:
IP: <IP address of PDP>
Unit ID: 1
Starting Register: 12203
Number of registers: 3
Function Code: 04
The PDP would return three registers containing hexadecimal data in the ym dh ms format (for example,
May 17, 2007 at 10:45 and 20 seconds).
Viewing each hex byte in decimal would yield the following data, which is viewable as the year (07), month (05),
day (17), hour (10), minutes (45), and seconds (20):
Viewing each hex byte as two-byte unsigned integers would yield the following data:
Viewing each hex byte as binary would yield the following data:
Table 13. EMP Registers (FC 04)
Name
Register
Data Type
Bytes
Vendor Name
1032
STRING
64
Model Name
1064
STRING
64
Display Name
1096
STRING
64
Serial Number
1276
STRING
64
Device ID
1192
STRING
64
Auxiliary Input 1
10275
UINT
2
Auxiliary Input 2
10276
UINT
2
Auxiliary Temperature
12028
FLOAT
4
Auxiliary Humidity
12030
FLOAT
4
07 05
11 0A
2D 14
07 05
17 10
45 20
1797
4362
11540
00000111 00000101
00010001 00001010
00101101 00010100
Table 14. Time or Date Register (FC 04)
Parameter Name
Display Name
Register
Discrete
Units
Data Type
Bytes
mCurrentTime
Time
12203
No
No
DATE
6