Single Channel Operation - VXI VM4016 User Manual

Vxi analog comparator user's manual
Table of Contents

Advertisement

www.vxitech.com
S
C
O
INGLE
HANNEL
PERATION
This example is for controlling a device that can tolerate a maximum input voltage level at
+35 V dc for a maximum time of 250 ms before damage will occur. The input power to this
device is provided from a remote source that can be disabled. A low signal applied to the power
source remote inhibit will disable its output. The controller will then be notified that an out-of-
tolerance condition has occurred and the device was shut down.
The following code is for monitoring a single input for voltage level that exceeds +35 V dc for
longer than 250 ms. A low latched output is required to be generated upon detection of the
interrupt that is used to inhibit the remote power source.
COMMANDS
INP:RANG 100,(@1)
INP:DEB 0.25
INP:MASK 1,(@1)
INP:MASK 0,(@2:16)
INP:POL NORM,(@1)
INP:OFFS +3.5,(@1)
OUTP:POL:EXT:LATC INV
Table 3-1 and the explanation that follows illustrates what is occurring during this example.
VM4016 Programming
DESCRIPTION
Selects ±100 V as the input range for Channel 1.
Sets the debounce time limit to 250 ms.
Enables Channel 1 to generate an interrupt.
Disables Channels 2 through 16 from generating an
interrupt.
Selects Channel 1 to generate an interrupt when
Channel 1 is greater than the offset voltage.
Selects +35.0 V as the offset (reference) voltage.
Sets the external latched output to be active low.
35

Advertisement

Table of Contents
loading

Table of Contents