0% found this document useful (0 votes)
128 views21 pages

Analog Value Representation

Analog modules convert analog process signals to digital values and vice versa. The digitized analog value has a resolution of 16 bits by default but can be less. Values are represented in two's complement with the sign in the most significant bit. For lower resolutions, unused lower bits are padded with zeros. Input ranges like ±10V are represented with different binary values depending on the measured voltage level.

Uploaded by

Rendi Febrian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views21 pages

Analog Value Representation

Analog modules convert analog process signals to digital values and vice versa. The digitized analog value has a resolution of 16 bits by default but can be less. Values are represented in two's complement with the sign in the most significant bit. For lower resolutions, unused lower bits are padded with zeros. Input ranges like ±10V are represented with different binary values depending on the measured voltage level.

Uploaded by

Rendi Febrian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Analog Modules

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:

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Value of bits 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20

Sign
The sign of the analog value is always contained in bit number 15:
S ”0” 
S ”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”).

S7-300 Programmable Controller Module Specifications


4-10 A5E00105505-02
Analog Modules

Example
In the following example you can see how the positions not padded with ”0” are
written for low resolution.

Table 4-6 Example: Bit Pattern of a 16-Bit and a 13-Bit Analog Value

Resolution Analog value


Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
16-bit analog value 0 1 0 0 0 1 1 0 0 1 1 1 0 0 1 1
13-bit analog value 0 1 0 0 0 1 1 0 0 1 1 1 0 0 0 0

4.3.1 Analog Value Representation for Analog Input Channels

Introduction
The tables in this chapter contain the measured value representations for the
various measuring ranges of the analog input modules. The values in the tables
apply to all modules with the corresponding measuring ranges.

Notes for readers of the tables


Tables 4-8 to 4-9 contain the binary representation of the measured values.
Since the binary representation of the measured values is always the same,
starting at 4-10 these tables only contain the measured values and the units.

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-11
Analog Modules

Measured-value resolution
The resolution of the analog values may differ, depending on the analog module
and its parameterization. With resolutions < 15 bits, the bits indicated by ”x” are set
to ”0”.
Note: This resolution does not apply to temperature values. The converted
temperature values are the result of a conversion in the analog module (see Tables
4-16 to 4-31).

Table 4-7 Possible Analog Value Resolutions

Resolution Units Analog value


in bits (+ sign)
decimal hexadecimal High-order byte Low-order byte
8 128 80H Sign 0 0 0 0 0 0 0 1xxxxxxx
9 64 40H Sign 0 0 0 0 0 0 0 01xxxxxx
10 32 20H Sign 0 0 0 0 0 0 0 001xxxxx
11 16 10H Sign 0 0 0 0 0 0 0 0001xxxx
12 8 8H Sign 0 0 0 0 0 0 0 00001xxx
13 4 4H Sign 0 0 0 0 0 0 0 000001xx
14 2 2H Sign 0 0 0 0 0 0 0 0000001x
15 1 1H Sign 0 0 0 0 0 0 0 00000001

S7-300 Programmable Controller Module Specifications


4-12 A5E00105505-02
Analog Modules

Binary representation of the input ranges


The input ranges shown in Tables 4-8 to 4-9 are defined in two’s complement
representation:

Table 4-8 Bipolar Input Ranges

Units Measured Data Word Range


Value
in % 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20

32767
118.515 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Overflow
32511 117.589 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 Overrange
27649
100.004 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 1
27648 100.000 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0
1 0.003617 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0 0.000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Rated
range
–1 –0.003617 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
–27648 –100.000 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0
–27649 –100.004 1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 Under-
range
–32512 –117.593 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
–32768 –117.596 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Underflow

Table 4-9 Unipolar Input Ranges

Units Measured Data Word Range


Value
in % 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20

32767 118.515 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Overflow


32511 117.589 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 Over-
27649 100.004 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 1 range

27648 100.000 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0
1 0.003617 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 Rated
range
0 0.000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
–1 –0.003617 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Under-
–4864 –17.593 1 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 range

–32768 –17.596 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Underflow

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-13
Analog Modules

Analog Value Representation in Voltage Measuring Ranges

Table 4-10 Analog Value Representation in Voltage Measuring Ranges ± 10 V to ± 1 V

System Voltage Measuring Range


