background image

Manual PCIe-DIO-120/96/72 

12 

Chapter 5: Programming

 

  

The 120/96/72 cards are I/O mapped devices that are easily configured from any 
language. 

 

Developing Your Own Software

 

 

Four register locations are required per 24-bit group. Thus, a total of 20 register 
locations are used by the 120 for addressing groups 0 through 4. The 96 uses a total of 
16 registers for groups 0 through 3, and the 72 uses 12 registers for groups 0 through 2. 

 

  Address

 

 Assignment

 

 Operation

 

Base Address 

PA Group 0 

Read/Write 

Base A1 

PB Group 0 

Read/Write 

Base A2 

PC Group 0 

Read/Write 

Base A3 

Control Port 0 

Write Only 

Base A4 

PA Group 1 

Read/Write 

Base A5 

PB Group 1 

Read/Write 

Base A6 

PC Group 1 

Read/Write 

Base A7 

Control Port 1 

Write Only 

Base A8 

PA Group 2 

Read/Write 

Base A9 

PB Group 2 

Read/Write 

Base AA 

PC Group 2 

Read/Write 

Base AB 

Control Port 2 

Write Only 

Base AC 

PA Group 3 

Read/Write 

Base AD 

PB Group 3 

Read/Write 

Base AE 

PC Group 3 

Read/Write 

Base AF 

Control Port 3 

Write Only 

Base A10  PA Group 4 

Read/Write 

Base A11  PB Group 4 

Read/Write 

Base A12  PC Group 4 

Read/Write 

Base A13  Control Port 4 

Write Only 

Base A1C  DIO Buffer Enable 

Read/Write 

Base A1E  Clear/Disable Interrupts  Write Only 

Base A1F  Clear/Enable Interrupts 

Write Only 

 

Table 6-1:

 Address Registry Table 

 

 

 

Summary of Contents for PCIe-DIO-120

Page 1: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Page 2: ...623 Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODELS PCIe DIO 120 PCIe DIO 96 and PCIe DIO 72 Digital I O Card USER MANUAL FILE PCIe DIO 120 B1 ...

Page 3: ...s 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 by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A CARD CONNECTING A...

Page 4: ...r 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 at reasonable rates similar to those of other manufacturers in the industry Equipment Not Manufactured by ACCES Equipment provided but not manufactured by ACCES is warranted and will be repaired according to th...

Page 5: ...re Card Options via Jumper Selection 8 CD Software Installation 8 Windows 8 Linux 8 Hardware Installation 9 Chapter 3 Hardware Details 10 Figure 3 1 Option Selection Map 10 Chapter 4 Address Selection 11 Chapter 5 Programming 12 Developing Your Own Software 12 Table 6 1 Address Registry Table 12 Table 6 2 Control Register Bit Assignments 13 Base Address 1C read write DIO Buffer Enable Disable tri ...

Page 6: ...mpatible with industry standard I O racks like Grayhill Opto 22 Western Reserve Controls etc Applications Automatic Test Systems Security Systems Energy Management Robotics Relay Monitoring and Control Parallel Data Transfer to PC Sensing switch closures or TTL DTL CMOS Logic Driving Indicator Lights or Recorders Functional Description This manual applies to Models 120 96 and 72 The same circuit b...

Page 7: ...line of each group can be used to generate an interrupt with a rising edge at bit C3 Interrupts are enabled by software Wiring I O wiring connections are via 50 pin headers on the board This provides compatibility with OPTO 22 Gordos Potter Brumfield Western Reserve Controls etc module mounting racks Every second conductor of the flat cables is grounded to minimize crosstalk between signals If nee...

Page 8: ...ed with your shipment Please take time now to ensure that no items are damaged or missing DIO Board Packing Slip Optional Accessories CAB50F 6 6 ribbon cable with strain relieved 50 pin female connectors STB 120CH Large screw terminal board for PCIe DIO 120 installed in T Box STB 96CH Large screw terminal board for PCIe DIO 96 installed in T Box STB 72CH Large screw terminal board for PCIe DIO 72 ...

Page 9: ...based setup program can be used in conjunction with Chapter 3 to assist in configuring jumpers on the card as well as provide additional descriptions 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 necessary Windows 1 Place the CD into your CD ROM drive 2 T...

Page 10: ...econd strain relief bar and tighten the hex nuts down firmly but don t overtighten them 7 Fish the ribbon cables through the open back plate next to the PCI Express slot you ll be plugging the card into then carefully plug the card into the PCI Express expansion slot 8 Inspect for proper fit of the card and tighten the bracket screw Make sure that the card mounting bracket is properly screwed into...

Page 11: ...tched As pointed out in Chapter 1 of this manual outputs of the I O buffers may be either pulled up to VCCIO or pulled down to ground You can configure these resistors per port VCCIO signaling levels are globally configured via jumper selection Refer to the specifications chapter for signal levels for each possible selection The foregoing are the only manual setups necessary to use these cards Inp...

Page 12: ...ity will display a list of all of the cards detected on the PCI Express bus the addresses assigned to each function on each of the cards and the respective IRQs Alternatively some operating systems can be queried to determine which resources were assigned In these operating systems you can use either AIOWDMFind Windows 7 or later PCIFind or the Device Manager utility from the System Properties App...

Page 13: ...e Only Base Address 4 PA Group 1 Read Write Base Address 5 PB Group 1 Read Write Base Address 6 PC Group 1 Read Write Base Address 7 Control Port 1 Write Only Base Address 8 PA Group 2 Read Write Base Address 9 PB Group 2 Read Write Base Address A PC Group 2 Read Write Base Address B Control Port 2 Write Only Base Address C PA Group 3 Read Write Base Address D PB Group 3 Read Write Base Address E ...

Page 14: ...gister states Control registers are located at base addresses 3 7 B F and 13 Bit assignments in each of these control registers are as follows Bit Assignment Function D0 Port C Lo C0 C3 1 Input 0 Output D1 Port B 1 Input 0 Output D2 N A N A D3 Port C Hi C4 C7 1 Input 0 Output D4 Port A 1 Input 0 Output D5 D6 N A N A D7 Mode Set see note 1 Scratchpad Table 6 2 Control Register Bit Assignments Note ...

Page 15: ...2 Port C Hi PC6 3 4 Port C Hi PC5 5 6 Port C Hi PC4 7 8 Port C Lo PC3 9 10 Port C Lo PC2 11 12 Port C Lo PC1 13 14 Port C Lo PC0 15 16 Port B PB7 17 18 Port B PB6 19 20 Port B PB5 21 22 Port B PB4 23 24 Port B PB3 25 26 Port B PB2 27 28 Port B PB1 29 30 Port B PB0 31 32 Port A PA7 33 34 Port A PA6 35 36 Port A PA5 37 38 Port A PA4 39 40 Port A PA3 41 42 Port A PA2 43 44 Port A PA1 45 46 Port A PA0...

Page 16: ...uts 3 8V 32mA Logic Levels 3 3V Low Inputs 0 8V 2uA High Inputs 2 0V 2uA Low Outputs 0 55V 24mA High Outputs 2 4V 24mA Logic Levels 2 5V Low Inputs 0 7V 2uA High Inputs 1 7V 2uA Low Outputs 0 5V 8mA High Outputs 1 9V 8mA Logic Levels 1 8V Low Inputs 0 63V 2uA High Inputs 1 17V 2uA Low Outputs 0 45V 4mA High Outputs 1 2V 4mA Environmental Operating Temperature 0 to 70 C optional 40 to 85 C Storage ...

Page 17: ...is 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 updates 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com ...

Page 18: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Reviews: