AXIOMTEK AX5420P User manual

AX5420P & AX5425P
PCI Card
16 (8) CH Opto-isolated D/I
& 16 (8) CH Relay Actuator
User’s Manual

ii
Disclaimers
The information in this manual has been carefully checked and is believed
to be accurate. AXIOMTEK Co., Ltd. assumes no responsibility for any
infringements of patents or other rights of third parties, which may result
from its use.
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.
AXIOMTEK reserves the right to make improvements to this document
and/or product at any time and without notice.
No part of this document may be reproduced, stored in a retrieval system,
or transmitted, in any form or by any means, electronic, mechanical,
photocopying, recording, or otherwise, without the prior written permission
of AXIOMTEK Co., Ltd.
Copyright 2000 by AXIOMTEK Co., Ltd.
All rights reserved.
December 2000, Version A2
Printed in Taiwan

iii
ESD Precautions
Integrated circuits on computer boards are sensitive to static
electricity. To avoid damaging chips from electrostatic
discharge, observe the following precautions:
! Do not remove boards or integrated circuits from their anti-static
packaging until you are ready to install them.
! Before handling a board or integrated circuit, touch an unpainted
portion of the system unit chassis for a few seconds. This helps
to discharge any static electricity on your body.
! Wear a wrist-grounding strap, available from most electronic
component stores, when handling boards and components.
Trademarks Acknowledgments
AXIOMTEK is a trademark of AXIOMTEK Co., Ltd.
IBM is a registered trademark of International Business
Machines Corporation.
MS-DOS, Microsoft C and QuickBasic are trademarks of
Microsoft Corporation.
TURBO C is a trademark of Inprise Inc.
BASIC is a trademark of Dartmouth College.
Intel is a trademark of Intel Corporation.
Other brand names and trademarks are the properties
and registered brands of their respective owners.

iv
Unpacking
The AX5420P/AX5425P is packed in an anti-static bag. The
PCI Bus 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.
After unpacking the PCI Bus board, place it on a raised surface
and carefully inspect the board for any damage that might have
occurred during shipment. Ground the board and exercise
extreme care to prevent damage to the board from static
electricity.
Integrated circuits will sometimes come out of their sockets
during shipment. Examine all integrated circuits, to ensure that
they are firmly seated. The AX5425P(0) PCI Bus interface DI/O
Board package includes the following:
!
AX5420P/AX5425P Board
! AX5003 Extension Board, for AX5425P only
! Flat cable 40p 45cm x 1, for AX5425P only
! AS59099 DAC Driver CD
!
AX5425P(0) user's manual
! Warranty card
Make sure that all of the items listed above are present.
What To Do If There Is A Problem
If there are damaged or missing parts, contact your supplier
and/or dealer immediately. Do not attempt to apply power to the
board if there is damage to any of its components.

Table of Contents v
T a b l e o f C o n t e n t s
Chapter 1 Introduction
1.1 General Description .................................................1
1.2 Specifications...........................................................2
1.2.1 Relay Output............................................................2
1.2.2 Isolated Input...........................................................3
1.2.3 Power Consumption................................................3
1.2.4 Physical/Environmental...........................................3
1.2.5 Interface Characteristic .........................................3
Chapter 2 Board Configuration and
Installation
2.1 Locator Diagram.......................................................5
2.2 Jumper Settings .......................................................6
2.2.1 JP2: IRQ Level Selection..........................................6
2.2.2 JP1: Select type of trigger.......................................6
2.3 Connector Pin Assignments.....................................6
2.4 Hardware Installation .............................................10
2.4.1 Board Installation ..................................................10
2.4.2 AX5425P Extension Board Cable Connection......11
Chapter 3 Register Format and Description
3.1 I/O Address Mapping..............................................13
3.2 Register Description .............................................. 14
3.2.1 Base address + 0Xc0 (write)..................................14
3.2.2 Base address + 0xc4 (write) ..................................14
3.2.3 Base address + 0xc0 (read) ..................................14
3.2.4 Base address + 0xc4 (read) ..................................14
3.2.5 Base address + 2 (write)........................................14
3.2.6 Base address + 5....................................................14
3.2.7 Base address + 7....................................................15
3.2.8 Base address + 0x2a..............................................15
3.3 Digital Input Circuit................................................15
3.4 Digital Output Circuit ............................................. 16
3.5 Relay Outputs......................................................... 17
3.6 Interrupt Diagram ................................................... 19
Chapter 4 Device Driver
Chapter 5 Using the Device Driver
Command

