RPM4™ OPERATION AND MAINTENANCE MANUAL

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:

CLS”

 

 

Reply:

none

 

 

 

 

ESE

 

 

 

Purpose

 

Read or set the Standard Event Status Enable Register.

Command

 

ESE n

 

Query

 

 

 

 

“ 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

 

Sent:

ESE=128”(enables the PON bit)

(enhanced)

 

Query reply:

“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

 

Sent:

ESR?”

(enhanced)

 

Reply:

“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

 

Sent:“IDN?”

 

(enhanced)

 

Reply:“DH INSTRUMENTS INC, RPM4 A0100/A0015, 1234, Ver2.00 -dhf”

 

 

 

 

OPC

 

 

 

Purpose

 

Sets the operation complete bit when all operations have completed.

Command

 

OPC”

 

Query

 

 

 

 

“ 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

 

Sent:

OPC”

(enhanced)

 

Query reply:

“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

 

Sent:

OPT?”

(enhanced)

 

Reply:

“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

 

Sent:

RST”

(enhanced)

 

Reply:

 

 

 

“ RST” (no reply if IEEE-488)

See Also

 

Section 3.5.4.1, Reset – Sets

© 2004-2007 DH Instruments, a Fluke Company

Page 112

Page 122
Image 122
Fluke RPM4 manual Program Message Descriptions