beautypg.com

AMETEK ReFlex Programming Manual User Manual

Page 51

background image

Controller Module Remote Programming

ReFlex Power™ Programming Manual

M380056-03 Rev L

47

2.13.7

SRQ

RELATED

SCPI

C

OMMANDS

SYST

System level command

:MODSRQ?

1,2,3

Returns a Hex number. If a module has an active SRQ event, the corresponding
bit will be a ‘1’, else ‘0’

:FAULt?

1

Returns a Hex number. If a module has an active Hardware fault condition, the
corresponding bit will be a ‘1’, else ‘0’.

*

Star level commands

STB?

3

Query User’s STatus Byte

SRE?

3

Query the user’s enable bits in the Service Request Enable register

SRE

3

Set the enable bits in the Service Request Enable register

ESR?

3

Query the user’s Standard Event status Register, if bit 0 set, a *RST is required.

ESE?

3

Query the user’s Enable Standard Event status register

ESE

3

Set the user’s enable bits in the Enable Standard Event status register.

STATus:PROTection

Module Status subsystem

:CONDition?

Returns a real-time copy of the module protection event bits

:EVENt?

Returns a summation of the module protection event bits, cleared on read.

:ENABle?

Query the module protection event enable bits

:ENABle

Set the module protection event enable bits

STATus:PROTection

Summary Status subsystem

:EVENt?

A summation of the users module protection event bits, cleared on read.

:ENABle?

Query the users protection event enable bits

:ENABle

Set the users protection event enable bits

1

The Hex formatted number is 96 bits in length, which is a one-to-one correspondence for every

possible module in the system. The bits are numbered 96 down to 1. As an example:
#H000000000000000000080006 shows Modules 24, 3 and 2 have posted an event.

2

To receive SRQ events at a host computer, a “TCPIP0::::inst0::INSTR” connection

must be instantiated by the IVI Driver, and the user application must send the proper commands to
the RFP system, and call the proper initialization and setup routines in the host computer and IVI
Driver.

3

The SRQ event bits are linked in exactly the same way as SRQ generation. One host connection

can’t ‘see’ another connection’s SRQ’s. The host linkage is created when a client sets a module’s
PEV register to a non-zero value. The linkage is broken when the PEV is set to zero.