Manual Simocode Pro Pcs7 Library v80 en-US

220
Programming and Operating Manual Industrial Controls Function Block Library SIMOCODE pro for SIMATIC PCS 7 SIMOCODE pro PCS 7 Library V8.0 10/2013 Edition Answers for industry.

Transcript of Manual Simocode Pro Pcs7 Library v80 en-US

  • Programming and Operating Manual

    Industrial ControlsFunction Block Library SIMOCODE pro for SIMATIC PCS 7SIMOCODE pro PCS 7 Library V8.0

    10/2013Edition

    Answers for industry.

  • SIMOCODE pro PCS 7 Library V8.0

    ___________________

    ___________________

    ___________________

    ___________________

    ___________________

    ___________________

    ___________________

    ___________________

    ___________________

    Industrial Controls

    SIMOCODE pro SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual

    10/2013 A5E31625078002A/RS-AA/001

    Introduction 1

    Information about the library 2

    Templates 3

    Faceplate - Views 4

    Description of the blocks 5

    Driver generator 6

    Parameter A

    Technical Data B

    Abbreviations C

  • Siemens AG Industry Sector Postfach 48 48 90026 NRNBERG GERMANY

    3ZX1012-0CS16-2BC0 10/2013 Technical data subject to change

    Copyright Siemens AG 2013. All rights reserved

    Legal information Warning notice system

    This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.

    DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

    WARNING indicates that death or severe personal injury may result if proper precautions are not taken.

    CAUTION indicates that minor personal injury can result if proper precautions are not taken.

    NOTICE indicates that property damage can result if proper precautions are not taken.

    If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.

    Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems.

    Proper use of Siemens products Note the following:

    WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed.

    Trademarks All names identified by are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

    Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.

  • SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 5

    Table of contents

    1 Introduction................................................................................................................................... 9

    1.1 Components of the software package ....................................................................................... 9

    1.2 Installing the library .................................................................................................................. 9

    1.3 Configuration steps ................................................................................................................ 10

    1.4 Driver generator ..................................................................................................................... 10

    1.5 Configuring in HW Config ....................................................................................................... 12

    1.6 Configuring in SIMOCODE ES ............................................................................................... 15 1.6.1 Parameter settings ................................................................................................................. 16

    1.7 Configuring of the fail-safe, digital PROFIsafe module ............................................................ 17

    1.8 Configuration with SIMATIC PDM ........................................................................................... 18

    1.9 Further documentation ........................................................................................................... 18

    2 Information about the library ......................................................................................................... 19

    2.1 Overview of the blocks ........................................................................................................... 19

    2.2 Control functions .................................................................................................................... 19

    2.3 Faceplates - Structure ............................................................................................................ 22

    2.4 Block icons ............................................................................................................................. 25

    2.5 Supported functions ............................................................................................................... 28 2.5.1 Maintenance Station ............................................................................................................... 28 2.5.2 Web Navigator ....................................................................................................................... 28

    3 Templates .................................................................................................................................. 31

    3.1 Overview of the templates, control functions and blocks ......................................................... 31

    3.2 Using templates ..................................................................................................................... 32

    3.3 Template OvlRly ..................................................................................................................... 35

    3.4 Template Direct ...................................................................................................................... 35

    3.5 Template Reverse .................................................................................................................. 36

    3.6 Template MCCB ..................................................................................................................... 36

    3.7 Template StarDel ................................................................................................................... 37

    3.8 Template RevStarDel ............................................................................................................. 37

    3.9 Template Dahland .................................................................................................................. 38

    3.10 Template RevDahl.................................................................................................................. 38

    3.11 Template PoleChng ................................................................................................................ 39

    3.12 Template RevPoleCh ............................................................................................................. 39

  • Table of contents

    SIMOCODE pro PCS 7 Library V8.0

    6 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    3.13 Template SolValve ..................................................................................................................40

    3.14 Template Positner ...................................................................................................................40

    3.15 Template SoftStr .....................................................................................................................41

    3.16 Template RevSoftStr ...............................................................................................................41

    4 Faceplate - Views ....................................................................................................................... 43

    4.1 Batch view @PG_APL_Batch.pdl ............................................................................................43

    4.2 Trend view @PG_APL_Trend.pdl ............................................................................................44

    4.3 Alarm view @PG_APL_Alarm.pdl ............................................................................................45

    4.4 Memo view ..............................................................................................................................46

    4.5 Preview view ...........................................................................................................................46

    4.6 MMMeas - Standard ................................................................................................................48

    4.7 MMStat - Standard ..................................................................................................................52

    4.8 MMTime - Logbook .................................................................................................................54

    4.9 MMRevDhl - Views ..................................................................................................................56 4.9.1 MMRevDhl - Standard .............................................................................................................56 4.9.2 MMRevDhl - Maintenance .......................................................................................................58 4.9.3 MMRevDhl - Preview ...............................................................................................................59

    4.10 MMOprtn - Views ....................................................................................................................61 4.10.1 MMOprtn - Standard................................................................................................................61 4.10.2 MMOprtn - Limits .....................................................................................................................63 4.10.3 MMOprtn - Diagnostics ............................................................................................................64 4.10.4 MMOprtn - Process image .......................................................................................................66

    5 Description of the blocks .............................................................................................................. 75

    5.1 Functions for all blocks ............................................................................................................75 5.1.1 Calling OBs .............................................................................................................................75 5.1.2 Called blocks...........................................................................................................................76 5.1.3 Worst signal status ..................................................................................................................76 5.1.4 Quality code ............................................................................................................................77 5.1.5 Error numbers .........................................................................................................................79 5.1.6 Parameterizable functions via the Feature connection .............................................................80

    5.2 Diagnostics block MMDiag ......................................................................................................81 5.2.1 Description of MMDiag ............................................................................................................81 5.2.2 Message characteristics ..........................................................................................................81 5.2.3 Driver generator ......................................................................................................................83 5.2.4 Start-up characteristics ............................................................................................................83 5.2.5 Module error............................................................................................................................83 5.2.6 IO station failure (PROFIBUS DP or PROFINET IO) ................................................................84 5.2.7 Failure of a PROFIBUS DP station ..........................................................................................85 5.2.8 SIMOCODE pro slave diagnostics ...........................................................................................85 5.2.9 Malfunction when loading the OB ............................................................................................86 5.2.10 Interconnections of the MMDiag block .....................................................................................87

    5.3 Block for MMMeas measured value function ............................................................................88 5.3.1 Description of MMMeas ...........................................................................................................88

  • Table of contents

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 7

    5.3.2 Operating modes .................................................................................................................... 88 5.3.3 Measured values .................................................................................................................... 89 5.3.3.1 Read measured values ........................................................................................................... 90 5.3.3.2 Assignment of the cyclic process image.................................................................................. 92 5.3.3.3 Write analog output ................................................................................................................ 93 5.3.3.4 Acyclic reading ....................................................................................................................... 93 5.3.3.5 Reading and writing data records ........................................................................................... 93 5.3.4 Message characteristics ......................................................................................................... 94 5.3.5 Start-up characteristics ........................................................................................................... 96 5.3.6 Status information .................................................................................................................. 96 5.3.7 Enabled operations ................................................................................................................ 97 5.3.8 Assigning addresses in HW Config ......................................................................................... 97

    5.4 Block for statistical function MMStat ....................................................................................... 99 5.4.1 Description of MMStat ............................................................................................................ 99 5.4.2 Operating modes .................................................................................................................... 99 5.4.3 Statistical values .................................................................................................................. 100 5.4.4 Reading and writing data records ......................................................................................... 101 5.4.5 Message characteristics ....................................................................................................... 102 5.4.6 Start-up characteristics ......................................................................................................... 104 5.4.7 Status information ................................................................................................................ 104 5.4.8 Enabled operations .............................................................................................................. 105 5.4.9 Assigning addresses in HW Config ....................................................................................... 105

    5.5 Block for timestamping MMTime ........................................................................................... 107 5.5.1 Description MMTime ............................................................................................................ 107 5.5.2 Logbook function .................................................................................................................. 108 5.5.3 Messages ............................................................................................................................ 111 5.5.4 Signaling response ............................................................................................................... 113 5.5.5 Driver generator ................................................................................................................... 115 5.5.6 Start-up characteristics ......................................................................................................... 115 5.5.7 Assigning addresses in HW Config ....................................................................................... 115

    5.6 MMRevDhl motor block ........................................................................................................ 116 5.6.1 Application ........................................................................................................................... 116 5.6.1.1 Description of MMRevDhl ..................................................................................................... 116 5.6.1.2 Operating modes .................................................................................................................. 117 5.6.1.3 Mode changeover error ........................................................................................................ 119 5.6.1.4 Forcing operating modes ...................................................................................................... 120 5.6.1.5 Control functions for directions ............................................................................................. 121 5.6.2 Output signal for ready to start .............................................................................................. 121 5.6.3 Resetting of the block ........................................................................................................... 122 5.6.4 Restart lock after changing direction of rotation or switching off the motor ............................. 122 5.6.5 Limit value monitoring with hysteresis ................................................................................... 122 5.6.6 Rapid stop ............................................................................................................................ 122 5.6.7 Specify warning times for controls ........................................................................................ 123 5.6.8 Issuing maintenance release ................................................................................................ 123 5.6.9 Suppressing messages using the MsgLock parameter.......................................................... 124 5.6.10 Simulation ............................................................................................................................ 124 5.6.11 Monitoring functions ............................................................................................................. 125 5.6.12 Motor Protection ................................................................................................................... 127 5.6.13 Interlocking........................................................................................................................... 127 5.6.14 Disabling interlocks .............................................................................................................. 129 5.6.15 Group fault ........................................................................................................................... 130

  • Table of contents

    SIMOCODE pro PCS 7 Library V8.0

    8 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    5.6.16 User-defined auxiliary values and user-defined status ...........................................................130 5.6.17 Message characteristics ........................................................................................................130 5.6.18 Fault handling .......................................................................................................................133 5.6.19 Invalid input signals ...............................................................................................................133 5.6.20 Enable for measurement and statistics ..................................................................................133 5.6.21 Enabled operations ...............................................................................................................134 5.6.22 Status information .................................................................................................................135

    5.7 MMOprtn driver block ............................................................................................................138 5.7.1 Description of MMOprtn.........................................................................................................138 5.7.2 Operating modes...................................................................................................................138 5.7.3 Motor current.........................................................................................................................139 5.7.4 Device functions ....................................................................................................................139 5.7.5 Reading and writing data records ..........................................................................................140 5.7.6 Current limits .........................................................................................................................141 5.7.7 Hysteresis .............................................................................................................................142 5.7.8 Emergency start ....................................................................................................................142 5.7.9 Self-test ................................................................................................................................143 5.7.10 Trip reset...............................................................................................................................144 5.7.11 Group fault ............................................................................................................................144 5.7.12 Fault handling .......................................................................................................................144 5.7.13 Invalid input signals ...............................................................................................................145 5.7.14 Message characteristics ........................................................................................................145 5.7.15 Messages via EventTs message block ..................................................................................146 5.7.16 System text libraries for warning and trip ...............................................................................147 5.7.17 Assigning addresses in HW Config ........................................................................................150 5.7.18 Process images for the MMOprtn block .................................................................................152 5.7.19 Enabled operations ...............................................................................................................166 5.7.20 Status information .................................................................................................................167 5.7.21 Diagnostics information .........................................................................................................168 5.7.22 Assignment of the diagnostics information .............................................................................175

    6 Driver generator ......................................................................................................................... 183

    6.1 Driver blocks .........................................................................................................................183

    6.2 Requirements for generating the module drivers ....................................................................185

    6.3 Object lists and action lists ....................................................................................................185

    A Parameter ................................................................................................................................. 187

    A.1 MMDiag block parameter ......................................................................................................187

    A.2 MMMeas block parameter .....................................................................................................196

    A.3 Block parameter MMStat .......................................................................................................200

    A.4 Block parameter MMTime .....................................................................................................203

    A.5 MMRevDhl block parameter ..................................................................................................205

    A.6 Block parameter MMOprtn.....................................................................................................210

    B Technical Data .......................................................................................................................... 215

    B.1 Header information ................................................................................................................216

    C Abbreviations ............................................................................................................................ 217

  • SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 9

    Introduction 1 1.1 Components of the software package

    The SIMOCODE pro PCS 7 Library V8.0 integrates SIMOCODE pro C / V devices into the PCS 7 environment via blocks.

    The SIMOCODE pro PCS 7 Library V8.0 contains the following components:

    No. Hardware Functions Name FB no. 1 SIMOCODE pro

    DPV1 and SIMOCODE pro PROFINET

    Diagnostics function MMDiag (Page 81)

    FB1300

    2 Measured value function MMMeas (Page 88)

    FB1302

    3 Statistics function MMStat (Page 99) FB1303 4 Time stamping, logbook function MMTime

    (Page 107) FB1304

    5 SIMOCODE pro Motor block control functions for High Feature reversing starters

    MMRevDhl (Page 116)

    FB1305

    6 SIMOCODE pro DPV1 and SIMOCODE pro PROFINET

    Driver block for operating SIMOCODE pro C / V devices

    MMOprtn (Page 138)

    FB1301

    Block library (function blocks and faceplates)

    Diagnostics block MMDiag

    MMMeas, MMStat, MMTime signal blocks

    MMRevDhl motor block

    MMOprtn driver block

    List Manual

    Online help with context-sensitive help

    Installation program

    Readme file for installation

    1.2 Installing the library

    Starting the installation 1. Place the CD in the CD-ROM drive of your PG/PC.

    2. Launch the "setup.exe" program.

  • Introduction 1.3 Configuration steps

    SIMOCODE pro PCS 7 Library V8.0

    10 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    All the other information you need will be provided during the installation process.

    Note Readme file

    Note the information in the readme file.

    1.3 Configuration steps

    Procedure 1. Configuring with HW Config

    2. Make the necessary interconnections for the inputs and outputs in the CFC Editor

    In so doing, all of the inputs and outputs used must be within the process image.

    3. Compile the CFC chart using the "Generate Module Driver" function.

    Reference Additional information is available in the "Process Control System PCS 7 Compendium Part A - Configuration Guidelines" Operating Manual on the Internet (http://support.automation.siemens.com/WW/view/en/63187279).

    1.4 Driver generator The "Generate Module Driver" function is available for signal processing in PCS 7. Once the hardware has been configured in HW Config and the technological functions have been configured in the CFC, this function automatically generates, interconnects, and parameterizes the required module drivers, to the extent possible. These module drivers are responsible for diagnosing and reporting errors during signal processing.

    The Setup program installs XML files for connecting SIMOCODE pro C / V with the driver generator.

    Supported modules and configurations The driver concept for SIMOCODE pro C / V modules takes into account the operation of various SIMOCODE control functions:

    As a DP slave direct on the DP master system (connection via GSD, PDM object or S7 module via OM SIMOCODE pro)

    As a DP slave behind a Y-Link (connection via GSD or PDM object)

  • Introduction 1.4 Driver generator

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 11

    As a PROFINET IO Device direct on the PN-IO Controller (connection via GSD or S7 module via OM SIMOCODE pro PN)

    As a shared PN IO Device in conjunction with a PROFIsafe configuration with DM-F PROFIsafe fail-safe digital module on two different IO Controllers (connection via GSD or S7 module via OM SIMOCODE pro PN) for a GSD-file-based configuration.

    Reference 1. You will find the GSD files for SIMOCODE pro C / V on the Internet

    (http://support.automation.siemens.com).

    2. Enter the following search term in the "Product Name or Part Number" field under "Search Product Support Documents:

    SIMOCODE pro C GSD / SIMOCODE pro V / SIMOCODE pro V PN GSD

    3. Under Downloads click the relevant entry, e.g., "PROFIBUS / PROFINET GSD files: Simocode"

    4. This displays another Internet page where you can download the GSD files.

    5. The SIMOCODE pro object manager (OM) is a component part of the SIMOCODE ES 2007 Premium configuring software. To install, select the appropriate "SIMOCODE pro Integration in STEP 7" option when executing the Setup program for SIMOCODE pro.

    Purpose of the driver generator A signal-processing block is inserted in the CFC for each SIMOCODE pro device, and the connection to the hardware is established using symbolic addressing.

    The "Generate Module Driver" option inserts the additionally required OB_DIAG1 / OB_DIAG1_PN block and then connects and assigns the corresponding parameters.

  • Introduction 1.5 Configuring in HW Config

    SIMOCODE pro PCS 7 Library V8.0

    12 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    1.5 Configuring in HW Config The SIMOCODE pro PROFIBUS and PROFINET devices along with their associated components are inserted and configured in HW Config.

    Note

    The following graphics show example configurations in HW Config.

    SIMOCODE pro C on the DP master system

    Figure 1-1 SIMOCODE pro C on the DP master system

    SIMOCODE Pro V on the DP master system

    Figure 1-2 SIMOCODE Pro V on the DP master system

  • Introduction 1.5 Configuring in HW Config

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 13

    SIMOCODE pro V PN on Industrial Ethernet

    Figure 1-3 SIMOCODE pro V PN on Industrial Ethernet

    SIMOCODE pro V on PROFIBUS DP behind a Y-link

    Figure 1-4 SIMOCODE pro V on PROFIBUS DP behind a Y-link

    SIMOCODE pro V PN on H-CPU via PROFINET

    Figure 1-5 SIMOCODE pro V PN on H-CPU via PROFINET

  • Introduction 1.5 Configuring in HW Config

    SIMOCODE pro PCS 7 Library V8.0

    14 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Supported control functions The SIMOCODE pro Library supports the following control functions:

    On SIMOCODE pro C:

    Direct starter

    Reversing starter

    Overload relay

    Molded-case circuit breaker (MCCB)

    On SIMOCODE pro V:

    Direct starter

    Reversing starter

    Overload relay

    Molded-case circuit breaker (MCCB)

    Star-delta starter

    Star-delta reversing starter

    Dahlander

    Dahlander reversing starter

    Solenoid valve

    Positioners 15

    Pole-changing starter

    Pole-changing reversing starter

    Soft starter

    Soft reversing starter

    See also Description of MMOprtn (Page 138)

  • Introduction 1.6 Configuring in SIMOCODE ES

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 15

    1.6 Configuring in SIMOCODE ES

    Purpose of the SIMOCODE ES software SIMOCODE ES is used to configure SIMOCODE pro devices.

    Note

    Transmission of modified device parameters is possible under the following conditions: The device is not in the SIMOCODE pro "remote" mode. No ON control command is active. No motor current is flowing.

    Note

    Some device parameters can be modified independently of the conditions named above. You can recognize these parameters by the blue motor symbol in front of the parameter.

    Parameter settings SIMOCODE pro requires that some parameters have specific settings to ensure correct operation of the signal blocks:

    Parameters that define the assignment of the cyclic I/O interface. These parameters are shown in italics in the following overview.

    Parameters that are already preset in the templates for application selection in SIMOCODE ES for the control function (*).

    General settings (valid for all control functions)

    Device parameters Bus parameters Diagnosis triggered by device fault Active Diagnosis triggered by process faults Active Diagnosis triggered by process warnings Active * Diagnosis triggered by process messages

    Not active

    Startup parameter block Active Configuration with SIMOCODE ES or SIMATIC PDM

    Standard functions Test/reset Test 1 Cyclic receive bit 0.3 Reset 1 Cyclic receive bit 0.6 Emergency start Cyclic receive bit 0.4

    The settings are a suggestion. They depend on the actual wiring of the SIMOCODE pro inputs and outputs.

  • Introduction 1.6 Configuring in SIMOCODE ES

    SIMOCODE pro PCS 7 Library V8.0

    16 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Settings for other parameters are required, for example, for motor protection. These are not described here.

    1.6.1 Parameter settings The following list shows the settings for the parameters in SIMOCODE ES.

    Table 1- 1 Parameter settings in SIMOCODE ES

    Control function Template APL block Parameters in SIMOCODE ES

    Non-maintained command

    Saving change-over command

    Feedback time

    Execution time

    Inter-locking time

    Change-over pause

    Overload relay OvlRly MMOprtn Direct starter Direct MotL Default Reversing starter Reverse MotRevL Default Default Circuit breaker MCCB MotL Default Star-delta starter StarDel MotL Default Star-delta reversing starter

    RevStarDel MotRevL Default Default

    Dahlander Dahland MotSpdL Default Default Dahlander reversing starter

    DevDahl MMRevDhl Default Default

    Pole-changing starter

    PoleChng MotSpdL Default Default

    Pole-changing reversing starter

    RevPoleCh MMRevDhl Default Default

    Solenoid valve SolValve VlvL Default Positioner 1 Positner VlvMotL Default Positioner 2 Positner VlvMotL Default Default Positioner 3 Positner VlvMotL Default Positioner 4 Positner VlvMotL Default Positioner 5 Positner VlvMotL Default Soft starter SoftStr MotL Default Soft reversing starter RevSoftStr MotRevL Default Default < Dynamic monitoring time, MonTiDynamic MonTiStatic

    < Pause time < Change-over time not applicable

  • Introduction 1.7 Configuring of the fail-safe, digital PROFIsafe module

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 17

    1.7 Configuring of the fail-safe, digital PROFIsafe module From product version E06 onwards, SIMOCODE pro V supports the DM-F PROFIsafe fail-safe module, with which safety-related tripping of the motor is possible from an F-CPU via PROFIBUS / PROFIsafe.

    From the perspective of the fail-safe section of the controller that transfers fail-safe signals via PROFIBUS / PROFIsafe, the DM-F PROFIsafe module represents a digital output with which the two relay enabling circuits of the DM-F PROFIsafe module can be switched on simultaneously or tripped in a fail-safe manner.

    To enable fail-safe tripping via the DM-F PROFIsafe by the F-CPU, the PROFIsafe module must be configured in addition to the module for basic type 1 or 2 when integrating via GSD or PDM. When integrating via OM SIMOCODE pro, configuring must be carried out with PROFIsafe.

    Address assignment Of the DM-F PROFIsafe module's assigned addresses, user data is assigned to the following output address in the F-CPU:

    Byte in F-CPU

    Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

    x+0 Output

    Note

    You are only allowed to access the address reserved for user data (output byte x, bit 0). Other address ranges assigned by DM-F PROFIsafe, are, among other things, reserved for safety-related communication between the DM-F PROFIsafe module and the F-CPU according to PROFIsafe.

    Additional information Detailed information on accessing the F I/O can be found in the S7 F / FH Systems, Configuring and Programming (http://support.automation.siemens.com/WW/view/en/2201072) manual.

    Assignment of the PROFIsafe address Each DM-F PROFIsafe fail-safe digital module has its own PROFIsafe address. You must set the PROFIsafe address on the module prior to commissioning.

    The PROFIsafe addresses (F_Source_Add, F_Dest_Add) are automatically assigned when you configure the DM-F PROFIsafe module in STEP 7.

    You can find the PROFIsafe address that must be set on the DM-F PROFIsafe module in the HW Config under the object properties for the PROFIsafe module; it is shown in decimal and hexadecimal notation in the F_Dest_Add parameter. Convert this address to binary notation and set it via the DIP address switch on the DM-F PROFIsafe module.

  • Introduction 1.8 Configuration with SIMATIC PDM

    SIMOCODE pro PCS 7 Library V8.0

    18 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Enter an icon for the fail-safe output in HW Config. In conjunction with F systems, this icon is then connected in CFC with the fail-safe channel driver (output VALUE). When integrating SIMOCODE pro V with GSD file via the Object Manager (OM), the F_CH_BO block is used as the channel driver.

    Additional information Please refer to the system manual "SIMOCODE pro Safety - fail-safe digital modules (www.siemens.de/industrial-controls/manuals)" for more information on using the fail-safe digital modules.

    1.8 Configuration with SIMATIC PDM You can use the SIMATIC PDM software to configure the SIMOCODE pro C / V devices. The devices are accessed via the PROFIBUS interface.

    You can find information on configuration using the SIMATIC PDM software in the documentation for SIMATIC PDM and SIMOCODE pro EDD.

    Note

    Transmission of modified device parameters is possible under the following conditions: The device is not in the SIMOCODE pro "remote" mode. No ON control command is active. No motor current is flowing.

    1.9 Further documentation

    Overview More information

    Online help for PCS 7 Advanced Process Library V8.0

    Online help for SIMATIC PCS 7 Process Control System

    Function manuals for SIMATIC PCS 7 Process Control System on the Internet (http://support.automation.siemens.com/WW/view/en/10806846/133300)

    System Manual SIMOCODE pro PROFINET on the Internet (http://support.automation.siemens.com/WW/view/en/61896631)

  • SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 19

    Information about the library 2 2.1 Overview of the blocks

    The library contains the following blocks for SIMOCODE pro:

    Table 2- 1 Blocks

    No. Name Function 1 MMDiag (Page 81) Diagnostics function 2 MMMeas (Page 88) Measured value function 3 MMStat (Page 99) Statistics function 4 MMTime (Page 107) Time stamping, logbook function 5 MMRevDhl (Page 116) Control functions for High Feature reversing starters 6 MMOprtn (Page 138) Function for operating SIMOCODE pro devices

    2.2 Control functions The library supports all SIMOCODE pro control functions. Motor blocks of the Advanced Process Library (APL) are used for this. For control functions that are not supported by the APL motor blocks (two directions of rotation, two speeds), the library contains the block MMRevDhl.

    For communication with the SIMOCODE pro device, the channel block FbSwtMMS from the APL is used.

    Device-specific functions that do not belong to the standard of the APL motor blocks are provided by the other blocks of the SIMOCODE pro Library.

  • Information about the library 2.2 Control functions

    SIMOCODE pro PCS 7 Library V8.0

    20 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Control functions and blocks The table shows the control functions and the corresponding blocks with which the APL is linked into the SIMOCODE pro PCS 7 Library V8.0.

    Table 2- 2 Control functions and blocks

    Control functions APL blocks Blocks from the SIMOCODE pro Library

    Overload relay1 MMOprtn MMDiag MMMeas MMStat MMTime

    Direct starter Soft starter Circuit breaker Star-delta starter

    MotL

    Reversing starter Star-delta reversing starter Soft reversing starter

    MotRevL

    Dahlander Pole-changing starter

    MotSpdL

    Solenoid valve VlvL Positioners 15 VlvMotL Dahlander reversing starter Pole-changing reversing starter

    MMRevDhl MMOprtn MMDiag MMMeas MMStat MMTime

    1 MMOprtn can be used for the overload relay control function without APL motor blocks.

  • Information about the library 2.2 Control functions

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 21

    Converting the blocks to SIMOCODE pro faceplates

    Figure 2-1 SIMOCODE pro APL PCS 7 V8.0

    Reference For more information, refer to the Function Manual "PCS7 Process Control System, PCS7 Advanced Process Library V8.0" on the Internet (http://support.automation.siemens.com/WW/view/en/57265842).

    See also Overview of the templates, control functions and blocks (Page 31)

  • Information about the library 2.3 Faceplates - Structure

    SIMOCODE pro PCS 7 Library V8.0

    22 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    2.3 Faceplates - Structure A faceplate displays all the elements of a block graphically. The faceplate is displayed in a separate window on the Operator Station (OS). You can call the faceplate:

    Using picture selection keys

    From the process tag list

    By clicking the specific block icon

    Structure of a faceplate

    Name of block Comments, e.g., name of starter "Pin faceplate" button:

    You can use this button to secure the faceplate when switching the range. "Back to Process" button:

    You can use this button to return to the original process picture. Toolbar for selecting the view:

    Right clicking on an entry opens the selected view in a separate window. Overview window

    Icons

    Standard Maintenance Memo Alarm Preview Batch Limits Diagnostics Logbook Trend Process image

  • Information about the library 2.3 Faceplates - Structure

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 23

    Overview window The overview window shows the overall status of the block:

    Group display:

    Indicates whether unacknowledged alarms and warnings are pending. LOCK status for messages, authorization level 5 and higher Message suppression Message acknowledgement, authorization level 5 and higher Occupied - Batch:

    This function indicates whether the block instance of SIMATIC BATCH is assigned. Signal status of the block Reserved

    Expanded command area For inputs in the dialog window that require confirmation by the operator, the command area is expanded in the faceplate. The corresponding options are then available, depending on the selection.

    Figure 2-2 Example of expanded command area

    The expanded command area can be programmed with a 2- or 3-level access concept for the operator. The access can be changed in the WinCC Explorer using the internal @APLCommandExecutionSteps variable. Level 2: The operator only needs to press the command to execute. Level 3: The operator must also press the OK button to execute the command.

  • Information about the library 2.3 Faceplates - Structure

    SIMOCODE pro PCS 7 Library V8.0

    24 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Authorization levels Some commands are subject to permission with authorization levels via WIN CC. The authorization levels are updated when a view is opened. The user can only execute the commands that are enabled for him.

    The authorization levels are created for the project by means of a user ID.

    Figure 2-3 Assigning authorization levels in WinCC

    Configuration aids Software and templates for configuring faceplates:

    The Graphics Designer in WinCCExplorer

    Templates in the Faceplate Designer

    PCS 7-specific standard views Trend, Batch, Alarm, Memo

    Additionally required views, user objects, and functions

    Reference The configuration of faceplates and icons follow the standards of the Advanced Process Library.

    For more information about this and authorization levels, refer to Function Manual "Process Control System PCS7, PCS7 Advanced Process Library V8.0" on the Internet (http://support.automation.siemens.com/WW/view/en/57265842).

  • Information about the library 2.4 Block icons

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 25

    2.4 Block icons

    Creating block icons in CFC The MMTime, MMRevDhl and MMOprtn blocks can each be displayed via various block icons.

    To create a block icon, select the number for the appropriate block icon in the object properties of the block, e.g. the number 7 for the Dahlander control function. During the AS-OS compilation, the block icons are extracted from file @PCS7Typicals_MM80.pdl to the picture file of the current project.

    Clicking on the block icon opens the corresponding faceplate and the block icon remains highlighted as long as this faceplate is opened.

    MMTime block icons The MMTime block provides 2 block icons.

    Table 2- 3 MMTime block icons

    Number Icon 1

    2

  • Information about the library 2.4 Block icons

    SIMOCODE pro PCS 7 Library V8.0

    26 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    MMRevDhl block icons The MMRevDhl block provides 2 block icons.

    Table 2- 4 MMRevDhl block icons

    Number Icon 1

    2

    MMOprtn block icons The MMOprtn block provides the following block icons:

    Table 2- 5 MMOprtn block icons

    Number SIMOCODE pro control function Icon 1 Overload relay

    2 13

    Direct starter / soft starter

    3 14

    Reversing starter / soft starter

    4 Molded-case circuit breaker (MCCB)

  • Information about the library 2.4 Block icons

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 27

    Number SIMOCODE pro control function Icon 5 Star-delta starter

    6 Star-delta reversing starter

    7 9

    Dahlander / pole-changing starter

    8 10

    Dahlander reversing starter / Pole-changing reversing starter

    11 Solenoid valve

    12 Positioners 1-5

    The status display at the block icon depends upon the final status of the drive, but not on the feedback received from the drive.

    See also Description of MMOprtn (Page 138)

    Description MMTime (Page 107)

    Description of MMRevDhl (Page 116)

  • Information about the library 2.5 Supported functions

    SIMOCODE pro PCS 7 Library V8.0

    28 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    2.5 Supported functions

    2.5.1 Maintenance Station The SIMOCODE pro Library PCS 7 V8.0 supports the function of the Maintenance Station, via GSD, via PDM object, and via OM SIMOCODE pro.

    2.5.2 Web Navigator The SIMOCODE pro PCS 7 Library V8.0 supports the Web Navigator functions.

    You will find further information on configuring the Web Navigator functions in the manual "PCS 7 - OS Web Option" under C:\Program Files\SIEMENS\Documentation\English.

    MMRevDhl faceplate in the Web Navigator

  • Information about the library 2.5 Supported functions

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 29

    MMOprtn faceplate in the Web Navigator

    MMMeas faceplate in the Web Navigator

  • Information about the library 2.5 Supported functions

    SIMOCODE pro PCS 7 Library V8.0

    30 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    MMStat faceplate in the Web Navigator

  • SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 31

    Templates 3 3.1 Overview of the templates, control functions and blocks

    The templates from the SIMOCODE pro PCS 7 Library V8.0 are templates that you can adopt unchanged to implement control functions in your project. The templates thus simplify the engineering for configuring the blocks and they support their problem-free functioning.

    You can also modify the templates or create completely new ones. The interconnections that must then be created manually can be found in the available templates.

    Templates for the control functions The table below assigns the possible control functions to the associated template:

    Table 3- 1 Templates for the control functions

    No. Control function Template APL blocks SIMOCODE blocks

    1 Overload relay OvlRly (Page 35) FbSwtMMS MMOprtn1 MMMeas MMStat MMTime

    2 Direct starter Direct (Page 35) MotL1 EventTs FbSwtMMS

    3 Reversing starter Reverse (Page 36) MotRevL1 EventTs FbSwtMMS

    4 Circuit breaker MCCB (Page 36) MotL1 EventTs FbSwtMMS

    5 Star-delta starter StarDel (Page 37) MotL1 EventTs FbSwtMMS

    6 Star-delta reversing starter RevStarDel (Page 37) MotRevL1 EventTs FbSwtMMS

    7 Dahlander Dahland (Page 38) MotSpdL1 EventTs FbSwtMMS

    8 Dahlander reversing starter RevDahl (Page 38) EventTs FbSwtMMS

    MMRevDhl1 MMOprtn1 MMMeas MMStat MMTime

    9 Pole-changing starter PoleChng (Page 39) MotSpdL1 EventTs FbSwtMMS

    MMOprtn1 MMMeas MMStat MMTime

  • Templates 3.2 Using templates

    SIMOCODE pro PCS 7 Library V8.0

    32 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    No. Control function Template APL blocks SIMOCODE blocks

    10 Pole-changing reversing starter

    RevPoleCh (Page 39) EventTs FbSwtMMS

    MMRevDhl1 MMOprtn1 MMMeas MMStat MMTime

    11 Solenoid valve SolValve (Page 40) VlvL1 EventTs FbSwtMMS

    MMOprtn1 MMMeas MMStat MMTime 12 Positioners 15 Positner (Page 40) VlvMotL1

    EventTs FbSwtMMS

    13 Soft starter SoftStr (Page 41) MotL1 EventTs FbSwtMMS

    14 Soft reversing starter RevSoftStr (Page 41) MotRevL1 EventTs FbSwtMMS

    1 Block icon available

    For more information about the APL blocks, refer to the Function Manual "PCS7 Process Control System, PCS7 Advanced Process Library V8.0" on the Internet (http://support.automation.siemens.com/WW/view/en/57265842).

    3.2 Using templates The templates for the control functions are located in the SIMOCODE pro Library under: Simocode Pro PCS7 LibV80 > Blocks+Templates\Templates >

    Select a template, e.g. Reverse for a reversing starter, and drag and drop it to the CFC chart. Alternatively, you can also copy the template direct to the chart container or to the required location in the technological hierarchy view.

  • Templates 3.2 Using templates

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 33

    Figure 3-1 Catalog with templates

    To edit the template, right-click on the template and select "Open" from the shortcut menu. The template is opened as a CFC chart.

    Manual interconnections In the CFC chart, connect "Input Word Address of Simocode base Module" in the right-hand sheet bar with the logical address of the basic unit.

    There are two ways of doing this:

    Via the already created symbolic name

    Via direct input of the calculated address

    Repeat the procedure on CFC sheet 2. To do so, change the view in CFC with the selection list Sheet / Overview in the symbol bar.

  • Templates 3.2 Using templates

    SIMOCODE pro PCS 7 Library V8.0

    34 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Automatic interconnections If the option "Generate Block Driver is activated in the "Compile Program" dialog, interconnections that are not yet available but that are necessary will be automatically executed.

    Table 3- 2 Automatic interconnections

    CFC Sheet 1 CFC Sheet 2 Inputs Diagnostic Address of Simocode Pro Module

    Logical Address of Simocode Pro Module ModFAct from MMDiag Slv_Typ from MMDiag RdEn from MMDiag RackFAct from MMDiag OMODE_00 of MOD_SWT

    Outputs Output word of the basic module

    In addition to the interconnections, the driver generator automatically generates the following charts and connects them with the template:

    SUBNET DP

    OB_DIAG1

    RACK

    MMDiag

    MOD_SWT

    The textual interconnections supplied in the template can be deleted individually and entirely. The driver generator replaces the textual interconnections automatically.

    You control deletion of the textual interconnections using the menu command Options Delete Textual Interconnections.

    Remove unused blocks The following blocks (CFC Sheet 2) are not absolutely necessary for operating SIMOCODE:

    MMMeas

    MMStat

    MMTime

    They provide further functions such as measured values (e.g. temperature), statistical data, and time stamping.

    These blocks can be deleted (right mouse key delete or select block Del). After renewed compiling and downloading to the PLC, these functionalities are no longer available for the user program.

  • Templates 3.3 Template OvlRly

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 35

    3.3 Template OvlRly This template supports the control function Overload relay.

    It contains one instance each of the following blocks:

    MMOprtn

    MMMeas

    MMStat

    MMTime

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library and create the necessary links

    to the respective blocks.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

    3.4 Template Direct This template supports the control function Direct starter.

    It contains one instance each of the following blocks:

    MotL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

  • Templates 3.5 Template Reverse

    SIMOCODE pro PCS 7 Library V8.0

    36 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    3.5 Template Reverse This template supports the control function Reversing starter.

    It contains one instance each of the following blocks:

    MotRevL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

    3.6 Template MCCB This template supports the control function Circuit breaker.

    It contains one instance each of the following blocks:

    MotL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

  • Templates 3.7 Template StarDel

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 37

    3.7 Template StarDel This template supports the control function Star-delta starter.

    It contains one instance each of the following blocks:

    MotL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

    3.8 Template RevStarDel This template supports the control function Star-delta reversing starter.

    It contains one instance each of the following blocks:

    MotRevL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

  • Templates 3.9 Template Dahland

    SIMOCODE pro PCS 7 Library V8.0

    38 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    3.9 Template Dahland This template supports the control function Dahlander.

    MotSpdL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

    3.10 Template RevDahl This template supports the control function Dahlander reversing starter.

    MMRevDhl

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

  • Templates 3.11 Template PoleChng

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 39

    3.11 Template PoleChng This template supports the control function Pole-changing starter.

    MotSpdL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

    3.12 Template RevPoleCh This template supports the control function Pole-changing reversing starter.

    MMRevDhl

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

  • Templates 3.13 Template SolValve

    SIMOCODE pro PCS 7 Library V8.0

    40 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    3.13 Template SolValve This template supports the control function Solenoid valve.

    VlvL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

    3.14 Template Positner This template supports the control function Positioner.

    VlvMotL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

  • Templates 3.15 Template SoftStr

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 41

    3.15 Template SoftStr This template supports the control function Soft starter.

    MotL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

    3.16 Template RevSoftStr This template supports the control function Soft reversing starter.

    MotRevL

    MMOprtn

    MMMeas

    MMStat

    MMTime

    EventTs

    FbSwtMMS

    Interconnections 1. Instantiate the template from the SIMOCODE pro Library.

    2. Link the parameters PZDIn01 (SIMOCODE blocks) / PZDIn1 (FbSwtMMS) with the logical address of the starter.

  • Templates 3.16 Template RevSoftStr

    SIMOCODE pro PCS 7 Library V8.0

    42 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

  • SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 43

    Faceplate - Views 4 4.1 Batch view @PG_APL_Batch.pdl

    Batch view

    BatchEn Enable status of the batch (Status1.Bit1) Occupied Occupied status of batch (Status1.Bit0) BatchName Name of batch BatchID Identification number of the batch StepNo Number of steps

  • Faceplate - Views 4.2 Trend view @PG_APL_Trend.pdl

    SIMOCODE pro PCS 7 Library V8.0

    44 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    4.2 Trend view @PG_APL_Trend.pdl The "Trend" view is available in blocks in which curves are generated online from measured values, for example, the motor current.

    The "Trend" view is available in the MMRevDhl, MMOprtn and MMMeas blocks.

    Trend view

    Configuring the view The block parameters that are evaluated for the trend are configured in the block icon of the block. To configure the view, use the TrendPictureName, TrendConfiguration and Trend colour properties. Up to 10 parameters can be used for the view

    1. The file name TrendPictureName is identical for all the blocks in the library: "@PCS7_APL_TrendBin.PDL".

    2. TrendConfiguration is entered in the following format: ;;; e.g. MotCurr#Value;_TrendCtrl1_;Reserved;MotorCurrent

    3. Trend colour determines the color of the curve.

  • Faceplate - Views 4.3 Alarm view @PG_APL_Alarm.pdl

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 45

    4.3 Alarm view @PG_APL_Alarm.pdl The "Alarm" view is available in the MMRevDhl, MMOprtn, MMStat, MMMeas and MMTime blocks.

    Alarm view

    Figure 4-1 Alarm view, MMRevDhl as an example

    Figure 4-2 Alarm view, with an example of MMTime for SIMOCODE pro V PROFIBUS

  • Faceplate - Views 4.4 Memo view

    SIMOCODE pro PCS 7 Library V8.0

    46 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    4.4 Memo view In the "Memo" view, you can leave temporary messages for other OS operators. You enter them in the input field and store them by selecting the "Active memo checkbox."

    The "Memo" view is available in the MMRevDhl block.

    Memo view

    The next time the faceplate is opened and the process display is changed, the user will be informed in the status line of the block icon and the faceplate that a new message exists.

    Switching off the radio button clears the displays on the status lines.

    4.5 Preview view The preview shows the enabled operations for each signal block.

    The operator may execute the command.

    The operator may execute the command. The command is currently blocked by a process in the block.

    The operator is not permitted to execute the command.

  • Faceplate - Views 4.5 Preview view

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 47

    Preview MMOprtn

    Preview MMMeas

    Preview MMStat

    See also MMRevDhl - Preview (Page 59)

  • Faceplate - Views 4.6 MMMeas - Standard

    SIMOCODE pro PCS 7 Library V8.0

    48 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    4.6 MMMeas - Standard

    Standard 1 view

    Display of the operating mode Current values

    Current values as bars (Curr_OpScale high value, low value) Phase current in % le (CurrL1, CurrL2, CurrL3)

    Maximum motor current in % le (ImMax) Last trip current in % le (TripCurr) Phase unbalance in % (PhaUnbal)

  • Faceplate - Views 4.6 MMMeas - Standard

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 49

    Voltage values Current values UL1-UL3 as bars (Vol_OpScale high value, low value) in volts (MotVol1, MotVol2, MotVol3) Active power in watts (ActPower) Apparent power in VA (AppPower) Power factor Cos phi in % (MotCosPhi)

    Button for updating the data (RdDataOp). Button is deactivated if RackF_Act = 1.

  • Faceplate - Views 4.6 MMMeas - Standard

    SIMOCODE pro PCS 7 Library V8.0

    50 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Standard 2 view

    Thermal motor model

    Thermal memory in % (ThmMotMod) Remaining motor cooling-down period (MotColTm) Remaining time to trip (Triptime)

    Temperature module 1 (for SIMOCODE pro devices) Temperature module values (MaxTemp, TMTemp1, TMTemp2, TMTemp3)

    Ground fault detection module Ground fault current (EFltCurr) Last trip current (ETrpCurr)

    Analog module 1 (for SIMOCODE pro devices) Analog values as bars (Ana_OpScale high value, low value) Analog values in % (AMIn1, AMIn2, AMIn3, AMOut)

    Button for updating the data (RdDataOp). Button is deactivated if RackF_Act = 1.

  • Faceplate - Views 4.6 MMMeas - Standard

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 51

    Standard 3 view (for SIMOCODE pro V PROFINET devices)

    Temperature module 2

    Temperature module values (Max2Temp, TM2Temp1, TM2Temp2, TM2Temp3) Analog module 2

    Analog values as bars (Ana_OpScale high value, low value) Analog values in % (AM2In1, AM2In2, AM2Out)

    Button for updating the data (RdDataOp). Button is deactivated if RackF_Act = 1.

  • Faceplate - Views 4.7 MMStat - Standard

    SIMOCODE pro PCS 7 Library V8.0

    52 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    4.7 MMStat - Standard

    Standard 1 View

    Display of the mode and button for switching between modes Operating hours (D_OpH, M_OpH, M_IntOpH) Number of starts, number of starts "clockwise," number of starts "counterclockwise"

    (N_Strt, N_IntCwStrt, N_IntCcwStrt) Permissible starts (P_Strt) Motor stop time (M_StpTm)

    Consumed energy in KWh (EngyCon) Number of parameterizations (N_Param) Number of overload trips (N_OvlTrp) Number of internal overload trips (N_IntOvlTrp)

    Time until test required (TmTstReq) Button for updating the data (RdDataOp). Button is deactivated if RackF_Act = 1.

  • Faceplate - Views 4.7 MMStat - Standard

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 53

    Standard 2 View

    Timers

    Timers 1-4 (Tmr1Act, Tmr2Act, Tmr3Act, Tmr4Act) Timers 5-6 (Tmr5Act, Tmr6Act) (for SIMOCODE pro PROFINET devices)

    Counter Counters 1-4 (Cnt1Act, Cnt2Act, Cnt3Act, Cnt4Act) Counters 5-6 (Cnt5Act, Cnt6Act) (for SIMOCODE pro PROFINET devices)

    Calculation modules Calculation modules 1-2 Output (CalMod1Out, CalMod2Out) Calculation modules 3-4 Output (CalMod3Out, CalMod4Out) (for SIMOCODE pro PROFINET devices)

    Button for updating the data (RdDataOp). Button is deactivated if RackF_Act = 1.

  • Faceplate - Views 4.8 MMTime - Logbook

    SIMOCODE pro PCS 7 Library V8.0

    54 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    4.8 MMTime - Logbook The Logbook view shows the error buffer with tripping faults and events (Page 108) saved by a SIMOCODE pro device.

    The logbook can be updated using the "Refresh" button.

    Logbook view for PROFIBUS With PROFIBUS, up to 21 messages are listed with ID and operating hours of the device.

    Figure 4-3 Logbook view for PROFIBUS

    Note Alarm view

    In the Alarm view (Page 45), the information is entered if the time stamping function is activated.

  • Faceplate - Views 4.8 MMTime - Logbook

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 55

    Logbook view for PROFINET With PROFINET, up to 21 messages are listed with ID and real-time stamp.

    Figure 4-4 Logbook view for PROFINET

  • Faceplate - Views 4.9 MMRevDhl - Views

    SIMOCODE pro PCS 7 Library V8.0

    56 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    4.9 MMRevDhl - Views

    4.9.1 MMRevDhl - Standard

    Standard view

    Buttons

    for switching between modes (AutoModOp, ManModOp, LocalOp, OosOp)

    for starting and stopping the motor (FwdMan, FFwdMan, RevMan, FRevMan, StopMan)

    for resetting the trip (TrpRstOp) The buttons open the expanded command area; authorization level 5 and higher

    Interlocks and Bypass conditions Status of enable (Permit, Perm_En) Protection (Protect, Prot_En) Interlocking (IntLock, Intl_En)

    Analog user-defined auxiliary values (UserAna1) Button for switching to the standard view of a faceplate.

    Display is only visible when the corresponding block input is connected. Status display of the block, e.g. monitoring, maintenance, errors. Automatic preview

    The display is only visible in "manual mode," in "local mode," or with a reset request in "automatic mode," when the current output signals are not identical to the control in "automatic mode." The display shows what state the motor would enter if you switched from "manual" or "local" mode to "automatic mode," or performed a reset to "automatic mode."

    Motor status (see table)

  • Faceplate - Views 4.9 MMRevDhl - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 57

    Icons for motor status Status Symbol Status Symbol Motor running forward

    Motor running in reverse

    Motor running fast forward

    Motor running in fast reverse

    Motor fault

    Motor stops

    See also Interlocking (Page 127)

  • Faceplate - Views 4.9 MMRevDhl - Views

    SIMOCODE pro PCS 7 Library V8.0

    58 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    4.9.2 MMRevDhl - Maintenance

    Maintenance view

    Monitoring

    Control and runtime in seconds, monitoring time (MonTiDynamic, MonTiStatic) Activation of monitoring (Monitor) opens the expanded command area; authorization level 6 and higher

    Service Activation of simulation (SimOn) Maintenance enable (MS_RelOp) The buttons open the expanded command area; authorization level 7 and higher

    Button on faceplate MMMeas; visible if the input parameter SelMeas is logically combined with an output parameter of MMMeas

    Button on faceplate MMStat; visible if the input parameter SelStat is logically combined with an output parameter of MMStat

    Operator control enable

    The operator may execute the command. The operator cannot execute the command because the command is currently blocked

    by a process. The operator is not permitted to execute the command (OS_Perm). The displays are dependent on the bit values in the OS_PermOut and OS_PermLog parameters.

    See also Monitoring functions (Page 125)

  • Faceplate - Views 4.9 MMRevDhl - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 59

    4.9.3 MMRevDhl - Preview

    Preview view

    "Automatic" display

    If the block is in "Automatic" mode, the current status of the block will be displayed (e.g. "Start

  • Faceplate - Views 4.9 MMRevDhl - Views

    SIMOCODE pro PCS 7 Library V8.0

    60 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    The operator may execute the command. The operator cannot execute the command because the command is currently blocked

    by a process. The operator is not permitted to execute the command. The displays are dependent on the bit values in the OS_PermOut and OS_PermLog parameters.

    Displays the current control signals Enable * 0 = No OS activation enable for starting the motor 1 = Enable for starting / stopping from neutral position Protection * 0 = Protection interlock is active; if the interlock condition disappears, you must perform a reset for the block 1 = Protection interlock is not active Interlock * 0 = Interlocking without reset is active; you may operate the block without reset once the interlocking condition is cleared 1 = Interlock is not active Local: 1 = Block operating in Local mode Motor protection: 1 = Motor is in "good" state Interlock deactivated 0 = Bypassing deactivated 1 = Bypassing of the interlock in Local mode and during simulation

    Inputs and outputs Local stop: 1 = Stop motor in Local mode Start Local : 1 = Start motor in Local mode Start Local : 1 = Start motor in Local mode Start Local : 1 = Start motor in Local mode Start Local : 1 = Start motor in Local mode Feedback : 1 = Motor has started and is running forward Feedback : 1 = Motor has started and is running fast forward Feedback : 1 = Motor has started and is running in reverse Feedback : 1 = Motor has started and is running in fast reverse Stop: 1 = Stop motor Start : 1 = Start motor forward Start : 1 = Start motor fast forward Start : 1 = Start motor in reverse Start : 1 = Start motor in fast reverse

    Button for switching to the standard view of a faceplate. * Display is only visible when the corresponding block input is connected.

    See also Preview view (Page 46)

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 61

    4.10 MMOprtn - Views

    4.10.1 MMOprtn - Standard

    Standard view

    Display of the control function Button for changing the operating mode (AutoModOp, ManModOp, LocalOp, OosOp);

    opens the expanded command range Buttons

    for emergency start for testing for resetting the trip (TrpRstOp) The buttons open the expanded command area; authorization level 5 and higher.

    Button for switching to the standard view of a faceplate for representing the measured values (MMMeas); visible if the Selfp1 input parameter of the MMOprtn block is configured.

    Status display of the block, e.g. monitoring, maintenance, group error (emergency start is not available on solenoid valves).

    Motor status (see table)

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    62 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Icons for motor status Status Symbol Status Symbol Status Symbol Motor ON

    Motor stops

    Motor fault

    Motor running forward

    Motor running in reverse

    Motor running fast forward

    Motor running in fast reverse

    Overload operation OK

    Overload fault

    Valve open

    Valve closed

    Valve fault

    Circuit breaker OK

    Circuit breaker closed

    Circuit breaker fault

    Positioner open

    Positioner closed

    Positioner fault

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 63

    4.10.2 MMOprtn - Limits

    Limits view

    Value

    Display of the motor current in % with corresponding signal status (MotCurr) Upper and lower range for motor current (OpScale.High, OpScale.Low) The values provide information on the display range for the bar graph (Curr_OpScale) of the process value. The scale range is defined in the Engineering Station (ES).

    Limits for additional value "H alarm": Alarm high (Curr_TH) "H warning": Warning high (Curr_WH) Hysteresis "L warning": Warning low (Curr_TL) "L alarm": Alarm low (Curr_WL) If the background color of the field is white, you can change the value in the expanded operating area in 3 ways: Entry in the input box Setting using the slider Entry by direct operation

    Button for updating the values (RdDataOp).

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    64 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Bar graph for current The visible range in the bar graph depends on the configuration in the Engineering Station (ES). The colored triangles show the specified limits: Red: Alarm Yellow: Warning

    Operator control enable The operator may execute the command. The operator cannot execute the command because the command is currently blocked

    by a process. The operator is not permitted to execute the command (OS_Perm). The displays are dependent on the bit values in the OS_PermOut and OS_PermLog parameters.

    4.10.3 MMOprtn - Diagnostics In the SIMOCODE pro PCS 7 library V8.0, all available diagnostics messages are displayed in the diagnostics view.

    Based on the parameters, there are diagnostics views for the status, events, warnings, and trips.

    Status diagnostics

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 65

    Event diagnostics

    Warning diagnostics

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    66 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Trip diagnostics

    See also Diagnostics information (Page 168)

    4.10.4 MMOprtn - Process image The Process image view displays the values for the process image inputs (PII) and the process image outputs (PIQ). Which inputs and outputs are displayed depends on the control function selected.

    Process image Overload relay

    Figure 4-5 Process image Overload relay

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 67

    Process image Direct starter

    Figure 4-6 Process image Direct starter

    Process image Reversing starter

    Figure 4-7 Process image Reversing starter

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    68 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Process image Molded-case circuit breaker (MCCB)

    Figure 4-8 Process image Circuit breaker

    Process image Star-delta starter

    Figure 4-9 Process image Star-delta starter

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 69

    Process image Star-delta reversing starter

    Figure 4-10 Process image Star-delta reversing starter

    Process image Dahlander

    Figure 4-11 Process image Dahlander

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    70 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Process image Dahlander reversing starter

    Figure 4-12 Process image Dahlander reversing starter

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 71

    Process image Pole-changing starter

    Figure 4-13 Process image Pole-changing starter

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    72 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Process image Pole-changing reversing starter

    Figure 4-14 Process image Pole-changing reversing starter

    Process image Valve

    Figure 4-15 Process image Valve

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 73

    Process image Positioners 15

    Figure 4-16 Process image Positioner

    Process image Soft starter

    Figure 4-17 Process image Soft starter

  • Faceplate - Views 4.10 MMOprtn - Views

    SIMOCODE pro PCS 7 Library V8.0

    74 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    Process image Soft reversing starter

    Figure 4-18 Process image - Soft reversing starter

    See also Process images for the MMOprtn block (Page 152)

  • SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 75

    Description of the blocks 5 5.1 Functions for all blocks

    5.1.1 Calling OBs The "Generate module driver" function automatically inserts a SIMOCODE pro block into the following organization blocks within the run sequence of the CFC:

    Table 5- 1 Organization blocks

    OB Description MMDiag MMMeas MMStat MMTime MMRevDhl MMOprtn OB1 Cyclic program X OB30...OB381 Cyclic alarms X X X X X X OB40 Process alarm X X OB82 Diagnostics alarm X OB83 Insert/remove interrupt X OB85 Program execution error X OB86 Rack fault X OB100 Restart (warm restart) X X X X X X 1 Insert the block in OB32, if read/write access is slow.

    "X" = The OB calls the block, "" = The OB does not call the block.

    Reference You can obtain further information on the organization blocks in the "Process Control System PCS 7 System Functions" manual and in the system and standard functions reference manual for S7-300/400 on the internet (http://support.automation.siemens.com/WW/view/en/44240604).

  • Description of the blocks 5.1 Functions for all blocks

    SIMOCODE pro PCS 7 Library V8.0

    76 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

    5.1.2 Called blocks The SIMOCODE pro blocks call the following blocks:

    Table 5- 2 Called blocks

    Block Description MMDiag MMMeas MMStat MMTime MMRevDhl MMOprtn SFB35 ALARM_8P Generates block-specific

    messages with values for 8 signals

    X X X X X X

    SFB52 RDREC Reads a data record X X X X X SFB53 WRREC Writes a data record X SFB54 RALRM Receives alarm X X X SFC6 RD_SINFO Reading of OB start

    information X X X X X X

    SFC13 DPNRM_DG Reads the diagnostic data of the DP slave

    X X

    SFC20 BLKMOV Copying of tags X X SFC51 RDSYSST Reads the system status

    list or the sublist X

    SFC64 TIME_TCK Reads the system time X X X "X" = The SIMOCODE pro block calls this block, "" = the SIMOCODE pro block does not call this block.

    5.1.3 Worst signal status Worst Signal Status ST_Worst is formed from the following parameters:

    Block Parameter MMRevDhl FbkFwdOut.ST FbkRevOut.ST

    FbkFFwdOut.ST FbkFRevOut.ST LocalLi.ST FFwdLocal.ST FwdLocal.ST StopLocal.ST RevLocal.ST FRevLocal.ST Trip.ST

    MMOprtn ModF_Act.ST RackF_Act.ST GenFlt.ST GenWarn.ST EmrgStOn.ST AutAct.ST CstAut.ST TrpRstLi.ST RdDataLi.ST GrpErr.ST RdErr.ST WrErr.ST

  • Description of the blocks 5.1 Functions for all blocks

    SIMOCODE pro PCS 7 Library V8.0

    Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001 77

    Block Parameter MMMeas ModF_Act.ST RackF_Act.ST

    GrpErr.ST RdErr.ST

    MMStat ModF_Act.ST RackF_Act.ST GrpErr.ST RdErr.ST

    MMDiag ModF_Act.ST RackF_Act.ST GrpErr.ST Cst.ST Rack1Err.ST Rack2Err.ST RdErr.ST

    MMTime RdErr.ST

    5.1.4 Quality code The status and quality of a rack is checked by means of the Quality Code.

    Table 5- 3 Quality Code

    Quality Code

    Priority 1 Occurs when... Meaning MMMeas MMStat

    MMDiag MMRevDhl MMOprtn

    16#