Description of the mca527 firmware commands – GBS Elektronik MCA-527 Firmware Commands User Manual

Page 29

Advertising
background image

Description of the MCA527 Firmware Commands

Command name

CMD_QUERY_POWER (Continuation)

Result data array

Byte offset 72

+12V primary current [mA] at stop

unsigned long

Byte offset 76

-12V primary current [mA] at stop

unsigned long

Byte offset 80

+24V primary current [mA] at stop

unsigned long

Byte offset 84

-24V primary current [mA] at stop

unsigned long

Byte offset 88

Battery voltage [mV] at stop

unsigned long At the MCA527Micro this data

corresponds to the USB input
voltage.

Byte offset 92

HV [ * 1.2 V] at stop

unsigned long

Byte offset 96

ADC correction offset on SUB-D9 pin3 [LSB]

char

Byte offset 97

Gain correction factor on SUB-D9 pin3

char

factor = 0.001 * value + 1

Byte offset 98

unused

2 bytes

Byte offset 100

+12V actual value [ * 0.0625 V] at stop

unsigned char

Byte offset 101

-12V actual value [ * 0.0625 V] at stop

unsigned char

Byte offset 102

+24V actual value [ * 0.125 V] at stop

unsigned char

Byte offset 103

-24V actual value [ * 0.125 V] at stop

unsigned char

Byte offset 104

Voltage on SUB-D9 pin3 [ * 0.3125 mV] at stop

unsigned short

Byte offset 106

Command flag and parameters

8 bytes

Byte offset 114

Voltage on SUB-D9 pin5 [ * 0.3125 mV] at stop

unsigned short

Byte offset 116

Charger current [mA] at stop

unsigned long

Byte offset 120

unused

6 bytes

Byte offset 126

Checksum

unsigned short

Byte offset 128

MCA state

integer value

STATE_READY

= 1

STATE_RUN

= 2

STATE_SUSPEND

= 3

STATE_FINISH

= 4

STATE_STOP

= 5

STATE_FAIL

= 6

STATE_WAIT_FOR_TRIGGER

= 7

Byte offset 130

unused

2 bytes

29

Advertising