65
English
UPSI-1208(D) | UPSI-2406(D)
GetChargeStatusRegister() 0x1B
This read-word function returns the status flags.
Cmd
Name
Access
Type
Min. Max
Unit
0x1B
GetStatusRegister()
R
Bit Field
-
-
True / False
Transfer packet: 0x01 0x03 0x03 0x1B 0x04
Bit Field:
SD SU CV UV CL RV RV RV RV CC RV PF RV RV RV RV
LSB
MSB
BIT
Description
0
SD Shows that the device is in step-down (charging) mode.
1
SU Shows that the device is in step-up (backup) mode.
2
CV Shows that the charger is in constant voltage mode.
3
UV Shows that the charger is in undervoltage lockout.
4
CL Shows that the device is in input current limit.
5
RV Reserved Bit
6
RV Reserved Bit
7
RV Reserved Bit
8
RV Reserved Bit
9
CC Shows that the charger is in constant current mode.
10 RV Reserved Bit
11
PF Shows that the input power is failed.
12 RV Reserved Bit
13 RV Reserved Bit
14 RV Reserved Bit
15 RV Reserved Bit
GetInputVoltage() 0x25
This read-word function returns the measured input voltage of the UPS.
Cmd
Name
Access
Type
Min.
Max
Unit
0x25 GetInputVoltage()
R
Int16
0
32768
mV
Transfer packet: 0x01 0x03 0x03 0x25 0x04