15 controlling leds – High Country Tek DVC80 User Manual

Page 46

Advertising
background image

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

Page | 46


The following subsections give the definition as well as an overview of each of the fields in the Input/Output
functions window:

Name
This is the access word for the function’s associated properties.
Range: 16 Characters with no spaces. Valid 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.

Input
The 8 movable points on the x-axis with each input be of ascending values
Range: 0 to 100 %

Output
The 8 movable points on the y-axis, one for each input or x-axis value
Range: 0 to 100 %

Input Output Function Sample

Code Comments
Knee1.In = Ana_1

Input to IO Function Knee1 set to analog input %

PWM_1 = Knee1.Out

Set PWM Output to Output% from IO Function

Knee1.X0 = EESAVX0

Set X0 Input % to % value from EE memory

EESAVY0 = Knee1.Y0

Set EE memory location to the Y0 output%

EESAVY7 = Knee1.Y7

Set EE memory location to the Y7 output%

3.15 Controlling LEDs

High Side outputs on the DVC5/7/10, DVC41 and DVC50 can be used to illuminate an external LED. After
connecting the High Side output to the LED, power will be supplied when the HS variable is True.

The DVC7 and DVC5/10 have different ways of controlling their respective LEDs illumination due to the reduced
number on the DVC7. First we will describe the DVC5/10 control methods and second the DVC7 control
methods.

DVC5/10 LED Control

The DVC5/10 master controllers provide three types of LED control. First you can control the Status LED on the
module. Second you can turn on or off the LEDs for digital inputs and finally you can control power being
supplied to external LEDs. Each type is explained in more detail below.

Status LED
The red status LED is next to the power LED on the DVC5/10 modules. You can blink the status LED a given
number of times by setting the blink count into the system variable blinkcode.

Blinkcode = 10 blinks the status LED 10 times then must be reset to continue the blinking.

When coupled with using the unused digital inputs you can indicate an error with the status light and display an
error code using the digital input LEDs.

Advertising
This manual is related to the following products: