10 — VEHICLE CONTROL LANGUAGE (VCL)
Curtis 1232E/34E/36E/38E & 1232SE/34SE/36SE/38SE Manual, os 31 – May 2017 Return to TOC
pg. 106
Aer this nal selector switch the throttle signal is the VCL variable called rottle_Command, which
is displayed as rottle Command in the 1313/1314 Monitor » Inputs menu. rottle_Command is the
nal value of the throttle signal chain that is input to the Control Mode Processing block; see Figure 16.
Checking the value of rottle Command using the 1313/1314 is a good way to see the nal throttle signal.
If ABS (rottle_Command) > 1 count, the motor controller will output signals to the motor to
make it spin.
For investigating why a motor is not spinning, it is useful to use the 1313/1314 programmer to check
the state of the throttle signal from beginning to end: using rottle_Pot_Raw, Mapped_rottle,
and rottle_Command. Once these values are known, the Motor Command Diagram (Figure 15)
can be used to nd how that signal progressed from input to nal value.
e following throttle processing variables are accessible by VCL:
VCL Variable
CAN Object Index
Access Decription
Throttle_Pot_Raw
0x3215 0x00
Read Only Voltage measurement at pin 16, scaled for the proper wiring.
OS_Throttle
0x3518 0x00
Read Only
Throttle pot value after mapping, to be used in VCL when VCL
Throttle Enable = On and Throttle Type = 1 – 4.
Scale: 0 – 100%, 0 – 32,767
Mapped_Throttle
0x3211 0x00
Read Only Throttle pot value after mapping.
VCL_Throttle
0x3218 0x00
Read/Write VCL-accessible throttle command.
Throttle_Multiplier
0x3213 0x00
Read/Write Multiplies or divides the throttle signal.
Throttle_Offset
0x3214 0x00
Read/Write Provides a ± offset to the throttle signal.
Throttle_Command
0x3216 0x00
Read Only Command resulting from throttle processing.
Brake Processing
Brake processing is optional as it can be turned O by setting Brake_Pedal_Enable = O. If turned On,
brake processing can be done with or without VCL. When the controller is in Speed Mode, any non-
zero brake command will then override the throttle signal and the motor controller will brake to a stop
as determined by the Brake Current Limit and Brake Taper Speed parameters. When the controller is
in Torque Mode, the brake command is multiplied by 2 and subtracted from the throttle command
to produce the nal command; thus a 50% brake command will cancel a 100% throttle command.
e lower part of Figure 15 shows the brake signal processing section. e brake signal chain ows
from le to right starting with the physical brake pot. e voltage on the brake wiper input (pin 17)
is processed by the controller and has the VCL variable name Pot2_Raw which is displayed as Pot2
Raw in the programmer’s Monitor » Inputs menu. is brake signal is then modied by the Brake
Type Processing and Brake Mapping blocks.
e Brake Type Processing block uses the Brake_Type parameter and the brake potentiometer input
(Pot2_Raw) to create a signed 16-bit variable. is brake signal then passes to the Brake Mapping
block, which re-shapes the brake signal according to the various Brake Menu parameters.
e brake signal next passes through a selector switch. If the Brake_Type parameter is set to 5 (Brake
Type = VCL input), the Brake Mapping block output signal is ignored and the command comes from
the VCL variable VCL_Brake. e VCL program manipulates the VCL_Brake variable to get a brake
command. Custom braking functions can be set up in this fashion; e.g., braking based on a switch
Quick Links:
Brake Menu
Brake Pedal Enable p.48
Current Limits Menu
Brake Current Limit p.43
Brake Taper Speed p.41
Monitor
Inputs » Pot2 Raw p.70
Figure 15 p.105
Figure 16 p.108