AIRCRAFT ELECTRICAL EVENTS

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

 

Please note that many of these events are flagged as using an electrical component name (or index). Using the name is only applicable to the v2.00+ electrical system, and is the recommended way to target a specific component. If you are using prior versions, only the index is valid and names will not be accepted. If you are supplying a name for the component, it should be supplied in single quotes '' followed by _n. For example, consider this line.N definition:

line.1 = Name:115V_AC_XFR_BUS_1_To_EXT_GEN_BUS # Connection:ConA(115V_AC_XFR_BUS_1,EXT_GEN_BUS)

When using this line via RPN in your model behaviours, you would have something like this:

'115V_AC_XFR_BUS_1_To_EXT_GEN_BUS'_n (K:ELECTRICAL_LINE_CONNECTION_TOGGLE)

instead of:

1 (K:ELECTRICAL_LINE_CONNECTION_TOGGLE)

 

 

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.N name (or index)

[1] battery.N name (or index)

Toggle the battery breaker state with a bus. Takes two indices, the bus and the battery name (or index).

See SimVars And RPN for more information.

MASTER_BATTERY_OFF

[0]: battery.N name (or index)

Turns the named (or indexed) battery switch off.
MASTER_BATTERY_ON

[0]: battery.N name (or index)

Turns the named (or indexed) battery switch on.
MASTER_BATTERY_SET

[0]: battery.N name (or index)

[1]: bool

Set the named (or indexed) battery switch state.
TOGGLE_MASTER_BATTERY

[0]: battery.N name (or index)

Toggle named (or indexed) battery switch state.
TOGGLE_MASTER_BATTERY_ALTERNATOR

[0]: battery.N name (or index)

Toggles named (or indexed) master battery and alternator switch

 

 

Breakers

String Name Parameters Description
BREAKER_AVNFAN_TOGGLE

[0]: circuit.N name (or index)

[1]: Source bus.N name (or 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 name (or index)

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

[2]: Source bus.N name (or index)

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]: circuit.N name (or index)

Toggle all lights
BEACON_LIGHTS_ON

[0]: circuit.N name (or index)

Turn beacon lights on
BEACON_LIGHTS_OFF

[0]: circuit.N name (or index)

Turn beacon lights off
BEACON_LIGHTS_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Turn cabin lights off
CABIN_LIGHTS_ON

[0]: circuit.N name (or index)

Turn cabin lights on
CABIN_LIGHTS_POWER_SETTING_SET

[0]: circuit.N name (or index)

[1]: power setting (%)

Set cabin light circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And RPN for more information).
CABIN_LIGHTS_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Turn glareshield lights off
GLARESHIELD_LIGHTS_ON

[0]: circuit.N name (or index)

Turn glareshield lights on
GLARESHIELD_LIGHTS_POWER_SETTING_SET

[0]: circuit.N name (or index)

[1]: power setting (%)

Set glareshield light circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And RPN for more information).
GLARESHIELD_LIGHTS_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Toggle glareshield lights
LANDING_LIGHT_DOWN

[0]: circuit.N name (or index)

Rotate landing light down
LANDING_LIGHT_HOME

[0]: circuit.N name (or index)

Return landing light to default position
LANDING_LIGHT_LEFT

[0]: circuit.N name (or index)

Rotate landing light left
LANDING_LIGHT_RIGHT

[0]: circuit.N name (or index)

Rotate landing light right
LANDING_LIGHT_UP

[0]: circuit.N name (or index)

Rotate landing light up
LANDING_LIGHTS_ON

[0]: circuit.N name (or index)

Turn landing lights on
LANDING_LIGHTS_OFF

[0]: circuit.N name (or index)

Turn landing lights off
LANDING_LIGHTS_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Toggle landing lights
LIGHT_POTENTIOMETER_INC

N/A

LIGHT_POTENTIOMETER_DEC

N/A

LIGHT_POTENTIOMETER_SET

[0]: circuit.N name (or 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]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Turn navigation lights on
NAV_LIGHTS_OFF

[0]: circuit.N name (or index)

Turn navigation lights off
NAV_LIGHTS_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Turn panel lights on
PANEL_LIGHTS_OFF

[0]: circuit.N name (or index)

Turn panel lights off
PANEL_LIGHTS_POWER_SETTING_SET

[0]: circuit.N name (or index)

[1]: power setting (%)

Set panel light circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And RPN for more information).
PANEL_LIGHTS_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Toggle panel lights
PEDESTRAL_LIGHTS_OFF

[0]: circuit.N name (or index)

Turn pedestral lights off
PEDESTRAL_LIGHTS_ON

[0]: circuit.N name (or index)

Turn pedestral lights on
PEDESTRAL_LIGHTS_POWER_SETTING_SET

[0]: circuit.N name (or index)

[1]: power setting (%)

Set pedestal light circuit power setting. Takes two indices, the circuit and the power setting (see SimVars And RPN for more information).
PEDESTRAL_LIGHTS_SET

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

[1]: light circuit name (or index)

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

[0]: light circuit name (or index)

Toggle pedestral lights
RECOGNITION_LIGHTS_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Turn strobe lights on
STROBES_OFF

[0]: circuit.N name (or index)

Turn strobe light off
STROBES_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Toggle strobe lights
TAXI_LIGHTS_ON

[0]: circuit.N name (or index)

Turn taxi lights on
TAXI_LIGHTS_OFF

[0]: circuit.N name (or index)

Turn taxi light off
TAXI_LIGHTS_SET

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

