MXS-9100 Optical Switch Rackmount Operation Manual
91592 Rev. A2
June 21, 2019
23
IEEE 488.2 Commands
*CLS
Clear Status. This command clears the Standard Event Status Register and the Status Byte Register.
*ESE [mask]
Standard Event Status Enable. This
command assigns the value of mask to the Standard Event Status
Enable Register. Every bit in the Standard Event Status Enable Register corresponds to a specific
event. The events are defined in Table 2 below. When an enabled event takes place, the Event
Summary Bit (ESB) of the Status Byte Register is set to 1. To enable an event bit, set the bit to 1. Set
disabled bits to 0.
To determine if an enabled event has occurred, execute a Status Byte Query command (
*STB?
) and
evaluate the ESB. To determine which event took place, execute an Event Status Register Query
command (
*ESR?
Table 2. Standard Event Status Enable Register
Name
Description
Bit
Decimal
OPC
Operation Complete
0
1
RQC
Request Control (N/A, always 0)
1
2
QYE
Query Error
2
4
DDE
Device Dependent Error
3
8
EXE
Execution Error
4
16
CME
Command Error
5
32
URQ
User Request
6
64
PON
Power On
7
128
*ESE?
Query Standard Event Status Enable. This
query returns the contents of the Standard Event Status
Enable Register. The events are defined in the table above. Enabled event bits are set to 1. Disabled
bits are set to 0.
*ESR?
Query Event Status Register. This
query returns and clears the contents of the Standard Event Status
Register.
When an event takes place, the corresponding Standard Event Status Register bit is set. If you have
enabled the corresponding bit in the Standard Event Status Enable Register using the Event Status
Enable command (
*ESE
), the Event Summary Bit (ESB) of the Status Byte Register is also set to 1.
*IDN?
Query Identification. This
query returns the module’s identification string. The command returns
DiCon Fiberoptics Inc, MG4, [
serial
], [
revision
]
where
serial
is the cont
rol module’s serial number and
revision
is the firmware revision level.