User's Manual

Using terminal commands
REMOTE Yes, SET only.
E
XAMPLE PMP 65 72
9193 PMP 0
#
PMP
9193 PMP 65 72 0
#
ANLG
AVAILABLE FOR
A731 A733A732 A733GSM
DESCRIPTION Sets/returns various parameters of the analog subsystem (for example, the
sampling/averaging method used for individual data acquisition channels).
P
ARAMETERS A control byte specifying the command and the analog input channel number the
command is acting on:
Command Code
Channel Number
Fig. 14: The ANLG Control Byte Layout.
Some commands may also require one or two additional 12-bit parameters
representing threshold values.
The Channel Number selects the analog channel that will be affected by
the command. For the A733, only 0000 to 1011 are accepted (only 12
analog channels are available).
The Command Code specifies the operation that will be applied to the
selected channel. They are described in Table below.
Code Description Parameters Returns
0000 RSM – Read Sampling Method.
This command reads the current
programmed sampling method
for all analog input channels.
None The current
sampling methods
and the result (OK
or ERROR); see
also the sampling
table below
0001 SSMMI – Set Sampling Method
to Minimum. The specified
analog channel is instructed to
store the lowest sampled value.
The channel num-
ber
Result (OK or
ERROR)
0010 SSMMA – Set Sampling Method
to Maximum. The specified
analog channel is instructed to
store the highest sampled value.
The channel num-
ber
Result (OK or
ERROR)
0011 SSMS – Set Sampling Method to
Sum. The specified analog
channel is instructed to store the
sum of all sampled values.
The channel num-
ber
Result (OK or
ERROR)
0100 SSMAA – Set Sampling Method
to Arithmetic Average. The
s
p
ecified analo
g
channel is
The channel num-
ber
Result (OK or
ERROR)
32