Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 3
  • *Guests: 10
  • *Total: 13

Our Discord

Author Topic: FSUIPC For Dummies  (Read 14176 times)

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,790
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
FSUIPC For Dummies
« on: August 31, 2009, 09:52:01 PM »
Guys,

I spent some time on the weekend with Peter Dawson's Manual, and a lot of trial and error.

I know most of you at one time went looking for this information, and sometimes are afraid of the direction the conversation can go.

Well here is the start of a Tutorial Thread that should help us all out.

Please if you are an expert in FSUIPC and Offsets, this thread is not needed for you, this is just so that maybe I can help some people not go through what I went through this weekend again.


I noticed that in PM systems there are so far two types of offsets being used. I am only 32 Buttons into this, so there may be more added here soon.

ie. Engine Start switch..

Offset X0000 Byte = 0 //--- Engine GND
Offset X0000 Byte = 1 //--- Engine off
Offset X0000 Byte = 2 //--- Engine CONT
Offset X0000 Byte = 3 //--- Engine AIR/FLT

Using Leo Bodnar's cards, or any joystick button input we program this like below.

FSUIPC Buttons/Switches menu
- Press the button
- select function Offset SET Byte
- Type in the 4 digit offset number
- Parim ON = X //-- X = 0,1,2,3 the function when the button is depressed
- select Function Offset SET Byte
- Type in the 4 digit offset number
- Parim OFF = X //-- X = 0,1,2,3 the function when the button is released

For instance on my Rotary switch I have the following when you turn it to the left for start.

- select function Offset SET Byte
- Parim ON = 0
- select Function Offset SET Byte
- Parim OFF = 1

Turnig to the right I have.
- select function Offset SET Byte
- Parim ON = 2
- select Function Offset SET Byte
- Parim OFF = 1

Very easy eh?

Ok well here is where I got confused..

the 737 has 4 landing light switches. The Light offset has several Bits assigned to it, for instance bit .4 is the far left switch, .3 is another switch .2 is another and so on.

This works similar to above except we are not assigning a value to the bit. we are only setting the bit or clearing it.

FSUIPC Buttons/Switches menu
- Press the button
- select function Offset SET bits
- Type in the 4 digit offset number
- Parim ON = the Bit number in HEXADECIMAL See Chart Below.

- select function Offset Clr bits
- Type in the 4 digit offset number
- Parim OFF = the Bit number in HEXADECIMAL See Chart Below.

if you set the Parim OFF to 00, it clears all bits, therefore turning one switch off, appears to turn all switches off belonging to that offset number.

Here is the best way to understand the bits/hex.

Binary Counts Like this. 0 1 2 4 8 16 32 64 128

Hex counts to 16 like this. 0 1 2 3 4 5 6 7 8 9 A B C D E F

Each Hex Number is made up of 4 Binary Numbers. The Below shows the Hex Value for Bit .4

Bit Numbers: 7 6 5 4 | 3 2 1 0
Binary 2 groups of 4: 8 4 2 1 | 8 4 2 1
HEX Value 1 0

for Bit .5 it would be

Bit Numbers: 7 6 5 4 | 3 2 1 0
Binary 2 groups of 4: 8 4 2 1 | 8 4 2 1
HEX Value 2 0

for Bit .0 it would be

Bit Numbers: 7 6 5 4 | 3 2 1 0
Binary 2 groups of 4: 8 4 2 1 | 8 4 2 1
HEX Value 0 1


I will add to this further, as I progress, but it really did take me an eternity to figure this information out.

I hope I haven't confused anyone, but please feel free to ask questions if you have any, and I will try to answer.

It did take considerable time to wrap my head around. For me what will be the next challenge is exceeding the bit .7 I would gather I will be adding another 2 hex digits to the string for bit .8, through .15. None the less, I also believe exceeding the 2 hex digits will be called an offset word or dword, I will experiment and report back here when I run into this.

