Hach ANATEL PAT700 User Manual - page 153
Page 151
Modbus Protocol
Date
The Date is transmitted similar to a 32-bit Word with the MOST significant byte first, then
the next MOST significant, until all the bytes are transmitted. FC3 reads 16-bit items at a
time; therefore, two registers are required to read each Date data item. Combine the two
characters in the 1st Register to obtain the four digit year.
Example (Decimal): 2007-10-05 (Format in YYYY-MM-DD)
Time (Format 1)
The Time is transmitted similar to a 32-bit Word with the MOST significant byte first, then
the next MOST significant, until all the bytes are transmitted. FC3 reads 16-bit items at a
time; therefore, two registers are required to read each Time data item. The Time is
always in 24 Hours Format.
Example (Decimal): 00:15:46:25 (Format in DD:HH:MM:SS)
Time (Format 2)
The Time is transmitted similar to a 32-bit Word with the MOST significant byte first, then
the next MOST significant, until all the bytes are transmitted. FC3 reads 16-bit items at a
time; therefore, two registers are required to read each Time data item. The Time is
always in 24 Hours Format.
Example (Decimal): 46:25 (Format in HH:MM)
Date & Time
The Date and Time is transmitted similar to a 32-bit Word with the MOST significant byte
first, then the next MOST significant, until all the bytes are transmitted. FC3 reads 16-bit
items at a time; therefore, two registers are required to read each Date and Time data
item. The Time is always in 24 Hours Format. Combine the two characters in the 1st
Register and convert from Hex to Decimal to obtain the four digit year.
Example (Decimal): 2007-07-28 15:46:25 (Format in YYYY-MM-DD HH:MM:SS)
1st Register
2nd Register
Value (Hex)
1st
2nd
1st
2nd
0x07D70A05
0x07
0xD7
0x0A
0x05
1st Register
2nd Register
Value (Hex)
1st
2nd
1st
2nd
0x000F2E19
0X00
0x0F
0x2E
0X19
Value (Hex)
1st Register
2nd Register
0x2E19
0x2E
0x19
1st Register
2nd Register
3rd Register
4th Register
Value (Hex)
1st
2nd
1st
2nd
1st
2nd
1st
2nd
0x07D7071C0F2E1900
0x07
0xD7
0X07
0x1C
0x0F
0x2E
0x19
0x00