Remote Commands
SCPI Commands Command Tables
MAP-200 Optical Switch mOSW-C1 Installation and User Guide
Standard
June 2016
Document Number 22112369-120 R000
Page 59
*SRE
Description
Sets the bits in the Service Request Enable register. The numeric value is converted to a
binary number. The bits of the register are set to match the bit values of the binary number.
The Service Request Enable register determines which bits of the Status Byte Register are
enabled. Enabled bits are ORed together, and the result is reported to the Master Summary
Status.
Input format
*SRE <Register Value>
Parameter
Type
Value
Register
numeric
0 <= value <= 255
Standard Event Status Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Power on
(PON)
User
request
(URQ)
Command
error (CME)
Execution
error
(EXE)
Device
dependent
error (DDE)
Query
error
(QYE)
Request
control
(RQC)
Operation
complete
(OPC)
Bit 0: operation complete
Bit 1: request control
Bit 2: query error. it is set when a query error occurs, for example, an attempt is made to read the output queue when the output
queue is empty or when the data in the output queue is lost.
Bit 3: device dependent error. It is set by the system to always indicate 0.
Bit 4: execution error
Bit 5: command error. it is set when a command error is detected by the system, for example, if a syntax error is detected in a
program message, an incorrect command header is received, or an IEEE GET message is received in the middle of a program
message.
Bit 6: user request
Bit 7: power on
Output format
None.
Default
0 on *CLS and power cycle.
Example
1>
The following example sets the service request enable register bits application to
11011000.
Terminal input:
*SRE 216