Mode A and Mode C Codes
Mode A and Mode C Codes
Mode A and Mode C Codes
Darryl Phillips
What happens when you dial "1200" into your transponder? How
is aircraft altitude transmitted to the
controller? What is Mode A and
Mode C anyway?
To find answers, perhaps we should begin with a little history. The Air
Traffic Control Radar Beacon System
(ATCRBS) is an outgrowth of the IFF
equipment developed during World War II, at the same time radar
itself was
coming into use. The problem was differentiating between the good guys and
the bad guys, and
IFF (Identification, Friend or Foe) was the answer. The
equipment on board each allied aircraft received the
radar pulses, and
transmitted a secret code in reply. There were 64 possible codes, and the
idea worked quite
well.
After the war the concept was adapted for air traffic control.
Improvements were made, and the interrogator
was separated from the radar
itself. It still rotates around on the same dish, looking in the same
direction, and
is displayed on the same scope, in the same shade of green.
(Ever wonder why the FAA never learned the
advantages of color? I've
wondered that too.)
The 64 codes consisted of two digits, called A and B. (These are not
Mode A and B, that is something else
altogether.) There were two knobs, A
and B. Each digit has 8 possibilities, from 0 thru 7. 8 X 8 = 64, so there
were 64 possible codes.
Figure 1 shows the original 64 code format, and today's 4096 code format
under it. Each reply consisted of a
framing pulse, some combination of the
six possible data pulses, and another framing pulse. It all took place
in
20.75 microseconds. At the speed of light, a radio signal travels 3.35 NM
in that much time. Like ripples
in a pond, the signal travels outward from
the plane, and when the last of the signal leaves the antenna, the
first
is 3.35 milles away.
Figure 1
www.aeroelectric.com/articles/Altitude_Encoding/modec.htm 1/4
8/2/2021 Mode A and Mode C Codes
0 1 2 3 4 5 6 7
A1 0 1 0 1 0 1 0 1
A2 0 0 1 1 0 0 1 1
A4 0 0 0 0 1 1 1 1
Figure 2
Figure 3
www.aeroelectric.com/articles/Altitude_Encoding/modec.htm 2/4
8/2/2021 Mode A and Mode C Codes
Why do the altitudes go all the way down to a negative 1200 ft? It's the
barometric thing again. If you are
physically located at sea level on a
day with pressure above 29.92, your encoder will be putting out an
altitude (pressure altitude) below zero. To accommodate the possible high
pressures, the range goes down to
-1200.
Altitude encoders switch from one code to the next nominally at the 50
foot point. Thus the code should
indicate 1000 ft. at any height from 950
to 1050 ft., pressure altitude. But don't depend on it, the
specifications
are somewhat loose.
But in the real world, when does the encoder switch? This is a question
of practical importance to the pilot,
because it can make the difference
between a violation or not. The answer isn't simple. Encoders switch
when
they feel like it. If the encoder was perfect (none are) and temperature
and humidity and gravity and
barometric pressure were standard (they never
are) and there were no vibration or static system error (and if
you
believe in Santa Clause and the Easter Bunny), then the encoder will
switch as stated above, at the 50 ft
point. But consider just one
variable, barometric pressure. If it was 29.93, just one one-hundredth of
an inch
above standard, the encoder would switch at the 40 ft point (1040,
1140, 1240 etc). At 29.96, the encoder
would switch near the 10 ft point,
and at 29.97 reported altitude would switch at the assigned altitude.
So you can see that if you are assigned 6000 ft, for example, your
encoder would be jumping up and down
between 5900 and 6000, while you are
cruising steady at your assigned altitude. This is one reason why it's
www.aeroelectric.com/articles/Altitude_Encoding/modec.htm 3/4
8/2/2021 Mode A and Mode C Codes
The altitude coding pattern was developed when mechanical encoders were
the only way to digitize the data.
It is somewhat bass-ackwards, with D2
as the most significant bit, followed with D4, A1, A2, A4, B1, B2,
B4, in
a gray code that changes every 500 feet. The least significant digit is C,
with C1, C2, C4 following a
recyclic code different from the gray pattern.
Note that only one bit changes for each increment of altitude.
Bit D1 is
never used and always remains a "0". There are 3 illegal
combinations of C bits, 000, 101, and 111.
One further note on the Mode C codes. Transponder data inputs are
inverted logic. A logic "1" is ground,
while a "0" is
allowed to float to some positive voltage, depending on the particular
transponder model. To
indicate an altitude of 3500 ft., for instance a
ground is placed on A4, B1, B4 and C2.
Figure 4
Table of
Mode A and Mode C Encoder Data
www.aeroelectric.com/articles/Altitude_Encoding/modec.htm 4/4