MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
Pilot_B737
Posts: 3
Hi
I am trying to combine two configs to hold and release solenoid and to drive relay with the right sequences of
engine start.

1. Relay HOLD solenoid when I have duct pressure more the 5 PSI (APU started and switches on pneumo panel in the air
supply positions) - it works fine at separate config with the offsets 6C38 and 6C3C

FSUIPC section
Transorm- $*10

Compare section
>=50 set it to 1
else set it to 0

Display section - PIN going to assigned relay pin (Engine 2)

2. Relay RELEASE the solenoid when the N2 more than 56 percents - it works fine at separate config with the offsets
2008 and 2118

FSUIPC section
Transorm- $

Compare section
>=56 set it to 0
else set it to 1

Display section - PIN going to assigned relay pin (Engine 2)

Both configs work for the same pin (Engine 2).

It is obvious that first config hold the solenoid. I can not find the way how to trigger first config to 0 and
to interrupt the relay power if the engine2 N2 is more than 56%.but without working with the virtual switch positions.

Sergey
[Last edited by Pilot_B737, 2020-08-02 10:09]
2020-08-02 10:01
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

this will not work..... Your logic let 2 Configs controll ONE Pin.
If Config1 Say Pin should be "1" and same time Config2 Say Pin should be "0" then it is "flickering" .

Solution in your case is Precondition or much more profitable a "Placeholder Formula"

With Precondition you build 2 Configs.... One for Relais Powered and one for Relais Unpowerd ( Means one Config is always "1" and the Other is always "0" )
Both configs got preconditions.... Like the ON Config only work if a special Condition ( or a combination of conditions) is TRUE ..... And the OFF Config work in the different situation.

With Placeholder you use ONE Config finaly for the Relais.... In thi you define all needed informations with placeholders ( Config refferences) and you build a formula that write the value to 1 or 0 whatever you need.


***********************
Summary.
I not understand the "conditions" from your text.... If you tell me exactly what should happen for ON and OFF of relais i can help you more detailed.

Also tell me what aircraft you use. E.g. for PMDG you not need that difficult stuff. Here we can simply read the Offset for the virtual Switch. More is not needed for a holding solonoid..... ON if Virtual switch i "0 - GND" and OFF if virtual switch is 1 or bigger .
Good Luck !
2020-08-02 23:45
Avatar
Pilot_B737
Posts: 3
Hi,
I know it won't work
I prefer to place the formula. But I was trying to make it with no luck.
I do not know the syntax at all. )))

I need to create this for PMDG 737
Here is the logic of engine start sequence (and conditions for every stage)
From Cold and Dark cockpit
Engine start switch not stay in the hold position until we have air source to the engines
I have describe it at the first config (duct pressure should be more than 5 PSI), then Relay is powered.
Now we can activate the engine start switch (move to ground position).
N1 is raising, we open fuel valve, N2 is raising and Engine Start switch should return to OFF position then N2 is 56%. (My second config)
And should not have possibilities to be activated (hold) at GRD position again. Relay should remain power off. Actually this should be blocked by the N2 data.

I do not want to use virtual switch offsets, because PMDG has wrong logic with engine 2. Probably it is some errors there.
If you check it there you will find that you can activate engine start virtual switch for eng2 again in 8-10 seconds after starting the engine.
It is wrong.

If it possibly to do these with the formula it will be great!
Best regards
Sergey
2020-08-03 14:42
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Yes it is.... But this will take some "advanced" Configs.... Cause we need to Block the Inputs at all to make your "special wish" possible.

At wednesday and thursday i´m out of work and can have a look on it....


At the end this is maby more profitable if we can talk to each other. If you speaking english ( enough for talking to each other..... mine is not the best but its working) then we can do a "voice call" via Discord..... There we can also share the screens and can figure it out together if you like !

If not tell me your email.... Then i can do some testings. But this will then take a bit longer !
Good Luck !
2020-08-03 20:57
Avatar
Pilot_B737
Posts: 3
Hi,
Thank you and let's do it via Discord
I am newbie with it but I have installed it already.
and for the first contact my email address sergf229@gmail.com
Kind regards
Sergey
2020-08-05 03:49
icon