I would like to keep this in the largest part laymen terms, I know people like Peter would think this thread is a waste of time, as he already has this information documented, but I personally had to understand it like I have it written here, maybe it's because I am not a university graduate.

« Last Edit: September 01, 2009, 07:06:51 PM by Trevor Hale »
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Offline ivar hestnes

  • Forum GURU
  • *
  • Posts: 383
  • plywood monkey
    • Project 737-800 simulator
  • First Name: Ivar
  • Home Location: Norway
Re: FSUIPC For Dummies
« Reply #1 on: September 13, 2009, 07:45:17 AM »
Thank you very much for posting this tutorial Trevor. It is one of the hardest topics to understand regarding simulator-building, and this information is very helpful to all of us :)

Offline warvet

  • Moderator
  • Forum GURU
  • *
  • Posts: 239
  • Senior Builder 12 years and Nice fellow :)
  • First Name: Tim
Re: FSUIPC For Dummies
« Reply #2 on: September 13, 2009, 05:03:51 PM »
 :huh: :huh: :huh: :huh: :o ::) ??? :P :-\ :fire: :eek:

HUH?

Tim
A340
"Want Some,Get Some, Bad Enough Take Some!:D "

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,790
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: FSUIPC For Dummies
« Reply #3 on: September 13, 2009, 08:20:50 PM »
LOL @ Tim..  I know the feeling :)
« Last Edit: September 13, 2009, 08:21:04 PM by Trevor Hale »
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Offline klm767

  • CockpitBuilder
  • *
  • Posts: 2
  • Junior Builder
  • First Name: Mike
Re: FSUIPC For Dummies
« Reply #4 on: October 21, 2009, 08:48:46 AM »
Trevor,

Do you know if you need to input the buttons in FSUIPC before you cvan use them in WIDEFS. Ik have a bit of a problem with the buttonscreen in WIDEFS and WIN7

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,790
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: FSUIPC For Dummies
« Reply #5 on: October 21, 2009, 09:19:40 AM »
hmmm.. what are you actually trying to do..  are you going to transfer button presses through widefs?  seems like a hard way of doing it.  The only time I have ever used "Kepresses across WifeFS was so that I could make my Vatsim Microphone work from a button press on my yoke"

Perhaps if you let me know more about what you are trying to do, I could help more.

Trev
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Offline FLY737

  • Forum GURU
  • *
  • Posts: 42
  • Taxpayer
    • FLY737
  • First Name: Rene Billiani
Re: FSUIPC For Dummies
« Reply #6 on: October 21, 2009, 10:05:26 AM »
Does anyone know the PM offset for "autopilot disconnect" ?
René Billiani
FLY737
http://www.fly737.com

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,790
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: FSUIPC For Dummies
« Reply #7 on: October 21, 2009, 10:31:00 AM »
Hey Rene,

I believe it is


x-50A MCP Commands (Read/Write)                      Bit 0 (TO/GA switch)
          Bit 1 (A/P disconnect)
          Bit 2 (A/T disconnect)

http://www.schiratti.com/docs/PMOffsets.html


         
« Last Edit: October 21, 2009, 10:34:27 AM by Trevor Hale »
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Online jackpilot

  • Moderator
  • I am chained to this website!
  • *
  • Posts: 4,064
  • 737-800 Sim-Avionics/Full Cockpit FDS + OEM P3D V4
  • First Name: Jack
  • Home Location: Montreal / Canada
Re: FSUIPC For Dummies
« Reply #8 on: October 21, 2009, 10:56:22 AM »
very good subject Trev...go on
Should not be rocket science but has to be explained in very primitive terms that "people who know" have a hard time to use lol
You did a good job...please persue..


Jack

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,790
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: FSUIPC For Dummies
« Reply #9 on: October 21, 2009, 11:00:33 AM »
Thanks Jack..  I will add more as I continue with my overhead rewire..  Just working on connecting it again to the interface, then I will be rereading this thread to figure out where I left off.

Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Offline Nick1150

  • Forum GURU
  • *
  • Posts: 217
  • Aviation Enthusiast
  • First Name: Nikolaos Malefakis