Table of Contents
vi
Chapter 6 Examples
6.1 Turbo C...................................................................25
6.2 Turbo PASCAL........................................................26
6.3 Qbasic 4.5............................................................... 27
6.4 Application ............................................................. 28
Appendix A Block Diagram

AX5420P & AX5425P User’s Manual
Introduction 1
C h a p t e r 1
Introduction
1.1 General Description
The AX5425P/AX5420P are PCI-isolated/Relay DIO cards
providing 16 (AX5425P) / 8 (AX5420P) opto-isolated digital
inputs and 16 (AX5425P) / 8 (AX5420P) Relay actuators
outputs. AX5425P is a 16 opto-isolated and 16 Relays card.
AX5420P is an 8 opto-isolated and 8 Relays card.
The board interface allows its plugging into any PCI slot of an
IBM™ PC/AT or compatible computer with PCI bus .The relays
switch many load that cannot be controlled by digital lines
directly. The opto-isolated digital inputs are suitable for
monitoring device ON/OFF status and alarms or sensors with
discrete outputs in noisy environments. Besides monitoring DC
inputs (non-polarized), the board can also be used to sense AC
inputs.
From the 16 electromechanical relays, 10 relays are FORM C
(Normally open, Normally closed and Common) and 6 are
FORM A (Normally open and Common). The contacts for Relay
1 through Relay 8 are rated at 3A at 120VAC or 24VDC with
resistive load while the contacts for Relay 9 through Relay 16
are rated at 3A at 120VAC or 24VDC with resistive load.
The opto-isolated inputs are not polarity sensitive, and can be
driven from DC or AC control voltages. The isolation voltage is
guaranteed at 1000v so that common-mode voltages and
voltage spikes that often occur in industrial and research
environments are safely isolated from the computer with the
AX5425P and AX5420P.

AX5420P & AX5425P User’s Manual
Introduction
2
You may configure the relay outputs and isolated digital input.
When the corresponding bit is in the low (0) state, the NC
(Normally Closed) contact is connected inside the relay to the
CM (Common) contact. When the corresponding bit is in high (1)
state, the NO (Normally Open) contact is connected to the CM
contact. All relay contacts and isolated input lines are built in
two I/O connectors, which are accessible from the expansion
slot, rear panel of the PC.
1.2 Specifications
1.2.1 Relay Output
# Number of Relays: 16 (8)
# Relay Type: Relays 1-5 and 9-13 are from C(SPDT),
Relay 6-8 and 14-16 are from A (SPST-NO)
# Contact Ratings:
! Nominal Load
#
Relay 1-16: 3A @ 120VAC or 24VDC
#
MAX. Switching power: 960VA, 120W
!
MAX. Switching Voltage: 250VAC, 150VDC
#
MAX. Switching Current
#
Relay 1-16: 3A
!
Max. Carrying Current
#
Relay 1-16: 3A
# Contact Material: Gold overlay silver-nickel
# Contact Resistance: 70mΩMax.
# Insulation Resistance: 250MΩMin. At 500VDC
# Dielectric Strength: 750VAC 1 Minute (between open
contacts)
2000VAC 1 Minute (between coil
and contacts)
# Surge Strength: High voltage: 6000v (at 1.2*50us
standard surge wave)
# Operating Time: 7ms Max.
# Release Time: 4ms Max.

