AIRCRAFT ELECTRICAL EVENTS

The event IDs listed here are all related to the aircraft electrical systems.

 

 

Alternator

Key Parameters Description
ALTERNATOR_OFF

[0]: alternator index

Turns the indexed alternator off. The alternator index is the N index of the alternator.N definition.
ALTERNATOR_ON

[0]: alternator index

Turns the indexed alternator on. The alternator index is the N index of the alternator.N definition.
ALTERNATOR_SET

[0]: The state on/off (bool)

[1]: alternator index

Sets the indexed alternator. The alternator index is the N index of the alternator.N definition.
ELECTRICAL_ALTERNATOR_BREAKER_TOGGLE

[0] Source bus index

[1] Target alternator index

Toggle the alternator breaker state with a bus. Takes two indices, the bus and the alternator index (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition, and the alternator index is the N index of the alternator.N definition.
TOGGLE_ALTERNATOR1
TOGGLE_ALTERNATOR2
TOGGLE_ALTERNATOR3
TOGGLE_ALTERNATOR4

N/A

Toggles alternator/generator 1/2/3/4 switch.
TOGGLE_MASTER_ALTERNATOR

[0]: alternator index

Toggles main alternator/generator switch. The alternator index is the N index of the alternator.N definition.

 


APU

Key Parameters Description
APU_BLEED_AIR_SOURCE_SET

[0]: bool

Sets if the APU is the source of the bleed air system (true) or not (false).
APU_BLEED_AIR_SOURCE_TOGGLE

N/A

Toggle if the APU is the source of the bleed air system or not.
APU_EXTINGUISH_FIRE

[0]: fire extinguisher index

Extinguish fire on APU using the indexed fire extinguisher.
APU_GENERATOR_SWITCH_TOGGLE

N/A

Turn the auxiliary generator on or off.
APU_GENERATOR_SWITCH_SET

[0]: New switch value (0, or 1)

[1]: index of the APU switch

Set the auxiliary generator switch (0,1).
APU_OFF_SWITCH

N/A

Turn the APU off.
APU_STARTER

N/A

Start up the auxiliary power unit (APU).

 

 

Batteries

Key Parameters Description
BATTERY1_SET
BATTERY2_SET
BATTERY3_SET
BATTERY4_SET

[0]: bool

Set the battery 1/2/3/4 switch to on or off.
ELECTRICAL_BATTERY_BREAKER_TOGGLE

[0] Source bus index

[1] Target battery index

Toggle the battery breaker state with a bus. Takes two indices, the bus and the battery index (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition, and the circuit index is the N index of thebattery.N definition.

MASTER_BATTERY_OFF

[0]: battery index

Turns the indexed battery switch off. The battery index is the N index of the battery.N definition.
MASTER_BATTERY_ON

[0]: battery index

Turns the indexed battery switch on. The battery index is the N index of the battery.N definition.
MASTER_BATTERY_SET

[0]: battery index

[1]: bool

Set the battery switch state. The battery index is the N index of the battery.N definition.
TOGGLE_MASTER_BATTERY

[0]: battery index

Toggle battery switch state. The battery index is the N index of the battery.N definition.
TOGGLE_MASTER_BATTERY_ALTERNATOR

[0]: battery index

Toggles master battery and alternator switch
TOGGLE_ELECTRIC_VACUUM_PUMP

N/A

Toggles backup electric vacuum pump

 

Breakers

String Name Parameters Description
BREAKER_AVNFAN_TOGGLE

[0]: circuit.N index

[1]: Source bus.N Index

Toggle the Fan breaker
BREAKER_AUTOPILOT_TOGGLE Toggle the autopilot breaker
BREAKER_GPS_TOGGLE Toggle the GPS breaker
BREAKER_ADF_TOGGLE Toggle the ADF breaker
BREAKER_XPNDR_TOGGLE Toggle the transponder breaker
BREAKER_FLAP_TOGGLE Toggle the flaps breaker
BREAKER_INST_TOGGLE Toggle the instruments breaker
BREAKER_TURNCOORD_TOGGLE Toggle the
BREAKER_INSTLTS_TOGGLE Toggle the
BREAKER_ALTFLD_TOGGLE Toggle the
BREAKER_WARN_TOGGLE Toggle the warning breaker
BREAKER_AVNBUS1_TOGGLE   Toggle the 
BREAKER_AVNBUS2_TOGGLE   Toggle the 
BREAKER_NAVCOM1_TOGGLE   Toggle the NAV / COM 1 breaker
BREAKER_NAVCOM2_TOGGLE   Toggle the NAV / COM 2 breaker
BREAKER_NAVCOM3_TOGGLE   Toggle the NAV / COM 3 breaker
BREAKER_AVNFAN_SET

[0]: circuit.N index

[1]: State, either connected (1) or not (0).

[2]: Source bus.N Index

 

For legacy aircraft:

[0]: State, either connected (1) or not (0).

Set the fan breaker
BREAKER_AUTOPILOT_SET Set the autopilot breaker
BREAKER_GPS_SET Set the GPS breaker
BREAKER_NAVCOM1_SET Set the NAV/COM 1 breaker
BREAKER_NAVCOM2_SET Set the NAV/COM 2 breaker
BREAKER_NAVCOM3_SET Set the NAV/COM 3 breaker
BREAKER_ADF_SET Set the ADF breaker
BREAKER_XPNDR_SET Set the transponder breaker
BREAKER_FLAP_SET Set the flaps breaker
BREAKER_INST_SET Set the instrument breaker
BREAKER_AVNBUS1_SET Set the  
BREAKER_AVNBUS2_SET Set the  
BREAKER_TURNCOORD_SET Set the  
BREAKER_INSTLTS_SET Set the  
BREAKER_ALTFLD_SET Set the  
BREAKER_WARN_SET Set the warning breaker

 

 

Lights

String Name Parameters Description
ALL_LIGHTS_TOGGLE

[0]: light circuit index

Toggle all lights
BEACON_LIGHTS_ON

[0]: light circuit index

Turn beacon lights on
BEACON_LIGHTS_OFF

[0]: light circuit index

Turn beacon lights off
BEACON_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set beacon lights on/off (1,0)
CABIN_LIGHTS_OFF

[0]: light circuit index

Turn cabin lights off
CABIN_LIGHTS_ON

[0]: light circuit index

Turn cabin lights on
CABIN_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set cabin lights on/off (1,0)
GLARESHIELD_LIGHTS_OFF

[0]: light circuit index

Turn glareshield lights off
GLARESHIELD_LIGHTS_ON

[0]: light circuit index

Turn glareshield lights on
GLARESHIELD_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set glareshield lights on/off (1,0)
GLARESHIELD_LIGHTS_TOGGLE

[0]: light circuit index

Toggle glareshield lights
LANDING_LIGHT_DOWN

[0]: light circuit index

Rotate landing light down
LANDING_LIGHT_HOME

[0]: light circuit index

Return landing light to default position
LANDING_LIGHT_LEFT

[0]: light circuit index

Rotate landing light left
LANDING_LIGHT_RIGHT

[0]: light circuit index

Rotate landing light right
LANDING_LIGHT_UP

[0]: light circuit index

Rotate landing light up
LANDING_LIGHTS_ON

[0]: light circuit index

Turn landing lights on
LANDING_LIGHTS_OFF

[0]: light circuit index

Turn landing lights off
LANDING_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set landing lights on/off (1,0)
LANDING_LIGHTS_TOGGLE

[0]: light circuit index

Toggle landing lights
LIGHT_POTENTIOMETER_INC

N/A

 
LIGHT_POTENTIOMETER_DEC

N/A

 
LIGHT_POTENTIOMETER_SET

[0]: Index

[1]: Potentiometer value

 
LIGHT_POTENTIOMETER_1_SET
LIGHT_POTENTIOMETER_2_SET
LIGHT_POTENTIOMETER_3_SET
LIGHT_POTENTIOMETER_4_SET
LIGHT_POTENTIOMETER_5_SET
LIGHT_POTENTIOMETER_6_SET
LIGHT_POTENTIOMETER_7_SET
LIGHT_POTENTIOMETER_8_SET
LIGHT_POTENTIOMETER_9_SET
LIGHT_POTENTIOMETER_10_SET
LIGHT_POTENTIOMETER_11_SET
LIGHT_POTENTIOMETER_12_SET
LIGHT_POTENTIOMETER_13_SET
LIGHT_POTENTIOMETER_14_SET
LIGHT_POTENTIOMETER_15_SET
LIGHT_POTENTIOMETER_16_SET
LIGHT_POTENTIOMETER_17_SET
LIGHT_POTENTIOMETER_18_SET
LIGHT_POTENTIOMETER_19_SET
LIGHT_POTENTIOMETER_20_SET
LIGHT_POTENTIOMETER_21_SET
LIGHT_POTENTIOMETER_22_SET
LIGHT_POTENTIOMETER_23_SET
LIGHT_POTENTIOMETER_24_SET
LIGHT_POTENTIOMETER_25_SET
LIGHT_POTENTIOMETER_26_SET
LIGHT_POTENTIOMETER_27_SET
LIGHT_POTENTIOMETER_28_SET
LIGHT_POTENTIOMETER_29_SET
LIGHT_POTENTIOMETER_30_SET

[0]: Potentiometer value

 
LOGO_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set logo lights on/off (1,0)
NAV_LIGHTS_ON

[0]: light circuit index

Turn navigation lights on
NAV_LIGHTS_OFF

[0]: light circuit index

Turn navigation lights off
NAV_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set navigation lights on/off (1,0)
PANEL_LIGHTS_ON

[0]: light circuit index

Turn panel lights on
PANEL_LIGHTS_OFF

[0]: light circuit index

Turn panel lights off
PANEL_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set panel lights on/off (1,0)
PANEL_LIGHTS_TOGGLE

[0]: light circuit index

Toggle panel lights
PEDESTRAL_LIGHTS_OFF

[0]: light circuit index

Turn pedestral lights off
PEDESTRAL_LIGHTS_ON

[0]: light circuit index

Turn pedestral lights on
PEDESTRAL_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set pedestral lights on/off (1,0)
PEDESTRAL_LIGHTS_TOGGLE

[0]: light circuit index

Toggle pedestral lights
RECOGNITION_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light circuit index

Set recognition lights on/off (1,0)
STROBES_ON

[0]: light circuit index

Turn strobe lights on
STROBES_OFF

[0]: light circuit index

Turn strobe light off
STROBES_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set strobe lights on/off (1,0)
STROBES_TOGGLE

[0]: light circuit index

Toggle strobe lights
TAXI_LIGHTS_ON

[0]: light circuit index

Turn taxi lights on
TAXI_LIGHTS_OFF

[0]: light circuit index

Turn taxi light off
TAXI_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set taxi lights on/off (1,0)
TOGGLE_BEACON_LIGHTS

[0]: light circuit index

Toggle beacon lights
TOGGLE_CABIN_LIGHTS

[0]: light circuit index

Toggle cockpit/cabin lights
TOGGLE_LOGO_LIGHTS

[0]: light circuit index

Toggle logo lights
TOGGLE_NAV_LIGHTS

[0]: light circuit index

Toggle navigation lights
TOGGLE_RECOGNITION_LIGHTS

[0]: light circuit index

Toggle recognition lights
TOGGLE_TAXI_LIGHTS

[0]: light circuit index

Toggle taxi lights
TOGGLE_WING_LIGHTS

[0]: light circuit index

Toggle wing lights
WING_LIGHTS_OFF

[0]: light circuit index

Turn wing lights off
WING_LIGHTS_ON

[0]: light circuit index

Turn wing light on
WING_LIGHTS_SET

[0]: state, either on (1) or off (0)

[1]: light index

Set wing lights on/off (1,0)

 

 

Miscellaneous

Event Name Parameters Description
ELECTRICAL_BUS_BREAKER_TOGGLE

[0]: Source bus index

[1]: Target Bus Index

Toggle the breaker state between busses. Takes two indices, the source bus and the target bus (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition.
ELECTRICAL_BUS_TO_ALTERNATOR_CONNECTION_TOGGLE

[0]: Source bus index

[1]: Alternator index

Toggle alternator connection state with a bus. Takes two indices, the bus and the alternator (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition, and the alternator index is the N index of the alternator.N definition.
ELECTRICAL_BUS_TO_BATTERY_CONNECTION_TOGGLE

[0]: Source bus index

[1]: battery index

Toggle battery connection state with a bus. Takes two indices, the bus and the battery (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition, and the battery index is the N index of the battery.N definition.
ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE

[0]: Source bus index

[1]: bus index

Toggle bus connection state with a bus. Takes two indices, the initial bus and the second bus (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition in both cases.
ELECTRICAL_BUS_TO_CIRCUIT_CONNECTION_TOGGLE

[0]: Source bus index

[1]: circuit index

Toggle circuit connection state with a bus. Takes two indices, the bus and the circuit (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition, and the circuit index is the value assigned to the circuit Type when the circuit.N was defined.
ELECTRICAL_BUS_TO_EXTERNAL_POWER_CONNECTION_TOGGLE

[0]: Source bus index

[1]: external power index

Toggle external power connection state with a bus. Takes two indices, the bus and the external power source (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition, and the external power index is the N index of the externalpower.N definition.
ELECTRICAL_CIRCUIT_BREAKER_TOGGLE

[0] Source bus index

[1] Target circuit index

Toggle the circuit breaker state with a bus. Takes two indices, the bus and the circuit index (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition, and the circuit index is the N index of the circuit.N definition.
ELECTRICAL_CIRCUIT_POWER_SETTING_SET

[0]: circuit index

[1]: circuit power setting (%)

Set circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And Keys for more information). The circuit index is the value assigned to the circuit Type when the circuit.N was defined.
ELECTRICAL_CIRCUIT_TOGGLE

circuit index

Toggle the indexed circuit switch state. The index is the value assigned to the circuit N when the circuit.N was defined.

ELECTRICAL_EXECUTE_PROCEDURE

[0]: procedure index

[1]: bInverse (optional)

Execute procedure.N with bInverse as an optional argument
ELECTRICAL_EXTERNAL_POWER_BREAKER_TOGGLE

[0] Source bus index

[1] Target external power index

Toggle the external power breaker state with a bus. Takes two indices, the bus and the external power index (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition, and the external power index is the N index of the externalpower.N definition.
PANEL_LIGHTS_POWER_SETTING_SET

[0]: panel light circuit index

[1]: power setting (%)

Set panel light circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And Keys for more information). The index is the value assigned to the circuit Type when the circuit.N was defined.
CABIN_LIGHTS_POWER_SETTING_SET

[0]: cabin light circuit index

[1]: power setting (%)

Set cabin light circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And Keys for more information). The index is the value assigned to the circuit Type when the circuit.N was defined.
PEDESTRAL_LIGHTS_POWER_SETTING_SET

[0]: pedestal light circuit index

[1]: power setting (%)

Set pedestal light circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And Keys for more information). The index is the value assigned to the circuit Type when the circuit.N was defined.
GLARESHIELD_LIGHTS_POWER_SETTING_SET

[0]: glareshield light circuit index

[1]: power setting (%)

Set glareshield light circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And Keys for more information). The index is the value assigned to the circuit Type when the circuit.N was defined.
SET_EXTERNAL_POWER

[0]: external power index

[1]: The state on/off (1, 0)

Set the external power switch state. The index is the value assigned to the circuit N when the externalpower.N was defined.
TOGGLE_EXTERNAL_POWER

[0]: external power index

Toggle external power switch state. The index is the value assigned to the circuit N when the externalpower.N was defined.