Computer Operations
Computer Interface Commands and Operation
4
4-29
Table 4-5. Command and Query Reference (cont)
ALARM_DO_LEVEL Alarm Digital Output Level
Configures rear panel ALARM OUTPUTS lines for I/O functions.
ALARM_DO_LEVEL <DO_line>,<DO_state>
<DO_line> = (0 .. 3)
<DO_state> = 1 (high) 0 (low)
The rear panel ALARM OUTPUTS lines 0 to 3 are hard-wired to output
alarm conditions for channels 0 to 3, respectively. If all or some of
channels 0 to 3 are not configured for alarm outputs, the associated
ALARM OUTPUTS line can be assigned to go logic high or low with this
command. The line may be set to a logical low. (nominal =0.7V DC), or set
to a logical high (nominal =5.0V DC).
Example: ALARM_DO_LEVEL 3,0 [Set ALARM OUTPUTS line 3 to a
logical 0.]
ALARM_DO_LEVELS? Alarm Output State Query
Returns an integer between 0 and 15 that summarizes the logical state of
the rear panel ALARM OUTPUTS lines 0 to 3. Since the lines can be used
as alarm outputs or DIGITAL I/O functions, the query represents the actual
conditions at time of query. There are 16 possibilities, as shown below (0 =
logic low):
Line Line Line Line Returned
3210Integer
00000 -(all 4 alarms active)
00011
00102
00113
01004
01015
01106
01117
10008
10019
101010
101111
110012
110113
111014
111115 -(no alarms active)
Example: ALARM_DO_LEVELS? returns 15 [All lines are logic high.]