Manual de instrucciones B&B Electronics PPIO

34 de páginas 0.19 mb
Descargar

Pasar a la página 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 ...

Fabricante B&B Electronics Categoría TV Converter Box

Los documentos del dispositivo B&B Electronics PPIO que obtenemos del fabricante se pueden dividir en varios grupos. Entre ellos están::
- dibujos técnicos B&B Electronics
- manuales de instrucciones PPIO
- hojas de producto B&B Electronics
- folletos informativos
- o etiquetas energéticas B&B Electronics PPIO
Todos son importantes, pero lo más importante desde el punto de vista del usuario de un dispositivo lo encontraremos en el manual de instrucciones B&B Electronics PPIO.

Un conjunto de documentos determinado como manual de instrucciones se divide también en tipos más detallados, tales como: instrucciones de montaje B&B Electronics PPIO, instrucciones de servicio, instrucciones cortas o instrucciones de usuario B&B Electronics PPIO. Dependiendo de la situación debes buscar el documento que necesitas. En nuestra página puedes consultar el manual de instrucciones más popular del producto B&B Electronics PPIO.

El manual de instrucciones del dispositivo B&B Electronics PPIO, ¿cómo debería ser?
El manual de instrucciones, también determinado como el manual de usuario o simplemente instrucciones, es un documento técnico que tiene como objetivo ayudar a los usuarios a utilizar B&B Electronics PPIO. Las instrucciones normalmente las realiza un escritor técnico pero en un lenguaje comprensible para todos los usuarios de B&B Electronics PPIO.

El manual de instrucciones completo de B&B Electronics debe contener unos elementos básicos. Una parte de ellos es menos importante, como por ejemplo: la portada / la página principal o las páginas de autor. Sin embargo, lo demás debe facilitarnos la información más importante desde el punto de vista del usuario.

1. Introducción y pistas sobre cómo orientarse con el manual B&B Electronics PPIO - Al principio de cada manual se deben encontrar las indicaciones acerca de la manera de usar un manual de instrucciones. Debe contener información sobre dónde encontrar el índice B&B Electronics PPIO, preguntas frecuentes o problemas más comunes – son los apartados más buscados por los usuarios de cada manual de instrucciones.
2. Índice - listados de todos los consejos acerca de B&B Electronics PPIO que encontraremos en el documento
3. Consejos de uso de las funciones básicas del dispositivo B&B Electronics PPIO - que deben facilitarnos los primeros pasos durante el uso de B&B Electronics PPIO
4. Troubleshooting - una secuencia sistematizada de acciones que nos ayudará a diagnosticar los problemas más importantes con B&B Electronics PPIO
5. FAQ - las preguntas frecuentes
6. Datos de contacto Información acerca de cómo encontrar los datos de contacto del fabricante / servicio de B&B Electronics PPIO en cada país si no somos capaces de solucionar el problema por nuestra cuenta.

¿Tienes una pregunta acerca de B&B Electronics PPIO?

Utiliza el formulario que se encuentra abajo

Si con la ayuda del manual de instrucciones encontrado no has podido solucionar tu problema con B&B Electronics PPIO, haz una pregunta utilizando el formulario que se encuentra abajo. Si alguno de los usuarios ha tenido un problema parecido con B&B Electronics PPIO probablemente compartirá una forma de solucionarlo.

Copia el texto de la imagen

Comentarios (0)