This are the (new) Support Forums for FSUIPC and related products.

These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, and are still available (until the end of the year) for read-only here.

At the moment these new forums are quite empty – I will be updating the FAQ section and copying across the User Contributions from the old forums in the next few months.

Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.

Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
https://discord.gg/zjwUTrxmmE

MSFS 2020 APU issue
 
Notifications
Clear all

MSFS 2020 APU issue

Posts: 3
Registered
Topic starter
(@dl4saw)
Joined: 1 month ago

I am using PM CDU/MP/GC without PM-Systems. It worked well with FS2004 and the PM-B737 model, I could control the aircraft using the default FSUIPC variables. Now, I updating to MSFS-2020 with all new PM-software and model. I have problems to start the APU.  The PM-B737 aircraft model might use some PM-variables, even if no PMsystems is used.  If I start the APU  (0B58), the APU starts, but stops immediatelly. All other prerequisits (Battery, Bleed etc,) are available.  Strange: after starting and stopping the engines with Ctr.+E, I can start the APU and it remains running. The same behaviour with the default 787, but only if the main battery switch is off. Is there a “hidden” or not dokumented battery switch?  Any idea?


6 Replies
Posts: 173
Moderator
(@fsuipc-support)
Joined: 3 months ago

Sorry for my previous reply – I responded to quickly without understanding the question. I have deleted it.
I don’t have the PM-B737, but will take a look at the Asobo 787 when I get a chance, probably tomorrow.

Posted by: @dl4saw

Is there a “hidden” or not dokumented battery switch?  Any idea?

There is probably another event you need to trigger, The MF preset for the B787-10 start uses the b-var (input event) B:ELECTRICAL_APU_Starter_Set, but this would be for MSFS2024. You cannot use b-vars directly in MSFS2020, but you can use input events – you could see if one is available for the APU in MSFS2020.

You could also maybe see what events are triggered when you start/stop the engines with CTRL+E. This may give a clue as to what additional event needs to be triggered. Otherwise, you can examine how the APU starter switch works using MSFS’ developer tools (behavior window). This may give a clue as to what is needed.  

I will get back to you when I have taken a further look.

John


Reply
Posts: 3
Registered
Topic starter
(@dl4saw)
Joined: 1 month ago

the main prerequisit to start the APU is switching the main battery. The event is: ELECTRIC_PUSH_BATTERY. Unfortunately I could not find the corresponding variable in FSUIPC. I use FSINTERROGATE, I compared the full area (all known and unknown varialbles) without finding the change. Should I move to other tools to log the events?  Sorry I am new with MSFS-2020, I know that a lot changed.


Reply
Posts: 173
Moderator
(@fsuipc-support)
Joined: 3 months ago

Posted by: @dl4saw

The event is: ELECTRIC_PUSH_BATTERY. Unfortunately I could not find the corresponding variable in FSUIPC.

Where do you see this? There is no such event as ELECTRIC_PUSH_BATTERY, and no such simulator variable.
The list of available MSFS events can be found in a text file in your FSUIPC7 documents folder, called ‘Controls List for MSFS Build 110.txt’, and are documented here:

    https://docs.flightsimulator.com/html/Programming_Tools/Event_IDs/Event_IDs.htm

 The simulator variables available in MSFS2020 are documented here:

    https://docs.flightsimulator.com/html/Programming_Tools/SimVars/Simulation_Variables.htm

Note that only a subset of the simulator variables (aka simvars) are actually held in FSUIPC offsets. Please see the FSUIPC7 Offset status document for details on what is held in offsets.

Posted by: @dl4saw

I use FSINTERROGATE, I compared the full area (all known and unknown variables) without finding the change.

FSInterrogate is very old now and the data files have not been updated to include the additional offsets added for FSUIPC7. Better to use the documentation on offsets.

Posted by: @dl4saw

Should I move to other tools to log the events?

To log events, you should use FSUIPC7;s logging facilities. Set logging for Events, open the logging console (Log -> Open Console), and you can see what events are generated when you press any button/switch.

For the battery in the Asobo B787-10, there is a toggle preset available (see https://hubhop.mobiflight.com/presets/?vendor=Asobo&aircraft=B787-10&search=batt):

it uses the ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE event.

There are also presets for the APU: APU Switch On, Off & Start. However, these use the B-var ELECTRICAL_APU_Starter_Set, but as far as I am aware you still cannot use b-vars in calculator code in MSFS2020 (you can in MSFS2024), so I can’t see how these presets can work. Maybe worth trying though, just in case.

 However, there is an Input Events (which maps to the B-var): ELECTRICAL_APU_Starter. You could use that, with values:
    0 – Off
    1 – On
    2 – Start

Just tried that here, and setting this Input Event to 2 turns the APU switch to Start, and then it goes back to On.

There is also an Input Event for the battery: ELECTRICAL_Battery_Switch. You can set that to 1 / 0 to switch the battery On / Off.

You can also use logging to list available Input Events (Log -> List Input events) and also see what Input Events are being triggered in real time (Log -> Input Events).

I done have the PM-B737. You will need to use logging to see how it works in that aircraft.
If all else fails and logging doesn’t reveal anything, you can use the MSFS developer tools to see how the switch is implemented. See the following article (N.B. you don’t need to use MobiFlight – use this to determine what the switch is using and then replicate that in your FSUIPC7 assignments, either using a preset or something else): https://www.badcasserole.com/uncovering-input-events-using-the-msfs2020-model-behavior-dialog/

 

John


Reply
1 Reply
Registered
(@dl4saw)
Joined: 1 month ago

Posts: 3

@fsuipc-support 

thanks you very much for the tips, they are very helpful. I’m still a bit bit overwhelmed by he the new features. I started working on my simulator over 20 years ago..  I am retired software developer, so I think I’ll manage.

Regarding the ELECTRIC_PUSH_BATTERY: it appears under Developer->Behavior, when I press  Ctrl+G and the main battery switch. (ASOBO-B787)

 


Reply
Posts: 173
Moderator
(@fsuipc-support)
Joined: 3 months ago

Also, if you are writing to offsets to control things rather than assignments in FSUIPC, you can use offset area starting at 0x7C50 to set Input Events, call presets, set lvars and execute calculator code. See the FSUIPC7 Offset Status document for details.

John 


Reply
Page 1 / 2