Using terminal commands
R
Yes, SET only.
EMOTE
E
PMP 65 72
XAMPLE
9193 PMP 0
#
PMP
9193 PMP 65 72 0
#
ANLG
A
VAILABLE FOR
D
Sets/returns various parameters of the analog subsystem (for example, the
ESCRIPTION
sampling/averaging method used for individual data acquisition channels).
P
A control byte specifying the command and the analog input channel number the
ARAMETERS
command is acting on:
Some commands may also require one or two additional 12-bit parameters
representing threshold values.
Code
0000
0001
0010
0011
0100
32
A731
A732
A733
Command Code
Fig. 14:
•
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.
Description
RSM – Read Sampling Method.
This command reads the current
programmed sampling method
for all analog input channels.
SSMMI – Set Sampling Method
to Minimum. The specified
analog channel is instructed to
store the lowest sampled value.
SSMMA – Set Sampling Method
to Maximum. The specified
analog channel is instructed to
store the highest sampled value.
SSMS – Set Sampling Method to
Sum. The specified analog
channel is instructed to store the
sum of all sampled values.
SSMAA – Set Sampling Method
to Arithmetic Average. The
specified analog channel is
A733GSM
Channel Number
The ANLG Control Byte Layout.
Parameters
None
The channel num-
ber
The channel num-
ber
The channel num-
ber
The channel num-
ber
Returns
The current
sampling methods
and the result (OK
or ERROR); see
also the sampling
table below
Result (OK or
ERROR)
Result (OK or
ERROR)
Result (OK or
ERROR)
Result (OK or
ERROR)