EasyManuals Logo

Curtis 1310 User Manual

Curtis 1310
51 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
Page #25 background imageLoading...
Page #25 background image
6- VEHICLE CONTROL LANGUAG E
VEHICLE CONTROL LANGUAGE
INTRODUCTION
Curtis 1310 Vehicle System Controller is similar to a programmable logic controllers with
application specific functions generally found in the vehicle control industry. Key to the
flexibility and application of the Curtis 1310 is a proprietary software language; VCL (Vehicle
Control Language). VCL software provides a fast and easy way to implement unique and
complex vehicle control functions.
VCL is a programming language that will feel very familiar to anyone who has worked with
BASIC, Pascal, or C. VCL code is written on any code writing program (such as Code Warrior or
UltraEdit) or non-formating text program (such as Windows Notepad). VCL software is
complied, managed and downloaded into the 1310 using the Curtis developed WinVCL PC
program.
The common portions of the VCL programming language are described in the VCL
Programmer’s Guide and the VCL Common Functions Manual. These two manuals include
more detailed information about VCL than is included here and should be your starting point if
you are not yet familiar with VCL. A third manual, the WINVCL Users Guide should also be
reviewed prior to starting your VCL programming.
This section describes aspects and functions of VCL that are unique to the 1310 product, and
provides a basic summary overview of VCL.
Summary of VCL Basics
VCL is not case-sensitive:
put_pwm(), Put_PWM(), and PUT_PWM() are identical.
Spaces in variable and constant names are not allowed in VCL;
use underscores in place of spaces. For example: SW_1 is the
VCL name for the switch input #1
Functions are followed by parentheses;
for example:GET_ADC() is a function. ADC7_Output is a variable.
Logical statements must be inside parentheses;
examples: IF (setpoint >50)
ELSE IF ((setpoint <20) & (temperature >100)).
Comments are preceded by semicolons.
example: ; This is a comment
1310 Vehicle Control System Users Manual Release Rev B Page 25 of 51
6

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Curtis 1310 and is the answer not in the manual?

Curtis 1310 Specifications

General IconGeneral
BrandCurtis
Model1310
CategoryController
LanguageEnglish

Related product manuals