10 — VEHICLE CONTROL LANGUAGE (VCL)
pg. 115
Return to TOC Curtis 1232E/34E/36E/38E & 1232SE/34SE/36SE/38SE Manual, os 31 – May 2017
This time when UserFault1.2 is set, the operating system will ShutdownInterlock and
Shutdownrottle (which will result in a rottle_Command = 0%) in ad-dition to ashing the
code 52 on the controller status LEDs. An additional VCL line was added (Put_Spy_Text (“BDI
Low”)) to show how additional actions beyond those provided in the User_Fault_Action_xx can be
programmed using VCL. In this example the Put_Spy_Text(“BDI Low”) will result in the message
“BDI Low” appearing on the model 840 display (presumably as a message to the vehicle operator).
is example will still not result in any display on the 1313/1314 programmer System Faults and
Fault History menus.
To add the fault text on the System Faults and Fault History menus it is necessary to create a Fault
Definition. Creating 1313/1314 fault definitions is a subject that is covered in detail in the VCL
Programmer’s Guide (Section 5, Support for the 1313/1314 Handheld Programmer). Here is an example
of a fault denition:
User_Fault_Action_02 = 24 ; Set fault action to ShutdownInterlock
;and ShutdownThrottle
MainLoop:
if (BDI_Percentage < 10)
{
UserFault1.2 = ON ;Set User fault bit
Put_Spy_Text(“BDI Low”) ;Send message to Model 840 display
}
else
{
UserFault1.2 = OFF ;Clear User fault bit
}
goto MainLoop
; PARAMETER_ENTRY “BDI Low Fault”
; TYPE FAULTS
; WIDTH 8BIT
; ALT_ADDRESS Hist_UserFault1
; ADDRESS UserFault1
; BITSELECT 1
; BITACTIVELOW NO
; END