Do you have a question about the TRS-80 CR-510 and is the answer not in the manual?
Questions and answers
Summary of Contents for Radio Shack TRS-80 CR-510
Page 2
IMPORTANT INFORMATION This equipment generates and uses radio frequency energy. If it is not installed and used properly, that is, in strict accordance with the manufacturer's instructions, it may cause interference to radio and television reception. It has been type tested and found to comply with the limits for a Class B computing device in accordance with the specifications in Subpart J of Part 15 of FCC Rules, which are designed to provide reasonable protection against such interference in a residential installation.
Contents Introduction 1 / Description of the CR-510 Front Panel Controls and Indicators Rear Panel Controls 2/ Setting up the CR-510 Connecting the Card Reader to a TRS-80 Model II or I I I Loading Cards Baud Rate D I P Switch Settings The CR-510 Diagnostic Self-Test 3/ General Information Preparing, Handling, and Maintaining Cards...
Introduction Congratulations on selecting the TRS-80 CR-510 Card Reader! With this Card Reader, a TRS-80 Computer, and standard marked or punched cards, you can: • Automate data compilation. • Evaluate surveys and polls. • Correct multiple choice tests. and more! The CR-510 Card Reader is designed to connect directly to your TRS-80 Model I/II/III via the Computer's RS-232C connector.
Before doing anything else, carefully unpack the CR-510. Be sure the following accessories are included in the Card Reader package: • Card Reader • Metal Card Catcher • Card Weight • Blank Card Packet with 200 General Purpose Cards • Owner's Manual •...
Figure 2. CR-510 (Front Panel) START/STOP Button Press this button to begin card reading. Press a second time to stop the unit once the current card has been read. Pressing START while in the Single-Feed Mode causes the unit to read one card. In the Continuous Feed Mode, press START to read cards in the Hopper.
Figure 3. CR-510 (Rear View) DIP Switches Position the DIP Switches to set the baud rate. The DIP Switches are located behind the metal plate (see Figure 7 for details). The CR-5l0's baud rate must match the baud rate of the Computer. (See Setting Up the CR-510 for details.) RS-232C Connector Connect the CR-510 to the TRS-80 via this connector using the appropriate interface.
2/ Setting up the CR-510 Connect the Card Reader to a 110 Volt AC outlet or an approved power strip. Always use a 3-prong grounded outlet. Connecting the Card Reader to Your Computer Model II Users 1. Be sure the Card Reader's and Computer's power are Off. 2.
Page 10
2. The Card Weight (see Figure 5) must be positioned on top of the card stack. The Card Weight slot must be positioned so that when the Hopper is empty, the slot is positioned over the micro- switch at the bottom of the Hopper. HOPPER CARD STACK Figure 5.
Figure 6B. Card Retainer Installation Setting the DIP Switches At the rear of the CR-510 are the DIP Switches which let you set the baud rate. The CR-510's baud rate must match that of the Computer it is connected to. For example, if you have set the baud rate of a TRS-80 Model III to 4800 baud, you must set the CR-510's DIP Switches to the 4800 baud setting.
Diagnostic Self-Test Once the CR-510 is connected to a power source, you can perform the Self-Test to confirm that it is operating properly. 1. Be sure the unit is ON. 2. Set the Card Reader DIP Switches to 9600 baud. 1 = LEFT 2= RIGHT 3= RIGHT...
Page 14
Card Right Card Left Card Must Be Placed Face Down in the Card Reader Hopper Card Trailing Edge Figure 9. Card Reader Diagnostic Test Card...
3/ General Information Thus chapter will provide information on using card readers in general and the CR-510 in particular. This includes hints on marked or punched card characteristics and maintenance. It also provides two test features that confirm the reliability of your CR-510 system. Preparing, Handling and Maintaining Cards Using card readers requires that you become familiar with the characteristics of cards and how to take care of them.
Card Reflectance Cards shall have a minimum reflectance of 70% (measurements must be made at the near infra-red end of the spectrum). Printing Ink Card Body Ink may be any color (Sinclair and Valentine J6893 Red etc.) and it must maintain a minimum reflectance of 70%.
Card Feed Modes The CR-510 can read cards in one of three modes: • Single Feed • Demand Feed • Continuous Feed. How to select these modes is outlined below. Single Feed Mode In this mode, the CR-510 reads a single card every time you press the START/STOP button. The READY lamp will illuminate, indicating that the CR-510 is ready to read a card.
Figure 11. CR-510 Stripper Plate Cleaning the Rubber Roller Another condition that can inhibit the proper reading and feeding of cards is when the rubber roller (Figure 12) becomes contaminated by the graphite residue from previous card readings. We recommend periodic cleaning of the roller to insure proper frictional contact between cards and the roller.
Page 20
Included in the CR-510 package is a small vial of cleansing detergent and a soft cloth. These are specifically for cleaning the rubber roller and the read head assembly. 1. When cleaning the rubber roller, make sure that the unit is turned off and the power line is disconnected or unplugged.
Page 21
3. Carefully lift the Card Reader housing up over the bucket and off the chassis as shown in Figure 14. Figure 14. Removing the Housing - 1 7 -...
Page 22
4. Lift the front panel assembly off the four positioning screws as shown in Figure 15. 5. Moisten a clean lint-free cloth with cleaner and clean the top front area of the read head as shown in Figure 16. Figure 15. Removing the Front Panel Figure 16.
Page 23
6. Add a drop of light oil to each of the exposed bearings on each side of the chassis. 7. Lubricate the drive roller bearings (Figure 17) using a pressurized oil can with an extension tube to reach the bearings surfaces. Figure 17.
4/ Using the CR-510 Many of the features of the CR-510 are software dependent. Switch settings and loading procedures depend on your particular application. However, there are certain aspects which are general to all applications. We will discuss these aspects in this section. Programming the Card Reader To use the Card Reader with your computer, you must have a driver routine which controls information flow to and from the unit.
In such a case, the READY light on the front panel will blink. To clear the error, the computer must first receive the status code (either as part of the normal transmitted data, or by requesting status with the STA command). It then must send a valid command to the Card Reader. The following table contains a list of the commands that can be sent (via the TRS-80) to the CR-510.
Page 27
To make the Card Reader more versatile, you can specify a special format which retranslates the row marks on the cards into different fields. These fields are then translated into the actual bytes that will be transmitted by the Card Reader. The format commands are: ASCII Converts the Hollerith card data into its ASCII equivalent.
Page 28
Field One represents the first byte and Field Two represents the second byte. The least significant row of each field (row 9 and row 3) correspond to bit 0 of each byte. In addition, to fill out each byte, bit 6 is set to 1, and bit 7 is set to 0. This provides a character range of codes 64 through 127. HeXadecimal 1 HXl separates the 12-chad/column Hollerith card data into three fields, from right to left as follows: Field One represents byte 1, Field Two represents byte 2, and Field Three represents byte 3.
Page 29
(•means the row is marked.) Marking more than one 0-9 row in a given column will result in a reverse slash. GRader 1 Converts the data into two 6-bit fields, reading from right to left, as follows: Under this format, the Card Reader expects one marking per field. Byte 1 consists of the ASCII code of the character represented by the marked row of Field One.
Page 30
Under this format, the Card Reader expects one marking per field. Byte 1 consists of the ASCII code of the character represented by the marked row of Field One. Byte 2 consists of the ASCII code of the character represented by the marked row of Field Two. For example if Row 0 is marked, then Byte 2 is equal to 67 (the ASCII code for "C").
Page 31
Line Feed Off Disables line feed after the carriage return (no line feed is sent after each card is read). Line Feed On Enables transmission of a line feed character (ASCII code 10) following the carriage return. Unit Status is not returned with data. Unit Status is returned with data.
Erase Previous Character The Hexadecimal value 08 (ASCII BS) will cause the previous character sent to the CR-510 to be erased. If it is the first character in a command string, it will be treated as a no-op. Status The following table lists the status conditions that can be returned to the computer if status is enabled (ST1) or an STA command is sent.
ASCII data. Then, it will read the second card and transmit the ASCII data. The HX3 command (second string) will cause a command error and the front panel READY lamp will blink (since line two has an invalid command the PIK that follows HX3 will be ignored). The last PIK command (line 3) will return a reverse slash in lieu of data (the last card will remain in the hopper).
5/ Using the Card Reader Demonstration Software A Model III diskettte and a Model II diskette accompany this package. Each diskette contains a demonstration in BASIC and a demonstration in COBOL of the software components used to read cards. Use of these programs is outlined below. Running a Demonstration BASIC Card Reader Program When the message "TRSDOS Ready"...
How to Run Demonstration Programs Without the "DO" Files Model II BASIC Demonstration I. Insert the Card Reader Demonstration Software Diskette into Drive 0. At the TRSDOS READY message, type: COBOL Demonstration 1. Insert the Card Reader Demonstration Software Diskette into Drive 0 and the COBOL Run-Time Diskette into Drive 1.
Programmers' Guide The following information is included to help you adapt this software for use with your own card reader application. Chapter 4 of this manual contains complete information on the commands recognized by the CR-510. The files that are included on the enclosed diskettes are listed and described below. Some guidelines for using these drivers with your own applications are also given.
Page 38
demonstration programs merely print the text of the card to the screen (after peeling off the status information) through the COBOL statement "DISPLAY COLS, CARD-EOL" or the BASIC statement "PRINT MID$(A$,3,L)". (Use of disk files will require the addition of a file description (FD) section in COBOL and OPEN, FIELD, etc.
Page 49
120 CLS: PRINTTAB(10)"TRS-80 CR-510 Card Reader Demonstration":PRINT:P RINT: PRINT"This program illustrates the software components used to read cards with the TRS-80 CR-510 Card Reader and the TRS-80 Model III microcomputer." 130 PRINT"For listings of the program source files involved, refer to the CR-510 Owner's Manual.":PRINT...
Page 50
230 ' Get card reader status (S$) — first character in string returned by CR-310 240 ' "4" means not reader is not ready 280 S$=MID$(A$,1,1): IF S$="4" THEN 210 330 'Status "0" means reader is not ready, "2" means hopper is empty 340 IF (S$="0"...
Appendix C/ Troubleshooting A blinking light front panel of your Card Reader may indicate that some problem has arisen. Often, can diagnose problems should your Card Reader fail to operate simply looking which light blinking. CR-510 Blinking Front Panel Lights Load/Attn Ready Feed Error Indication...
Page 59
Appendix D/ System Test The Model III System Test Once the CR-510 is connected to a Computer, it's possible to run the System Test which verifies that the Computer and CR-510 are connected and set-up properly. The following test is for TRS-80 Model Ill's only and requires that you use the System Test Card (the punched card).
Page 60
Card Left Card Right Card Must Be Placed Face Down Card Trailing Edge In the Card Hopper - D 2 -...
Appendix E / Specifications Power Requirements 115 Vac @ 2 amperes Physical Requirements Size " (H) x 6 " (W) x 12" (L) 19.7 cm (H) x 17.4 cm (W) x 30.5 cm (L) Weight 16.5 Lb. 7.48 Kg. Environmental Requirements Temperature Storage -40 to 160°...
Page 62
Radio Shack: 1. If any of the warranty seals on any Radio Shack computer products are broken, Radio Shack reserves the right to refuse to service the equipment or to void any remaining warranty on the equipment.
Page 64
RADIO SHACK, A DIVISION OF TANDY CORPORATION U.S.A.: FORT WORTH, TEXAS 76102 CANADA: BARRIE, ONTARIO TANDY CORPORATION Printed in U.S.A. MS 2 6 0 1 2 6 6...
Need help?
Do you have a question about the TRS-80 CR-510 and is the answer not in the manual?
Questions and answers