Curtis 1232E/34E/36E/38E & 1232SE/34SE/36SE Manual, os 30
123
24 NOVEMBER 2015
To add automatic fault actions to the VCL faults, the VCL program-
mer must define the desired fault actions by using the sixteen VCL variables:
User_Fault_Action_01 through User_Fault_Action_16. Each of the UserFault
bits has a corresponding User_Fault_Action_xx variable (where “xx” is the
number of the VCL fault bit). When a VCL fault bit is set, the actions defined
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 SettheInterlock_State=O
* 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 = [reserved] [n/a]
* 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.
e 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
is time when UserFault1.2 is set, the operating system will ShutdownInterlock
and Shutdownrottle (which will result in a rottle_Command = 0%) in ad-
8 — VCL