B&B Electronics Parallel Port Input/Output Converter PPIO Bedienungsanleitung

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung B&B Electronics Parallel Port Input/Output Converter PPIO an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von B&B Electronics Parallel Port Input/Output Converter PPIO, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung B&B Electronics Parallel Port Input/Output Converter PPIO die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung B&B Electronics Parallel Port Input/Output Converter PPIO. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung B&B Electronics Parallel Port Input/Output Converter PPIO sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts B&B Electronics Parallel Port Input/Output Converter PPIO
- Den Namen des Produzenten und das Produktionsjahr des Geräts B&B Electronics Parallel Port Input/Output Converter PPIO
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts B&B Electronics Parallel Port Input/Output Converter PPIO
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von B&B Electronics Parallel Port Input/Output Converter PPIO zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von B&B Electronics Parallel Port Input/Output Converter PPIO und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service B&B Electronics finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von B&B Electronics Parallel Port Input/Output Converter PPIO zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts B&B Electronics Parallel Port Input/Output Converter PPIO, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von B&B Electronics Parallel Port Input/Output Converter PPIO widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 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 [...]

  • Seite 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 ..............................................................[...]

  • Seite 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[...]

  • Seite 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) [...]

  • Seite 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 [...]

  • Seite 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,[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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. [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 "[...]

  • Seite 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[...]