IBM 3270 PC: Difference between revisions

Point to IBM's keyboard adapter cable wiring chart
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox computer
{{Infobox computer
| name          = IBM 3270 PC
| name          = IBM 3270 PC
| image        = [[File:IBM 3270 PC.jpg|260px]]
| image        = [[File:IBM 3270 PC.jpg|260px|frameless]]
| caption      = IBM 3270 PC (machine type 5271) — XT-based mainframe-terminal-emulation workstation, announced 18 October 1983
| caption      = IBM 3270 PC with the 122-key keyboard and 5272 Color Display
| developer    = IBM Entry Systems Division, Boca Raton, in cooperation with IBM 3270 terminal groups
| manufacturer  = IBM
| manufacturer  = IBM
| type          = Mainframe-terminal-emulation workstation (PC XT chassis + 3270 hardware)
| type          = Personal computer and 3270 display station
| release date  = 18 October 1983 (announcement letter 183-129)
| release date  = Announced 18 October 1983; general availability first quarter 1984<ref name="al183129" />
| discontinued  = 1987 (superseded by IBM 3270 Workstation Program software running on standard PCs and PS/2s)
| price        = US$3,785 (Model 2) to US$6,210 (Model 6), system unit only<ref name="byte84" />
| cpu          = Intel '''8088 @ 4.77 MHz''' — identical to the [[IBM PC XT (5160)|IBM PC XT]] planar
| cpu          = Intel 8088 at 4.77 MHz (IBM PC XT system board)<ref name="simxt">IBM, ''IBM Personal Computer Family Service Information Manual'', SA38-0037-00, chapter 6, "5160 PC XT", p. 6-2. The 8088 at 4.77 MHz, and the 130 W system unit power supply with its rail currents and tolerances.</ref>
| memory        = 256 KB minimum (Model 2 fixed); 512–640 KB on Models 4 / 6 / 24 / 26 / 30 / 50 / 70; up to 2 MB on 31 / 51 / 71 with the Expanded Memory Adapter (XMA)
| memory        = 256 KB or 640 KB on the system board, depending on model; up to 640 KB conventional memory, plus 1 MB on the Expanded Memory Adapter in Models 31, 51 and 71<ref name="sim" />
| storage      = 5.25" 360 KB DSDD floppy (1 or 2); optional 10 MB ST-412 hard drive (Model 6) or 20 MB hard drive (Models 30 / 50 / 70 from 1986)
| storage      = One or two 360 KB 5.25-inch diskette drives; 10 MB fixed disk on Models 6 and 26, 20 MB on Models 70 and 71<ref name="sim" />
| display      = '''IBM 5272 Color Display''' (14" tilt/swivel, 720×350, 7 colours, 24 kHz hsync), or '''IBM 5151''' monochrome, or '''IBM 3295 Plasma Monitor''' (Models 24/26)
| display      = IBM 5272 Color Display (14-inch, 720 × 350), IBM 5151 Monochrome Display, or IBM 3295 Plasma Monitor (Models 24 and 26)
| sound        = PC speaker
| sound        = PC speaker
| os            = '''3270 PC Control Program''' + PC DOS 2.0 / 2.1. Control Program v3.0 required for Models 31/51/71 and all P-models. Up to '''4 mainframe sessions + 1 DOS task + 2 notepads''' simultaneously in a windowed display. Single DOS task only. Superseded in 1987 by the 3270 Workstation Program
| weight        = 33 lb (15 kg)<ref name="byte84" />
| predecessor  = [[IBM PC XT (5160)]] (chassis) and IBM 3278 / 3279 terminals (function)
| dimensions    = 5.5 × 20 × 16 in<ref name="byte84" />
| successor    = IBM 3270 Workstation Program (1987) — same multi-session experience on a standard XT/AT with only a 3278/79 emulation card
| os            = 3270 PC Control Program with PC DOS 2.0 or later
| model        = 5271 (system unit machine type). Submodels: 2, 4, 6, 24, 26, 30, 31, 50, 51, 70, 71, and P-prefix variants (P30, P31, P50, P51, P70, P71)
| model        = 5271 Models 2, 4, 6, 24, 26, 30, 31, 50, 51, 70, 71, P30, P31, P50, P51, P70, P71
}}
}}
<templatestyles src="Template:StyledTable/styles.css" />
The '''IBM 3270 PC''' (machine type 5271) is a personal computer that IBM announced on 18 October 1983 as a combined IBM PC and 3270 display station.<ref name="al183129">IBM Announcement Letter 183-129, "IBM 3270 Personal Computer", 18 October 1983 (copy of IBM's online text at sharktastica.co.uk/resources/docs/IBM_183-129_3270PC_83.pdf). Models 2, 4 and 6 and their contents, general availability in the first quarter of 1984, the seven concurrent sessions, the host attachment modes, the slot allocation table and the Control Program storage table.</ref> It attaches by coaxial cable to an IBM 3274 control unit and, with the 3270 PC Control Program, runs up to four host sessions, two notepads and one PC DOS session at the same time.<ref name="al183129" /> The system unit is an [[IBM PC XT (5160)]]. IBM's parts catalogue states that all base system parts for the 3270 XT products are the same as 5160 XT base system parts,<ref name="sim">IBM, ''IBM Personal Computer Family Service Information Manual'', SA38-0037-00, 1989, hosted as [[IBM Personal Computer Family Service Information Manual]]. Chapter 10, "3270 PC Products", pp. 10-1 to 10-17: system unit and display combinations, the 5271 model list, the 3270 unique error codes, the diagnostic tips (false 2801, XMA), the keyboard replacement part number and the ECA history. Chapter 18, "Personal Computer Parts Catalog", pp. 18-33 and 18-34: 5271, 5273, 5371 and 5373 FRU part numbers and the note on 5160 base system parts.</ref> and IBM's own support bulletin names only one hardware difference in the XT-based units: a power supply with a very quiet fan (P/N 6323357, FRU 6347754).<ref name="hat">W. Craig Chambers, ''IBM 3270 Personal Computer Hints and Tips'', IBM G320-9539-0, May 1986, hosted as [[:File:IBM 3270 PC Hints and Tips G320-9539-0.pdf]]. Hardware section, pp. 1-19: power supply, slot rules, memory adapters and XMA, keyboard adapter versions and serial port, display pinout and frequencies, APA modes, DFCA versions, 3295 conversion, printer adapter, I/O ports and host attachment.</ref> The 3270 functions come from a set of adapter cards, a 122-key keyboard and a 14-inch colour display.


The '''IBM 3270 PC''' (machine type '''5271''') is a mainframe-terminal-emulation workstation announced by IBM on '''18 October 1983''' (announcement letter '''183-129''').<ref>https://sharktastica.co.uk/resources/docs/IBM_183-129_3270PC_83.pdf</ref> The system unit is essentially an [[IBM PC XT (5160)]] motherboard, chassis, and PSU, but with the eight ISA expansion slots almost entirely occupied by specialist 3270-terminal-emulation cards. The combination of these cards plus the '''3270 PC Control Program''' allows the workstation to host '''up to four mainframe terminal sessions, one DOS task, and two notepads''' simultaneously in a windowed display — a unique capability in 1983.<ref>https://en.wikipedia.org/wiki/IBM_3270_PC</ref>
== History ==
IBM announced the 3270 PC with three models. Model 2 had 256 KB, one diskette drive, the display adapter, keyboard adapter and 3270 system adapter. Model 4 added a second diskette drive, a 64/256 KB memory expansion option fitted with 64 KB (320 KB in total) and a printer adapter. Model 6 had the Model 4 memory and printer adapter with a 10 MB fixed disk in place of the second diskette drive.<ref name="al183129" /> ''BYTE'' listed the system units at US$3,785, US$4,650 and US$6,210, with the 5272 Color Display at US$995, the All Points Addressable graphics adapter at US$550, the Control Program at US$300 and the File Transfer Program at US$600.<ref name="byte84">"IBM Personal Computers At a Glance", ''BYTE Guide to the IBM PC'', Fall 1984, p. 24 (archive.org item byte-magazine-1984-09). 3270 PC and 3270 PC/G and GX specifications and US list prices.</ref>


The 3270 PC was '''discontinued in 1987''' when IBM released the '''3270 Workstation Program''' (a software-only product that ran on standard PCs/PS/2s with only a 3278/79 Emulation Adapter), removing the need for the 3270 PC's specialised cards.
Later models moved to 640 KB system boards and half-height diskette drives, and added Models 24 and 26 for the IBM 3295 Plasma Monitor.<ref name="sim" /> Models 31, 51 and 71 came with the Expanded Memory Adapter (XMA), which IBM announced in 1986, and need Control Program 3.0.<ref name="hat" /><ref name="sim" /> A short version of the coaxial adapter replaced the long card in spring 1986.<ref name="hat" />


== Note on Machine-Type Confusion ==
The same adapter set was used in the rest of the family: the [[IBM 3270 PC/G]] and [[IBM 3270 PC/GX]] (both on the 5371 system unit, with different display attachment units and displays), the 3270 PC AT (5273) and the 3270 PC AT/G and AT/GX (5373).<ref name="sim" /> In 1987 IBM released the 3270 Workstation Program, which gave a standard PC XT or PC AT with a 3278/79 Emulation Adapter the multi-session function of the Control Program.<ref name="wsp87">IBM, ''3270 Workstation Program Version 1.0 User's Guide and Reference'', 84X0982, April 1987, and ''Licensed Program Specification'', 90X7283 (bitsavers.org/pdf/ibm/pc/3270/). The 90X7283 operating environment lists the PC XT (5160) and PC AT (5170) with the 3278/79 Emulation Adapter.</ref>
 
The "3270 PC" family includes:
 
* '''IBM 3270 PC''' (this page) — system unit '''5271''', the XT-based original.
* '''[[IBM 3270 PC/G]]''' — system unit '''5371''', graphics version with IBM 5278 Display Attachment Unit and IBM 5279 14" display.
* '''[[IBM 3270 PC/GX]]''' — '''also system unit 5371''' (not 5372 — both /G and /GX share the same system unit type; the /GX is differentiated by the IBM 5378 Display Attachment Unit and IBM 5379 19" display).
* '''IBM PC AT/G and AT/GX''' — system unit '''5373''', AT-based equivalents.


== Models ==
== Models ==
IBM's model list from chapter 10 of the Service Information Manual. Memory is split between the system board and adapter cards, and the 1989 list describes Models 4 and 6 with a 128 KB Printer/Memory Adapter where the 1983 announcement gives a 64 KB memory expansion option and a separate printer adapter.<ref name="sim" /><ref name="al183129" />


{| class="wikitable styled-table" style="width:70%; text-align:center;"
{| class="wikitable styled-table" style="width:100%;"
|+'''IBM 3270 PC (5271) submodels'''
|+'''IBM 3270 PC (5271) models'''
! Submodel !! Storage !! RAM !! Notes
! Model !! System board RAM !! Display adapter !! Diskette !! Fixed disk !! Other
|-
| 002 || 256 KB || 5151/5272 || 1 × 360 KB || None || 5271 keyboard and keyboard adapter; 3270 Systems Adapter (DFCA)
|-
| 004 || 256 KB || 5151/5272 || 2 × 360 KB || None || Printer/Memory Adapter with 128 KB
|-
| 006 || 256 KB || 5151/5272 || 1 × 360 KB || 10 MB || Printer/Memory Adapter with 128 KB
|-
| 024 || 256 KB || 3295 Plasma Display Adapter || 2 × 360 KB || None || Plasma Keyboard Adapter; Printer/Memory Adapter with 128 KB
|-
| 026 || 256 KB || 3295 Plasma Display Adapter || 1 × 360 KB || 10 MB || Plasma Keyboard Adapter; Printer/Memory Adapter with 128 KB
|-
|-
| 2 || 1 × floppy || 256 KB fixed || Entry; not RAM-expandable
| 030 || 640 KB || 5151/5272 || 1 × 360 KB half-high || None || Printer Adapter
|-
|-
| 4 || 2 × floppy || up to 640 KB ||
| 050 || 640 KB || 5151/5272 || 2 × 360 KB half-high || None || Printer Adapter
|-
|-
| '''6''' || floppy + 10 MB HDD || up to 640 KB || Most common configuration
| 070 || 640 KB || 5151/5272 || 1 × 360 KB half-high || 20 MB || Printer Adapter
|-
|-
| 24 / 26 || 2 × floppy / floppy + HDD || up to 640 KB || Added 25 Oct 1984 (announcement 184-136); IBM 3295 Plasma Monitor support
| 031 || 256 KB || 5151/5272 || 1 × 360 KB half-high || None || XMA with 1 MB (includes a printer adapter); Control Program 3.0
|-
|-
| 30 / 50 / 70 || various || 640 KB on planar, 20 MB HDD || Added 1986 (announcement 186-053)
| 051 || 256 KB || 5151/5272 || 2 × 360 KB half-high || None || XMA with 1 MB; Printer/Memory Adapter with 128 KB; Control Program 3.0
|-
|-
| 31 / 51 / 71 || various || 256 KB planar + 1 MB on Expanded Memory Adapter card || 1986 generation
| 071 || 256 KB || 5151/5272 || 1 × 360 KB half-high || 20 MB || XMA with 1 MB; Control Program 3.0
|-
|-
| P30 / P31 / P50 / P51 / P70 / P71 || various || various || Use 101-key Enhanced AT-style keyboard instead of the 122-key
| P30, P31, P50, P51, P70, P71 || colspan="5" | As the numeric model of the same number, with the Enhanced (101-key) Keyboard and a cable adapter in place of the 5271 keyboard; Control Program 3.0 required
|}
|}


The 1984 expansion announcement (184-136, 25 October 1984) added '''IBM 3295 Plasma Monitor''' support — an orange-plasma display capable of 62 × 160 or 46 × 106 text grids, far beyond the 5272's text capabilities.<ref>http://www-01.ibm.com/common/ssi/rep_ca/6/897/ENUS184-136/index.html</ref>
Only Models 6, 26, 70 and 71 have a fixed disk. Models 24 and 26 use a Plasma Keyboard Adapter with the 3295 Plasma Display Adapter, not the standard keyboard adapter.<ref name="sim" />


The 1986 expansion (186-053) added '''640 KB on the planar''' and the '''XMA Expanded Memory Adapter''' (up to 1 MB of EMS-style expansion memory) on the 31/51/71 submodels.<ref>http://www-01.ibm.com/common/ssi/printableversion.wss?docURL=/common/ssi/rep_ca/3/897/ENUS186-053/index.html</ref>
== System unit ==
The 5271 is built on the PC XT system board, power supply, drives and covers.<ref name="sim" /> It has six long and two short expansion slots. The announcement letter gives the slot allocation for the first three models:<ref name="al183129" />


== Launch Pricing ==
{| class="wikitable styled-table" style="width:70%;"
|+'''5271 Models 2, 4 and 6 slot allocation'''
! Slot !! Adapter !! Models
|-
| 1 || 3270 System Adapter (DFCA) || 2, 4, 6
|-
| 2 || 64/256 KB memory expansion || 4, 6
|-
| 3 || Free ||
|-
| 4 || Display adapter || 2, 4, 6
|-
| 5 || Fixed disk adapter || 6
|-
| 6 || Diskette drive adapter || 2, 4, 6
|-
| 7 (short) || Printer adapter || 4, 6
|-
| 8 (short) || Keyboard adapter || 2, 4, 6
|}


* '''Model 6''' (512 KB + 10 MB HDD): '''$6,210 system unit only'''.
Any of the long 3270 cards can go in any long slot, but the All Points Addressable and Programmed Symbols adapters must sit either side of the display adapter, because the three are joined by top-edge connectors. All the 3270-specific adapters use interrupt level 2.<ref name="hat" /> The display adapter uses memory segment A for its screen buffer, so the 704 KB configurations possible on a standard PC do not work on a 3270 PC.<ref name="hat" />
* Typical working colour-monitor configuration: '''~$8,465''' including software and cabling.<ref>PC Magazine, 22 January 1985 — Valenzuela review.</ref>


== Specialist Cards ==
=== Keyboard adapter ===
The keyboard adapter converts the 3270 keyboard's scan codes into PC XT scan codes and passes them to the system board keyboard socket through the keyboard adapter cable. Its ROM also holds the BIOS extension for the display adapter, so the display adapter does not work without it.<ref name="seasip">John Elliott, "The IBM 5271 (aka 3270 PC)", seasip.info/VintagePC/5271.html, 2012. Card complement, keyboard adapter ROMs 6323581 and 6323582, video BIOS on the keyboard adapter, keyboard adapter cable pinout, display adapter memory and I/O map, error codes 3201-3203 and 2801, host connect card versions, and use of the cards in other XT-class machines.</ref> IBM used three versions:<ref name="hat" />


The 3270 PC system unit is fundamentally an XT 5160 motherboard / chassis / PSU; the difference from a stock XT is in the cards that occupy nearly all eight ISA slots:
# The original adapter, on units built before 25 October 1984. Enter and the black arrow keys work only while the Control Program is loaded.
# A revised adapter with an NMI switch and a 9-pin serial port on the bracket, fitted to XT-based units from October 1984 to early 1986 and to all AT-based units. The serial port is at I/O 1B8h-1B9h and carries −12 V (pin 1), +5 V (pin 3) and +12 V (pin 9) as well as data.
# A later adapter without the NMI switch or serial port, fitted to XT-based units from early 1986.


=== Keyboard Adapter Card ===
The keyboard adapter cable plugs into the lower connector of slot 8 and into the round keyboard socket on the system board; its light grey end takes the keyboard cable.<ref name="uth">IBM, ''IBM 3270 Personal Computer: Using the Hardware'', GA23-0249-1, July 1985, hosted as [[:File:IBM 3270 PC Using the Hardware GA23-0249-1.pdf]]. Chapter 2, "Setting Up Your Keyboard", pp. 2-17 to 2-20; chapter 5, POST error chart, pp. 5-11 to 5-13.</ref> The cable contains no electronics.<ref name="seasip" /> IBM's continuity chart in the Maintenance Information gives its wiring (p. 3-300-15), reproduced in the [[IBM 3270 PC Maintenance Guide#Keyboard and keyboard adapter cable|maintenance guide]].<ref name="mi3270" /> A standard PC XT keyboard works on the system board socket but gives POST error 302.<ref name="seasip" />


* Intercepts the '''122-key IBM 5271 Keyboard Element''' scancodes and translates them to XT scancodes.
=== Display adapter and graphics options ===
* Two variants:
The display adapter is a full-length card with 8 KB of memory: 4 KB for the 3270 screen and 4 KB for an emulated CGA or MDA screen. It uses a Signetics SCN2672 video controller at I/O 0180h-0181h, with its other registers up to 019Bh.<ref name="seasip" /> Two optional cards connect to it by top-edge connectors:<ref name="seasip" /><ref name="hat" />
:: '''Simple''' (ROM '''6323581''')
:: '''Complicated''' (ROM '''6323582''') — adds NMI button and serial port.
* '''Critical: this card holds the video BIOS''' for the 3270 PC Display Adapter — the video cards do not work without the keyboard adapter card installed.<ref>http://www.seasip.info/VintagePC/5271.html</ref>


=== 3270 PC Display Adapter ===
* The All Points Addressable (APA) adapter adds the CGA graphics modes (320 × 200 in four colours and 640 × 200 in two) and a 720 × 350 two-colour mode.
* The Programmed Symbols adapter holds up to seven loadable character sets for host graphics. Sets 4, 5 and 7 are stored as three colour planes. With it fitted, the 3270 PC appears to GDDM as a 3279.


* Main video card, full-length 8-bit ISA.
The emulation has limits. There is no border colour, no 40-column text mode, no high intensity and no light pen connector, and standard PC display adapters do not work in the 3270 PC.<ref name="hat" />
* '''SCN2672 Programmable Video Timing Controller (PVTC)''' at I/O ports '''0180h–019Bh'''.
* '''8 KB framebuffer''' split: 4 KB for the 3270-emulation layer / 4 KB for an emulated CGA-or-MDA layer.
* Drives a unique '''720 × 350 mode''' on the IBM 5272 colour monitor.


=== All Points Addressable (APA) Card ===
=== Distributed Function Communications Adapter ===
IBM's service documents call the coaxial adapter the Distributed Function Communications Adapter (DFCA).<ref name="sim" /> The original long card is the same 3278/79 Emulation Adapter that IBM sold for the standard PC. It has a BNC coaxial connector, uses interrupt level 2 and has its registers at I/O 2D0h-2D6h.<ref name="hat" /><ref name="tr1502336">IBM, ''IBM Personal Computer 3278/79 Emulation Adapter Technical Reference'', 1502336, October 1983, hosted as [[:File:IBM PC 3278-79 Emulation Adapter Technical Reference 1502336.pdf]]. Register descriptions (2D0h-2D6h), BNC connector and interrupt level 2.</ref> The short replacement card of 1986 adds a register at 2D7h and switch-selectable addresses.<ref name="seasip" /> The 3270 PC can attach to a 3274 directly or through a 3299 multiplexer, and runs in Control Unit Terminal (CUT) mode as a 3278 Model 2 or in Distributed Function Terminal (DFT) mode with up to four host sessions.<ref name="hat" /><ref name="al183129" />


* Optional add-on.
=== Memory ===
* Adds CGA-compatible 320 × 200 / 640 × 200 modes plus two 3270-PC-unique graphics modes.
Feature 4505 is a short Printer/Memory Adapter with a parallel port and 128 KB. A 256 KB piggyback card (feature 4500) plugs onto it and brings the system to 640 KB without using a long slot.<ref name="hat" /> The Expanded Memory Adapter (XMA, P/N 4466857, with piggyback memory P/N 4466858) carries 1 MB and a printer port and takes a second 1 MB on a piggyback card. The Control Program 3.0 uses it to hold up to six PC sessions in separate banks. It is not compatible with the Lotus/Intel/Microsoft expanded memory specification.<ref name="hat" /><ref name="sim" /> IBM does not support the XMA jumpered as LPT2 in a 5271 with a fixed disk, because of an interrupt level conflict.<ref name="sim" /> The printer adapter supplied with the XT-based system unit can only be LPT1.<ref name="hat" />
* Required for graphics-capable mainframe applications.


=== Programmed Symbols (PSS) Card ===
== Display ==
The IBM 5272 Color Display is a 14-inch monitor on a swivel stand.<ref name="byte84" /><ref name="mi3270" /> It shows 720 × 350 in seven colours plus black, with no high-intensity colours.<ref name="seasip" /><ref name="hat" /> IBM gives its signal frequencies as 21.676 MHz video, 23.612 kHz horizontal and 62.967 Hz vertical, all ±0.02 %, with negative-going sync on a 9-pin connector.<ref name="hat" /> The 5151 Monochrome Display also works, and the display adapter detects which is fitted. Only one display can be attached at a time, and no other PC monitor works.<ref name="hat" /><ref name="seasip" />


* Optional add-on.
{| class="wikitable styled-table" style="width:60%;"
* '''RAM-loaded character sets''' (up to '''seven fonts''') for 3270 graphics applications.
|+'''Display adapter connector (IBM pin list)'''
* '''Three of the fonts (4, 5, 7) are tri-plane''' allowing 8-colour characters.
! Pin !! Function
|-
| 1 || Shield, cable (bypass ground)
|-
| 2 || Shield, video red, blue, green
|-
| 3 || Reserved
|-
| 4 || Signal ground (tied to pin 2)
|-
| 5 || Video, green
|-
| 6 || Video, blue
|-
| 7 || Video, red
|-
| 8 || Horizontal drive
|-
| 9 || Vertical drive
|}
<ref name="hat" />


=== 3278/79 Host Connect / Emulation Adapter ===
Models 24 and 26 use the IBM 3295 Plasma Monitor instead, which supports host screens up to 62 rows by 160 columns. An existing 3270 PC can be converted if it has the revised keyboard adapter (P/N 2682827, the one with the NMI switch) and the 3295 display adapter (P/N 2683124); only Control Program 1.2.2 supports the 3295.<ref name="hat" />


* '''BNC twinax''' connection to the IBM '''3174''' or '''3274''' cluster controller.
== Keyboard ==
* Two variants exist:
The 3270 PC keyboard is a 122-key Model F keyboard with 24 program function keys and an 18-key numeric pad. Keys for 3270 functions are marked in black and keys for PC functions in blue.<ref name="ga333141">IBM, ''Introducing the IBM 3270 Personal Computer/G and /GX Work Stations'', GA33-3141-0, May 1984, hosted as [[:File:Introducing the IBM 3270 PC G and GX Work Stations GA33-3141-0.pdf]]. Keyboard description, p. 31; dimensions and weights, Figures 34 and 35, p. 81.</ref><ref name="mi3270">IBM, ''IBM 3270 Personal Computer Maintenance Information'', SY27-2567-2, third edition, October 1984, hosted as [[IBM 3270 PC Maintenance Information]]. Section 1, introduction; problem isolation chart 2800 (coaxial connection test and resistance check, pp. 3-2800-4 to 3-2800-11); keyboard adapter cable continuity check p. 3-300-15; section 7, parts catalogue (system unit p. 7-7, 5272 p. 7-15, keyboard p. 7-27).</ref> It weighs 4.2 kg (9.3 lb).<ref name="ga333141" /> The Maintenance Information parts list gives 6110344 as the US and Canada keyboard assembly, with separate part numbers for the UK, French, Spanish, Italian and German versions (UK: 1445095).<ref name="mi3270" /> The 1989 Service Information Manual gives 1389098 (Converged Keyboard) as the replacement for both the metal-bottom and plastic-bottom keyboards.<ref name="sim" />
:: Older — 4 KB buffer, I/O at '''2D0h–2D6h'''.
:: Newer — adds register at '''2D7h'''; reconfigurable buffer size.
* Technical reference: '''IBM 1502336''' — ''PC 3278/79 Emulation Adapter Technical Reference'' (October 1983).<ref>http://bitsavers.trailing-edge.com/pdf/ibm/pc/cards/1502336_PC_3278_79_Emulation_Adapter_Technical_Adapter_Oct83.pdf</ref>


[[File:IBM 5271 physical layout.svg|center|thumb|480px|IBM 5271 (3270 PC) physical layout diagram showing slot placement for the keyboard adapter, display adapter, host-connect card, and the optional APA / PSS expansion cards. (Image: Wikimedia Commons, public domain)]]
The keyboard uses the AT keyboard protocol and scan code set 3 on a 5-pin DIN plug with 240-degree pin spacing; the keyboard adapter translates its codes for the XT system board.<ref name="seasipkb">John Elliott, "The IBM 6110344 Keyboard", seasip.info/VintagePC/ibm_6110344.html. Protocol, scan code set, connector and controller of the 3270 PC keyboard.</ref> The P models use the 101-key Enhanced Keyboard and a cable adapter instead.<ref name="sim" />


== Operating Environment ==
[[File:IBM 5271 physical layout.svg|center|thumb|600px|Physical key layout of the 122-key IBM 5271 keyboard]]


The 3270 PC runs '''PC DOS 2.0 or 2.1''' overlaid with the '''3270 PC Control Program''':
== Software ==
The 3270 PC Control Program runs with PC DOS 2.0 or later and provides up to seven concurrent sessions: four host sessions, two notepads and one PC DOS session, each shown in a window that the user can size and move.<ref name="al183129" /><ref name="augustin" /> Without it, the machine works only as an IBM PC.<ref name="augustin">Larry Augustin, "The Mainframe Connection: IBM's 3270 PC", ''BYTE Guide to the IBM PC'', Fall 1984, pp. 231-237. Sessions, windows, window-to-window copying, SEND and RECEIVE, and building the Control Program system disk.</ref> The announcement letter gives the Control Program's own storage as 94,116 bytes in CUT mode, 145,828 bytes in non-SNA DFT mode and 156,708 bytes in SNA DFT mode, plus 1,968 to 6,966 bytes for each host session, 3,840 bytes per notepad and 24,000 bytes for PC DOS.<ref name="al183129" /> The SEND and RECEIVE commands transfer files between the PC DOS session and VM/CMS or MVS/TSO on the host, with the File Transfer licensed programs installed on the host.<ref name="al183129" /><ref name="augustin" />


* '''Up to 4 mainframe sessions''' running concurrently.
Control Program 3.0 is required for Models 31, 51 and 71 and all P models.<ref name="sim" /> From 1987 the 3270 Workstation Program replaced it.<ref name="wsp87" />
* '''1 DOS task''' running concurrently with the mainframe sessions (only one DOS task can be active at a time).
* '''2 notepads''' for cross-session text manipulation.
* All seven of these contexts visible in a '''windowed display''' on the 5272 monitor.


''PC Magazine'' (January 1985) called the Control Program "a memory hog" — it consumes approximately 200 KB resident, leaving limited free RAM for DOS applications.
== Error codes ==
The 3270 PC uses error code ranges that a standard PC XT does not. IBM's table maps each range to the field-replaceable unit:<ref name="sim" />


'''Control Program v3.0''' is required for the 1986 Models 31/51/71 and all P-models.
{| class="wikitable styled-table" style="width:85%;"
|+'''3270 unique error codes'''
! Code !! FRU indicated
|-
| 28xx || DFCA card (3278/79 Emulation Adapter)
|-
| 32xx || Display Adapter, Programmed Symbols Adapter, All Points Addressable Adapter, Extended Graphics Adapter (3270 PC AT only) or top card connector
|-
| 44xx || Display attachment unit: 5278 with 5279, or 5378 with 5379; on AT-based PC/G and GX also the Display/Mouse/Tablet Adapter and EMA memory card; on XT-based PC/G and GX also the display adapter
|-
| 45xx || IEEE-488 Interface Adapter
|}


In '''1987''' the '''3270 Workstation Program''' (IBM '''84X0982''') replaced the Control Program, providing the same multi-session experience on a standard XT or AT with only a 3278/79 Emulation Adapter — and adding DOS 3.3 support plus up to six DOS sessions.<ref>http://www.bitsavers.org/pdf/ibm/pc/3270/84X0982_3270_Workstation_Program_V1.0_Users_Guide_and_Reference_Apr87.pdf</ref>
On the 5271, 3201 points to the display adapter, 3202 to the Programmed Symbols adapter and 3203 to the All Points Addressable adapter, and 2801 means the host connect card failed to initialise.<ref name="seasip" /> A 2801 can be false: if a long DFCA has been replaced with the short card, the keyboard/timer adapter may need updating. If the host session comes up normally after pressing F1, the 2801 was false, and IBM's ECA001 supplies a replacement EPROM (P/N 1497249) for the keyboard/timer adapter.<ref name="sim" /> The XMA diagnostic tests the D000-DFFF address range, so any other adapter with RAM or ROM there causes a false 8505.<ref name="sim" />


=== File Transfer ===
The coaxial connection test ends with a resistance check. With the system unit off and the coaxial cable removed, the resistance between the centre pin and the shell of the adapter's BNC connector should be less than 1 ohm; if it is not, IBM says to replace the DFCA.<ref name="mi3270" /> IBM warns against connecting or disconnecting the coaxial cable during an electrical storm.<ref name="mi3270" />


The 3270 PC's stand-out practical capability is its '''SEND / RECEIVE file transfer''' between CMS (or TSO) on the mainframe and PC DOS on the workstation, with automatic '''EBCDIC↔ASCII conversion'''.
== Known faults ==
The system board, power supply and drives are PC XT parts, so the PC XT faults apply.<ref name="sim" />


== Display ==
* Shorted tantalum capacitors on the system board pull the +5 V rail down. Thirteen of the sixteen tantalums on the 5160 system board are on the +5 V line, and minuszerodegrees.net observes that they tend to fail at power-on or within about 30 seconds.<ref name="mz">minuszerodegrees.net, "Short-circuit on the +5 volt line of an IBM 5150/5155/5160 motherboard" (5150_5160/MDC/tantalum_short_plus_5volts.htm) and "Commonly Failing Electronic Components (in vintage computers)" (failure/failure.htm). Tantalum count on the 5160 board, tantalum failure behaviour, and rupturing line suppression capacitors.</ref>
* Line suppression capacitors in the power supply can rupture with smoke and a strong smell.<ref name="mz" />
* Models 6, 26, 70 and 71 have fixed disks. IBM advised parking the heads with SHUTDOWN or SHIPDISK from the diagnostics diskette before switching off, and never moving a fixed-disk 3270 PC while it is on.<ref name="hat" />
* The keyboard adapter cable can be missing. seasip.info's machine arrived without one, and its author worked out the pinout from the card.<ref name="seasip" />
* seasip.info's 5271 system board failed with a blown capacitor.<ref name="seasip" />


* '''IBM 5272 Color Display''' — 14" tilt/swivel, '''720 × 350''' in '''7 colours''' (no high-intensity; bright and standard CGA colours render identically). Pin 4 of the DE-9 selects mono vs colour. Color timings: '''hsync 24 kHz negative, vsync 63 Hz negative'''. Mono timings: 18.6 kHz / 50 Hz.<ref>http://www.seasip.info/VintagePC/5271.html</ref>
The display adapter and its option cards also work in some other XT-class machines if any built-in video is disabled; they need the keyboard adapter for its ROM, a full-length 8-bit slot for the display adapter, and three adjacent full-length 8-bit slots for the full graphics set.<ref name="seasip" />
* '''IBM 5151''' monochrome — also supported (the graphics card auto-detects monitor type via pin 4).
* '''IBM 3295 Plasma Monitor''' — orange plasma, '''62 × 160''' or '''46 × 106''' text grids, supported on Models 24/26.


== Keyboard ==
See the [[IBM 3270 PC Troubleshooting Guide]] for diagnosis and the [[IBM 3270 PC Maintenance Guide]] for care and PSU checks.


The defining accessory of the 3270 PC family is the '''IBM 5271 Keyboard Element''' — '''IBM part 6110344'''. It is the '''122-key Model F''' '''terminal keyboard:'''
== Documentation ==
 
* [[IBM 3270 PC Maintenance Information]] (SY27-2567-2, October 1984): IBM's field service manual for the 5271, with problem isolation charts, locations, removal procedures, switch settings and the parts catalogue.<ref name="mi3270" />
* '''24 PF (Program Function) keys'''.
* [[IBM Personal Computer Family Service Information Manual]] (SA38-0037-00): chapter 10 covers the whole 3270 PC family.<ref name="sim" />
* '''Weight: 9.3 lb''' (much heavier than a standard PC keyboard).
* [[:File:IBM 3270 PC Using the Hardware GA23-0249-1.pdf|IBM 3270 PC: Using the Hardware]] (GA23-0249-1, July 1985): the owner's setup and problem determination guide.<ref name="uth" />
* '''AT protocol''', scan code set 3.
* [[:File:IBM 3270 PC Hints and Tips G320-9539-0.pdf|IBM 3270 Personal Computer Hints and Tips]] (G320-9539-0, May 1986).<ref name="hat" />
* First announced October 1983; shipped Q1 1984.<ref>https://sharktastica.co.uk/wiki/ibm-model-f</ref><ref>https://deskthority.net/wiki/IBM_Model_F_122-key</ref>
* [[:File:IBM PC 3278-79 Emulation Adapter Technical Reference 1502336.pdf|IBM PC 3278/79 Emulation Adapter Technical Reference]] (1502336, October 1983).<ref name="tr1502336" />
 
* [[IBM PC XT 5155 5160 Technical Reference (March 1986)]] for the system board.
The keyboard connects to the '''keyboard adapter dongle''' — a small cable that splits a DE-9 on the keyboard controller card into two 5-pin DIN connectors (one for the 3270 keyboard, one passing through to the planar XT keyboard socket).
 
A plain XT 83-key keyboard works but produces POST error '''302''' (press F1 to continue). P-model variants use the 101-key Enhanced AT-style keyboard instead.
 
[[File:IBM Model F 122 key keyboard.jpg|center|thumb|480px|The IBM 122-key Model F keyboard (IBM part 6110344) — the 5271 Keyboard Element used on all 3270 PC family machines. (Image: Wikimedia Commons, CC BY-SA 4.0)]]
 
== Common Faults ==
 
The 3270 PC chassis is identical to a stock IBM PC XT, so chassis faults are:
 
* '''RIFA-branded X / Y mains-suppression caps''' in the PSU — vent and produce smoke / fish odour. Replace immediately.
* '''Tantalum bypass cap shorts''' on the planar — pull the +5 V rail.
* '''Hard disk failure''' on Model 6 / 30 / 50 / 70 — original ST-412 / ST-225 drives are end-of-life.
 
3270-PC-specific faults:
 
* '''Keyboard adapter dongle cable''' — wear, missing, or pin damage. Pinout is documented at [http://www.seasip.info/VintagePC/5271.html seasip.info] and reproducible.
* '''Custom cards''' — scarce in 2024. The Display Adapter + APA + PSS trio can be transplanted into other XT-class machines provided three adjacent full-length 8-bit ISA slots are available and any onboard video is disabled.
* '''IBM 5272 monitor''' — dedicated tube and timings unique to the 3270 PC; failure means substituting a 5151 mono display (losing colour) is the only practical recovery.
* '''Capacitor failure''' — seasip.info documents a real-world case of a blown capacitor taking out a 5271 planar.


== Gallery ==
== Gallery ==
<gallery widths="220" heights="160" mode="packed">
<gallery widths="220" heights="160" mode="packed">
File:IBM 3270 PC.jpg|IBM 3270 PC (5271)
File:IBM 3270 PC.jpg|3270 PC with 5272 Color Display and 122-key keyboard
File:IBM 3270 PC Original.jpg|3270 PC with display
File:IBM 3270 PC Original.jpg|A 3270 PC system unit with colour display
File:IBM 3270 PC XT color variant.jpg|3270 PC XT colour configuration
File:IBM Model F 122 key keyboard.jpg|122-key Model F keyboard for the IBM 3179 G display station, similar to the 3270 PC keyboard
File:IBM 5271 physical layout.svg|5271 physical layout diagram
File:IBM 5271 physical layout.svg|5271 keyboard key layout
File:IBM Model F 122 key keyboard.jpg|5271 Keyboard Element (122-key Model F)
File:IBM 122 key terminal keyboard.jpg|122-key keyboard alternate angle
</gallery>
</gallery>


== Related Pages ==
== Related pages ==
 
* [[IBM 3270 PC Maintenance Guide]]
* [[IBM 3270 PC Maintenance Guide]]
* [[IBM 3270 PC Troubleshooting Guide]]
* [[IBM 3270 PC Troubleshooting Guide]]
* [[IBM 3270 PC Capacitor Replacement Guide]]
* [[IBM 3270 PC Capacitor Replacement Guide]]
* [[IBM 3270 PC/G]] — graphics variant
* [[IBM 3270 PC/G]] and [[IBM 3270 PC/GX]]
* [[IBM 3270 PC/GX]] — extended-graphics variant
* [[IBM PC XT (5160)]]
* [[IBM PC XT/370]] — contemporary mainframe-emulation workstation (the 3270 PC connects to mainframes; the XT/370 ''becomes'' a mainframe)
* [[IBM PC XT/370]]
* [[IBM PC XT (5160)]] — base chassis


== References ==
== References ==
 
<references />
* [https://en.wikipedia.org/wiki/IBM_3270_PC IBM 3270 PC — Wikipedia]. Authoritative model reference, pricing, announcement letters.
* [http://www.seasip.info/VintagePC/5271.html John Elliott, seasip.info — IBM 5271 (3270 PC)]. The most thorough community technical reference.
* [https://sharktastica.co.uk/resources/docs/IBM_183-129_3270PC_83.pdf IBM Announcement Letter 183-129 (3270 PC, 18 October 1983)].
* [http://www-01.ibm.com/common/ssi/rep_ca/6/897/ENUS184-136/index.html IBM Announcement Letter 184-136 (1984 IBM 3295 Plasma extension)].
* [http://www-01.ibm.com/common/ssi/printableversion.wss?docURL=/common/ssi/rep_ca/3/897/ENUS186-053/index.html IBM Announcement Letter 186-053 (1986 XMA / 30 / 50 / 70 series)].
* [http://bitsavers.org/pdf/ibm/pc/SA38-0037-00_Personal_Computer_Family_Service_Information_Manual_Jul89.pdf IBM SA38-0037-00 Personal Computer Family Service Information Manual (July 1989)], Chapter 10 — 3270 PC service procedures.
* [http://bitsavers.org/pdf/ibm/pc/3270/G320-9539-0_IBM_3270_Personal_Computer_Hints_and_Tips_198605.pdf IBM G320-9539-0 — 3270 Personal Computer Hints and Tips (June 1986)].
* [http://bitsavers.trailing-edge.com/pdf/ibm/pc/cards/1502336_PC_3278_79_Emulation_Adapter_Technical_Adapter_Oct83.pdf IBM 1502336 — PC 3278/79 Emulation Adapter Technical Reference (October 1983)].
* [https://www.bitsavers.org/pdf/ibm/pc/3270/84X0982_3270_Workstation_Program_V1.0_Users_Guide_and_Reference_Apr87.pdf IBM 84X0982 — 3270 Workstation Program v1.0 User's Guide (April 1987)]. The Control Program's software-only successor.
* [https://www.stanislavs.org/helppc/diagnostic_codes.html HelpPC — IBM PC diagnostic codes]. 28xx / 32xx code ranges.


{{Navbox-IBMComputers|state=collapsed}}
{{Navbox-IBMComputers|state=collapsed}}


[[Category:IBM]]
[[Category:IBM]]
[[Category:IBM PC family]]