How to Control Battery 1 & 2 in Asobo A320neo? #27
Replies: 2 comments 2 replies
-
Hi Rainer, Thanks for the kind words, happy to make this project useful! 💐 As for the A320 batteries... I don't really know :) Here's one resource that might be useful, check out the RPN for the two battery events here (not tested personally, may not work): Or maybe this post: More.... Then there's also possible confusion about how those switches work in the first place (not even remotely, just using in-sim cockpit interactions): Sorry I can't give you a more definitive answer, but hope that helps. Cheers, |
Beta Was this translation helpful? Give feedback.
-
I forgot there's a "v2" of the 320neo... but if we're talking about the original, I did confirm the RPN code from HubHop seems to work.
It is simpler than it may look and could actually be performed w/out RPN. To break it down...
If you trigger the same event again with same values, the battery turns off. So you can see most of the code is just checking if the connection needs to be made in the first place. Using Bus Index 11 (instead of 10) controls the 2nd battery. Some of this can be figured out by looking at the sim's Debug Behaviors window -> Systems tab -> "Show electrical system debug" and then examining the "Bus Connections" tab in the new window that opens. Though I'm still not sure how one comes up with the Circuit index (6, in this case). So far I haven't been able to get anything like Cheers, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Max,
First of all, a big thank you for your WASimCommander project, which you’ve shared here on GitHub. It’s truly impressive how well thought out and comprehensive it is — and how many possibilities it opens up for custom hardware integration in MSFS2020. You have our full respect for the time and effort you’ve clearly invested!
We’ve successfully set up your project — both the WASM module (it shows up in the WASM Debug window without any red error lines) and your test application are running without any issues on our side.
However, we haven’t yet managed to turn Battery 1 and 2 on or off in the Asobo A320neo using WASimCommander.
So our question is:
Is it in principle possible to control Battery 1 and 2 in the Asobo A320neo via WASimCommander in MSFS2020? And if so, how exactly would we need to do it (e.g., which RPN command, variable, or method)?
We’d really appreciate any advice or example you could share!
Thanks again for your amazing work, and greetings from germany
Rainer
Beta Was this translation helpful? Give feedback.
All reactions