Analog Value Processing
10.8.2 Digital Representation of an Analog Value
The CPU uses two bytes to represent the value of an output channel.
Figure 10-29 explains the individual bits:
Byte No.
Bit No.
x
represents an irrelevant bit
Figure 10-29. Representation of an Analog Output Signal in Digital Form
Note
For the two's complement, bit 2
(0 equals a positive value, 1 a negative value).
10-58
High-Order Byte
n
15 14 13 12 11 10
2
2
2
2
2
2
11
10
9
8
7
6
Binary signal
11
indicates the sign
Low-Order Byte
n+1
9
8
7
6
5
4
2
2
2
2
2
2
5
4
3
2
1
0
S5-115U Manual
3
2
1
0
x
x
x
x
EWA 4NEB 811 6130-02b