Log:
valutazioni - 5, GPA: 3.8 ( )

Istruzioni per l'uso B&B Electronics, Modello Parallel Port Input/Output Converter PPIO

Produttore : B&B Electronics
File Size : 172.01 kb
File Nome : mppio.pdf
Lingua di insegnamento: en
Vai a scaricare



Facilità d'uso


Parallel Port Input/Output Converter Model PPIO Document No. PPIO2899 B&B Electronics Mfg. Co. Inc. 707 Dayton Road --P.O. Box 1040 --Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Home Page: Sales e-mail: orders@bb-elec.com -- Fax (815) 433-5109 Technical Support e-mail: support@bb.elec.com -- Fax (815) 433-5104 Copyright ? 1991-1999 B&B Electronics -- Revised June 1999 .PPIO2899 Manual Cover Page B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 TABLE OF CONTENTS INTRODUCTION .............................................................................1 PACKING LIST.................................................................................2 PC PARALLEL PORT DESCRIPTION ...........................................3 PPIO DESCRIPTION & CONNECTION..........................................7 CONTROLLING THE PPIO USING GWBASIC..............................9 CONTROLLING THE PPIO USING PASCAL...............................12 CONTROLLING THE PPIO USING C...........................................18 INTERFACING TO THE PPIO.......................................................27 EXAMPLE USE OF THE PPIO .....................................................29 APPENDIX.....................................................................................33 HEXADECIMAL NUMBERS ..............................................................33 BINARY NUMBERS ........................................................................34 PPIO2899 Manual Table of Contents B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 INTRODUCTION The PPIO allows you to connect your IBM PC (or clone) computer to the outside world using the computer’s parallel port. The eight I/O points can be used as either inputs or outputs. As an output they can control voltages as high as 50 Volts DC and can handle currents as high as 500 mA DC. As an input they can handle voltages from 0 to 50 volts with a threshold of 2.5 Volts DC. CAUTION: Each output of the PPIO can dissipate 1 Watt when used alone, however, all eight outputs together cannot dissipate more than 2.25 Watts. NOTE: The PPIO connects to the parallel port of your computer and uses most of the available pins on that port. You MUST use a cable that connects pins 1 through 17 of the DB-25 connector to the PPIO for it to work properly. To be safe you should use a cable that connects all 25 pins from connector to connector. NOTE: The PPIO can only be used with parallel ports that are in “compatible” or “normal” mode. It will not function properly with parallel ports in ECP or EPP modes. The mode of the parallel port can be changed in the BIOS setup by pressing either the F2 key or DEL key just after the computer begins the boot procedure. The PPIO comes with sample DOS programs written in GWBASIC, QuickBASIC, Pascal, and C. These sample programs can be used "as is" to test the PPIO and to control and display the status of its I/O pins. Parts of these programs can be used in other programs to make it easier to interface to the PPIO. Also, by studying these programs a programmer can learn how to write code in any language to do a similar job. PPIO2899 Manual B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 Packing List Examine the shipping carton and contents for physical damage. If there is damage, contact B&B Electronics immediately. The following items should be in the shipping carton: 1) PPIO unit 2) This Instruction Manual 3) PPIO Sample/Test Disk If any of the above items is missing contact B&B Electronics immediately. PPIO2899 Manual B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 PC PARALLEL PORT DESCRIPTION To understand how the PPIO can be controlled you must first understand how the parallel port works inside the computer. The parallel port is designed to connect the computer with the outside world. It can have up to 12 TTL compatible outputs and up to 9 TTL compatible inputs. It cannot have both at the same time since some inputs and outputs share pins. Eight of the outputs and five of the inputs are dedicated. Four of the lines can be either inputs or outputs. The main use for the parallel port is to send data to a printer. The port uses the eight dedicated outputs for data and the other lines for handshakes. Under normal printer operation, the computer will put an eight-bit byte on the eight lines (pins 2-9) and then use the Strobe output (pin 1) to tell the printer to read the data. Upon receipt of an Acknowledge (pin 10) from the printer the computer knows that the eight bit word was received. It can then send the next word. Other lines are used for busy, off line, etc. All the control of the parallel port is done through software. If you look at the hardware you find that the parallel port is...


Scrivi la tua opinione del dispositivo



Il messaggio
Il tuo nome :
Inserire le due cifre :
capcha





categorie