beautypg.com

AMETEK Lx Series II Programming Manual User Manual

Page 127

background image

Programming Manual

Lx \ Ls Series II

123

5.9

*SAV

This command stores the present state of the AC source to a specified location in memory. Up to
16 setup states can be stored in nonvolatile memory. If a particular state is desired at power-on, it
should be stored in location 0. It then will be recalled at power-on if the OUTPut:PON:STATe
command is set to RCL0. Use *RCL to retrieve instrument states.

Command Syntax

*SAV

Parameters

0 to 15

Related Commands

*PSC *RCL

*RST

Note that saving settings and transient list information from non-volatile memory takes some
amount of time as shown in the table below. If you develop a test program that uses the *RCL or
*SAV commands, insert the amount of delay shown in the table before sending the next command
in your program.

Command:

*RCL 0

*RCL n (n = 1 to 15)

*SAV 0

*SAV n (n = 1 to 15)

Execution time:

20 msec

40 msec

80 msec

40 msec

5.10 *SRE

This command sets the condition of the Service Request Enable Register. This register
determines which bits from the Status Byte Register (see *STB for its bit configuration) are
allowed to set the Master Status Summary (MSS) bit and the Request for Service (RQS)
summary bit. A 1 in any Service Request Enable Register bit position enables the corresponding
Status Byte Register bit and all such enabled bits then are logically ORed to cause Bit 6 of the
Status Byte Register to be set. See chapter 7 under Programming the Status and Event Registers
for more details concerning this process.

When the controller conducts a serial poll in response to SRQ, the RQS bit is cleared, but the
MSS bit is not. When *SRE is cleared (by programming it with 0), the AC source cannot generate
an SRQ to the controller.

Command Syntax

*SRE

Parameters

0 to 255

Default Value

(See *PSC)

Example

*SRE 128

Query Syntax

*SRE?

Returned Parameters

(Register binary value)

Related Commands

*ESE *ESR *PSC

5.11 *STB?

This query reads the Status Byte register, which contains the status summary bits and the Output
Queue MAV bit. Reading the Status Byte register does not clear it. The input summary bits are
cleared when the appropriate event registers are read (see chapter 7 under Programming the
Status and Event Registers for more information). A serial poll also returns the value of the Status
Byte register, except that bit 6 returns Request for Service (RQS) instead of Master Status
Summary (MSS). A serial poll clears RQS, but not MSS. When MSS is set, it indicates that the AC
source has one or more reasons for requesting service.

Bit Position

7

6

5

4

3

2 - 0

Bit Name

OPER

MSS RQS

ESB

MAV

QUES

not used