Re: FSUIPC For Dummies
« Reply #10 on: November 23, 2010, 06:16:41 AM »
That's a great topic  :)

Thanks Trevor  :idiot:
Nick

Boeing 737 NG home cockpit builder in Athens, Greece

Offline markuspilot

  • CockpitBuilder
  • *
  • Posts: 14
  • Very Advanced Junior Old Time Builder
    • MarkusPilot.com
  • First Name: Mark Allen
FSUIPC For Dummies
« Reply #11 on: November 09, 2012, 03:42:43 PM »
<confused>
Offset parameter for taxi, landing etc.
OK I got the offset + parameter for most of the stuff in the basic flight sim fs9 etc
 using the offset byte and para value...

Got stuck on separating the light switches beacon, landing strobe taxi etc
0D0C  byte size is 2 with individual values for the separate lights

How do I input this offset as a byte or word, or ???
What goes into the parameter ?
The values listed in the FSUPIC as is 0 - 9 , or do I change these into binary or hex

</confused>

Mark

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,790
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: FSUIPC For Dummies
« Reply #12 on: November 13, 2012, 07:27:24 AM »
Offset parameter for taxi, landing etc.
OK I got the offset + parameter for most of the stuff in the basic flight sim fs9 etc
 using the offset byte and para value...

Got stuck on separating the light switches beacon, landing strobe taxi etc
0D0C  byte size is 2 with individual values for the separate lights

How do I input this offset as a byte or word, or ???
What goes into the parameter ?
The values listed in the FSUPIC as is 0 - 9 , or do I change these into binary or hex

Mark

Hi Mark,  I had to look at this again, because it is an old post and I haven't touched this in a while.. I am still building.  But I put this post here because of situations like this.

In FSUIPC Each Light switch has its own Bit (#'s 0 - 9)

From the FSUIPC SDK....

OFFSET: 0D0C

SIZE: 2

Lights, a switch for each one (bits from lo to hi):
0 Navigation
1 Beacon
2 Landing
3 Taxi
4 Strobes
5 Instruments
6 Recognition
7 Wing
8 Logo
9 Cabin

Bits go like this like in my example above.

7654 : 3210

So if we want the Taxi light on we "SET" 08 to a value of 1
or to turn it off we do a value of 0 to "CLEAR" 08

if you want the logo light on we "SET" 82 to a value of 1
or to turn it off we do a value of 0 to "CLEAR" 82

if you want the Recognition light on we "SET" 40 to a value of 1
or to turn it off we do a value of 0 to "CLEAR" 40

I hope that helps.

Trev
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Offline MLeavy737

  • I may as well be Staff!
  • *
  • Posts: 620
  • First Name: Michael Leavy
  • Home Location: Houston, TX
Re: FSUIPC For Dummies
« Reply #13 on: November 13, 2012, 05:18:02 PM »
  Seeing this thread i couldnt be happier i dumped all of this offset business for Xplane and its SDK!

As you were :)

Mike L
The 737 800/900... Fastest airplane with the gear down!

Online jackpilot

  • Moderator
  • I am chained to this website!
  • *
  • Posts: 4,064
  • 737-800 Sim-Avionics/Full Cockpit FDS + OEM P3D V4
  • First Name: Jack
  • Home Location: Montreal / Canada
Re: FSUIPC For Dummies
« Reply #14 on: November 14, 2012, 07:23:45 AM »
  Seeing this thread i couldnt be happier i dumped all of this offset business for Xplane and its SDK!
Mike L

chicken... :D


Jack

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,790
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: FSUIPC For Dummies
« Reply #15 on: November 14, 2012, 07:28:43 AM »
LOL.. 
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Offline MLeavy737

  • I may as well be Staff!
  • *
  • Posts: 620
  • First Name: Michael Leavy
  • Home Location: Houston, TX
Re: FSUIPC For Dummies
« Reply #16 on: November 14, 2012, 09:35:50 PM »
Damn right! Lol.  Good luck to ya'll.

