PDA

View Full Version : OfSched PMsisytem 170



gandofalcon
10-30-2010, 07:37 AM
568C .0 OfSched. Some condition for this one?, if....else :roll:

Potrohkocsonya
01-17-2011, 09:45 PM
568C .0 OfSched. Some condition for this one?, if....else :roll:

I use this:

// OFF SCHEDULE DESCEND
MCPAutopilotAlt = (AutopilotAlt / 65536 * 3.2808399)
Descending = (ground = 0) and (MCPAutopilotAlt < AltimeterValue)
Climbing = (ground = 0) and (MCPAutopilotAlt > AltimeterValue)

if Climbing and (AltimeterValue > 9000) and (Verticalspeed <-1000 )
OffSchedDscnd = 1
else
OffSchedDscnd = 0
endif

if Descending then OffSchedDscnd = 0

You need these additional offsets in the sysvar.txt file:

02C8 4 Verticalspeed
07D4 4 AutopilotAlt
3324 4 AltimeterValue

regards
Potroh