10 — VEHICLE CONTROL LANGUAGE (VCL)
pg. 107
Return to TOC Curtis 1232E/34E/36E/38E & 1232SE/34SE/36SE/38SE Manual, os 31 – May 2017
position or an internal fault. e brake potentiometer can still be used, but must be set up using the
Setup_Pot() function. When the Brake Type is set to 1–4, the variable VCL_Brake does nothing and
the Brake Mapping block output signal passes through.
Aer the “Brake Type = 5” switch, the brake signal passes through a limiter which limits the brake
signal to a range of 0–100% (0–32767). Aer the limiter the brake signal is a VCL variable called
Mapped_Brake, which is displayed as Mapped Brake in the Monitor » Inputs menu. Checking the
value of Mapped_Brake is a good way to see if your Brake Menu parameters are set correctly. A VCL
program can control the brake by changing the variable VCL_Brake (only if Brake Type = 5).
The brake signal then goes through a selector which will change it to 100% if the fault-action
FullBrake is active. (see Troubleshooting Chart).
e brake signal then goes through a third selector switch that will set the brake signal = 0% if the
Brake Pedal Enable parameter is set O. If set On, then the brake signal will pass through to the
Control Mode Processing block. e brake signal aer this third selector switch is the VCL variable
called Brake_Command and Brake Command in the Monitor » Inputs menu.
Brake_Command is the nal value of the brake signal chain that is input to the Control Mode
Processing block; see Figure 16. Checking the value of Brake_Command using the 1313 is a good
way to see the nal brake signal. Note: If Brake_Command is non-zero in Speed Mode Express or
Speed Mode, the rottle_Command will be set to 0% (see Fig. 16).
e following brake processing variables are accessible by VCL:
VCL Variable
CAN Object Index
Access Decription
Pot2_Raw
0x3217 0x00
Read Only Voltage measurement at pin 17.
OS_Brake
0x3519 0x00
Read Only
Brake pot value after mapping, to be used in VCL when VCL
Brake Enable = On and Brake Type = 1–3.
VCL_Brake
0x3219 0x00
Read/Write VCL-accessible brake command.
Mapped_Brake
0x3212 0x00
Read Only Brake pot value after mapping.
Brake_Command
0x321A 0x00
Read Only Command resulting from brake processing.
Control Mode and Motor Control Processing
Figure 16 begins with the rottle_Command and Brake_Command inputs and routes the signals according
to the selected control mode. For the speed modes, a switch will zero the rottle_Command if the Brake_
Command is any value but 0%. e signal chains are then directed to Speed Mode Express, Speed Mode,
or Torque Mode based on Control Mode Select. Note that in Torque Mode there is no emergency reverse.
e control mode function uses algorithms to convert the incoming throttle and brake signals, the
motor rpm, and associated parameter settings into a Controller Torque Command.
Based upon the control mode selected, the desired Controller Torque Command is calculated, which
is passed to the Motor Control block (see Figure 15). e Motor Control block uses its mathematical
model of the specic motor & technology to generate the high eciency three-phase outputs that
drive the AC motor via the cables connected to the U, V, and W terminals. For AC Induction
motors, 323 motor characterizations are available using the Motor Type parameter, or a motor can
be characterized (Motor Type 0) following the procedures in Chapter 8a. For application using an
SPM motor and a Sin/Cos sensor, follow the automated characterization procedure in Chapter 8b.
Always select the matching motor technology for the motor utilized.
Quick Links:
Brake Menu
Brake Pedal Enable p.48
Monitor Inputs
Brake Command p.70
Figure 15 p.105
Figure 16 p.108
Quick Links (for Control
Mode and Motor Control
Processing):
Figure 15 p.105
Figure 16 p.108
Motor Technology p.55
Motor Type p.57
Automated Characterization
AC Induction motors p.85
SPM w/Sin/Cos sensor p.91