Modbus Protocol

Strona
9
z
10
Exception code
1 Byte 03 lub 04
3.5 User defined function codes - Read Battery Temperature
Chart (0x44)
The function is used in order to get the battery temperature chart. The battery temperature chart contains up
to 7424 records. The record with index 0 is the youngest in the database. The size of record is 10 bytes. Records
are saved every 6 hours and they are stored for 5 years. The current number of records should be checked in
Input Register at 3137. The maximum records count in the request is 13.
The starting record number and the number of records are sent in the request.
The size of records in bytes and records are sent in the response.
Record:
Position Type Description
Seconds
uin32_t
Time is counted in seconds from the year 2000. The value 0
corresponds to the time 2000.01.01, 00:00:00
Battery temperature Tbat
int16_t ˚C
Battery temperature Tbat min
int16_t ˚C
Battery temperature Tbat max
int16_t ˚C
Request:
Function code
1 Byte 0x44
Record number
2 Bytes Range: 0 – 7423
Record count
2 Bytes 1 – 13
Response:
Function code
1 Byte 0x44
Byte count
1 Byte The size of records in bytes
Data
10 – 130 Bytes
Errors:
Function code
1 Byte 0xC4
Exception code
1 Byte 03 lub 04
3.6 Event codes
Failure
code
Event code Description
F01
1 AC power fail
F02
2 AUX1 fuse fail
F04
4 Output overload
F05
5 Battery undercharged
F06
6 High AUX1 voltage
F08
8 Charge circuit fail
F09
9 Low AUX1 voltage
F10
10 Low battery voltage
F11
11 Low battery voltage – off
F12
12 External input EXTi
F14
14 Temperature sensor fault
F15
15 High battery temperature
F16
16 No battery