Jump to content
The simFlight Network Forums

Squawkbox transponder offset programming


Recommended Posts

Hi Pete,

Can you just clarify something for me before I program my joystick button :

The Squawkbox web-site says :

"SquawkBox 3 Specific Offsets:

0x7b91 (1 byte)

Transponder mode

0 = normal

1 = standby

SquawkBox reads this value to determine which transponder mode to send to

the network. Your transponder gauge should set this offset when the user

changes modes with your gauge".

If Iam reading this right then I need to use the Offset Byte setbits (or Clearbits) control for offset 7b91.

Which bit am I setting/clearing, bit 0 or bit 1 (or have I got the wrong end of the stick again ???)

Many thanks David

Link to comment
Share on other sites

"SquawkBox 3 Specific Offsets:

0x7b91 (1 byte)

Transponder mode

0 = normal

1 = standby

...

If Iam reading this right then I need to use the Offset Byte setbits (or Clearbits) control for offset 7b91.

Which bit am I setting/clearing, bit 0 or bit 1 (or have I got the wrong end of the stick again ???)

From that description it sounds like they are using the byte to hold a VALUE, not a BIT. Why do you think those 0 and 1's are bit numbers?

It looks like you should write a 0 to the byte (Offset Byte Set) to set 'normal' mode and a 1 to set "standby".

Regards,

Pete

Many thanks David

Link to comment
Share on other sites

David,

I'm working on something similar myself: Transponder mode and IDENT via GF controls, for IVAP in my case.

I suspect the GoFlight side of this will be of little interest to you (unless you have GF modules and haven't considered using them in this respect) but the FSUIPC button programming will still be valid:

2=P101,6,Cx01007B93,x01
3=P109,6,Cx01007B91,x00
4=U109,6,Cx01007B91,x01

I use a toggle switch for transponder mode [P/U109] and a push button for IDENT [P101]. Unfortunately, I am grabbing the button programming via Remote Desktop from my home machine and as such can't confirm the specifics of the programming out of the FSUIPC GUI (i.e. the exact Offset function I am using).

Given the offsets in IVAP and SB3 are identical, you should be able to use this with minor modifications - I'd suggest using "Offset Byte togglebits" if your using a non-locking push button for transponder mode.

Link to comment
Share on other sites

Hi,

I have now finished this for Squawkbox 3 and everything is working well for both the transpnder and the COM1/2 functionality.

I have programmed all my buttons in FSUIPC.INI manually because I use shift keys to assign multiple actions to the same button but I think all this stuff can be done via the Buttons GUI page in the FSUIPC moudle within FS2004.

Anyway, here is the code I have used (substitute your joystick/button numbers for n/n and your line entry number in the [buttons] section for **..)

Transponder :

Standby mode

**=Pn,n,Cx01007B91,x00

Normal mode

**=Pn,n,Cx01007B91,x01

Ident

**=Pn,n,Cx01007B93,x01

COM radios :

COM1 active

**=Pn,n,C66463,0

COM2 active

**=Pn,n,C66464,0

BOTH radios (Toggle)

**=Pn,n,C66465,0

Hope this helps

David

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.