Martel Electronics PSC4010 User Manual

Page 26

Advertising
background image

24

*OPC?

Returns 1 when all operations are complete, and causes program execution to pause until all
the operations are complete. For example:

TRIG ; *OPC? will return a 1 when the pulse train initiated by TRIG is complete.

*RST

Resets the state of calibrator to the power-up state. All subsequent commands are held off
until the execution of the command is complete.

*SRE

Loads a byte into the Service Request Enable register. A decimal number must be entered,
which when converted to binary, corresponds to the correct settings.

For example:

*SRE 8 enters the binary number 00001000 to the SRE. This enables bit 3. Bit 6 is not
used.

*SRE?

Returns a byte from the SRE. The byte is returned in decimal format. For example:

If 40 is returned, bits 5 and 3 are enabled.

*STB

Returns the status byte in decimal form from the Serial Poll Status Byte. For example;

If 72 is returned, bits 6 and 3 are enabled.

*WAI

Prevents further remote commands from being executed until all previous commands are
executed. For example:

OUT 10 MA ; *WAI ; OUT 5 V will out put 10mA and wait until output settles, than volts
command will be processed.

5.5-2 Calibrator Commands

CAL_START

Puts the calibrator in calibration mode. The main display will say CALIBRATION MODE and a
calibration menu will be displayed on the terminal.

FAULT?

Returns the error code number of an error that has occurred. The command may be entered
when the previous command did not do what it was meant to do.

Advertising