RPM4™ OPERATION AND MAINTENANCE MANUAL
© 2004-2007 DH Instruments, a Fluke Company Page 112
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)
∗IDN
Purpose Identify the RPM4 version, range, and serial number.
Query
“∗IDN?”
Remarks The identification reply is made up of the manufacture, the model, the serial number and the
software version. Each is separated by a comma.
Example
(enhanced)
Sent:“∗IDN?”
Reply:“DH INSTRUMENTS INC, RPM4 A0100/A0015, 1234, Ver2.00 -dhf”
∗OPC
Purpose Sets the operation complete bit when all operations have completed.
Command
Query
“∗OPC”
“∗OPC?”
Remarks This Command enables the RPM4 to set the OPC bit in the Standard Event Status Register
when it has completed all pending functions.
The Query replies with a “1” when all functions are complete.
Example
(enhanced)
Sent:
Query reply:
“∗OPC”
“1”
∗OPT
Purpose Reads the list of installed RPM4 options.
Query
“∗OPT?”
Remarks This Query returns any registered option(s) installed in the RPM4. Each option is separated
by a comma. Possible options:
“IEEE-488:0”
The IEEE-488 option is installed,
Example
(enhanced)
Sent:
Reply:
“∗OPT?”
“IEEE-488:0”
∗RST
Purpose Resets the RPM4 settings to factory settings.
Command
“∗RST””
Remarks This Command sets the RPM4 settings to factory settings. This equivalent to a front panel
executed RESET/SET. This does not affect the communications settings.
Example
(enhanced)
Sent:
Reply:
“∗RST”
“∗RST” (no reply if IEEE-488)
See Also Section 3.5.4.1, Reset – Sets