AO4 U/I
– 12-Bit
Kendrion Kuhnke Automation GmbH
146
17 May 2021
Function
The AO4 module has 4 analogue outputs. Every channel can be separately set to the unipolar or bipolar
output of voltages or currents.
Table "Analogue voltage/current values"
Measured value
Variable value
±10
0 .. 10 0 .. 20
Bipolar [INT]
Unipolar
*
Data type conversion required
V
V
mA
Decimal Hexadecimal
Decimal
[INT]
Decimal
[UINT
*
]
Hexadecimal
-10
-32768 16#8000
-9
-29492 16#8CCC
-8
-26215 16#9999
-7
-22938 16#A666
-6
-19661 16#B333
-5
-16384 16#C000
-4
-13108 16#CCCC
-3
-9831
16#D999
-2
-6554
16#E666
-1
-3292
16#F324
0
0
0
0
0
0
1
1
2
3276
16#0CCC
6553
6553
16#1999
2
2
4
6553
16#1999
13107
13107
16#3332
3
3
6
9830
16#2666
19660
19660
16#4CCC
4
4
8
13106
16#3332
26214
26214
16#6665
5
5
10
16383
16#3FFF
32767
32767
16#7FFF
6
6
12
19660
16#4CCC
-26216 39320
16#9998
7
7
14
22936
16#5998
-19662 45874
16#B332
8
8
16
26213
16#6665
-13109 52427
16#CCCB
9
9
18
29490
16#7332
-6555
58981
16#E665
10
10
20
32767
16#7FFF
-2
65534
16#FFFE
Analogue Outputs
Write the output values into the following variables:
Variable
Data type Explanation
Channel_n
INT
Output value of channel n (n=0…3).
Module Control
The module provides you with various operational options.
To set up the module choose the options as appropriate and accept by setting control bit "SetOptions" to a
rising edge.
The module will confirm by returning "OptionsSet".
There are various "module error" bits that the module uses to indicate errors. The states of the error bits are
retained and also used for error indication by the "IO" LED.
To reset the error bits set control bit "ResetError" to a rising edge.
Variable
Data type Explanation
SetOptions
BOOL
Rising edge
accepts module options
ResetError
BOOL
Rising edge
acknowledges error