Bedienungsanleitung B&B Electronics PPIO

34 Seiten 0.19 mb
Download

Zur Seite of 34

Summary
  • B&B Electronics PPIO - page 1

    . 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 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 ...

  • B&B Electronics PPIO - page 2

    PPIO2899 Manual Table of Contents i 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 P ACKING L IST .............................................................. ...

  • B&B Electronics PPIO - page 3

    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 1 I NTRODUCTION 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 ou ...

  • B&B Electronics PPIO - page 4

    2 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) ...

  • B&B Electronics PPIO - page 5

    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 3 PC P ARALLEL P ORT D ESCRIPTION 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 ...

  • B&B Electronics PPIO - page 6

    4 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 used to read the status of the port. The PPIO does not need to use this port as an input port. Again, referring to Table 1, if you input the data on port 0379H, then whatever TTL level p ins 15, 13, 12, 10, ...

  • B&B Electronics PPIO - page 7

    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 5 Table 1 Note 1: X means no connection to any DB - 25 pin. Note 2: Bit 4 of 37AH as an outpu t is used to control the interrupt IRQ7. When this bit is HIGH, IRQ7 is enabled and when this bit is LOW, IRQ7 is ...

  • B&B Electronics PPIO - page 8

    6 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 There are three port addresses that are normally used on a PC for parallel ports: 3BCH, 378H, and 278H. When your PC is reset or turned on these three addresses are scanned by the BIOS in the order shown ab ...

  • B&B Electronics PPIO - page 9

    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 7 PPIO D ESCRIPTION & C ONNECTION The PPIO makes use of the eight output pins (pins 2 through 9) at address 378H to drive its eight outputs. It uses the upper four bits of address 379H (pins 13, 12, 10, a ...

  • B&B Electronics PPIO - page 10

    8 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 Figure 1 ...

  • B&B Electronics PPIO - page 11

    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 9 C ONTROLLING THE PPIO U SING GWBASIC Refer to the fragment of G WBASIC code in F igure 2 to see how to input the bits and make one 8 - bit word. 100 OUT &H37A,&H04: REM This disables the 37AH Output ...

  • B&B Electronics PPIO - page 12

    10 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 Table 2 The big advantage of using the ANDing and ORing as shown in Table 2 is that it makes each PPIO pin independent. If you have, for instance, PPIO bit 2 ON and all of the rest of the bits OFF then you ...

  • B&B Electronics PPIO - page 13

    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 11 When you input the 8 - bit word using lines 300 - 460 of Fi gure 2, note that you also get the status of the outputs. If some I/O bits are used by the PPIO as outputs the status of the bits you read will t ...

  • B&B Electronics PPIO - page 14

    12 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 C ONTROLLING THE PPIO U SING P ASCAL The PPIO disk includes two source code files as an example of using the PPIO with the Pascal programming language. PPIO.PAS is the main routine of the example program. ...

  • B&B Electronics PPIO - page 15

    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 13 PROCEDURE Set_IRQ_Off; BEGIN PORT[Control_Address] := $04;{Write 4 to di sable IRQ} END; {Set_IRQ_Off} The function, In_Byte, returns the value of the variable, Input_Byte. It is defined as: FUNCTION In_By ...

  • B&B Electronics PPIO - page 16

    14 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 The parallel port’s status register stores the upper nibble (four bi ts) of the input line status. Since the smallest value that can be read from the port is a byte, some work must be done to get only th ...

  • B&B Electronics PPIO - page 17

    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 15 Notice that in the binary representation of the mask value, line zero’s mask has bit number zero set, and line one’s mask has bit number one set, etc. So, instead of retrieving the mask value from a ta ...

  • B&B Electronics PPIO - page 18

    16 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 As with the function, In_Byte, the mask value is calculated by shifting 00000001b right the same number of times as the desired line number. Once the mask va lue is calculated, it is bitwise ANDed with Out ...

  • B&B Electronics PPIO - page 19

    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 17 For example: Output_Byte = 01010101b Line_Number = 3 Status = 1 00000001b (1 d ecimal) shift - right 3 (Line_Number) = 00001000b XOR 11111111b 11110111b (mask 1) AND 01010101b (Output_Byte) 00000001b (Stat ...

  • B&B Electronics PPIO - page 20

    18 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 C ONTROLLING THE PPIO U SING C The PPIO disk includes three source code files as an example of using the PPIO with the C programming language. PPIO.C is the main routine of the example program. PPIOFUNC.C ...

  • B&B Electronics PPIO - page 21

    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 19 The function, Set_IRQ_OFF(), tells the parallel port not to generate any interrupts. This sh ould be called immediately after Set_Start(). It is defined as: void Set_IRQ_Off(void) { outport (Control_Addres ...

  • B&B Electronics PPIO - page 22

    20 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 The parallel port’s status register stores the upper nibble (four bits) of the i nput line status. Since the smallest value that can be read from the port is a byte, some work must be done to get only th ...

  • B&B Electronics PPIO - page 23

    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 21 Notice that in the binary representation of the mask value, line zero’s mask has bit number ze ro set, and line one’s mask has bit number one set, etc. So, instead of retrieving the mask value from a t ...

  • B&B Electronics PPIO - page 24

    22 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 Line_Number = 3 Output_Byte = 10101010b 00000001b shift - right 3 (Line_Number) = 00001000b AND 10101010b (Output_Byte) 00001000b The function, Set_Output_Bit(), sets the selected output line ON of OFF. Th ...

  • B&B Electronics PPIO - page 25

    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 23 For example: Output_Byte = 01010101b Line_Number = 3 Status = 1 00000001b (1 decimal) shift - right 3 (Line_Number) = 00001000b XOR 11111111b 11110111b (mask 1 ) AND 01010101b (Output_Byte) 00000001b (Stat ...

  • B&B Electronics PPIO - page 26

    24 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 The function, Is_PPIO(), tests whether or not the PPIO is connected to the parallel port and fun ctioning properly. This function should only be used if it is safe to toggle the state of the digital output ...

  • B&B Electronics PPIO - page 27

    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 25 Input_Byte = inp( Control_Address ) & 0x0F; if( (Input_Byte & Output_Byte) == Output_Byte ) { status |= 0x 01; } } /* Restore the state of the digital outputs */ Output_Byte = old_value; outp( Base ...

  • B&B Electronics PPIO - page 28

    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 27 I NTER FACING TO THE PPIO Each output of the PPIO is capable of handling currents as high a 500 mA when the output is low. This means that you can connect a relay or a light or other load between the outpu ...

  • B&B Electronics PPIO - page 29

    28 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 Figure 4 ...

  • B&B Electronics PPIO - page 30

    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 29 E XAMPLE U SE OF THE PPIO Figure 5 shows a simple use of the PPIO to create an automatic Heating and Air Conditioning system. The top relay controls the Air Conditioning system. The other relay controls th ...

  • B&B Electronics PPIO - page 31

    30 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 Heat and the Air. See line 230. If IB is equal to two then the 72 degree thermostat is on and the 78 degree one is off. At this time we want both the Heat and the Air off. See line 260. If IB is equal to 3 ...

  • B&B Electronics PPIO - page 32

    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 31 90 REM IB IS THE INPUT BYTE AND OB IS THE OUTPUT BYTE 100 OUT &H37A,&H4: REM SET UP 37A FOR INPUTTING 110 OUT &H378,&H0: REM FORCE I/O BITS 0&1 HIGH 120 REM TO USE THEM AS INPUTS 130 RE ...

  • B&B Electronics PPIO - page 33

    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 33 A PPENDIX Hexadecimal Numbers Hexadecim al numbers are base - 16 numbers. Instead of only using the digits "0" through "9" to represent a number, the letters "A" through " ...

  • B&B Electronics PPIO - page 34

    34 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 Table 4 Binary Numbers Binary numbers are base - 2 numbers. They are written as a sequence of one's and zero's and end with a lower or upper case "B". Table 3 shows how to convert any v ...

Produzent B&B Electronics Kategorie TV Converter Box

Dokumente, die wir vom Produzenten des Geräts B&B Electronics PPIO erhalten, können wir in mehrere Gruppen teilen. Unteranderem in:
- technische Zeichnungen B&B Electronics
- Bedienungsanleitungen PPIO
- Produktkarten B&B Electronics
- Informationsbroschüren
- oder Energieetiketten B&B Electronics PPIO
Jede von ihnen ist wichtig, jedoch finden wir die wichtigsten Informationen für den Nutzer des Geräts in der Bedienungsanleitung B&B Electronics PPIO.

Die Dokumentengruppe, die als Bedienungsanleitungen bezeichnet wird, wird ebenfalls in detaillierte Arten geteilt, solche wie: Montageanleitungen B&B Electronics PPIO, Wartungsanleitungen, Kurzanleitungen oder Benutzeranleitungen B&B Electronics PPIO. Abhängig vom Bedarf, sollten Sie das Dokument finden, das Sie brauchen. In unserem Service können Sie sich die populärste Bedienungsanleitung des Produkts B&B Electronics PPIO ansehen.

Die komplette Bedienungsanleitung des Geräts B&B Electronics PPIO, wie sollte sie aussehen?
Die Bedienungsanleitung, auch bezeichnet als Benutzerhandbuch, oder einfach nur „Anleitung”, ist ein technisches Dokument, das dem Benutzer bei der Nutzung von B&B Electronics PPIO hilfreich sein soll. Die Bedienungsanleitungen werden in der Regel von technischen Schriftstellern geschrieben, aber in einer Sprache, die für alle Nutzer von B&B Electronics PPIO verständlich ist.

Eine gänzliche Bedienungsanleitung von B&B Electronics sollte einige Grundelemente enthalten. Ein Teil von ihnen ist nicht so wichtig, wie z.B.: die Titelseite oder Autorenseiten. Die restlichen von ihnen jedoch, sollten Informationen liefern, die für den Nutzer von enormer Wichtigkeit sind.

1. Einführung und Hinweise, wie man sich in einer Bedienungsanleitung von B&B Electronics PPIO bewegt - Am Anfang jeder Bedienungsanleitung sollten wir Hinweise bezüglich der Nutzungsart eines bestimmten Ratgebers finden. In ihr sollten sich Informationen über die Lokalisierung des Inhaltsverzeichnisses von B&B Electronics PPIO befinden, FAQ oder über oft auftretende Probleme – also Stellen, die von den Benutzern in jeder Bedienungsanleitung am meisten gesucht werden
2. Inhaltsverzeichnis - Index aller Ratschläge bezüglich B&B Electronics PPIO, die wir im aktuellen Dokument finden
3. Ratschläge zur Nutzung der Grundfunktionen des Geräts B&B Electronics PPIO - die uns die ersten Schritte während der Nutzung von B&B Electronics PPIO erleichtern sollten
4. Troubleshooting - geordneter Tätigkeitslauf, der uns bei der Diagnose und als nächstes bei der Lösung wichtiger Probleme mit B&B Electronics PPIO hilft
5. FAQ - häufig gestellte Fragen
6. Kontaktdaten Informationen darüber, wo man Kontakt zum Produzenten / Service von B&B Electronics PPIO im bestimmten Land suchen kann, wenn es nicht gelingt, das Problem selbst zu lösen.

Haben Sie eine Frage bezüglich B&B Electronics PPIO?

Nutzen Sie das untere Formular

Wenn Sie mit Hilfe der gefundenen Bedienungsanleitung Ihr Problem mit B&B Electronics PPIO nicht gelöst haben, stellen Sie eine Frage, indem Sie das untere Formular nutzen. Wenn einer der Nutzer ein ähnliches Problem mit B&B Electronics PPIO hatte, ist es möglich, dass er mit Ihnen die Lösung teilen möchte.

Text vom Bild übertragen

Kommentare (0)