GBS Elektronik MCA-527 Firmware Commands User Manual

Page 33

Advertising
background image

Description of the MCA527 Firmware Commands

Command name

CMD_QUERY_STATE (1

st

Continuation)

Result data array

Byte offset 48

Amplifier coarse gain

unsigned short

Byte offset 50

Amplifier fine gain

unsigned short

Byte offset 52

Slow discriminator value

unsigned short meaningless for MCA527

Byte offset 54

Fast discriminator value

unsigned short meaningless for MCA527

Byte offset 56

High voltage [V]

unsigned short

Byte offset 58

High voltage polarity

unsigned short 0 = positive, 1 = negative

Byte offset 60

Power switches

unsigned short 0X80

-24V

ON

0X40

+24V

ON

0X20

-12V

ON

0X10

+12V

ON

0X02

HV

ON

Byte offset 62

PZC value

unsigned short

Byte offset 64

Time offset for PZC and DTC low

unsigned short meaningless for MCA527

Byte offset 66

Time offset for PZC and DTC high

unsigned short meaningless for MCA527

Byte offset 68

Stabilization state or channel

unsigned short

Byte offset 70

Stabilization result

unsigned short STAB_STARTED

= 0

STAB_ACTIVE

= 1

STAB_ERROR

= 3

Byte offset 72

Stab. ROI begin

unsigned short

Byte offset 74

Stab. ROI end

unsigned short

Byte offset 76

ADC input

unsigned short ADC_SHAPING

= 0

ADC_DIRECT_POS

= 3

ADC_DIRECT_NEG

= 4

Byte offset 78

ADC input polarity

unsigned short INPUT_POLARITY_POS = 0

INPUT_POLARITY_NEG = 1

Byte offset 80

Shaping time choice

34

unsigned short Low shaping time

= 1

High shaping time

= 3

Byte offset 82

Pile up rejection (PUR) state

unsigned short PUR_OFF

= 0

PUR_ON

= 1

Byte offset 84

MCS input

unsigned short MCS_INPUT_TTL

= 0

MCS_INPUT_RATE

= 1

MCS_INPUT_DISCR

= 2

Byte offset 86

MCA serial number

unsigned short

Byte offset 88

MCA hardware version

unsigned short = 0xFFFF

Byte offset 90

MCA firmware version

unsigned short = 0xFFFF

Byte offset 92

MCS channels

unsigned short

Byte offset 94

Last power state

unsigned short

Byte offset 96

Battery capacity [%]

unsigned short

Byte offset 98

Battery life time

unsigned short not supported

34 In the MCA-166 User's Manual, this parameter is named DTC. You find therefore this parameter in the source code under this

name.

33

Advertising