Jump to content
The simFlight Network Forums

Combustion Flag Offsets

Recommended Posts

I have a light on my electrical panel that indicates a connection between the left and right hand busses (it's a horizontal bar).   This is the correct sequence.

When neither engine is running the light should be OFF signifying that the two busses are not connected (the emergency battery connects the two).  When the right engine starts the buss connection should close and the light should come ON.  When the left engine starts  the buss connection should open and the light should go OFF.

To try and achieve this I used offsets 0894 and 092C (combustion flags for the left and right engines).  I used the Value On/Off setting for the right engine I set a value of 1 for On and a value of 0 for Off (so when the engine is off the light is OFF and when the engine is running the light is ON).  For the left engine I used Set value On with a value of 0 to turn off the light OFF when the engine is running?

For some reason this doesn't see to work correctly.  It's okay for the engines start up sequence as the light comes ON when the right engine starts and goes out when the left engine starts.  However when I shut down the left engine the light comes ON (as it should) but when the right engine shuts down the light stays ON.

I checked that the combustion flags where working okay by logging the reads. Anyone figure out where I went wrong?


Link to comment
Share on other sites

Sorry to be obtuse but I'm not sure what you are telling me.  I'm not using any code I'm just using the offset and its state.  I'm doing all my entries in Flight Deck Solutions InterfaceIT as all my switches are connected to their interface card.  What I posted in #3 is what options I have in that program.  Also those offsets are read only and 0 is Engine OFF and 1 is Engine ON.



Link to comment
Share on other sites

 In InterfaceIT the options I have are:
  1. Byte
  2. Float16
  3. LongInt
  4. LongWord
  5. ShortInt
  6. SmallInt
  7. Word


Those are non-standard terms. See if they are defined on "interfaceIT" documentation. The 16 bit unsigned one might be Word or ShortInt or SmallInt. It isn't possible to guess between these.


As mgh said, there are 4 conditions, and you want the light to be lit as follows:


Left off/right off -> light off

Left off/right on -> light on

Left on/right off -> light on

Left on/right on -> light off


In other words, you want the light on when the two offsets are different, and off when the two offsets are the same.


Now how you "program" that using the facilities you have I have no idea. You would need to consult the InterfaceIT documentation again.



Link to comment
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
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.