AX5420P & AX5425P User’s Manual
Introduction 3
# Vibration Resistance:
!
Unerring: 10 to 55 HZ
!
Destructive: 10 to 55 HZ
# Life Expectancy
!
Mechanical: 2x107operations
!
Electrical: 1x105operations
1.2.2 Isolated Input
# Number of Channels: 16 (8)
# Opto-isolator: PC357
# Isolation: 3750vrms Channel to Channel & Channel-to-
Ground.
# Input Range: 5 to 24VDC or 50 -1000HZ
# Input Impedance: 1.2KΩ/1W
# Response Time: 1ms max
1.2.3 Power Consumption
# +5V: 200mA
# +12V: 550mA(for AX5425P), 300mA(for AX5420P)
1.2.4 Physical/Environmental
# I/O Connector: 37-pin D-type male connector
40-pin male mating connector
# Dimensions: 175mm*97mm
# Weight: 270g
# Operating temp Range: -25oC to 70oC
# Relative Humidity: 0 to 90%, non-condensing
1.2.5 Interface Characteristic
# I/O Connector: 37-pin male D-type connector
40-pin male mating connector
# Compatible Bus: IBM XT/AT and compatible I/O bus

AX5420P & AX5425P User’s Manual
4
This page does not contain any information.

AX5420P & AX5425P User’s Manual
Board Configuration and Installation 5
C h a p t e r 2
Board Configuration and Installation
WARNING: When power ON, hazardous voltages may be
present in The AX5425P(0), do not touch the
board and wiring to prevent shock hazard
2.1 Locator Diagram
The following figure shows location of the AX5425P/AX5420P
jumpers and connectors.
relay1
relay2 relay4 relay6 relay8 relay10 relay12 relay14 relay16
relay3 relay5 relay7 relay9 relay11 relay13 relay15
JP2
con2
con1
DB37
JP1
123
123

AX5420P & AX5425P User’s Manual
Board Configuration and Installation
6
2.2 Jumper Settings
2.2.1 JP2: IRQ Level Selection
JP2
DI_1 DI_9
USE DI_9 AS INTERRUPT SOURCE
USE DI_1 AS INTERRUPT SOURCE
2.2.2 JP1: Select type of trigger
JP1
Select rising edge trigger
Select falling edge trigger
2.3 Connector Pin Assignments
The AX5425P/AX5420P board has two I/O connectors labeled
CON1 and CON2 accessible from the expansion slot rear panel
of the PC. Contacts for Relay through 1 Relay 8 and isolated
D/I lines; DI_1 through DI_8 are built in CON1 connector. While
Contacts for Relay 9 through Relay 16 and DI_9 through DI_16
lines are built in CON2 connector. The pin assignments for
CON1 and CON2 are given as follows:

AX5420P & AX5425P User’s Manual
Board Configuration and Installation 7
CON1
6
1
2
3
5
4
7
8
9
19
18
17
16
15
10
14
12
11
13
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20 CM1
NO2
NC2
CM3
NO4
NC4
CM5
NO6
EIGND1
EIGND2
EIGND3
EIGND4
EIGND5
EIGND6
EIGND7
EIGND8
NO7
NO8
NC1
CM2
NO3
NC3
CM4
NO5
NC5
CM6
DI_1
DI_2
DI_3
DI_4
DI_5
DI_6
DI_7
DI_8
CM8
CM7
NO1
Pin Name Description
N/C No connect
NO1-NO8 Normally open contacts for Relay through Relay 8
CM1-CM8 Common contacts for Relay 1 through Relay 16
NC1 -NC8 Normally closed contacts for Relay 1 through relay 16
DI_1 --DI_8 Isolated digital inputs 1 through 8
EGND1-EGND8 Grounds for isolated digital inputs 1 through 8

AX5420P & AX5425P User’s Manual
Board Configuration and Installation
8
A cable connector to convert the CON2 (40-pin connector) to
37-pin male D-type connector is given along with the
AX5425P/AX5420P boards. Description for the cable connector
is provided in the following figure.
CON2
DI_16
DI_15
DI_14
DI_13
DI_12
DI_11
DI_10
DI_9
CM14
NC13
NO13
CM12
NC11
NO11
CM10
NC9
27
37
35
33
29
31
25
23
21
1
3
5
7
9
19
11
15
17
13
39
CM15
CM16
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
EIGND16
EIGND15
EIGND14
EIGND13
EIGND12
EIGND11
EIGND10
EIGND9
CM13
NC12
NO12
CM11
NC10
NO10
CM9
2
40
NO14
NO15
NO16
NO9
Pin Name Description
N/C No connect
NO9-NO16 Normally open contacts for Relay 9 through Relay 16
CM9-CM16 Common contacts for Relay 9 through Relay 16
NC9 –NC16 Normally closed contacts for Relay 9 through relay 16
DI_9 –DI_16 Isolated digital inputs 9 through 16
EGND9-EGND16 Grounds for isolated digital inputs 9 through 16

AX5420P & AX5425P User’s Manual
Board Configuration and Installation 9
40
38
36
34
32
30
10
18
20
22
24
26
28
16
14
12
2
4
6
8
39
37
35
33
31
29
9
17
19
21
23
25
27
15
13
11
1
3
5
7
CM15
N/C
NO9
NC9
CM10
NO11
NC11
DI12
CM16
CM14
NC13
NO13
CM12
DI9
DI10
DI11
DI16
DI15
DI14
DI13
N/C
N/C
CM9
NO10
NC10
CM11
egnd12
NO16
NO15
NO14
CM13
NC12
NO12
egnd9
egnd10
egnd11
egnd16
egnd15
egnd14
egnd13
CON2
11
19
39
CM9
NO10
NC10
CM11
NO12
NC12
egnd14
egnd10
egnd9
NO16
NO15
NO14
CM13
egnd11
egnd12
egnd13
egnd16
egnd15
37
36
35
34
33
32
22
26
27
28
29
30
31
25
24
23
20
21
40
38
36
34
32
30
10
18
20
22
24
26
28
16
14
12
2
4
6
8
40-PIN
CONNECTOR 37-PIN MALE
D-TYPE CONNECTOR

AX5420P & AX5425P User’s Manual
Board Configuration and Installation
10
2.4 Hardware Installation
The AX5425P/AX5420P boards are shipped with protective
electrostatic cover. When unpacking, touch the board's
electrostatically shielded packing with the metal frame of your
computer to discharge the accumulated static electricity prior to
touching the board.
The following section summarizes the procedures for install in
AX5425P/AX5420P:
WARNING: Turn OFF the PC and all accessories connected
to the PC whenever installing or removing any
peripheral board including the AX5425P(0)
series board.
2.4.1 Board Installation
The following lists the instructions to following when installing
the AX5425P/AX5420P card.
1. Turn OFF the PC and all accessories power.
2. Unplug all power cords and entire cables from the
rear of the PC.
3. Remove the PC's cover (see your PC Operation
Guide if you are not skillful about it).
4. Find an unused expansion slot. Remove the blank
expansion slot cover and save the screw for affixing
retaining bracket.
5. Grab the upper edge of the AX5425P/AX5420P
board. Align the AX5425P/AX5420P board's retaining
bracket with the expansion slot rear panel, and
straighten the board's gold finger with the
expansion slot. Gently push the board into slot.
6. Restore the screw to the expansion slot-retaining
bracket.
7. Replace the PC's cover and connect the cables
you detached in step2.
8. Turn ON the power of the PC and other peripheral
device.

AX5420P & AX5425P User’s Manual
Board Configuration and Installation 11
2.4.2 AX5425P Extension Board Cable Connection
Refer to the following illustration for the proper cable
connection from AX5425P card to the AX5003 extension board.
AX5003
CON1
CON2
AX5425(0)
P1
J1