Dec. Hex. ±10 V ±5 V ±2.5 V ±1 V
118.515 % 32767 7FFF 11.851 V 5.926 V 2.963 V 1.185 V Overflow
117.593% 32512 7F00
117.589% 32511 7EFF 11.759 V 5.879 V 2.940 V 1.176 V Overrange
27649 6C01
100.000% 27648 6C00 10 V 5V 2.5 V 1V
75.000 % 20736 5100 7.5 V 3.75 V 1.875 V 0.75 V
0.003617% 1 1 361.7 V 180.8  V 90.4 V 36.17 V
0% 0 0 0V 0V 0V 0V Rated range
–1 FFFF
–75.00 % –20736 AF00 –7.5 V –3.75 V –1.875 V –0.75 V
–100.000% –27648 9400 –10 V –5 V –2.5 V –1 V
–27649 93FF
Underrange
–117.593% –32512 8100 –11.759 V –5.879 V –2.940 V –1.176 V
–117.596 % –32513 80FF Underflow
–118.519% –32768 8000 –11.851 V –5.926 V –2.963 V –1.185 V

S7-300 Programmable Controller Module Specifications


4-14 A5E00105505-02
Analog Modules

Table 4-11 Analog Value Representation in Voltage Measuring Ranges ± 500 mV to ± 80 mV

System Voltage Measuring Range


Dec. Hex. ±500 mV ±250 mV ±80 mV
118.515 % 32767 7FFF 592.6 mV 296.3 mV 94.8 mV Overflow
117.593% 32512 7F00
117.589% 32511 7EFF 587.9 mV 294.0 mV 94.1 mV Overrange
27649 6C01
100.000% 27648 6C00 500 mV 250 mV 80 mV
75.00 % 20736 5100 375 mV 187.5 mV 60 mV
0.003617% 1 1 18.08 V 9.04 V 2.89 V
0% 0 0 0 mV 0 mV 0 mV Rated range
–1 FFFF
–75.00 % –20736 AF00 –375 mV –187.5 mV –60 mV
–100.000% –27648 9400 –500 mV –250 mV –80 mV
–27649 93FF Underrange
–117.593% –32512 8100 –587.9 mV –294.0 mV –94.1 mV
–117.596 % –32513 80FF Underflow
–118.519% –32768 8000 –592.6 mV –296.3 mV –94.8 mV

Table 4-12 Analog Value Representation in Voltage Measuring Ranges 1 to 5 V and 0 to 10V

System Voltage Measuring Range


Dec. Hex. 1 to 5 V 0 to 10 V
118.515 % 32767 7FFF 5.741 V 11.852 V
Overflow
117.593% 32512 7F00
117.589% 32511 7EFF 5.704 V 11.759 V
Overrange
27649 6C01
100.000% 27648 6C00 5V 10 V
75% 20736 5100 3.75 V 7.5 V
Rated range
0.003617% 1 1 1 V + 144.7 V 0 V + 361.7 V
0% 0 0 1V 0V
–1 FFFF
Underrange
–17.593% –4864 ED00 0.296 V
Negative values
–4865 ECFF not possible
Underflow
–17.596 % –32768 8000

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-15
Analog Modules

Analog Value Representation in Current Measuring Ranges

Table 4-13 Analog Value Representation in Current Measuring Ranges ± 20 mA to ± 3.2 mA

System Current Measuring Range


Dec. Hex. ±20 mA ±10 mA ±3.2 mA
118.515 % 32767 7FFF 23.70 mA 11.85 mA 3.79 mA Overflow
117.593% 32512 7F00
117.589% 32511 7EFF 23.52 mA 11.76 mA 3.76 mA Overrange
27649 6C01
100.000% 27648 6C00 20 mA 10 mA 3.2 mA
75% 20736 5100 15 mA 7.5 mA 2.4 mA
0.003617% 1 1 723.4 nA 361.7 nA 115.7 nA
0% 0 0 0 mA 0 mA 0 mA Rated range
–1 FFFF
–75%% –20736 AF00 –15 mA –7.5 mA –2.4 mA
–100.000% –27648 9400 –20 mA –10 mA –3.2 mA
–27649 93FF Underrange
–117.593% –32512 8100 –23.52 mA –11.76 mA –3.76 mA
–117.596 % –32513 80FF Underflow
–118.519% –32768 8000 –23.70 mA –11.85 mA –3.79 mA

Table 4-14 Analog Value Representation in Current Measuring Ranges 0 to 20 mA and 4 to 20 mA

System Current Measuring Range


Dec. Hex. 0 to 20 mA 4 to 20 mA
118.515 % 32767 7FFF 23.70 mA 22.96 mA
Overflow
117.593% 32512 7F00
117.589% 32511 7EFF 23.52 mA 22.81 mA
Overrange
27649 6C01
100.000% 27648 6C00 20 mA 20 mA
75% 20736 5100 15 mA 15 mA
Rated range
0.003617% 1 1 723.4 nA 4 mA + 578.7 nA
0% 0 0 0 mA 4 mA
–1 FFFF
Underrange
–17.593% –4864 ED00 –3.52 mA 1.185 mA
–4865 ECFF
Underflow
–17.596 % –32768 8000

S7-300 Programmable Controller Module Specifications


4-16 A5E00105505-02
Analog Modules

Analog Value Representation for Resistance-Type Transmitters

Table 4-15 Analog Value Representation for Resistance Type Transmitters from 10 k and from 150 to
600

System Resistance-Type Transmitter Range


Dec. Hex. 10 k 150 300 600
118.515 % 32767 7FFF 11.852k 177.77 355.54 711.09 Overflow
117.593% 32512 7F00 150.01 300.01 600.02
117.589% 32511 7EFF 11.759 176.38 352.77 705.53 Overrange
k
27649 6C01
100.000% 27648 6C00 10 k 150 300 600
75% 20736 5100 7.5 k 112.5 225 450
0.003617% 1 1 361.7m 5.43 m 10.85m 21.70m Rated range
0% 0 0 0 0 0 0

(neg. values physically Underrange


not possible)

Analog value representation for RTD Resistance Temperature Detectors Pt x00


standard

Table 4-16 Analog Value Representation for RTD Resistance Temperature Detectors Pt 100, 200, 500,
1000

Pt x00 Units Pt x00 Units Pt x00 Units


standard standard standard
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa- Range
(1 digit mal decimal (1 digit mal decimal (1 digit = mal decimal
=0.15C) =0.1 5F) 0.1 K)
> 1000.0 32767 7FFFH > 1832.0 32767 7FFFH > 1273.2 32767 7FFFH Overflow
1000.0 10000 2710H 1832.0 18320 4790H 1273.2 12732 31BCH
: : : : : : : : : Overrange
850.1 8501 2135H 1562.1 15621 3D05H 1123.3 11233 2BE1H
850.0 8500 2134H 1562.0 15620 3D04H 1123.2 11232 2BE0H
: : : : : : : : : Rated range
–200.0 –2000 F830H –328.0 –3280 F330H 73.2 732 2DCH
–200.1 –2001 F82FH –328.1 –3281 F32FH 73.1 731 2DBH
: : : : : : : : : Underrange
–243.0 –2430 F682H –405.4 –4054 F02AH 30.2 302 12EH
< –243.0 –32768 8000H < –405.4 –32768 8000H < 30.2 32768 8000H Underflow

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-17
Analog Modules

Analog value representation for RTD Resistance Temperature Detectors Pt x00


climate

Table 4-17 Analog Value Representation for RTD Resistance Temperature Detectors Pt 100, 200, 500,
1000

Pt x00 cli- Units Pt x00 cli- Units


mate mate
in 5C deci- hexa- in 5F deci- hexa- Range
(1 digit = mal decimal (1 digit = mal decimal
0.015C) 0.01 5F)
>155.00 32767 7FFFH >311.00 32767 7FFFH Overflow
155.00 15500 3C8CH 311.00 31100 797CH
: : : : : : Overrange
130.01 13001 32C9H 266.01 26601 67E9H
130.00 13000 32C8H 266.00 26600 67E8H
: : : : : : Rated range
–120.00 –12000 D120H –184.00 –18400 B820H
–120.01 –12001 D11FH –184.01 –18401 B81FH
: : : : : : Underrange
–145.00 –14500 C75CH –229.00 –22900 A68CH
< –145.00 –32768 8000H < –229.00 –32768 8000H Underflow

Analog value representation for RTD Resistance Temperature Detectors Ni x00


standard

Table 4-18 Analog Value Representation for RTD Resistance Temperature Detectors Ni100, 120, 200,
500, 1000

Ni x00 Units Ni x00 Units Ni x00 Units


