www.vxitech.com
SINGLE CHANNEL OPERATION
This example is for controlling a device that can tolerate a maximum input voltage level at +35 VDC 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
The following code is for monitoring a single input for voltage level that exceeds +35VDC 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 | DESCRIPTION |
INP:RANG 100,(@1) | Selects ±100 volts as the input range for Channel 1. |
INP:DEB 0.25 | Sets the debounce time limit to 250 ms. |
INP:MASK 1,(@1) | Enables Channel 1 to generate an interrupt. |
INP:MASK 0,(@2:16) | Disables Channels 2 through 16 from generating an |
| interrupt. |
INP:POL NORM,(@1) | Selects Channel 1 to generate an interrupt when |
| Channel 1 is greater than the offset voltage. |
INP:OFFS +3.5,(@1) | Selects +35.0 volts as the offset (reference) voltage. |
OUTP:POL:EXT:LATC INV | Sets the external latched output to be active low. |
Figure 3-1 and the explanation that follows illustrates what is occurring during this example.
VM4016 Programming | 35 |