Remote Commands
Common Application Commands
MAP-200 Optical Switch mOSW-C1 Installation and User Guide
Standard
June 2016
Document Number 22112369-120 R000
Page 79
:FAULt:DEVice?
Description
Returns an integer which, when translated to binary, indicates the state of all bits in the
device fault register for the device specified. A bit set as 1 indicates a TRUE condition.
If a bit of any device fault register is TRUE, the device fault bit of associated Slot fault
register will have corresponding bit set TRUE.
Important:
•
Reserved (unused) bits are returned with value 0.
•
Device without a fault register will return a value 0.
Input Format
:FAULt:DEVice? <D>
Output Format
<Register>
Parameter
Type
Value
Register
Integer
0 <= value <= 255
Device Fault Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RSVD
RSVD
RSVD
RSVD
OPM_ERR
OSW_ERR
No OPM
No OSW
Bit 0 (No OSW) is that OSW cassette can not be found in a device which is configured with an OSW cassette
Bit 1 (No OPM) is that OPM cassette can not be found in a device which is configured with an OPM cassette
Bit 2 (OSW ERR) is set when OSW cassette has an error.
Bit 3 (OPM ERR) is set when OPM cassette has an error.
Bit 4 – Bit 7 Reserved.
Default
0
Example
The following examples illustrate typical responses for the device fault register query for
device 2.
Terminal Input:
:FAULt:DEV? 2
Tls Example
Terminal Response: