6.4.1 Interface Commands 107
| www.lakeshore.com
6.4.1 Interface
Commands
This section lists the interface commands in alphabetical order.
CLS Clear Interface Command
Input
CLS[term]
Remarks Clears the bits in the Status Byte Register, Standard Event Status Register, and Opera-
tion Event Register, and terminates all pending operations. Clears the interface, but
not the controller. The related controller command is RST.
ESE Event Status Enable Register Command
Input ESE <bit weighting>[term]
Format nnn
Remarks Each bit is assigned a bit weighting and represents the enable/disable mask of the
corresponding event flag bit in the Standard Event Status Register. To enable an event
flag bit, send the command
ESE with the sum of the bit weighting for each desired
bit. Refer to
section 6.2.5 for a list of event flags.
Example To enable event flags 0, 4, and 7, send the command ESE 145[term]. 145 is the sum
of the bit weighting for each bit.
ESE? Event Status Enable Register Query
Input ESE?[term]
Returned <bit weighting>[term]
Format nnn (Refer to section 6.2.5 for a list of event flags)
Begins common interface command
? Required to identify queries
s[n]
String of alphanumeric characters with length “n.” Send these strings
using surrounding quotes. Quotes enable characters such as commas
and spaces to be used without the instrument interpreting them as
delimiters.
nn… String of number characters that may include a decimal point.
dd
Dotted decimal format, common with IP addresses. Always contains 4
dot separated 3-digit decimal numbers, such as 192.168.000.012.
[term] Terminator characters
<…> Indicates a parameter field, many are command specific.
<state> Parameter field with only On/Off or Enable/Disable states.
<value>
Floating point values have varying resolution depending on the type of
command or query issued.
TABLE 6-7 Interface commands key
Bit Bit Weighting Event Name
0 1 OPC
2 4 QXE
4 16 EXE
5 32 CME
7 128 PON
To t a l : 181