104
Curtis 1298 Manual, OS 11
in the corresponding User_Fault_Action_xx variable will be automatically
executed by the operating system. Here are the fault actions available in the
User_Fault_Actions_xx variables:
VARIABLE FAULT ACTION
User_Fault_Action_xx
* Bit0 = ShutdownMotor Disable the motor
* Bit1 = ShutdownMainContactor Shut down the main contactor
(only if Main Enable = On)
* Bit2 = ShutdownEMBrake Shut down the EM brake
(only if EM Brake Disable Upon
Fault = On)
* Bit3 = ShutdownThrottle Set the Throttle_Command = 0%
* Bit4 = ShutdownInterlock Set the Interlock_State = Off
* Bit5 = ShutdownDriverl Shut down Driver1
* Bit6 = ShutdownDriver2 Shut down Driver2
* Bit7 = ShutdownDriver3 Shut down Driver3
* Bit8 = ShutdownDriver4 Shut down Driver4
* Bit9 = ShutdownPD Shut down Proportional Driver
* Bit10 = FullBrake Set the Brake_Command = 100%
* Bit11 = ShutdownPump Shut down DC pump
* Bit12 = TrimDisable Disable Dual Drive trim
calculation.
* Bit13 = SevereDual For Dual Drive system, one con-
troller has a severe fault but
the main contactor must stay
closed so the other controller
can continue to operate.
* Bit14 = ShutdownSteer Steer angle = 0°
* Bit15 = LOSDual For Dual Drive system, set the
max speed to Dual_LOS_Max_Speed
parameter for operation in
Limited Operating Strategy.
The User_Fault_Action_xx variables should be set up at the beginning of a
VCL program (before the main loop) as these fault actions should be defined
only once in a program. Here is another example:
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
This time when UserFault1.2 is set, the operating system will ShutdownInterlock
and ShutdownThrottle (which will result in a Throttle_Command = 0%) in
addition to flashing the code 52 on the controller status LEDs. An additional
VCL line was added (Put_Spy_Text (“BDI Low”)) to show how additional ac-
tions 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 mes-
7 — VCL