Results 1 to 3 of 3
Thread: AutoPilot Disconnect
-
01-10-2010, 03:39 PM #1
- Join Date
- Sep 2007
- Location
- UK
- Posts
- 31
AutoPilot Disconnect
I have PM Glass Cockpit with CPFlight MCP. The autpilot works fine using the MCP switch. However, I have tried to set up the Yoke switch to disconnect the AP using SIOC without much success. I have tried writing to the FSUIPC offset ($07BC) and to the PM offset ($050A). Code used below. Any hints as to improving the code or addressing other offsets would be appreciated.
Var 0813, name APCutOut, Link IOCARD_SW, Input 25 // AUTOPILOT CUTOUT
{
IF &APAvailable = 1
{
&PMcmdMCP = CHANGEBIT 1 &PMDisconxAP
}
}
Var 2005, name APAvailable, Link FSUIPC_IN, Offset $0764, length 4
Var 2006, name PMcmdMCP, Link FSUIPC_OUT, Offset $050A, Length 2
Var 2007, name PMDisconxAP, value 1Andy
-
01-10-2010, 08:23 PM #2
- Join Date
- Jan 2007
- Posts
- 496
Re: AutoPilot Disconnect
For PM you don't use the FS A/P. The PM A/P disconnect is documented as bit 1 in offset 050A. Bit 1 means 2 to the power 1, which has value 2. You appear to be toggling the wrong bit, bit 0 which is listed as TO/GA.
I'm not sure why you are checking for "A/P available" (i.e. "is this aiercraft even equipped with an A/P"). I'm sure that operating PM's AP disocnnect when you don't have its autopilot running (MCP) it'll do nothing, and in any case 0764 would refer to the FS autopilot, not PM.
Regards
Pete
-
01-11-2010, 08:17 AM #3
- Join Date
- Sep 2007
- Location
- UK
- Posts
- 31
Re: AutoPilot Disconnect
Thanks Peter. I will try toggling a different bit of the PM offset 050A. I had assumed the description of the offset for AP available meant the aircraft systems were such that it could be seleted, not whether an AP was fitted or not. I will take out the check.
Andy
Similar Threads
-
Autothrottles & servos disconnect
By mauriceb in forum Phidgets & Cockpit Simulator BuilderReplies: 19Last Post: 05-16-2009, 12:36 PM -
AT Disconnect in FCU
By brianwilliamson in forum PM Airbus FCUReplies: 0Last Post: 08-24-2008, 01:16 AM -
737NG A/P Disconnect Tone
By ian@737ng.co.uk in forum General Builder Questions All Aircraft TypesReplies: 6Last Post: 07-30-2008, 07:57 PM -
Drive Disconnect (737 logic)
By dcutugno in forum PMSystemsReplies: 1Last Post: 02-05-2008, 02:13 PM -
A/T disconnect offsets
By NicD in forum I/O Interfacing Hardware and SoftwareReplies: 4Last Post: 08-02-2007, 07:37 PM
Search Prettys Womans from your city for night
5.Sharing an Essay about PIC16F877