10 — VEHICLE CONTROL LANGUAGE (VCL)
Curtis 1239E-1269E Manual, os 37.0 RevA – May 2021
Return to TOC
pg. 122
is time when UserFault1.2 is set, the operating system will ShutdownInterlock and Shutdownrottle
(which will result in a rottle_Command = 0%) in addition 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 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
Denition. Creating 1313/1314 fault denitions is a subject that is covered in detail in the VCL
Programmer’s Guide (Chapter 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 UserFault1_History
; ADDRESS UserFault1
; BITSELECT 1
; BITACTIVELOW NO
; END