beautypg.com

2 device clear, 5 command reference, 1 system-related commands – American Magnetics 187 Self-Compensating Liquid Level Controller User Manual

Page 51: Device clear, Command reference, System-related commands, Remote interface reference

background image

40

Remote Interface Reference

System-Related Commands

4.4.2

Device Clear

The Device Clear is a low-level IEEE-488 bus message which you can use
to return the instrument to a responsive state if communication appears to
stall. The status registers and the error queue are left unchanged when a
Device Clear message is received. Device Clear performs the following
actions:

W

The Model 187’s serial and IEEE-488 output buffers are cleared.

W

The Model 187 is prepared to accept a new command.

Note

For the serial interface, a Device Clear can be initiated by sending
the

<

Ctrl-C

>

(ASCII code 03) character.

4.5 Command Reference

The following paragraphs present all instrument commands and queries
in related groups and a detailed description of the function of each
command or query is provided. Examples are also provided where
appropriate. Return strings may be up to 80 characters in length.

4.5.1

System-Related Commands

W

*IDN?

Return the instrument’s identification string. The identification string
contains the AMI model number and firmware revision code.

W

*RST

Resets the instrument. This is equivalent to cycling the power to the
instrument using the power switch. All non-volatile calibration data and
battery-backed memory is restored. Status is cleared according to the

*PSC

setting.

W

*TST?

Performs a self-test. Currently always returns “1” plus a diagnostic code
useful for troubleshooting by an Authorized AMI Technical Support
Representative.

W

<

Ctrl-C

>

Equivalent to sending a Device Clear message over the IEEE-488
interface. <

Ctrl-C

> is only accepted from the serial interface. This clears

the output buffers of the instrument and prepares the instrument for a
new command. Status registers are unaffected. <

Ctrl-C

> corresponds to

ASCII code 03.