Chapter 5 Remote Interface Reference

Alarm System Overview

CALCulate

:COMPare:MASK <mask>[,(@<ch_list>)] :COMPare:MASK? [(@<ch_list>)]

Specify the mask pattern for comparisons on the specified DIO channels. You must specify the mask parameter as a decimal value between

0 and 255 (binary data is not accepted). Specify 1’s for active bits or 0’s for “don’t care” bits. The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s represents the slot number. The :MASK? query returns the mask pattern as a decimal value.

CALCulate

:COMPare:STATe {OFFON}[,(@<ch_list>) :COMPare:STATe? [(@<ch_list>)]

Disable or enable the comparison mode on the specified DIO channels. Note that the specified channels do not have to be part of the scan list to generate an alarm. Alarms are evaluated continuously as soon as you enable them. Alarms are evaluated constantly on the multifunction module, but alarm data is stored in reading memory only during a scan. The :STAT? query returns the state of the comparison mode.

Returns “0” (OFF) or “1” (ON).

254