Lakeshore Learning Materials 622 User Manual

Page 56

Advertising
background image

Lake Shore Model 620/622/623/647 Magnet Power Supply User’s Manual

Remote Operation

4-18

4.3.7

Common Commands Description

The MPS Common Commands below are input/output commands defined by the IEEE-488 standard and

shared with other instruments complying with the standard. Common commands begin with “*”.

*CLS

Clear Status Register Command

Input:

*CLS

Returned: Nothing.

Remarks: Clears the Status Register, but

not the instrument. It clears the bits in the Status Byte Register

and the Standard Event Status Register and terminates all pending operations. The
instrument-related command is *RST.

*ESE

Enables Status Reports In The Standard Event Status Enable Register

Input:

*ESE [bit weighting] where [bit weighting] = the sum of the bit weighting of each bit to be
set. The value can be 000 to 255. See the discussion on registers and below.

Remarks: Each bit is assigned a bit weighting. See the format of the Standard Event Status Register

(given below) to see bit weighting and register placement. Further explanation of each bit is
discussed in the register section following the Common Command Table. See Paragraph
4.1.3.2 for a complete description of status bits.

7 6 5 4 3 2 1 0

Bit

128

64 32 16 8 4 2 1

Weighting

PON

not used

CME EXE DDE QYE

not used

OPC Bit Name

Example: To set a bit, send the command *ESE with the sum of the bit weighting for each bit

desired. For example, to set bits 0, 3, 4, and 5, send the command *ESE57. 57 is the sum of
the bit weighting for each bit:

Bit

Weighting

0

1

3

8

4

16

5

32

57

*ESE?

Standard Event Status Enable Query

Input:

*ESE?

Returned: An integer between 000 and 255.

Remarks: Reads the Standard Event Status Enable Register. The integer returned represents the bits set

in the Standard Event Status Enable Register. It is a sum of the bit weighting of each bit set.
Returns three digits plus up to two terminators.

*ESR?

Standard Event Status Register Query

Input:

*ESE?

Returned: An integer between 000 and 255.

Remarks: Reads the Standard Event Status Register. The integer returned represents bits set in the

Service Request Enable Register. It is a sum of the bit weighting of each bit set. This Query
supplies various error conditions and whether the MPS has been powered off and on since the
last query. Returns three digits plus up to two terminators.

Advertising
This manual is related to the following products:

623, 620