beautypg.com

Section 3 ieee 488.2 and scpi command operation, 1 introduction, 2 ieee-488.2 register definitions – AMETEK M130 User Manual

Page 51: 1 scpi status byte, Section 3, Ieee 488.2 and scpi command operation -1, Introduction -1, Ieee-488.2 register definitions -1, Scpi status byte -1, Ieee 488.2 and scpi command operation

background image

M130/M131 Programming Manual

3-1

SECTION 3

IEEE 488.2 AND SCPI

COMMAND OPERATION

3.1 I

NTRODUCTION

The following sections describe the operation of the M130 by remote
programming using the M130 IEEE-488.2 and SCPI command sets. The supply
IEEE488.2 and SCPI command sets provide programming, query, and status
commands that facilitate remote control of the power supply.

3.2 IEEE-488.2

R

EGISTER

D

EFINITIONS

The M130 supports the IEEE-488.2 and SCPI 1995.0 status reporting data
structures. These structures are comprised of status registers and status register
enable mask pairs. The following sections describe these pairs.

3.2.1

SCPI

S

TATUS

B

YTE

• To read the SCPI Status Byte status register, either send the *STB?

command or issue a GPIB or Ethernet serial poll. To clear the Status
Byte status register, send the *CLS command.

• To configure the supply to request service from the Ethernet controller,

set the appropriate bits in the Service Request Enable (SRE) register.
The SRE register has the same bit pattern as the SCPI Status Byte.

• To modify the SRE register, use the *SRE command; to read it,

use the *SRE? command. For example, if the SRE register is set to
0x10 (MAV), then when the supply has a message available, the Status
Byte register will contain 0x50 (RQS and MAV). See Table 3-1.

This manual is related to the following products: