4.3
Analog Value Representation
Introduction
This section describes the analog values for all the measuring ranges and output
ranges which you can use with the analog modules.
Converting Analog Values
The CPU processes the analog values in binary form only.
Analog input modules convert the analog process signal into digital form.
Analog output modules convert the digital output value into an analog signal.
Analog value representation with 16-bit resolution
The digitized analog value is the same for both input and output values having the
same nominal range. The analog values are represented as a fixed-point number
in two's complement. The resulting assignment is as follows:
Bits
15
14
15
14
Value of bits
2
2
Sign
The sign of the analog value is always contained in bit number 15:
• "0" ³ )
• "1" ³ *
Resolution less than 16 bits
If the resolution of an analog module has fewer than 16 bits, the analog value is
stored left-justified on the module. The lower-order bit positions not used are
padded with zeros ("0").
Programmable Logic Controllers S7-300 Module Data
A5E00105505-03
13
12
11
10
9
13
12
11
10
2
2
2
2
2
8
7
6
5
9
8
7
6
5
2
2
2
2
Analog Modules
4
3
2
1
0
4
3
2
1
2
2
2
2
2
4-9
0