beautypg.com

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

Page 22

background image

22

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

CJC_STATE

Turns CJC on or off.

CJC_STATE?

Returns the state of the CJC

CPRT_COEFA

Sets the custom RTD coefficient A

CPRT_COEFA?

Returns the custom RTD coefficient A

CPRT_COEFB

Sets the custom RTD coefficient B

CPRT_COEFB?

Returns the custom RTD coefficient B

CPRT_COEFC

Sets the custom RTD coefficient C

CPRT_COEFC?

Returns the custom RTD coefficient C

CPRT_MIN_T

Sets the custom RTD minimum temperature

CPRT_MIN_T?

Returns the custom RTD minimum temperature

CPRT_MAX_T

Sets the custom RTD maximum temperature

CPRT_MAX_T?

Returns the custom RTD maximum temperature

CPRT_R0

Sets the custom RTD R0 resistance

CPRT_R0?

Returns the custom RTD R0 resistance