December 21, 200520 yr Gday Guys,I am trying to make a starter switch for a turboprop (PC-9). I want it to be dependant on an ignition switch - which I have successfully done - but also want the starter switch to automatically switch back once the turbine has reached stable RPM. Which is what I need help for. This is my code -(L:Starter,bool)(L:Starter,bool)(L:Ignition,bool) 1 == (L:Starter,bool) 1 == (A:ELECTRICAL MASTER BATTERY,bool) 1 == && && if{ 0 (>K:TOGGLE_STARTER1) }%Engine Start Switch (%((L:Starter,bool))%{if}%On%{else}%Off%{end})0 (>K:TOGGLE_AFTERBURNER2) (L:Starter,bool) ! (>L:Starter,bool)Help greatly appreciated..!! :)
December 22, 200520 yr Hi,you might try this one (not tested)(L:Starter,bool) (A:Turb Eng1 N2,percent) 50 > ! * (>L:Starter,bool) (L:Ignition,bool) 1 == (L:Starter,bool) 1 == (A:ELECTRICAL MASTER BATTERY,bool) 1 == && && if{ (>K:TOGGLE_STARTER1) }or maybe this "polished"(L:Starter,bool) (A:Turb Eng1 N2,percent) 50 > ! *(>L:Starter,bool) (L:Ignition,bool) (L:Starter,bool) (A:ELECTRICAL MASTER BATTERY,bool) and and if{ (>K:TOGGLE_STARTER1) }Notice that bool vars can be tested as is, because always return 0 or 1 (no need to compare to 1 == or 0 == )Hope this helpsTom
Create an account or sign in to comment