4 dvc41, Dvc41 – High Country Tek DVC80 User Manual

Page 84

Advertising
background image

P/N: 021-00154, Rev. A.6 - updated for V4.7 Tools

Page | 84

Digital Input Code Sample
Code

Comments

If (Dvc22.I40 = True) Then

If logic test True or False based on the state of the input

Dvc41.A1 = Dvc22.I1

Sets an output to the state of the Input


Note: The input state cannot be set or reset by the application. The input must be set or reset by the physical
input. For example if an input is set to toggle mode and the input is toggled on with a pulse on the input during
operation, a second voltage input is required on the input to reset the input flag from its present state. The
application code cannot reset the input.

6.4 DVC41


The DVC41 screen is broken up into
three areas: Name, MAC ID, and
Individual Output Configuration. The
Name is used to uniquely identify a
particular DVC expansion module. The
MAC ID tells the DVC10 how to address
the DVC41 Module when
communicating over the CAN Bus and
must be specified and be unique. To
configure the DVC41 outputs, give the output a Name and check the LED
box if that output is driving an LED. 12 High Side Outputs for Bang-Bang
valves or LEDs are provided.

High-Side Output

High-Side Outputs are sourcing outputs that are either true or
false (on or off). The Output is enabled when a name is
typed in to the Name textbox for that output's subgroup.

Name:
The name used in the bubble logic screen to access this variable and properties.
Range: 16 Alpha/Numeric characters only with no spaces.

LED Output:
If this Output is controlling an LED, check this box. This selection will configure the DVC41 internal resistor to
be in series with the output, so the output can directly control an LED.
Range: Checked or Unchecked

DVC41 Program Variables

DVC41.Status

Get

the state of the flag.

Range: 0 = Module is Online
2 = Module is Offline

DVC41.Name or Name Set/Get the state of the switch.

Range: False or Off, True or On

Advertising
This manual is related to the following products: