AMETEK SFA Series Ethernet Programming User Manual
Page 73
M550129-03 Rev K
6-1
SECTION 6
IEEE 488.2 GPIB/RS232/ETHERNET
AND SCPI COMMAND OPERATION
6.1
INTRODUCTION
This section describes the operation of the Digital Interface Adapter (DIA)
for both GPIB and Ethernet, by using the IEEE 488.2, Ethernet and SCPI
command sets, which provide programming, query, and status
commands that facilitate remote control of the power supply.
6.2
REGISTER DEFINITIONS
The applicable DIA (for either GPIB or Ethernet) supports the IEEE
488.2 GPIB, Ethernet 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.
6.2.1
SCPI Status Byte
The SCPI Status Byte registers the status of the instrument, in one of
seven bits described in Table 6-1. Read the SCPI Status Byte status
register by issuing either the *STB? command or a serial poll. Clear the
Status Byte status register by issuing the *CLS command.
Configure the DIA to request service from either the GPIB or Ethernet
controller, by setting the appropriate bits in the Service Request Enable
Register (SRE), which has the same bit pattern as the Status Byte.
Modify the SRE register by issuing the *SRE
read the SRE register by issuing the *SRE? command. For example, if
the SRE register is set to 0x10 (MAV), when the DIA unit has a message
available, the Status Byte register will contain 0x50 (RQS and MAV) and
the SRQ (SRQ is supported only on GPIB; not Ethernet or RS232) line
will be asserted to indicate a request for service. See Table 6-1 and refer
to SCPI Status Implementation, page 8-1, for further information.