standard standard standard
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa- Range
(1 digit = mal decimal (1 digit = mal decimal (1 digit = mal decimal
0.15C) 0.1 5F) 0.1 K)
>295.0 32767 7FFFH >563.0 32767 7FFFH >568.2 32767 7FFFH Overflow
295.0 2950 B86H 563.0 5630 15FEH 568.2 5682 1632H
: : : : : : : : : Overrange
250.1 2501 9C5H 482.1 4821 12D5H 523.3 5233 1471H
250.0 2500 9C4H 482.0 4820 12D4H 523.2 5232 1470H
: : : : : : : : : Rated range
–60.0 –600 FDA8H –76.0 –760 FD08H 213.2 2132 854H
–60.1 –601 FDA7H –76.1 –761 FD07H 213.1 2131 853H
: : : : : : : : : Underrange
–105.0 –1050 FBE6H –157.0 –1570 F9DEH 168.2 1682 692H
< –105.0 –32768 8000H < –157.0 –32768 8000H <168.2 32768 8000H Underflow

S7-300 Programmable Controller Module Specifications


4-18 A5E00105505-02
Analog Modules

Analog value representation for RTD Resistance Temperature Detectors Ni x00


climate

Table 4-19 Analog Value Representation for RTD Resistance Temperature Detectors Ni 100, 120, 200,
500, 1000

Ni x00 cli- Units Ni x00 cli- Units


mate mate
in 5C deci- hexa- in 5F deci- hexa- Range
(1 digit = mal decimal (1 digit = mal decimal
0.015C) 0.01 5F)
> 295.00 32767 7FFFH >325.11 32767 7FFFH Overflow
295.00 29500 733CH 327.66 32766 7FFEH
: : : : : : Overrange
250.01 25001 61A9H 280.01 28001 6D61H
250.00 25000 61A8H 280.00 28000 6D60H
: : : : : : Rated range
–60.00 –6000 E890H –76.00 –7600 E250H
–60.01 –6001 E88FH –76.01 –7601 E24FH
: : : : : : Underrange
–105.00 –10500 D6FCH –157.00 –15700 C2ACH
< –105.00 –32768 8000H < –157.00 –32768 8000H Underflow

Analog value representation for RTD Resistance Temperature Detectors Cu 10


standard

Table 4-20 Analog Value Representation for RTD Resistance Temperature Detectors Cu 10

Cu 10 Units Cu 10 Units Cu 10 Units


standard standard standard
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa- Range
(1 digit = mal decimal (1 digit = mal decimal (1 digit = mal decimal
0.015C) 0.01 5F) 0.01 K)
> 312.0 32767 7FFFH >593.6 32767 7FFFH >585.2 32767 7FFFH Overflow
312.0 3120 C30H 593.6 5936 1730H 585.2 5852 16DCH
: : : : : : : : : Overrange
260.1 2601 A29H 500.1 5001 12D5H 533.3 5333 14D5H
260.0 2600 A28H 500.0 5000 1389H 533.2 5332 14D4H
: : : : : : : : : Rated range
–200.0 –2000 F830H –328.0 –3280 F330H 73.2 732 2DCH
–200.1 –2001 F82FH –328.1 –3281 F32FH 73.1 731 2DBH
: : : : : : : : : Underrange
–240.0 –2400 F6A0H –400.0 –4000 F060H 33.2 332 14CH
< –240.0 –32768 8000H < –400.0 –32768 8000H <33.2 32768 8000H Underflow

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-19
Analog Modules

Analog value representation for RTD Resistance Temperature Detectors Cu 10


climate

Table 4-21 Analog Value Representation for RTD Resistance Temperature Detectors Cu 10

Cu 10 cli- Units Cu 10 cli- Units


mate mate
in 5C deci- hexa- in 5F deci- hexa- Range
(1 digit = mal decimal (1 digit = mal decimal
0.015C) 0.01 5F)
> 180.00 32767 7FFFH >325.11 32767 7FFFH Overflow
180.00 18000 4650H 327.66 32766 7FFEH
: : : : : : Overrange
150.01 15001 3A99H 280.01 28001 6D61AH
150.00 15000 3A98H 280.00 28000 6D60H
: : : : : : Rated range
–50.00 –5000 EC78H –58.00 –5800 E958H
–50.01 –5001 EC77H –58.01 –5801 E957H
: : : : : : Underrange
–60.00 –6000 E890H –76.00 –7600 E250H
< –60.00 –32768 8000H < –76.00 –32768 8000H Underflow

Analog value representation for thermocouples type B

Table 4-22 Analog Value Representation for Thermocouples Type B

Units Units Units


Type B Type B Type B Range
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa-
mal decimal mal decimal mal decimal
>2070.0 32767 7FFFH >3276.6 32767 7FFFH >2343.2 32767 7FFFH Overflow
2070.0 20700 50DCH 3276.6 32766 7FFEH 2343.2 23432 5B88H
: : : : : : : : : Overrange
1821.0 18210 4722H 2786.6 27866 6CDAH 2094.2 20942 51CEH
1820.0 18200 4718H 2786.5 27865 6CD9H 2093.2 20932 51C4H
: : : : : : : : : Rated range
0.0 0 0000H 32.0 320 0140H 273.2 2732 0AACH

: : : : : : : : : Underrange
–120.0 –1200 FB50H –184.0 –1840 F8D0H 153.2 1532 05FCH
< –120.0 –32768 8000H < –184.0 –32768 8000H <153.2 32768 8000H Underflow

S7-300 Programmable Controller Module Specifications


4-20 A5E00105505-02
Analog Modules

Analog Value Representation for Thermocouples type C

Table 4-23 Analog Value Representation for Thermocouples Type C

Units Units
Type C Type C Range
in 5C deci- hexa- in 5F deci- hexa-
mal decimal mal decimal
>2500.0 32767 7FFFH >3276.6 32767 7FFFH Overflow
2500.0 25000 61A8H 3276.6 32766 7FFEH
: : : : : : Overrange
2315.1 23151 5A6FH 2786.6 27866 6CDAH
2315.0 23150 5A6EH 2786.5 27865 6CD9H
: : : : : : Rated range
0.0 0 0000H 32.0 320 0140H
0.1 –1 FFFFH 31.9 319 013FH
: : : : : : Underrange
–120.0 –1200 FB50H –184.0 –1840 F8D0H
< –120.0 –32768 8000H < –184.0 –32768 8000H Underflow

Analog Value Representation for Thermocouples type E

Table 4-24 Analog Value Representation for Thermocouples Type E

Units Units Units


Type E Type E Type E Range
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa-
mal decimal mal decimal mal decimal
> 1200.0 32767 7FFFH > 2192,0 32767 7FFFH > 1473.2 32767 7FFFH Overflow
1200.0 12000 2EE0H 2192.0 21920 55A0H 1473.2 14732 398CH
: : : : : : : : : Overrange
1000.1 10001 2711H 1833.8 18338 47A2H 1274.2 12742 31C6H
1000.0 10000 2710H 1832.0 18320 4790H 1273.2 12732 31BCH
: : : : : : : : : Rated range
–270.0 –2700 F574H –454.0 –4540 EE44H 0 0 0000H
< –270.0 < –2700 H < –454.0 < –4540 <EE44H <0 <0 <0000H Underflow
In the case of incorrect wiring (e. g. polarity reversal or open inputs) or of a sensor error in the negative
range (e. g. incorrect thermocouple type), the analog input module signals underflow ...
... of F0C4H and outputs 8000H. ... of FB70H and outputs 8000H. ... of E5D4H and outputs 8000H.

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-21
Analog Modules

Analog Value Representation for Thermocouples type J

Table 4-25 Analog Value Representation for Thermocouples Type J

Units Units Units


Type J Type J Type J Range
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa-
mal decimal mal decimal mal decimal
> 1450.0 32767 7FFFH > 2642,0 32767 7FFFH > 1723.2 32767 7FFFH Overflow
1450.0 14500 38A4H 2642.0 26420 6734H 1723.2 17232 4350H
: : : : : : : : : Overrange
1201.0 12010 2EEAH 2193.8 21938 55B2H 1474.2 14742 3996H
1200.0 12000 2EE0H 2192.0 21920 55A0H 1473.2 14732 398CH
: : : : : : : : : Rated range
–210.0 –2100 F7CCH –346.0 –3460 F27CH 63.2 632 0278H
< –210.0 < –2100 <F7CCH < –346.0 < –3460 <F27CH <63.2 < 632 < 0278H Underflow
In the case of incorrect wiring (e. g. polarity reversal or open inputs) or of a sensor error in the negative
range (e. g. incorrect thermocouple type), the analog input module signals underflow ...
... of F31CH and outputs 8000H. ... of EA0CH and outputs 8000H. ... of FDC8H and outputs 8000H.

Analog value representation for thermocouples type K

Table 4-26 Analog Value Representation for Thermocouples Type K

Units Units Units


