 |
I/O Port
Address
|
The I/O port
address
are
&H170-17F or &H160-16F selectable:
|
1.
|
170/160 : Output A/D
channel
number. (low nibble)
|
2.
|
171/161 : Clear A/D
register.
|
3.
|
172/162 : Input A/D low
byte
data.
(8 bits) |
4.
|
173/163 : Input A/D
high byte
data.
(low nibble) |
5.
|
174/164 : Output D/A
low byte
data.
(channel 1/8 bits) |
6.
|
175/165 : Output D/A
high byte
data. (channel 1/low nibble) |
7.
|
176/166 : Output D/A
low byte
data. (channel 2/8 bits) |
8.
|
177/167 : Output D/A
high byte
data. (channel 2/low nibble) |
9.
|
17A/16A A/D conversion
loop.
(low) |
10.
|
17C/16C : A/D
conversion loop.
(high) |
|
 |
| Jumper Setting |
1.
I/O Port Address
|
|
|
|
JP8
is
used to select I/O port address
|
JP8
|
Address |
short
|
H170 - 17F |
| open |
H160 - 16F |
|
| PORT |
CASE 1 |
CASE 2 |
| Port
0 |
H170
|
H160 |
Port
1
|
H171 |
H161 |
| Port
2 |
H172 |
H162 |
| Port
3 |
H173 |
H163 |
| Port
4 |
H174 |
H164 |
| Port
5 |
H175 |
H165 |
| Port
6 |
H176 |
H166 |
| Port
7 |
H177 |
H167 |
| Port
8 |
H17A |
H16A |
| Port
9 |
H17C |
H16C |
|
2. Single-ended or Differential
Mode
Selection
|
|
|
|
JP7 is used to
select
single-ended
or
differential mode.
|
3. A/D Input Voltage and Scalar |
|
|
JP3 is used to select
unipolar
or bipolar fo A/D input voltage, and JP6 is used to select voltage
scalar of A/D input voltage.
|
| JP3-1 |
JP3-2 |
polar |
| short |
open |
bipolar |
| open |
short |
unipolar |
|
JP6-1
|
JP6-2
|
JP6-3
|
scalar
|
short
|
open
|
open
|
2.5V
|
open
|
short
|
open
|
5V
|
open
|
open
|
short
|
10V
|
|
4. D/A Channel 1 Output
Voltage
and
Scalar
|

|
|
JP1 is
used to
select unipolar or bipolar of
D/A channel 1 output voltage, and JP5 is used to select voltage scalar
of D/A channel 1 output voltage.
|
JP1-1
|
JP1-2
|
polar
|
short
|
open
|
bipolar
|
open
|
short
|
unipolar
|
|
JP5-1
|
JP5-2
|
JP5-3
|
scalar
|
| short |
open |
open |
2.5V
|
| open |
short |
open |
5V
|
| open |
open |
short |
10V
|
|
| 5. D/A Channel 2 Output
Voltage
and
Scalar |
|
|
|
JP2 is
used to
select unipolar or bipolar of
D/A channel 2 output voltage, and JP4 is used to select voltage scalar
of D/A channel 2 output voltage.
|
JP2-1
|
JP2-2
|
polar
|
short
|
open
|
bipolar
|
open
|
short
|
unipolar
|
|
JP4-1
|
JP4-2
|
JP4-3
|
scalar
|
| short |
open |
open |
2.5V
|
| open |
short |
open |
5V
|
| open |
open |
short |
10V
|
|
|
| NOTE |
1.
|
The
scalar range is
from negative voltage to positive voltage when
bipolar is selected. Otherwise, the scalar range is from 0 to positive
voltage. |
2.
|
The full
scalar
voltage
is the higest voltage dependent on your scalar range selection. |
3.
|
Default
settings
are
unipolar and scalar range is 10V. |
|
In the following, we show
some
jumper
setting examples.
|
1. select A/D unipolar and 0V to
10V
scalar
|

|
2. select A/D bipolar and -5V to
5V
scalar.
|

|
3. select D/A channel 1 unipolsr
and 0V
to 5V
scalar.
|

|
4. select D/A channel 2 bipolar
and -2.5V
to
2.5V scalar.
|

|
 |
Type Connector
Pin Assignment
|
A. Single-ended Mode (default
setting)
|
Pin
|
Function
|
PIn
|
Function
|
1
|
+12V |
14
|
-12V |
2
|
D/A
CH2 OUT |
15
|
D/A
CH1 OUT |
3
|
GND |
16
|
A/D
CH15 |
4
|
A/D
CH14 |
17
|
A/D
CH13 |
5
|
A/D
CH12 |
18
|
A/D
CH11 |
6
|
A/D
CH10 |
19
|
A/D
CH9 |
7
|
A/D
CH8 |
20
|
A/D
CH7 |
8
|
A/D
CH6 |
21
|
A/D
CH5 |
9
|
A/D
CH4 |
22
|
A/D
CH3 |
10
|
A/D
CH2 |
23
|
A/D
CH1 |
11
|
A/D
CH0 |
24
|
GND |
12
|
GND |
25
|
-5V |
13
|
+5V |
26
|
|
|
B.
Differential Mode
|
Pin
|
Function
|
PIn
|
Function
|
1
|
+12V |
14
|
-12V |
2
|
D/A
CH2 OUT |
15
|
D/A
CH1 OUT |
3
|
GND |
16
|
A/D
CH7- |
4
|
A/D
CH7+ |
17
|
A/D
CH6- |
5
|
A/D
CH6+ |
18
|
A/D
CH5- |
6
|
A/D
CH5+ |
19
|
A/D
CH4- |
7
|
A/D
CH4+ |
20
|
A/D
CH3- |
8
|
A/D
CH3+ |
21
|
A/D
CH2- |
9
|
A/D
CH2+ |
22
|
A/D
CH1- |
10
|
A/D
CH1+
|
23
|
A/D
CH0- |
11
|
A/D
CH0+ |
24
|
GND |
12
|
GND |
25
|
-5V |
13
|
+5V |
|
|
|
|
|
| VR Adjustment |
|
VR1, VR2,
and VR3
are used to adjust
reference voltage of A/D and D/A channel. To screw VR clockwise, the
reference voltage will be increased, otherwise to screw VR
counterclockwise, the reference voltage will be decreased.
|
| VR
number |
port |
| VR3 |
A/D
channel |
| VR1 |
D/A
channel 2 |
| VR2 |
D/A
channel 1 |
|
|
|
|