• 沒有找到結果。

Analog Modules

STEP 7 blocks for analog functions

4.3 Analog Value Representation

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-7 to 4-8 contain the binary representation of the measured values.

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

长沙工控帮教育科技有限公司整理

Measured value resolution

The resolution of the analog values can vary depending upon the analog module and its parameterization. With resolutions < 15 bit all bits identified with ”x” will be set to ”0”.

Note: This resolution does not apply to temperature values. The transformed temperature values are the result of a conversion within the analog module (see tables 4-15 through 4-29).

Table 4-6 Possible Resolutions of the Analog Values

Resolution in bits Units Analog value

(+sign)

decimal hexadecimal High Byte Low Byte

8 128 80H VZ 0 0 0 0 0 0 0 1 x x x x x x x

9 64 40H VZ 0 0 0 0 0 0 0 0 1 x x x x x x

10 32 20H VZ 0 0 0 0 0 0 0 0 0 1 x x x x x

11 16 10H VZ 0 0 0 0 0 0 0 0 0 0 1 x x x x

12 8 8H VZ 0 0 0 0 0 0 0 0 0 0 0 1 x x x

13 4 4H VZ 0 0 0 0 0 0 0 0 0 0 0 0 1 x x

14 2 2H VZ 0 0 0 0 0 0 0 0 0 0 0 0 0 1 x

15 1 1H VZ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1

长沙工控帮教育科技有限公司整理

Binary representation of the input ranges

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

Table 4-7 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

– 1 – 0.003617 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 range

– 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-– 32512 – 117.593 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 range

– 32768 – 117.596 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Underflow

Table 4-8 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 Rated

1 0.003617 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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

长沙工控帮教育科技有限公司整理

Analog value representation in voltage measuring ranges

Table 4-9 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 5 V 2.5 V 1 V

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 0 V 0 V 0 V 0 V Rated range

– 1 FFFF

– 75.000 % – 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

长沙工控帮教育科技有限公司整理

Table 4-10 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 % 20763 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 % – 20763 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-11 Analog Value Representation in Voltage Measuring Ranges 1 to 5 V and 0 to 10 V

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 5 V 10 V

75 % 20736 5100 3.75 V 7.5 V

0.003617 % 1 1 1 V + 144.7 V 0 V + 361.7 V Rated range

0 % 0 0 1 V 0 V

– 1 FFFF Underrange

– 17.593 % – 4864 ED00 0.296 V No negative values

– 4865 ECFF possible

Underflow

–17.596 % – 32768 8000

长沙工控帮教育科技有限公司整理

Analog value representation in current measuring ranges

Table 4-12 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 % –5100 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-13 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

0.003617 % 1 1 723.4 nA 4 mA + 578.7 nA Rated range

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

长沙工控帮教育科技有限公司整理

Analog value representation for resistance-type transmitters

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

System Resistance-Type Transmitter Range

Dec. Hex. 10 k 150  300  600 

118.515 % 32767 7FFF 11.852 k 177.77 355.54  711.09  Overflow 117.593 % 32512 7F00

117.589 % 32511 7EFF 11.759 k 176.38  352.77  705.53  Overrange (negative values physically

not possible)

Analog value representation for RTD resistance temperature detectors Pt x00 standard

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

Pt x00

> 1000.0 32767 7FFFH > 1832.0 32767 7FFFH > 1273.2 32767 7FFFH Overflow 1000.0

Analog value representation for RTD resistance temperature detectors Pt x00 climate

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

Pt x00

> 155.00 32767 7FFFH > 311.00 32767 7FFFH Overflow 155.00

< – 145.00 –32768 8000H < – 229.00 –32768 8000H Underflow

Analog value representation for RTD resistance temperature detectors Ni x00 standard

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

Ni x00

> 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

长沙工控帮教育科技有限公司整理

Analog value representation for RTD resistance temperature detectors Ni x00 climate

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

Ni x00

> 295.00 32767 7FFFH > 325.11 32767 7FFFH Overflow 295.00

< – 105.00 –32768 8000H < – 157.00 –32768 8000H Underflow

Analog value representation for RTD resistance temperature detectors Cu 10 standard

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

> 312.0 32767 7FFFH > 593.6 32767 7FFFH > 585.2 32767 7FFFH Overflow 312.0

< – 240.0 –32768 8000H < – 400.0 –32768 8000H < 33.2 32768 8000H Underflow

长沙工控帮教育科技有限公司整理

Analog value representation for RTD resistance temperature detectors Cu 10 climate

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

> 180.00 32767 7FFFH > 325.11 32767 7FFFH Overflow 180.00

< – 60.00 –32768 8000H < – 76.00 –32768 8000H Underflow

