EasyManua.ls Logo

Curtis 1239E - BATTERY_COMPENSATE(); PUT_MESSAGE_TO_STRING()

Curtis 1239E
160 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10 — VEHICLE CONTROL LANGUAGE (VCL)
Curtis 1239E-1269E Manual, os 37.0 RevA – May 2021
Return to TOC
pg. 128
SETUP_POT( )
is function determines the type of electrical connection of the rottle Wiper (pin 16) and Pot2
High (pin 27) potentiometers (pot inputs).
One wire pots are a 0-5V input.
Two wire pots are rheostats.
ree wire pots use the pot-high and pot-low as their high and low references.
Syntax:
Setup_Pot(Pot_ID, Type)
Parameters:
POT_ID Pot (ID) Selector (THROTTLE_POT,or BRAKE_POT)
Type Pot type (ONE_WIRE, TWO_WIRE, or THREE_WIRE)
Returns:
0 Setup not successful
1 Setup successful
Errors
BAD_ID POT_ID out of Range
BAD_P_TYPE Pot Type out of Range
GET_POT( )
is function returns the value of the selected pot; 0 – 32767 equating to 0 – 100% over the 0 – 5.00V
input range.
Syntax:
Get_Pot(POT_ID)
Parameters:
POT_ID Pot Selector (THROTTLE_POT,or BRAKE_POT)
Returns:
0 Pot = 0 or error.
n Pot value.
Errors
BAD_ID POT_ID out of Range

Table of Contents

Related product manuals