beautypg.com

6 state bit definition, State bit definition – B&K Precision XLN60026 - Manual User Manual

Page 180

background image

84

4.6

State Bit Definition

When “

STATE?” command is used, the system will return three bytes in the

order as shown below.

Byte 2

Byte 1

Byte 0

bit 7 - bit 0

bit 7 - bit 0

bit 7 - bit 0

The definition of each bit is described in the following:

byte 0:

bit 7

OVP on/off status

bit 6

OCP on/off status

bit 5

OPP on/off status

bit 4

CC to CV on/off status

bit 3

CV to CC on/off status

bit 2

output on/off status

bit 1

LCD back light on/off status

bit 0

reserved status

byte 1:

bit 7

OVP occur flag

bit 6

OCP occur flag

bit 5

OPP occur flag

bit 4

CC to CV occur flag

bit 3

CV to CC occur flag

bit 2

AC detect low occur flag

bit 1

OTP occur flag

bit 0

reserved

byte 2:

bit 7 - 0

reserved