AXIOM Technology AX5234P User manual


!
" !
#
!! !
!
"#$#

!
!
!
AXIOM is a trademark of AXIOM Technology 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.

!"#$%&''(
)
*+,
!'(
-.
.
/.
!"#$%&'012
!AX5234P Board
!Flat cable 50p 1M x 4
!AS59099 DAC Driver CD
!AX5234P user's manual
!Warranty card
!"#$%&!34012/.(
!AX5234A Board
!Flat cable 50p 1M x 4
!Flat cable 30p 6CM x 1
!Warranty card
,
5

Table of Contents
Chapter 1
Chapter 1Chapter 1
Chapter 1 Introduction
IntroductionIntroduction
Introduction
1.1
1.11.1
1.1 General Description
General DescriptionGeneral Description
General Description................................
................................................................
......................................
............
......1
11
1
1.2
1.21.2
1.2 Applications
ApplicationsApplications
Applications................................
................................................................
..................................................
....................................
..................1
11
1
1.3
1.31.3
1.3 Specifications
SpecificationsSpecifications
Specifications ................................
................................................................
...............................................
..............................
...............2
22
2
1.3.1 Input and Output.........................................................2
1.3.2 Electrical Characteristics..................................................2
1.3.3 Interface Characteristics ..................................................2
1.3.4 Power Requirements ......................................................2
1.3.5 Physical/Environmental ...................................................2
1.4
1.41.4
1.4 Accessories Guide
Accessories GuideAccessories Guide
Accessories Guide ................................
................................................................
.........................................
..................
.........3
33
3
Chapter 2
Chapter 2Chapter 2
Chapter 2 Board Configuration and
Board Configuration andBoard Configuration and
Board Configuration and
Installation
InstallationInstallation
Installation
2.1
2.12.1
2.1 Locator Diagram
Locator DiagramLocator Diagram
Locator Diagram................................
................................................................
............................................
........................
............5
55
5
2.2
2.22.2
2.2 Jumper Settings
Jumper SettingsJumper Settings
Jumper Settings ................................
................................................................
............................................
........................
............7
77
7
2.2.1 JP1.........................................................................7
2.2.2 J1 ~ J4...................................................................7
2.3
2.32.3
2.3 Connector Pin Assignments
Connector Pin AssignmentsConnector Pin Assignments
Connector Pin Assignments ...........................
......................................................
...........................8
88
8
2.3.1 CON1 Pin Assignments.................................................8
2.3.2 CON2 ~ CON4 Pin Assignments ...................................9
2.4
2.42.4
2.4 Hardware Installation
Hardware InstallationHardware Installation
Hardware Installation................................
................................................................
................................10
1010
10
2.4.1 Board Installation ....................................................... 10
2.4.2 AX5234P Extension Board Cable Connection .................... 11
Chapter 3
Chapter 3Chapter 3
Chapter 3 Register Format and
Register Format andRegister Format and
Register Format and
Description
DescriptionDescription
Description
3.1
3.13.1
3.1 I/O Address Mapping
I/O Address MappingI/O Address Mapping
I/O Address Mapping................................
................................................................
.....................................
..........
.....13
1313
13
3.2
3.23.2
3.2 Register Description
Register DescriptionRegister Description
Register Description ................................
................................................................
...................................
......
...15
1515
15
Base address + 0 (write) .................................................................15
Base address + 2 (write) .................................................................15
Base address + 3 (write) .................................................................15
Base address + 7 (read)..................................................................15
3.2.1 Group_0 registers ...................................................... 15
Base address + 0xc0 1 Port A........................................................15
Base address + 0xc4 1 Port B........................................................16
Base address + 0xc8 1 Port C........................................................16
Base address + 0xcc Control Register............................................16
Base address + 0xd0 2 Port A .......................................................16
Base address + 0xd4 2 Port B .......................................................16
Base address + 0xd8 2 Port C .......................................................16
Base address + 0xdc Control Register............................................16
Base address + 0xe0 3 Port A .......................................................17
Base address + 0xe4 3 Port B .......................................................17