[1]: circuit.N name (or index)

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

[0]: circuit.N name (or index)

Toggle beacon lights
TOGGLE_CABIN_LIGHTS

[0]: circuit.N name (or index)

Toggle cockpit/cabin lights
TOGGLE_LOGO_LIGHTS

[0]: circuit.N name (or index)

Toggle logo lights
TOGGLE_NAV_LIGHTS

[0]: circuit.N name (or index)

Toggle navigation lights
TOGGLE_RECOGNITION_LIGHTS

[0]: circuit.N name (or index)

Toggle recognition lights
TOGGLE_TAXI_LIGHTS

[0]: circuit.N name (or index)

Toggle taxi lights
TOGGLE_WING_LIGHTS

[0]: circuit.N name (or index)

Toggle wing lights
WING_LIGHTS_OFF

[0]: circuit.N name (or index)

Turn wing lights off
WING_LIGHTS_ON

[0]: circuit.N name (or index)

Turn wing light on
WING_LIGHTS_SET

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

[1]: circuit.N name (or index)

Set wing lights on/off (1,0)

 

 

Miscellaneous

Event Name Parameters Description
ELECTRICAL_BUS_BREAKER_TOGGLE

[0]: Source bus.N name (or index)

[1]: Target bus.N name (or index)

Toggle the breaker state between buses. Takes two names (or indices), the source bus and the target bus.

See SimVars And RPN for more information.

ELECTRICAL_BUS_TO_ALTERNATOR_CONNECTION_TOGGLE

[0]: Source bus.N name (or index)

[1]: Alternator index

Toggle alternator connection state with a bus. Takes two names (or indices), the bus and the alternator.

See SimVars And RPN for more information.

ELECTRICAL_BUS_TO_BATTERY_CONNECTION_TOGGLE

[0]: Source bus.N name (or index)

[1]: battery index

Toggle battery connection state with a bus. Takes two names (or indices), the bus and the battery.

See SimVars And RPN for more information.

ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE

[0]: Source bus.N name (or index)

[1]: Target bus.N name (or index)

Toggle bus connection state with a bus. Takes two names (or indices), the initial bus and the second bus.

See SimVars And RPN for more information.

ELECTRICAL_BUS_TO_CIRCUIT_CONNECTION_TOGGLE

[0]: Source bus.N name (or index)

[1]: circuit.N name (or index)

Toggle circuit connection state with a bus. Takes two names (or indices), the bus and the circuit.

See SimVars And RPN for more information.

ELECTRICAL_BUS_TO_EXTERNAL_POWER_CONNECTION_TOGGLE

[0]: Source bus.N name (or index)

[1]: externalpower.N name (or index)

Toggle external power connection state with a bus. Takes two names (or indices), the bus and the external power source.

See SimVars And RPN for more information.

ELECTRICAL_CIRCUIT_BREAKER_TOGGLE

[0] Source bus.N name (or index)

[1] Target circuit.N name (or index)

Toggle the circuit breaker state with a bus. Takes two names (or indices), the bus and the circuit index.

See SimVars And RPN for more information.

ELECTRICAL_CIRCUIT_POWER_SETTING_SET

[0]: circuit.N name (or index)

[1]: circuit power setting (%)

Set circuit power setting. Takes two names (or indices), the circuit and the power setting.

See SimVars And RPN for more information.

ELECTRICAL_CIRCUIT_TOGGLE

[0]: circuit.N name (or index)

Toggle the named (or indexed) circuit switch state.

See SimVars And RPN for more information.

ELECTRICAL_EXECUTE_PROCEDURE

[0]: procedure index

[1]: bInverse (optional)

Execute a named (or indexed) procedure with bInverse as an optional argument

IMPORTANT! This event ID is only valid for V1.00 electrical systems. See here for more details: LEGACY: systems.cfg - [ELECTRICAL]

ELECTRICAL_EXTERNAL_POWER_BREAKER_TOGGLE

[0] Source bus.N name (or index)

[1] externalpower.N name (or index)

Toggle the named (or indexed) external power breaker state with a bus. Takes two indices, the bus and the external power index.

See SimVars And RPN for more information.

ELECTRICAL_LINE_BREAKER_SET
ELECTRICAL_LINE_BREAKER_TOGGLE
ELECTRICAL_LINE_CONNECTION_SET
ELECTRICAL_LINE_CONNECTION_TOGGLE
SET_EXTERNAL_POWER

[0]: externalpower.N name (or index)

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

Set the external power switch state.
TOGGLE_EXTERNAL_POWER

[0]: externalpower.N name (or index)

Toggle external power switch state.
TOGGLE_ELECTRIC_VACUUM_PUMP

N/A

Toggles backup electric vacuum pump

 

 

Alternator

The following events are only viable for aircraft using the v1.00 electrical system. For more information please see here:

 

Key Parameters Description
ALTERNATOR_OFF

[0]: alternator.N Index

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

[0]: alternator.N 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.N Index

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

[0] Source bus.N Index

[1] alternator.N Index

Toggle the alternator breaker state with a bus. Takes two indices, the bus and the alternator index (see SimVars And RPN 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.N Index

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

 

 

APU

The following events are only viable for aircraft using the v1.00 electrical system. For more information please see here:

 

Key Parameters Description
APU_BLEED_AIR_SOURCE_SET

[0]: Generator name (or index)

[1]: Bool

Sets if the APU is the source of the bleed air system (true) or not (false).
APU_BLEED_AIR_SOURCE_TOGGLE [0]: Generator name (or index) 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).