16
Date: 26.03.22 File: PRO1_14E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Analog Value Processing Level transmi tter High level Low level

Date:14.05.2015 File:PRO1_14E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Analog Value

Embed Size (px)

Citation preview

Date: 18.04.23File: PRO1_14E.1

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Analog Value Processing

Leveltransmitter

High level

Low level

Date: 18.04.23File: PRO1_14E.2

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Use of Analog ModulesProcess

Physical quantity

Standardanalog signal

Sensor Transducer

• Pressure• Temperature• Flow• Speed• pH value• Viscosity• etc.

± 500mV± 1V± 5V± 10V± 20mA4...20mAetc.

DAC

PQW ...PQW ...:::PQW ...

Analog output module

MRmodule

ADC

Resultmemory

PIW ...PIW ...:::PIW ...

Analog input module CPU

::::::L PIW 352

T PQW 368:

Analogactuator

Physicalquantity

......................................

Date: 18.04.23File: PRO1_14E.3

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Measuring Range Module

Date: 18.04.23File: PRO1_14E.4

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Analog Module Addresses with S7-300

IM 256 to270

336 to350

352 to366

368 to382

304 to318

320 to334

272 to286

288 to302

(Send)

Slot 2 3 4 5 6 7 8 9 10 11

384 to398

400 to414

432 to446

448 to462

464 to478

480 to494

496 to510

416 to430

Rack 1

R0

PowerSupply

IM

(Receive)

PowerSupply CPU

512 to526

528 to542

544 to558

560 to574

576 to590

592 to606

608 to622

624 to638

Rack 2 IM

(Receive)

PowerSupply

Rack 3 640to654

656to670

672to686

688 to702

704 to718

720 to734

736 to750

752 to766

IM

(Receive)

PowerSupply

Date: 18.04.23File: PRO1_14E.5

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Analog Module SM335 (Inputs)

Date: 18.04.23File: PRO1_14E.6

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Analog Module SM335 (Outputs)

Date: 18.04.23File: PRO1_14E.7

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Analog Input Module SM331

Date: 18.04.23File: PRO1_14E.8

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Analog Value Representation and Measured Value Resolution

20212223242526272829210211212213214VZHex.Bit value Dec.

0123456789101112131415Bit no. Units

Reso-lution in bits+ sign

1 11 ******** * * * * * * *15

* = 0 or 1

80 00000001128 ********8

40

20

10

8

4

000000

00000

0000

000

00

02

164

132

116

18

14

12

******** *

******** * *

******** * * *

******** * * * *

******** * * * * *

******** * * * * * *

9

10

11

12

13

14

Date: 18.04.23File: PRO1_14E.9

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Analog Value Representation of Different Measuring Ranges

Range

Overflow

Overrange

Rated range

Underrange

Underflow

Meas.range± 10V

Voltagee.g.:

>= 11.759

11.7589 :10.0004

10.00 7.50 :-7.5-10.00

- 10.0004 :- 11.759

<= - 11.76

Units

32767

32511 :27649

2764820736 :-20736-27648

- 27649 :- 32512

- 32768

Meas.range4 .. 20mA

Currente.g.:

>= 22.815

22.810 :20.0005

20.00016.000 : :4.000

3.9995 :1.1852

<= 1.1845

Units

32767

32511 :27649

2764820736 : :0

- 1 :- 4864

- 32768

Meas.range-200...+850ºC

Temperaturee.g. Pt100

Units

32767

10000 :8501

8500 : : :-2000

- 2001 :- 2430

- 32768

>= 1000.1

1000.0 :850.1

850.0 : : :-200.0

- 200.1 :- 243.0

<= - 243.1

Meas.range0...300Ohm

Resistancee.g.:

>=352.778

352.767 :300.011

300.000225.000 : :0.000

Negative valuesnot possible

Units

32767

32511 :27649

2764820736 : :0

- 32768

- 1 :- 4864

Date: 18.04.23File: PRO1_14E.10

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Scaling Analog Input Values

500,0

0,00 27648

Date: 18.04.23File: PRO1_14E.11

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Unscaling a Real Number for Analog Output

27648

0 0,0 100,0

Date: 18.04.23File: PRO1_14E.12

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Analog Value Representation for the Analog Outputs

Range

Overflow

Overrange

Rated range

Underrange

Underflow

Units

>=32767

32511 :27649

27648 :0 :- 6912

- 6913 : : :- 27648

- 27649 :- 32512

<=- 32513

Output ranges:

Voltage

0

11.7589 :10.0004

10.0000 : 0

0 to 10V 1 to 5V

0

5.8794 :5.0002

5.0000 :1.0000

0

11.7589 :10.0004

10.0000 : 0 : : : : : : :-10.0000

- 10.0004 :- 11.7589

0

± 10V

0 0.9999

0

0

Output ranges:

Current

0

23.515 :20.0007

20.000 : 0

0 to 20mA 4 to 20mA

0

22.81 :20.005

20.000 :4.000

0

23.515 :20.0007

20.000 : 0 : : : : : : :-20.000

- 20.007 :- 23.515

0

± 20mA

0 3.9995

0

0

Date: 18.04.23File: PRO1_14E.13

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Exercise: Assigning Parameters to the Analog Module SM335

Date: 18.04.23File: PRO1_14E.14

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Exercise: Assigning Parameters to the Analog Module SM331

Date: 18.04.23File: PRO1_14E.15

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Exercise: Controlling the Level in a Tank

Leveltransmitter

Min. level 50 l.When the level falls belowthis, a message is to beoutput at output Q9.2(Q 5.2).

Max. level of 600 l,equals 10 V at analog channel 0

Date: 18.04.23File: PRO1_14E.16

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Exercise: Diagnostic Interrupt from an Analog Module

Analog input module

When the value measured at an analog channel of the module exceeds the overflow range, OB82 is called, as well as when it re-enters the range.

Rated range

Overrange

Overflow

Task:Output Q 9.1 (Q 5.1) is to flash as longas one of the encoded values is in the overflow range. .