4 remote commands and error codes – Martel Electronics PSC4010 User Manual

Page 23

Advertising
background image

21

5.4 Remote Commands and Error Codes

The following tables list all commands, and their descriptions, that are accepted by the
calibrator.

Table 5: Common Commands

Command

Description

*CLS

*CLS (Clear status.) Clears the ESR, the error queue, and the RQS bit in the status byte.
Terminates pending Operation Complete commands

*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, and firmware revision level
of the Calibrator.

*OPC

Enables setting of 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 causes program
execution to pause until all operations are complete.

*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?

Returns the byte from the Service Request Enable register.

*STB?

Returns the status byte.

*WAI

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

Table 6: Calibrator Commands

Command

Description

CAL_START

Puts the calibrator in calibration mode

FAULT?

Returns the error code of an error that has occurred

FREQ_LEVEL

Sets the frequency and pulse amplitude

FREQ_LEVEL?

Returns the frequency and pulse amplitude

FREQ_TYPE

Set the frequency output to continuous (frequency) or pulse.

FREQ_TYPE?

Returns frequency output type, continuous or pulse

FREQ_UNIT

Sets the unit for frequency and pulse

FREQ_UNIT?

Returns the unit for frequency and pulse

FUNC?

Returns the current mode of the calibrator

LOCAL

Returns user to manual operation of the calibrator

LOCKOUT

Locks out the keypad of the calibrator, and allows for remote operation only

MEAS

Sets the mode for measuring of the calibrator

OUT

Sets the output of the calibrator

OUT?

Returns the output of the calibrator

PULSE_CNT

Sets the number of pulses for the pulse train

Advertising