High Country Tek DVC80 User Manual

Page 62

Advertising
background image

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

Page | 62

Click the Project menu item and select the controller type you have.
Double click on the DVC5/7/10 Master icon to open the DVC configuration window.
Enter Hello in the Program Name field.

Next, enter the Always bubble code.

Double click the Always icon in the Project window. Enter the code as shown into the empty edit window.
Select the Make item from the Compile menu in the Project window. When prompted save your project in
c:\Program Files\HCT Products\myproject.dvc. This completes the code generation, compilation and project
saving.
Next, load and execute the compiled Hello program.

Execute the Program Loader Monitor program by double clicking on the Program Loader Monitor icon in the
c:\Program Files\HCT Products folder.

Now execute the following steps.
The first time the Loader Monitor program executes you
may be asked to specify the COMM port your RS232
cable is attached too. Select the appropriate check box.
Double click on the DVC5/7/10 Master (yellow) button.
Double click the Program Load button (shows as Please
Wait on the shown display) in the DVC5/7/10 window.
Turn the power to the DVC5/7/10 off and on to cause the
DVC to initiate the download process.
Select the blue Load Application button.
Using the file locator window navigate to the project
program download file myproject.pgm in
c:\Program Files\HCT Products\myproject.pgm and open
it.
After a few seconds and when prompted turn the
DVC5/7/10 power off and on. This will cause the
application program to execute.
Your DVC should now have a slowly flashing red status LED.

You have successfully completed your first DVC application program.

5.3

Binary Counter Example for the DVC5 or DVC10 Controllers

The DVC7 has fewer LEDs and as such will not execute this example. The programming techniques illustrated
are supported on the DVC7.

This example is designed to operate with only a DVC5/10 connected to your computer using the DVC RS232
cable and a +12 volt dc 1.0 amp power source. The DVC RS232 serial cable is used to load your application
into the DVC controller’s memory from your Windows
XP PC and read data from the DVC for the Virtual
Display.

This example builds on the Hello example and
introduces you to 5 other concepts namely:
Always Bubble programming
Logic sequences consisting of Bubbles and
Transitions
Variable Initialization

Advertising
This manual is related to the following products: