IBM PC Controlled Keypunch4b

Slides:



Advertisements
Similar presentations
Computer Parts There are many parts that work together to make a computer work.
Advertisements

INPUT-OUTPUT ORGANIZATION
IBM PC Controlled Keypunch Stan Paddock Computer History Museum January 25, 2008.
JED Microprocessors Pty Ltd Presenting the JED T430 low-cost Projector Controllers Nov 22nd, 2009.
Signals By Spreadsheet 4/12/2015 DIO.pptxSlide 1 Signals by Spreadsheet Distributed Input/Output Please turn your volume control up to hear audio.
Week10 Boolean Instructions on the Boolean Instructions  Boolean (or Bit) addressable capability is unique to the 8051  Enables efficient handling.
CSNB373: Microprocessor Systems
Travis Reed Todd Hummel Kwan-Truc. Concept USB 1.1 SPI b.
Digital I/O Connecting to the Outside World
ECE 371- Unit 11 Introduction to Serial I/O. TWO MAJOR CLASSES OF SERIAL DATA INTERFACES ASYNCHRONOUS SERIAL I/O - USES “FRAMING BITS” (START BIT AND.
RS232 Serial and Parallel Interfaces
INPUT-OUTPUT ORGANIZATION
University of Tehran 1 Interface Design Serial Communications Omid Fatemi.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Basic Input Output System
Serial Port I/O Serial port sends and receives data one bit at a time. Serial communication devices are divided into: Data Communications Equipment (DCE),
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
Hardware Introduction – Standard vs Q.i
Module 5 GemStall Overview
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Lifting the Lid: How Computers Work. CPU  The Central Processing Unit  Sometimes called the microprocessor  Carries millions of electrical signals.
COMPUTER COMPONENTS Ms Jennifer Computer Components.
NARNARAYAN SHASTRI INSTITUTE OF TECHNOLOGY Prepared by: Wasu Ichcha kaur H Bhalani Nidhi M Dhakate Megha D MICROCONTROLLER.
2.1 :Input Output Control System. Learning Outcomes Distinguish between Directory Management and Disk Space Management Identify the primary function perform.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
Computer Parts There are many parts that work together to make a computer work.
Making a 24hr Timer.
Introduction to Computers Mrs. Gambucci
Serial mode of data transfer
RS-232 Communications.
Homework Reading Continue mp1 Labs Tokheim, Section 13-6 Questions?
CS-401 Computer Architecture & Assembly Language Programming
Computer Hardware – System Unit
Operating Systems (CS 340 D)
TOPIC 6: SYSTEM START-UP AND CONFIGURATION
Input Device :keyboard Types of key switch Components of Keyboard Keyboard switches Keyboard processor or circuitry Key matrix Types of key Switches.
DIGITAL CALCULATOR USING 8051
SERIAL PORT PROGRAMMING
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
C_ITCO011/C_ITCO111 LECTURER: E.DONDO
Serial Communication: RS-232 (IEEE Standard)
Computer Parts There are many parts that work together to make a computer work.
Computer Parts There are many parts that work together to make a computer work.
Computer Parts There are many parts that work together to make a computer work.
Computer Parts There are many parts that work together to make a computer work.
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Computer Science I CSC 135.
Serial Communication Interface
PLC’s Are ... Similar to a Microcontroller: Microprocessor Based
PLC Hardware Components.
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
COMPUTER PERIPHERALS AND INTERFACES
Computer Parts There are many parts that work together to make a computer work.
HD44780 LCD programming From the Hardware Side
Computer Parts There are many parts that work together to make a computer work.
Ainsley Smith Tel: Ex
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
ACOE347 – Data Acquisition and Automation Systems
UNIT 9 Relays.
Computer Parts There are many parts that work together to make a computer work.
Computer Parts There are many parts that work together to make a computer work.
PIC Serial Port Interfacing
Chapter 13: I/O Systems.
UNIT 9 Relays.
PIC Serial Port Interfacing
Presentation transcript:

IBM PC Controlled Keypunch4b Stan Paddock Computer History Museum July 13, 2008

Overview The Computer History Museum (CHM) has restored and made operational an IBM 1401 computer system with the full memory complement of 16,000 BCD characters. However, the CHM does not have any software to run on the 1401 for code development. A software configuration has been developed to run on an IBM PC under Windows that will develop IBM 1401 code using the same input and output format as the IBM 1401 Autocoder program. The problem this project addresses is that there is no path to get the punch card images from the IBM PC disk to actual real punched cards without having to manually punching the cards by hand.

Solution The IBM keypunch has 13 control lines that go into the punch unit. These are for punches 0-9, -, + and (space) By connection these lines to the keypunch signal ground, the requested characters will be punched and the card advanced. One additional line is connecter to coil terminal 2 on relay 2 of the keypunch to cause a ‘release’ of the current card. The power supply of the keypunch is not grounded, but left to float. For this reason, and the protection of both the keypunch and the IBM PC, all interface connections are made via relay contacts.

High Level Design Measurement Computing USB-SSR24 IBM 026 Keypunch USB-based solid-state 24 I/O module interface IBM 026 Keypunch IBM PC IBM 026 Keypunch Control Wires

IBM PC Definition The IBM PC is running Windows XP The IBM PC must have a USB port available to connect the USB relay control box The IBM PC must have a hard wired COM port to also connect the USB relay control box The IBM PC needs to have the ROPE1401 software package installed. This was developed by and available from Ron Mak through the CHM The IBM PC needs to have RmtPunch installed. This was developed by and available from Stan Paddock through the CHM

USB Relay Control Box The relay control box is available from Measurement Computing http://www.measurementcomputing.com/cbicatalog/cbiproduct_new.asp?dept_id=416&pf_id=1685&mscssid=0SL2ATXLXBV39KJ9AWMDQJ4JUMKFA765 The ID number is USB-ERB24 and costs about $399.00 The box has 24 SPDT 6A relays with external screw connections The relays are addressable as: First bank, 8 relays used for punches 9,8,7,6,5,4,3,2 Second bank, 8 relays used for punches 1,0,-,+,(space),(release) Third bank, 4 relays Used for green LEDs Fourth bank, 4 relays Used for red LEDs

USB Relay Control Box Addition (1/4) Believe or not, control of the keypunch is time critical All of the punch control lines must be presented at the same time as the first one seen, which starts the punch cycle All of the punch control lines must be cleared within 20ms or it will cause a double punch. By using just the USB relay control box by itself, the punch data was 98.5% accurate. Not good enough. Windows is not a real-time system. You cannot count on having all of the CPU time to your self. A special circuit board was built that solved this problem.

USB Relay Control Box Addition (3/4) Inputs to this board are: Signal Ground from COM1: pin 5 of the IBM PC Request To Send from COM1: pin 7 of the IBM PC Data Terminal Ready from COM1: pin 4 of the IBM PC Clear To Send from COM1: pin 8 of the IBM PC Common of relays 1 to 16 on the USB relay controller box Signal Ground from the IBM 026 keypunch (not frame ground) COM1: pins 5 & 7 drive a transistor which in turn drives a SPDT relay. The relay makes a connection across inputs 5 and 6. The software is configures to raise the Request To Send line when data is being transmitted from COM1: At 9600 baud, one byte takes 1ms. If you send out 10 characters, the Request To Send line will give you a 10ms pulse. Since this is done by hardware, this is very predictable regardless of the operating system or system loading

USB Relay Control Box Addition (4/4) COM1: pins 5 & 8 are sent to the 026 keypunch to a relay contact. The relay contact is made only when there is a card registered. The IBM PC can sense the line so it will not attempt to punch when the cards run out. The configuration left 8 relay connections left with no purpose. There was also extra space left on the circuit board There are eight LEDs installed on the circuit board controlled by the last 8 relays. The software uses these LED to show the number of cards left to punch

USB Relay Control Box Addition (2/4)

Using the RS-232 line from the Computer CD 1 RD 2 TD 3 DTR 4 SG 5 DSR 6 RTS 7 CTS 8 RI 9 +5V NO COM NC 1N4148 1N4148 1.5k 2N2222 1ufd 680V Relay 1-16 common KP -VCC KP Registration relay contact point

LEDS Board USB Relay Board 17 18 19 20 21 22 23 24 NO NC COM +5 NO NC COM +5 120 Ohms all Board USB Relay Board 17 18 19 20 21 22 23 24 Relay Contact points

Common relay interface for 14 control signals from IBM PC Interface Wiring Common relay interface for 14 control signals from IBM PC 1.5k § +5 1N4148 2N2222 40 ohm Input Common Normally Open To Keypunch From IBM PC +5 40 ohm Relay contact In keypunch IBM Card Register Status To PC 1.5k

Common relay interface for 14 control signals from IBM PC Interface Wiring 12 11 7 8 9 To Keypunch Common relay interface for 14 control signals from IBM PC From IBM PC 1.5k § +5 1N4148 2N2222 40 ohm Input Common Normally Open (1,2,3,4,5,6) Arc Suppress Diode (-) (+) 100 VDC Power supply

USB Relays Keypunch Magnets Master Relay +106 1 PS 2 0 ref 3 4 Arc suppression diode Master Relay +106 1 PS 2 0 ref 3 4 USB relays are set Master relay set Master relay clears USB relays cleared 5 6 7 Today’s design 8 9 + - RL

Interface to IBM 026 Keypunch External DB-25 connection Internal wiring connection connection

25 pin interconnect wiring and relay wiring

space 12 11 1 2 3 4 5 6 7 8 9

RmtPunch Functionality When initiated, RmtPunch will ask the user to select the card file to be punched. RMT will process the file and identify the number of cards to be punched and the total number of columns to be punched. If there is an error in the file, the error will be identified and the program will terminate. If the data is valid, the user will be instructed to ready the keypunch and press a “P” for punch. Cards must be registered in the punch station and the “Auto Feed” switch on. Print is not necessary.

RMTPUNCH Screens Initial Screen

RMTPUNCH Screens Initial Screen File Selection Screen

RMTPUNCH Screens Running Screen

RMTPUNCH Screens Last Screen