12 digital inputs, Digital inputs – High Country Tek emc-3L User Manual

Page 23

Advertising
background image


Program file - .PGM (Normal File Set)
The .PGM file is the compiled application file that is loaded into the DVC along with information from the .MEM
file.

Memory file - .MEM (Normal File Set)
The .MEM file stores settings for the inputs and outputs etc.

Backup file - .BAK (Normal File Set)
The .BAK file stores the last .DVC file unedited each time the user compiles the code. If the user wanted to
delete all changes from the current compiled code back to the last time the code was compiled the user may
close the file, delete the current .DVC file and rename the .BAK file to .DVC and reopen the file. The file will
open to the same condition as it was before it was compiled the last time.

Header Listing - .HDR (Extended “Debug” File Set)
The Header Listing file can provide the user with a quick way to look up variables that may be directly accessed
and manipulated from within the application code.

Code Listing & Assembly Listing - .ASM (Extended “Debug” File Set)
The Code and assembly listings are two ways of looking at the current saved file and are derived from the
current file set.

Memory Map & Memory Hex Listing - .MAP (Extended “Debug” File Set)
The Memory map is a listing of where each variable is stored n memory. The Hex listing is a Hexadecimal
representation of the Memory Map.

Program Hex Listing (Extended “Debug” File Set)
The Program Hex Listing displays the current .DVC file in hexadecimal format.

3.12

Digital Inputs

Eight digital inputs are provided in the DVC710
controller. The user can use the Program
Loader Monitor to monitor the state of the digital
inputs on the DVC710.

Digital inputs are set by the opening or closing of
a switch during system operation. The activation
of a switch presents a voltage waveform to a
DVC710 digital input pin. The DVC hardware
and software interpret the waveform and convert
it to a true or false value for the application
program. The true or false value (> 0 or 0
numeric values respectively) is passed to the
application program via a program variable with
the name of the input. Your application program
control logic then determines what to do given
this input state.

The DVC710 Digital Inputs may be configured as Sinking or Sourcing. In the Sinking case, the switch is
powered externally and the digital input pin detects the switch being open or closed and supplies a connection
to ground through a resistor for the current when the switch is closed. In the Sourcing case, the DVC supplies
the power (i.e. +5vdc reference voltage through an external 1k ohm resistor via a second DVC reference pin

0 Volts

+ Volts

Switch

De-Bounce

De-Bounce

Time

Input State Recognized

Time

Digital Input Behavior, Voltage In vs. Time

P/N: 021-00163, Rev. A.0 - for V5.2 Tools

Page | 23

Advertising
This manual is related to the following products: