Cmd_set_threshold, Cmd_set_threshold_tenths, Cmd_set_shaping_time – GBS Elektronik MCA-527 Firmware Commands User Manual
Page 11: Cmd_set_shaping_time_pair
Description of the MCA527 Firmware Commands
Command name
CMD_SET_THRESHOLD
Compatibility
Identical to the MCA166 command.
Execution right
Necessary
Description
This command sets the threshold value (thr: 0 … 60 percent).
Format
integer
integer
integer
long
integer
Parameter
preamble
command
thr
0
end flag
Byte string (HEX)
A5
5A
47
00
thr
00
00
00
00
00
B9
9B
Remarks
See next command.
Command name
CMD_SET_THRESHOLD_TENTHS
Compatibility
New MCA527 command.
Execution right
Necessary
Description
This command sets the threshold value (thr: 0 … 600 * 0.1 percent).
Format
integer
integer
integer
long
integer
Parameter
preamble
command
thr
0
end flag
Byte string (HEX)
A5
5A
0D
01
thr
l
thr
h
00
00
00
00
B9
9B
Remarks
This command has been added for setting the threshold with higher resolution.
Command name
CMD_SET_SHAPING_TIME
Compatibility
Compatible to the MCA166 command.
Execution right
Necessary
Description
The command sets the shaping time (dtc).
dtc = 1 shaping time low
dtc = 3 shaping time high
The command is ignored and responds with an error value if a measurement is still running.
Format
integer
integer
integer
long
integer
Parameter
preamble
command
dtc
0
end flag
Byte string (HEX)
A5
5A
52
00
dtc
00
00
00
00
00
B9
9B
Remarks
The MCA527 provides more than two shaping times, but in order to keep compatibility with older
software, this command has been retained. The command allows furthermore to chose the shaping
time from a pair of shaping times. This pair can be set by CMD_SET_SHAPING_TIME_PAIR.
Command name
CMD_SET_SHAPING_TIME_PAIR
Compatibility
New MCA527 command.
Execution right
Necessary
Description
The command sets the shaping time pair.(lst = 1 … 254 * 0.1 µs, hst = 2 … 255 * 0.1 µs, lst
The command is ignored and responds with an error value if a measurement is still running.
Format
integer
integer
integer
integer
integer
integer
Parameter
preamble
command
lst
hst
0
end flag
Byte string (HEX)
A5
5A
0C
01
lst
00
hst
00
00
00
B9
9B
Remarks
See also previous command.
11