AX5420P & AX5425P User’s Manual
12
This page does not contain any information.

AX5420P & AX5425P User’s Manual
Register Format and Description 13
C h a p t e r 3
Register Format and Description
3.1 I/O Address Mapping
The AX5425P/AX5420P use some non-consecutive addresses
in I/O space. All registers are 8 bits wide. The base address or
starting address is determined during the installation by CPU
auto setting. This chapter describes each register's format and
functions. Each register can be accessed easily by using direct
I/O instructions of whatever application languages available
(Assembly, Basic, Pascal, C, etc.). Don't operate any other
I/O( NOT LISTED) , or else it happens errors.
Location Function Type
Base Address +oxC0 Isolated output register for Channels 0 through 7 Write
Base Address +oxC4 Isolated output register for Channels 8 through
15 Write
Base Address +oxC0 Isolated input register for Channels 0 through 7 Read
Base Address +oxC4 Isolated input register for Channels 8 through
15 Read
Base Address+oxDC Clear interrupt and Data don't care Write
Base Address +2 AUX1 pin control register
Set 1 as an output
Set 0 as an input
Write
Base Address +5 interrupt mask register Write
Base Address +7 interrupt status register Read status of AUX Read
Base Address +0X2a AUX pin data polarity Control register. Set 1 to
Invert the polarity of data Write

AX5420P & AX5425P User’s Manual
Register Format and Description
14
3.2 Register Description
3.2.1 Base address + 0Xc0 (write)
DO_8 DO_7 DO_6 DO_5 DO_4 DO_3 DO_2 DO_1
3.2.2 Base address + 0xc4 (write)
DO_16 DO_15 DO_14 DO_13 DO_12 DO_11 DO_10 DO_9
3.2.3 Base address + 0xc0 (read)
DI_8 DI_7 DI_6 DI_5 DI_4 DI_3 DI_2 DI_1
3.2.4 Base address + 0xc4 (read)
DI_16 DI_15 DI_14 DI_13 DI_12 DI_11 DI_10 DI_9
3.2.5 Base address + 2 (write)
AUX7 AUX6 AUX5 AUX4 AUX3 AUX2 AUX1 AUX0
NOTE: SET correspond to input line as input or output
Set 1 as an output
Set 0 as an input , you must set "0" to aux0,
aux1,aux2.
3.2.6 Base address + 5
AUX7 AUX6 AUX5 AUX4 AUX3 AUX2 AUX1 AUX0
NOTE: Masking corresponds to bit when input line creates
interrupt signal
Set 0 is masking
Set 1 is unmasking.
Interrupt line is the first input line(DI_1)and the eighth
line(DI_9). Rising or falling edge is available, but selectable
one of them. And AUX0 must be defined as input line. interrupt
line (see next figure).
This manual suits for next models
1
Table of contents
Other AXIOMTEK PCI Card manuals

AXIOMTEK
AXIOMTEK SCB184 User manual

AXIOMTEK
AXIOMTEK AC5426P User manual

AXIOMTEK
AXIOMTEK DASP-52016 User manual

AXIOMTEK
AXIOMTEK AX92321-4U User manual

AXIOMTEK
AXIOMTEK CEM521 User manual

AXIOMTEK
AXIOMTEK SCM187 User manual

AXIOMTEK
AXIOMTEK DASP-52032 User manual

AXIOMTEK
AXIOMTEK AX93501 User manual

AXIOMTEK
AXIOMTEK AX92325 User manual
Popular PCI Card manuals by other brands

Advantech
Advantech PCI-1751 user manual

StarTech.com
StarTech.com PEXUSB314A2V quick start guide

Accton Technology
Accton Technology WN3101A-1 Quick installation guide

Atheros
Atheros AR5B225 user guide

One Stop Systems
One Stop Systems Max Express OSS-PCIe-HIB2-EC-x4 user manual

SIIG
SIIG SATA II-150 PCI Quick installation guide