plc siemens5

Upload: timothy-leonard

Post on 14-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 PLC siemens5

    1/24

    Date: 04.09.2013File: SYH_06E.1

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Hardware Configuration and Memory Concept

  • 7/30/2019 PLC siemens5

    2/24

    Date: 04.09.2013File: SYH_06E.2

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Memory Concept of the S7-300

    Comments

    Symbols

    Blocks:

    Logic blocks(OB,FC,FB)

    Data blocks(DB)

    Flash EPROMMemory Card in PG(subsequentlyinserted in CPU)

    Blocks:

    Logic blocks(OB,FC,FB) Data blocks(DB)

    Additional info.

    System memory:

    PII, PIQ

    M, T, C

    Retentive

    M, T, C

    Retent. data blocks

    Retentive memory:

    With PowerOFF withoutbatterybackup

    n. reten. reten.

    with PowerON withoutbatterybackup

    RAM

    Blocks:

    Logic blocks

    (OB,FC,FB) Data blocks(DB)

    Additional info.

    Load memory:

    Flash-EPROM

    Work memory:

    OB,FC,FB

    DB

    n. reten. reten.

  • 7/30/2019 PLC siemens5

    3/24

    Date: 04.09.2013File: SYH_06E.3

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Memory Concept of the S7-400

    Comments

    Symbols

    Blocks:

    Logic blocks(OB,FC,FB)

    Data blocks(DB)

    Flash EPROMMemory Card in PG(subsequentlyinserted in CPU)

    Blocks:

    Logic blocks(OB,FC,FB) Data blocks(DB)

    Additional info.

    RAM

    Blocks:

    Logic blocks

    (OB,FC,FB) Data blocks(DB)

    Additional info

    Load memory:

    Flash-EPROM

    System memory:

    PII, PIQ

    M, T, C

    Work memory:

    OB,FC,FB

    DB

    Backupviabattery

  • 7/30/2019 PLC siemens5

    4/24

    Date: 04.09.2013File: SYH_06E.4

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Loading Blocks into /out of Flash EPROM Memory Card

    Load memoryinternal RAM

    "Load"

    Load memoryFlash EPROM"Load in EPROM"

    Work memoryRAM

    After insertingthe memorycard:memory resetrequestand copying

    in workmemorySections

    relevant forexecution

    "Load in PG"

  • 7/30/2019 PLC siemens5

    5/24

    Date: 04.09.2013File: SYH_06E.5

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Hardware Configuration and Parameter Assignment

    Actual configuration Actual configuration and parameter assignmentof an existing hardware.

    Parameter-assignment Establishing the characteristics of parameter-

    assignable blocks, e.g: startup characteristics,retentive areas, etc.)

    Preset configuration Planned hardware configuration andparameter assignment.

    Configuration Assignment of racks, blocks and distributedI/O in the Station window of HW Config.

    You can select the components from ahardware catalog.

  • 7/30/2019 PLC siemens5

    6/24

    Date: 04.09.2013File: SYH_06E.6

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Inserting a Station

  • 7/30/2019 PLC siemens5

    7/24

    Date: 04.09.2013File: SYH_06E.7

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Starting HW Config

  • 7/30/2019 PLC siemens5

    8/24

    Date: 04.09.2013File: SYH_06E.8

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Generating a Hardware Preset Configuration

  • 7/30/2019 PLC siemens5

    9/24

    Date: 04.09.2013File: SYH_06E.9

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Module Address Overview

    Address Overview

  • 7/30/2019 PLC siemens5

    10/24

    Date: 04.09.2013File: SYH_06E.10

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    CPU Properties

    2x

  • 7/30/2019 PLC siemens5

    11/24

    Date: 04.09.2013File: SYH_06E.11

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    CPU Properties: General

  • 7/30/2019 PLC siemens5

    12/24

    Date: 04.09.2013File: SYH_06E.12

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    CPU Properties: Startup

  • 7/30/2019 PLC siemens5

    13/24

    Date: 04.09.2013File: SYH_06E.13

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    CPU Properties: Retentive

    Only relevant if CPUhas no backupbattery

  • 7/30/2019 PLC siemens5

    14/24

    Date: 04.09.2013File: SYH_06E.14

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    CPU Properties: Cycle / Clock Memory

    Clock memory bit 7 6 5 4 3 2 1 0

    Frequency (Hz) 0.5 0.62 1 1.25 2 2.5 5 10

    Period (s) 2 1.6 1 0.8 0.5 0.4 0.2 0.1

  • 7/30/2019 PLC siemens5

    15/24

    Date: 04.09.2013File: SYH_06E.15

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    CPU Properties: Protection

  • 7/30/2019 PLC siemens5

    16/24

    Date: 04.09.2013File: SYH_06E.16

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    CPU Properties: Diagnostics / Clock

  • 7/30/2019 PLC siemens5

    17/24

    Date: 04.09.2013File: SYH_06E.17

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Saving the HW Preset Configuration and Downloading it in Module

    Download(only when CPUis in STOP mode)

  • 7/30/2019 PLC siemens5

    18/24

    Date: 04.09.2013File: SYH_06E.18

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Uploading the HW Actual Configuration to the PG

  • 7/30/2019 PLC siemens5

    19/24

    Date: 04.09.2013File: SYH_06E.19

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Displaying Hardware Diagnostics in the SIMATIC Manager

    2x

  • 7/30/2019 PLC siemens5

    20/24

    Date: 04.09.2013File: SYH_06E.20

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Possible Problems with Configuration

    Configuration cannot be compiledIn S7-300, gaps in configuration

    Situation Result/Remedy

    CPU goes in Stop mode because of aparameter assignment error

    Analog module in incorrect slot

    Analog module signals group errorbecause of incorrect parameterassignment

    Incorrect measuring range foranalog module

    Reload configurationAfter a memory reset, differentparameter assignment of modules

    Create HW station or"Upload Station"

    Not possible to open HW Config.

    Open the station offlineModule parameters cannot be modified

    Configuration cannot be downloadedIncorrect CPU (e.g. CPU 315-2DPinstead of CPU 314)

  • 7/30/2019 PLC siemens5

    21/24

    Date: 04.09.2013File: SYH_06E.21

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Variable Addressing

    2x

  • 7/30/2019 PLC siemens5

    22/24

    Date: 04.09.2013File: SYH_06E.22

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Accessing the Symbol Table

    Once with right

  • 7/30/2019 PLC siemens5

    23/24

    Date: 04.09.2013File: SYH_06E.23

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Exercise: Reading Out and Adapting the Actual Configuration

    Start the SIMATIC Manager

    Step What to Do Result

    1 The tool is started

    2 Open the project "My Project" The project structure is displayed

    3 Download the actual configuration withPLC -> Upload

    A new HW station is created

    4 Check whether the correct modules(order numbers) are entered ???

    5 Enter the correct order numbers forthe modules

    The parameter blocks of the CPUare displayed

    6

    Save the configuration as"My Station" and download theconfiguration

    7 If you have an S7-400 training unit,adapt the addresses (see text)

    The addresses are the same as theS7-300 training unit, version B

  • 7/30/2019 PLC siemens5

    24/24

    Date: 04.09.2013File: SYH_06E.24

    SIMATIC S7Siemens AG 1999. All rights reserved.

    Information and Training Center

    Knowledge for Automation

    Exercise: Assign Parameters to Clock Memory and Test It

    In the CPU assign parameters to aclock memory MB 10

    Step What to Do Result

    1

    3Check the function by programmingan OB 1 with the statementsL MB 10, T QB 9 (QB 5)

    QB9 (QB5) on thesimulator should flash

    Save and download the

    configuration in the CPU2

    MB 10 flashes