Thread: pmSystem sysvar and logic
06-12-2007, 12:18 AM #1
- Join Date
- May 2007
pmSystem sysvar and logic
Hi, is anyone know what is internal handled variable? For instance, xxxx 2 fs1n1 (offsets length variable). And, one more thing is what is the value stated in the logics of the pmSystem for fs1n1<8, bleedpsi>16, etc? What does these values represent? Thank you
06-12-2007, 08:35 AM #2
ie. fs2n1 = engine 2 N1 Value
fs3n1 = engine 3 N1 Value.
Therfore in your logic question...... If fs1n1 is less then 8 (in other words
not running) then ........
Next line If your bleedair pressure is greater then 16 then .............
Hope that helps..________________________
06-13-2007, 04:22 AM #3
can you tell where I could find the syntax rules for pmSystems?
It seems to be somewhat like HP basic but also like C. Is it an own PM language and where can the syntax rules be found?
Would be great to shed some light on to this.
Thanks and best rgds
06-13-2007, 09:43 AM #4
Pmsystems programming language is a home made kind of breed that I am aware of. I have spent many hours playing with it, as Thomas and the rest of the PM team have not released any tutorials.
The syntax for the system is quite simple, as PM Smartly named the variables similar to the operation. All I can tell you is what I have taught myself.
The best intervention the PM made is in their latest release. They separated the graphic file from the logic file. This has made learning the code 1,000,000 % Easier.
Just breeze through the file and you will understand the logic. For instance... In the Logic file for the Ground power it it quite easy to understand from the logic how they either make it available or not available based on FSAGL variable.
I wish I could be of more help to you. I am still learning however am further then most. If you run into any questions, please do not hesitate to ask, as If I don't know the answer I will surely look and help you to understand.
Best regards my friend.
06-14-2007, 05:41 AM #5
I almost assumed it was a homebrew kind of language mix.
PM is great in software however, I´m afraid, the documentation part is not their strength (yet?).
Since PM decided to not answer to questions in public anymore it has become quite difficult to stay uptodate.
Just hope that individual questions and results will be made public here in this forum more often.
Thanks again and best rgds
06-14-2007, 08:41 AM #6
I agree 100%. I will try to keep this Thread alive as I learn some new and exciting things.
01-20-2008, 03:28 PM #7
any news on a possible tutorial or documentation file on pmSystems logic programming and syntax?
A320 Simulator Project - Flightdeck Solutions, CockpitSonic, BU0836, BU0836X, 8 computers, PJ458D DLP Projector, 2 Sony PSOne LCDs, Project Magenta, FS2004, IvAp, SA_WXR, Excel VB Code for ACP, VB.NET code for Instructor Station
01-21-2008, 04:25 PM #8
I'm trying to start learning more of the code too.
So in the B744 logic file, from Enrico, the fault amber leds of the Korry switches for the left and right utilities were not working
I wrote following code in order to let them work correctly
UtilityLOff = (UtilityL = 0) or (bustie1 = 0) //MVD
UtilityROff = (UtilityR = 0) or (bustie3 = 0) //MVD
UtilityLOff is the variable for the amber LED and so the rest says if the button isn't on or/and BusTie1 (3) is off, then the amber LED must be on.
Thomas helped me with the correct syntax and it was all working
By putting the bustie1=0 in other cases I can provide more correct logic for all systems working under that bus tie.
It is still very small, but there is progress
I hope PM can come up in the near futur with some more missing offsets for the B744 logic.
01-22-2008, 08:13 AM #9
- Join Date
- Sep 2007
- Northern Italy
Since not just the .exe, or the .dll, are expected to bring changes from one PM System release to the other, I wish the improvements to the logics file were somewhat highlighted in the accompanying file "changes.txt" ...
At the moment, you need to browse carefully each part, even each line of the file, with the old one in hand, to spot where the news are !Happy landings and always three greens !!
By Niben in forum PMSystemsReplies: 1Last Post: 03-12-2011, 05:43 AM
By AchillesP in forum PMSystems-Custom EditsReplies: 5Last Post: 12-09-2009, 07:23 AM
By HauptChr in forum PMSystemsReplies: 4Last Post: 09-03-2009, 02:06 AM
By Peter Parnreiter in forum PM General Q & AReplies: 0Last Post: 02-05-2005, 04:37 PM
By null null in forum PM General Q & AReplies: 2Last Post: 11-24-2004, 04:42 PM