Table of Contents
Base address + 0xe8 3 Port C .......................................................17
Base address + 0xec.......................................................................17
Base address + 0xf0 4 Port A ........................................................17
Base address + 0xf4 4 Port B ........................................................17
Base address + 0xf8 4 Port C........................................................17
Base address + 0xfc Control Register ............................................18
3.2.2 Group_2 registers (AX5234A)....................................... 18
Base address + 0xc0 5 Port A........................................................18
Base address + 0xc4 5 Port B........................................................18
Base address + 0xc8 5 Port C........................................................18
Base address + 0xcc Control Register............................................18
Base address + 0xd0 6 Port A .......................................................19
Base address + 0xd4 2 Port B .......................................................19
Base address + 0xd8 2 Port C .......................................................19
Base address + 0xdc Control Register............................................19
Base address + 0xe0 7 Port A .......................................................19
Base address + 0xe4 7 Port B .......................................................19
Base address + 0xe8 7 Port C .......................................................19
Base address + 0xec.......................................................................20
Base address + 0xf0 8 Port A ........................................................20
Base address + 0xf4 8 Port B ........................................................20
Base address + 0xf8 8 Port C........................................................20
Base address + 0xfc Control Register ............................................20
Chapter 4
Chapter 4Chapter 4
Chapter 4 Device Driver
Device DriverDevice Driver
Device Driver
4.1
4.14.1
4.1 How to Install the Device Driv
How to Install the Device DrivHow to Install the Device Driv
How to Install the Device Driver
erer
er ................
................................
................21
2121
21
4.1.1 Example .................................................................. 21
Chapter 5
Chapter 5Chapter 5
Chapter 5 Examples
ExamplesExamples
Examples
5.1
5.15.1
5.1 Turbo C
Turbo CTurbo C
Turbo C ................................
................................................................
.......................................................
..............................................
.......................25
2525
25
5.2
5.25.2
5.2 Turbo PASCAL
Turbo PASCALTurbo PASCAL
Turbo PASCAL................................
................................................................
..............................................
............................
..............26
2626
26
5.3
5.35.3
5.3 Qbasic 4.5
Qbasic 4.5Qbasic 4.5
Qbasic 4.5 ................................
................................................................
...................................................
......................................
...................27
2727
27
5.4
5.45.4
5.4 Applica
ApplicaApplica
Application
tiontion
tion ................................
................................................................
.................................................
..................................
.................28
2828
28
5.4.1 Demo 1 ................................................................... 28
5.4.2 Demo 2 ................................................................... 29
Appendix A
Appendix AAppendix A
Appendix A Block Diagram
Block DiagramBlock Diagram
Block Diagram

