Инструкция обслуживания B&B Electronics Parallel Port Input/Output Converter PPIO

34 страниц 0.25 mb
Скачать

Перейти на страницу of 34

Summary
  • B&B Electronics Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 Parallel Port Input/Output Converter 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 ...

Производитель B&B Electronics Категория TV Converter Box

Документы, которые мы получаем от производителя устройства B&B Electronics Parallel Port Input/Output Converter PPIO мы можем разделить на несколько групп. Это в частности:
- технические чертежи B&B Electronics
- инструкции обслуживания Parallel Port Input/Output Converter PPIO
- паспорта изделия B&B Electronics
- информационные брошюры
- энергетические этикетки B&B Electronics Parallel Port Input/Output Converter PPIO
Все из них важны, однако самую важную информацию с точки зрения пользователя мы найдем в инструкции обслуживания B&B Electronics Parallel Port Input/Output Converter PPIO.

Группа документов, определяемая как инструкции обслуживания, делится также на более подробные типы, такие как: Инструкции монтажа B&B Electronics Parallel Port Input/Output Converter PPIO, инструкции обслуживания, короткие инструкции или инструкции пользователя B&B Electronics Parallel Port Input/Output Converter PPIO. В зависимости от потребностей, Вам необходимо поискать требуемый документ. На нашем сайте Вы можете просмотреть самую популярную инструкцию использования изделия B&B Electronics Parallel Port Input/Output Converter PPIO.

Похожие инструкции обслуживания

Полная инструкция обслуживания устройства B&B Electronics Parallel Port Input/Output Converter PPIO, как должна выглядеть?
Инструкция обслуживания, определяемая также как пособие пользователя, или просто "руководство" - это технический документ, цель которого заключается в использовании B&B Electronics Parallel Port Input/Output Converter PPIO пользователями. Инструкции пишет, как правило технический писатель, языком, доступным для всех пользователей B&B Electronics Parallel Port Input/Output Converter PPIO.

Полная инструкция обслуживания B&B Electronics, должна заключать несколько основных элементов. Часть из них менее важная, как например: обложка / титульный лист или авторские страницы. Однако остальная часть, должна дать нам важную с точки зрения пользователя информацию.

1. Вступление и рекомендации, как пользоваться инструкцией B&B Electronics Parallel Port Input/Output Converter PPIO - В начале каждой инструкции, необходимо найти указания, как пользоваться данным пособием. Здесь должна находится информация, касающаяся местонахождения содержания B&B Electronics Parallel Port Input/Output Converter PPIO, FAQ и самых распространенных проблем - то есть мест, которые чаще всего ищут пользователи в каждой инструкции обслуживания
2. Содержание - индекс всех советов, касающихся B&B Electronics Parallel Port Input/Output Converter PPIO, которое найдем в данном документе
3. Советы по использованию основных функций устройства B&B Electronics Parallel Port Input/Output Converter PPIO - которые должны облегчить нам первые шаги во время использования B&B Electronics Parallel Port Input/Output Converter PPIO
4. Troubleshooting - систематизированный ряд действия, который поможет нам диагностировать а в дальнейшем очередность решения важнейших проблем B&B Electronics Parallel Port Input/Output Converter PPIO
5. FAQ - чаще всего задаваемые вопросы
6. Контактные данные Информация о том, где искать контактные данные производителя / сервисного центра B&B Electronics Parallel Port Input/Output Converter PPIO в данной стране, если самостоятельно не получится решить проблему.

У вас вопрос, касающийся B&B Electronics Parallel Port Input/Output Converter PPIO?

Воспользуйтесь формуляром, находящимся ниже

Если с помощью найденной инструкции Вы не решили свою проблему с B&B Electronics Parallel Port Input/Output Converter PPIO, задайте вопрос, заполнив следующий формуляр. Если у какого то из пользователей была похожая проблема с B&B Electronics Parallel Port Input/Output Converter PPIO со всей вероятностью он захочет поделиться методом ее решения.

Перепишите текст с картинки

Комментарии (0)