Omega Engineering OME-PIO-D96 manual How to Find the I/O Address, Resource-allocated information

Page 26

3.I/O Control Register

3.1How to Find the I/O Address

The plug & play BIOS will assign a proper I/O address to every OME-PIO/PISO series card in the power-up stage. The IDs of OME-PIO-D96 cards are given as follows:

< REVVendor1.0 ~ REVID3=.0 >E159:

VendorDeviceID =ID0xE159= 0002

• Device ID = 0x0002

Sub-vendor ID = 0x80

The sub IDs of OME-PIO-D96

Sub-device ID = 0x01

Sub-vendor ID= 80

Sub-aux ID = 0x10

Sub-device ID = 01

Sub-aux ID = 10

<REV 4.0 or above > :

Vendor ID = 0xE159

Device ID = 0x0001

Sub-vendor ID = 0x5880 are given as follows:

Sub-device ID = 0x01

Sub-aux ID = 0x10

We provide all necessary functions as follows:

1.PIO_DriverInit(&wBoard, wSubVendor, wSubDevice, wSubAux)

2.PIO_GetConfigAddressSpace(wBoardNo,*wBase,*wIrq, *wSubVendor, *wSubDevice, *wSubAux, *wSlotBus, *wSlotDevice)

3.Show_PIO_PISO(wSubVendor, wSubDevice, wSubAux)

All functions are defined in PIO.H. Refer to Chapter 4 for more information. The important driver information is given as follows:

1. Resource-allocated information:

wBase : BASE address mapping in this PC

wIrq: IRQ channel number allocated in this PC

2. OME-PIO/PISO identification information:

wSubVendor: subVendor ID of this board

wSubDevice: subDevice ID of this board

wSubAux: subAux ID of this board

3. PC’s physical slot information:

wSlotBus: hardware slot ID1 in this PC’s slot position

wSlotDevice: hardware slot ID2 in this PC’s slot position

The utility program, PIO_PISO.EXE, will detect & show all OME- PIO/PISO cards installed in this PC. Refer to Sec. 4.1 for more information.

OME-PIO-D96 User Manual (Ver.1.1, Mar/2003)

---- 24

Image 26
Contents User’sGuide Benelux CanadaMexico Czech RepublicOME-PIO-D96 Table of Contents Features IntroductionOptions SpecificationsOrder Description OME-PISO-series cost-effective generation, isolated cards PCI Data Acquisition FamilyProduct Check List Hardware configuration Board LayoutRefer to DEMO1.C for demo program Enable I/O OperationI/O port Location D/I/O Architecture Interrupt Operation Make sure the initial level is High or LowInterrupt Block Diagram of OME-PIO-D96 INTCHAN3INTCHAN0/1/2/3 Initialhigh, activelow Interrupt source COUNTL++Initiallow, activehigh Interrupt source Muliti Interrupt Source Read all interrupt state OME-DN-37 & OME-DN-50 Daughter BoardsOME-DB-37 OME-DB-8125OME-ADP-37/PCI & OME-ADP-50/PCI OME-DB-24P/24PD Isolated Input Board OME-DB-24R/24RD Relay Board OME-DB-24PR/24POR/24C Daughter Boards Comparison Table All signals are TTL compatible Pin AssignmentVCC GND OME-PIO/PISO identification information How to Find the I/O AddressResource-allocated information PC’s physical slot informationWSubVendor=0x80 wSubDevice=1 wSubAux=0x10 /* for PIOD96 PIODriverInitPIODriverInit&wBoards, wSubVendor,wSubDevice,wSubAux Current sinking Enable all D/I/O operation of card1 PIOGetConfigAddressSpaceEnable all D/I/O operation of card0 ShowPIOPISO ShowPIOPISOwSubVendor,wSubDevice,wSubAuxAssignment of I/O Address Slot5 0x0A Slot6 0x08 Slot7 0x09 Slot8 0x07I/O Address Map Address Read WriteAUX data Register RESET\ Control RegisterAUX Control Register INT Mask Control Register Aux Status RegisterInterrupt Polarity Control Register INV3 INV2 INV1 INV07 I/O Selection Control Register Read/Write 8-bit data Register How to install software & utility? Demo programPiopiso PIOPISO.EXE for Windows DEMO1 DEMO2 DEMO3 COUNTL++ DEMO4 COUNTL++ DEMO5 CNTL1=CNTL2=CNTL3=CNTL4=0 Page WARRANTY/DISCLAIMER Temperature