Type K Type K Type K Range
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa-
mal decimal mal decimal mal decimal
> 1622.0 32767 7FFFH >2951.6 32767 7FFFH > 1895.2 32767 7FFFH Overflow
1622.0 16220 3F5CH 2951.6 29516 734CH 1895.2 18952 4A08H
: : : : : : : : : Overrange
1373.0 13730 35A2H 2503.4 25034 61CAH 1646.2 16462 404EH
1372.0 13720 3598H 2501.6 25061 61B8H 1645.2 16452 4044H
: : : : : : : : : Rated range
–270.0 –2700 F574H –454.0 –4540 EE44H 0 0 0000H
< –270.0 < –2700 < F574H < –454.0 < –4540 <EE44H 0% 0% < 0000H Underflow
In the case of incorrect wiring (e. g. polarity reversal or open inputs) or of a sensor error in the negative
range (e. g. incorrect thermocouple type), the analog input module signals underflow ...
... of F0C4H and outputs 8000H. ... of E5D4H and outputs 8000H. ... of FB70H and outputs 8000H.

S7-300 Programmable Controller Module Specifications


4-22 A5E00105505-02
Analog Modules

Analog value representation for thermocouples type L

Table 4-27 Analog Value Representation for Thermocouples Type L

Units Units Units


Type L Type L Type L Range
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa-
mal decimal mal decimal mal decimal
>1150.0 32767 7FFFH >2102.0 32767 7FFFH >1423.2 32767 7FFFH Overflow
1150.0 11500 2CECH 2102.0 21020 521CH 1423.2 14232 3798H
: : : : : : : : : Overrange
901.0 9010 2332H 1653.8 16538 409AH 1174.2 11742 2DDEH
900.0 9000 2328H 1652.0 16520 4088H 1173.2 11732 2DD4H
: : : : : : : : : Rated range
–200.0 –2000 F830H –328.0 –3280 F330H 73.2 732 02DCH
< –200.0 < –2000 < F830H < –328.0 < –3280 <F330H <73.2 < 732 <02DCH Underflow
In the case of incorrect wiring (e. g. polarity reversal or open inputs) or of a sensor error in the negative
range (e. g. incorrect thermocouple type), the analog input module signals underflow ...
... of F380H and outputs 8000H. ... of EAC0H and outputs 8000H. ... of FE2CH and outputs 8000H.

Analog Value Representation for Thermocouples type N

Table 4-28 Analog Value Representation for Thermocouples Type N

Units Units Units


Type N Type N Type N Range
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa-
mal decimal mal decimal mal decimal
> 1550.0 32767 7FFFH >2822.0 32767 7FFFH > 1823.2 32767 7FFFH Overflow
1550.0 15500 3C8CH 2822.0 28220 6E3CH 1823.2 18232 4738H
: : : : : : : : : Overrange
1300.1 13001 32C9H 2373.8 23738 5CBAH 1574.2 15742 3D7EH
1300.0 13000 32C8H 2372.0 23720 5CA8H 1573.2 15732 3D74H
: : : : : : : : : Rated range
–270.0 –2700 F574H –454.0 –4540 EE44H 0 0 0000H
< –270.0 < –2700 < F574H < –454.0 < –4540 <EE44H 0% <0 < 0000H Underflow
In the case of incorrect wiring (e. g. polarity reversal or open inputs) or of a sensor error in the negative
range (e. g. incorrect thermocouple type), the analog input module signals underflow ...
... of F0C4H and outputs 8000H. ... of E5D4H and outputs 8000H. ... of FB70H and outputs 8000H.

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-23
Analog Modules

Analog Value Representation for Thermocouples type R, S

Table 4-29 Analog Value Representation for Thermocouples Type R, S

Units Units Units


Types R, S Types R, Types R,
deci- hexa- S deci- hexa- S deci- hexa- Range
in 5C mal decimal in 5F mal decimal in K mal decimal

>2019.0 32767 7FFFH >3276.6 32767 7FFFH >2292.2 32767 7FFFH Overflow
2019.0 20190 4EDEH 3276.6 32766 7FFEH 2292.2 22922 598AH
: : : : : : : : : Overrange
1770.0 17770 4524H 3218.0 32180 7DB4H 2043.2 20432 4FD0H
1769.0 17690 451AH 3216.2 32162 7DA2H 2042.2 20422 4FC6H
: : : : : : : : : Rated range
–50.0 –500 FE0CH –58.0 –580 FDBCH 223.2 2232 08B8H
–51.0 –510 FE02H –59.8 –598 FDAAH 222.2 2222 08AEH
: : : : : : : : : Underrange
–170.0 –1700 F95CH –274.0 –2740 F54CH 103.2 1032 0408H
< –170.0 –32768 8000H < –274.0 –32768 8000H < 103-2 < 1032 8000H Underflow

