beautypg.com

Remote commands – Martel Electronics 3001 User Manual

Page 54

background image

10. Remote Commands

10.1 Introduction

Remote commands duplicate actions that can be initiated from the front panel in local
operating mode. Following the summary table is a complete alphabetical listing of all
commands complete with protocol details. Separate headings in the alphabetical listing
provide the parameters and responses, plus an example for each command. For
information on using the commands, see section 9.

10.2 Command Summary by Function

Common Commands

Command

Description

*CLS

Clear status. Clears the ESR, the error queue, and the RQS bit in the status
byte. This command terminates any pending operation complete com-
mands, *OPC or *OPC?.

*ESE

Loads a byte into the Event Status Enable register.

*ESE?

Returns the contents of the Event Status Enable register.

*ESR?

Returns the contents of the Event Status register and clears the register.

*IDN?

Identification query. Returns the manufacturer, model number, serial number,
and firmware revision level of the Calibrator.

*OPC

Sets bit 0 (OPC for Operation Complete) in the Event Status Register to 1
when all pending device operations are complete.

*OPC?

Returns a 1 after all pending operations are complete. This command caus-
es program execution to pause until all operations are complete. See also
the *WAI command.

*OPT?

Returns a list of the installed hardware and software options.

*RST

Resets the state of the instrument to the power-up state. This command
holds off execution of subsequent commands until it is complete.

*SRE

Loads a byte into the Service Request Enable register (SRE).

*SRE?

Returns the byte from the Service Request Enable register.

*STB?

Returns the status byte.

*TST?

Runs a series of self-tests and returns a "0" for pass or a "1" for fail. If any
faults are detected, they are logged into the fault queue where they can be
read by the FAULT? query.

*WAI

Prevents further remote commands from being executed until all previous
remote commands have been completed.

50