Return to TOC Curtis 1239E-1269E Manual, os 37.0 RevA – May 2021
10 — VEHICLE CONTROL LANGUAGE (VCL)
pg. 127
SET_INTERLOCK( )
is function is used to engage the system interlock using VCL. e Interlock Type parameter (page
55) must be set to = 1 in order for the Set_Interlock() function to operate. If the system interlock is
set (Interlock_State bit variable = On), the throttle input signal is allowed to pass along the throttle
chain; see Figure 18. Additionally, if the main contactor is used (Main Enable parameter = On),
setting the interlock will request the main closed state from the main contactor state machine. To
view the current interlock state, see Monitor » Inputs: Interlock. To view the current main contactor
state, see Monitor » Controller: Main State.
When the Interlock_Type is set to = 1 and neither the Set_Interlock() nor the Clear_Interlock()
function has been called, the state for the interlock is O (Interlock_State bit variable = O).
Syntax:
Set_Interlock()
Parameters: None.
Returns:
0 – Interlock not set.
1 – Interlock successfully set.
Error Codes: None.
Example:
Set_Interlock()
This will engage the system interlock.
CLEAR_INTERLOCK( )
is function is used to disengage the system interlock using VCL. e Interlock Type parameter
must be set to = 1 in order for the Set_Interlock() function to operate. If the system interlock is
cleared (Interlock_State bit variable = O), the throttle input signal is not allowed to pass along the
throttle chain; see Figure 18. Additionally, if the main contactor is used (Main Enable parameter =
On), clearing the interlock will request the main open state from the main contactor state machine. To
view the current interlock state, see Monitor » Inputs: Interlock. To view the current main contactor
state, see Monitor » Controller: Main State.
When the Interlock_Type is set to = 1 and neither the Set_Interlock() nor Clear_Interlock() function
has been called, the default state for the interlock is O (Interlock_State bit variable = O).
Syntax:
Clear_Interlock()
Parameters: None.
Returns:
0 – Interlock not cleared.
1 – Interlock successfully cleared.
Error Codes: None.
Example:
Clear_Interlock()
This will disengage the system interlock.