You are on page 1of 12

Analog Value Processing

High Level

Level Transmitter

Low Level

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.1

SITRAIN Training for


Automation and Industrial Solutions

Objectives
Upon completion of the module the participant will ... ... know the principle of analog value processing

...
... ...

be able to assign parameters to an analog module


be able to address an analog module be able to evaluate the diagnostic interrupt of an analog module

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.2

SITRAIN Training for


Automation and Industrial Solutions

Using Analog Modules


Process Physical quantity Standard analog signal Analog input module CPU : : : : : : L PIW 304

Result memory
MR module

ADC

Sensor

Transducer
500mV 1V 5V 10V 20mA 4 to 20mA etc.

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

Pressure Temperature Flow Speed pH value Viscosity etc.

Analog output module

Physical quantity

Analog actuator

DAC

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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
T PQW 304 :

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.3

SITRAIN Training for


Automation and Industrial Solutions

Measuring Range Modules

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.4

SITRAIN Training for


Automation and Industrial Solutions

Analog Module Properties

Double-click

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.5

SITRAIN Training for


Automation and Industrial Solutions

Analog Input Modules


SM335 (Inputs) SM331

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.6

SITRAIN Training for


Automation and Industrial Solutions

Analog Value Representation of Different Measuring Ranges

Voltage such as: Range Meas.range 10V Overflow Overrange >= 11.759 11.7589 : 10.0004 10.00 7.50 : -7.5 -10.00 - 10.0004 : - 11.759 <= - 11.76 Units

Current such as: Meas.range 4 to 20mA >= 22.815 22.810 : 20.0005 20.000 16.000 : : 4.000 3.9995 : 1.1852 <= 1.1845 Units

Resistance such as: Meas.range Units 0 ...300Ohm >=352.778 352.767 : 300.011 300.000 225.000 : : 0.000 Negative values not possible 32767 32511 : 27649 27648 20736 : : 0 -1 : - 4864 - 32768

Temperature e.g. Pt100 (Standard) Meas.range -200...+850C >= 1000.1 1000.0 : 850.1 850.0 : : : -200.0 - 200.1 : - 243.0 <= - 243.1 Units

32767 32511 : 27649 27648 20736 : -20736 -27648 - 27649 : - 32512 - 32768

32767 32511 : 27649 27648 20736 : : 0 -1 : - 4864 - 32768

32767 10000 : 8501 8500 : : : -2000 - 2001 : - 2430 - 32768

Rated range

Underrange

Underflow

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.7

SITRAIN Training for


Automation and Industrial Solutions

Analog Module Addresses for the S7-300

Rack 3

Power Supply

IM
(Receive)

640 to 654 512 to 526 384 to 398

656 to 670 528 to 542 400 to 414

672 to 686 544 to 558 416 to 430

688 to 702 560 to 574 432 to 446

704 to 718 576 to 590 448 to 462

720 to 734 592 to 606 464 to 478

736 to 750 608 to 622 480 to 494

752 to 766 624 to 638 496 to 510

Rack 2

Power Supply

IM
(Receive)

Rack 1

Power Supply

IM
(Receive)

R 0

Power Supply

IM CPU
(Send)

256 to 270 4

272 to 286 5

288 to 302 6

304 to 318 7

320 to 334 8

336 to 350 9

352 to 366 10

368 to 382 11

Slot

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.8

SITRAIN Training for


Automation and Industrial Solutions

Scaling Analog Input Values

unipolar (M 0.0 = 0)
(Sensor supplies only positive voltage) OUT

bipolar (M 0.0 = 1)
(Sensor also supplies negative voltage) OUT

HI_LIM = 500.0

HI_LIM = 500.0

LO_LIM = 0.0 0
x x+1

IN 27648
Date: File:

LO_LIM = 0.0 -27648


2/23/2012 PRO1_13E.9

x x+1

IN 27648

SIMATIC S7
Siemens AG 2006. All rights reserved.

SITRAIN Training for


Automation and Industrial Solutions

Exercise 1: Assigning Parameters to an Analog Module

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.10

SITRAIN Training for


Automation and Industrial Solutions

Exercise 2: Hardware Diagnosis with Diagnostic Interrupt

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.11

SITRAIN Training for


Automation and Industrial Solutions

Exercise 3: Scaling an Analog Input (OB35)


Simulator
0 V AI1 10

AI module 0...10V

PIW 304

0...27648

AI2 AO1 -15V...+15V AO2

AI1

AI2

Weight 0 to 500kg

BCD Display DO module 0 1 2 3

Display analog value

QW 6
Weight Display for I 0.6 = 1

0 to 500 kg

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date: File:

2/23/2012 PRO1_13E.12

SITRAIN Training for


Automation and Industrial Solutions

You might also like