Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 3
  • *Guests: 71
  • *Total: 74

Our Discord

Author Topic: FSUIPC For Dummies  (Read 13959 times)

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,727
    • 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,727
    • 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,727
    • 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,727
    • 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:

Offline jackpilot

  • Moderator
  • I am chained to this website!
  • *
  • Posts: 4,034
  • 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,727
    • 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,727
    • 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!

Offline jackpilot

  • Moderator
  • I am chained to this website!
  • *
  • Posts: 4,034
  • 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,727
    • 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,727
    • 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

Wrong hiegth above ground when landing and P3D set for Panel Only
by navymustang
[Today at 08:30:23 AM]
12v power supply for map light
by Joe Lavery
[Today at 07:45:52 AM]
Windscreen/windshield Wipers
by blueskydriver
[Today at 03:32:37 AM]
B767 MIP
by Goodenough
[January 16, 2019, 09:13:23 PM]
STEERING AND YOKE 737 PROMO
by blueskydriver
[January 16, 2019, 06:07:16 PM]
Join me on Vatsim Tonight
by Trevor Hale
[January 16, 2019, 05:53:50 PM]
YOU CAN HELP SHAPE FLIGHTSIMEXPO: 2020
by Trevor Hale
[January 16, 2019, 01:10:08 PM]
Streaming with Elgato tools.
by RayS
[January 15, 2019, 03:43:59 PM]
Help in building a GTN 650/750 for Reality XP
by redman
[January 14, 2019, 01:02:57 PM]
What have you done for your simulator today?
by bernard S
[January 14, 2019, 12:05:01 PM]
Complete 737-800 cockpit - moving sale
by navymustang
[January 14, 2019, 11:07:28 AM]
Wanted: B737 Linked Yoke,
by dvst8r
[January 14, 2019, 10:55:31 AM]
Replace display Flyengravity CDU
by flymo
[January 13, 2019, 01:10:55 PM]
It's been a while. a new picture of my baby!
by Trevor Hale
[January 13, 2019, 09:21:19 AM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by blueskydriver
[January 13, 2019, 08:25:21 AM]
Three Projector 210 degree with P3D4
by blueskydriver
[January 10, 2019, 04:12:26 AM]
Aircraft Registration Placard
by jackpilot
[January 07, 2019, 10:19:13 AM]
How do you manage power amperage for your sim
by kurt-olsson
[January 07, 2019, 10:12:23 AM]
Trim Wheels
by Joe Lavery
[January 07, 2019, 04:18:15 AM]
ActiveSky - across networked PCs anyone
by FredK
[January 06, 2019, 10:54:28 PM]
ACE 737 Pro Yoke stab trim switch issue help needed
by dornier
[January 06, 2019, 08:23:42 PM]
Help In wiring LED and Fan
by GyverX
[January 06, 2019, 03:54:28 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[January 06, 2019, 11:38:46 AM]
B737 OEM Throttle Quadrant and more to come
by archen
[January 05, 2019, 06:27:11 PM]
Wanted: 737 FMC/CDU
by blueskydriver
[January 04, 2019, 07:35:04 PM]
Other forums ?
by navymustang
[January 03, 2019, 05:51:20 PM]
FLIGHTSIMEXPO LAUNCHES DISCOUNTED ADVANCE REGISTRATION FOR ORLANDO 2019 EVENT
by Slacker
[January 03, 2019, 09:52:14 AM]