background image

Manual PCIe-DIO-24HS PCI Express Digital I/O Card 

12 

Chapter 5:  Programming 

This card is an I/O-mapped device that is easily configured from any language.  The base 
address is assigned by the computer system during installation.  The card's read/write 
functions are as follows. 

 

Address

 

Function

 

Operation

 

Base A0 

Port A 

Read/Write 

Base A1 

Port B 

Read/Write 

Base A2 

Port C 

Read Write 

Base A3 

Control Register 

Read/Write 

Base A4 
t9 

Not used 

N/A 

Base AA 

DIO Buffer Enable 

Read/Write 

Base AB 

DIO COS IRQ Enable 
(S Models Only) 

Read/Write 

Base AC 

Not used 

N/A 

Base AD 

Global IRQ Disable 

Write 

Base AE 

Port C bit-3 IRQ Enable 

Read/Write 

Base AF 

IRQ Clear 

Write 

Table 5-1: 

Register Address Map 

Base Address   +0 (read/write) Port A DIO 

 

 

Bit 7  Bit 6  Bit 5  Bit 4  Bit 3  Bit 2  Bit 1  Bit 0 
PA7  PA6  PA5  PA4  PA3  PA2  PA1  PA0 

Table 5-2: 

Base +0 Port A DIO

 

Reading from this address will return the digital data on Port A.  Writing to this address will 
output the digital data on Port A.  Readback is supported while in output mode. Base Address 
+3 

controls Port A’s input/output direction. 

 

Base Address   +1 (read/write) Port B DIO  
 

Bit 7  Bit 6  Bit 5  Bit 4  Bit 3  Bit 2  Bit 1  Bit 0 
PB7  PB6  PB5  PB4  PB3  PB2  PB1  PB0 

Table 5-3: 

Base +1 Port B DIO

 

Reading from this address will return the digital data on Port B.  Writing to this address will 
output the digital data on Port B.  Readback is supported while in output mode.  Base Address 
+3 controls Port B's input/output direction. 

 

Содержание PCIe-DIO-24HS

Страница 1: ...Diego CA 92121 858 550 9559 Fax 858 550 7322 contactus accesio com www accesio com MODELS PCIe DIO 24HS PCIe DIO 24H PCI Express 24 Channel Digital I OCard with Change of State Detection USER MANUAL...

Страница 2: ...t rights of ACCES 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 2015 by ACCES I O Products Inc 1...

Страница 3: ...ge for labor or 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...

Страница 4: ...nnector Pin Assignments 15 Chapter 7 Specifications 17 Customer Comments 18 LIST OF FIGURES Figure 1 1 Block Diagram 6 Figure 3 1 Option Selection Map 9 Figure 6 1 50 Pin Male Header 15 LIST OF TABLES...

Страница 5: ...bit Ports independently selectable for inputs or outputs Pull up resistors on DIO lines user configurable pull down 5V VCCIO 3 3V user configurable Fused VCCIO voltage available to the user on I O he...

Страница 6: ...sabling and clearing the interrupts Each DIO line is buffered and capable of sourcing 32mA or sinking 64mA The VCCIO level is 5V or can be configured as 3 3V By default the DIO lines are pulled up wit...

Страница 7: ...ick disconnect grounding tab on the mounting bracket Factory Options Extended temperature operation 40 to 85 C RoHS compliant version Optional Accessories CAB50F 6 Six foot ribbon cable assembly with...

Страница 8: ...TART RUN and type click OK or press c Follow the on screen prompts to install the software for this board Linux a Please refer to linux htm on the CD for information on installing under Linux Hardware...

Страница 9: ...anual VCC Select Position the jumper to select either 5VTTL logic or 3 3VDC logic Figure 3 1 Option Selection Map Bias Select Select 10k ohm pull up or pull down resistors per port using the provided...

Страница 10: ...cts to pin 49 of the I O connector and is used to protect the card and PC power supply when used to power external module racks relay boards or for general purposes If an over current persists on a ci...

Страница 11: ...each function on each of the cards and the respective IRQs Alternatively Windows systems can be queried to determine which resources were assigned In these operating systems you can use either PCIFin...

Страница 12: ...e Address E Port C bit 3 IRQ Enable Read Write Base Address F IRQ Clear Write Table 5 1 Register Address Map Base Address 0 read write Port A DIO Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PA7 PA...

Страница 13: ...7 always reading zero Ports can be written to while configured as inputs When a Port is changed from input to output the last written value will be applied If a Port has never been written to the val...

Страница 14: ...lobal Write any value to this address to disable all IRQ sources on the card Base Address E read write IRQ Enable Port C bit 3 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 IRQ Output 1 0 0 0 C3...

Страница 15: ...e Pin Signal Name 1 PC7 2 GND 3 PC6 4 GND 5 PC5 6 GND 7 PC4 8 GND 9 PC3 10 GND 11 PC2 12 GND 13 PC1 14 GND 15 PC0 16 GND 17 PB7 18 GND 19 PB6 20 GND 21 PB5 22 GND 23 PB4 24 GND 25 PB3 26 GND 27 PB2 28...

Страница 16: ...C bit 0 PB7 I O Port B bit 7 PB6 I O Port B bit 6 PB5 I O Port B bit 5 PB4 I O Port B bit 4 PB3 I O Port B bit 3 PB2 I O Port B bit 2 PB1 I O Port B bit 1 PB0 I O Port B bit 0 PA7 I O Port A bit 7 PA6...

Страница 17: ...2uA 0 8V 2uA High Inputs 3 5V 2uA 2 0V 2uA Low Outputs 0 55V 32mA 0 55V 24mA High Outputs 3 8V 32mA 2 4V 24mA Table 7 1 VCCIO Logic Levels Power Output VCCIO P3 pin 49 Environmental Operating Temperat...

Страница 18: ...ems with this manual 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...

Отзывы: