33
0x55 R/W byte R/W
0x55
:
,
decision bit, for reading instructions are
0x07 Data Length
R/W
:
, data length after
bit,
In this instruction
,
and
occupy a
0x00 10 0x00 01 17 81
0x4C
total of
, so it is
7 bytes
0x07
00 10 Data address bytes
LAD 0x00
:
, the data address transmitted by
,
10
the LAD_STATUS
is
address
00 01 17 81 Data bytes
LAD
:
, data content transmitted by
, this is the
actual reading value of the
00 01 is
binary
, converted to
is:
LAD_STATUS_H
17 81 is
, converted to binary is:
LAD_STATUS_L
00000000
00000001
high byte
low byte
00010111
1000001
High byte
low byte
The current
can be derived from the definition
STATUS of LAD-360DU
of
as follows:
the LAD _STATUS
LAD_STATUS_H: only
of
has practical significance,
the bit 0
low byte
which is
in this instruction, which means that the
1
standby switch is disconnected at this time
5
34
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Strong
start
state
1
High
byte
Battery
reverse
connection
status
Battery
charge
status
Battery
full
BAT4
battery
status
BAT3
battery
status
BAT2
battery
status
BAT1
battery
status
Strong
start
state
Battery
reverse
connection
status
Battery
charge
status
Battery
full
BAT4
battery
status
BAT3
battery
status
BAT2
battery
status
BAT1
battery
status
Non-forced
state
The battery
is not
reversed
The battery
is not
charged
The battery
is not
full
The BAT4
battery is
normal
The BAT3
battery is
norma
The BAT2
battery is
normal
The BAT1
battery is
normal
0
Battery
balanced
state
Standby OVP
protection
status
Linkage
control
status
display
System
power
supply
status
Standby
UTP
protection
status
Main
discharge
OLP status
Standby
status
AC OK
1
Low
byte
0
Non-cell
balanced
state
It is in the
backup OVP
protection
state
In the
linkage
control state
Standby
power
supply
status
A backup
ULP
protection
state has
occurred
The main
road
discharge is
overloaded
The power
backup
access is
abnormal
AC input
is ok
Non-backup
OVP
protection
status
Battery
balanced
state
Non-linkage
control state
The main
power
supply
status
No backup
UTP
protection
The main
circuit
discharge
is normal
The backup
power is
connected
normally
AC input
exception
0x4C
CRC-8
5.4.1.3
CRC-8
: Transmit data
error code, refer to
for
The
error detection code for the
response is calculated by
CRC-8
LAD
the LAD's own MCU
5.4.2.2 Main electrical voltage
Brief description: Input voltage read instructions
For example:
the LAD-360DU
to read
input voltage
Request:
R/W byte
Data Length
Data address bytes
Data bytes
CRC-8
0x55
0x03
0x00 20
0xEF
0x55: R/W byte R/W
0x55
,
decision bit, for reading instructions are
0x03 Data Length
R/W
:
, the length of the data after the
decision bit
In this instruction
,
occupy a total of
, so it is
0x00 20 0xEF
3 bytes
0x03
0x00 20 Data address bytes, the data address to
0x00 20
:
be transmitted,
is the main voltage address
0xEF
CRC-8
R/W byte ~
: Transmit data
error detection code (including
Data bytes
CRC-8
5.4.1.3
), refer to the instructions on
in
, for which
the instruction is 0xEF
LAD_STATUS_L: the status is as follows (gray background content).
5
Содержание LAD Series
Страница 26: ......