4. REMOTE OPERATION
Page 101 © 2007 DH Instruments, a Fluke Company
4.6 IEEE STD. 488.2 COMMON AND STATUS PROGRAM MESSAGES The RPM4 supports a set of commands that are common to all instruments conforming to IEEE Std. 488.2.
These command make it easy to perform basic function for any device that supports these commands.
These commands also cover the status reporting commands. See Section 4.5 for details on the status
registers mentioned in these commands.
Table 19. Program message list
∗CLS Clear all of the status & event structures.
∗ESE Read or set the Standard Event Status Enable Register.
∗ESR Read the Standard Event Status Register.
∗IDN Identify the RPM4 version, range, and serial number.
∗OPC Set the operation complete bit when all operations have completed.
∗OPT Read the list of installed RPM4 options.
∗RST Reset the RPM4 settings to factory settings.
∗TST Read the power on self test status.
∗SRE Read or set the Service Request Enable Register.
∗STB Read the Status Byte Register.
∗RSE Read or set the Ready Status Enable Register.
∗RSR Read the Ready Status Register.
4.6.1 PROGRAM MESSAGE DESCRIPTIONS
∗CLS
Purpose Clear all of the status & event structures.
Command “∗CLS”
Remarks This program message clears the following events and status registers:
Standard Byte Register (STB)
Standard Event Status Register (ESR)
Error Queue
Pending OPC operations
Example
Sent:
Reply: “∗CLS”
none
∗ESE
Purpose Read or set the Standard Event Status Enable Register.
Command
Query “∗ESE n”
“∗ESE?”
Default “∗ESE 0”
Arguments n: ’0 to 255’ This is the decimal representation of the bit(s) to enable. To enable
the PON and QYE bits, the argument would be 128 + 4 = 132.
Remarks The Standard Event Status Enable register determines which bits in the standard Event
Status Register are enabled and included in the Status Byte Register (ESB bit), and can
assert the SRQ line. The reply is in decimal numeric form.
Example
(enhanced) Sent:
Query reply: “∗ESE=128”(enables the PON bit)
“128” (no reply if IEEE-488)
Errors ERR# 6: n is not valid.
∗ESR
Purpose Read the Standard Event Register.
Command “∗ESR?”
Remarks The Standard Event Register contents are cleared after reading. The reply is in decimal
numeric form.
Example
(enhanced) Sent:
Reply: “∗ESR?”
“20” (the QYE and EXE bits are set)