Analog Value Representation for Thermocouples type T

Table 4-30 Analog Value Representation for Thermocouples Type T

Units Units Units


Type T Type T Type T Range
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa-
mal decimal mal decimal mal decimal
>540.0 32767 7FFFH >1004.0 32767 7FFFH >813.2 32767 7FFFH Overflow
540.0 5400 1518H 1004.0 10040 2738H 813.2 8132 1FC4H
: : : Overrange
401.0 4010 0FAAH
400.0 4000 0FA0H 752.0 7520 1D60H 673.2 6732 1AACH
: : : : : : : : : Rated range
–270.0 –2700 F574H –454.0 –4540 EE44H 3.2 32 0020H
< –270.0 < –2700 <F574H < –454.0 < –4540 <EE44H <3.2 < 32 < 0020H Underflow
In the case of incorrect wiring (e. g. polarity reversal or open inputs) or of a sensor error in the negative
range (e. g. incorrect thermocouple type), the analog input module signals underflow ...
... of F0C4H and outputs 8000H. ... of E5D4H and outputs 8000H. ... of FB70H and outputs 8000H.

S7-300 Programmable Controller Module Specifications


4-24 A5E00105505-02
Analog Modules

Analog Value Representation for Thermocouples type U

Table 4-31 Analog Value Representation for Thermocouples Type U

Units Units Units


Type U Type U Type U Range
in 5C deci- hexa- in 5F deci- hexa- in K deci- hexa-
mal decimal mal decimal mal decimal
>850.0 32767 7FFFH >1562.0 32767 7FFFH >1123.2 32767 7FFFH Overflow
850.0 8500 2134H 1562.0 15620 2738.0H 1123.2 11232 2BE0H
: : : : : : : : : Overrange
601.0 6010 177AH 1113.8 11138 2B82H 874.2 8742 2226H
600.0 6000 1770H 1112.0 11120 2B70H 873.2 8732 221CH
: : : : : : : : : Rated range
–200.0 –2000 F830H –328.0 –3280 F330H 73.2 732 02DCH
< –200.0 < –2000 <F830H < –328.0 < –3280 <F330H <73.2 < 732 <02DCH Underflow
In the case of incorrect wiring (e. g. polarity reversal or open inputs) or of a sensor error in the negative
range (e. g. incorrect thermocouple type), the analog input module signals underflow ...
... of F380H and outputs 8000H. ... of EAC0H and outputs 8000H. ... of FE2CH and outputs 8000H.

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-25
Analog Modules

4.3.2 Analog Value Representation for Analog Output Channels

Introduction
The tables in this chapter contain the analog value representation for output
channels of the analog output modules. The values in the tables apply to all
modules with the corresponding output ranges.

Notes for readers of the tables


Tables 4-32 to 4-33 contain the binary representation of the output values.
Since the binary representation of the output values is always the same, starting at
4-34 these tables only contain the output ranges and the units.

Output ranges for the SM 334; AI 4/AO 28/8 bits


The analog input/output module SM 334; AI 4/AO 28/8 bits has output ranges
from 0 to 10 V and from 0 to 20 mA. Unlike the other analog modules, the SM 334
has a lower resolution, however. Please not that the SM 334; AI 4/AO 28/8 bits
with product status 1 does not have overranges.

Binary representation of the output ranges


The output ranges shown in Tables 4-32 to 4-33 are defined in two’s complement
representation:

S7-300 Programmable Controller Module Specifications


4-26 A5E00105505-02
Analog Modules

Table 4-32 Bipolar Output Ranges

Units Output Data Word Range


Value in %
215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20

32512 0 % 0 1 1 1 1 1 1 1 x x x x x x x x Overflow
32511 117.589 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 Over-
range
27649 100.004 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 1
27648 100.000 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0
1 0.003617 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0 0.000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Rated
range
–1 –0.003617 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
–27648 –100.000 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0
–27649 100.004 1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 Under-
range
–32512 –117.593 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
32513 0 % 1 0 0 0 0 0 0 0 x x x x x x x x Under-
flow

