EasyManua.ls Logo

Curtis 1238SE - Interfacing the Throttle and Brake Commands

Curtis 1238SE
152 pages
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 1232E/34E/36E/38E & 1232SE/34SE/36SE/38SE Manual, os 31 – May 2017 Return to TOC
pg. 98
e VCL functions described in the VCL Common Functions Manual are available to all 1232E/
SE, 1234E/SE, 1236E/SE, and 1238E/SE controllers. ese controllers have these additional specic
functions, listed below. All VCL functions, common and specic, are also available in the controller’s
os31 SysInfo le.
ENABLE_PRECHARGE() p. 117
DISABLE_PRECHARGE() p. 118
SET_DIGOUT() p. 119
CLEAR_DIGOUT() p. 119
ENABLE_EMER_REV() p. 120
DISABLE_EMER_REV() p. 120
SET_INTERLOCK() p. 121
CLEAR_INTERLOCK() p. 121
SETUP_POT() p. 122
GET_POT() p. 122
SETUP_POT_FAULTS() p. 123
START_PUMP() p. 124
STOP_PUMP() p. 124
AUTOMATE_FREQUENCY_OUTPUT() p. 125
OVERRIDE_EM_BRAKE_PWM() p. 126
RESTORE_EM_BRAKE_PWM() p. 126
MAP_TWO_POINTS() p. 127
BATTERY_COMPENSATE() p. 128
VARIABLE TYPES
VCL provides dedicated space in which to store custom variables. ere are four types of variables,
based on their type of storage: volatile storage (RAM) and three types of non-volatile storage
(EEPROM) are available.
RAM variables are stored only while power is on; they are lost at power-down. They must be
initialized on power-up by explicit VCL assignments (i.e., User1 = 12).
NVUser1–15 EEPROM variables are 15 variables automatically saved at power-down and restored
at power-on. During power-down or a power-failure (brownout), these variables are saved to NVM1.
During operation, these variables are also periodically saved (every 6 minutes) to NVM2, thus two
locations are used to preserve the data. At power-up, the data in NVM1 is read rst, yet if it is
corrupted, the data from NVM2 is restored. See the section on non-volatile memory access in the
VCL Common Functions manual for more information, including caution to changing the NVM2
save rate, and rational of the save/restore strategy.
Block EEPROM are 38 blocks of 15 variables (total of 570 variables), which are stored and recalled
using the functions NVM_Block_Read and NVM_Block_ Write. e 38 blocks are called NVM3–
NVM40. e read and write functions must point to the RAM variables that the EEPROM blocks
should be written from or read to. For example, NVM_Block_Read(NVM10,0,15,User20) will
read the 15 variables stored in EEPROM block NVM10 and restore those variables to the 15
variables starting with RAM variable User20 (so the 15 EEPROM variables would be restored
to User20–34). See the section on non-volatile memory access in the VCL Common Functions
manual for more information.

Table of Contents

Related product manuals