10 — VEHICLE CONTROL LANGUAGE (VCL)
pg. 121
Return to TOC Curtis 1232E/34E/36E/38E & 1232SE/34SE/36SE/38SE Manual, os 31 – May 2017
SET_INTERLOCK( )
is function is used to engage the system interlock using VCL. e Interlock Type parameter (page 52) 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 15.
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 the
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 15.
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.