Lagaffe
Resource contributor
- Messages
- 900
- Country
Hi,
My aim to usesome codes, on a twin engine (Canso PBY-5A), to start:
1 - the right propeller with a very small speed (only the right engine has a hydraulic pump),
2 - then start the right engine,
- wait some instants and
- make 1 /2 operations for the left engine.
A) Reading the XML files of the TBM930, I have seen this particular code:
Does it possible using this PROCEDURE example to write some codes using L:vars or A:vars and events to by-pass the CTRL+E command ?
I can guess what the use is but:
- I haven't found any documentation on B:var or how to create them, initialize them
- Maybe it is possible to do what I would like to do by using simple A:vars or L:vars.
Today, I spend my afternoon, making some tests but without success .
B) I have create a simple gauge to capture the event and launch my commands but no success:
1 - the right propeller with a very small speed (only the right engine has a hydraulic pump),
2 - then start the right engine,
- wait some instants and
- make 1 /2 operations for the left engine.
If someone has yet use this model behavior or has some knowledges, I was very interested.
This example can be also interesting for a lot of people.
Thanks.
My aim to usesome codes, on a twin engine (Canso PBY-5A), to start:
1 - the right propeller with a very small speed (only the right engine has a hydraulic pump),
2 - then start the right engine,
- wait some instants and
- make 1 /2 operations for the left engine.
A) Reading the XML files of the TBM930, I have seen this particular code:
<Component ID="MISC">
<UseInputEvent ID="PROCEDURE">
<PROCEDURE_ID>AUTOSTART</PROCEDURE_ID>
<ON_AUTOSTART>
(>B:ELECTRICAL_Crash_Lever_Up)
(>B:ELECTRICAL_Battery_1_Battery)
(>B:ELECTRICAL_Alternator_1_Main)
(>B:ENGINE_Ignition_1_Auto)
(>B:ENGINE_Starter_1_On)
(>B:ENGINE_Throttle_Idle)
(>B:FUEL_Pump_1_Auto)
(>B:FUEL_Selector_1_Left)
</ON_AUTOSTART>
<ON_AUTOSTOP>
(>B:ELECTRICAL_Battery_1_Off)
(>B:ELECTRICAL_Alternator_1_Off)
(>B:ENGINE_Throttle_Cutoff)
(>B:ENGINE_Starter_1_Off)
(>B:ENGINE_Ignition_1_Off)
(>B:FUEL_Pump_1_Off)
(>B:FUEL_Selector_1_Off)
</ON_AUTOSTOP>
</UseInputEvent>
</Component>
Does it possible using this PROCEDURE example to write some codes using L:vars or A:vars and events to by-pass the CTRL+E command ?
I can guess what the use is but:
- I haven't found any documentation on B:var or how to create them, initialize them
- Maybe it is possible to do what I would like to do by using simple A:vars or L:vars.
Today, I spend my afternoon, making some tests but without success .
B) I have create a simple gauge to capture the event and launch my commands but no success:
My aim to use this "UseInpuEvent", on a twin engine (Canso PBY-5A), I wanted to start<Gauge Name="Logics" Version="1.0">
<Update Frequency="18"/>
<!-- KEYTRAPS -->
<!-- =========== -->
<Keys>
<On Event="ENGINE_AUTO_START">
(LBV_AutoStart, bool) ! (>LBV_AutoStart, bool)
</On>
</Keys>
<!-- AUTOSTART -->
<!-- ============ -->
<Element>
<Select>
<Value>
(LBV_AutoStart, bool)
if{
<!-- Check the mixture status -->
(A:GENERAL ENG FUEL VALVE:1,bool) ! if{ (>K:TOGGLE_FUEL_VALVE_ENG1) }
<!-- Check the magneto status -->
(A:MASTER IGNITION SWITCH, bool) ! if{ (>K:MAGNETO1_START)
<!-- Check the mixture status -->
(A:GENERAL ENG MIXTURE LEVER POSITION:1, percent) 100 != if{ (>K:MIXTURE1_RICH) }
<!-- Check the status again and engage starter -->
(A:GENERAL ENG FUEL VALVE:1,bool) (A:GENERAL ENG MIXTURE LEVER POSITION:1, percent) 80 > and (A:GENERAL ENG STARTER:1, bool) ! and
if{ (>K:TOGGLE_STARTER1) }
<!-- Disengage starter when engine is running -->
(A:GENERAL ENG COMBUSTION:1, bool) (A:GENERAL ENG STARTER:1, bool) and
if{ (>K:TOGGLE_STARTER1) 0 (>LBV_AutoStart, bool) }
}
</Value>
</Select>
</Element>
</Gauge>
1 - the right propeller with a very small speed (only the right engine has a hydraulic pump),
2 - then start the right engine,
- wait some instants and
- make 1 /2 operations for the left engine.
If someone has yet use this model behavior or has some knowledges, I was very interested.
This example can be also interesting for a lot of people.
Thanks.
Last edited: