AXIOMTEK AX5214P User Manual

48 bits dio board with pci bus

Advertisement

Quick Links

AX5214P
48 Bits DIO Board with PCI BUS
User's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AX5214P and is the answer not in the manual?

Questions and answers

Summary of Contents for AXIOMTEK AX5214P

  • Page 1 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual...
  • Page 2 AXIOMTEK assumes no responsibility for any inaccuracies that may be contained in this document. AXIOMTEK makes no commitment to update or to keep current the information contained in this manual.
  • Page 3 Trademarks Acknowledgments AXIOMTEK is a trademark of AXIOMTEK Co., Ltd. IBM is a trademark of International Business Machines C o r p o r a t i o n . MS-DOS, MICROSOFT C and QuickBASIC are trademarks of Microsoft Corporation.
  • Page 4 Unpacking The AX5214P is packed in an anti-static bag. The DIO board has components that are easily damaged by static electricity. Do not remove the anti-static wrapping until proper precautions have been taken. Safety instructions in front of this User’s Manual describe anti-static precautions and procedures.
  • Page 5: Table Of Contents

    Board Installation ........1 0 Chapter 3 Register Structure & Format AX5214P I/O Address Map ......11 AX5214P Register Description ......12 3 .
  • Page 6 Appendix C Technical Reference General Usage of Digital Input and Output....31 AX5214P Port A, B and C Basic Definitions ....32 Table of Contents...
  • Page 7: Chapter 1 General Description

    C h a p t e r General Description 1.1 Introduction The AX5214P is a 48-bit digital input and output board that plugs into the computer via PCI (Peripheral Component Interconnect) slot. The board can be used with TTL low-level input/output...
  • Page 8: Accessories Guide

    2 4 -c h a n n e l e l e c t r o m e c h a n i c a l s i n g l e -p o l e , d o u b l e -throw(SPDT) w h i c h c a n be driven by the AX5214P. Includes 3.3 feet (1 meter) c a b l e a n d 5 0 -pin connector.
  • Page 9: Electrical Characteristics

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual 1.2.2 Electrical Characteristics 2V (min.) 0.8V (max.) 20uA (max.) at VI=2.7V - 0.2mA (max.) at VIL=0.4V 2.4V (min.) at IOH=- 3mA 0.4V (max.) at IOL=12mA - 15mA (max.) 24mA (max.) 1.2.3...
  • Page 10 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual This page does not contain any information. General Description...
  • Page 11: Chapter 2 Installation

    IRQ level are assigned by the PCI Plug & Play BIOS. You can access the AX5214P‘s base address, IRQ level and even the slot number where AX5214P is plugged into from the device driver. For more detailed information, refer to the Chapter 4 “Device Driver”.
  • Page 12: Interrupt Enable Jumper (Ienx)

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual 2.2.2 Interrupt Enable Jumper (IENx) When this jumper is set, any change from 0 to 1 on this group's PC3 will generate an interrupt. The status is illustrated as follows:...
  • Page 13: Or Ground Select Jumper

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual 2.2.4 +12V or Ground Select Jumper Pin 2 and pin 4 of each group‘s 50-pin connector can be set to output +12V PC power or connected to GROUND by setting jumper.
  • Page 14: Connector Pin Assignments

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual 2.3 Connector Pin Assignments All AX5214P DIO signals are divided into two groups (Group #1 and Group #2) and are built inside two 50-pin connectors (CN1, CN2). The connector pin assignments are shown below. The AX5214P is compatible with AX751, AX754, AX755 and AX756 or standard OPTO22 interface.
  • Page 15: Resistor Pack (Rp1-Rp3 & Rp10-Rp12)

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual 2.4 Resistor Pack (RP1-RP3 & RP10-RP12) As previously mentioned, the 8-bit port digital I/O lines can be configured as input or output port (refer to AX5214P Register Description). Initially the digital I/O lines are left floating. When any of these ports is set to input port, user is suggested to pull it's input lines high by installing RP(s).
  • Page 16: Hardware Installation

    5. Grab the upper edge of the AX5214P board. Align the AX5214P board's retaining bracket w i t h t h e P C I expansion slot rear panel, and straighten the board's gold finger with the PCI expansion slot, push the board into the slot.
  • Page 17: Chapter 3 Register Structure & Format

    C h a p t e r Register Structure & Format 3.1 AX5214P I/O Address Map The 48 digital I/O lines of AX5214P are arranged into two separated groups. Each group emulates 8255 PPI chip mode 0. The AX5214P is programmable through the board configuration registers.
  • Page 18: Ax5214P Register Description

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual 3.2 AX5214P Register Description 3.2.1 Group #1 (base+0, 1, 2 & 3) Port A Data register ( base +0 Read/Write ) base Port B Data register ( base +1 Read/Write )
  • Page 19: Group #2 (Base+4, 5, 6 & 7)

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual 3.2.2 Group #2 (base+4, 5, 6 & 7) Port A Data register ( base +4 Read/Write ) base Port B Data register ( base +5 Read/Write ) base Port C Data register ( base +6...
  • Page 20 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual This page does not contain any information. Register Structure & Format...
  • Page 21: Chapter 4 Device Driver

    A: \>SETUP A: C: 5214P [ENTER] And then you must add the following line in your config.sys file. DEVICE = C:\5214P\AX5214P.SYS At last, reboot your computer. If there is any AX5214P plugged in your system, the following message will appear : Device Driver...
  • Page 22: How To Use Device Driver Command

    Ver 1.0 AX5214P DEVICE DRIVER INSTALLED ************************************************************************************* Now AX5214P acts like a file. You can OPEN, CLOSE, WRITE (command), READ (base address, IRQ level, slot number) it via this device driver. If there is no AX5214P in your system, the following message...
  • Page 23: Examples

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual driver. This is the slot number you need. NOTE: The question mark '?' must be replace with card number. If base address return 0, it means all information get by that card number are not available.
  • Page 24 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual write(fd,"I1",2); read(fd,&irqno,sizeof(int)); write(fd,"S1",2); read(fd,&busno,sizeof(int)); close(fd); printf("BASE ADDRESS : %X\n",base); printf("IRQ LEVEL : %X\n",irqno); printf("SLOT NUMBER : %X\n",busno); if (base == 0) { printf("ERROR INFORMATION !\n"); exit(0); 2. Turbo PASCAL {************************************************************************************...
  • Page 25 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual writeln(fdw,'b1'); reset(fdr); read(fdr,addr); rewrite(fdw); writeln(fdw,'i1'); reset(fdr); read(fdr,irqno); rewrite(fdw); writeln(fdw,'s1'); reset(fdr); read(fdr,slotno); close(fdw); close(fdr); writeln('BASE ADDRESS : ',addr:10); writeln('IRQ NUMBER : ',irqno:10); writeln('SLOT NUMBER : ',slotno:10); if addr <> 0 then writeln('The information are correct');...
  • Page 26 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual PRINT #1, "I1" GET #2, , I% PRINT #1, "S1" GET #2, , S% CLOSE #1 CLOSE #2 BL = BL% BH = BH% ADDR = BH * 256 + BL PRINT "BASE ADDRESS : ",ADDR...
  • Page 27 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual This page does not contain any information. Device Driver...
  • Page 28: Chapter 5 Programming Digital Input And

    AX5214P 48 Bits DIO Board with PCI BUS User’s Manual C h a p t e r Programming Digital Input and Output AX5214P provides two groups, 48-bit digital I/O. Each group contains three 8-bit ports (A, B, C). Port C is divided into two 4-bit nibbles ;...
  • Page 29 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual else printf("OK\n"); write(fd,"B1",2); read(fd,&base,sizeof(int)); write(fd,"I1",2); read(fd,&irqno,sizeof(int)); write(fd,"S1",2); read(fd,&busno,sizeof(int)); close(fd); printf("%X\n",base); printf("%X\n",irqno); printf("%X\n",busno); outp(base+3,0xff); /*CONFIGURE CN1 AS INPUT*/ outp(base+7,0x00); /*CONFIGURE CN2 AS OUTPUT*/ for (ii=0;ii<256;ii++) { outp(base+4,ii); /*OUTPUT DATA TO CN2 PORT A*/ data = inp(base+0);...
  • Page 30 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual {************************************************************************************ Example program for Turbo PASCAL language The following example program configure group #1 CN1 port A, B and C as input ports, group #2 (CN2) port A, B and C as output ports. Data value of 00 to FF (HEX) are sent to CN2 port A and read back from CN1 port A.
  • Page 31 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual close(fdw); close(fdr); writeln('BASE ADDRESS : ',addr:10); writeln('IRQ NUMBER : ',irqno:10); writeln('SLOT NUMBER : ',slotno:10); PORT[addr+3]:=$FF; {* CONFIGURE CN1 PORT A AS INPUT *} PORT[addr+7]:=$00; {* CONFIGURE CN2 PORT A AS OUTPUT *}...
  • Page 32 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual GET #2, 1, BH% PRINT #1, "I1" GET #2, , I% PRINT #1, "S1" GET #2, , S% CLOSE #1 CLOSE #2 BL = BL% BH = BH% ADDR = BH * 256 + BL OUT ADDR + 3, &HFF...
  • Page 33 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual This page does not contain any information. Programming Digital Input and Output...
  • Page 34 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual A p p e n d i x Block Diagram Interrupt Control Group #1 PA7-PA0 Logic A Port (8) Control Line Group #1 PB7-PB0 B Port (8) Group #1 Control Logic...
  • Page 35 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual This page does not contain any information. Block Diagram...
  • Page 36 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual A p p e n d i x Location Diagram Location Diagram...
  • Page 37 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual This page does not contain any information. Location Diagram...
  • Page 38 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual A p p e n d i x Technical Reference General Usage of Digital Input and Output Digital signals are usually used for detecting logical status or controlling devices, a brief description is given below. TTL level signals are developed by most DAS systems.
  • Page 39 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual DIGITAL OUTPUT FOR RELAY DRIVING * The D1 diode is added to protect the IC driver against the inductive “kickback” from the relay coll. AX5214P Port A, B and C Basic Definitions 1.
  • Page 40 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual 3. Outputs are drived by 74LS244 and latched by 74LS273. 4. Inputs are received by 74LS244 but not latched. 5. Interrupt handling capability at PC3 and PC7. 6. All inputs and outputs are buffered by standard line drivers and line receivers.
  • Page 41 AX5214P 48 Bits DIO Board with PCI BUS User’s Manual This page does not contain any information. Technical Reference...

Table of Contents