Mike L
The 737 800/900... Fastest airplane with the gear down!

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,790
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: FSUIPC For Dummies
« Reply #17 on: February 20, 2017, 12:49:52 PM »
Hi Guys.


Been a while since I added to this thread, but something I found today was worthy of addition.


Trying to trigger EGPWS test with button press I found the following.


BUTTON PRESS
Offset Byte Setbits
Offset= x564e Parameter = x40

BUTTON RELEASE
Offset Byte Clrbits
Offset= x564e Parameter = x40


Trev




« Last Edit: February 20, 2017, 05:45:28 PM by Trevor Hale »
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

 

FlightSimExpo 2019

FsExpo

COUNTDOWN TO WF2019


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

Wanted: 737 CDU
by Fabian
[Today at 07:07:59 PM]
Flight Scoring Platforms....
by bernard S
[Today at 05:55:18 PM]
SALE! Airbus A320 trainer, located near Gatwick UK
by nic
[March 21, 2019, 09:35:58 PM]
Help with wiring up FDS map light
by Skysurfer170
[March 21, 2019, 02:36:03 PM]
Complete 737-800 cockpit - moving sale
by navymustang
[March 21, 2019, 09:38:45 AM]
Boeing 737-800 Next Generation Simulator
by blueskydriver
[March 21, 2019, 07:42:41 AM]
Great US switch supplier
by Bob Reed
[March 20, 2019, 09:21:11 PM]
Great video on a Caravelle project
by Lomaric
[March 20, 2019, 06:10:00 PM]
Holy Grail ?
by bernard S
[March 20, 2019, 06:05:06 PM]
Join me on Vatsim Tonight
by Trevor Hale
[March 20, 2019, 09:08:36 AM]
737 MAX
by FredK
[March 19, 2019, 11:07:27 PM]
Sim Speaker System in a small package...
by sagrada737
[March 19, 2019, 01:32:30 PM]
Prosim and RSP TQ interfacing
by jfuenmayor
[March 18, 2019, 02:04:20 PM]
OEM 737 classic liners for sale
by Gallie
[March 18, 2019, 09:54:39 AM]
B737-200 throttle quadrant for sale
by Gallie
[March 18, 2019, 08:56:25 AM]
What have you done for your simulator today?
by 757Simulator
[March 18, 2019, 04:20:49 AM]
JetMax TQ for Sale...
by sagrada737
[March 16, 2019, 02:57:19 PM]
Revolution Simproducts V2.0 Plug & Play Throttle help
by jfuenmayor
[March 14, 2019, 10:13:05 PM]
Attention All Members and Guests
by Trevor Hale
[March 13, 2019, 06:25:07 PM]
Creality CR-10S 3d printer.
by sagrada737
[March 12, 2019, 07:57:11 PM]
CPFlight EFIS737Pro2
by Lomaric
[March 11, 2019, 05:18:20 PM]
Homebuilt seats and a question
by Trevor Hale
[March 11, 2019, 01:32:17 PM]
777 Throttle - sold
by mattking247
[March 10, 2019, 07:13:29 PM]
General Aiation FLIGHT GEAR, For sale
by fairchild
[March 10, 2019, 05:17:41 PM]
I HAD an idea for an inexpensive B737 cockpit - Not so inexpensive now!
by bernard S
[March 10, 2019, 01:03:02 PM]
B737 Heads Up Guidance Systems (HUD)
by navymustang
[March 10, 2019, 12:48:09 PM]
JetMax components for sale - ALL SOLD
by 737SimGuy
[March 08, 2019, 02:41:41 PM]
Open Cockpits P&P MCP/EFIS/FMC for Sale - NEW in USA
by Fabian
[March 07, 2019, 12:21:17 AM]
CPFLIGHT GEAR FOR SALE
by ivanroberts77
[March 06, 2019, 10:46:27 AM]
OEM AFDS Module 737-NG
by Reensel
[March 05, 2019, 03:59:47 PM]