Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
Please send an e-mail (support@projectmagenta.com) with your unanswered questions or any hints you think may be
useful to others. Thank you.
These offsets are FSUIPC offsets for communication with MSFS 98/2000, 2002, 2004, FSX, ESP and Prepar3D. You will
find the FSUIPC SDK on www.schiratti.com/dowson.html
They are all 2 bytes long, unless otherwise stated.
• To check whether the A/T is disconnected, use 0x310A bit 3 (as per FSUIPC documentation)
• To interface to the MCP or FCU, ideally use the button commands as described in 0x4F2, not the bit toggles.
• Changelog (starting August 2011) at the end of the file
0x (hex) Addresses
04E0 2 MCP/FCU IAS (Read Only) 250 = 250 Knots IAS (1:1)
04E4 2 MCP/FCU Altitude (Read Only) (100 of feet, i.e. 3000 ft = 30, 31000 ft = 310)
04E6 2 MCP/FCU Selected Vertical Speed (Read Only) FCU - FPA in 100s, i.e. 0.9 = 90, -1.4 = -140
Boeing-Type MCP
15 Mach
Example: Write Value 33 to engage AP2 (K033 ELAN Code). Once read, the MCP resets the value
to 0 and is ready for another read.
Only last three digits are used, you can use the thousands to indicate the key has been pressed
again (state change), i.e. 4033 and 7033 do the same
DisableRemoteMCP must be set to OFF in the INI file for this to work.
Sending 100+(value) controls First Officer Display (e.g. 170 enables weather on Copilot
ND)
Only last three digits are used, you can use the thousands to indicate the key has been pressed
again (state change), i.e. 2150 and 5150 do the same
Please note, these commands go directly to the Glass Cockpit, if you do not want the MCP or FCU
to override them, then please use the MCP commands in 0x4F2 or 0x5520.
Airbus
1 MAP (Captain Side, 101 F/O side)
2 NAV (Captain Side, 102 F/O side)
3 VOR (Captain Side, 103 F/O side)
4 PLAN (Captain Side, 104 F/O side)
5 ILS Mode
Boeing
'Classic Modes'
1 MAP ARC
2 MAP CTR
3 VOR
4 MAP PLAN
6 CTR Pushbutton
7 Force display to 8 Modes (APP/VOR/MAP/PLN)
50 TCAS Off
51 TCAS Alt
52 TCAS Callsign
53 TCAS All
54 Toggle TCAS Off/Alt
77 ADFR ON
78 VORR ON
80 Terrain Display On
81 Terrain Display Off
82 Toggle Terrain Display
83 Terrain Type Change
84 Terrain Colour/Mode Change
85 Terrain Size Change
86 Terrain 3D
90 STA
91 VOR
92 NDB
93 WPT
94 ARPT
95 DATA
96 POS
(Airbus)
Secondary EICAS pages and functions AB
301 ENG
302 BLEED
303 PRESS
304 ELEC (A330/340 EL/AC)
305 HYD
306 FUEL
307 APU
308 COND
309 DOOR
310 WHEEL
311 F/CTL
313 ALL
314 CLR
315 STS
316 RCL
317 CLR
318 EL/DC (A330/340)
319 C/B (A330/340)
Boeing 737
331 - 336 Upper Engine page direct selection
340 Increment Upper Engine page by 1
341 ENG Key Lower EICAS (N2/Blank)
342 SYS Key Lower EICAS (SYS/Blank)
(Boeing)
Secondary EICAS pages and functions 747
301 ENG
302 STAT
303 ELEC
304 FUEL
305 ECS
306 HYD
307 DRS
308 GEAR
318 CANC
319 RCL
(Boeing)
Secondary EICAS pages and functions 777
301 ENG
302 STAT
303 ELEC
304 HYD
305 FUEL
306 AIR
307 DOORS
308 GEAR
309 FCTL
318 CANC
319 RCL
(Boeing)
401 Caution On (see 0x4FE)
402 Caution Reset
(Both)
421 Toggle No Smoking
422 No Smoking On
423 No Smoking Off
424 Toggle Seatbelts
425 Seatbelts On
426 Seatbelts OfF
21000 + Tilt / 2
22000 + Gain / 2
20001 Wx+TERR
20002 WXR
20003 WXR (VAR)
20004 MAP
20005 TEST
Reset to 0 by the Glass Cockpit (this can be *any* glass cockpit in the network), latest within 500
ms
04F6 2 Navaids and modes active in MAP... Captain Mode (please note, the MCP may overwrite these
values)
see offset 5526 for the first officer (Read Only, as the value is written by the MCP/FCU whenever
the EFIS selector is clicked on)
Bit 0 VOR
1 NDB
2 ARP
3 WPT
4 Plan Data boeing - CSTR for airbus
5 VOR1 needle Active
6 VOR2 needle Active
04F8 2 ND Map Range / Scale 0 = 5 1 = 10, 2 = 20, 3 = 40 ... (Read/Write) Captain Side
04FA 2 Captain Decision Height (10s of feet, 200 ft = 20, 1050 ft = 105, negative value is MDA)
(Read/Write)
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
04FC 2 Selected Waypoint in PLAN Mode (CDU Writes) (Project Magenta Internal)
Bit 0 Windshear
1 Below G/S
2 Caution
3 Warning
4 Stab Out Of Trim (Boeing only and TrimMax/TrimMin have to be set)
6 Eight Mode ND Active
7 Seatbelt Sign
8 No Smoking Sign
9 Weather Radar (Captain)
10 EGPWS/Terrain (Captain)
11 TCAS Active (Captain)
13 TCAS WARNING
14 TCAS ALERT
0500 2 AP Mode 1 (MCP/FCU active, F/D, TO/GA, FCU Gate selection) (Read Only)
MCP
Bit 0 Mach Active
1 Captain F/D
2 F/O F/D
non-zero if MCP is active
FCU
Hex Value of anunciator Channels, 15 values possible per channel, encoded as follows:
Autopilots Active (Bits 0 = none or any combination of 1, 2, 3 (bit 3), i.e. value 5 would be A/P 1
and 3 active)
Thrust Channel (Speed modes)
Vertical Channel (ALT etc.)
Horizontal Channel (HDG etc.)
Boeing Type
Bit 3 (MCP Instruction - Do not write throttle value to FS offset) (check 0x5528 bit 8 [i.e. 5529 bit
0] to see if it is active)
Bit 4 (A/T Detach for moving autothrottles, as an override of the MCP writing to the FS throttle
offset)
Bit3 and Bit 4 do the same (from V414 on)
The above are bit toggles, i.e. the value changing from off to on switch the mode.
Bit 5 Elevator
Bit 6 Elevator Trim
Bit 7 Aileron
Bit 8 Throttle
Bit 0 All
Bit 1 Capt PFD
Bit 2 Capt ND
Bit 3 Upper EICAS/ECAM
Bit 4 Lower EICAS/ECAM
Bit 5 F/O PFD
Bit 6 F/O ND
Bit 7 Reserved
Bit 8 Standby
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
Bit 9 CDU/MCDU
Bit 10 RCDU/RMCDU (rmcdu needs to be updated by me)
Bit 11 MCP/FCU (*hardware only)
0512 2 CDU "Load Type Data" Switch (Project Magenta Internal) (read only)
0514 2 CDU "Load Flight Plan Info" Switch (Project Magenta Internal)
Boeing
Captain
Bit 0 APP
Bit 1 NAV
Bit 2 MAP
Bit 3 PLAN
Bit 4 CTR
First Officer
Bit 8 APP
Bit 9 NAV
Bit 10 MAP
Bit 11 PLAN
Bit 12 CTR
51E .0 CaptainTerrainOn
51D .0 CopilotTerrainOn
Bit 0 (EXEC)
Bit 1 (MSG)
Bit 2 (FAIL)
Bit 3 (OFST)
Bit 4 Autotune active
Bit 5 Next Waypoint
Bit 6 Climb
Bit 7 Cruise
Bit 8 Descent
Bit 9 TOD in 50 Miles
Bit 10 TOD
Bit 11 TOD less than 50 Miles
Bit 12 BCDU is minimized
Bit 12 AB Approach Phase
Bit 14 AB Position Init Completed ATT/MAP off - ALIGN IRS set in MCDU
0532 2 Request Complete (non-zero) (Weather, CDU Reads) (Project Magenta Internal)
0534 2 Wind Direction (degrees true) (Weather, CDU Reads) (Project Magenta Internal)
0536 2 Wind Speed (Knots) (Weather, CDU Reads) (Project Magenta Internal)
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
48F2 1 Thrust Gate Value (0=Control Off, 1=MREV, 2=Rev Idle, 3=Idle, 4=CLB, 5=THR MCT, 6 =
TOGA)
Value 10 Disables Current Setting, forces setting via Trust Lever 2
Value 11 Disables Current Setting, forces setting via Trust Lever 4
(the Values 10 and 11 can be used to switch back and forth to MREV and REV IDLE while using
the lever position for the other settings)
48F3 1 Var. Bits (Alpha Floor Bit 1) MAN PITCH TRIM ONLY (bit 2) USE MAN PITCH TRIM (bit 3) TOGA
LOCK (bit 4) Disable AB Controls (bit 5) Disable Gate Setting (bit 6)
48FC 1
Bit 0 FBW running
Bit 1 FBW enabled (does not mean active)
Bit 2 Pitch PriorityMode enabled (does not mean active)
Bit 3 FBW Active
48FD 1
If you disable and want to enable, then you have to set bit 0 back to 0, then bit 1 to 1 and back
to 0 to give control back to FBW
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
540C 2 MCP/FCU V/S Set (Write) FCU - FPA in 100s, i.e. 0.9 = 90, -1.4 = -140
(MCP Build 307+: These values can be written to the MCP, but the MCP has the last word whether
they are used, depending on the active modes, use offset 0x4E0 etc. to read the actual values)
5410 4 Important Note: It is preferable if offsets 0x5410 to 0x5424 are not used anymore,
please use the MCP throughpass (0x4F2 instead) as well as the offsets 0x5406 to
0x540E.
DisableRemoteMCP must be set to OFF in the INI file for this to work.
AP1 Bit0
AP2 Bit1
---- Bit2-Bit3 (free)
AP3 Bit4
FDON Bit5 (switch on) Captain
FDFF Bit6 (switch off) Captain
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
For external programs, set to one, when it applies, reset to 0 by the MCP.
DisableRemoteMCP must be set to OFF in the INI file for this to work.
541C
Old ND Modes
MAP ARC Bit1 (Captain Side ND controls)
MAP CTR Bit2
ROSE Bit3
MAP PLAN Bit4
R10 Bit5
R20 Bit6
R40 Bit7
541D
R80 Bit8
R160 Bit9
R320 Bit10
R640 Bit11
VOR Bit12
NDB Bit13
WPT Bit14
ARPT Bit15
541E
DATA Bit16
POS Bit17
VOR1on Bit18
ADF1on Bit19
VORADF1off Bit20
VOR2on Bit21
ADF2on Bit22
VORADF2off Bit23
541F
METRIC Bit24
HDGVS/TRKFPA Bit25
Airbus
THR TOGA Bit 26
THR FLX/MCT Bit 27
THR CLB Bit 28
THR IDLE Bit 29
THR REV IDLE Bit 30 (THR MAX REV if the current status id THR IDLE REV)
THR MAX REV Bit 31
DisableRemoteMCP must be set to OFF in the INI file for this to work.
DisableRemoteMCP must be set to OFF in the INI file for this to work.
For external programs, set to one, when it applies, reset to 0 by the Glass Cockpit.
. (period) = 190
/ (slash) = 191
+ (plus) = 107
DELETE = 46
CLR = 8
This can be used to write characters to the scratchpad of the CDU and to manipulate the LSK and
function keys - FX keys from Ascii 112+(X-1)
Special ASCII
220 - automatic navaid selection/ autotune (no high byte = enable, shift = disable, ctrl = toggle)
(open to suggestions)
RCDU Extension: Setting bit 6 of the high byte, using the same rules as above, you can send
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
keyboard commands to the RCDU. E.g. Sending “A” to the CDU is value 65, to the RCDU it is (256 *
2^6) + 65 = 256 * 64 + 65 = 16449 (this command will then of course be ignored by the CDU)
Updated 14-12-2006
542A 2 Glass Cockpit and General Aviation IFR "Keyboard Interface" (2 bytes)
This can be used to write characters to the scratchpad of the CDU and to manipulate the LSK and
function keys - FX keys from Ascii 112+(X-1)
This can be used to write characters to the scratchpad of the CDU and to manipulate the LSK and
function keys - FX keys from Ascii 112+(X-1)
This can be used to write characters to the scratchpad of the CDU and to manipulate the LSK and
function keys - FX keys from Ascii 112+(X-1)
5430 RemoteLoadPage
5432 RemoteCommand
5434 RemotePageSet (8 bytes)
543D RemotePageActive (8 bytes)
5446 RemoteScratchPad (24 bytes) - 545F
5460 Empty
5460 24 Lat/Lon/Info Type (to be written in intervals > 1 second) Read/Write 3 x 8 bytes
Thrust Gate Value (0=Control Off, 1=MREV, 2=Rev Idle, 3=Idle, 4=CLB, 5=THR MCT, 6 = TOGA)
Value 10 Disables Current Setting, forces setting via Trust Lever 2
Value 11 Disables Current Setting, forces setting via Trust Lever 4
(the Values 10 and 11 can be used to switch back and forth to MREV and REV IDLE while using the
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
5508 2 737 Speed Reference Dial s V1 (5509 Selector AUTO=0 V1=1 VR=2 WT=3
VREF=4 ???=5 SET=6) 5508 (Value)
5526 2 ND display Modes Selected in ND Copilot/First Officer(Read) e.g. STA, WPT etc. (written by
MCP/FCU)
Bit 0 VOR
Bit 1 NDB
Bit 2 ARP
Bit 3 WPT
Bit 4 Plan Data boeing - CSTR for airbus
Bit 5 VOR1 needle Active
Bit 6 VOR2 needle Active
5528 2 FCU Dashed Display / Boeing MCP Trim Wheel and FD Lights (read only)
Airbus
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
Boeing
Bit 0 AP PRST (MIP Button Input is K090, i.e. 0x4F2 value 90)
Bit 1 AT PRST (MIP Button Input is K091, i.e. 0x4F2 value 91)
Bit 2 FMC PRST (MIP Button Input is K092, i.e. 0x4F2 value 92)
Airbus
Bit 9 FD Light Left
Bit 10 FD Light Right
Bit 11 LS Light Left
Bit 12 LS Light Right
Boeing
Bit 13 Stab Trim Override and indicator
552A 2 Selected Reference Bank Angle for Autopilot (will be set to 25 if it is 0, the value 1 is "AUTO")
5542 Offset is used for Pilot selected page, if it is 0, then auto-switching (DOORS/FCTL
Copilot Decision Height (10s of feet, 200 ft = 20, 1050 ft = 105, negative value is MDA)
(Read/Write)
5532 2
4 FAIL PFD
5 ATT1 Select
6 ATT2 Select
7 AIR DATA1 Select
5538 2
CRJ Fail Flags Captain Side
4 FAIL Copilot PFD
5539 Bit 1 Revert F/O PFD
5539 Bit 5 Oil2 Fail
553A 2 Thrust setting when A/T is detached (see 5528 and 50A)
Secondary/Lower Engine Page Pilot Selected (selected by Pilot on ECAM Page selector
5542 2
panel) For lights and internal logics, to set the page, please use 0x4F4 (read only)
RCDU Connected
554B 2 Bit0 (Connected to FS)
Bit1 (Connected to Master CDU)
Value 10 CRJ
Value 11 CRJ 700
Value 20 ERJ
554E 1
Failure Flags
55D2 4 Bit 0 LOC fail
Bit 1 G/S fail
55E0 2 Hyd Press 1 display override (same factors as in FS) for 0 use value 1
7 MCP
55F7-FA 1 8 FMC
9 RFMC
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
A ISIS
Internal
5911 1 Airbus Flap Position, starting with 1 = UP (for Airbus 5 positions UP-1-2-3-FULL)
5912 2 Single Throttle (does not really apply, as at least 2 throttles are expected)
5914 2 Throttle1 (0 - 16383)
5916 2 Throttle2 (0 - 16383)
5918 2 Throttle3 (0 - 16383)
591A 2 Throttle4 (0 - 16383)
These offsets have been defined so throttle hardware manufacturers do not have to
bother about the setting of offset 310A
5400-5BFF "reserved"
5C00-5EFF RFMC Transfer
Reserved 5D00-5FFF
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
The serial communication settings are 19200,N,8,1 Telegrams are all in ascii... where all telegrams are followed by a
ASCII 0h I.e. when the HDG button is pressed, the MCP hardware sends to MCP.EXE (Basic Style Language): "K025" +
chr(0X0)
The MCP Throughpass (Offset 0x4F2) can use the following codes as well, e.g. to send K020 set value in 0x4F2 to
20decimal. When read, the MCP sets 0x4F2 back to 0.
SPDP K010 (SPD pushbutton 747 MCP, Speed Intervention on B737 MCP)
HDGP K011 (heading SEL pushbutton 747 MCP, use K025 for HDG HOLD, K025 for HDG SEL on the 737)
ALTP K012 (ALT pushbutton 747 MCP, Altitude Intervention on 737 MCP)
ATDISC K016 (disconnect autothrottle) from MCP build
FDON K017 (switch on RIGHT )
FDFF K018 (switch off RIGHTF/D)
ATON K019 (switch on)
ATFF K020 (switch off)
THR/N1 K021
TOGA Throttle Button K121
SPD K022
FLCH K024
MACH K023
HDG K025
VNAV K026
LOC K028
LNAV K027
APP K029
ALT K030
VS K031
AP1 K032
AP2 K033
CWSA K034
CWSB K035
AP3 K036
FDON K037 (switch on LEFT F/D)
FDFF K038 (switch off LEFT F/D)
APDI K099 (AP Disengage - defined for 747-400 MCP)
APDI K040 (AP Disengage - not used in 747-400 MCP)
APEN K041 (AP Engage - not used in 747-400 MCP)
FPV K044
FPV K144 Copilot
MTRS K045
MTRS K145 Copilot
CTRND K046
TFC K047 (TCAS)
TFC K147 (Copilot TCAS)
RST K048
RST K148 Copilot RST
Boeing
STD K049
STD K149 Copilot STD
Airbus
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
First Officer
IN K162
HPA K163
setDH K164
setMDA K165
APPND K166
VORND K167
MAPND K168
PLNND K169
N11 K070 VOR1 (double for compatibility to some mixed AB/Boeing setups)
N12 K071 ADF1
N13 K072 OFF1
N21 K073 VOR2
N22 K074 ADF2
N23 K075 OFF2
N11 K170 VOR1 F/O
N12 K171 ADF1
N13 K172 OFF1
N21 K173 VOR2
N22 K174 ADF2
N23 K175 OFF2
STA K080
WXR K081
Suggestion:
V10 MINS
V11 BARO
V12 Copilot MINS
V13 Copilot BARO
V101002 (increments MINS by 2 units)
V110004 (decrements BARO by 4 units) V11 [baro] 0 [dec] 004 [4 units]
CP Flight Reserved
I00
J00
G00
H00
Airbus-Type Extensions
ALS K049 (AB LS Button)
ALS K149 (AB LS Button) (Copilot)
ASTI K050 (AB STD/QNH push)
ASTO K051 (AB STD/QNH pull -> STD BARO 29.92 in)
ASPI K052 (AB Speed Button push - managed speed mode)
ASPO K053 (AB Speed Button pull)
AHDI K054 (AB Heading Button push - managed heading mode)
AHDO K055 (AB Heading Button pull)
AALI K056 (AB Altitude Button push - managed altitude mode)
AALO K057 (AB Altitude Button pull)
AVSI K058 (AB VS Button push - managed altitude mode)
AVSO K059 (AB VS Button pull)
AEXP K060 (AB EXPED Button)
ATFP K061 (AB TRKFPA Button)
IN K062 (AB QNH INHG)
HPA K063 (AB QNH HPA)
VN1 K071 (AB VOR1OFF)
Serial communication, string K025(Null) ["K025"+chr(0)] "presses" HDG MCP hardware to program (telegrams)
V01 123(0) left course selector value from MCP (course 123)
V02 245(0) speed indicator value 245 knots
V03 320(0) heading value (320 degrees)
V0412000(0) altiitude value (12000ft)
V05-1800(0) vertical speed (-1800 ft/min)
V06 232(0) right course selector
V08 400(0) decision height Lights activation... from program to hardware: the last two digits are sent as identifier
V09 25(0) Set bank angle in degrees e.g. V0925
L0125(0) switches the HDG light on
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
Boeing
Airbus
Flaps Locked 20
CRJ
Project Magenta FSUIPC Offsets Revision: 25 Jan 2015
Changelog:
• Added 4F4 Command for Boeing Tilt, Gain and WXR modes