AX5234P 96/192 Bit DIO Board Users Manual
Introduction 6
! "
!"#$%&'01
'(3'(4
.60$52
.!"#$%&!
75
!"6&61!"6&$&
$#889!((
0152&
/:
;!"#$%&'
.!"#$%&!2
60$
! #
!Sense and control high level signals through I/O module
!Sense low-level (TTL) switches or signals
!Drive indicator light or control recorders
!Parallel data transfer to PC

AX5234P 96/192 Bit DIO Board Users Manual
Introduction
$
!$ %
Input/Output Lines 96
Input/Output Mode Pair
Improved Noise Margins Hysteresis VT+-VT-=0.4 (TYP.)
Input/Output Level TTL/DAT Compatible
VIH 2V (min.)
VIL 0.8V (min.)
IIH 20µA (max.) at VI=2.7V
IIL -0.2mA (max.) at VIL=0.4V
VOH 2.4V (max.) at IOL=-3mA
VOL 0.4V (max.) at IOL=12mA
IOH -15mA (max.)
IOL 24mA (max.)
I/O Connector 50 pin mating header
I/O Cable Type
Ribbon Twisted Pair Cable Zo=50 to 100Ω(TYP.)
Ribbon Twisted Pair Cable Zo=30 to 80Ω(TYP.)
Compatible Bus PCI bus
Data Path 8 bits
Configured Address and Interrupt Plug & Play
!"#
+5VDC 2.0A (max.)
$ %&'
Dimensions 175 x 106 (mm)
Operating Temperature Range 0°C to 60°C
Storage Temperature Range -25°C to 85°C
Relative Humidity Up to 90%; non-condensing

AX5234P 96/192 Bit DIO Board Users Manual
Introduction %
!& #"
!AX951A
AX951AAX951A
AX951A
!AX754
AX754AX754
AX754
!"!
#$ %!
!AX756
AX756AX756
AX756
!&'
%"()*#$ %
!AX755
AX755AX755
AX755
+!&'
%"(,!
#$ %!
!AX755/24
AX755/24AX755/24
AX755/24
-*#' !
'#$ %
!
!AX5234A
AX5234AAX5234A
AX5234A
(!!#$ %.!#$ %
./!*
#$ #

AX5234P 96/192 Bit DIO Board Users Manual
&

AX5234P 96/192 Bit DIO Board Users Manual
Board Configuration and Installation #
WARNING: When power is ON, hazardous voltages may be
present in the AX5234P, do not touch the board
and its wiring to prevent shock hazard
! '
<
!"#$%&'!"#$%&!

AX5234P 96/192 Bit DIO Board Users Manual
Board Configuration and Installation
1

AX5234P 96/192 Bit DIO Board Users Manual
Board Configuration and Installation =
! (
(
>'6
()(
>63(2?64>$3(2?$4>%3(2?%4>&3(2?&4
((2?.$&-?
((2?.$&@6$9
>@6$9'(
!"#$%&'@6$9
!"#$%&'
2$$$&
!"#$%&'0#8
NOTE: As the AX5234P is connected to other boards/panels
through the six 50-pin connectors, users must check
with the pins of the boards/panels and make sure that
these jumpers are set to the proper side.

AX5234P 96/192 Bit DIO Board Users Manual
Board Configuration and Installation
:
!$ )#
!"#$%&''(52(2?6
(2?&.
'((2?6(2?&
*+
!"
Pin Name Description (CON1)
1PA0-1PA7 Port A 0~7
1PB0-1PB7 Port B 0~7
1PC0-1PC7 Port C 0~7
GND Ground

AX5234P 96/192 Bit DIO Board Users Manual
Board Configuration and Installation 0
*)* +
!
!
!
!
!
!
!
!
"
"
"
"
"
"
"
"
Pin Name Description (CON2-CON4)
xPA0-xPA7 CONx Port A 0~7
xPB0-xPB7 CONx Port B 0~7
xPC0-xPC7 CONx Port C 0~7
GND Ground

AX5234P 96/192 Bit DIO Board Users Manual
Board Configuration and Installation
68
!& *+
!"#$%&'
+
A
!"#$%&'
WARNING: Turn OFF the PC and all accessories connected
to the PC whenever installing or removing any
peripheral board including the AX5425(0) series
board.
,
!"#$%&'
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 AX5234P board. Align the
AX5234P 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.

AX5234P 96/192 Bit DIO Board Users Manual
Board Configuration and Installation 66
-$ .,
B
!"#$%&'!"#$%&!.

AX5234P 96/192 Bit DIO Board Users Manual
6$

AX5234P 96/192 Bit DIO Board Users Manual
Register Format and Description 6%
!"
$! #
!"#$%&'52
!:3
4('*
+
/
52
3!'(4+
*?7)/52
Location Function Type
Base Address + 0 Enable external reset W
Base Address + 2 Group select control W
Base Address + 3 Group select control W
Base Address + 7 Group select control register status R
Location Function Type
Base Address + 0xc0 1PA0 ~ 1PA7 R/W
Base Address + 0xc4 1PB0 ~ 1PB7 R/W
Base Address + 0xc8 1PC0 ~ 1PC7 R/W
Base Address + 0xcc Control Register 1 W
Base Address + 0xd0 2PA0 ~ 2PA7 R/W
Base Address + 0xd4 2PB0 ~ 2PB7 R/W
Base Address + 0xd8 2PC0 ~ 2PC7 R/W
Base Address + 0xdc Control Register 2 W
Base Address + 0xe0 3PA0 ~ 3PA7 R/W
Base Address + 0xe4 3PB0 ~ 3PB7 R/W
Base Address + 0xe8 3PC0 ~ 3PC7 R/W
Base Address + 0xec Control Register 3 W
Continued . . . . .

AX5234P 96/192 Bit DIO Board Users Manual
Register Format and Description
6&
Location Function Type
Base Address + 0xf0 4PA0 ~ 4PA7 R/W
Base Address + 0xf4 4PB0 ~ 4PB7 R/W
Base Address + 0xf8 4PC0 ~ 4PC7 R/W
Base Address + 0xfc Control Register 4 W
Location Function Type
Base Address + 0xc0 1PA0 ~ 1PA7 R/W
Base Address + 0xc4 1PB0 ~ 1PB7 R/W
Base Address + 0xc8 1PC0 ~ 1PC7 R/W
Base Address + 0xcc Control Register 1 W
Base Address + 0xd0 2PA0 ~ 2PA7 R/W
Base Address + 0xd4 2PB0 ~ 2PB7 R/W
Base Address + 0xd8 2PC0 ~ 2PC7 R/W
Base Address + 0xdc Control Register 2 W
Base Address + 0xe0 3PA0 ~ 3PA7 R/W
Base Address + 0xe4 3PB0 ~ 3PB7 R/W
Base Address + 0xe8 3PC0 ~ 3PC7 R/W
Base Address + 0xec Control Register 3 W
Base Address + 0xf0 4PA0 ~ 4PA7 R/W
Base Address + 0xf4 4PB0 ~ 4PB7 R/W
Base Address + 0xf8 4PC0 ~ 4PC7 R/W
Base Address + 0xfc Control Register 4 W
Table of contents