Unit table
The following data types appear in the Modbus register list:
| Type | Description | Range | 
|---|---|---|
| UInt16 | 16 bit unsigned integer | 0 to 65535 | 
| Int16 | 16 bit signed integer | -32768 to +32767 | 
| UInt32 | 32 bit unsigned integer | 0 to 4 294 967 295 | 
| Int64 | 64 bit unsigned integer | 0 to 18 446 744 073 709 551 615 | 
| UTF8 | 8 bit field | Multi byte character encoding for Unicode | 
| Float32 | 32 bit value | Standard representation IEEE for floating number (with single precision)) | 
| Bitmap | — | — | 
| DATETIME | See below table | — | 
DATETIME format:
| Word | Bits | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| 1 | Reserved | R4 (0) | Year (0 – 127) | |||||||||||||
| 2 | 0 | Month (1 – 12) | WD (0) | Day (1 – 31) | ||||||||||||
| 3 | SU (0) | 0 | Hour (0 – 23) | iV | 0 | Minute (0 – 59) | ||||||||||
| 4 | Millisecond (0 – 59999) | |||||||||||||||
| R4 : Year : Month : Day : Hour : Minute : Millisecond : WD (day of the week) : SU (summer time) : iV (validity of received data) : | Reserved Bit 7 bits (year from 2000) 4 bits 5 bits 5 bits 6 bits 2 octets 1 – 7: Sunday – Saturday Bit to 0 if this parameter is not used Bit to 0 if this parameter is not valid or not used | |||||||||||||||