Procedures RS232 Modem Support
ML2437A/38A OM/PM PN: 10585-00001 Rev. P 6-9
a. Read the status register using the equivalent of a GPIB serial poll. Send the
message:
!SPL
The power meter will respond:
Px\n
x is the ASCII character determined by the value in the meter status register.
x = “B” gives a status register value of 01000010 binary. Comparing this with the status
byte description in Section 6-7 of the manual will show that the SRQ and limits error
bits are both set.
b. Alternatively the status register can be read directly using the command:
*STB?\n
This will respond:
Ry\n
y can be up to 3 digits and is the decimal representation of the status register.
y="66" gives a status register value of 01000010 binary. Comparing this with the status
byte description in section 6-7 of the manual will show that the SRQ and limits error
bits are both set.
Once the status register has been read, it must be cleared to allow further SRQ
messages to be sent. Before the status register is cleared, further autodial actions
(limits failure or sensor range error) should be disabled to prevent any unnecessary
autodial attempts by the meter when already connected to a remote PC. To clear the
status register, use the command:
*CLS\n
Note There is NO terminator to this message.