Table 4-33 Unipolar Output Ranges

Units Output Data Word Range


Value in %
215 214 213 212 211 210 2 2 2 2 2 2 2 2 2 2
9 8 7 6 5 4 3 2 1 0

32512 0 % 0 1 1 1 1 1 1 1 x x x x x x x x Overflow
32511 117.589 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 Overrange
27649 100.004 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 1
27648 100.000 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0
1 0.003617 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 Rated
range
0 0.000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
–1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Limited to
0.000 rated
range
lower limit
–32512 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 V and
0 mA
32513 0 % 1 0 0 0 0 0 0 0 x x x x x x x x Underflow

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-27
Analog Modules

Analog value representation in voltage output ranges

Table 4-34 Analog Value Representation in Output Range ±10 V

System Voltage Output Range


Dec. Hex. ±10 V
118.5149% 32767 7FFF 0.00 V Overflow, off circuit and de-energized
32512 7F00
117.589% 32511 7EFF 11.76 V Overrange
27649 6C01
100 % 27648 6C00 10 V
75% 20736 5100 7.5 V
0.003617% 1 1 361.7 µV Rated range
0% 0 0 0V
–1 FFFF –361.7 µV
–75 % –20736 AF00 –7.5 V
–100 % –27648 9400 –10 V
–27649 93FF Underrange
–117.593% –32512 8100 –11.76 V
–32513 80FF Underflow, off circuit and de-energized
–118.519% –32768 8000 0.00 V

S7-300 Programmable Controller Module Specifications


4-28 A5E00105505-02
Analog Modules

Table 4-35 Analog Value Representation in Output Ranges 0 to 10 V and 1 to 5 V

System Voltage Output Range


Dec. hex. 0 to 10 V 1 to 5 V
118.5149% 32767 7FFF 0.00 V 0.00 V Overflow, off circuit and de-
energized
32512 7F00
117.589% 32511 7EFF 11.76 V 5.70 V Overrange
27649 6C01
100 % 27648 6C00 10 V 5V
75% 20736 5100 7.5 V 3.75 V
0.003617% 1 1 361.7µV 1V+144.7µV Rated range
0% 0 0 0V 1V
–1 FFFF Underrange
–25 % –6912 E500 0V
–6913 E4FF Not possible.
The output value is limited
–117.593% –32512 8100 to 0 V.
–32513 80FF Underflow, off circuit and
de-energized
–118.519% –32768 8000 0.00 V 0.00 V

S7-300 Programmable Controller Module Specifications


A5E00105505-02 4-29
Analog Modules

Analog value representation in current output ranges

Table 4-36 Analog Value Representation in Output Range ±20 mA

System Current Output Range


Dec. Hex. ±20 mA
118.5149% 32767 7FFF 0.00 mA Overflow, off circuit and de-energized
32512 7F00
117.589% 32511 7EFF 23.52 mA Overrange
27649 6C01
100 % 27648 6C00 20 mA
75% 20736 5100 15 mA
0.003617% 1 1 723.4 nA
0% 0 0 0 mA Rated range
–1 FFFF –723.4 nA
–75 % –20736 AF00 –15 mA
–100 % –27648 9400 –20 mA
–27649 93FF Underrange
–117.593% –32512 8100 –23.52 mA
–32513 80FF Underflow, off circuit and de-energized
–118.519% –32768 8000 0.00 mA

Table 4-37 Analog Value Representation in Output Ranges 0 and 20 mA and 4 to 20 mA

System Current Output Range


Dec. Hex. 0 to 20 mA 4 to 20 mA
118.5149% 32767 7FFF 0.00 mA 0.00 mA Overflow, off circuit
and de-energized
32512 7F00
117.589% 32511 7EFF 23.52 mA 22.81 mA Overrange
27649 6C01
100 % 27648 6C00 20 mA 20 mA
75% 20736 5100 15 mA 15 mA Rated range
0.003617% 1 1 723.4 nA 4mA+578.7 nA
0% 0 0 0 mA 4 mA
–1 FFFF Underrange
–25 % –6912 E500 0 mA
–6913 E4FF Not possible. The
output value is limi-
–117.593% –32512 8100 ted to 0 mA.
–32513 80FF Underflow, off circuit
and de-energized
–118.519% –32768 8000 0.00 mA 0.00 mA

S7-300 Programmable Controller Module Specifications


4-30 A5E00105505-02

You might also like