Infoplc Net Sitrain 13 Analog Processing

download Infoplc Net Sitrain 13 Analog Processing

of 12

Transcript of Infoplc Net Sitrain 13 Analog Processing

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    1/12

    Date: 2/23/2012File: PRO1_13E.1

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Analog Value Processing

    LevelTransmitter

    High Level

    Low Level

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    2/12

    Date: 2/23/2012File: PRO1_13E.2

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation 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

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    3/12

    Date: 2/23/2012File: PRO1_13E.3

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Using Analog Modules

    Process

    Physicalquantity

    Standardanalog signal

    Sensor Transducer

    Pressure Temperature Flow Speed pH value Viscosity etc.

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

    DAC

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

    Analog output module

    CPU

    ::::::L PIW 304

    T PQW 304:

    Analogactuator

    Physicalquantity

    ..........

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

    ....

    MRmodule ADC

    Resultmemory

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

    Analog input module

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    4/12

    Date: 2/23/2012File: PRO1_13E.4

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Measuring Range Modules

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    5/12

    Date: 2/23/2012File: PRO1_13E.5

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Analog Module Properties

    Double-click

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    6/12

    Date: 2/23/2012File: PRO1_13E.6

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Analog Input Modules

    SM335 (Inputs) SM331

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    7/12

    Date: 2/23/2012File: PRO1_13E.7

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Analog Value Representation of Different Measuring Ranges

    Range

    Overflow

    Overrange

    Rated range

    Underrange

    Underflow

    Meas.range 10V

    Voltagesuch as:

    >= 11.759

    11.7589:

    10.0004

    10.007.50:

    -7.5-10.00

    - 10.0004:

    - 11.759

    = 22.815

    22.810:

    20.0005

    20.00016.000

    ::

    4.000

    3.9995:

    1.1852

    = 1000.1

    1000.0:

    850.1

    850.0:::

    -200.0

    - 200.1:

    - 243.0

    =352.778

    352.767:

    300.011

    300.000225.000

    ::

    0.000

    Negativevalues

    notpossible

    Units

    32767

    32511:

    27649

    2764820736::

    0

    - 32768

    - 1:

    - 4864

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    8/12

    Date: 2/23/2012File: PRO1_13E.8

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Analog Module Addresses for the S7-300

    IM 256to

    270

    336to

    350

    352to

    366

    368to

    382

    304to

    318

    320to

    334

    272to

    286

    288to

    302

    (Send)

    Slot 2 3 4 5 6 7 8 9 10 11

    384

    to

    398

    400

    to

    414

    432

    to

    446

    448

    to

    462

    464

    to

    478

    480

    to

    494

    496

    to

    510

    416

    to

    430

    Rack 1

    R0

    Power

    Supply

    IM

    (Receive)

    PowerSupply CPU

    512

    to

    526

    528

    to

    542

    544

    to

    558

    560

    to

    574

    576

    to

    590

    592

    to

    606

    608

    to

    622

    624

    to

    638

    Rack 2

    IM

    (Receive)

    Power

    Supply

    Rack 3 640

    to

    654

    656

    to

    670

    672

    to

    686

    688

    to

    702

    704

    to

    718

    720

    to

    734

    736

    to

    750

    752

    to

    766

    IM

    (Receive)

    Power

    Supply

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    9/12

    Date: 2/23/2012File: PRO1_13E.9

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Scaling Analog Input Values

    HI_LIM = 500.0

    LO_LIM = 0.0

    0 27648-27648

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

    B

    27648

    HI_LIM = 500.0

    LO_LIM = 0.0

    0

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

    A

    OUT

    IN IN

    OUT

    x x+1

    x x+1

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    10/12

    Date: 2/23/2012File: PRO1_13E.10

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Exercise 1: Assigning Parameters to an Analog Module

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    11/12

    Date: 2/23/2012File: PRO1_13E.11

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Exercise 2: Hardware Diagnosis with Diagnostic Interrupt

  • 7/29/2019 Infoplc Net Sitrain 13 Analog Processing

    12/12

    Date: 2/23/2012File: PRO1_13E.12

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAINTraining forAutomation and Industrial Solutions

    Exercise 3: Scaling an Analog Input (OB35)

    AI2AI1

    Weight 0 to 500kg

    -15V...+15VAI1

    AI2 AO1AO2

    V

    010

    Simulator

    0...10VPIW 304

    AI module

    0...27648

    QW 6

    DO module

    0 to 500 kg

    BCD Display

    1 2 30

    Weight Display

    for I 0.6 = 1

    Display analog value