ADwin-Gold II
, Manual February 2013
13
Analog Inputs and Outputs
ADwin
5.1.2
Analog Outputs
The system has 2 analog outputs (OUT1, OUT2) with BNC-plugs; below the outputs are
located on the DSub connector ANALOG OUT (see Fig. 7). A digital-to-analog con-
verter (DAC) is allocated to each of the outputs.
Fig. 7 – Pin assignment of analog outputs (DSub)
Additional outputs see chapter 6 "DA Add-On".
Programming
Instructions to program analog outputs are described starting from
instructions are defined in the include file
<ADwinGoldII.inc>
and are described in
the online help, too.
The standard instruction
DAC
(
number
,
value
) checks each of the values if it exceeds
or falls below of the 16-bit value range (0...65535). If the value is in the 16-bit value
range, the indicated value is output on the output number. If it is not in the value range
the maximum or minimum values are output.
5.1.3
Calculation Basis
Voltage range
The voltage range of the
ADwin-Gold II
at the analog inputs and outputs is between
–10V to +10V (
bipolar 10V).
Allocation of digits to
voltage
The 65536 (2
16
) digits are allocated to the corresponding voltage ranges of the ADCs
and DACs insofar that
–
0 (zero) digits correspond to the maximum negative voltage and
–
65535 digits correspond to the maximum positive voltage
The value for 65536 digits, exactly 10 Volt, is just outside the measurement range, so
that you will get a maximum voltage value of 9.999695V for a 16-bit conversion.
ANALOG OUT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
AO
u
t 1
(
+
)
AO
u
t 2
(
+
)
AO
u
t 3
(
+
)
AO
u
t 4
(
+
)
AO
u
t 5
(
+
)
AO
u
t 6
(
+
)
AO
u
t 7
(
+
)
AO
u
t 8
(
+
)
+
5
V
(
<
100m
A
)
AG
N
D
AG
N
D
A
O
ut
1
(-
)
A
O
ut
2
(-
)
A
O
ut
3
(-
)
A
O
ut
4
(-
)
A
O
ut
5
(-
)
A
O
ut
6
(-
)
A
O
ut
7
(-
)
A
O
ut
8
(-
)
AG
N
D
RE
S
E
RV
E
D
RE
S
E
R
V
E
D
Function
Instructions
do a complete output of a value
DAC
Do an output in steps
Write_DAC
Start_DAC
=
ˆ