3 programming the dvc family, Programming the dvc family, Compiling your program to create the output files – High Country Tek DVC80 User Manual

Page 25: 3programming the dvc family

Advertising
background image

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

Page | 25

3

Programming the DVC Family


The "Programming Tool" is used to create your application for the DVC5/7/10. The "Program Loader Monitor" is
used to load the user application into the DVC5/7/10 module and monitor the inputs and outputs in real-time
mode as your application executes. Both programs are located in the Windows Start Menu under the
c:\Program Files\HCT Products. In order to create a user application, the following steps generally should be
followed:

a) Architect your system. In the design process compile a total list of digital inputs, pulse inputs, pwm outputs

etc. A total I/O count is needed to assure the correct amount of DVC inputs / outputs are specified in
external modules, if needed. Also, remember to allow room for expansion with spare I/O.

b) Define your system components and their interactions. HCT does have experience with a wide variety of

sensor manufactures. Request a sensor recommendation sheet of sensors known to work with the HCT
system.

c) Start the Intella Programming Tool. Create a new project by saving the file, i.e. hydraulic log splitter. Select

your Project type to be a DVC5, DVC5/J1939, DVC7 or DVC10 project.

d) Configure the DVC5/7/10 and DVC expansion module’s inputs and outputs that drive or sense your

components. With the mouse on the screen, right click to choose the expansion module. Insert the
expansion module, set the modules unique name and Mac ID#. Assign names to the real world I/O, refer to
section 1.16 for further guidance on I/O names.

e) Create a flow diagram of machine function (a.k.a Sequence of Operations) refer to section 1.16 and

Appendix F for additional information. Once the Sequence of Operations (SoO) is complete, this needs to
be converted into a program. The ‘always’ code as well as bubble logic sequences will be used during this
step. Refer to section 5 for programming examples. Refer to Appendix A for compiler keywords. Program
the control logic as to how the outputs respond to the inputs.

f) Compile the program. Refer to section 3.1.
g) Load the compiled program files into the DVC5/7/10. Refer to section 3.5.
h) Run your system and debug your application.

Graphical windows allow you to specify the system components you will need and the electrical characteristics
of your inputs and outputs. Text screens are provided to enter the program control logic (using a subset of the
Basic language) for both your time critical and normal operations.

3.1

Compiling Your Program to Create the Output Files

After configuring the DVC5/7/10 inputs and outputs and creating the program code, click the Compile menu item
in the Project window and select Make to create the output files. If there are no errors, the Programming Tool
will create two or three files. The two primary files needed for the next step are projectname.pgm and
projectname.mem. These are the two files that will be loaded into the DVC5/7/10. A third file projectname.inf is
generated if a DVC70 is in the project. A fourth file projectname.dvc is the project file where all of the
programming tool information is contained.

Note: If the compiler detects an error during compilation, an error display will pop up and the line in your
program with the error will be highlighted.
3.2

Loading DVC Filesll projectname.dvc files contain information enabling the system to open previously

saved project files. Once open you can make modifications to the Input / Outputs, control code and system
configuration. To open a project, click on the File menu item in the Project window and select Open. Finally,
select the appropriate “projectname.dvc” file.

Advertising
This manual is related to the following products: