Ref | Standards Quick Ref |
RS-232 DB-25
|
RS-232 DE-9
|
Connectors as viewed from front of female connector or rear of male connector.
In standard asynchronous serial communications the LSB is sent first.
In standard asynchronous serial communications the idle state is Data-1/Mark.
Data | Telecom | RS-232 Data | Current Loop |
---|---|---|---|
0 | Space | +3 to +15 V | Open circuit / no current |
1 | Mark |
Binary | Control | RS-232 Control |
---|---|---|
0 | -3 to -15 V | |
1 | Asserted |
|
|
|
|
|
|
Code | MSB --- LSB | Letter | ITA2 Figure | US Figure | ? Figure |
---|---|---|---|---|---|
00 | 0 0 0 0 0 | NUL | NUL | ||
01 | 0 0 0 0 1 | E | 3 | ||
02 | 0 0 0 1 0 | LF | LF | ||
03 | 0 0 0 1 1 | A | - | ||
04 | 0 0 1 0 0 | SP | SP | ||
05 | 0 0 1 0 1 | S | ' | BEL | |
06 | 0 0 1 1 0 | I | 8 | ||
07 | 0 0 1 1 1 | U | 7 | ||
08 | 0 1 0 0 0 | CR | CR | ||
09 | 0 1 0 0 1 | D | AB | $ | $ |
10 | 0 1 0 1 0 | R | 4 | ||
11 | 0 1 0 1 1 | J | BEL | ' | |
12 | 0 1 1 0 0 | N | , | ||
13 | 0 1 1 0 1 | F | UD | ! | nul |
14 | 0 1 1 1 0 | C | : | ||
15 | 0 1 1 1 1 | K | ( | ||
16 | 1 0 0 0 0 | T | 5 | ||
17 | 1 0 0 0 1 | Z | " | ||
18 | 1 0 0 1 0 | L | ) | ||
19 | 1 0 0 1 1 | W | 2 | ||
20 | 1 0 1 0 0 | H | UD | # | # |
21 | 1 0 1 0 1 | Y | 6 | ||
22 | 1 0 1 1 0 | P | 0 | ||
23 | 1 0 1 1 1 | Q | 1 | ||
24 | 1 1 0 0 0 | O | 9 | ||
25 | 1 1 0 0 1 | B | ? | ||
26 | 1 1 0 1 0 | G | UD | & | & |
27 | 1 1 0 1 1 | FIG | FIG | ||
28 | 1 1 1 0 0 | M | . | ||
29 | 1 1 1 0 1 | X | / | ||
30 | 1 1 1 1 0 | V | ; | ||
31 | 1 1 1 1 1 | LTR | LTR |
ITA2 is the standard code used by 5-level teletypes such as the Model 28.
ITA2 is frequently referred to as Baudot code. They are both 5-level codes, however the encodings are actually different.
The standard US Teleprinter code varies from ITA2 in several of the Figures characters. These are shown in the US Figures column - the differences are shown, an empty entry in the column implies the same as ITA2 Figures.
See for ref: Five-unit codes at www.rtty.com
(Local Note: the military 28 is setup for the US code, the beige 28 is ITA2 with some US figures as per ? Figures column).
The table shows the code values for the Model 28 Teletype typebox matrix, along with the symbol placement for the US-ITA2 character code. This is as viewed from the front of the teletype, and hence looking at the rear of the typebox.
Bits can be labeled in terms of their binary weighting in the code or the time sequence of transmission: bit 2^0 is the 1st sent (t1) while 2^4 is the last sent (t5).
LTRS | FIGS | ||||||||||||||||
28 | 12 | 20 | 4 | 0 | 16 | 8 | 24 | 28 | 12 | 20 | 4 | 0 | 16 | 8 | 24 | ||
0 | M | N | H | SP | NUL | T | CR | O | . | , | # | SP | NUL | 5 | CR | 9 | |
1 | X | F | Y | S | E | Z | D | B | / | ! | 6 | BEL | 3 | " | $ | ? | |
2 | V | C | P | I | LF | L | R | G | ; | : | 0 | 8 | LF | ) | 4 | & | |
3 | LTR | K | Q | U | A | W | J | FIG | LTR | ( | 1 | 7 | - | 2 | ' | FIG |
Standards Quick Ref | bhilpert 2014 Nov |