Representation Of The Analog I/O Values - Siemens SINUMERIK 840D sl Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

A4: Digital and analog NC I/O for SINUMERIK 840D sl
2.2 Indirect I/O access via PLC
2.2.6.3

Representation of the analog I/O values

The digitized analog values are represented at the NC/PLC interface as fixed-point numbers
(16 bits including sign) in the two's complement.
Bit number
Signifi‐
cance
SG: Sign
Increment
For a resolution of 16 bits and a nominal range of ±10 V, the increment is:
20 V / 2
Resolutions < 16 bits
If the resolution of an analog module is less than 16 bits including sign, then the digitized analog
value is entered in the interface starting from bit 14. The unused least significant bit positions
are filled with "0".
14-bit resolution
For a resolution of 14 bits including sign and a nominal range of ±10 V, the increment is:
20 V / 2
Bit 0 ... 1 are always "0".
12-bit resolution
For a resolution of 12 bits including sign and a nominal range of ±10 V, the increment is:
20 V / 2
Bit 0 ... 3 are always "0".
Representation of the maximum value for different resolutions
Bit number
Significance of the bits
16-bit resolution: 32767
D
14-bit resolution: 8191
= 1FFF
D
12-bit resolution: 2047
= 7FF
D
48
15
14
13
SG
2
2
14
13
Minimum value
-32768
D
8000
H
= 20 V / 65536 ≈ 0.305 mV
16
= 20 V / 16384 ≈ 1.22 mV
14
= 20 V / 4096 ≈ 4.88 mV
12
15
14
SG 2
14
= 7FFF
0
1
H
0
1
H
0
1
H
12
11
10
9
8
2
2
2
2
2
12
11
10
9
8
13
12
11
10
9
2
2
2
2
2
13
12
11
10
9
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
7
6
5
4
3
2
2
2
2
2
7
6
5
4
Maximum value
32767
D
7FFF
H
8
7
6
5
4
2
2
2
2
2
8
7
6
5
4
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
2
1
0
2
2
2
3
2
1
0
3
2
1
0
2
2
2
2
3
2
1
0
1
1
1
1
1
1
0
0
0
0
0
0
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents