PDA

View Full Version : Offset for AP disconnect light



AVIATor-Olav
09-23-2012, 03:37 AM
Does anyone know the FSUIPC offset used for flashing the autopilot disconnect light?

kiek
09-23-2012, 05:13 AM
There is no such offset.

AVIATor-Olav
09-23-2012, 08:09 AM
Ok, so which offset does one use? AP master?

kiek
09-23-2012, 08:21 AM
Ok, so which offset does one use? AP master?
Among others. You have to add some logic, while this is no 1 to 1 relationship.

The Autopilot Disconnect only flashes if the Autopilot was in CMD mode when you switched the AP to OFF, not when it was not in CMD. So you also need to take the AP mode into account. And to make it even more complicated, there are also airplanes with a Soft AP Disconnect button (at the Yoke), with which you switch off the Autopilot but the AP MASTER switch remains in its position ...

Note that if you build a cockpit around the Level-D 767 you can use my lekseecon program, it provides you the AT Disconnect Visual and Aural Alerts ;-)

Nico

AVIATor-Olav
09-23-2012, 10:44 AM
Thans for your input. I'm building a 727 pit using the DF 727 and FSUIPC. I'm looking into outputs now. I had originally thought of going with SIOC as I allready have an OC outputs card, but I might go with a board and software from Ruscool instead.

dc8flightdeck
02-27-2013, 11:22 AM
This will make the AP light blink for x amount of seconds when the AP is turned off. I use this for a 737-200. If you want it to stop blinking due to a reset button being pressed you will have to modify the script.


// ----------------------------------AP Master ON/OFF------------------------------

Var 0142, name Engaged, Link FSUIPC_INOUT, Offset $07BC, Length 4 // Autopilot Master switch
{
IF &Engaged = 0
{
IF &M_AP_LGT = 0 // only start if led does not blink
{
&BlinkAP = 100 // begin value of timer
&BlinkAP = TIMER 0 -1 40
}
}
}
Var 0143 name BlinkAP
{
L0 = MOD &BlinkAP 2
IF L0 = 1
{
&M_AP_LGT = 1
}
ELSE
{
&M_AP_LGT = 0
}
}

Var 0144, name M_AP_LGT, Link IOCARD_OUT, Output 32 // AP Master disengaged blink