beautypg.com

Common commands – AMETEK Lx Series II Programming Manual User Manual

Page 122

background image

Programming Manual

Lx \ Ls Series II

118

5. Common Commands

Common commands begin with an * and consist of three letters (command) or three letters and a
? (query). Common commands are defined by the IEEE 488.2 standard to perform some common
interface functions. The 3000Lx and the 4500Lx respond to the required common commands that
control status reporting, synchronization, and internal operations. The 3000Lx and the 4500Lx
also respond to optional common commands that control triggers, power-on conditions, and
stored operating parameters.

Common commands and queries are listed alphabetically. If a command has a corresponding
query that simply returns the data or status specified by the command, then both command and
query are included under the explanation for the command. If a query does not have a
corresponding command or is functionally different from the command, then the query is listed
separately. The description for each common command or query specifies any status registers
affected. Refer to chapter 7 under Programming the Status and Event Registers which explains
how to read specific register bits and use the information that they return.

Common Commands Syntax

*CLS

Clear status

*ESE

Standard event status enable

*ESE?

Return standard event status enable

*ESR?

Return event status register

*IDN?

Return instrument identification

*OPC

Enable "operation complete" bit in ESR

*OPC?

Return a "1" when operation complete

*OPT?

Return option number

*PSC

Power-on status clear state set/reset

*PSC?

Return power-on status clear state

*RCL

Recall instrument state

*RST

Reset

*SAV

Save instrument state

*SRE

Set service request enable register

*SRE?

Return service request enable register

*STB?

Return status byte

*TRG

Trigger

*TST?

Perform selftest, then return result

*WAI

Hold off bus until all device commands done