High Country Tek emc-3L User Manual

Page 31

Advertising
background image


The following gives the definition as well as an overview of each of the fields in the Universal Input screen not
covered in the Analog Inputs section.

Input Type
Contains all the configuration selections for the universal input
Range: Analog Input, RPM Pulse Input, Counter Mode, and Quadrature Mode

Input Range
Select the range of the input voltage or current for the Input
Range: 0 volts to 5 volts, Volts to 10 Volts, -1 volt to 1 Volt, and 0 milliamps to 22 milliamps

Pulses Per Rev
The amount of pulses the processor will detect in one revolution
Range: 1 to 9999

Pulse Time Out / Loss of Signal (.LOS)
The amount of time it takes before turning RPM to 0 in RPM mode and/or setting the name.LOS flag if no pulses
are detected for RPM, Counter and Duty Cycle modes.
Range: 0 to 10.0 seconds

Count Limits
The max and min value for the pulse counter.
Min: 0 to 65535
Max:

0 to 65535


Duty Cycle Input High / Low
The Duty Cycle Input High / Duty Cycle Input Low feature of the Universal inputs is intended to read the
percentage of Duty Cycle Output from either an ECM or other sensor that uses a 0 – 5 Volt or System Voltage
Duty Cycle output to report its information. The advantage of this type of input is that changes in system voltage
do not affect the output state of the sensor. The State of the input is reported to the application code as a 10 bit
number (i.e. Engineering Units) and reported to the PLM as a percentage. It will automatically read PWM signals
from 30 Hz to 1.5 KHz. Duty Cycle High assumes that a high voltage with no pulses would be 100% and Duty
Cycle Low assumes that a ground at the input would be 100%. When using the Duty Cycle Input feature, the
application should monitor the name.LOS flag to ensure that the signal received by the external sensor is valid
and current. During the event of an invalid signal, the application programmer may then decide what action to
take.
Range: 5% to 95%

Universal Input Code Sample

Code Comments

If (Uni_1 > 5%) Then

Test to see If Input % is greater than 5%

PWM_1 = Uni_1

Sets an PWM% output to the Analog Input %

PWM_1.Dir = Uni_1.Dir

Set direction of a dual coil based Input (if center enabled)

If( Uni_1.MaxF) then

Test Maximum Volts threshold reached

If (Uni_1.RealRPM > 500) then

Test Actual RPM > 500 RPM

Uni_1.MaxVolt = Uni_1.RawVolts

Set voltage max to volts seen (Calibration Example)

If (Uni_1.LOS) then

Test loss of signal (pulse input only)

Uni_1.Counter = 512

Set counter to value (Counter or Quadrature type only)


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

Page | 31

Advertising
This manual is related to the following products: