Abin 115 - 116, Analog-binary conversion 115 - 116, Iii-5.2 abin (analog i binary conversion (no. 71)) – West Control Solutions KS98-1 User Manual
Page 115
III-5.2
ABIN (analog
i binary conversion (No. 71))
Analog input variable
x1 is converted into a binary number, a BCD number or a selection “1 out of 8". Thereby, x1 is
always rounded off (down for values < 0,5, up for values ? 0,5).
Simultaneously, binary input values
d1...d8 ( considered as a binary number or a BCD number) can be converted into
an analog output variable. The conversion mode is determined by configuration parameter
Select.
Analog/binary conversion - binary/analog conversion (
Select = ana<->bin)
Conversion analog value into binary number:
The analog input value at
x1 is converted into a binary variable, which is output in binary form at outputs z1...z8
(
z1=2
0
...
z8=2
7
). The range is within 0...255.
Out of the range, the output allocation is:
Input
z1
z2
z3
z4
z5
z6
z7
z8
x1 ß 0
0
0
0
0
0
0
0
0
x1 ? 255
1
1
1
1
1
1
1
1
Conversion binary number into analog value
A binary number at digital inputs
d1...d8 (d1=2
0
...
d8=2
7
) is converted into an analog output variable and output at
analog output
y1. The range is within 0...255.
BCD - conversion (
Select = ana<->BCD) Converting a value into a BCD number
The analog input value at
x1 (range 0...99) is output as a BCD number at outputs z8...z5 and z4...z1.
Example: x1 = 83 r the output allocation is:
Input
z1
z2
z3
z4
z5
z6
z7
z8
2
2
2
2
x1 = 83
1
1
0
0
0
0
1
1
BCD
3
8
Out of the range, the output allocation is:
Input
z1
z2
z3
z4
z5
z6
z7
z8
x1 ? 99
0
0
0
0
0
0
0
0
0
0
x1 ß 0
1
0
0
1
1
0
0
1
9
9
Signal converters
9499-040-82711
III-115
ABIN (analog
i binary conversion (No. 71))
x1
d1
d8
...
z1
z8
y1
...
1 aus 8
BCD
Binär
2
2
2
0
1
7
1 aus 8
BCD
Binär
2
2
2
0
1
7
..
..
..
..
Select
0...255
0...255