Sign in to follow this  
Guest LukeV

Turboprop starter

Recommended Posts

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..!! :)

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this