EasyManua.ls Logo

Prema DMM 5017 - SRE Service Request Enable Command; SRE? Service Request Enable Query; STB? Read Status Byte Query

Prema DMM 5017
153 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RS232 / IEEE-488.2 Common Commands
_____________________________________________________________________________________________________________________________________
5-8
*SRE Service Request Enable Command
The command "*SRE <Number>" sets the mask for the Service Request Enable
Register. The individual numbers here have the following meaning:
Decimal value Contents of the Service Request Enable Register
0 Resets the register.
1 (Bit 0), sets measurement value
2 (Bit 1), sets Error message like "Overflow", "Sensor?", "Div/0"
4 (Bit 2), sets Error Available (EAV)
16 (Bit 4), sets Message Available (MAV).
32 (Bit 5), sets Event Summary Bit (ESB).
128 (Bit 7), sets button pressed
Bit 3 and 6 are not assigned.
*SRE? Service Request Enable Query
The command "*SRE?" reads the contents of the Service Request Enable Register.
The meaning of the contents of this register is as described above for the *SRE
command.
*STB? Read Status Byte Query
The command "*STB?" reads out the status byte of the 5017. The value of the Status
Byte is always 0, because the measurement value is set back after a new command.
Use SRQ if you want to check when a maeasurement value is available.
Decimal value Meaning in the status byte register
1 (Bit 0), Measurement Value available
2 (Bit 1), Error like "Overflow", "Sensor?", "Div/0" occured
4 (Bit 2), Error Queue.
16 (Bit 4), Message Queue.
32 (Bit 5), Event Summary Bit (ESB).
64 (Bit 6), Master Summary Status (MSS)/ Request Service (RQS)
128 (Bit 7), Button pressed

Table of Contents