57
English
UPSI-IP-1 series | UPSI- IP-2 series
GetBatteryCurrent() 0x0A
This read-word function returns the measured current from the coulomb counter. If the
input to the device exceeds the maximum value, the value is clamped at the maximum
and does not roll over.
Cmd
Name
Access
Type
Min. Max Unit
0x0A
GetBatteryCurrent()
R
Int16
-32767 32768 mA
Transfer packet: 0x01 0x03 0x04 0x0A 0x04
GetRelativeStateOfCharge() 0x0D
This read-word function returns the battery charge state in percentage.
Cmd
Name
Access
Type
Min. Max Unit
0x0D
GetRelativeStateOfCharge()
R
Uint8
0
100
%
Transfer packet: 0x01 0x03 0x04 0x0D 0x04
GetRunTimeToEmpty() 0x11
This read-word function returns the predicted remaining battery capacity based on the
present rate of discharge.
NOTE:
65535 = Battery is not being discharged.
Cmd
Name
Access
Type
Min. Max Unit
0x11
GetBatteryRunTimeToEmpty()
R
Uint16
0
65535 min
Transfer packet: 0x01 0x03 0x04 0x11 0x04
GetAverageTimeToFull () 0x13
This read-word function returns the predicted time-to-full charge based on
AverageCurrent().
NOTE:
65535 = Battery is not being charged.
Cmd
Name
Access
Type
Min. Max Unit
0x13
GetBatteryAverageTimeToFull()
R
Uint16
0
65535 min
Transfer packet: 0x01 0x03 0x04 0x13 0x04
GetBatteryCycleCount() 0x17
This read-word function returns the number of cycles the battery has been loaded.
Cmd
Name
Access
Type
Min. Max Unit
0x17
GetBatteryCycleCount ()
R
Uint16
0
65535 cycles
Transfer packet: 0x01 0x03 0x04 0x17 0x04