beautypg.com

Cmd_query_state527_ex – GBS Elektronik MCA-527 Firmware Commands User Manual

Page 39

background image

Description of the MCA527 Firmware Commands

Command name

CMD_QUERY_STATE527_EX

Compatibility

New MCA527 command.

Execution right

Not necessary

Description

The command reads the state.

Format

integer

integer

integer

long

integer

Parameter

preamble

command

0

0

end flag

Byte string (HEX)

A5

5A

10

01

00

00

00

00

00

00

B9

9B

Result data array

Byte offset 0

Common memory size [bytes]

42

unsigned long

Byte offset 4

Common memory fill stop [bytes]

unsigned long

Byte offset 8

Common memory fill level [bytes]

unsigned long

Byte offset 12

Oscilloscope time resolution

short

Byte offset 14

Oscilloscope trigger source

unsigned short

Byte offset 16

Oscilloscope trigger position

unsigned short

Byte offset 18

Oscilloscope trigger threshold

unsigned short

Byte offset 20

PUR counter

unsigned long

Byte offset 24

Extension port part A configuration

unsigned char

See CMD_SET_EXTENSION_PORT

Byte offset 25

Extension port part B configuration

unsigned char

See CMD_SET_EXTENSION_PORT

Byte offset 26

Extension port part C configuration

unsigned char

See CMD_SET_EXTENSION_PORT

Byte offset 27

Extension port part D configuration

unsigned char

See CMD_SET_EXTENSION_PORT

Byte offset 28

Extension port part E configuration

unsigned char

See CMD_SET_EXTENSION_PORT

Byte offset 29

Extension port part F configuration

unsigned char

See CMD_SET_EXTENSION_PORT

Byte offset 30

Extension port parts availability

unsigned char

Bit (0 … 5): part (A … F) is available
Bit 6: Input signal (part E) can be looped
through to output pin (part B).

Byte offset 31

Extension port state flags

unsigned char

Byte offset 32

Extension port polarity flags

unsigned char

Byte offset 33

Highest allowed flattop time [ * 0.1 µsec]

43

unsigned char

Byte offset 34

Size of the booting presets data structure

44

unsigned short

Byte offset 36

Extension port pulser 1 period

unsigned long

Byte offset 40

Extension port pulser 2 period

unsigned long

Byte offset 44

Extension port pulser 1 width

unsigned long

Byte offset 48

Extension port pulser 2 width

unsigned long

Byte offset 52

Extension port RS232 baud rate

unsigned short

Byte offset 54

Extension port RS232 flags

unsigned short

42 The common memory size is not only depending on the hardware and firmware version but also on other operating conditions.

If a micro SD memory card is plugged in the MCA527, additional memory is needed to operate it. This reduces the available
common memory.

43 Since firmware version 13.07.
44 Since firmware version 14.03.

39