0% found this document useful (0 votes)
121 views5 pages

Mode A and Mode C: The Straight Scoop On How It Works

Mode A and Mode C codes are used in aircraft transponders to identify aircraft to air traffic control. Mode A transmits a squawk code set by the pilot to identify the aircraft. Mode C transmits the aircraft's altitude as determined by an encoder. The document explains the history and development of these codes, from the original 64 codes in WWII to today's 4096 code system. It describes how Mode A and Mode C codes are structured and transmitted, how altitude is encoded, and factors that can affect the accuracy of the encoded altitude.

Uploaded by

jemi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views5 pages

Mode A and Mode C: The Straight Scoop On How It Works

Mode A and Mode C codes are used in aircraft transponders to identify aircraft to air traffic control. Mode A transmits a squawk code set by the pilot to identify the aircraft. Mode C transmits the aircraft's altitude as determined by an encoder. The document explains the history and development of these codes, from the original 64 codes in WWII to today's 4096 code system. It describes how Mode A and Mode C codes are structured and transmitted, how altitude is encoded, and factors that can affect the accuracy of the encoded altitude.

Uploaded by

jemi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

12/15/2015

ModeAandModeCCodes

MODEAANDMODEC
THESTRAIGHTSCOOPONHOWITWORKS
by
DarrylPhillips
Whathappenswhenyoudial"1200"intoyourtransponder?Howisaircraftaltitudetransmittedtothe
controller?WhatisModeAandModeCanyway?
Tofindanswers,perhapsweshouldbeginwithalittlehistory.TheAirTrafficControlRadarBeacon
System(ATCRBS)isanoutgrowthoftheIFFequipmentdevelopedduringWorldWarII,atthesametime
radaritselfwascomingintouse.Theproblemwasdifferentiatingbetweenthegoodguysandthebadguys,
andIFF(Identification,FriendorFoe)wastheanswer.Theequipmentonboardeachalliedaircraft
receivedtheradarpulses,andtransmittedasecretcodeinreply.Therewere64possiblecodes,andtheidea
workedquitewell.
Afterthewartheconceptwasadaptedforairtrafficcontrol.Improvementsweremade,andtheinterrogator
wasseparatedfromtheradaritself.Itstillrotatesaroundonthesamedish,lookinginthesamedirection,
andisdisplayedonthesamescope,inthesameshadeofgreen.(EverwonderwhytheFAAneverlearned
theadvantagesofcolor?I'vewonderedthattoo.)
The64codesconsistedoftwodigits,calledAandB.(ThesearenotModeAandB,thatissomethingelse
altogether.)Thereweretwoknobs,AandB.Eachdigithas8possibilities,from0thru7.8X8=64,so
therewere64possiblecodes.
Figure1showstheoriginal64codeformat,andtoday's4096codeformatunderit.Eachreplyconsistedof
aframingpulse,somecombinationofthesixpossibledatapulses,andanotherframingpulse.Italltook
placein20.75microseconds.Atthespeedoflight,aradiosignaltravels3.35NMinthatmuchtime.Like
ripplesinapond,thesignaltravelsoutwardfromtheplane,andwhenthelastofthesignalleavesthe
antenna,thefirstis3.35millesaway.

Figure1

http://www.airsportcorp.com/modec.htm

1/5

12/15/2015

ModeAandModeCCodes

Thepulsenumbersarebinaryweighted,soitiseasytodeterminetherelationshipbetweenpulsesandthe
numbertheyrepresent.TheAdigit,forexample,lookslikethis,with1representingapulse,and0
representingnopulse:

A1
A2
A4

0
0
0

1
0
0

0
1
0

1
1
0

0
0
1

1
0
1

0
1
1

1
1
1

Thesamepatternappliestodigits(knobs)B,C,andD.
Prettysoon64squawkcodesweren'tenough,andaschemeevolvedtoplaceapulsebetweeneachofthe
originalpulses.Thisgaveus8X8X8X8=4096,thesystemwehavetoday.TheCdigitnestedintothe
Adigit,likewisetheDinterdigitatedwithB.IntheprocessthenewXpulseappearedandcouldhavebeen
usedtodifferentiatebetweenSquawkandAltitudereplies,butitwasn't.Xhasneverbeenusedfor
anything.
Sotodaywehavetransponderswithfourknobs,whichrepresentA,B,C,andD.Eachcanbesetto
anythingfrom0to7(theswitchesdon'thaveaposition8or9.)Tosquawk1200,theAknobissetto1,B
issetto2,CandDaresetto0.
IfthetransponderreceivesaModeAinterrogation,ittransmitsthesquawkcode,assetbythepilot.Ifit
receivesaModeCinterrogation,ittransmitsthealtitudecode,assuppliedbytheencoder.It'simportantto
understandthatATNOTIMEdoesthetranspondersendboth.It'soneortheother,ifthegroundstation
sendsaModeAinterrogation,thetransponderreplieswithastringofpulsesthatarethesquawkcodeonly.
IfaModeCinterrogation,thereplyisaltitudeonly.
Figure2illustratestheinterrogationpulses.Thesepulsesaretransmittedon1030Mhz.Allinterrogators
usethesamefrequency.ThespacebetweenP1andP3definesthetypeofrequest,ModeA(thefedscall
this3/A),orModeC.IftheP1P3timingis8microseconds,leadingedgetoleadingedge,aModeA
http://www.airsportcorp.com/modec.htm

2/5

12/15/2015

ModeAandModeCCodes

responseisexpected,andif21microseconds,therequestisforModeC(altitude)data.P2isusedfor
sidelobesuppression,sothatthetransponderwillonlyrespondtotheprincipalforwardlobeoftherotating
antenna,evenwhenflyinginstrongsignalneartheinterrogatingsite.Longrangeradarinstallations,the
kindCenteruses,typicallyalternateA,C,A,C,onaonetooneratio.ASRusuallylookslikethis:A,A,C,
A,A,C,withtwosquawkrequestsforeachaltitudeinterrogation.

Figure2

Theoutputofthetransponderisonthefrequencyof1090Mhz.Pulsepositionandtimingspecsareshown
inFigure3.TheSPIpulseispresentonlywhentheIdentbuttonhasbeenpressed,andlastsabout10
seconds.

Figure3

ThereisnodifferencebetweenaModeAandModeCreply.IfaModeAinterrogationisissued,aModeA
replyisexpected,andthepulseswillbedecodedthatway.Likewise,ifaModeCrequestismade,thedata
receivedfromtheaircraftwillbecalculatedasaltitude.Thisworkswellwithonlyonegroundstation,but
withseveralstationsinterrogatingthesameaircraft,mistakescananddooccur.
TheModeCdataispressurealtitude,i.e.,setto29.92".Thisisequallytruewhetheryouareusingablind
encoder,oranencodingaltimeter.(Ifitweren'tso,thecontrollerwouldhavetoknowwhattypeofencoder
youareusing.)Usuallytherewillbeasubstantialdifferencebetweenpressurealtitudeandthereading
shownonthealtimeter.Oftenhundredsoffeet.(Hint:Turnyourbarometricadjustknobonyouraltimeter
fromoneendtotheother,andseehowmuchdifferenceitmakesinthealtitudereading.Onmost
altimeters,it'sabout2700ft.)
http://www.airsportcorp.com/modec.htm

3/5

12/15/2015

ModeAandModeCCodes

Thegroundequipmentautomaticallyaddsthenecessarybarometriccorrection,accordingtothelocal
pressure.Thecontrollerseesthesamereadingonhisscopethatthepilotseesonthealtimeter,ifbothare
usingthesamebarometricsetting.Itispossible,indeedlikely,thatanotherATCfacilityisindicatingthis
aircraftatadifferentaltitude,sincethebarometricpressurevariesfromonelocationtoanother.
Eachaltitudecodehasanequivalentsquawkcode.Thelistofaltitudecodesshowshowthatsamedata
woulddecodeasasquawkratherthanaltitude.Buteachsquawkcodedoesnotnecessarilyhavean
equivalentaltitude.Thereare4096squawkcodesbutonly1280altitudecodes,oneforeach100foot
incrementfrom1200to126,700ft.
Whydothealtitudesgoallthewaydowntoanegative1200ft?It'sthebarometricthingagain.Ifyouare
physicallylocatedatsealevelonadaywithpressureabove29.92,yourencoderwillbeputtingoutan
altitude(pressurealtitude)belowzero.Toaccommodatethepossiblehighpressures,therangegoesdown
to1200.
Altitudeencodersswitchfromonecodetothenextnominallyatthe50footpoint.Thusthecodeshould
indicate1000ft.atanyheightfrom950to1050ft.,pressurealtitude.Butdon'tdependonit,the
specificationsaresomewhatloose.
Butintherealworld,whendoestheencoderswitch?Thisisaquestionofpracticalimportancetothepilot,
becauseitcanmakethedifferencebetweenaviolationornot.Theanswerisn'tsimple.Encodersswitch
whentheyfeellikeit.Iftheencoderwasperfect(noneare)andtemperatureandhumidityandgravityand
barometricpressurewerestandard(theyneverare)andtherewerenovibrationorstaticsystemerror(andif
youbelieveinSantaClauseandtheEasterBunny),thentheencoderwillswitchasstatedabove,atthe50ft
point.Butconsiderjustonevariable,barometricpressure.Ifitwas29.93,justoneonehundredthofaninch
abovestandard,theencoderwouldswitchatthe40ftpoint(1040,1140,1240etc).At29.96,theencoder
wouldswitchnearthe10ftpoint,andat29.97reportedaltitudewouldswitchattheassignedaltitude.
Soyoucanseethatifyouareassigned6000ft,forexample,yourencoderwouldbejumpingupanddown
between5900and6000,whileyouarecruisingsteadyatyourassignedaltitude.Thisisonereasonwhyit's
importanttohaveareadout,soyoucanseewhatyourequipmentisreportingtoATC.
Thealtitudecodingpatternwasdevelopedwhenmechanicalencodersweretheonlywaytodigitizethe
data.Itissomewhatbassackwards,withD2asthemostsignificantbit,followedwithD4,A1,A2,A4,B1,
B2,B4,inagraycodethatchangesevery500feet.TheleastsignificantdigitisC,withC1,C2,C4
followingarecycliccodedifferentfromthegraypattern.Notethatonlyonebitchangesforeachincrement
ofaltitude.BitD1isneverusedandalwaysremainsa"0".Thereare3illegalcombinationsofCbits,000,
101,and111.
OnefurthernoteontheModeCcodes.Transponderdatainputsareinvertedlogic.Alogic"1"isground,
whilea"0"isallowedtofloattosomepositivevoltage,dependingontheparticulartranspondermodel.To
indicateanaltitudeof3500ft.,forinstanceagroundisplacedonA4,B1,B4andC2.

Figure4

http://www.airsportcorp.com/modec.htm

4/5

12/15/2015

ModeAandModeCCodes

TableofModeAandModeCEncoderData
BacktoAirSportHomePage

http://www.airsportcorp.com/modec.htm

5/5

You might also like