Analog value representation for Thermocouple temperature detectors type B

Table 4-21 Analog Value Representation for Thermocouple Temperature Detectors Type B

Units Units Units

Type B

in C dec. hex. Type B

in F dec. hex. Type B

in K dec. hex. Range

> 2070.0 32767 7FFFH > 3276.6 32767 7FFFH > 2343.2 32767 7FFFH Overflow 2070.0

< –120.0 –32768 8000H < –184.0 –32768 8000H < 153.2 32768 8000H Underflow

长沙工控帮教育科技有限公司整理

Analog value representation for Thermocouple temperature detectors type E

Table 4-22 Analog Value Representation for Thermocouple Temperature Detectors Type E Type E



Units Type E



Units Type E Units

in C

dec. hex. in F

dec. hex. in K

dec. hex. Range

> 1200.0 32767 7FFFH > 2192.0 32767 7FFFH > 1473.2 32767 7FFFH Overflow 1200.0

< –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 below ...

... F0C4H and outputs 8000H. ... FB70H and outputs 8000H. ... E5D4H and outputs 8000H.

Analog value representation for Thermocouple temperature detectors type J

Table 4-23 Analog Value Representation for Thermocouple Temperature Detectors Type J

Units Units Units

Type J

in C dec. hex. Type J

in F dec. hex. Type J

in K dec. hex. Range

> 1450.0 32767 7FFFH > 2642.0 32767 7FFFH > 1723.2 32767 7FFFH Overflow 1450.0

< –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 below ...

... F31CH and outputs 8000H. ... EA0CH and outputs 8000H. ... FDC8H and outputs 8000H.

长沙工控帮教育科技有限公司整理

Analog value representation for Thermocouple temperature detectors type K

Table 4-24 Analog Value Representation for Thermocouple Temperature Detectors Type K

Units Units Units

Type K

in C dec. hex. Type K

in F dec. hex. Type K

in K dec. hex. Range

> 1622.0 32767 7FFFH > 2951.6 32767 7FFFH > 1895.2 32767 7FFFH Overflow 1622.0 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 below ...

... F0C4H and outputs 8000H. ... E5D4H and outputs 8000H. ... FB70H and outputs 8000H.

Analog value representation for Thermocouple temperature detectors type L

Table 4-25 Analog Value Representation for Thermocouple Temperature Detectors Type L

Units Units Units

> 1150.0 32767 7FFFH > 2102.0 32767 7FFFH > 1423.2 32767 7FFFH Overflow 1150.0

< –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 below ...

... F380H and outputs 8000H. ... EAC0H and outputs 8000H. ... FE2CH and outputs 8000H.

长沙工控帮教育科技有限公司整理

Analog value representation for Thermocouple temperature detectors type N

Table 4-26 Analog Value Representation for Thermocouple Temperature Detectors Type N

Units Units Units

Type N

in C dec. hex. Type N

in F dec. hex. Type N

in K dec. hex. Range

> 1550.0 32767 7FFFH > 2822.0 32767 7FFFH > 1823.2 32767 7FFFH Overflow 1550.0 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 below ...

... F0C4H and outputs 8000H. ... E5D4H and outputs 8000H. ... FB70H and outputs 8000H.

Analog value representation for Thermocouple temperature detectors type R, S

Table 4-27 Analog Value Representation for Thermocouple Temperature Detectors Type R, S

Units Units Units

> 2019.0 32767 7FFFH > 3276.6 32767 7FFFH > 2292.2 32767 7FFFH Overflow 2019.0

< –170.0 –32768 8000H < –274.0 –32768 8000H < 103-2 < 1032 8000H Underflow

长沙工控帮教育科技有限公司整理

Analog value representation for Thermocouple temperature detectors type T

Table 4-28 Analog Value Representation for Thermocouple Temperature Detectors Type T

Units Units Units

Type T

in C dec. hex. Type T

in F dec. hex. Type T

in K dec. hex. Range

> 540.0 32767 7FFFH > 1004.0 32767 7FFFH > 813.2 32767 7FFFH Overflow 540.0

1004.0 10040 2738H 813.2 8132 1FC4H

Overrange

< –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 below ...

... F0C4H and outputs 8000H. ... E5D4H and outputs 8000H. ... FB70H and outputs 8000H.

Analog value representation for Thermocouple temperature detectors type U

Table 4-29 Analog Value Representation for Thermocouple Temperature Detectors Type U

Units Units Units

> 850.0 32767 7FFFH > 1562.0 32767 7FFFH > 1123.2 32767 7FFFH Overflow 850.0

< –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 below ...

... F380H and outputs 8000H. ... EAC0H and outputs 8000H. ... FE2CH and outputs 8000H.

长沙工控帮教育科技有限公司整理