background image

Manual PCI-IDIO-16 

12 

Chapter 4: Programming

 

  
The base or starting address is assigned by the computer system during installation and will fall on an 
eight byte boundary. 

The card’s read and write functions are as follows: 

 

I/O Address

 

Read

 

Write

 

Base +0 

FET Drive Outputs 0-7 

FET Drive Outputs 0-7 

Base +1 

Isolated Inputs 0-7 

Clear Interrupt 

Base +2 

Enable IRQ 

Disable IRQ 

Base+3 

Activate Input Filters 0-15  Deactivate Input Filters 0-15 

Base+4 

FET Drive Outputs 8-15 

FET Drive Outputs 8-15 

Base+5 

Isolated Inputs 8-15 

Unused 

Base+6 

Interrupt Status 

Unused 

Base +7 

Input Filter Status 0-7 

Control Input Filters 0-7 

 
 

Digital Inputs

 

  

Digital input states are read as a pair of bytes from the ports at Base A1 and +5. Each of the 
eight bits within each byte corresponds to a particular digital input. A "1" signifies that the input is 
energized and a "0" signifies that the input is de-energized. 
 

Bit Position

 

D7 

D6 

D5 

D4 

D3 

D2 

D1 

D0 

Input Low Byte

  IP7 

IP6 

IP5 

IP4 

IP3 

IP2 

IP1  IP0 

Input High Byte

  IP15  IP14  IP13  IP12  IP11 

IP10  IP9  IP8 

  

FILTERS:

 Sometimes it is necessary to slow down the card's response to eliminate noise spikes on DC 

inputs in industrial environments or to convert sinusoidal AC inputs. The 5 mSec filter can be enabled for 
all inputs 0-15 by a software read from base a3 or disabled by a write of any value to base 
a3. The filters for inputs 0-7 can be programmed individually by a write to base a7 when 
the previous global enable command has not been given; a value of one in the corresponding bit location 
activates the filter and a value of zero disables that filter. The status of filters 0-7 can be read back from 
base a7. 
  

INTERRUPTS: 

The card supports interrupts. The interrupt level is assigned by the BIOS or plug-and-play 

operating system. The assigned interrupt level can be viewed when PCIFind.EXE is run (see chapter 3). 
The card’s interrupt capability makes it is unnecessary to continuously poll inputs (by reading at base 
a1 and +5) to detect when an input state has changed. To enable interrupts read from base 
a2. To disable interrupts, write any value to base a2. To clear an interrupt write any 
value to base a1. The user must include the clear instruction in the interrupt service routine 
software. For shared interrupt applications the card has an IRQ status byte that can be read from base 
a6. Bits 0 and 1 set indicate interrupts are enabled, bit 2 set indicates an IRQ has been 
generated, bits 3 thru 7 will always read 0.  
 

Summary of Contents for PCI-IDIO-16

Page 1: ...10623 Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL PCI IDIO 16 USER MANUAL FILE MPCI IDIO 16 C1k...

Page 2: ...nor the rights of others IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright 2001 2005 by ACCES I O Products Inc 10623 Roselle...

Page 3: ...parts not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable...

Page 4: ...7 Figure 1 2 Simplified Output Connection Diagram 8 Figure 1 3 Simplified Input Connection Diagram 8 Chapter 2 Installation 9 Chapter 3 Address Selection 11 Chapter 4 Programming 12 Chapter 5 Connect...

Page 5: ...he filters are under software control All filters may be turned on by a read at base address 3 All filters may be disabled by a write to base address 3 The filters for the first eight inputs can be tu...

Page 6: ...ut Type High Side Power MOSFET Switch Protected against short circuit over temperature ESD capable of driving inductive loads Compliance Voltage 5 34VDC customer supplied 40VDC absolute max Current 2A...

Page 7: ...IDIO 16 7 Power Required 5VDC 0 250A Environmental Ambient Temperature Operating 0 C to 70 C Storage 40 C to 85 C Humidity 5 to 95 non condensing Weight Approx 8 oz Size 6 80 long 173 mm Figure 1 1 Bl...

Page 8: ...Manual PCI IDIO 16 8 Figure 1 2 Simplified Output Connection Diagram Figure 1 3 Simplified Input Connection Diagram...

Page 9: ...criptions for usage of the various card options CD Software Installation The following instructions assume the CD ROM drive is drive D Please substitute the appropriate drive letter for your system as...

Page 10: ...ding on the operating system and automatically finish installing the drivers 9 Run PCIfind exe to complete installing the card into the registry for Windows only and to determine the assigned resource...

Page 11: ...PCIFind or the Device Manager utility from the System Properties Applet of the control panel The card is installed in the Data Acquisition class of the Device Manager list Selecting the card clicking...

Page 12: ...ronments or to convert sinusoidal AC inputs The 5 mSec filter can be enabled for all inputs 0 15 by a software read from base address 3 or disabled by a write of any value to base address 3 The filter...

Page 13: ...OP0 FET Contr d OP15 OP14 OP13 OP12 OP11 OP10 OP9 OP8 For example if bit D5 is turned on by writing hex 20 to the base address the relay that controls OP5 is energized All other low byte FETs would be...

Page 14: ...A 8 IN0A 47 IN8A 9 VBB7 Compliance Volt 48 VBB15 10 VBB6 49 VBB14 11 VBB5 50 VBB13 12 OUT4 to 7 Comm Return 51 OUT12 to 15 13 OUT4 Output 52 OUT12 14 VBB3 Compliance Volt 53 VBB11 15 OUT2 Return 54 OU...

Page 15: ...lt 9 VBB15 Compl Volt 10 VBB6 10 VBB14 11 VBB5 11 VBB13 12 OUT4 to 7 Comm Return 12 OUT12 to 15 Comm Return 13 OUT4 Output 13 OUT12 Output 14 VBB3 Compl Volt 14 VBB11 Compl Volt 15 OUT2 Return 15 OUT1...

Page 16: ...anual or just want to give us some feedback please email us at manuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates 10623 R...

Reviews: