background image

Operations Manual    

PCI bus multi-8255/8254 adapter

17

50

CHAPTER 5

DII DEVICE DRIVER

DII DEVICE DRIVER

To install DII (Decision Industrial Interface) for Windows 95
and Windows NT, you may start the installation  by running
SETUP.EXE   supplied   on   this   distribution   CD.   During
installation, the Setup application will install an icon into a new
program  group  in   your  start   menu   (default  name:  "Decision
Industrial Interface"). After DII is installed, please select “Start”
menu, then “Settings”, then “Control Panel”, then “Add New
Hardware”   menu,   then   select   PCI  multi-8255   card   on   the
“Industrial I/O Devices” hardware group.

The DII provides DLL, OCX, ... etc. components for further
programming. For more details, please refer DII manual.

頁碼

DECISION Computer International

Содержание 8254

Страница 1: ...Operations Manual PCI bus multi 8255 8254 adapter PCI BUS MULTIPLE 8255 8254 ADAPTER OPERATION MANUAL Update 02 04 DECISION DECISION Computer International Co Ltd 頁碼DECISION Computer International 頁 碼 ...

Страница 2: ... adapter CHAPTERS 1 Introduction 1 2 Unpacking Information 3 3 Hardware Installation 4 4 Hardware Configuration 5 5 DII Device Driver 14 6 Diagnostic 15 APPENDICES A Warranty Information 18 B Data Sheet 21 頁碼DECISION Computer International 頁 碼 ...

Страница 3: ...r compatible computers The PnP features let hardware configuration for IRQ and I O address is detected by BIOS automatically you don t need set switch and jumper The PCI bus multi 8255 8254 adapter provides total 24 digital I O ports each I O port contains 8 I O lines and can be set either input or output by the user s program Two 8254 on board chips provides six programmable interval timer counte...

Страница 4: ...ter are 32 bits PCI bus with Plug and Play PnP features Programmable I O control functions Up to 192 I O lines Up to 6 counter timer Maximum of 10 MHZ counter rate Support several operating modes that are programmable Provides DII device driver for PnP features 頁碼DECISION Computer International 頁 碼 ...

Страница 5: ...bus multi 8255 8254 package includes the following items PCI bus multi 8255 8254 adapter Demo Program Data Capture Software Manual with CD Four expansion flat cables with IDC50 DB50 connector One expansion flat cables with IDC40 DB50 connector DII device driver User manual Warranty form 頁碼DECISION Computer International 頁 碼 ...

Страница 6: ...steps listed below 1 Turn off all power to your computer and all peripheral devices before installing your multi 8255 8254 adapter 2 Remove the cover of the computer 3 Insert the multi 8255 8254 adapter into any available PCI slot Make sure the adapter is firmly seated in the chosen slot 4 Replace the cover of the computer 5 Connects the expansion cables 6 Turn on the power of your computer the Pn...

Страница 7: ...r Base 9 Port 3B input output buffer Base 10 Port 3C input output buffer Base 11 Port 3 control register Base 12 Port 4A input output buffer Base 13 Port 4B input output buffer Base 14 Port 4C input output buffer Base 15 Port 4 control register Base 16 Port 5A input output buffer Base 17 Port 5B input output buffer Base 18 Port 5C input output buffer Base 19 Port 5 control register Base 20 Port 6A...

Страница 8: ...t output buffer Base 37 Counter 4 input output buffer Base 38 Counter 5 input output buffer Base 39 Counter control register for counter 3 4 5 4 2 DIP Switch ON 1 2 3 4 The switch is used to identify card number default setting is card 1 There are two methods to set the card number a PnP mode Just plug in PCI bus adapter into PCI slot the PCI BIOS will allocate I O address to each adapter automati...

Страница 9: ...will assign pre allocated I O address to each adapter Please set different card number to each adapter do not duplicate card number setting 1 1 2 2 3 3 4 4 Card Number Card Number ON OFF OFF OFF 1 OFF ON OFF OFF 2 ON ON OFF OFF 3 OFF OFF ON OFF 4 The card number starts from 0 to 15 頁碼DECISION Computer International 頁 碼 ...

Страница 10: ...Operations Manual PCI bus multi 8255 8254 adapter 頁碼DECISION Computer International 頁 碼 ...

Страница 11: ...s different When you like to connect by a flat cable direct to the card please use assignment A for the flatcable When you like to connect direct to the card please use B for the pin connection When you like to connect by DB 50 please use DB Sample DB A B Function DB A B Functio 1 1 2 P5A1 34 2 1 P5A0 18 3 4 P5A3 2 4 3 P5A2 The pin assignments are shown in the next pages 頁碼DECISION Computer Intern...

Страница 12: ...P1B4 15 15 16 P1B7 16 16 15 P1B6 17 17 18 P1C1 18 18 17 P1C0 19 19 20 P1C3 20 20 19 P1C2 21 21 22 P1C5 22 22 21 P1C4 23 23 24 P1C7 24 24 23 P1C6 25 25 26 GND 26 26 25 GND 27 27 28 P2A1 28 28 27 P2A0 29 29 30 P2A3 30 30 29 P2A2 31 31 32 P2A5 32 32 31 P2A4 33 33 34 P2A7 34 34 33 P2A6 35 35 36 P2B1 36 36 35 P2B0 37 37 38 P2B3 38 38 37 P2B2 39 39 40 P2B5 40 40 39 P2B4 41 41 42 P2B7 42 42 41 P2B6 43 43...

Страница 13: ...P3B3 12 12 11 P3B2 13 13 14 P3B5 14 14 13 P3B4 15 15 16 P3B7 16 16 15 P3B6 17 17 18 P3C1 18 18 17 P3C0 19 19 20 P3C3 20 20 19 P3C2 21 21 22 P3C5 22 22 21 P3C4 23 23 24 P3C7 24 24 23 P3C6 25 25 26 GND 26 26 25 GND 27 27 28 P4A1 28 28 27 P4A0 29 29 30 P4A3 30 30 29 P4A2 31 31 32 P4A5 32 32 31 P4A4 33 33 34 P4A7 34 34 33 P4A6 35 35 36 P4B1 36 36 35 P4B0 37 37 38 P4B3 38 38 37 P4B2 39 39 40 P4B5 40 40...

Страница 14: ...Operations Manual PCI bus multi 8255 8254 adapter 45 45 46 P4C3 46 46 45 P4C2 47 47 48 P4C5 48 48 47 P4C4 49 49 50 P4C7 50 50 49 P4C6 頁碼DECISION Computer International 頁 碼 ...

Страница 15: ...B7 16 16 15 P5B6 17 17 18 P5C1 18 18 17 P5C0 19 19 20 P5C3 20 20 19 P5C2 21 21 22 P5C5 22 22 21 P5C4 23 23 24 P5C7 24 24 23 P5C6 25 25 26 GND 26 26 25 GND 27 27 28 P6A1 28 28 27 P6A0 29 29 30 P6A3 30 30 29 P6A2 31 31 32 P6A5 32 32 31 P6A4 33 33 34 P6A7 34 34 33 P6A6 35 35 36 P6B1 36 36 35 P6B0 37 37 38 P6B3 38 38 37 P6B2 39 39 40 P6B5 40 40 39 P6B4 41 41 42 P6B7 42 42 41 P6B6 43 43 44 P6C1 44 44 4...

Страница 16: ...Operations Manual PCI bus multi 8255 8254 adapter 49 49 50 P6C7 50 50 49 P6C6 頁碼DECISION Computer International 頁 碼 ...

Страница 17: ...P7B7 16 16 15 P7B6 17 17 18 P7C1 18 18 17 P7C0 19 19 20 P7C3 20 20 19 P7C2 21 21 22 P7C5 22 22 21 P7C4 23 23 24 P7C7 24 24 23 P7C6 25 25 26 GND 26 26 25 GND 27 27 28 P8A1 28 28 27 P8A0 29 29 30 P8A3 30 30 29 P8A2 31 31 32 P8A5 32 32 31 P8A4 33 33 34 P8A7 34 34 33 P8A6 35 35 36 P8B1 36 36 35 P8B0 37 37 38 P8B3 38 38 37 P8B2 39 39 40 P8B5 40 40 39 P8B4 41 41 42 P8B7 42 42 41 P8B6 43 43 44 P8C1 44 44...

Страница 18: ...Operations Manual PCI bus multi 8255 8254 adapter 49 49 50 P8C7 50 50 49 P8C6 頁碼DECISION Computer International 頁 碼 ...

Страница 19: ... 11 GATE2 13 13 14 CLR3 14 14 13 GND 15 15 16 OUT3 16 16 15 GATE3 17 17 18 CLK4 18 18 17 GND 19 19 20 OUT4 20 20 19 GATE4 21 21 22 CLK5 22 22 21 GND 23 23 24 OUT5 24 24 23 GATE5 25 25 26 5V 26 26 25 GND 27 27 28 12V 28 28 27 GND 29 29 30 12V 30 30 29 GND 31 31 32 12V 32 32 31 GND 33 33 34 GND 34 34 33 GND 35 35 36 1MHZ 36 36 35 5MHZ 37 37 38 GND 38 38 37 GND 39 39 40 100KHZ 40 40 39 500KHZ 47 31 1...

Страница 20: ...installation the Setup application will install an icon into a new program group in your start menu default name Decision Industrial Interface After DII is installed please select Start menu then Settings then Control Panel then Add New Hardware menu then select PCI multi 8255 card on the Industrial I O Devices hardware group The DII provides DLL OCX etc components for further programming For more...

Страница 21: ...es Crt var a i test integer procedure subtest begin for i 0 to 2 do port test i a end begin 8255 I O Card Testing Program clrscr gotoxy 10 10 writeln 8255 I O CARD TESTING gotoxy 10 12 writeln TWO 8255 PORT A B C OUTPUT SQUARE WAVE gotoxy 10 14 writeln 8253 COUNTER 0 DIVIDE BY 2 gotoxy 10 16 writeln COUNTER 1 DIVIDE BY 50 gotoxy 10 18 writeln COUNTER 2 DIVIDE BY 100 頁碼DECISION Computer Internation...

Страница 22: ...rt test 11 B6 port test 8 02 port test 8 0 port test 9 32 port test 9 0 port test 10 64 port test 10 0 repeat test 1B0 port test 3 80 a 0 subtest for i 0 to 1000 do a ff subtest test test 4 port test 3 80 a 0 subtest for i 0 to 1000 do a ff subtest until keypressed end 頁碼DECISION Computer International 頁 碼 ...

Страница 23: ...WAVE gotoxy 10 14 puts 8253 COUNTER 0 DIVIDE BY 2 gotoxy 10 16 puts 8253 COUNTER 1 DIVIDE BY 50 gotoxy 10 18 puts 8253 COUNTER 2 DIVIDE BY 100 test 0x1b0 outportb test 11 0x36 outportb test 11 0x76 outportb test 11 0xb6 outportb test 8 0x02 outportb test 8 0x00 outportb test 9 0x32 outportb test 9 0x00 outportb test 10 0x64 outportb test 10 0x00 do test 0x1b0 outportb test 3 0x80 a 0 subtest for i...

Страница 24: ...Operations Manual PCI bus multi 8255 8254 adapter while kbhit 頁碼DECISION Computer International 頁 碼 ...

Страница 25: ...ual or otherwise without the prior written permission of DECISION COMPUTER INTERNATIONAL CO LTD Each piece of PCI bus 8255 adapter package permits user to use PCI bus 8255 adapter only on a single computer a registered user may use the program on a different computer but may not use the program on more than one computer at the same time Corporate licensing agreements allow duplication and distribu...

Страница 26: ...ion replace or repair the item at no additional charge This limited warranty does not cover damage resulting from incorrect use electrical interference accident or modification of the product All goods returned for warranty repair must have the serial number intact Goods without serial numbers attached will not be covered by the warranty Transportation costs for goods returned must be paid by the ...

Страница 27: ...gh the use of or inability to use the PCI bus 8255 adapter product DECISION reserves the right to determine what constitutes warranty repair or replacement Return Authorization It is necessary that any returned goods are clearly marked with an RA number that has been issued by DECISION Goods returned without this authorization will not be attended to 頁碼DECISION Computer International 頁 碼 ...

Страница 28: ...Operations Manual PCI bus multi 8255 8254 adapter APPENDIX B DATA SHEET DATA SHEET Please put the data sheet that copy from DCI Smartlab 8255 8253 I O card 頁碼DECISION Computer International 頁 碼 ...

Отзывы: