Entering commands – Crystal APM Advanced Pressure Module User Manual
Page 12

Communications
10
APM CPF Series Operation Manual
ENTERING COMMANDS
Commands for the APM may be entered in upper or lower case. At least one space must be entered between the command and parameter. All other spaces
are optional. Almost all commands for the APM are sequential, and any overlapped commands will be indicated as such. This section will briefly explain each
of the commands and describe their general use. The descriptions will include any parameters that may be entered with the command, as well as the output
of the command.
Common Commands
X
*CLS
Clears the error queue. Also terminates all pending operations. When writing programs, use before each procedure to avoid buffer overflow.
X
*IDN?
Returns the manufacturer, model number, and firmware revision of the APM. For example,
*IDN?
will return
AMETEK, APM 0, 1.00
.
Module Commands
X
DAMP
Enables a damping filter on the readings returned by the
VAL?
command. The filter is a first-order smoothing filter with 90% damping percentage.
For example,
DAMP ON
, will turn the damping function on.
X
DAMP?
Returns the current state of the damping function. For example,
DAMP?
will return
ON
if the damping function is on.
X
FAULT?
Returns the error code number of an error that has occurred. The command may be entered when a previous command did not do what it was intended to
do. Refer to the
for more information on error code numbers.
X
PRES_UNIT
Used to set the pressure unit for the indicated display. For example,
PRES_UNIT PSI
will set the pressure unit to psi. Send
CAL_STORE
to save the new
parameters. Refer to the
for a complete list of available pressure units.
X
PRES_UNIT?
Returns the current pressure unit being used.
X
VAL?
Returns the value of the current measurement on the upper and lower display. For example, if the APM is measuring 5 psi, then
VAL?
will return
5.000000E+00, PSI
.
X
ZERO_MEAS
Zeros the APM. Send
CAL_STORE
to save the new parameters.
X
ZERO_MEAS?
Returns the zero offset of the APM.