Program variables – High Country Tek emc-3L User Manual
Page 41
[>999]
Invalid assignment, BIOS would ignore this and reset the Blinkcode variable to 0
3.18
Program Variables
Program variables are identifiers that are used by your application program to refer to specific input values and
to control the operation of a specific output. This section is divided into various subsections according to Input /
Output category. The following gives the definition of all the program variables:
Miscellaneous Variables
Name Description
Range
Supply
The Power Supply voltage. The value
returned is in units of supply volts (sv)
DVC_Temperature
Internal DVC710 controller temperature.
The value returned is in units of degrees
C + 40. Therefore, –40 C is returned as
0.
FreeRunningTimer
16 bit counter that continually increments
every 100 micro second. Counts from 0
to 65535 (6.5 seconds) then begins
again. Could be used to show timing
between two events, as long as these
events were within 6.5 seconds.
MACID
This variable returns the MACID of the
DVC controller.
HC_Coil_Gain_OG1
to OG3
These variables return the coil gain
constant used by the BIOS to determine
actual coil current from analog to digital
values derived by the controller’s
processor. You use these values if you
wish to dynamically change maximum
and minimum current setting in your
application.
0 to 1023
LC_Coil_Gain_OG1 to OG3
Max_cur = (current_in_ma * 100) /
HC_Coil_Gain_OG1
0 to 1023
BlinkCode
The Status LED blinks the amount of
times equal to the number written to this
location. When the blinking is done, the
value for this location will be 0.
0 to 65535
P/N: 021-00163, Rev. A.0 - for V5.2 Tools
Page | 41