PRO1 13e Analog

Embed Size (px)

Citation preview

  • 7/21/2019 PRO1 13e Analog

    1/17

    Date: 02.05.2015File: PRO1_13E.1

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Analog Value Processing

    Level

    transmitter

    High level

    Low level

  • 7/21/2019 PRO1 13e Analog

    2/17

    Date: 02.05.2015File: PRO1_13E.2

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Objectives

    Upon completion of this chapter the participant will ...

    ... know the principle of analog value processing

    ... be able to assign parameters to an analog module using the "HW

    Config" tool and will be able to set the measuring range module that

    belongs to the module to the correct position

    ... be able to address an analog module

    ... be able to interpret the resolution of a module

    ... be able to evaluate the result of an analog module in the program

  • 7/21/2019 PRO1 13e Analog

    3/17

    Date: 02.05.2015File: PRO1_13E.3

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    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

    MRmodule

    ADC

    Resultmemory

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

    Analog input module CPU

    ::::::L PIW 352

    T PQW 368:

    Analogactuator

    Physicalquantity

    .........

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

    ...

  • 7/21/2019 PRO1 13e Analog

    4/17

    Date: 02.05.2015File: PRO1_13E.4

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Measuring Range Module

  • 7/21/2019 PRO1 13e Analog

    5/17

    Date: 02.05.2015File: PRO1_13E.5

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Analog Module Parameters

    DoubleClick

  • 7/21/2019 PRO1 13e Analog

    6/17

    Date: 02.05.2015File: PRO1_13E.6

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Analog Input Modules

    SM335 (Inputs) SM331

  • 7/21/2019 PRO1 13e Analog

    7/17

    Date: 02.05.2015File: PRO1_13E.7

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Analog Output Module

    SM335 (Outputs) SM332

  • 7/21/2019 PRO1 13e Analog

    8/17

  • 7/21/2019 PRO1 13e Analog

    9/17

    Date: 02.05.2015File: PRO1_13E.9

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    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

    Negativevaluesnot

    possible

    Units

    32767

    32511:

    27649

    2764820736

    ::

    0

    - 32768

    - 1:

    - 4864

  • 7/21/2019 PRO1 13e Analog

    10/17

    Date: 02.05.2015File: PRO1_13E.10

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    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

  • 7/21/2019 PRO1 13e Analog

    11/17

    Date: 02.05.2015File: PRO1_13E.11

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Analog Module Addresses for the S7-300

    IM256

    to

    270

    336

    to

    350

    352

    to

    366

    368

    to

    382

    304

    to

    318

    320

    to

    334

    272

    to

    286

    288

    to

    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)

    Power

    Supply CPU

    512to

    526

    528to

    542

    544to

    558

    560to

    574

    576to

    590

    592to

    606

    608to

    622

    624to

    638

    Rack 2 IM(Receive)

    PowerSupply

    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/21/2019 PRO1 13e Analog

    12/17

    Date: 02.05.2015File: PRO1_13E.12

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    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/21/2019 PRO1 13e Analog

    13/17

    Date: 02.05.2015File: PRO1_13E.13

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Unscaling Analog Output Values

    27648

    0

    0.0(LO_LIM)

    100.0(HI_LIM)

    IN

    OUT

    0.0(LO_LIM)

    100.0(HI_LIM)

    IN

    OUT

    27648

    -27648

    A

    B

    unipolar (M 0.0 = 0)(Actuator is energized

    only with positive values)

    bipolar (M 0.0 = 1)(Actuator is energized withpositive and negative values)

    0

  • 7/21/2019 PRO1 13e Analog

    14/17

    Date: 02.05.2015File: PRO1_13E.14

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Exercise: Assigning Parameters to the Analog Module SM335

  • 7/21/2019 PRO1 13e Analog

    15/17

    Date: 02.05.2015File: PRO1_13E.15

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Exercise: Assigning Parameters to the Analog Module SM331

  • 7/21/2019 PRO1 13e Analog

    16/17

    Date: 02.05.2015File: PRO1_13E.16

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    Exercise: Hardware Diagnostics with Diagnostic Interrupt

  • 7/21/2019 PRO1 13e Analog

    17/17

    Date: 02.05.2015File: PRO1_13E.17

    SIMATICS7Siemens AG 2002. All rights reserved.

    SITRAINTraining forAutomation and Drives

    CPUExercise: Recording and Displaying the Weight of Transported Parts

    AI2AI1

    Weight 0 to 500kg

    -15V...+15VAI1

    AI2 AO1AO2

    V

    010

    Simulator

    0...10VPIW 352

    (PIW 304)

    AI module

    0...27648

    QW 12(QW 6)

    DO module

    0 to 500 kg

    BCD Display

    1 2 30

    Weight Display

    for I 0.6 = 1