User guide
P/N: 021-00154, Rev. A.6 - updated for V4.7 Tools     Page | 83  
Note: Regardless of what type of switch is used, the DVC22 will react according to the voltage seen at the input 
(above 2.5 volts is a high level and below a low level). Instructions for hooking up a switch to provide the 
desired voltage levels can be found in the hardware manual. 
Name: 
The name used in the bubble logic screen to access this variable and properties. 
Range: 16 Characters with no spaces. Usable characters are A-Z, a-z, 0-9, and "_". 
Rules: 
The first character cannot be a number. 
 Compiler Keywords or other Names already in use are not valid. 
De-bounce Time: 
The amount of milliseconds to wait before accepting a change in input states 
Range: 0 to 9990ms in 10ms Increments 
Polarity: 
Polarity has two types of control depending on the state of the software toggle. 
When No Toggle and Active High are set, the variable is true when the input is + Voltage. 
When No Toggle and Active Low are set, the variable is true when the input is Ground. 
When Toggle and Active High are set, the variable changes states on a rising edge. 
When Toggle and Active Low are set, the variable changes states on a falling edge. 
Range: Active High, and Active Low 
Software Toggle: 
Toggle reverses the True/False state of a variable. The digital inputs level does not directly set the variables 
value; rather, the rising or falling of the digital input will reverse the state of the variable. Software Toggle gives 
the programmer more options for controlling an input variable. 
When No Toggle and Active High are set, the variable is true when the input is + Voltage. 
When No Toggle and Active Low are set, the variable is true when the input is Ground. 
When Toggle and Active High are set, the variable changes states on a rising edge. 
When Toggle and Active Low are set, the variable changes states on a falling edge. 
Range: Toggle, No Toggle
   Software  Toggle   
Toggle No Toggle 
Polarity 
Active 
High 
Input changes states when Voltage 
goes from Gnd to > 2.5 Volts 
Input is True when voltage is > 2.5 
volts 
Active 
Low 
Input changes states when Voltage 
goes from > 2.5 Volts to Gnd 
Input is True when voltage is Gnd 
DVC22 Program Variables 
DVC22.Status  Get the state of the flag. 
Range: 0 = Module is Online 
    2 = Module is Offline 
DVC22.Name or Name  Get the state of the switch. 
Range: False or Off, True or On 










