Return to TOC Curtis 1239E-1269E Manual, os 37.0 RevA – May 2021
10 — VEHICLE CONTROL LANGUAGE (VCL)
pg. 103
10 — VEHICLE CONTROL LANGUAGE (VCL)
e Curtis 1239E/1269E controller has a built-in programmable logic controller with application-
specic functions. VCL (Vehicle Control Language) soware provides a way to implement unique
and complex vehicle control functions.
VCL is a simple programming language that will feel very familiar to anyone who has worked with
BASIC, Pascal, or C. Working with VCL requires the installation of the WinVCL program onto a PC.
WinVCL will compile VCL programs and ash download the soware into the controller through the
computer’s serial port. e install process for WinVCL will also install two important manuals on the
PC: the VCL Programmer’s Guide and the VCL Common Functions Manual. ese two manuals, which
are in PDF format, include more detailed information about VCL than is included here.
is chapter of the manual summarizes VCL and also describes aspects and functions of VCL that
are specic to the 1239E/1269E controller. For a more complete understanding of the functions and
capabilities of VCL, see the WinVCL User’s Guide, VCL Programmer’s Guide, and VCL Common
Functions Manual.
Summary of VCL Basics
• VCL is not case-sensitive:
put_pwm(), Put_PWM(), and PUT_PWM() are identical.
• Spaces in variable names are not allowed in VCL; use underscores in place of spaces.
Example: Forward_Offset is the VCL name for the 1313/1314 parameter
Forward Oset.
• Functions are followed by parentheses; for example:
Reset_Controller() is a function
Reset_Voltage is a variable.
• Logical statements must be inside parentheses; examples:
IF (setpoint >50)
ELSE IF ((setpoint <20) & (temperature >100)).
• Comments are preceded by semicolons.