Omega Engineering OMB-NETSCAN 1500 User Manual page 156

Ethernet/internet-based data logging & control instrument
Table of Contents

Advertisement

API Command Reference
TYPE
EXECUTION
SYNTAX
DESCRIPTION
The Assign Alarm Output (
condition(s) to a particular digital output. This command allows internal alarm conditions to be sensed by
external devices via the 32 TTL-level digital outputs located on the back panel of the unit.
To use alarms, the channels in question must be part of the channel scan. Once the channels are configured (by
using the
required. Alarming is totally independent of buffered operations.
If it is desired, an alarm event for a specific channel can be used as a stimulus for a digital output signal on the
back panel of the unit by using the
to set off an audible alarm or signal another device of the occurrence of the alarm condition.
To unassign a digital alarm condition, use
to a channel(s) will disassociate the channel(s) from any digital output.
Thirty-two digital signals are available on the back panel of the master unit. Although analog input channels on
the slave units can be used to stimulate alarms, no digital output signals are available on the slave units.
Regardless of the number of slaves connected, 32 external alarm signals are available.
A channel programmed with alarm setpoints will not generate an alarm unless it is over a setpoint when the scan
occurs. For example, if a channel goes above then below an alarm threshold in-between scans, it will not be
detected or posted.
Alarm detection will generate an SRQ. You can then issue an alarm query (
of the 32 alarm outputs.
EXAMPLE
PRINT#1,"C1-32, 1, -100.0,
100.0, 1.0X"
PRINT#1,"A1,1X"
PRINT#1,"A2-16,2X"
PRINT#1,"A17-25,3X"
PRINT#1,"A26-32,32X"
A-16
A
- Assign Alarm Output
System
Deferred
Achans,
Set alarm condition where
output
output.
chans
1
<
1
<
output
where
A?
Query channels assigned to digital output.
A
) command may be used to assign a particular channel, or range of channels, alarm
C
command) and made part of the scan, the alarms are active. No trigger or timebase assignment is
A
command to assign the channel to digital output. This signal can be used
chans
may be in two forms:
chan
chan
< max) or
first-last
first
<
last
<
max
), where max = 128 for NetScan.
is the digital output number with which to associate the channel(s),
0
<
output
<
32
.
0
, which is the null output number. Assigning the null output number
' Configure channels 1 - 32
' Assign channel 1 alarm to digital output channel 1
' Assign channels 2 - 16 alarms to digital output channel 2
' Assign channels 17 - 25 alarms to digital output channel 3
' Assign channels 26 - 32 alarms to digital output channel 32
is the channel(s) to assign to the digital
(for a single channel where
(for a range of channels where
A?
) which will return a 4-byte image
NetScan User's Manual
Appendix A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents