Vous êtes sur la page 1sur 11

Analog Value Processing

High level

Level
transmitter
Low level

SIMATIC S7 Date: 04.03.2019


File: 12_.1
Use of Analog Modules
Process Analog input module CPU

Physical Standard :
quantity analog signal Result :
memory :
:
PIW ... :
PIW ... :
MR L PIW 352
ADC :::
module
Sensor Transducer PIW ... ..
..
..
..
• Pressure ± 500mV ..
• Temperature ± 1V ..
• Flow ± 5V ..
• Speed ± 10V ..
• pH value ± 20mA ..
• Viscosity 4...20mA ..
• etc. etc. Analog output module ..
..
..
..
..
..
..
..
PQW ... ..
Physical Analog PQW ...
DAC ::: T PQW 368
quantity actuator
PQW ... :

SIMATIC S7 Date: 04.03.2019


File: 12_.2
Measuring Range Module

SIMATIC S7 Date: 04.03.2019


File: 12_.3
Analog Module Properties

Double-click

SIMATIC S7 Date: 04.03.2019


File: 12_.4
Analog Input Modules
SM335 (Inputs) SM331

SIMATIC S7 Date: 04.03.2019


File: 12_.5
Analog Output Module

SM335 (Outputs)

SIMATIC S7 Date: 04.03.2019


File: 12_.6
Analog Value Representation of Different Measuring Ranges

Voltage Current Resistance Temperature


such as: such as: such as: e.g. Pt100 (Standard)

Range Meas.range Units Meas.range Units Meas.range Units Meas.range Units


± 10V 4 to 20mA 0 ...300Ohm -200...+850ºC

Overflow >= 11.759 32767 >= 22.815 32767 >=352.778 32767 >= 1000.1 32767

Overrange 11.7589 32511 22.810 32511 352.767 32511 1000.0 10000


: : : : : : : :
10.0004 27649 20.0005 27649 300.011 27649 850.1 8501
Rated range 10.00 27648 20.000 27648 300.000 27648 850.0 8500
7.50 20736 16.000 20736 225.000 20736 : :
: : : : : : : :
-7.5 -20736 : : : : : :
-10.00 -27648 4.000 0 0.000 0 -200.0 -2000
Underrange - 10.0004 - 27649 3.9995 -1 Negative -1 - 200.1 - 2001
values :
: : : : not - 4864 : :
- 11.759 - 32512 1.1852 - 4864 - 243.0 - 2430
Underflow possible - 32768
<= - 11.76 - 32768 <= 1.1845 - 32768 <= - 243.1 - 32768

SIMATIC S7 Date: 04.03.2019


File: 12_.7
Analog Module Addresses with S7-300

Rack 3 Power IM 640 656 672 688 704 720 736 752
Supply
(Receive)
to to to to to to to to
654 670 686 702 718 734 750 766

Rack 2 Power IM 512 528 544 560 576 592 608 624
Supply
(Receive) to to to to to to to to
526 542 558 574 590 606 622 638

Rack 1 Power IM 384 400 416 432 448 464 480 496
Supply
(Receive) to to to to to to to to
398 414 430 446 462 478 494 510

R Power IM 256 272 288 304 320 336 352 368


0
Supply CPU (Send) to to to to to to to to
270 286 302 318 334 350 366 382

Slot 2 3 4 5 6 7 8 9 10 11

SIMATIC S7 Date: 04.03.2019


File: 12_.8
Analog Value Representation for the Analog Outputs

Voltage Current
Units
Range Output ranges: Output ranges:
0 to 10V 1 to 5V ± 10V 0 to 20mA 4 to 20mA ± 20mA

Overflow >=32767 0 0 0 0 0 0

Overrange 32511 11.7589 5.8794 11.7589 23.515 22.81 23.515


: : : : : : :
27649 10.0004 5.0002 10.0004 20.0007 20.005 20.0007

27648 10.0000 5.0000 10.0000 20.000 20.000 20.000


: : : : : : :
0 0 1.0000 0 0 4.000 0
: 0 : 0 :
Rated range - 6912 0.9999 : 3.9995 :
: :
- 6913 0 : 0 :
: : :
: 0 : 0 :
: : :
- 27648 -10.0000 -20.000

Underrange - 27649 - 10.0004 - 20.007


: : :
- 32512 - 11.7589 - 23.515

Underflow <=- 32513 0 0

SIMATIC S7 Date: 04.03.2019


File: 12_.9
Scaling Analog Input Values

unipolar (M 0.0 = ´0´) bipolar (M 0.0 = ´1´)


(Sensor supplies only positive voltage) (Sensor also supplies negative voltage)
OUT OUT
HI_LIM = 500.0 HI_LIM = 500.0

Δ
A B
Δ

LO_LIM = LO_LIM =
0.0 IN 0.0 IN
0 x x+1 0 x x+1
27648 -27648 27648

SIMATIC S7 Date: 04.03.2019


File: 12_.10
Unscaling a Real Number for Analog Output

bipolar (M 0.0 = ´1´) (Actuator


is energized with positive and
negative values)

OUT

27648

B
OUT
27648 0
A IN
0.0 100.0
(LO_LIM) (HI_LIM)
unipolar (M 0.0 = ´0´)
(Actuator is energized
only with positive values)

0
IN -27648
0.0 100.0
(LO_LIM (HI_LIM
) )

SIMATIC S7 Date: 04.03.2019


File: 12_.11

Vous aimerez peut-être aussi