You are on page 1of 220

Industrial Controls

Function Block Library SIMOCODE pro for SIMATIC PCS 7


SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual

Edition

10/2013

Answers for industry.

SIMOCODE pro PCS 7 Library V8.0

1 ___________________ Introduction 2 ___________________ Information about the library

Industrial Controls SIMOCODE pro SIMOCODE pro PCS 7 Library V8.0


Programming and Operating Manual

3 ___________________ Templates 4 ___________________ Faceplate - Views 5 ___________________ Description of the blocks 6 ___________________ Driver generator A ___________________ Parameter B ___________________ Technical Data C ___________________ Abbreviations

10/2013

A5E31625078002A/RS-AA/001

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.

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

Table of contents
1 Introduction................................................................................................................................... 9 1.1 1.2 1.3 1.4 1.5 1.6 1.6.1 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 2.5.1 2.5.2 3 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 Components of the software package ....................................................................................... 9 Installing the library .................................................................................................................. 9 Configuration steps ................................................................................................................ 10 Driver generator ..................................................................................................................... 10 Configuring in HW Config ....................................................................................................... 12 Configuring in SIMOCODE ES ............................................................................................... 15 Parameter settings ................................................................................................................. 16 Configuring of the fail-safe, digital PROFIsafe module ............................................................ 17 Configuration with SIMATIC PDM ........................................................................................... 18 Further documentation ........................................................................................................... 18 Overview of the blocks ........................................................................................................... 19 Control functions .................................................................................................................... 19 Faceplates - Structure ............................................................................................................ 22 Block icons ............................................................................................................................. 25 Supported functions ............................................................................................................... 28 Maintenance Station............................................................................................................... 28 Web Navigator ....................................................................................................................... 28 Overview of the templates, control functions and blocks ......................................................... 31 Using templates ..................................................................................................................... 32 Template OvlRly..................................................................................................................... 35 Template Direct ...................................................................................................................... 35 Template Reverse .................................................................................................................. 36 Template MCCB..................................................................................................................... 36 Template StarDel ................................................................................................................... 37 Template RevStarDel ............................................................................................................. 37 Template Dahland .................................................................................................................. 38 Template RevDahl.................................................................................................................. 38 Template PoleChng................................................................................................................ 39 Template RevPoleCh ............................................................................................................. 39

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

Templates .................................................................................................................................. 31

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

Table of contents

3.13 3.14 3.15 3.16 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.9.1 4.9.2 4.9.3 4.10 4.10.1 4.10.2 4.10.3 4.10.4 5 5.1 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.2 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.2.10 5.3 5.3.1

Template SolValve ..................................................................................................................40 Template Positner ...................................................................................................................40 Template SoftStr .....................................................................................................................41 Template RevSoftStr ...............................................................................................................41 Batch view @PG_APL_Batch.pdl ............................................................................................43 Trend view @PG_APL_Trend.pdl ............................................................................................44 Alarm view @PG_APL_Alarm.pdl ............................................................................................45 Memo view..............................................................................................................................46 Preview view ...........................................................................................................................46 MMMeas - Standard ................................................................................................................48 MMStat - Standard ..................................................................................................................52 MMTime - Logbook .................................................................................................................54 MMRevDhl - Views..................................................................................................................56 MMRevDhl - Standard .............................................................................................................56 MMRevDhl - Maintenance .......................................................................................................58 MMRevDhl - Preview...............................................................................................................59 MMOprtn - Views ....................................................................................................................61 MMOprtn - Standard................................................................................................................61 MMOprtn - Limits.....................................................................................................................63 MMOprtn - Diagnostics............................................................................................................64 MMOprtn - Process image.......................................................................................................66 Functions for all blocks ............................................................................................................75 Calling OBs .............................................................................................................................75 Called blocks...........................................................................................................................76 Worst signal status ..................................................................................................................76 Quality code ............................................................................................................................77 Error numbers .........................................................................................................................79 Parameterizable functions via the Feature connection .............................................................80 Diagnostics block MMDiag ......................................................................................................81 Description of MMDiag ............................................................................................................81 Message characteristics ..........................................................................................................81 Driver generator ......................................................................................................................83 Start-up characteristics............................................................................................................83 Module error............................................................................................................................83 IO station failure (PROFIBUS DP or PROFINET IO) ................................................................84 Failure of a PROFIBUS DP station ..........................................................................................85 SIMOCODE pro slave diagnostics ...........................................................................................85 Malfunction when loading the OB ............................................................................................86 Interconnections of the MMDiag block .....................................................................................87 Block for MMMeas measured value function............................................................................88 Description of MMMeas ...........................................................................................................88

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

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

SIMOCODE pro PCS 7 Library V8.0

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

Table of contents

5.3.2 5.3.3 5.3.3.1 5.3.3.2 5.3.3.3 5.3.3.4 5.3.3.5 5.3.4 5.3.5 5.3.6 5.3.7 5.3.8 5.4 5.4.1 5.4.2 5.4.3 5.4.4 5.4.5 5.4.6 5.4.7 5.4.8 5.4.9 5.5 5.5.1 5.5.2 5.5.3 5.5.4 5.5.5 5.5.6 5.5.7 5.6 5.6.1 5.6.1.1 5.6.1.2 5.6.1.3 5.6.1.4 5.6.1.5 5.6.2 5.6.3 5.6.4 5.6.5 5.6.6 5.6.7 5.6.8 5.6.9 5.6.10 5.6.11 5.6.12 5.6.13 5.6.14 5.6.15

Operating modes.................................................................................................................... 88 Measured values .................................................................................................................... 89 Read measured values........................................................................................................... 90 Assignment of the cyclic process image.................................................................................. 92 Write analog output ................................................................................................................ 93 Acyclic reading ....................................................................................................................... 93 Reading and writing data records ........................................................................................... 93 Message characteristics ......................................................................................................... 94 Start-up characteristics ........................................................................................................... 96 Status information .................................................................................................................. 96 Enabled operations ................................................................................................................ 97 Assigning addresses in HW Config ......................................................................................... 97 Block for statistical function MMStat ....................................................................................... 99 Description of MMStat ............................................................................................................ 99 Operating modes.................................................................................................................... 99 Statistical values .................................................................................................................. 100 Reading and writing data records ......................................................................................... 101 Message characteristics ....................................................................................................... 102 Start-up characteristics ......................................................................................................... 104 Status information ................................................................................................................ 104 Enabled operations .............................................................................................................. 105 Assigning addresses in HW Config ....................................................................................... 105 Block for timestamping MMTime........................................................................................... 107 Description MMTime ............................................................................................................ 107 Logbook function .................................................................................................................. 108 Messages ............................................................................................................................ 111 Signaling response ............................................................................................................... 113 Driver generator ................................................................................................................... 115 Start-up characteristics ......................................................................................................... 115 Assigning addresses in HW Config ....................................................................................... 115 MMRevDhl motor block ........................................................................................................ 116 Application ........................................................................................................................... 116 Description of MMRevDhl ..................................................................................................... 116 Operating modes.................................................................................................................. 117 Mode changeover error ........................................................................................................ 119 Forcing operating modes ...................................................................................................... 120 Control functions for directions ............................................................................................. 121 Output signal for ready to start.............................................................................................. 121 Resetting of the block ........................................................................................................... 122 Restart lock after changing direction of rotation or switching off the motor ............................. 122 Limit value monitoring with hysteresis ................................................................................... 122 Rapid stop ............................................................................................................................ 122 Specify warning times for controls ........................................................................................ 123 Issuing maintenance release ................................................................................................ 123 Suppressing messages using the MsgLock parameter.......................................................... 124 Simulation ............................................................................................................................ 124 Monitoring functions ............................................................................................................. 125 Motor Protection ................................................................................................................... 127 Interlocking........................................................................................................................... 127 Disabling interlocks .............................................................................................................. 129 Group fault ........................................................................................................................... 130

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

Table of contents

5.6.16 5.6.17 5.6.18 5.6.19 5.6.20 5.6.21 5.6.22 5.7 5.7.1 5.7.2 5.7.3 5.7.4 5.7.5 5.7.6 5.7.7 5.7.8 5.7.9 5.7.10 5.7.11 5.7.12 5.7.13 5.7.14 5.7.15 5.7.16 5.7.17 5.7.18 5.7.19 5.7.20 5.7.21 5.7.22 6 6.1 6.2 6.3 A A.1 A.2 A.3 A.4 A.5 A.6 B C B.1

User-defined auxiliary values and user-defined status ...........................................................130 Message characteristics ........................................................................................................130 Fault handling .......................................................................................................................133 Invalid input signals ...............................................................................................................133 Enable for measurement and statistics ..................................................................................133 Enabled operations ...............................................................................................................134 Status information .................................................................................................................135 MMOprtn driver block ............................................................................................................138 Description of MMOprtn.........................................................................................................138 Operating modes...................................................................................................................138 Motor current.........................................................................................................................139 Device functions ....................................................................................................................139 Reading and writing data records ..........................................................................................140 Current limits .........................................................................................................................141 Hysteresis .............................................................................................................................142 Emergency start ....................................................................................................................142 Self-test ................................................................................................................................143 Trip reset...............................................................................................................................144 Group fault ............................................................................................................................144 Fault handling .......................................................................................................................144 Invalid input signals ...............................................................................................................145 Message characteristics ........................................................................................................145 Messages via EventTs message block ..................................................................................146 System text libraries for warning and trip ...............................................................................147 Assigning addresses in HW Config ........................................................................................150 Process images for the MMOprtn block .................................................................................152 Enabled operations ...............................................................................................................166 Status information .................................................................................................................167 Diagnostics information .........................................................................................................168 Assignment of the diagnostics information .............................................................................175 Driver blocks .........................................................................................................................183 Requirements for generating the module drivers....................................................................185 Object lists and action lists ....................................................................................................185 MMDiag block parameter ......................................................................................................187 MMMeas block parameter .....................................................................................................196 Block parameter MMStat .......................................................................................................200 Block parameter MMTime .....................................................................................................203 MMRevDhl block parameter ..................................................................................................205 Block parameter MMOprtn.....................................................................................................210 Header information ................................................................................................................216

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

Parameter ................................................................................................................................. 187

Technical Data .......................................................................................................................... 215 Abbreviations ............................................................................................................................ 217

SIMOCODE pro PCS 7 Library V8.0

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

Introduction
1.1 Components of the software package

1
Hardware SIMOCODE pro DPV1 and SIMOCODE pro PROFINET Functions Diagnostics function Measured value function Statistics function Time stamping, logbook function SIMOCODE pro SIMOCODE pro DPV1 and SIMOCODE pro PROFINET Motor block control functions for High Feature reversing starters Driver block for operating SIMOCODE pro C / V devices Name MMDiag (Page 81) MMMeas (Page 88) MMTime (Page 107) MMRevDhl (Page 116) MMOprtn (Page 138) FB no. FB1300 FB1302

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. 1 2 3 4 5 6

MMStat (Page 99) FB1303 FB1304 FB1305 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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

Introduction 1.3 Configuration steps


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
Procedure

Configuration steps

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)

SIMOCODE pro PCS 7 Library V8.0

10

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

Introduction 1.4 Driver generator


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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

11

Introduction 1.5 Configuring in HW Config

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

SIMOCODE pro PCS 7 Library V8.0

12

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

Introduction 1.5 Configuring in HW Config

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

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

13

Introduction 1.5 Configuring in HW Config

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)

SIMOCODE pro PCS 7 Library V8.0

14

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

Introduction 1.6 Configuring in SIMOCODE ES

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 Reset 1 Emergency start

Cyclic receive bit 0.3 Cyclic receive bit 0.6 Cyclic receive bit 0.4

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

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

15

Introduction 1.6 Configuring in SIMOCODE ES


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 Template APL block Nonmaintained command Parameters in SIMOCODE ES Saving Feedback changetime over command Default Default Default Default Default Default Default Default Execution time Interlocking time Changeover pause

Control function

Overload relay Direct starter Reversing starter Circuit breaker Star-delta starter Star-delta reversing starter Dahlander

OvlRly Direct Reverse MCCB StarDel RevStarDel Dahland

MMOprtn MotL MotRevL MotL MotL MotRevL MotSpdL MMRevDhl MotSpdL MMRevDhl VlvL VlvMotL VlvMotL VlvMotL VlvMotL VlvMotL MotL MotRevL

Default Default Default Default Default Default Default Default Default Default Default Default Default Default Default Default Default

Dahlander reversing DevDahl starter Pole-changing starter Pole-changing reversing starter Solenoid valve Positioner 1 Positioner 2 Positioner 3 Positioner 4 Positioner 5 Soft starter PoleChng RevPoleCh SolValve Positner Positner Positner Positner Positner SoftStr

Soft reversing starter RevSoftStr

< Dynamic monitoring time, MonTiDynamic MonTiStatic < Pause time < Change-over time
not applicable

SIMOCODE pro PCS 7 Library V8.0

16

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

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

1.7

Configuring of the fail-safe, digital PROFIsafe module


From product version E06 onwards, SIMOCODE pro V supports the DM-F PROFIsafe failsafe 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 x+0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 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.
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

17

Introduction 1.8 Configuration with SIMATIC PDM


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
Overview

Further documentation

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

18

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

Information about the library


2.1 Overview of the blocks
The library contains the following blocks for SIMOCODE pro:
Table 2- 1 No. 1 2 3 4 5 6 Blocks Function Diagnostics function Measured value function Statistics function Time stamping, logbook function Control functions for High Feature reversing starters Function for operating SIMOCODE pro devices

Name MMDiag (Page 81) MMMeas (Page 88) MMStat (Page 99) MMTime (Page 107) MMRevDhl (Page 116) MMOprtn (Page 138)

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

19

Information about the library 2.2 Control functions

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 APL blocks Blocks from the SIMOCODE pro Library MMOprtn MMDiag MMMeas MMStat MMTime

Control functions

Overload relay1 Direct starter Soft starter Circuit breaker Star-delta starter Reversing starter Star-delta reversing starter Soft reversing starter Dahlander Pole-changing starter Solenoid valve Positioners 15 Dahlander reversing starter Pole-changing reversing starter

MotL

MotRevL

MotSpdL VlvL VlvMotL MMRevDhl MMOprtn MMDiag MMMeas MMStat MMTime

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

SIMOCODE pro PCS 7 Library V8.0

20

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

Information about the library 2.2 Control functions

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)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

21

Information about the library 2.3 Faceplates - Structure

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


Icons

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

Standard Alarm Limits Trend

Maintenance Preview Diagnostics Process image

Memo Batch Logbook

SIMOCODE pro PCS 7 Library V8.0

22

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

Information about the library 2.3 Faceplates - Structure

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

23

Information about the library 2.3 Faceplates - Structure

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).

SIMOCODE pro PCS 7 Library V8.0

24

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

Information about the library 2.4 Block icons

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 ASOS 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 Number 1 MMTime block icons Icon

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

25

Information about the library 2.4 Block icons

MMRevDhl block icons


The MMRevDhl block provides 2 block icons.
Table 2- 4 Number 1 MMRevDhl block icons Icon

MMOprtn block icons


The MMOprtn block provides the following block icons:
Table 2- 5 Number 1 MMOprtn block icons SIMOCODE pro control function Overload relay Icon

2 13

Direct starter / soft starter

3 14

Reversing starter / soft starter

Molded-case circuit breaker (MCCB)

SIMOCODE pro PCS 7 Library V8.0

26

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

Information about the library 2.4 Block icons


Number 5 SIMOCODE pro control function Star-delta starter Icon

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)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

27

Information about the library 2.5 Supported functions

2.5
2.5.1

Supported functions
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

SIMOCODE pro PCS 7 Library V8.0

28

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

Information about the library 2.5 Supported functions

MMOprtn faceplate in the Web Navigator

MMMeas faceplate in the Web Navigator

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

29

Information about the library 2.5 Supported functions

MMStat faceplate in the Web Navigator

SIMOCODE pro PCS 7 Library V8.0

30

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

Templates
3.1 Overview of the templates, control functions and blocks

3
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 No. 1 2 Templates for the control functions Template OvlRly (Page 35) Direct (Page 35) APL blocks FbSwtMMS MotL1 EventTs FbSwtMMS MotRevL1 EventTs FbSwtMMS MotL1 EventTs FbSwtMMS MotL1 EventTs FbSwtMMS MotRevL1 EventTs FbSwtMMS MotSpdL1 EventTs FbSwtMMS EventTs FbSwtMMS MMRevDhl1 MMOprtn1 MMMeas MMStat MMTime MMOprtn1 MMMeas MMStat MMTime SIMOCODE blocks MMOprtn1 MMMeas MMStat MMTime

Control function Overload relay Direct starter

Reversing starter

Reverse (Page 36)

Circuit breaker

MCCB (Page 36)

Star-delta starter

StarDel (Page 37)

Star-delta reversing starter

RevStarDel (Page 37)

Dahlander

Dahland (Page 38)

Dahlander reversing starter

RevDahl (Page 38)

Pole-changing starter

PoleChng (Page 39)

MotSpdL1 EventTs FbSwtMMS

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

31

Templates 3.2 Using templates


No. 10 Control function Pole-changing reversing starter Template RevPoleCh (Page 39) APL blocks EventTs FbSwtMMS SIMOCODE blocks MMRevDhl1 MMOprtn1 MMMeas MMStat MMTime MMOprtn1 MMMeas MMStat MMTime

11

Solenoid valve

SolValve (Page 40)

VlvL1 EventTs FbSwtMMS VlvMotL1 EventTs FbSwtMMS MotL1 EventTs FbSwtMMS MotRevL1 EventTs FbSwtMMS

12

Positioners 15

Positner (Page 40)

13

Soft starter

SoftStr (Page 41)

14

Soft reversing starter

RevSoftStr (Page 41)

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.

SIMOCODE pro PCS 7 Library V8.0

32

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

Templates 3.2 Using templates

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

33

Templates 3.2 Using templates

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 Inputs Outputs CFC Sheet 2

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 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.

SIMOCODE pro PCS 7 Library V8.0

34

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

Templates 3.3 Template OvlRly

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

35

Templates 3.5 Template Reverse

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.

SIMOCODE pro PCS 7 Library V8.0

36

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

Templates 3.7 Template StarDel

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

37

Templates 3.9 Template Dahland

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.

SIMOCODE pro PCS 7 Library V8.0

38

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

Templates 3.11 Template PoleChng

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

39

Templates 3.13 Template SolValve

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.

SIMOCODE pro PCS 7 Library V8.0

40

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

Templates 3.15 Template SoftStr

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

41

Templates 3.16 Template RevSoftStr

SIMOCODE pro PCS 7 Library V8.0

42

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

Faceplate - Views
4.1
Batch view

Batch view @PG_APL_Batch.pdl

BatchEn Occupied BatchName BatchID StepNo

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

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

43

Faceplate - Views 4.2 Trend view @PG_APL_Trend.pdl

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: <ParameterName>;<TrendControl>;<Reserved>;<Name of the Curve> e.g. MotCurr#Value;_TrendCtrl1_;Reserved;MotorCurrent 3. Trend colour determines the color of the curve.

SIMOCODE pro PCS 7 Library V8.0

44

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

Faceplate - Views 4.3 Alarm view @PG_APL_Alarm.pdl

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

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

45

Faceplate - Views 4.4 Memo view

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.

SIMOCODE pro PCS 7 Library V8.0

46

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

Faceplate - Views 4.5 Preview view

Preview MMOprtn

Preview MMMeas

Preview MMStat

See also
MMRevDhl - Preview (Page 59)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

47

Faceplate - Views 4.6 MMMeas - Standard

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)

SIMOCODE pro PCS 7 Library V8.0

48

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

Faceplate - Views 4.6 MMMeas - Standard

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

49

Faceplate - Views 4.6 MMMeas - Standard

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.

SIMOCODE pro PCS 7 Library V8.0

50

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

Faceplate - Views 4.6 MMMeas - Standard

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

51

Faceplate - Views 4.7 MMStat - Standard

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.

SIMOCODE pro PCS 7 Library V8.0

52

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

Faceplate - Views 4.7 MMStat - Standard

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.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

53

Faceplate - Views 4.8 MMTime - Logbook

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.

SIMOCODE pro PCS 7 Library V8.0

54

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

Faceplate - Views 4.8 MMTime - Logbook

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

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

55

Faceplate - Views 4.9 MMRevDhl - Views

4.9
4.9.1
Standard view

MMRevDhl - Views
MMRevDhl - Standard

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)

SIMOCODE pro PCS 7 Library V8.0

56

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

Faceplate - Views 4.9 MMRevDhl - Views

Icons for motor status


Status Motor running forward Symbol Status Motor running in reverse Motor running in fast reverse Motor stops Symbol

Motor running fast forward Motor fault

See also
Interlocking (Page 127)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

57

Faceplate - Views 4.9 MMRevDhl - Views

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)

SIMOCODE pro PCS 7 Library V8.0

58

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

Faceplate - Views 4.9 MMRevDhl - Views

4.9.3
Preview view

MMRevDhl - Preview

"Automatic" display If the block is in "Automatic" mode, the current status of the block will be displayed (e.g. "Start <<") Operator control enable

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

59

Faceplate - Views 4.9 MMRevDhl - Views


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)

SIMOCODE pro PCS 7 Library V8.0

60

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

Faceplate - Views 4.10 MMOprtn - Views

4.10
4.10.1
Standard view

MMOprtn - Views
MMOprtn - Standard

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)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

61

Faceplate - Views 4.10 MMOprtn - Views

Icons for motor status


Status Motor ON Symbol Status Motor stops Symbol Status Motor fault Symbol

Motor running forward Motor running fast forward Overload operation OK

Motor running in reverse Motor running in fast reverse Overload fault

Valve open

Valve closed

Valve fault

Circuit breaker OK

Circuit breaker closed

Circuit breaker fault

Positioner open

Positioner closed

Positioner fault

SIMOCODE pro PCS 7 Library V8.0

62

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

Faceplate - Views 4.10 MMOprtn - Views

4.10.2
Limits view

MMOprtn - Limits

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).

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

63

Faceplate - Views 4.10 MMOprtn - Views

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 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).

Operator control enable

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

SIMOCODE pro PCS 7 Library V8.0

64

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

Faceplate - Views 4.10 MMOprtn - Views

Event diagnostics

Warning diagnostics

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

65

Faceplate - Views 4.10 MMOprtn - Views

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

SIMOCODE pro PCS 7 Library V8.0

66

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

Faceplate - Views 4.10 MMOprtn - Views

Process image Direct starter

Figure 4-6

Process image Direct starter

Process image Reversing starter

Figure 4-7

Process image Reversing starter

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

67

Faceplate - Views 4.10 MMOprtn - Views

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

SIMOCODE pro PCS 7 Library V8.0

68

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

Faceplate - Views 4.10 MMOprtn - Views

Process image Star-delta reversing starter

Figure 4-10

Process image Star-delta reversing starter

Process image Dahlander

Figure 4-11

Process image Dahlander

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

69

Faceplate - Views 4.10 MMOprtn - Views

Process image Dahlander reversing starter

Figure 4-12

Process image Dahlander reversing starter

SIMOCODE pro PCS 7 Library V8.0

70

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

Faceplate - Views 4.10 MMOprtn - Views

Process image Pole-changing starter

Figure 4-13

Process image Pole-changing starter

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

71

Faceplate - Views 4.10 MMOprtn - Views

Process image Pole-changing reversing starter

Figure 4-14

Process image Pole-changing reversing starter

Process image Valve

Figure 4-15

Process image Valve

SIMOCODE pro PCS 7 Library V8.0

72

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

Faceplate - Views 4.10 MMOprtn - Views

Process image Positioners 15

Figure 4-16

Process image Positioner

Process image Soft starter

Figure 4-17

Process image Soft starter

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

73

Faceplate - Views 4.10 MMOprtn - Views

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

74

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

Description of the blocks


5.1
5.1.1

Functions for all blocks


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 OB OB1

Organization blocks Description Cyclic program Cyclic alarms Process alarm Diagnostics alarm Insert/remove interrupt Program execution error Rack fault Restart (warm restart) MMDiag X X X X X X X X MMMeas X X MMStat X X MMTime X X X MMRevDhl X X MMOprtn X X

OB30...OB381 OB40 OB82 OB83 OB85 OB86 OB100


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).

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

75

Description of the blocks 5.1 Functions for all blocks

5.1.2

Called blocks
The SIMOCODE pro blocks call the following blocks:

Table 5- 2 Block

Called blocks Description Generates block-specific messages with values for 8 signals Reads a data record Writes a data record Receives alarm Reading of OB start information MMDiag X MMMeas X MMStat X MMTime MMRevDhl X X MMOprtn X

SFB35 ALARM_8P

SFB52 RDREC SFB53 WRREC SFB54 RALRM SFC6 RD_SINFO

X X X X X X

X X X

X X

X X X X

X X

X X X X X X

SFC13 DPNRM_DG Reads the diagnostic data of the DP slave SFC20 BLKMOV SFC51 RDSYSST SFC64 TIME_TCK Copying of tags Reads the system status list or the sublist Reads the system time

"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 MMRevDhl Parameter
FbkFwdOut.ST FbkRevOut.ST FbkFFwdOut.ST FbkFRevOut.ST LocalLi.ST FFwdLocal.ST FwdLocal.ST StopLocal.ST RevLocal.ST FRevLocal.ST Trip.ST 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

MMOprtn

SIMOCODE pro PCS 7 Library V8.0

76

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

Description of the blocks 5.1 Functions for all blocks


Block MMMeas Parameter
ModF_Act.ST RackF_Act.ST GrpErr.ST RdErr.ST ModF_Act.ST RackF_Act.ST GrpErr.ST RdErr.ST ModF_Act.ST RackF_Act.ST GrpErr.ST Cst.ST Rack1Err.ST Rack2Err.ST RdErr.ST RdErr.ST

MMStat

MMDiag

MMTime

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 16#80 16#60 16#00

Quality Code Priority 1 6 0 1 Occurs when... No error


SimOn

Meaning Good Simulated value Bad, device related, value not valid Bad, device related

MMMeas MMStat X X

MMDiag X X

MMRevDhl X X X

MMOprtn X X

RackF_Act ModF_Act BusFlt Rack1Err or Rack2Err

16#28

Subnet error

16#28 16#68 16#78 16#A4 16#FF


1

OB not loaded. Bad, processspecific Uncertain, device related Uncertain, process-specific Maintenance demand X X X X X X X X X X X X

2 3 4

From preceding blocks General warning CST

Default setting

0 = low; > 0 = high

"X"= The Quality Code occurs in this block, "" = The quality code does not occur in this block.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

77

Description of the blocks 5.1 Functions for all blocks

Icons
The icons for the Quality Code are displayed in the block icon and in the overview window of the faceplates.
Table 5- 4 Quality Code 16#80 16#60 16#00 1 16#28 1 16#68 16#78 16#A4
1

Icons for Quality Code display Symbol Meaning Good Local function check / simulation Bad, device related, value not valid Bad, process-specific Uncertain, device related Uncertain, process-specific Maintenance demand

Active Quality Codes for the Trip, Intlock, Permit, and Protect parameters in the interlock status.

Reference
You can obtain further information on the Quality Code display, in the PCS 7 libraries APL Styleguide programming manual in the Internet (http://support.automation.siemens.com/WW/view/en/59062870).

SIMOCODE pro PCS 7 Library V8.0

78

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

Description of the blocks 5.1 Functions for all blocks

5.1.5
Table 5- 5 Error code -1

Error numbers
Error numbers per block Description Predefined value when inserting the block; the block is not processed. No error Rack failure The module has been removed. The module does not respond. Subnet 1 or subnet 2 error Module inserted, but invalid module type The value for LocalSetting I/O is not within the permissible limits of 0 to 4. LocalSetting = 0 or LocalSetting = 3 or LocalSetting = 4 and LocalLi = 1 Error number for invalid signal state e.g. FwdLocal = 1 and StopLocal =1 FwdAut = 1 and StopAut = 1 AutModLi = 1 and ManModLi = 1 FwdForce = 1 and RevForce = 1 MMDiag X MMMeas X MMStat X MMRevDhl X MMOprtn X

Error type

0 1 2 3 4 5 41

System error System error System error System error System error Programming error Programming error

X X X X

X X X

X X X

X X

X X X X X

42

51

Programming error

52

Programming error

LocalAct = 1 and LocalSetting = 2 or 4 and SimOn = 1

"X" = Error occurs in this block, "" = Error does not occur in this block

See also
IO station failure (PROFIBUS DP or PROFINET IO) (Page 84) Fault handling (Page 144)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

79

Description of the blocks 5.1 Functions for all blocks

5.1.6

Parameterizable functions via the Feature connection


The modules of the library have an input named Feature. You can influence various responses of the block via this input. The Feature Bits are assigned in the following order:

Table 5- 6 Feature.Bit Feature.Bit0

Meaning of Feature.Bits Meaning Set startup characteristics 0 = Reset outputs to substitute value (OB100) 1 = Outputs are assigned the last valid value MMRevDhl X MMOprtn MMMeas MMStat X MMTime

Feature.Bit1 Feature.Bit2 Feature.Bit3 Feature.Bit4

Response for Out of service mode Resets the commands for switching between modes Enable resetting of the commands for the control setting Set switch mode or pushbutton mode 0 = Pushbutton mode 1 = Switch mode

X X X X

X X X

Feature.Bit5 Feature.Bit7 Feature.Bit9 Feature.Bit10

Set switching mode Enable direct changeover between forward and reverse operation Reset via input signals in the event of interlocking (protection) or errors Exit local mode 1 = When Manual LOCAL mode is exited, switch to the last setting of AUTO / MANUAL mode.

X X X X

Feature.Bit11 Feature.Bit14 Feature.Bit17 Feature.Bit19 Feature.Bit21 Feature.Bit22 Feature.Bit24 Feature.Bit25 Feature.Bit27 Feature.Bit30 Feature.Bit31

Enable runtime for feedback signals Enable rapid stop via faceplate Activate bumpless changeover to automatic mode Reset even in locked state Bumpless switchover to automatic mode Update acknowledgment and error status of the alarm call Enable local operator control permission Suppression of all messages Interlock display with LocalSetting 2 or 4 Define reset as a function of the mode Enable reset of interlocks in manual mode

X X X X X X X X X X X

X X X

X X X

X X

The default setting is 0 in each case.

For more information about the parameterizable functions, refer to the function manual "Process Control System PCS 7. PCS 7 Advanced Process Library V8.0" in the Internet (http://support.automation.siemens.com/WW/view/de/57265842).

SIMOCODE pro PCS 7 Library V8.0

80

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

Description of the blocks 5.2 Diagnostics block MMDiag

5.2
5.2.1

Diagnostics block MMDiag


Description of MMDiag

Purpose of the block


The MMDiag block is responsible for diagnosis of the SIMOCODE pro device. It evaluates the acyclic events: Start DP/IO station failure Module fault Process alarm Diagnosis alarm It generates the associated Quality Codes. It reads all diagnostic information for the MOD_SWT block. It transmits the status information to the signal processing block via the OMODE parameter output.

Views
The MMDiag block does not support views.

5.2.2

Message characteristics
MMDiag signals the following errors: DP/IO station fault (Rack1Err, Rack failure (RackF_Act) Module fault (ModF_Act) Connection fault (BusFlt) An error generates a group error GrpErr in output parameter Err_Act. The Subn1_Id and Subn2_Id parameters of the SUBNET function block (FB106) are linked to the Subn1_Id and Subn2_Id parameters of the MMDiag. block. These parameters pass on the error information of the primary and of the redundant master system. This information is provided to output parameters Rack1Err and Rack2Err of the MMDiag block.
Rack2Err)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

81

Description of the blocks 5.2 Diagnostics block MMDiag

Message block MsgEvId1


Table 5- 7 Output messages MMDiag Message No. 1 2 3 4 5 6 7 8 ** User-definable message Block parameters
Rack1Err Rack2Err RackF_Act ModF_Act BusFlt ExtMsg1 ** ExtMsg2 ** ExtMsg3 **

Message block
MsgEvId1

Message text $$BlockComment$$Subnet1@1%d@:fault $$BlockComment$$Subnet2@2%d@:fault $$BlockComment$$Device @3%d@: failure $$BlockComment$$Device Rack@3%d@/Module@4%d@: Module error $$BlockComment$$DP Slave Rack@3%d@:not reachable $$BlockComment$$External Message 1 $$BlockComment$$External Message 2 $$BlockComment$$External Message 3

Message class * S S S S S A A A

* S = AS, OS process control fault; A = Alarm

Auxiliary values
Table 5- 8 Message No. 1 2 3 4 5 6 7 8 9 10 Structure of the auxiliary values ALARM_8P Auxiliary value 1 2 3 4 5 6 7 8 9 10 Block parameters
Subn1Id Subn2Id Rack_No Slot_No ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110

Meaning ID of the primary DP master system ID of the redundant DP master system Rack number Slot number Auxiliary value 5, user-definable Auxiliary value 6, user-definable Auxiliary value 7, user-definable Auxiliary value 8, user-definable Auxiliary value 9, user-definable Auxiliary value 10, user-definable

The MsgStat1, MsgAckn1, and MsgErr1 parameters transfer the following information: Message status Message error Message acknowledgment status

SIMOCODE pro PCS 7 Library V8.0

82

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

Description of the blocks 5.2 Diagnostics block MMDiag

5.2.3

Driver generator
The "Generate Module Driver" function automatically inserts the MMDiag block into the following organization blocks within the run sequence: OB1 (cyclic program) OB40 (process alarm) OB82 (diagnostics alarm) OB83 (pull/plug alarm) OB85 (program execution error) OB86 (rack failure) OB100 (cold restart) The block is inserted behind the OB_DIAG1 block in the CFC chart. The Rack_No, Slot_No, SubSlot_No, SubAddr, DAddr, LAddr, Subn1Id, Subn2Id, and SubN_Typ inputs are configured via the information from HW Config.

5.2.4

Start-up characteristics
In OB100, the identifier for "Start up" is entered in output OMODE (OMODE
= 16#xx01xxxx).

The alarm messages are suppressed in the OB100 for the RunUpCyc no. of times. Acknowledge the errors GrpErr, RackF_Act, ModF_Act, Rack1Err, and Rack2Err.

5.2.5

Module error
Following a restart and when AccId = TRUE , a check of the module addressed with LAddr is carried out. The system status list SSL ID xC91 is read out for this purpose. If the module addressed with LAddr is missing, the ModF_Act output is set and the identifier for "higher-level fault" is entered for the OMODE output (OMODE = 16#40xxxxxx). The module fault is detected by the event number 16#61 for PROFIBUS and 16#51 for PROFINET for event class 16#39. The module fault is detected while the SIMOCODE pro device is configured behind a Y-Link. The logical address of the module (LAddr) is derived based on the geographical address of the module, e.g. from SubN1_Id, Rack_No, Slot_No, SubSlot_No, and SubAddr. Note The "module rack fault" takes precedence over the module fault.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

83

Description of the blocks 5.2 Diagnostics block MMDiag

5.2.6

IO station failure (PROFIBUS DP or PROFINET IO)


The OB_DIAG1 / OB_DIAG1_PN block detects the failure of the station, and evaluates it based on the event class and event number (see table). In the event of a fault, the identifier for "higher-level fault" (OMODE = 16#40xxxxxx) is entered for the OMODE output.
Fault PROFIBUS DP PROFIBUS DP station failure (RackF_Act) PROFIBUS DP station return PROFIBUS DP station error Reset PROFIBUS DP station error PROFIBUS DP station return, but error in assignment of the module parameters PROFINET IO PROFINET IO system failure PROFINET IO station failure Reset PROFINET IO station error Return of PROFINET IO station, but error Return of PROFINET IO station, but target configuration not equal to actual configuration Return of PROFINET IO station, but error in assignment of the module parameters
= 1).

Event number 16#C4 16#C4 16#C5 16#C5 16#C6, 16#C7

Event class 16#39 16#38 16#39 16#38 16#38

16#CA 16#CB 16#C5 16#CC 16#CD 16#CE

16#39 16#39 16#38 16#38 16#39 16#39

If the "rack failure" error (RackF_Act

= 1)

occurs, the connection to the device is lost (BusFlt

Reference
You will find more information about the organization blocks in the reference manual System and Standard Functions for S7-300/400 in the Internet (http://support.automation.siemens.com/WW/view/en/44240604).

See also
Error numbers (Page 79)

SIMOCODE pro PCS 7 Library V8.0

84

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

Description of the blocks 5.2 Diagnostics block MMDiag

5.2.7

Failure of a PROFIBUS DP station


The station diagnostics for SIMOCODE pro are read by the SFC13 (DPNRM_DG), stored in a temporary buffer, and passed on to the DiagStn output parameter. The diagnostics messages are available in the Bit 0 of the Byte 0 of the DP slave. The PROFIBUS connection error is reported at the BusFlt output of the MMDiag block and as an alarm in WinCC.
Table 5- 9 Byte 0 Bit 0 Possible reasons for the connection error Meaning 1: DP slave cannot be accessed by the DP master. Reason or remedy DP slave cannot be accessed by the DP master. Is the station address of the DP slave set correctly? Is the bus connection plug connected? Is voltage applied to the DP slave? Is the RS 485 Repeater secured correctly? Has a reset been performed on the DP slave?

5.2.8

SIMOCODE pro slave diagnostics


The block accesses the data required for system diagnostics via the SFCs DPNRM_DG, RD_SINFO and RDSYSST. The PROFIBUS station diagnostics for SIMOCODE pro are read by SFC13 DPNRM_DG and passed to the Diag_Inf output parameter. These diagnostic messages are available in the following bytes of the DP slave: Station status 1, 2, and 3 in byte 0, byte 1, and byte 2.
Table 5- 10 DIAG Bit 0 1 2 3 4 5 6 7 8 Error in device access. Device is not yet ready for data exchange. Device configuration is incorrect. External diagnostics pending (group diagnostics display). The function is not supported by the DP slave, e.g., PROFIBUS address change by the software DP master cannot interpret DP slave response. DP slave type does not match the software configuration. Transfer of parameters to DP slave configured with a different DP master. DP slave parameters must be transferred again. Bit assignment of the station diagnostics Diagnostic message

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

85

Description of the blocks 5.2 Diagnostics block MMDiag


DIAG Bit 9 10 11 12 13 14 15 A diagnostic message is pending. DP slave will not function until the error is corrected. Bit on DP slave is always "1". Watchdog function activated for DP slave DP slave has received the "FREEZE" command. DP slave has received the "SYNC" command. DP slave has been removed. More diagnostic messages than DP slave can store. The DP master cannot write all diagnostic messages sent by the DP slave to its diagnostic buffer. Diagnostic message

5.2.9

Malfunction when loading the OB


Interrupt OB 85 sets or resets the priority class error GrpErr (malfunction when loading OBs).
Table 5- 11 Fault Error when creating a start event for an OB. This is not loaded to the CPU. Error when the operating system accesses a module.
GrpErr

Events during which OB 85 GrpErr is reset Event number 16#A1, 16#A2, or 16#A3 16#B1, 16#B2 16#B3 Event class 16#35 16#39 16#39 or 16#38

is only triggered once for one execution cycle of the block.

SIMOCODE pro PCS 7 Library V8.0

86

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

Description of the blocks 5.2 Diagnostics block MMDiag

5.2.10

Interconnections of the MMDiag block


The module driver function generates the driver blocks and creates all necessary interconnections between the driver blocks RACK / OB_DIAG1 / OB_DIAG1_PN, MOD_SWT and the signal processing blocks of SIMOCODE pro V/C. Parameterization of the corresponding parameters is performed automatically. The MMOprtn, MMMeas, and MMStat blocks must be inserted manually into the CFC chart.

Driver blocks with interconnections

The blocks highlighted in yellow are driver blocks.

Diagnostics information
The MMDiag block reads the diagnostic information and transfers it via the Diag_Sts, Diag_Evt, Diag_Wrn, and Diag_Trp output parameters to the MMOprtn block.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

87

Description of the blocks 5.3 Block for MMMeas measured value function

5.3
5.3.1

Block for MMMeas measured value function


Description of MMMeas

Purpose of the block


The MMMeas block gathers measured value parameters from data record 94. It receives diagnostic data from the MMDiag block. For SIMOCODE pro C / V PROFIBUS and PROFINET devices, the MMMeas block provides information on the following topics: Current values Voltage values Active power Apparent power Thermal motor model Temperature Asymmetry Ground fault

Views
The MMMeas block supports the following views: Trend (Page 44) Alarm (Page 45) Preview (Page 46) Standard (Page 48)

5.3.2

Operating modes
The following operating modes are displayed on the block: Local ON Out of service (Oos)

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

SIMOCODE pro PCS 7 Library V8.0

88

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

Description of the blocks 5.3 Block for MMMeas measured value function

5.3.3

Measured values
The MMMeas block reads measured values via data record DS94.
Table 5- 12 No. 1 DS94 Read access/write access R Number of bytes 64 Description Read measured values

Data record number DS94

The values are read from the SIMOCODE pro device with the RDREC function. This information is written to the output parameters.

Measured values for SIMOCODE pro devices


The measured values depend on the type of the basic unit, and with SIMOCODE pro V on the expansion modules used (UM, AM, TM, EM). Unsupported values are read and displayed as zero.
Table 5- 13 Measured values for SIMOCODE pro PROFIBUS devices SIMOCODE pro C/V E01 available available available available available available available available available available available on analog modules AM SIMOCODE pro V from E02 available available available available available available available available available available available on current / voltage measuring modules UM Parameter ThmMotMod PhaUnbal ImMax CurrL1 CurrL2 CurrL3 TripCurr TripTime MotcolTm MotColTm MotCosPhi MotVol1 MotVol2 MotVol3 ActPower AppPower AMOut AMIn1 AMIn2 AMIn3 AnaIn4

Measured values Thermal memory Phase unbalance Maximum current I_max Current I_L1 Current I_L2 Current I_L3 Last trip current Time to trip Recovery time Cooling-down period UM Cos-Phi UM voltage U_L1 UM voltage U_L2 UM voltage U_L3 UM active power UM apparent power AM output AM input 1 AM input 2 AM input 3 AM input 4

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

89

Description of the blocks 5.3 Block for MMMeas measured value function
Measured values TM max. temperature TM temperature 1 TM temperature 2 TM temperature 3 EM ground fault current EM last ground fault trip current SIMOCODE pro C/V E01 available on ground fault modules EM SIMOCODE pro V from E02 available on temperature modules TM Parameter MaxTemp TMTemp1 TMTemp2 TMTemp3 EFltCurr ETrpCurr

Additional measured values for PROFINET devices


Table 5- 14 Additional measured values for PROFINET devices SIMOCODE pro V from E02 Available on analog modules AM Parameter AM2Out AM2In1 AM2In2 Available on temperature modules TM MaxTemp2 TM2Temp1 TM2Temp2 TM2Temp3

Measured values AM2 output AM2 input 1 AM2 input 2 TM2 max. temperature TM2 temperature 1 TM2 temperature 2 TM2 temperature 3

5.3.3.1 InputMode

Read measured values

The PZDInxx inputs are assigned to the ModeInxx parameter inputs. These determine whether the measured values are read acyclically from data records (ModeInxx = 0) or cyclically (ModeInxx <> 0). Measured values for SIMOCODE pro devices
Table 5- 15 Modexxxx 0 1 2 3 4 5 Assignment of ModeInxx Meaning Measured value is read from data record. Cyclic measured values: Maximum current I_max Current I_L1 Current I_L2 Current I_L3 Phase unbalance

SIMOCODE pro PCS 7 Library V8.0

90

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

Description of the blocks 5.3 Block for MMMeas measured value function
Modexxxx 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 28 29
1

Meaning Thermal memory Time to trip Cooling-down period Last trip current Max. temperature Temperature 1 Temperature 2 Temperature 3 Voltage U_L1 Voltage U_L2 Voltage U_L3 AM input 1 AM input 2 Power factor Active power 1 Apparent power 1 EM ground fault current EM last ground fault trip current

If the active power or the apparent power should be read in cyclically, two consecutive inputs have to be configured with ModeInxx = 20 and ModeInxx = 21 respectively because the active power and apparent power occupy a double word in SIMOCODE pro.

Measured values for SIMOCODE pro PROFINET devices


Table 5- 16 Modexxxx 0 22 23 24 25 26 27 Assignment of ModeInxx Meaning Measured value is read from data record. Cyclic measured values: TM2 max. temperature TM2 temperature 1 TM2 temperature 2 TM2 temperature 3 AM2 input 1 AM2 input 2

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

91

Description of the blocks 5.3 Block for MMMeas measured value function

Assignment to the SIMOCODE pro basic units


The table shows the assignment of the inputs PZDInxx and Mode to the basic unit types.
Table 5- 17 Assignment to the basic units Input word PZDInxx PZDIn45 PZDIn67 PZDIn89 not available PZDIn10 PZDIn12 PZDIn14 PZDIn16 PZDIn18 Input ModeInxx ModeIn45 ModeIn67 ModeIn89 not available ModeIn10 ModeIn12 ModeIn14 ModeIn16 ModeIn18

Basic unit type ( BUTyp parameter) BU 1

BU 2 SIMOCODE pro PROFINET: BU 3

5.3.3.2

Assignment of the cyclic process image


The IO Controller sends cyclic receive data to SIMOCODE pro. The SIMOCODE pro device returns cyclic send data as a reply.
Table 5- 18 Assignment of PZDOutxx to the analog value output SIMOCODE pro byte 231 45 Cyclic receive data Analog value 1 Analog value 2 PZDOutxx PZDOut23 PZDOut45

Basic unit type BU 1 SIMOCODE pro PROFINET: BU 3


1

If the basic unit type 1 uses bytes 2 and 3 of the cyclic receive data, bytes 4 to 9 of the cyclic send data can be additionally assigned.

Table 5- 19

Assignment of PZDInxx to the feedback from SIMOCODE pro SIMOCODE pro byte 45 67 89 Cyclic send data Values parameterized in SIMOCODE ES PZDIn45 PZDIn67 PZDIn89 PZDIn10 PZDIn12 PZDIn14 PZDIn16 PZDIn18 PZDInxx

Basic unit type BU 1

SIMOCODE pro PROFINET: BU 3

1011 1213 1415 1617 1819

SIMOCODE pro PCS 7 Library V8.0

92

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

Description of the blocks 5.3 Block for MMMeas measured value function

5.3.3.3

Write analog output


The analog output can be written cyclically to the SIMOCODE pro device. With the parameter LiOp, you can parameterize whether the operator-controllable input AMOutIn, AM2OutIn (LiOp = FALSE) or the interconnectable input AMOutLi, AM2OutLi is used (LiOp = TRUE). If the interconnectable input is selected, the operator-controllable input is deactivated.

5.3.3.4

Acyclic reading
Reading the data record 94 is either triggered using the interconnectable input parameter RdDataLi, in the OS when selecting the faceplate, or by OS operation (RdDataOp = 1). The data that is read is normalized and sent to the output parameters. If an error occurs, the values are set to zero and the output RdErr
= 1

is set.

5.3.3.5

Reading and writing data records


The RDREC function is used to read the data records and the WRREC function is used to write commands and values to the SIMOCODE pro device. The "Read Data" button in the faceplates is used to update the displayed values.

Read parameter data record


Reading data records is performed irrespective of the current mode. Reading is performed with the following parameters:
Table 5- 20 Parameter RdDataOp RdDataLi 1 RdEn RstEnrgy RdErr WrErr RdWrAct
1 1

Read parameter data record Value 1 0 -> 1 1 1 1 1 1 Meaning Read data record Read data record Enable read data record Delete energy consumption Error when reading Error when writing Reading/writing data record ended

not in Out of service mode and in case of rack failure

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

93

Description of the blocks 5.3 Block for MMMeas measured value function

Errors when reading/writing data record


The following errors can occur when reading/writing the data record:
Table 5- 21 Error code (W#16#...) 8085 80A2 80A3 Errors when reading/writing data record Description Due to a problem in the system, information is not currently available (for example, due to a lack of resources). DP protocol error at layer 2 80A4 80C0 80C2 80C3 80C4 PROFIBUS DP: DP protocol error with Direct-Data-Link-Mapper or user interface/user PROFINET IO: General CM error

Bus communication disrupted The module has the data record, however there are no read data yet. The module currently processes the maximum possible jobs for a CPU. The required operating resources (memory, etc.) are currently occupied. Internal temporary error. Job could not be carried out. Repeat the job. If this error occurs often, check your installation for sources of electrical interference. Data record transfer was canceled due to priority class cancellation. Job cancelled due to restart (warm restart) or cold restart of DP master.

80C6 80C7

If any of these errors is detected, the function call to read or write data record is executed again. The maximum count of these repetitive calls is set to 300 beyond which an error is reported as a read error or write error at the RdErr or WrErr output parameter respectively.

5.3.4

Message characteristics
MMMeas reports the following errors at the block output: Rack fault (RackF_Act) Module fault (ModF_Act) An error generates a group error GrpErr in output parameter Err_Act. These errors are not reported as alarms as they are already part of the MMDiag block (both on the DP master system and behind the Y-Link). The alarms are reported using ALARM_8P function. The messages can be enabled or disabled using the MsgLock input. The alarms are also suppressed if the block is in Out of service mode. The alarms are suppressed for RunUpCyc number of times on warm restart.

SIMOCODE pro PCS 7 Library V8.0

94

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

Description of the blocks 5.3 Block for MMMeas measured value function

Message block MsgEvId1


Table 5- 22 Output messages Message No. 1 2 3 4 5 6 7 8 * A = Alarm ** User-definable message Block parameters
ExtMsg1 ** ExtMsg2 ** ExtMsg3 ** ExtMsg4 ** ExtMsg5 ** ExtMsg6 ** ExtMsg7 ** ExtMsg8 **

Message block
MsgEvId1

Message text $$BlockComment$$External Message1 $$BlockComment$$External Message 2 $$BlockComment$$External Message 3 $$BlockComment$$External Message 4 $$BlockComment$$External Message 5 $$BlockComment$$External Message 6 $$BlockComment$$External Message 7 $$BlockComment$$External Message 8

Message class * A A A A A A A A

Auxiliary values
The block supports 10 programmable auxiliary values.
Table 5- 23 Message No. 1 2 3 4 5 6 7 8 9 10 Structure of the auxiliary values ALARM_8P Auxiliary value 1 2 3 4 5 6 7 8 9 10 Block parameters
ExtVa101 ExtVa102 ExtVa103 ExtVa104 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110

Meaning External value 1, user-definable External value 2, user-definable External value 3, user-definable External value 4, user-definable External value 5, user-definable External value 6, user-definable External value 7, user-definable External value 8, user-definable External value 9, user-definable External value 10, user-definable

The MsgStat1, MsgAckn1, and MsgErr1 parameters transfer the following information: Message status Message error Message acknowledgment status

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

95

Description of the blocks 5.3 Block for MMMeas measured value function

5.3.5

Start-up characteristics
The alarm messages are suppressed in the OB100 for the RunUpCyc no. of times.

5.3.6

Status information

Status information MMMeas


The status information is communicated to WinCC for display in the faceplates.
Table 5- 24 Status1 Bit 0 ... 2 3 4 5 6 7...27 28 29 30 31 Status information MMMeas Description Reserved OosAct.Value OosLi active Reserved LocalAct.Value Reserved 1 = Group fault MsgLock 1 = Rack failure Slv_Typ

SIMOCODE pro PCS 7 Library V8.0

96

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

Description of the blocks 5.3 Block for MMMeas measured value function

5.3.7

Enabled operations

Operator permissions
The operator permissions for control commands are configured in the OS_Perm structured parameters. These are transferred to WinCC by the OS_PermOut and OS_PermLog parameters. The operating parameters are controlled via the FBs in CFC/SFC. The operator permissions control operation only in the faceplate.
Table 5- 25 OS_Perm bit 0 1 2 3 4...20 21 22 Operator permissions MMMeas OS_PermOut bit 0 1 2 3 4...20 21 22 OS_PermLog bit 0 1 2 3 4...20 21 22 Description Reserved 1 = Operator is permitted to change to ON mode. Reserved 1 = Operator is permitted to change to "Out of service" (Oos) mode. Reserved 1 = Operator is permitted to read data from the device 1 = Operator is permitted to write at output AM Operator enabled to write AM output 23 2431
OS_PermOut OS_PermLog

23 2431

23 2431

1 = Operator is permitted to write at output AM2 Reserved

contains the release information of all parameters. contains the release based on the current modes.

5.3.8

Assigning addresses in HW Config


The two bytes of the process image inputs (PII) are transferred from the SIMOCODE device based on the logical address configured for the module. This is a manual configuration that a user has to configure for both the inputs and outputs.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

97

Description of the blocks 5.3 Block for MMMeas measured value function

Symbolic name in HW Config


The PZDIn01 input parameter of the block is interconnected with the corresponding input of the logical address of the device (LAddr). The logical word address can be assigned to a symbolic name (*).

Figure 5-1

Symbolic name in HW Config

See also
Interconnections of the MMDiag block (Page 87)
SIMOCODE pro PCS 7 Library V8.0

98

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

Description of the blocks 5.4 Block for statistical function MMStat

5.4
5.4.1

Block for statistical function MMStat


Description of MMStat

Purpose of the block


The MMStat block gathers statistical data from data record 95. It receives diagnostic data from the MMDiag block. For SIMOCODE pro C / V PROFIBUS and PROFINET devices, the MMStat block provides information about the following topics: Device operating hours Motor hours run Number of starts Number of overload trips Current measurement Timers Counter

Views
The MMStat block supports the following views: Trend (Page 44) Alarm (Page 45) Preview (Page 46) Standard (Page 52)

5.4.2

Operating modes
The following operating modes are displayed on the block: Local ON Out of service (Oos)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

99

Description of the blocks 5.4 Block for statistical function MMStat

5.4.3

Statistical values
The MMStat block reads statistical information via the DS95 data record.
Table 5- 26 No. 1 DS95 Read access/write access R Number of bytes 90 Description Read statistical values

Data record number DS95

The DS95 data record is based on the read capability. The values are read from the SIMOCODE pro device with the RDREC function. This information is written to the output parameters.

Statistical values for SIMOCODE pro devices


The statistical values depend on the type of basic unit. NOTICE Unsupported values Values for functions that are not available on the SIMOCODE device are read as zero.

Table 5- 27

Statistical values for SIMOCODE pro devices SIMOCODE pro C available available available available available available available available available available available not available not available available available not available not available SIMOCODE pro V available available available available available available available available available available available available Available with UM available available available available Parameter D_OpH M_OpH M_IntOpH M_StpTm P_StrtAct N_OvlTrp N_IntOvlTrp N_Strt N_IntCwStrt N_IntCcwStrt N_Param TmTstReq EngyCon Tmr1Act Tmr2Act Tmr3Act Tmr4Act
SIMOCODE pro PCS 7 Library V8.0

Statistical value Device operating hours Motor operating hours Internal motor operating hours Downtime Permissible starts Number of overload trips Number of internal overload trips Number of starts Internal number of starts "Clockwise" Internal number of starts "Counterclockwise" Number of parameter assignments Time until test required Energy consumption Timer 1 Actual value Timer 2 Actual value Timer 3 Actual value Timer 4 Actual value

100

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

Description of the blocks 5.4 Block for statistical function MMStat


Statistical value Counter 1 - Actual value Counter 2 - Actual value Counter 3 - Actual value Counter 4 - Actual value Calculation module 1 Calculation module 2 SIMOCODE pro C available available not available not available not available not available SIMOCODE pro V available available available available available available Parameter Cnt1Act Cnt2Act Cnt3Act Cnt4Act CalMod1Out CalMod2Out

Additional statistical values for PROFINET devices


Table 5- 28 Additional statistical values for PROFINET devices SIMOCODE pro PROFINET available available available available available available available Parameter Tmr5Act Tmr6Act Cnt5Act Cnt6Act CalMod3Out CalMod4Out AnaMulOut

Statistical value Timer 5 Actual value Timer 6 Actual value Counter 5 - Actual value Counter 6 - Actual value Calculation module 3 Calculation module 4 Analog MultiplexerOutput

5.4.4

Reading and writing data records


The RDREC function is used to read the data records and the WRREC function is used to write commands and values to the SIMOCODE pro device. The "Read Data" button in the faceplates is used to update the displayed values.

Read parameter data record


Reading data records is performed irrespective of the current mode. Reading is performed with the following parameters:
Table 5- 29 Parameter RdDataOp RdDataLi 1 RdEn RstEnrgy RdErr
1

Read parameter data record Value 1 0 -> 1 1 1 1 Meaning Read data record Read data record Enable read data record Delete energy consumption Error when reading

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

101

Description of the blocks 5.4 Block for statistical function MMStat


WrErr RdWrAct
1

1 1

Error when writing Reading/writing data record ended

not in Out of service mode and in case of rack failure

Errors when reading/writing data record


The following errors can occur when reading/writing the data record:
Table 5- 30 Error code (W#16#...) 8085 80A2 80A3 Errors when reading/writing data record Description Due to a problem in the system, information is not currently available (for example, due to a lack of resources). DP protocol error at layer 2 80A4 80C0 80C2 80C3 80C4 PROFIBUS DP: DP protocol error with Direct-Data-Link-Mapper or user interface/user PROFINET IO: General CM error

Bus communication disrupted The module has the data record, however there are no read data yet. The module currently processes the maximum possible jobs for a CPU. The required operating resources (memory, etc.) are currently occupied. Internal temporary error. Job could not be carried out. Repeat the job. If this error occurs often, check your installation for sources of electrical interference. Data record transfer was canceled due to priority class cancellation. Job cancelled due to restart (warm restart) or cold restart of DP master.

80C6 80C7

If any of these errors is detected, the function call to read or write data record is executed again. The maximum count of these repetitive calls is set to 300 beyond which an error is reported as a read error or write error at the RdErr or WrErr output parameter respectively.

5.4.5

Message characteristics
MMStat signals the following errors at the block output: Rack fault (RackF_Act) Module fault (ModF_Act) An error generates a group error GrpErr in output parameter Err_Act. These errors are not signaled as alarms as they are already part of the MMDiag block (both on the DP master system and behind the Y-Link). The alarms are output using the ALARM_8P function. The messages can be enabled or disabled using the MsgLock input. The alarms are also suppressed if the block is in Out of service mode. The alarms are suppressed for RunUpCyc number of times on warm restart.
SIMOCODE pro PCS 7 Library V8.0

102

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

Description of the blocks 5.4 Block for statistical function MMStat

Message block MsgEvId1


Table 5- 31 Output messages Message No. 1 2 3 4 5 6 7 8 * A = Alarm ** User-definable message Block parameters
ExtMsg1 ** ExtMsg2 ** ExtMsg3 ** ExtMsg4 ** ExtMsg5 ** ExtMsg6 ** ExtMsg7 ** ExtMsg8 **

Message block
MsgEvId1

Message text $$BlockComment$$External message 1 $$BlockComment$$External message 2 $$BlockComment$$External message 3 $$BlockComment$$External message 4 $$BlockComment$$External message 5 $$BlockComment$$External message 6 $$BlockComment$$External message 7 $$BlockComment$$External message 8

Message class * A A A A A A A A

Auxiliary values
The block supports 10 programmable auxiliary values.
Table 5- 32 Message No. 1 2 3 4 5 6 7 8 9 10 Structure of the auxiliary values ALARM_8P Auxiliary value 1 2 3 4 5 6 7 8 9 10 Block parameters
ExtVa101 ExtVa102 ExtVa103 ExtVa104 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110

Meaning External value 1, user-definable External value 2, user-definable External value 3, user-definable External value 4, user-definable External value 5, user-definable External value 6, user-definable External value 7, user-definable External value 8, user-definable External value 9, user-definable External value 10, user-definable

The MsgStat1, MsgAckn1, and MsgErr1 parameters transfer the following information: Message status Message error Message acknowledgment status

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

103

Description of the blocks 5.4 Block for statistical function MMStat

5.4.6

Start-up characteristics
The alarm messages are suppressed in the OB100 for the RunUpCyc no. of times.

5.4.7

Status information

Status information MMStat


The status information is communicated to WinCC for display in the faceplates.
Table 5- 33 Status1 Bit 0 ... 2 3 4 5 6 7 ... 27 28 29 30 31 Status information MMStat Description Reserved OosAct.Value OosLi active Reserved LocalAct.Value Reserved 1 = General fault MsgLock activated 1 = Rack failure Reserved

SIMOCODE pro PCS 7 Library V8.0

104

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

Description of the blocks 5.4 Block for statistical function MMStat

5.4.8

Enabled operations

Operator permissions
The operator permissions for control commands are configured in the OS_Perm structured parameters. These are transferred to WinCC via the OS_PermOut and OS_PermLog parameters. The operator parameters are operable from the FBs in CFC/SFC. The operator permissions control operation only in the faceplate.
Table 5- 34 OS_Perm bit 0 1 2 3 4...20 21 2231
OS_PermOut OS_PermLog

Operator permissions MMStat OS_PermOut bit 0 1 2 3 4...20 21 2231 OS_PermLog bit 0 1 2 3 4...20 21 2231 Description Reserved 1 = Operator is permitted to change to ON mode. Reserved 1 = Operator is permitted to change to "Out of service" (Oos) mode Reserved 1 = Operator is permitted to read data from the device Reserved

contains the permission information of all the parameters. contains the permission evaluated based on the current operating states.

5.4.9

Assigning addresses in HW Config


The two bytes of the process image inputs (PII) are transferred from the SIMOCODE device based on the logical address configured for the module. This is a manual configuration that a user has to configure for both the inputs and outputs.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

105

Description of the blocks 5.4 Block for statistical function MMStat

Symbolic name in HW Config


The PZDIn01 input parameter of the block is interconnected with the corresponding input of the logical address of the device (LAddr). The logical word address can be assigned to a symbolic name (*).

Figure 5-2

Symbolic name in HW Config

See also
Interconnections of the MMDiag block (Page 87)
SIMOCODE pro PCS 7 Library V8.0

106

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

Description of the blocks 5.5 Block for timestamping MMTime

5.5
5.5.1

Block for timestamping MMTime


Description MMTime
The block executes the following functions: Time stamping: SIMOCODE pro V PROFIBUS can timestamp up to 8 digital signals with high temporal precision (10 ms). In the process, every change in the state of the digital signals will be recorded. If the time stamping function is activated, SIMOCODE pro V PROFIBUS transfers the time-stamped events to the control system additionally for the signals configured in the device. Logbook function: The block reads out the error buffer of SIMOCODE pro C / V and SIMOCODE pro V PROFINET. This logbook function is available for all basic units.

Time stamping function with SIMOCODE pro V PROFIBUS


To use time stamping, the DP master being used must support the time synchronization function via PROFIBUS (e.g. DP master connections for SIMATIC S7-400). Alternatively, you can use a master clock (e.g. SICLOCK). You can activate time synchronization for SIMOCODE pro V in STEP 7 HW Config in the slave properties under "Time Synchronization". The set synchronization interval must correspond to the configuration of the clock master. The time-stamped events are saved in the device and transferred to the control system. This is displayed in the Alarm (Page 45) view.

Logbook function with SIMOCODE pro V PROFINET


SIMOCODE pro V PROFINET supports time synchronization via the Network Time Protocol (NTP). If a valid time is available, the trip errors and events in the error buffer are logged with the date and time of day (real-time stamping). Otherwise, logging is carried out with a time stamp that reproduces the operating hours of the device.

Views
The MMTime block supports the following views: Alarm (Page 45) Logbook (Page 54) The MMTime block can be indicated via two block icons (Page 25).

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

107

Description of the blocks 5.5 Block for timestamping MMTime

5.5.2

Logbook function
The error buffer is available for SIMOCODE pro C / V PROFIBUS and PROFINET . The error buffer contains the tripping events and events that a SIMOCODE pro device has saved. A maximum of 21 messages are recorded and displayed in the Logbook view (Page 54). Each message contains the following attributes:
Attributes Tripping events Output LogId1 to LogId21 Output LogTm1 to LogTm21 Text of the message Events2 Output EnCktCls / EnCktOpn Text of the message
1

PROFIBUS devices Number of the message Operating hours of the device

PROFINET devices Number of the message Real-time stamp 1

Number of the message Time stamp

Number of the message Time stamp

Output ClsTmStmp / OpnTmStmp

Date and real time are logged, if there is a valid time that has been synchronized via an NTP clock or set manually with SIMOCODE ES. When using DM-F expansion modules with SIMOCODE pro V.

Data records
The values are read from the SIMOCODE pro device with the RDREC function. This information is written to the output parameters.
No. Data record number DS72 DS73 DS76 DS77 Read access/write access R R R R Number of bytes 125 165 193 193 Description For PROFIBUS Yes Yes No No For PROFINET Yes Yes Yes Yes

1 2 3 4

Read tripping event Read event (DM-F) Time stamp for tripping event Time stamp for events (DM-F)

Tripping events
Table 5- 35 No. 1 2 Messages about tripping event MMTime Message No. 0 1 Event Hardware fault basic unit Module fault

SIMOCODE pro PCS 7 Library V8.0

108

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

Description of the blocks 5.5 Block for timestamping MMTime


No. 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 Message No. 2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 19 25 26 27 28 29 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 52 56 57 Event Temporary components Configuration fault Parameterization Bus PLC/PCS Execution ON command Execution Stop command FB ON FB OFF Stalled positioner Double 0 Double 1 End position Antivalence Cold starting (TPF) test position feedback UVO fault OPO error (operational protection OFF) Asymmetry Overload Overload + phase failure Internal ground fault External ground fault Thermistor trip level Thermistor short-circuit Thermistor open circuit TM1 trip T> TM1 sensor fault TM1 Out of Range EM open circuit EM short-circuit Trip level I> Trip level I< Trip level P> Trip P< Trip level cos phi< Trip level U< AM1 trip level 0/420 mA> AM1 trip level 0/420 mA< Stalled rotor Number of starts > External fault 1 External fault 2

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

109

Description of the blocks 5.5 Block for timestamping MMTime


No. 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 Message No. 58 59 60 61 64 65 66 67 68 72 73 74 80 81 88 104 106 107 112 113 120 128 129 130 131 138 139 140 141 142 143 160 Event External fault 3 External fault 4 External fault 5 External fault 6 Analog module open circuit Test trip DM-F safety-related tripping DM-F wiring DM-FL cross circuit TM2 trip T> TM2 sensor fault TM2 Out of Range AM2 trip level 0/420 mA> AM2 trip level 0/420 mA< AM2 open circuit No. power-on: In the message text, x will be replaced with the value of the error message ID. Warning level T > TM2 sensor fault TM2 Out of Range Warning level 0/4-20mA> Warning level 0/4-20mA< AM2 open circuit TM2 warning level T> TM2 trip level T> TM2 sensor fault TM2 Out of Range AM2 warning level 0/4-20mA> AM2 warning level 0/4-20mA< AM2 trip level 0/4-20mA> AM2 trip level 0/4-20mA< Limit monitoring 5 Limit monitoring 6 AM2 open circuit

SIMOCODE pro PCS 7 Library V8.0

110

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

Description of the blocks 5.5 Block for timestamping MMTime

DM-F events
When using DM-F Local and DM-F PROFIsafe fail-safe digital modules, the "Enabling circuit closed" and "Enabling circuit open" events are saved.
Table 5- 36 No. 1 2 Messages about events MMTime Event Enabling circuit closed Enabling circuit open

Message No. 200 or 202 201 or 203

5.5.3

Messages
The following application is only available for SIMOCODE pro PROFIBUS devices (Slv_Typ = 0).

Signal messages and special messages


SIMOCODE detects three message buffers: DS12, DS13, and DS14. Each of these data sets had 180 bytes to contain 16 messages.
Table 5- 37 Byte.Bit 0.0 12.0 24.0 180.0 Assignment Description Signal message or special message 1 Signal message or special message 2 Signal message or special message 3 Signal message or special message 16 Size 12 bytes 12 bytes 12 bytes 12 bytes

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

111

Description of the blocks 5.5 Block for timestamping MMTime

Structure of a signal message


Table 5- 38 Byte.Bit 0.0 1.0 2.0 Signal message assignment Description Slot number of module Channel number of module Signal status Type Byte[1] Byte[1] Byte[1] IDs (important for SIMOCODE-III) 0x01: DPV1 slot model 0x04: S7 slot model 0x00 .. 0x07: Number of timestamping - Input Bit 7: 1 = input signal = rising edge 0 = output signal = falling edge Bit 6: 0 = Not used 3.0 4.0 Reserved Time Byte[1] Byte[8] 0x00 Bit 0: 1 = Clock is synchronized, 0 = Clock is not synchronized

Up to 8 signal messages can be configured via SIMOCODE ES. To display the signal messages, the timestamping must be activated in SIMOCODE ES.

Structure of a special message


Special messages are predefined. There are 5 special messages that are displayed, depending on the alarm type.
Table 5- 39 Byte.Bit 0.0 1.0 Special message assignment Description Slot number of module Specifier of the special message Type Byte[1] Byte[1] IDs (important for SIMOCODE-III) 0x0: DPV1 slot model 0x02: S7 slot model 0x01: Start-up data 0x02: Time-of-day frame failure 0x04: Time difference between frame and internal clock > 1 second 0x05: STOP of functionality and timestamping 0x06: Buffer full 01h: START / INCOMING 00h: END / OUTGOING 0x00 Total time according to ISP process: Bit 0: 1 = Clock is synchronized, 0 = Clock is not synchronized

2.0 3.0 4.0

Feature of the special Byte[1] message Reserved Time Byte[1] Byte[8]

SIMOCODE pro PCS 7 Library V8.0

112

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

Description of the blocks 5.5 Block for timestamping MMTime

5.5.4

Signaling response
The errors are signaled in WinCC. After the alarm has been generated, the message is transmitted to the Alarm view by the MMTime faceplate together with the time stamp.

Message block MsgEvId1


The following messages are generated:
Table 5- 40 Output messages Message No. 1 2 3 Block parameters SrStaTmst[0] SrStaTmst[1] SrStaTmst[2] Message text $$BlockComment$$Restart $$BlockComment$$Error in time stamp message frame $$BlockComment$$Difference between time stamp message frame and internal clock > 1 sec. $$BlockComment$$Failure of time stamping functionality $$BlockComment$$Buffer overflow Message class * S S S

Message block
MsgEvId1

4 5 6 7 8 * S = AS, OS process control fault

SrStaTmst[3] SrStaTmst[4] Reserved Reserved Reserved

S S

Table 5- 41 Message No. 1 2 3 4 5 6 7 8 9 10

Structure of the auxiliary values ALARM_8P1 Auxiliary value 1 2 3 4 5 6 7 8 9 10 Block parameters SarrTimeStamp[0] SarrBatchName SdwStepNoLoc SdwBatchId ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110 Meaning Timestamp array value special message Name of batch Step number Identification number of the batch External value 5, user-definable External value 6, user-definable External value 7, user-definable External value 8, user-definable External value 9, user-definable External value 10, user-definable

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

113

Description of the blocks 5.5 Block for timestamping MMTime

Message block MsgEvId2


The following messages are generated:
Table 5- 42
MsgEvId2

Output messages Message No. 1 2 3 4 5 6 7 8 Block parameters SarMsgEff2[1] SarMsgEff2[2] SarMsgEff2[3] SarMsgEff2[4] SarMsgEff2[5] SarMsgEff2[6] SarMsgEff2[7] SarMsgEff2[8] Message text $$BlockComment$$ Signal 0 $$BlockComment$$ Signal 1 $$BlockComment$$ Signal 2 $$BlockComment$$ Signal 3 $$BlockComment$$ Signal 4 $$BlockComment$$ Signal 5 $$BlockComment$$ Signal 6 $$BlockComment$$ Signal 7 Message class S S S S S S S S

Message block

* S = AS, OS process control fault

Table 5- 43 Message No. 1 2 3 4 5 6 7 8 9 10

Structure of the auxiliary values ALARM_8P Auxiliary value 1 2 3 4 5 6 7 8 9 10 Block parameters SarrTimeStamp[1] SarrBatchName SdwStepNoLoc SdwBatchId ExtVa205 ExtVa206 ExtVa207 ExtVa208 ExtVa209 ExtVa210 Meaning Timestamp array value signal message Name of batch Step number Identification number of the batch External value 5, user-definable External value 6, user-definable External value 7, user-definable External value 8, user-definable External value 9, user-definable External value 10, user-definable

The MsgStat1, MsgAckn1, and MsgErr1 parameters transfer the following information: Message status Message error Message acknowledgment status Parameters SigMsg1 to SIMOCODE ES.
SigMsg8

are messages that can be defined by the user via

SIMOCODE pro PCS 7 Library V8.0

114

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

Description of the blocks 5.5 Block for timestamping MMTime

5.5.5

Driver generator
The "Generate Module Driver" function automatically inserts the MMTime block into the following organization blocks within the run sequence: OB40 (process alarm) OB100 (cold restart) The DAddr input is parameterized via the information from the HW Config.

5.5.6

Start-up characteristics
In OB100, the identifier for "Start up" is entered in output OMODE (OMODE
= 16#xx01xxxx).

The alarm messages are suppressed in the OB100 for the RunUpCyc no. of times. Acknowledge the errors GrpErr, RackF_Act, ModF_Act, Rack1Err, and Rack2Err.

5.5.7

Assigning addresses in HW Config


The two bytes of the process image inputs (PII) are transferred from the SIMOCODE device based on the logical address configured for the module. This is a manual configuration that a user has to configure for both the inputs and outputs. The Generate module driver function shall insert the driver blocks and generate all the required interconnections between the driver blocks RACK, OB_DIAG1 / OB_DIAG1_PN, MOD_SWT. All the interconnections between these OB_DIAG1 / OB_DIAG1_PN, MOD_SWT driver blocks and SIMOCODE signaling blocks shall be performed manually. The MMTime block shall be inserted manually by the user in the CFC chart.

Procedure
The following configuration shall be done by the user manually for all the above mentioned blocks: 1. Parameterize the diagnostic address of the SIMOCODE pro module to the MMDiag block. 2. Parameterize DPA_Link based on the hardware configuration (0 = DP-MASTER, 1 = Behind the Y-link)

See also
Interconnections of the MMDiag block (Page 87)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

115

Description of the blocks 5.6 MMRevDhl motor block

5.6
5.6.1
5.6.1.1

MMRevDhl motor block


Application
Description of MMRevDhl

Purpose of the block


The MMRevDhl motor block controls the operation of a Dahlander High Feature reversing starter. The following commands are available in automatic mode and in manual mode: Forward Fast Forward Reverse Fast Reverse Stop

Use
In AUTO mode, the commands can be given based on the Feature.Bit4 : 0 = pushbutton mode, 1 = switch mode.
FRevMan)

The commands for starting and stopping the motor (FwdMan, FFwdMan, StopMan, RevMan, are reset at the end of the execution cycle of the block because the commands are pulse signals in manual operation. At the ErrorNum parameter, error Invalid signal status is indicated if FwdAut provided that Feature.Bit4 = 0.
= 1

= 1,

and StopAut

Block icons and faceplates The MMRevDhl motor block can be indicated via 2 block icons (Page 25). The commands can be issued from the faceplate if the operator permission has been programmed at the OS_Perm parameter.

SIMOCODE pro PCS 7 Library V8.0

116

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

Description of the blocks 5.6 MMRevDhl motor block

Views
The MMRevDhl motor block supports the following views: Batch (Page 43) Trend (Page 44) Alarm (Page 45) Memo (Page 46) Standard (Page 56) Maintenance (Page 58) Preview (Page 59)

5.6.1.2

Operating modes
The following modes are available for the MMRevDhl block: Local (for motors and solenoid valves) Automatic Manual Out of service(Oos)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

117

Description of the blocks 5.6 MMRevDhl motor block

Conditions for changing the mode


Table 5- 44 No. Conditions for changing the mode

Conditions MANUAL (ON) Out of service (Oos) on an edge transition 0 1 from OosLi, if Feature.Bit1 = 1 (response for Out of service mode) Via faceplate (OosOp = 1) if ModLiOp = 0 or

Out of service (Oos) MANUAL (ON) Via faceplate (ManModOp = 1) Local MANUAL Via faceplate (ManModOp = 1) if ModLiOp = 0 and LocalSetting = 3 or LocalSetting = 4 or

via LocalLi = 0, if LocalSetting = 1, LocalSetting = 2 Via faceplate (ManModOp = 1) if ModLiOp = 0 or

AUTOMATIC MANUAL via ManModLi = 1 if ModLiOp = 1 and Feature.Bit4 = 0 (pushbutton mode) or via AutModLi = 0 if ModLiOp = 1 and Feature.Bit4 = 1 (switch mode)

MANUAL AUTOMATIC via AutModLi = 1 if ModLiOp = 1 Via faceplate (AutModOp = 1) if ModLiOp = 0 or

Manual Local Via faceplate (LocalOp = 1) if ModLiOp = 0 and LocalSetting = 3 or LocalSetting = 4 or

via LocalLi = 1, if LocalSetting = 1, LocalSetting = 2

AUTOMATIC Local Via faceplate (LocalOp = 1) if ModLiOp = 0 and LocalSetting = 3 or LocalSetting = 4 or

via LocalLi = 1, if LocalSetting = 1, LocalSetting = 2

Local AUTOMATIC Via faceplate (AutModOp = 1) if ModLiOp = 0 and LocalSetting = 3 or LocalSetting = 4 or via LocalLi = 0, if LocalSetting = 1, LocalSetting = 2
= 1,

If ModLiOp

the enabled operations for all mode changes will be deactivated.

If the block is in local mode, no other mode can be activated for it.

SIMOCODE pro PCS 7 Library V8.0

118

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

Description of the blocks 5.6 MMRevDhl motor block

Switching between the operating modes


The switchover between "manual and automatic mode" takes place as shown in the following schematic:

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).

5.6.1.3

Mode changeover error


This fault is output if you want to change the mode of the block from: manual to automatic mode or local to automatic mode and the previous state does not match the target state (bumpless switchover). It is only possible to change the mode if the block is in the same state afterward and beforehand. Bumpless switchover can be activated / deactivated using the connection Feature.Bit17 bumpless switchover to automatic mode. Bumpless switchover from local to automatic mode is performed with the LocalSetting parameter. In the standard view of the faceplate, the text "Error switchover" is output on unwanted nonbumpless switchover. If switchover from local to automatic mode is initiated by the operator and this error occurs, the block will remain in local mode.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

119

Description of the blocks 5.6 MMRevDhl motor block

5.6.1.4

Forcing operating modes


The "Forcing operating modes" function enables you to put the function block into another operating state via interconnectable input parameters, independently of the current control.
Table 5- 45 Parameter
StopForce FwdForce FFwdForce RevForce FRevForce

Parameters for "Forced operating states" Value 1 1 1 1 1 Meaning Stop motor (forced) Start motor forward (forced) Start motor fast forward (forced) Start motor in reverse (forced) Start motor in fast reverse (forced)

Inconsistent input parameters generate the ErrorNum parameter, the control remains unchanged. Note The function can be performed in MANUAL and AUTO mode. If you have parameterized the prewarning time WarnTiMan and the waiting time IdleTime as greater than 0, the control will only become effective after the set times have elapsed. When operating states are forced, the Enable direct changeover between forward and reverse operation feature bit has no effect. Direct changeover between forward and reverse operation is always possible.

Display in the faceplate and block icon


If an operating state is forced, this is displayed in the block icon and in the standard view of the faceplate. In the block symbol: Display with a red F and the crossed-out lock. In the standard view of the faceplate: Display of a text for the forced operating state, e.g. "Forced stop" for motors. This is additionally displayed with the crossed-out lock.

SIMOCODE pro PCS 7 Library V8.0

120

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

Description of the blocks 5.6 MMRevDhl motor block

5.6.1.5

Control functions for directions


In local, manual, and automatic mode, the commands for the change of direction are controlled via Feature.Bit5 and Feature.Bit7. The switchover time cannot be applied to Force control commands.
Commands for change of direction OFF Fwd Rev FFwd FRev Off Fwd Rev FFwd FRev

Feature.Bit5* Feature.Bit5*

Feature.Bit7 Feature.Bit5 Feature.Bit7 Feature.Bit7 Feature.Bit5 Feature.Bit7

Feature.Bit5* Feature.Bit5* Feature.Bit5* Feature.Bit7 Feature.Bit5 Feature.Bit7

Feature.Bit5* Feature.Bit5 Feature.Bit7 Feature.Bit5* Feature.Bit5 Feature.Bit7

* also possible without Feature bit

5.6.2

Output signal for ready to start


The RdyToStart
= 1

output parameter displays whether a start is possible in AUTO mode.

Readiness to start is output if the following conditions are fulfilled: No general fault is pending. No interlock is active No forcing of operating states and the setting value is active No rapid stop is active The block is in automatic mode The waiting time for the restart must have elapsed

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

121

Description of the blocks 5.6 MMRevDhl motor block

5.6.3

Resetting of the block


Resetting the block is necessary if an interlock occurred via the input Protect, Trip, or an error ("runtime" or "control") has occurred. The RdyToReset output signals if resetting is possible via the RstLi input parameter or via the automatic commands. The block can be reset in different ways: Resetting by interconnection (RstLi input). Resetting by the operator via pushbutton in the faceplate (RstOp input). Resetting by a 0-1 edge transition of the corresponding automatic or local signal (except for motor protection). To reset via the faceplate, the operator must have the appropriate authorization (OS_Perm). After a reset, the P_Rst output is set for one cycle.

5.6.4

Restart lock after changing direction of rotation or switching off the motor
Use the IdleTime input parameter to enter a restart lock for changing the direction of rotation and for restarting the motor. Via the Enable direct changeover between forward and reverse operation feature bit, you define how switchover is to be performed. When the "Stop" command is given, the motor goes immediately into "Stop" mode and the IdleTime starts after the feedback has been received (FbkFwd and FbkRev = 0). The motor cannot be started again until the IdleTime has expired. The IdleTime parameter can be set independently of the MonTiDynamic parameter.

5.6.5

Limit value monitoring with hysteresis


The block supports the standard function limit value monitoring with hysteresis. The function is executed via the AV_Hyst input parameter.

Signalflutter.

You can additionally define the hysteresis for all limit monitoring functions, e.g. to suppress

Enter the hysteresis as as physical variable on the block and in the faceplate.

5.6.6

Rapid stop
Rapid stop has the highest priority in manual and automatic mode, and in all other operating states (e.g. forcing of states). The function is activated via the faceplate. This depends on the parameterization in the Enable rapid stop via faceplate feature bit. You enter the command for rapid stop via the RapidStp
= 1

input parameter.

SIMOCODE pro PCS 7 Library V8.0

122

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

Description of the blocks 5.6 MMRevDhl motor block


The drive is stopped immediately by clicking the "Rapid stop" button in the faceplate. This is displayed in the faceplate:

For implementation of the rapid stop function for local operation, the R_StpAct = 1 output parameter is set. You must interconnect this parameter with the relevant channel block and in the I/Os to implement this rapid stop function in the hardware. Release of the rapid stop for all modes is performed in the faceplate via the "Reset" button (RstOp = 1). In the CFC, release is performed via the RstLi = 1 input parameter. In automatic mode, release can also be performed via a 0-1 edge transition of the control if the Feature.Bit9 = 1. Rapid stop can also be selected in the stop state of the motor. This also prevents the motor from starting.

5.6.7

Specify warning times for controls


The MMRevDhl block supports the Specify warning times for controls function. You can generate warning signals when motors are started. Warning signals can be generated in the following modes: Manual mode (WarnTiMan input parameter) Automatic mode (WarnTiAut input parameter) You specify the warning times in seconds using the WarnTiMan and WarnTiAut input parameters. If a motor is started, this is displayed in the output parameter with WarnAct The motor then starts after the set warning times has elapsed and WarnAct is reset (WarnAct = 0). A warning to this effect will not be output if you set a value smaller than the SampleTime parameter for the warning times (WarnTiMan, WarnTiAut).
= 1.

5.6.8

Issuing maintenance release


The maintenance release is information about a measuring point at which maintenance, service, or calibration work is to be performed. You can use the signal for the maintenance release to convey information about release of a measuring point from the OS to the maintenance station. You issue the maintenance release in the parameter view via operation of the MS_RelOp = input parameter (operator control permission "high-value process operation" required). A maintenance release is then provided via the interconnectable output parameter MS_Release = 1 for further processing. An operator in the message is generated.
1

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

123

Description of the blocks 5.6 MMRevDhl motor block

5.6.9

Suppressing messages using the MsgLock parameter


The MMOprtn block supports the standard function message suppression. The function is executed via the MsgLock parameter. With the Feature.Bit25, you determine which messages are suppressed via the MsgLock parameter: All messages on the block All messages on the block except for process control messages, the message class that is released by the default setting (e.g. CSF, motor protection, feedback error) and external messages. Pending messages are given the "output" status with MsgLock
= 1. = 1

5.6.10

Simulation
Simulation is the manipulation of a signal, independently of the actual source of the signal or logic that generates this signal. Simulation can only be activated / deactivated with the operator control permission level for system authorization via SimOn =1 if SimLiOp = 0 or from the CFC via SimOnLi=1 if SimLiOp = 1. During simulation, the Quality Code(ST_Worst) is set to 16#60. The icons for the Quality Code are displayed in the block icon and in the overview window of the faceplates. Simulation is triggered during runtime in the faceplate's parameter view by clicking on the "Simulation" button. The simulation is characterized as follows: Simulation can only be activated / deactivated with the operator control permission level for system authorization. The technological functions are not influenced All process-relevant output signals, such as Fwd, Rev, FFwd, and FRev are given "Simulation" status. In the case of blocks with operator control or monitoring functions (for example, faceplates), these signals are identified in the faceplate with the status for the simulation as follows:

The group status of the block is displayed in the status bar of the block icon and of the operator block with the simulation status as follows:

The interlocking functions of the block are activated in accordance with the input parameter BypProt = 0 or deactivated BypProt = 1).

SIMOCODE pro PCS 7 Library V8.0

124

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

Description of the blocks 5.6 MMRevDhl motor block


Auxiliary values (e.g. UserAna1) cannot be simulated. When the control function of the block can be manipulated, the read-back and feedback values (for example, FbkSpd1) are adjusted according to the manipulation of the control settings

5.6.11

Monitoring functions
The monitoring function can be released or blocked via the operator in the faceplate. The Monitor parameter indicates whether the feedback for the monitoring function is activated:
Monitor = 1 Monitor = 0:

(default): Monitoring function ON Monitoring function OFF

If the block is in Local mode, no check is made for monitoring errors. If the "Forward" / "Stop" command is output and no correct feedback signal is received within the defined time (MonTiDynamic), the block will issue an error signal (MonDynErr) and the output signal will issue the "Stop" command. The monitoring time is specified in seconds. If the monitoring time is less than the sampling time, the monitoring time will be calibrated to the sampling time. The time can be entered in the faceplate in the expanded command area in day-hour-minute-second format. The function is not available in Out of Service mode. Note The monitoring functions are functions of the block. SIMOCODE pro nevertheless has its own functions for monitoring the on/off operations and the switching state of the motor. The monitoring functions of the block can come into conflict with monitoring functions configured in SIMOCODE pro under certain conditions.

Monitoring of the starting and stopping characteristics for motors


The monitoring of the starting characteristics is implemented via the MonTiDynamic parameter. The monitoring time states the period in which the associated feedback value for a control signal, e.g. FbkStart must be present in the motor. If this is not the case, the text "Feedback error" is displayed in the standard view of the faceplate. At the same time, an error message is output. The block then enters its neutral position. In motors, this is always the stop state. The block signals this on the relevant output parameter of the error message with 1, e.g. on the motor with MonDynErr = 1.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

125

Description of the blocks 5.6 MMRevDhl motor block


The parameters are set in seconds. Note The monitoring functions are functions of the block. SIMOCODE pro nevertheless has its own functions for monitoring the on/off operations. You can set these using the device parameters Motor control Control function Execution time. The monitoring functions of the block can come into conflict with monitoring functions configured in SIMOCODE pro under certain conditions.

Monitoring of the running characteristics for motors


The monitoring of the running characteristics is implemented via the MonTiStatic parameter. The monitoring time states the period in which the feedback value can change its value quickly without an error message being output. Example: A running motor with the feedback via the FbkStart input parameter. This parameter should be static in accordance with the control, but may change its value within the monitoring time. If change of the FbkStart parameter is longer than the monitoring time, the "Runtime error" text will be displayed in the standard view of the faceplate. At the same time, an error message is output. The block then enters its neutral position. For motors, this is always the stop state. The block signals this on the relevant output parameter of the error message with 1, e.g. on the motor with MonStaErr = 1. The parameters are set in seconds. Note The monitoring functions are functions of the block. SIMOCODE pro nevertheless has its own functions for monitoring the switching state of the motor. You can set these using the device parameters Motor control Control function Feedback time. The monitoring functions of the block can come into conflict with monitoring functions configured in SIMOCODE pro under certain conditions.

See also
MMRevDhl - Maintenance (Page 58)

SIMOCODE pro PCS 7 Library V8.0

126

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

Description of the blocks 5.6 MMRevDhl motor block

5.6.12

Motor Protection
The motor protection function is used to switch off the motor on a thermal overload (Trip = 0, interconnectable input parameters). If the motor is switched off via the motor protection function, a message is generated (process control message). This is displayed in the faceplate with the text "Motor protection." You can influence the reset via various Feature.Bits.

5.6.13

Interlocking

Interlocking with Permit, Intlock and Protect


A maximum of three types of interlock can be used for the MMRevDhl block. Three separate inputs named Permit, Intlock, and Protect are available for these functions.
Table 5- 46 Input
Permit

Interlock types Value 1 Meaning Activation enable ("Permission"): The activation enable makes it possible to leave the neutral position of the block in response to operator input or a command from the program (CFC). The activation enable has no effect if the block is not in the neutral position.

Intlock

Interlock without reset ("Interlock"): An active interlock condition brings the block to the neutral position. After the interlock condition has gone, the currently active control function becomes active again in automatic or local mode. In manual mode the faceplate can be operated again after the interlock condition has gone.

Protect

Interlock with reset ("Protection"): An active interlock condition brings the block to the neutral position. After the interlock conditions are cleared, the operator or an activation sequence must perform a reset to once again enable activation of the control according to the input parameters.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

127

Description of the blocks 5.6 MMRevDhl motor block

Display of interlock
The state of the interlock is visualized in the faceplates and in the block icons.
Table 5- 47 Icon Icons for interlock Meaning No interlock is active One or more interlocks are pending No lock Individual interlocks are not active (the input parameters are inactive; the button in the faceplate is invisible):
Perm_En = 0 or Permit.ST = 16#FF Prot_En = 0 or Protect.ST = 16#FF

Intl_En = 0 or Intlock.ST = 16#FF

Note No safe position Motors and values are not put into the safe position if one of the interlock inputs is active (e.g., Intlock = 0) and the corresponding signal status is 16#FF (Intlock.ST = 16#FF).

"Interlock active" output via the LockAct parameter


The LockAct parameter is always set automatically if an interlock is set in the following parameters:
Intlock Permit Protect Trip

The LockAct = 0 parameter if the interlock is canceled and the interlocks that require acknowledgments have been acknowledged. You can bypass the interlock using BypProt also makes LockAct = 0.
= 1

in local mode and during simulation. This

SIMOCODE pro PCS 7 Library V8.0

128

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

Description of the blocks 5.6 MMRevDhl motor block

How the signal status affects the interlocks


There are three ways in which the signal status affects the interlocks:
No. 1 Icon Signal status Simulation (16#60): 2 If the interlock signal with the status 16#60 brings about a cancelation of the interlock, this is processed as a bypass of the interlock in the block. If the interlock signal with status 16#60 does not bring about a cancelation of the interlock, this is processed in the block as simulation.

"bad, device-related" (16#28) or " bad, process-related" (16#00) -> The signal status is used to activate the motor to stop.

Signal status Simulation, "bad, device-related" and " bad, process-related" -> No change in the block

See also
MMRevDhl - Standard (Page 56)

5.6.14

Disabling interlocks

Disabling individual interlocks


You can disable the block interlocks that are implemented using the input parameters Permit, Intlock, and Protect. This is done by setting the following parameters:
Perm_En = 0 Prot_En = 0 Intl_En = 0

or Permit.ST or Protect.ST or Intlock.ST

= 16#FF:

The Permit input parameter has no effect The Protect input parameter has no effect The Intlock input parameter has no effect

= 16#FF: = 16#FF:

Deactivation of all interlocks


You can use the input parameter BypProt = 1 to disable all the interlocks, irrespective of the parameter assignment of the individual interlock, in local mode as well as for the "simulation" function.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

129

Description of the blocks 5.6 MMRevDhl motor block

5.6.15
GrpErr

Group fault

The output parameter for group error GrpErr is set when one of the errors listed below is detected. The STANDARD view displays these errors as a "group error" in plain text. Control System Fault (CSF) Trip (Trip) Feedback error due to control change (MonDynErr) Feedback error due to unexpected feedback change (MonStaErr)

5.6.16

User-defined auxiliary values and user-defined status


For the MMRevDhl block, auxiliary values and status bits are available that are displayed in the Standard view and that the user can define.

User-defined auxiliary values


Use the auxiliary values to display values such as motor velocity, temperature. To do so, connect the value to be displayed with input parameters UserAna1 or UserAna2. In the CFC chart, you can define the text for the displayed values in the object properties of the block (Connections > Identifiers).

User-defined status
Use the UserStatus parameter to display information using user-defined status bits. To do so, connect the signal (byte) to be displayed with the UserStatus input parameter.

5.6.17

Message characteristics
The alarms are output using the ALARM_8P function. Block messages can be enabled or disabled using the MsgLock input. The alarms are also suppressed if the block is in Out of service mode. The alarms are suppressed on warm restart for the number of cycle set for power up in the RunUpCyc parameter.

SIMOCODE pro PCS 7 Library V8.0

130

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

Description of the blocks 5.6 MMRevDhl motor block

Message block MsgEvId1


Table 5- 48 Output messages Message No. 1 2 3 4 5 6 7 8 ** User-definable message Block parameters
Message-1 Message-2 CSF ExtMsg1 ** ExtMsg2 ** ExtMsg3 **

Message block
MsgEvId1

Message text $$BlockComment$$Monitoring Error or Starter tripped $$BlockComment$$Motor protection triggered $$BlockComment$$Control System Fault $$BlockComment$$External message 1 $$BlockComment$$External message 2 $$BlockComment$$External message 3

Message class * S S S A A A

* S = AS, OS process control fault; A = Alarm

Table 5- 49 Message No. 1 2 3 4 5 6 7 8 9 10

Structure of the auxiliary values ALARM_8P Auxiliary value 1 2 3 4 5 6 7 8 9 10 Block parameters


BatchName StepNo BatchID ExtVa104 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110

Meaning Name of batch Step number ID of the batch External value 4, user-definable External value 5, user-definable External value 6, user-definable External value 7, user-definable External value 8, user-definable Reserved Reserved

The MsgStat1, MsgAckn1, and MsgErr1 parameters transfer the following information: Message status Message error Message acknowledgment status

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

131

Description of the blocks 5.6 MMRevDhl motor block

Message block MsgEvId2


Table 5- 50 Output messages Message No. 1 2 3 4 5 6 7 8 ** User-definable message Block parameters
ExtMsg4 ** ExtMsg5 ** ExtMsg6 ** ExtMsg **

Message block
MsgEvId2

Message text $$BlockComment$$ MMOprtn Group Warning : @1W%t#MMOprtn_WRN@ $$BlockComment$$ MMOprtn Group Fault : @2W%t#MMOprtn_TRP@ $$BlockComment$$ MMOprtn Control System Fault $$BlockComment$$ MMOprtn Warning I> $$BlockComment$$ MMOprtn Warning I< $$BlockComment$$ MMOprtn Trip I> $$BlockComment$$ MMOprtn Trip I< $$BlockComment$$ MMOprtn Test Position

Message class * W S S W W A A W

ExtMsg8 **

ExtMsg9 **

ExtMsg10 **

ExtMsg11 **

* S = AS, OS process control fault; A = Alarm

Table 5- 51 Message No. 1 2 3 4 5 6 7 8

Structure of the auxiliary values ALARM_8P Auxiliary value 1 2 3 4 5 6 7 8 Block parameters


ExtVa201 ExtVa202 ExtVa203 ExtVa204 ExtVa105 ExtVa106 ExtVa107 ExtVa108

Meaning External value 1, user-definable External value 2, user-definable External value 3, user-definable External value 4, user-definable External value 5, user-definable External value 6, user-definable External value 7, user-definable External value 8, user-definable

The MsgStat2, MsgAckn2, and MsgErr2 parameters transfer the following information: Message status Message error Message acknowledgment status

SIMOCODE pro PCS 7 Library V8.0

132

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

Description of the blocks 5.6 MMRevDhl motor block

5.6.18

Fault handling
The following errors can be displayed for this block: Error numbers (Page 79) Mode changeover error Invalid input signals

5.6.19

Invalid input signals


The "Invalid input signals" error is output if there are inconsistencies between associated inputs and outputs. For example, you cannot issue start commands and stop commands to the motor simultaneously. If the block algorithm detects an invalid combination of input signals, it will issue an error number at the ErrorNum output, depending on the block. The STANDARD view displays this error in plain text.

5.6.20

Enable for measurement and statistics


You can open the Standard view of the MMMeas and MMStat blocks using buttons in the Maintenance view of the MMRevDhl block. To display buttons in the faceplate, connect the SelMeas and SelStat input parameters to an output parameter of the MMMeas and MMStat blocks in the CFC chart. Note Configure MMMeas and MMStat blocks in the same CFC as the MMRevDhl block.

See also
Reading and writing data records (Page 140)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

133

Description of the blocks 5.6 MMRevDhl motor block

5.6.21

Enabled operations
The operator permissions for control commands are configured in the OS_Perm structured parameters. These are transferred to WinCC via the OS_PermOut and OS_PermLog parameters. The block parameters are controlled via the FBs in CFC/SFC. The activated parameter allows the operator to enter the desired commands. The operator permissions control operation only in the faceplate.
Table 5- 52 OS_Perm bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15...31 Operator permissions MMRevDhl OS_PermOut bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15...31 OS_PermLog bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15...31 Description 1 = Operator is permitted to change to AUTO mode. 1 = Operator is permitted to change to MANUAL mode. 1 = Operator is permitted to change to Local mode. 1 = Operator is permitted to change to "Out of service" mode 1 = Operator is permitted to stop the motor 1 = Operator is permitted to start the motor (forward) On> 1 = Operator is permitted to start the motor (reverse) On> 1 = Operator is permitted to start the motor (fast forward) On>> 1 = Operator is permitted to start the motor (fast reverse) On<< 1 = Operator is permitted to reset the motor 1 = Operator is permitted to define the monitoring time for startup 1 = Operator is permitted to define the monitoring time for runtime 1 = Operator is permitted to activate the monitoring time function (Bit10, Bit11) 1 = Operator is permitted to activate the Simulation function 1 = Operator is permitted to activate the maintenance release function Reserved

SIMOCODE pro PCS 7 Library V8.0

134

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

Description of the blocks 5.6 MMRevDhl motor block

5.6.22

Status information
The status information is passed to WinCC for display in the faceplates.

Status1
Table 5- 53 Status1 bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Status1 MMRevDhl Description Occupied BatchEn SimOn OosAct.Value OosLi.Value 0 = ManAct.Value 1 = AutoAct.Value LocalAct.Value 0: Open padlock in the faceplate (no interlock active) 1: Closed padlock in the faceplate Fwd.Value Motor is stopped Rev.Value FFwd.Value FRev.Value MonStaErr.Value MonDynErr.Value BypProt Invalid signal status Error in mode change 1 = Intlock is active 1 = Permit is active 1 = Protect is active Trip.Value FwdForce StopForce RevForce Fast FwdForce Fast Reverse Force "Interlock" button activated Reset request in the automatic preview WarnAct.Value or IdleTime is active Bypass information from previous function block "Permission" button is enabled

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

135

Description of the blocks 5.6 MMRevDhl motor block

Status2
Table 5- 54 Status2 bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28...30 31 Status2 MMRevDhl Description MsgLock Show automatic preview in the standard view Automatic preview for forward mode Automatic preview for stop mode Automatic preview for reverse mode Automatic preview for fast forward mode Automatic preview for fast reverse mode Motor is stopped Motor is stopping in forward mode Motor is stopping in reverse mode Motor is stopping in fast forward mode Motor is stopping in fast reverse mode Motor is starting in forward mode Motor running forward Motor is starting in reverse mode Motor is running in reverse mode Motor is starting in fast forward mode Motor is running in forward mode Motor is starting in fast reverse mode Motor is running in fast reverse mode No influence on the local command inputs Error on stopping the motor Error in forward mode Error in reverse mode Error in fast forward mode Error in fast reverse mode Show padlocks in block icon "Protect" button activated Reserved MS_RelOp

SIMOCODE pro PCS 7 Library V8.0

136

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

Description of the blocks 5.6 MMRevDhl motor block

Status3
Table 5- 55 Status3 bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24...31 Status3 MMRevDhl Description Effective signal 1 of the message block interconnected via EventTsIn Effective signal 2 of the message block interconnected via EventTsIn Effective signal 3 of the message block interconnected via EventTsIn Effective signal 4 of the message block interconnected via EventTsIn Effective signal 5 of the message block interconnected via EventTsIn Effective signal 6 of the message block interconnected via EventTsIn Effective signal 7 of the message block interconnected via EventTsIn Effective signal 8 of the message block interconnected via EventTsIn Indication of motor protection (Trip.Status 16#FF) 1 = Input parameter FbkFwd is connected 1 = Input parameter FbkRev is connected 1 = Input parameter FbkFFwd is connected 1 = Input parameter FbkFRev is connected SimLiOp.Value 1 = Enable rapid stop Rapid stop command Start motor forward command Start motor in reverse command Start motor fast forward command Start motor in fast reverse command GrpErr.Value RdyToStart.Value Auxiliary value 1 visible Auxiliary value 2 visible Not used

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

137

Description of the blocks 5.7 MMOprtn driver block

5.7
5.7.1

MMOprtn driver block


Description of MMOprtn

Purpose of the block


The MMOprtn block supports the control functions in the Advanced Process Library (APL) that are specific to SIMOCODE pro. Via the block, commands such as emergency start, test, trip reset are started because these functions are not supported by the APL themselves. The block reads the data records. SIMOCODE data records are configured via the block. Block icons and faceplates The MMOprtn block can be displayed via the block icons (Page 25) that reproduce the control functions. The status of the programmed control functions is displayed via the faceplates, e.g. motor status, diagnostic information of the device.

Views
The MMOprtn block supports the following views: Trend (Page 44) Alarm (Page 45) Preview (Page 46) Standard (Page 61) Limits (Page 63) Diagnostics (Page 64) Process image (Page 66)

5.7.2

Operating modes
The following operating modes are displayed by the block: Local Automatic Manual Out of service

SIMOCODE pro PCS 7 Library V8.0

138

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

Description of the blocks 5.7 MMOprtn driver block


An APL block is connected to the MMOprtn driver block to control Local / Remote mode (automatic / MANUAL). Depending on the value of the process image input in PZDIn01, the block is switched to Local mode. The device is switched to Local mode via the APL blocks and the FbSwtMMS channel block. The command for switching modes changes the process input image PZDIn01.

5.7.3

Motor current
The motor current is transferred via the input parameter PZDIn23 as an unsigned 2-byte value. SIMOCODE pro always transfers the current here as a percentage of the set current in a range from 0 to 1020%. The MotCurr parameter calculates this as a percentage. The MotCurrE parameter calculates the motor current actually drawn in amps based on the set current for the motor configured in SIMOCODE. Note The motor current is only calculated if the current measuring module is connected to the SIMOCODE pro device and configured.

5.7.4

Device functions
The DevFunc parameter provides information about the parameterization of SIMOCODE pro and the configuration of further modules by reading the DS130. The data are relevant for: Device class Control function Status thermistor Status analog module Status temperature Status ground fault module Status voltage module Current measuring module

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

139

Description of the blocks 5.7 MMOprtn driver block

CtrlFunc parameter
The CtrlFunc parameter contains the value of the configured control function of SIMOCODE, e.g. direct starter.
Table 5- 56 Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Assignment Control function Overload relay Direct starter Reversing starter Linked device (MCCB) Star-delta starter Star-delta reversing starter Dahlander Dahlander reversing starter Pole-changing starter Pole-changing reversing starter Valve Positioner 1 Positioner 2 Positioner 3 Positioner 4 Positioner 5 Soft starter Soft reversing starter

5.7.5
Read function

Reading and writing data records

The RDREC function is used to read the data records and the WRREC function is used to write commands and values to the SIMOCODE pro device. The "Read Data" button in the faceplates is used to update the displayed values. Reading can only be performed successfully if the function write (WRREC) to data records is not executed at the same time.
Table 5- 57 Parameter RdDataOp RdDataLi 1 EnRdWr RdErr
1

Parameter Read/write data record Value 1 0 -> 1 1 1 Meaning Read data record Read data record Enable reading/writing data record Error when reading
SIMOCODE pro PCS 7 Library V8.0

140

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

Description of the blocks 5.7 MMOprtn driver block


WrErr RdWrAct 1 1 Error when writing Reading/writing data record ended

1 not in Out of service mode and in case of rack failure

Write function
It is only possible to write data records if the block is in REMOTE mode to configure current limits for the SIMOCODE pro module configured with a current measuring module.

See also
Enable for measurement and statistics (Page 133)

5.7.6
Current limits

Current limits

The current limits are read out from data record DS130. Reading of the data record is triggered either via the interconnectable input parameter RdDataLi, in the OS when selecting the limit value view, or by OS operation (RdDataOp). The RdWrAct output is reset during communication. The read data are output at the in/out parameters Trip high (Curr_TH), Trip low (Curr_TL), Warning high (Curr_WH) and Warning low (Curr_WL). If an error occurs, the values are set to zero and the output RdErr
= TRUE

is set.

The limit values can also be parameterized in the faceplate. If the values are changed, they are written to SIMOCODE pro. The signaling response in the case of limit value violations is parameterized with SIMOCODE ES or SIMATIC PDM. Under Monitoring functions Current limits, the response to trip level/warning level is set for this purpose as follows: Trip level: disabled or tripping. Warning level: disabled or warning If an error occurs when writing, the values are reset to 0 and the output WrErr
= TRUE

is set.

Overshooting or undershooting of the limit values results in transmission of the relevant message provided the limit value message has not been completely switched off via the MsgLock parameter (default is: switched off). Limit value violation messages are generated in SIMOCODE pro and evaluated in the block.

Range limits
The range limits for the limit bars are parameterized using the function inputs CurrOpScale and can be adjusted in the OS.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

141

Description of the blocks 5.7 MMOprtn driver block

5.7.7

Hysteresis

Limit value monitoring with hysteresis


The MMOprtn block supports the standard function limit value monitoring with hysteresis. You use the hysteresis, for example, to suppress signal flutter on the device (parameter LmtHyst). The hysteresis value is read by the device and is used for monitoring.

5.7.8

Emergency start

Purpose of emergency start


Emergency start deletes the thermal memory from SIMOCODE pro each time it is activated. This allows the motor to be immediately restarted after an overload trip. The emergency start function sets the process image output DP 0.4, in such a way that the motor can be started again immediately. The following parameters are active in the various operating modes of the block:
Table 5- 58 Emergency start Value 0>1 1>0 0>1 1>0 Meaning Enable emergency start Disable emergency start Enable emergency start Disable emergency start Assigned PIQ bits DP 0.4 = 1 DP 0.4 = 1
EmrgStAut EmrgStMan 1, 2

Operating mode Parameter AUTO MANUAL


1 2

In the Standard view, if the operator permission exists (OS_Perm).

The self-test command of MANUAL mode tracks the respective command in AUTO mode to enable a bumpless transfer of the command state during mode switchover.

SIMOCODE pro PCS 7 Library V8.0

142

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

Description of the blocks 5.7 MMOprtn driver block

5.7.9

Self-test
The SIMOCODE pro test functions are activated by setting the parameters CstAut
/ CstMan.

The self-test can be triggered by interconnecting the inputs CstAut / CstMan, or by using the "Test" button in the operator block. This requires the motor to be in the "Stop" state without a fault. If the motor is running, the interconnection is ignored and the button in the operator block is deactivated. The following parameters are active in the various operating modes of the block:
Table 5- 59 Self-test Value 1 0
1, 2

Operating mode Parameter AUTO MANUAL


1 2

Meaning Enable self-test Disable self-test Enable self-test Disable self-test

Assigned PIQ bits DP 0.5 = 1 DP 0.5 = 1

CstAut CstMan

1 0

If the operation has been enabled in the Standard view (OS_Perm = 1).

The self-test command of MANUAL mode tracks the respective command in AUTO mode to enable a bumpless transfer of the command state during mode switchover.

Test phases
Phase 1: Hardware test / lamp test The hardware is tested. LEDs, indicators and lamp controls are activated. Contactor controls remain unchanged. Phase 2: Hardware test result If there is a fault, HW fault basic unit is triggered. If there is no fault: The "GEN. FAULT" LED flashes when no main current is flowing. The "GEN. FAULT" LED flickers if main current is flowing (in all three phases) Contactor controls remain unchanged.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

143

Description of the blocks 5.7 MMOprtn driver block

5.7.10

Trip reset
SIMOCODE can be reset with the trip reset command in the following situations: The cause of the fault has been eliminated. No ON control command is pending.
RdytoReset

is generated in the previous APL or at the MMRevDhl block

This resets the process image output PIQ DP 0.6.

Reset trip
A trip can be reset as follows:
Table 5- 60 Trip reset Value 0>1
1, 2

Operating mode Parameter AUTO / MANUAL AUTO / MANUAL


1 2

Meaning

Assigned PIQ bits

TrpRstLi TrpRstOp

Trip reset active, trip is reset. DP 0.6 = 1 Trip reset active, trip is reset. DP 0.6 = 1

The command is reset at the end of the execution cycle of the block. If the operation has been enabled in the Standard view (OS_Perm = 1).

5.7.11

Group fault
The output parameter for group error GrpErr is set when one of the errors listed below is detected. The Standard view displays these errors as a group error in plain text. General Fault (GenFlt) of the SIMOCODE Module Fault Rack Fault

5.7.12

Fault handling
The following errors can be displayed for this block: Error numbers (Page 79) Mode changeover error Invalid input signals

SIMOCODE pro PCS 7 Library V8.0

144

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

Description of the blocks 5.7 MMOprtn driver block

5.7.13

Invalid input signals


The "Invalid input signals" error is output if there are inconsistencies between associated inputs and outputs. For example, you cannot issue start commands and stop commands to the motor simultaneously. If the block algorithm detects an invalid combination of input signals, it will issue an error number at the ErrorNum output, depending on the block. The STANDARD view displays this error in plain text.

5.7.14

Message characteristics
The alarms are output using the ALARM_8P function. The messages can be enabled or disabled using the MsgLock input. The alarms are also suppressed if the block is in Out of service mode. The alarms are suppressed for RunUpCyc number of times on warm restart.

Message block MsgEvId1


Table 5- 61 Message block
MsgEvId1

Output messages Message No. 1 2 3 4 5 6 7 8 Block parameters


External message 1 External message 2 External message 3 External message 4 External message 5 External message 6 External message 7 External message 8

Message text $$BlockComment$$ External Message 1 $$BlockComment$$ External Message 2 $$BlockComment$$ External Message 3 $$BlockComment$$ External Message 4 $$BlockComment$$ External Message 5 $$BlockComment$$ External Message 6 $$BlockComment$$ External Message 7 $$BlockComment$$ External Message 8

Message class * A A A A A A A A

* S = AS, OS process control fault; A = Alarm

Auxiliary value
The block supports 10 programmable auxiliary values.
Table 5- 62 Message No. 1 2 3 Structure of the auxiliary values ALARM_8P Auxiliary value 1 2 3 Block parameters ExtVa101 ExtVa102 ExtVa103 Meaning External value 1, user-definable External value 2, user-definable External value 3, user-definable

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

145

Description of the blocks 5.7 MMOprtn driver block


Message No. 4 5 6 7 8 9 10 Auxiliary value 4 5 6 7 8 9 10 Block parameters ExtVa104 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110 Meaning External value 4, user-definable External value 5, user-definable External value 6, user-definable External value 7, user-definable External value 8, user-definable External value 9, user-definable External value 10, user-definable

The MsgStat1, MsgAckn1, and MsgErr1 parameters transfer the following information: Message status Message error Message acknowledgment status

5.7.15

Messages via EventTs message block


Whenever an alarm is generated in the SIMOCODE pro device, this is passed on to the input parameter EventTsIn of the APL block via the output parameter EventTsOut of the EventTs block. These alarms are displayed in the Alarm view. The MMOprtn block generates eight signals that are processed as messages at the corresponding APL blocks with the use of the EventTs block. The following output parameters of the MMOprtn block are interconnected with inputs In1 to In8 of the EventTs block for this purpose: General warning Group error Control System Fault (CSF) Current warning high Current warning low Current trip high Current trip low Test Position Feedback (TPF)

SIMOCODE pro PCS 7 Library V8.0

146

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

Description of the blocks 5.7 MMOprtn driver block

MsgEvId message block


Table 5- 63 Message block
MsgEvId

Output messages Message No. 1 2 3 4 5 6 7 8 Block parameters


GenWarn GenFlt CSFlt CurWrnH CurWrnL CurTrpH CurTrpL TPF

Message text $$BlockComment$$ MMOprtn general warning: @1W%t#MMOprtn_WRN@ $$BlockComment$$ MMOprtn general fault: @2W%t#MMOprtn_TRP@ $$BlockComment$$ MMOprtn control system fault: $$BlockComment$$ MMOprtn warning I> $$BlockComment$$ MMOprtn warning I< $$BlockComment$$ MMOprtn trip I> $$BlockComment$$ MMOprtn trip I< $$BlockComment$$ MMOprtn test position

Message class * W S S A A A A A

* W = Warning; S = AS, OS process control fault; A = Alarm

5.7.16

System text libraries for warning and trip


System text libraries are created if MMOprtn blocks are inserted into the CFC chart. They are assigned the numbers of the warnings and trips.

Numbers for warnings


Table 5- 64 WrngNo 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Numbers for warnings Text Warning Overload operation Warning Unbalance Warning Overload Warning Overload + phase failure Warning Internal earth fault Warning External earth fault Warning Thermistor overload Warning Thermistor short-circuit Warning Thermistor open circuit Warning TM1 Warning T> Signal TM1 Sensor fault Warning TM1 Out of Range Warning Warning level I> Warning Warning level I< Warning Warning level P>

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

147

Description of the blocks 5.7 MMOprtn driver block


WrngNo 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 Text Warning Warning level P< Warning Warning level cos phi< Warning Warning levelU< Warning Warning level 0/420 mA> Warning Warning level 0/420 mA< Warning Stalled rotor Warning No start possible Warning Number of starts > Warning Just one start possible Warning Motor operating hours Warning Motor stop time > Warning External fault 1 Warning External fault 2 Warning External fault 3 Warning External fault 4 Warning External fault 5 Warning External fault 6 Warning Analog module open circuit Warning DM-F safety-related tripping Warning DM-F Test requirement Warning DM-F feedback circuit Warning DM-FL simultaneity Expanded diagnostics for PROFINET devices: Warning TM2 Warning T> Warning TM2 sensor fault Warning TM2 Out of Range Warning AM2 Warning 0/420 mA> Warning AM2Warning 0/420 mA< Warning AM2 open circuit Warning EM open circuit Warning EM short-circuit

SIMOCODE pro PCS 7 Library V8.0

148

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

Description of the blocks 5.7 MMOprtn driver block

Numbers for trip


Table 5- 65 TripNo 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

Numbers for trip Text Trip Hardware fault basic unit Trip Module fault Trip Temporary components Trip Configuration fault Trip Parameterization Trip Bus Trip PLC/PCS Trip Runtime ON Trip Execution Stop command Trip FB ON Trip FB OFF Trip Stalled positioner Trip Double 0 Trip Double 1 Trip End position Trip Antivalence Trip Cold starting (TPF) error Trip UVO error Trip OPO error (operational protection OFF) Trip Unbalance Trip Overload Trip Overload + Phase failure Trip Internal earth fault Trip External earth fault Trip Thermistor overloadt Trip Thermistor short-circuit Trip Thermistor Open circuit Trip TM1 trip T> Trip TM1 sensor fault Trip TM1 Out of Range Trip Trip I> Trip Trip I< Trip Trip level P> Trip Trip level P< Trip Trip level cos phi< Trip Trip level U< Trip Trip level 0/420 mA> Trip Trip level 0/420 mA< Trip Stalled rotor

149

Description of the blocks 5.7 MMOprtn driver block


TripNo 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 Text Trip Number of starts > Trip External fault 1 Trip External fault 2 Trip External fault 3 Trip External fault 4 Trip External fault 5 Trip External fault 6 Trip Analog module open circuit Trip Test trip Trip DM-F safety-related tripping Trip DM-F wiring Trip DM-FL cross circuit Expanded diagnostics for PROFINET devices: Trip TM2 trip T> Trip TM2 sensor fault Trip TM2 Out of Range Trip AM2 Warning 0/420 mA> Trip AM2Warning 0/420 mA< Trip AM2 open circuit Trip EM open circuit Trip EM short-circuit

5.7.17

Assigning addresses in HW Config


The four bytes of the process image inputs (PII) are transferred from the SIMOCODE device based on the logical address of the device. This is a manual configuration that a user has to configure for both the inputs and outputs.

SIMOCODE pro PCS 7 Library V8.0

150

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

Description of the blocks 5.7 MMOprtn driver block

Symbolic name in HW Config


The PZDIn01 input parameter of the block is interconnected with the corresponding input of the logical address of the device (LAddr). The logical word address can be assigned to a symbolic name (*).

Figure 5-3

Symbolic name in HW Config

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

151

Description of the blocks 5.7 MMOprtn driver block

5.7.18

Process images for the MMOprtn block

Overload relay control function


Table 5- 66 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Overload relay Process image inputs and outputs MMOprtn output parameters PreWrnOvl GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Event - Prewarning overload (I>115 %) Status General fault Status - General warning Maximum current I_max Maximum current I_max PIQ Meaning Test 1 Input Emergency start Input Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0

152

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

Description of the blocks 5.7 MMOprtn driver block

Direct starter control function


Table 5- 67 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Direct starter Process image inputs and outputs MMOprtn output parameters FbkOut2 FbkOut3 PreWrnOvl LocalAct GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Remote mode Status General fault Status - General warning Event Feedback test position Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

153

Description of the blocks 5.7 MMOprtn driver block

Reversing starter control function


Table 5- 68 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Reversing starter Process image inputs and outputs MMOprtn output parameters FbkOut1 FbkOut2 FbkOut3 PreWrnOvl IntlAct LocalAct GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Status ON < Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Interlock time active Status Remote mode Status General fault Status - General warning Event Feedback test position Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> ON < PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0

154

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

Description of the blocks 5.7 MMOprtn driver block

Molded-case circuit breaker (MCCB) control function


Table 5- 69 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Molded-case circuit breaker (MCCB) Process image inputs and outputs MMOprtn output parameters FbkOut2 FbkOut3 PreWrnOvl LocalAct GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Remote mode Status General fault Status - General warning Event Feedback test position Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

155

Description of the blocks 5.7 MMOprtn driver block

Star-delta starter control function


Table 5- 70 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Star-delta starter Process image inputs and outputs MMOprtn output parameters FbkOut2 FbkOut3 PreWrnOvl ChgOvrAct LocalAct GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Status OFF Status ON Event - Prewarning overload (I>115 %) Status Change-over pause active Status Remote mode Status General fault Status - General warning Event Feedback test position Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0

156

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

Description of the blocks 5.7 MMOprtn driver block

Star-delta reversing starter control function


Table 5- 71 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Star-delta reversing starter Process image inputs and outputs MMOprtn output parameters FbkOut1 FbkOut2 FbkOut3 PreWrnOvl ChgOvrAct LocalAct GenFlt GenWarn IntlAct PZDIn23 PZDIn23 PII Meaning Status ON < Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Change-over pause active Status Remote mode Status General fault Status - General warning Event Feedback test position Status Interlock time active Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> ON < PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

157

Description of the blocks 5.7 MMOprtn driver block

Dahlander control function


Table 5- 72 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Dahlander Process image inputs and outputs MMOprtn output parameters FbkOut1 FbkOut2 FbkOut3 PreWrnOvl ChgOvrAct LocalAct GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Status ON >> Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Change-over pause active Status Remote mode Status General fault Status - General warning Event Feedback test position Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> ON >> PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0

158

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

Description of the blocks 5.7 MMOprtn driver block

Dahlander reversing starter control function


Table 5- 73 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Dahlander reversing starter Process image inputs and outputs MMOprtn output parameters FbkOut1 FbkOut2 FbkOut3 PreWrnOvl ChgOvrAct LocalAct GenFlt GenWarn FbkOut4 FbkOut5 IntlAct PZDIn23 PZDIn23 PII Meaning Status ON >> Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Change-over pause active Status Remote mode Status General fault Status - General warning Status ON << Event Feedback test position Status ON < Status Interlock time active Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> ON >> PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input PLC/PCS [DP] -> ON << PLC/PCS [DP] -> ON <

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

159

Description of the blocks 5.7 MMOprtn driver block

Pole-changing starter control function


Table 5- 74 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Pole-changing starter Process image inputs and outputs MMOprtn output parameters FbkOut1 FbkOut2 FbkOut3 PreWrnOvl ChgOvrAct LocalAct GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Status ON >> Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Change-over pause active Status Remote mode Status General fault Status - General warning Event Feedback test position Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> ON >> PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0

160

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

Description of the blocks 5.7 MMOprtn driver block

Pole-changing reversing starter control function


Table 5- 75 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Pole-changing reversing starter Process image inputs and outputs MMOprtn output parameters FbkOut1 FbkOut2 FbkOut3 PreWrnOvl ChgOvrAct LocalAct GenFlt GenWarn FbkOut4 FbkOut5 IntlAct PZDIn23 PZDIn23 PII Meaning Status ON >> Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Change-over pause active Status Remote mode Status General fault Status - General warning Status ON << Event Feedback test position Status On < Status Interlock time active Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> ON >> PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input PLC/PCS [DP] -> ON << PLC/PCS [DP] -> ON <

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

161

Description of the blocks 5.7 MMOprtn driver block

Valve control function


Table 5- 76 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Valve Process image inputs and outputs MMOprtn output parameters FbkOut2 FbkOut3 LocalAct GenFlt GenWarn PII Meaning Status OFF (CLOSE) Status ON > (OPEN) Status Remote mode Status General fault Status - General warning PIQ Meaning PLC/PCS [DP] -> CLOSED PLC/PCS [DP] -> OPEN Test 1 Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0

162

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

Description of the blocks 5.7 MMOprtn driver block

Soft starter control function


Table 5- 77 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Soft starter Process image inputs and outputs MMOprtn output parameters FbkOut2 FbkOut3 PreWrnOvl LocalAct GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Status - OFF (STOP) Status ON > (OPEN) Event - Prewarning overload (I>115 %) Status Remote mode Status General fault Status - General warning Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

163

Description of the blocks 5.7 MMOprtn driver block

Soft starter with reversing contactor control function


Table 5- 78 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Soft starter with reversing contactor Process image inputs and outputs MMOprtn output parameters FbkOut1 FbkOut2 FbkOut3 PreWrnOvl IntlAct LocalAct GenFlt GenWarn PZDIn23 PZDIn23 PII Meaning Status ON < Status OFF Status ON > Event - Prewarning overload (I>115 %) Status Interlock time active Status Remote mode Status General fault Status - General warning Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> ON < PLC/PCS [DP] -> OFF PLC/PCS [DP] -> ON Test 1 Input Emergency start Input Mode selector S2 Reset 1 Input

SIMOCODE pro PCS 7 Library V8.0

164

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

Description of the blocks 5.7 MMOprtn driver block

Positioner control function


Table 5- 79 Bit Bit 0.0 Bit 0.1 Bit 0.2 Bit 0.3 Bit 0.4 Bit 0.5 Bit 0.6 Bit 0.7 Bit 1.0 Bit 1.1 Bit 1.2 Bit 1.3 Bit 1.4 Bit 1.5 Bit 1.6 Bit 1.7 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Positioner Process image inputs and outputs MMOprtn output parameters FbkOut1 FbkOut2 FbkOut3 PreWrnOvl IntlAct LocalAct GenFlt GenWarn FbkOut4 FbkOut5 PZDIn23 PZDIn23 PII Meaning Status - ON < (CLOSED) Status OFF (STOP) Status ON > (OPEN) Event - Prewarning overload (I>115 %) Status Interlock time active Status Remote mode Status General fault Status - General warning Status Positioner runs in OPEN direction Event Feedback test position Status - Positioner runs in CLOSED direction Maximum current I_max Maximum current I_max PIQ Meaning PLC/PCS [DP] -> CLOSED PLC/PCS [DP] -> STOP PLC/PCS [DP] -> OPEN Test 1 Input Emergency start Input Mode selector S1 Reset 1 Input

See also
MMOprtn - Process image (Page 66)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

165

Description of the blocks 5.7 MMOprtn driver block

5.7.19

Enabled operations

MMOprtn operator permissions


The operator permissions for control commands are configured in the OS_Perm structured parameters. These are transferred to WinCC via the OS_PermOut and OS_PermLog parameters. The block parameters are controlled via the FBs in CFC. The activated parameter allows the user to enter the desired commands. The operator permissions control operation only in the faceplate.
Table 5- 80 OS_Perm bit 0 1 3 14 15 16 17 18 19 20 21 MMOprtn operator permissions OS_PermOut bit 0 1 3 14 15 16 17 18 19 20 21 OS_PermLog bit 0 1 3 14 15 16 17 18 19 20 21 Description 1 = Operator is permitted to change to AUTO mode. 1 = Operator is permitted to change to MANUAL mode. 1 = Operator is permitted to change to "Out of service" (Oos) mode. 1 = Operator is permitted to activate Trip reset. 1 = Operator is permitted to activate emergency start. 1 = Operator is permitted to activate test 1 = Operator is permitted to change the upper limit (AV) for "Alarm" 1 = Operator is permitted to change the upper limit (AV) for "Warning" 1 = Operator is permitted to change the lower limit (AV) for "Alarm" 1 = Operator is permitted to change the lower limit (AV) for "Warning" 1 = Operator is permitted to update data

SIMOCODE pro PCS 7 Library V8.0

166

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

Description of the blocks 5.7 MMOprtn driver block

5.7.20

Status information

Status information MMOprtn


Table 5- 81 Status1 Bit 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Status1 MMOprtn German OosAct.Value OosLi aktiv 1 = AutoAct.Value 0 = ManAct.Value LocalAct.Value 1 = Command fast forward / closed / reverse 1 = Command fast reverse 1 = Command reverse 1 = Mode selector S1 on 1 = Reset on 1 = Test function active, 0 = Test function inactive (PIQ) 1 = Emergency start active, 0 = Emergency start inactive (PIQ) 1 = Trip Reset active, 0 = Trip Reset inactive (PIQ) 1 = Feedback fast forward / reverse on / close positioner 1 = Status Motor OFF 1= Feedback forward ON / motor ON / positioner open 1 = Event overload 1 = Status switchover pause active 1 = Status mode (1 = Remote, 0 = Local) 1 = Status General fault 1 = Status General warning 1 = Feedback fast reverse / open positioner 1 = Feedback reverse on / close positioner 1 = Status Interlock time active 1 = General fault MsgLock 1 = Rack failure Invalid signal status

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

167

Description of the blocks 5.7 MMOprtn driver block

5.7.21

Diagnostics information
The diagnostics information is communicated to WinCC for display in the faceplates. The following diagnostics information is available for SIMOCODE pro devices and for SIMOCODE pro PROFINET devices: Status diagnostics, output via the DiagSts parameter output Event diagnostics, output via the parameter output Diag_Evt Warning diagnostics, output via the parameter output Diag_Wrn Trip diagnostics, output via the parameter output Diag_Trp

DiagSts Status diagnostics


Table 5- 82 Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 DiagSts Status diagnostics for SIMOCODE pro devices Meaning Status Group fault Status General warning Status Device Status Bus Status PLC/PCS Status Motor current flowing Status ON << Status ON < Status OFF Status ON > Status ON >> Status Start active Status Interlocking time active Status Change-over pause active Status Runs in open direction Status Runs in close direction Status Feedback closed Status Feedback open Status Torque close Status Torque open Status Cold starting (TPF) test position feedback Status Operational protection OFF (OPO) Status Remote mode Status Emergency start executed Status Cooling-down period active Status Pause time active Status Device check active Status Phase sequence 1-2-3
SIMOCODE pro PCS 7 Library V8.0

168

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

Description of the blocks 5.7 MMOprtn driver block


Bit 28 29 Meaning Status Phase sequence 3-2-1 Status DM-F enabling circuit

DiagEvt1, DiagEvt2, DiagEvt3 event diagnostics


Table 5- 83 Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 DiagEvt1 event diagnostics for SIMOCODE pro devices Meaning Event Overload operation Event Unbalance Event Overload Event Overload + phase failure Event Internal ground fault Event External ground fault Event Warning External ground fault Event thermistor overload Event thermistor short-circuit Event thermistor open circuit Event TM1 warning T> Event TM1 trip T> Event TM1 sensor fault Event TM1 Out of Range Event Warning level Event warningI< Event warning P> Event warning P< Event warning cos phi< Event warning U< Trip warning 0/420 mA> Trip warning 0/420 mA< Event trip level I> Event trip level I< Event trip level P> Event trip level P< Event trip level cos phi< Event trip level U< Event trip level 0/420 mA> Event trip level 0/420 mA< Event Stalled rotor: Event No start permitted

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

169

Description of the blocks 5.7 MMOprtn driver block


Table 5- 84 Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 DiagEvt2 event diagnostics for SIMOCODE pro devices Meaning Event Number of starts > Event Just one start possible Event Motor operating hours >: Event Motor stop time > Event Limit 1 Event Limit 2 Event Limit 3 Event Limit 4 Event external fault 1 Event external fault 2 Event external fault 3 Event external fault 4 Event external fault 5 Event external fault 6 Event Analog module open circuit Event DM-F safety-related tripping Event DM-F test requirement Event Time stamping active + OK Event DM-FL safety OK Event DM-F PROFIsafe active Event Configured operator panel missing Event Module not supported Event No module voltage (BU 2) Event Memory module read in Event Memory module programmed Event Memory module erased Event Addressing plug read in Event Start-Up parameterization block active Event Parameter changes not allowed in the current operating state Event Device does not support the required functions Event Wrong parameter: Event Wrong password:

SIMOCODE pro PCS 7 Library V8.0

170

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

Description of the blocks 5.7 MMOprtn driver block


Table 5- 85 Bit 0 1 2 3 4 5 6 28 29 DiagEvt3 event diagnostics for SIMOCODE pro devices Meaning Event Password protection active Event Factory default settings Event Parameterization active Event PRM error number (bytes) Event DM-FL configuration mode Event DM-FL configuration deviation Event DM-FL waiting for startup test Event DM FP PRM error Event EM open circuit Event EM short-circuit

Table 5- 86 Bit 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

DiagEvt3 event diagnostics for PROFINET devices Meaning Event NTP clock set Event NTP clock synchronized Event Initialization module read in Event Initialization module programmed Event Initialization module erased Event Addressing plug read in Event Initialization module write-protected, parameter changes not permissible Event Memory module write-protected Event Initialization module write-protected Event Initialization module identification data write-protected Event TM2 warning T> Event TM2 trip T> Event TM2 sensor fault Event TM2 out of range Event AM2 warning 0/420 mA> Event AM2 warning 0/420 mA< Event AM2 trip level 0/420 mA> Event AM2 trip level 0/420 mA< Event Limit 5 Event Limit 6 Event AM2 open circuit

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

171

Description of the blocks 5.7 MMOprtn driver block

DiagWrn1, DiagWrn2 Warning diagnostics


Table 5- 87 Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 DiagWrn1 Warning diagnostics for SIMOCODE pro devices Meaning Warning Overload operation Warning Unbalance Warning Overload Warning Internal ground fault + phase failure Warning Internal ground fault Warning External ground fault Warning thermistor overload Warning thermistor short-circuit Warning thermistor open circuit Warning TM1 warning T> Warning TM1 sensor fault Warning TM1 Out of Range Warning warning level I> Warning warning level I< Warning warning level P> Warning warning level P< Warning warning level cos phi< Warning warning level U< Warning warning level 0/420 mA> Warning warning level 0/420 mA< Warning Stalled rotor Warning No start permitted Warning Number of starts > Warning Just one start possible Warning Motor operating hours Warning Motor stop time > Warning external fault 1 Warning external fault 2 Warning external fault 3 Warning external fault 4 Warning external fault 5 Warning external fault 6

SIMOCODE pro PCS 7 Library V8.0

172

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

Description of the blocks 5.7 MMOprtn driver block


Table 5- 88 Bit 0 1 2 3 4 11 12 DiagWrn2 Warning diagnostics for SIMOCODE pro devices Meaning Warning Analog module open circuit Warning DM-F safety-related tripping Warning DM-F test requirement Warning DM-F feedback circuit Warning DM-FL simultaneity Warning EM open circuit Warning EM short-circuit

Table 5- 89 Bit 5 6 7 8 9 10

DiagWrn2 Warning diagnostics for PROFINET pro devices Meaning Warning TM2 warning T> Warning TM2 sensor fault Warning TM2 Out of Range Warning AM2 warning 0/420 mA> Warning AM2warning 0/420 mA< Warning AM2 open circuit

DiagTrp1, DiagTrp2 Trip diagnostics


Table 5- 90 Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 DiagTrp1 Trip diagnostics for SIMOCODE pro devices Meaning Trip Hardware fault basic unit Trip Module fault Trip Temporary components Trip Configuration fault Trip Parameterization Trip Bus Trip PLC/PCS Trip Runtime ON Trip Execution Stop command Trip FB ON Trip FB OFF Trip Stalled positioner Trip Double 0 Trip Double 1 Trip End position Trip Antivalence Trip Cold starting (TPF) error

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

173

Description of the blocks 5.7 MMOprtn driver block


Bit 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Meaning Trip UVO error Trip OPO error (operational protection OFF) Trip Unbalance Trip Overload Trip Overload + Phase failure Trip Internal ground fault Trip External ground fault Trip thermistor overload Trip thermistor short-circuit Trip thermistor open circuit Trip TM1 trip T> Trip TM1 sensor fault Trip TM1 Out of Range Trip trip I> Trip trip I<

Table 5- 91 Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

DiagTrp2 trip diagnostics for SIMOCODE pro devices Meaning Trip trip level P> Trip trip level P< Trip trip level cos phi< Trip trip level U< Trip trip level 0/420 mA> Trip trip level 0/420 mA< Trip Stalled rotor Trip Number of motor starts> Trip external fault 1 Trip external fault 2 Trip external fault 3 Trip external fault 4 Trip external fault 5 Trip external fault 6 Trip Analog module open circuit Trip Test trip Trip DM-F safety-related tripping Trip DM-F wiring Trip DM-FL cross circuit

SIMOCODE pro PCS 7 Library V8.0

174

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

Description of the blocks 5.7 MMOprtn driver block


Table 5- 92 Bit 19 20 21 22 23 24 25 26 DiagTrp2 trip diagnostics for PROFINET pro devices Meaning Trip TM2 trip T> Trip TM2 sensor fault Trip TM2 Out of Range Trip AM2 warning 0/420 mA> Trip AM2 warning 0/420 mA< Trip AM2 open circuit Trip EM open circuit Trip EM short-circuit

See also
MMOprtn - Diagnostics (Page 64)

5.7.22

Assignment of the diagnostics information


Based on the parameters, there are diagnostics views for the status, events, warnings, and trips. The motor starter diagnostics is transferred to the faceplates via the Diag_Sts, Diag_Evt, Diag_Wrn, and Diag_Trp output parameters.

Bit assignment Diag_Sts


Table 5- 93 Bit assignment Diag_Sts Diag_Sts bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Event Group fault General warning Device Bus PLC/PCS Motor current flowing ON << ON < OFF ON > ON >> Start active Interlocking time active Change-over pause active Runs in open direction

Auxiliary variables Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

175

Description of the blocks 5.7 MMOprtn driver block


Auxiliary variables Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts Diag_Sts bit 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Event Runs in close direction Feedback close Feedback open Torque close Torque open Cold starting (TPF) test position feedback Operational Protection Off (OPO) Remote mode Emergency start executed Cooling down period active Pause time active Device check active Phase sequence 1-2-3 Phase sequence 3-2-1 DM-F enabling circuit

Bit assignment Diag_Evt


Table 5- 94 Bit assignment Diag_Evt for SIMOCODE pro PROFIBUS devices Diag_Evt bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Event Overload operation Unbalance Overload Overload + phase failure Internal ground fault External ground fault Warning external ground fault Thermistor overload Thermistor short circuit Thermistor open circuit TM warning T> TM trip T> TM sensor fault TMOut of Range Warning I> Warning I< Warning P> Warning P< Warning cos phi<

Auxiliary variables Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt

SIMOCODE pro PCS 7 Library V8.0

176

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

Description of the blocks 5.7 MMOprtn driver block


Auxiliary variables Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt bit 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 Event Warning U< Warning 0/420 mA> Warning 0/420 mA< Trip level I> Trip level I< Trip level P> Trip level P< Trip level Cos-Phi< Trip level U< Trip level 0/420 mA> Trip level 0/420 mA< Stalled rotor No start permitted No. of starts > Just one start possible Motor operating hours > Stop time > Limit 1 Limit 2 Limit 3 Limit 4 External fault 1 External fault 2 External fault 3 External fault 4 External fault 5 External fault 6 Analog module open circuit DM-F safety-related tripping DM-F test requirement Timestamping active + Ok DM-FL safety Ok DM-F PROFIsafe active Configured operator panel missing Module not supported No module voltage (BU 2) Memory module read in Memory module programmed Memory module erased Addressing plug read in Start-up parameterization block active

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

177

Description of the blocks 5.7 MMOprtn driver block


Auxiliary variables Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt bit 60 61 62 63 64 65 66 67 68 69 70 92 93 Event Parameter changes not allowed in the current operating states Device does not support the required functions Wrong parameter Wrong password Password protection active Factory settings Parameter assignment active DM-FL configuration mode DM-FL configuration deviation DM-FL waiting for startup test DM FP PRM error EM open circuit EM short circuit

Table 5- 95 Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt Diag_Evt

Bit assignment Diag_Evt for SIMOCODE pro PROFINET devices 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 Event NTP clock set NTP clock synchronized Initialization module read in Initialization module programmed Initialization module deleted Addressing plug read in Initialization module write-protected, parameter changes not permissible Memory module write-protected Initialization module write-protected Initialization data of the initialization module writeprotected TM2 warning T> TM2 trip T> TM2 sensor fault TM2 Out of Range AM2 Warning 0/420 mA> AM2 Warning 0/420 mA< AM2 trip level 0/420 mA> AM2 trip level 0/420 mA< Limit 5 Limit 6 AM2 open circuit

SIMOCODE pro PCS 7 Library V8.0

178

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

Description of the blocks 5.7 MMOprtn driver block

Bit assignment Diag_Wrn


Table 5- 96 Bit assignment Diag_Wrn for SIMOCODE pro PROFIBUS devices Diag_Wrn bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Event Overload operation Unbalance Overload Internal ground fault + phase failure Internal ground fault External ground fault Thermistor internal ground fault Thermistor short circuit Thermistor open circuit TM warning T> TM sensor fault TM out of range Warning level I> Warning level I< Warning level P> Warning level P< Warning level cos phi< Warning level U< Warning level 0/420 mA> Warning level 0/420 mA< Stalled rotor No start permitted Number of starts > Just one start possible Motor operating hours > Stop time > External fault 1 External fault 2 External fault 3 External fault 4 External fault 5 External fault 6 AM open circuit DM-F safety-related tripping DM-F test requirement DM-F feedback circuit DM-FL simultaneity

Auxiliary variables Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

179

Description of the blocks 5.7 MMOprtn driver block


Auxiliary variables Diag_Wrn Diag_Wrn Diag_Wrn bit 43 44 Event EM open circuit EM short circuit

Table 5- 97 Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn Diag_Wrn

Bit assignment Diag_Wrn for SIMOCODE pro PROFINET devices 37 38 39 40 41 42 TM2 warning T> TM2 sensor fault TM2 Out of Range AM2 Warning 0/420 mA> AM2 Warning 0/420 mA< AM2 open circuit

Bit assignment Diag_Trp


Table 5- 98 Bit assignment Diag_Trp for SIMOCODE pro PROFIBUS devices Diag_Trp bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Event Hardware fault basic unit Module fault Temporary components Configuration fault Parameterization Bus PLC/PCS Runtime On Execution Stop command FB ON FB OFF Stalled positioner Double 0 Double 1 End position Antivalence Cold starting (TPF) error UVO fault OPO error (operational protection OFF) Unbalance Overload Overload + phase failure Internal ground fault

Auxiliary variables Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp

SIMOCODE pro PCS 7 Library V8.0

180

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

Description of the blocks 5.7 MMOprtn driver block


Auxiliary variables Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp bit 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 57 58 Event External ground fault Thermistor overload Thermistor short circuit Thermistor open circuit TM trip T> TM sensor fault TMOut of Range Trip I> Trip I< Trip level P> Trip level P< Trip level Cos-Phi< Trip level U< Trip level 0/420 mA> Trip level 0/420 mA< Stalled rotor Number of motor starts> External fault 1 External fault 2 External fault 3 External fault 4 External fault 5 External fault 6 Analog module open circuit Test trip DM-F safety-related tripping DM-F wiring DM-FL cross circuit EM open circuit EM short circuit

Table 5- 99 Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp Diag_Trp

Bit assignment Diag_Trp for SIMOCODE pro PROFINET devices 51 52 53 54 55 56 TM2 trip T> TM2 sensor fault TM2 Out of Range AM2 Warning 0/420 mA> AM2 Warning 0/420 mA< AM2 open circuit

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

181

Description of the blocks 5.7 MMOprtn driver block

SIMOCODE pro PCS 7 Library V8.0

182

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

Driver generator
6.1 Driver blocks

Generating the driver blocks


Following successful generation of the signal blocks, specific driver blocks are generated depending on the configuration. The action includes the following steps: Determining the diagnostics of the SIMOCODE pro device. Assigning the primary subnet address and module rack number for the SIMOCODE pro device. Instantiating the OB_DIAG1 driver block for the SIMOCODE pro device. Instantiating the MMDiag driver block for reading the diagnostics information of the SIMOCODE pro device. Setting the address of the device at the OB_DIAG1, MMDiag and MOD_SWT blocks. Creating interconnections between the OB_DIAG1, MMDiag and MOD_SWT blocks. Assigning the diagnostic address in the DAddr parameter. Making interconnections between the MMOprtn, MMMeas, MMStat and MMTime blocks and the MMDiag and MOD_SWT blocks.

Interconnecting the driver blocks


The white blocks must be inserted into the CFC chart by the user. The driver generator inserts the yellow blocks and the blue interconnections. The system generates the green interconnections. The user has to create the orange interconnections: Connect the PZDIn01 input parameter to the logical address of the SIMOCODE pro basic unit.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

183

Driver generator 6.1 Driver blocks

Figure 6-1

Interconnecting the driver blocks

SIMOCODE pro PCS 7 Library V8.0

184

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

Driver generator 6.2 Requirements for generating the module drivers

6.2

Requirements for generating the module drivers


The following SIMOCODE pro modules are permitted for PCS 7 library V8.0:
Order number 3UF7000-1A*00-0 3UF7010-1A*00-0 3UF7011-1A*00-0 SIMOCODE pro SIMOCODE pro C (PROFIBUS DP) SIMOCODE pro V Basic units 1 and 2 (PROFIBUS DP) SIMOCODE pro V PN Basic units 1, 2, and 3 (PROFINET) Compatible modules yes yes yes

The desired motor management block is inserted into the CFC chart from the SIMOCODE pro library. The PZDIn01 input parameter of the block is interconnected with the corresponding input of the logical address of the module (LAddr). The CFC chart is compiled using the "Generate module driver" function.

6.3

Object lists and action lists


Hardware modules, among other things, are configured in HW Config.

Description
The object lists and the action lists are used to generate the module drivers for these hardware modules. The object list contains a unique object identification number for each of these hardware modules. Each object list is assigned to a particular hardware configuration. The action list contains a list of actions. These actions must be executed for the object identification numbers that appear in the object list Examples of such actions include: Assigning the device address Interconnecting the input and output parameters of the driver block The "Generate Module Driver" function generates the module drivers when the CFC is compiled.

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

185

Driver generator 6.3 Object lists and action lists

SIMOCODE pro PCS 7 Library V8.0

186

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

Parameter
A.1 MMDiag block parameter

Input parameters
Table A- 1 Parameter En_Diag Mode DAddr DPA_Link SubN_Typ Sl_Typ SubN1_Id SubN2_Id Rack_No Slot_No SubSlot_No SubAddr LAddr RackF Subn1Err Subn2Err Cst RunUpCyc MsgEvId1 AccId ExtMsg1 ExtMsg2 ExtMsg3 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110 Input parameter MMDiag Data format BOOL DWORD INT BOOL BOOL BOOL BYTE BYTE INT INT INT INT WORD BOOL BOOL BOOL STRUCT INT DWORD BOOL STRUCT STRUCT STRUCT ANY ANY ANY ANY ANY ANY 3 16#FF TRUE Default setting TRUE 16#00 0 FALSE FALSE FALSE 16#FF 16#FF 0 0 0 0 16#0000 FALSE FALSE FALSE Meaning 1 = Enable reading of diagnostic data OMODE Information from the block MOD_SWT Diagnostics address of SIMOCODE Device connection: 0= DP-MASTER, 1 = DP-LINK 1 = External DP interface 0 = PROFIBUS, 1 = PROFINET ID of the primary master system ID of the redundant master system Rack number Slot address of the module Channel address of signal module Subaddress Logical address of the starter 1 = Information on rack failure from OB_DIAG1 block 1 = Failure slave 1 1 = Failure slave 2 1 = Test (CST) Number of cycles in which all messages are suppressed. Message event ID 1 = Accept new operating mode settings External message 1 External message 2 External message 3 External value 5 External value 6 External value 7 External value 8 External value 9 External value 10

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

187

Parameter A.1 MMDiag block parameter

Output parameters
Table A- 2 Parameter GrpErr RackF_Act ModF_Act Rack1Err Rack2Err BusFlt RdEn RdErr PA_Diag Slv_Typ Diag_Inf Diag_Sts Diag_Evt Diag_Wrn Diag_Trp ST_Worst OMode ErrorNum MsgErr1 MsgStat1 MsgAckn1 Output parameter MMDiag Data format STRUCT STRUCT STRUCT STRUCT STRUCT BOOL BOOL STRUCT DWORD BOOL DWORD SMCSTATUS (Page 189) SMCEVNT (Page 190) SMCWRNG (Page 192) SMCTRP (Page 194) BYTE DWORD INT BOOL WORD WORD 16#80 16#00 1 FALSE 16#00 16#00 FALSE FALSE FALSE FALSE FALSE 16#00 FALSE 16#00 Default setting Meaning 1 = General fault 1 = Rack failure 1 = Module fault 1 = Error in the primary DP slave system 1 = Error in the redundant DP slave system 1 = PROFIBUS Connection to DP slave lost 1 = Enable reading of data set 1 = Error reading data set Diagnostic information for maintenance 0 = PROFIBUS, 1 = PROFINET SIMOCODE Configuration information Diagnostic information status Diagnostic information event Diagnostic information warning Diagnostic information trip Worst Signal Status Status MODE Output of current error number Output error 1 (output ERROR of first ALARM_8P) Output status 1 (output ERROR of first ALARM_8P) Message acknowledgment status 1 (output STATUS of first ALARM_8P)

OMODE structure
Table A- 3 Byte Byte 3 OMODE MMDiag structure Value 16#80: 16#40: 16#20: 16#01: 16#0000 Valid data Invalid data Redundancy error Warm restart (OB100) Meaning Irrelevant

Byte 2 Byte 1; 0

Irrelevant

SIMOCODE pro PCS 7 Library V8.0

188

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

Parameter A.1 MMDiag block parameter

UDTs for diagnostics information


The following diagnostics information is available for SIMOCODE pro PROFIBUS and PROFINET devices: SMCSTATUS Status, output via the DiagSts parameter output SMCEVNT event, output via the Diag_Evt parameter output SMCWRNG warning, output via the Diag_Wrn parameter output SMCTRP trip, output via the Diag_Trp parameter output
SMCSTATUS, SMCEVNT, SMCWRNG,

and SMCTRP are structured parameters for diagnostic information. They are composed of a number of elements.

SMCSTATUS status
Table A- 4 Element GRPERR GRPWRNG DEVSTS BUSSTS PLCSTS IMSTS FREVON SREVON CONTACTOFF SFWDON FFWDON STARTACT INTLTMACT CHGOVRIDLACT OPNDIR CLSDIR FBKCLS FBKOPN TRQCLS TRQOPN COLDSTRT OPRPROTOFF REMOTE EMSTRTACT CLDNTMACT IDLTMACT DEVCHKACT Status diagnostics information for SIMOCODE pro devices Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Meaning Status group fault Status - general warning Status device Status bus Status PLC/PCS Status motor current flowing Status ON << Status ON < Status OFF Status ON > Status ON >> Status start active Status interlocking time active Status change-over pause active Status positioner runs in Open direction Status positioner runs in Close direction Status feedback closed Status feedback open Status torque closes Status torque open Status cold starting (TPF) test position feedback Status operational protection off (OPO) Status remote mode Status emergency start executed Status cooling time active Status pause time active Status device test active

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

189

Parameter A.1 MMDiag block parameter


Element UMPHS123 UMPHS321 DMFCKT Data format BOOL BOOL BOOL Meaning Status phase sequence 1-2-3 Status phase sequence 3-2-1 Status DM-F enabling circuit

SMCEVNT event
Table A- 5 Element IMUMOVLOPRN IMUMUNBAL IMUMOVL OVLPHSFAIL INTGNDFLT EXTGNDFLT WRNGNDFLT THRMOVL THRMSHRT THRMOPN TMPWRNHI TMPTRPHI TMSNRERR TMOUTRNG CURWRNHI CURWRNLO PWRWRNHI PWRWRNLO COSPHIWRNLO VOLWRNLO WRN4TO20HI WRN4TO20LO CURTRPHI CURTRPLO PWRTRPHI PWRTRPLO COSPHITRPLO VOLTRPLO TRP4TO20HI TRP4TO20LO STALROT NOSTRTPOS NOSTRTHI Event diagnostics information for SIMOCODE pro devices Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Meaning Event overload operation Event unbalance Event overload Event overload + phase failure Event internal ground fault Event external ground fault Event external ground fault warning Event thermistor overload Event thermistor short-circuit Event thermistor open circuit Event TM warning T> Event TM trip T> Event TM sensor fault Event TM Out of Range Event warning I> Event warning I< Event warning P> Event warning P< Event warning cos phi< Event warning U< Event AM1 warning 0/420 mA> Event AM1 warning 0/420 mA< Event trip level I> Event trip level I< Event trip level P> Event trip level P< Event trip level cos phi< Event trip level U< Event AM1 trip level 0/420 mA> Event AM1 trip level 0/420 mA< Event stalled rotor Event no start permitted Event number of starts >

SIMOCODE pro PCS 7 Library V8.0

190

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

Parameter A.1 MMDiag block parameter


Element ONESTRT MOTOPHHI MOTSTPTMHI Limit1 Limit 2 Limit 3 Limit 4 EXTERR1 EXTERR2 EXTERR3 EXTERR4 EXTERR5 EXTERR6 AMOPNCKT DMFSAFETRP DMFTSTREQ TMSTMPOK DMFSAFEOK DMFPROFSFACT CFGOPMIS MODNTSUP BUNOMODVOL MEMMODRDIN MEMMODPRG MEMMODERS ADDRPLGRDIN STRTUPBLKACT PARCHGNTPOS DEVFNCNTSUP PARAERR PWDERR PWDPROTACT FACTSET PARAACT PRMERRNUM DMFLCNFMOD DMFLCNFGDEV DMFLWAIT DMFPRMERR Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BYTE BOOL BOOL BOOL BOOL Meaning Event just one start possible Event motor operating hours > Event motor stop time > Event limit 1 Event limit 2 Event limit 3 Event limit 4 Event external fault 1 Event external fault 2 Event external fault 3 Event external fault 4 Event external fault 5 Event external fault 6 Event AM1 open circuit Event DM-F safety-related tripping Event DM-F test requirement Event time stamping active + OK Event DM-FL safety OK Event DM-F PROFIsafe active Event configured operator panel missing Event module not supported Event no module voltage (BU 2) Event memory module read in Event memory module programmed Event memory module cleared Event addressing plug read in Event start-up parameterization block active Event parameter changes not allowed in the current operating state Event device does not support the required functions Event wrong parameter: Event wrong password Event password protection active Event factory default settings Event parameterization active Event PRM error number (bytes) Event DM-FL configuration mode Event DM-FL configuration deviation Event DM-FL waiting for startup test Event DM FP PRM error

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

191

Parameter A.1 MMDiag block parameter


Element EMOPNCKT EMSHRTCKT Data format BOOL BOOL Meaning Event EM open circuit Event EM short-circuit

Table A- 6 Element NTPCLKSET

Event diagnostics information for SIMOCODE pro PROFINET devices Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Meaning Event NTP clock set Event NTP clock synchronized Event initialization module read in Event initialization module programmed Event initialization module erased Event initialization module write-protected, parameter changes not permissible Event memory module write-protected Event initialization module write-protected Event initialization module identification data writeprotected Event TM2 warning T> Event TM2 trip T> Event TM2 sensor fault Event TM2 out of range Event AM2 warning 0/420 mA> Event AM2 warning 0/420 mA< Event AM2 trip level 0/420 mA> Event AM2 trip level 0/420 mA< Event limit 5 Event limit 6 Event AM2 open circuit

NTPCLKSYNC INIMODRD INIMODPROG INIMODDEL INIMODPROT MEMMODPROT INIMODWRPROT INIMODIDPROT TM2WRNHI TM2TRPHI TM2SNRERR TM2OUTRNG AM2WRNGHI AM2WRNGLO AM2TRPHI AM2TRPLO LIMIT5 LIMIT6 AM2OPNCKT

SMCWRNG warning
Table A- 7 Element IMUMOVLOPRN IMUMUNBAL IMUMOVL OVLPHSFAIL INTGNDFLT EXTGNDFLT THRMOVL THRMSHRT Warning diagnostics information for SIMOCODE pro devices Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Meaning Warning overload operation Warning unbalance Warning overload Warning overload + phase failure Warning internal ground fault Warning external ground fault Warning thermistor overload Warning thermistor short-circuit

SIMOCODE pro PCS 7 Library V8.0

192

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

Parameter A.1 MMDiag block parameter


Element THRMOPN TMPWRNHI TMSNRERR TMOUTRNG CURWRNHI CURWRNLO PWRWRNHI PWRWRNLO COSPHIWRNLO VOLWRNLO WRN4TO20HI WRN4TO20LO STALROT NOSTRTPOS NOSTRTHI ONESTRT MOTOPHHI MOTSTPTMHI EXTFAULT1 EXTFAULT2 EXTFAULT3 EXTFAULT4 EXTFAULT5 EXTFAULT6 AMOPNCKT DMFSAFETRP DMFTSTREQ DMFLFBKCKT DMFLSIM EMOPNCKT EMSHRTCKT Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Meaning Warning thermistor open circuit Warning TM1 warning T > Warning TM1 sensor fault Warning TM1 Out of Range Warning warning level I> Warning warning level I< Warning warning level P> Warning warning level P< Warning warning level cos phi< Warning warning level U< Warning AM1 warning level 0/420 mA> Warning AM1 warning level 0/420 mA< Warning stalled rotor Warning no start permitted Warning number of starts > Warning just one start permissible Warning motor operating hours > Warning motor stop time > Warning external fault 1 Warning external fault 2 Warning external fault 3 Warning external fault 4 Warning external fault 5 Warning external fault 6 Warning analog module 1 open circuit Warning DM-F safety-related tripping Warning DM-F test requirement Warning DM-F feedback circuit Warning DM-FL simultaneity Warning EM open circuit Warning EM short-circuit

Table A- 8 Element TM2WRNHI

Warning diagnostics information for SIMOCODE pro PROFINET devices Data format BOOL BOOL BOOL BOOL BOOL BOOL Meaning Warning TM2 warning T> Warning TM2 sensor fault Warning TM2 out of range Warning AM2 warning 0/420 mA> Warning AM2 warning 0/420 mA< Warning AM2 open circuit

TM2SNRERR TM2OUTRNG AM24TO20HI AM24TO20LO AM2OPNCKT

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

193

Parameter A.1 MMDiag block parameter

SMCTRP trip
Table A- 9 Element HWBUFLT MODFLT TMPCOMP CNFGFLT BUPARAM BUBUS BUPLC CFRTON CFSTPCMD CFFBON CFFBOFF CFSTAL CFDBL0 CFDBL1 CFENDPOS CFANTIVAL BUTPFFLT UVOERR OPOERR IMUMUNBAL IMUMOVL OVLPHSFAIL INTGNDFLT EXTGNDFLT THRMOVL THRMSHRT THRMOPN TMPTRPHI TMSNSERR TMABVRAN CURTRPHI CURTRPLO PWRTRPHI PWRTRPLO COSPHITRPLO VOLTRPLO TRP4TO20HI TRP4TO20LO STLRTR SMCTRP trip diagnostics information for SIMOCODE pro devices Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Meaning Trip hardware fault basic unit Trip module fault Trip temporary components Trip configuration fault Trip parameterization Trip bus Trip PLC/PCS Trip runtime ON Trip execution STOP command Trip FB ON Trip FB OFF Trip stalled positioner Trip double 0 Trip double 1 Trip end position Trip antivalence Trip cold starting (TPF) error Trip UVO error Trip OPO error (operational protection OFF) Trip unbalance Trip overload Trip overload + phase failure Trip internal ground fault Trip external ground fault Trip thermistor overload Trip thermistor short-circuit Trip thermistor open circuit Trip TM trip T> Trip TM sensor fault Trip TM Out of Range Trip trip I> Trip trip I< Trip trip P> Trip trip P< Trip trip cos phi< Trip trip U< Trip trip 0/420 mA> Trip trip 0/420 mA< Trip stalled rotor
SIMOCODE pro PCS 7 Library V8.0

194

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

Parameter A.1 MMDiag block parameter


Element NOSTRTHI EXTERR1 EXTERR2 EXTERR3 EXTERR4 EXTERR5 EXTERR6 AMOPNCKT TSTTRP DMFSAFETRP DMFWIR DMFLCRSCKT EMOPNCKT EMSHRTCKT Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Meaning Trip number of motor starts> Trip external fault 1 Trip external fault 2 Trip external fault 3 Trip external fault 4 Trip external fault 5 Trip external fault 6 Trip AM open circuit Trip test trip Trip DM-F safety-related tripping Trip DM-F wiring Trip DM-FL cross circuit Trip EM open circuit Trip EM short-circuit

Table A- 10 Element TM2TRPHI

SMCTRP trip diagnostics information for SIMOCODE pro PROFINET devices Data format BOOL BOOL BOOL BOOL BOOL BOOL Meaning Trip TM2 warning T> Trip TM2 sensor fault Trip TM2 Out of Range Trip AM2 warning 0/420 mA> Trip AM2 warning 0/420 mA< Trip AM2 open circuit

TM2SNSERR TM2ABVRAN AM24TO20HI AM24TO20LO AM2OPNCKT

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

195

Parameter A.2 MMMeas block parameter

A.2

MMMeas block parameter

Input parameters
Table A- 11 Parameter Mode DAddr LAddr RackF ModF Slv_Typ BUTyp RdEn RdDataLi RdDataOp PZDIn01 PZDIn45 PZDIn67 PZDIn89 PZDIn10 PZDIn12 PZDIn14 PZDIn16 PZDIn18 ModeIn45 ModeIn67 ModeIn89 ModeIn10 ModeIn12 ModeIn14 ModeIn16 ModeIn18 AM1OutRg AM1InRg AM2OutRg AM2InRg AMOutIn AMOutLi AM2OutIn AM2OutLi LiOp MMMeas input parameters Data format DWORD INT INT STRUCT STRUCT BOOL INT BOOL STRUCT BOOL WORD WORD WORD WORD WORD WORD WORD WORD WORD INT INT INT INT INT INT INT INT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT Default setting 16#8000FFFF 0 0 FALSE FALSE FALSE 1 TRUE FALSE 16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00 0 0 0 0 0 0 0 0 Meaning
OMODE information from the MOD_SWT block

Diagnostics address of SIMOCODE Logical address of SIMOCODE 1 = Rack failure 1 = Module failure 0 = PROFIBUS, 1 = PROFINET Basic unit type 1, 2 or 3

Enable read data record Read data record via interconnection Read data from data record Value of process image input DP 0.01.7 Value of process image input DP 4.05.7 basic unit 1 Value of process image input DP 6.07.7 basic unit 1 Value of process image input DP 8.09.7 basic unit 1 Value of process image input DP 10.0-11.7 basic unit 3 Value of process image input DP 12.0-13.7 basic unit 3 Value of process image input DP 14.0-15.7 basic unit 3 Value of process image input DP 16.0-17.7 basic unit 3 Value of process image input DP 18.0-19.7 basic unit 3
Mode of analog input PZDIn45 Mode of analog input PZDIn67 Mode of analog input PZDIn89 Mode of analog input PZDIn10 Mode of analog input PZDIn12 Mode of analog input PZDIn14 Mode of analog input PZDIn16 Mode of analog input PZDIn18

Analog module 1 output range for calculation Analog module 1 input range for calculation Analog module 2 output range for calculation Analog module 2 input range for calculation Input operator for analog module 1 output Input interconnection for analog module 1 output Input operator for analog module 2 output Input interconnection for analog module 2 output 1 = interconnection; 0 = operator

SIMOCODE pro PCS 7 Library V8.0

196

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

Parameter A.2 MMMeas block parameter


Parameter OnOp OosOp OosLi Curr_OpScale Vol_OpScale Ana_OpScale Pow_OpScale SampleTime RunUpCyc MsgEvId1 MsgLock ExtMsg1 ExtMsg2 ExtMsg3 ExtMsg4 ExtMsg5 ExtMsg6 ExtMsg7 ExtMsg8 ExtVa101 ExtVa102 ExtVa103 ExtVa104 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110 OS_Perm OpSt_In Data format BOOL BOOL STRUCT STRUCT STRUCT STRUCT STRUCT REAL INT DWORD STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY STRUCT DWORD Default setting FALSE FALSE 0.1 3 16#FF Meaning 1 = ON mode: ON mode by operator 1 = Out of Service mode: Out of Service mode by operator 1 = Out of Service mode: Out of Service mode via field signal Current bar of limit value display Voltage bar of limit value display Analog output / analog input bar of limit value display Active power bar of limit value display Sampling time in seconds [s] Number of cycles in which all messages are suppressed. Message number 1 Suppress process messages External message 1 External message 2 External message 3 External message 4 External message 5 External message 6 External message 7 External message 8 External value 1 External value 2 External value 3 External value 4 External value 5 External value 6 External value 7 External value 8 External value 9 External value 10 I/O for operator authorizations Input parameters for local operator authorization to be interconnected with the output parameter Out of the OpStations block connected upstream I/O for additional functions

Feature

STRUCT

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

197

Parameter A.2 MMMeas block parameter

Output parameters
Table A- 12 Parameter RackF_Act ModF_Act GrpErr RdErr RdAct LocalAct OnAct OosAct PZDOut23 PZDOut45 ThmMotMod PhaUnbal MotCosPhi ImMax CurrL1 CurrL2 CurrL3 TripCurr TripTime MotcolTm MotVol1 MotVol2 MotVol3 AMOut AMOutE AMIn1 AMIn1E AMIn2 AMIn2E AMIn3 AMIn3E MaxTemp TMTemp1 TMTemp2 TMTemp3 EFltCurr ETrpCurr MMMeas output parameters Data format STRUCT STRUCT STRUCT BOOL BOOL STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT Default setting FALSE FALSE FALSE FALSE Meaning 1 = Rack failure 1 = Module failure 1 = Group error 1 = Error reading data record 1 = Enable reading of data record 1 = Local mode enable ON mode is active 1 = ON mode enable Out of Service mode is active. 1 = Block is out of service Process value for basic unit 1 Process value for basic unit 3 (PROFINET) Thermal motor model Phase unbalance in % Motor power factor in % Max. motor current in %le Phase current in IL1 in %le Phase current IL2 in % Phase current IL3 in % Last trip current in %le Time until tripping in [s] Remaining motor cooling time in [s] Motor voltage UL1 in volts Motor voltage UL2 in volts Motor voltage UL3 in volts Analog module output Analog module output rms in mA Analog module input 1 Analog module input 1 rms in mA Analog module input 2 Analog module input 2 rms in mA Analog module input 3 Analog module input 3 rms in mA Max. temperature in Celsius Temperature 1 in Celsius Temperature 2 in Celsius Temperature 3 in Celsius Ground fault current in mA Last ground fault trip current in mA
SIMOCODE pro PCS 7 Library V8.0

198

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

Parameter A.2 MMMeas block parameter


Parameter ActPower AppPower OS_PermOut OS_PermLog Opst_Out Data format STRUCT STRUCT DWORD DWORD DWORD Default setting 16#FFFFFFFF 16#FFFFFFFF 16#00 Meaning Active power in watts Apparent power in VA Display of OS_Perm Display of OS_Perm with settings changed by block algorithm Value of the OpSt_In input parameter for further connection to other blocks. Bit 31 of this parameter is assigned to feature bit 24. Worst signal status Status word 1 Output of current error number Message error (ERROR output of first ALARM_8P) Message status (ERROR output of first ALARM_8P) Message acknowledgement status (STATUS output of first ALARM_8P)

ST_Worst Status1 ErrorNum MsgErr1 MsgStat1 MsgAckn1

BYTE DWORD INT BOOL WORD WORD

16#80 16#00000000 -1 FALSE 16#00 16#00

Additional output parameters for SIMOCODE pro PROFINET devices


Table A- 13 Parameter AM2Out AM2OutE AM2In1 AM2In1E AM2In2 AM2In2E AM2In3 AM2In3E MaxTemp2 TM2Temp1 TM2Temp2 TM2Temp3 MMMeas output parameters for PROFINET devices Data format STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT Default setting Meaning AM2 output AM2 output rms in mA AM2 input 1 AM2 input 1 rms in mA AM2 input 2 AM2 input 2 rms in mA AM2 input 3 AM2 input 3 rms in mA TM2 max. temperature in Celsius AM2 temperature 1 in Celsius AM2 temperature 2 in Celsius AM2 temperature 3 in Celsius

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

199

Parameter A.3 Block parameter MMStat

A.3

Block parameter MMStat

Input parameters
Table A- 14 Input parameter MMStat Data format DWORD INT INT STRUCT STRUCT BOOL BOOL STRUCT BOOL WORD BOOL BOOL BOOL STRUCT REAL INT DWORD STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT ANY ANY ANY ANY ANY ANY Default setting 16#8000FFFF 0 0 FALSE FALSE FALSE TRUE FALSE 16#00 FALSE FALSE FALSE 0.1 3 16#FF Meaning Diagnostics address of SIMOCODE Logical address of SIMOCODE 1 = Information on rack failure from MMDiag block 1 = Information on module fault from MMDiag block 0 = PROFIBUS, 1 = PROFINET Read data record via interconnection Input 01 (edge change): Read data record via interconnection or SFC 1 = Read data from data record Value of process image input DP 0.01.7 Reset energy consumption 1 = ON mode: ON mode by operator 1 = Oos mode: Oos mode by operator 1 = Oos mode: Oos mode via field signal Sampling time in seconds [s] Number of cycles in which all messages are suppressed. Message event ID 1 Suppress messages External message 1 External message 2 External message 3 External message 4 External message 5 External message 6 External message 7 External message 8 Auxiliary value 1 Auxiliary value 2 Auxiliary value 3 Auxiliary value 4 Auxiliary value 5 Auxiliary value 6
OMODE information from the MOD_SWT block

Block parameters Mode DAddr LAddr RackF ModF Slv_Typ RdWrEn RdDataLi RdDataOp PZDIn01 RstEnrgy OnOp OosOp OosLi SampleTime RunUpCyc MsgEvId1 MsgLock ExtMsg1 ExtMsg2 ExtMsg3 ExtMsg4 ExtMsg5 ExtMsg6 ExtMsg7 ExtMsg8 ExtVa101 ExtVa102 ExtVa103 ExtVa104 ExtVa105 ExtVa106

SIMOCODE pro PCS 7 Library V8.0

200

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

Parameter A.3 Block parameter MMStat


Block parameters ExtVa107 ExtVa108 ExtVa109 ExtVa110 OS_Perm OpSt_In Feature Data format ANY ANY ANY ANY STRUCT DWORD STRUCT Default setting Meaning Auxiliary value 7 Auxiliary value 8 Auxiliary value 9 Auxiliary value 10 Operator enables ReleaseOperator Station (OS) I/O for additional functions

Output parameters
Table A- 15 Parameter RackF_Act ModF_Act GrpErr RdErr WrErr RdWrAct LocalAct OnAct OosAct P_StrtAct TmTstReq N_Param N_OvlTrp N_IntOvlTrp M_StpTm Tmr1Act Tmr2Act Tmr3Act Tmr4Act Cnt1Act Cnt2Act Cnt3Act Cnt4Act CalMod1Out CalMod2Out M_OpH M_IntOpH D_OpH N_Strt Output parameter MMStat Data format STRUCT STRUCT STRUCT BOOL BOOL BOOL STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT Default setting FALSE FALSE FALSE FALSE FALSE Meaning 1 = Rack failure 1 = Module fault 1 = General fault is active 1 = Error reading data set 1 = Error writing data record 1 = Enable read/write of data set 1 = "Local" mode enable 1 = "ON" mode enable 1 = Block is "Out of service" Permissible starts actual value Time until test required Number of parameterization Number of overload trips Number of internal Overload trips Motor stop time Timer 1 actual value Timer 2 actual value Timer 3 actual value Timer 4 actual value Counter 1 actual value Counter 2 actual value Counter 3 actual value Counter 4 actual value Calculation module 1 output Calculation module 2 output Motor operating hours Internal motor operating hours Device operating hours Number of starts

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

201

Parameter A.3 Block parameter MMStat


Parameter N_IntCwStrt N_IntCCwStrt EngyCon OS_PermOut OS_PermLog Opst_Out Data format STRUCT STRUCT STRUCT DWORD DWORD DWORD Default setting 16#FFFFFFFF 16#FFFFFFFF 16#00 Meaning Internal number of "clockwise" (CW) motor starts Internal number of "counterclockwise" (CCW) motor starts Energy consumption in kWh Display of OS_Perm Display of OS_Perm with settings changed by block algorithm Value of the OpSt_In input parameter for further connection to other blocks. Bit 31 of the parameter is assigned to feature bit 24. Worst Signal Status Status word 1 Output of current error number Output error 1 (output ERROR of first ALARM_8P) Output status 1 (output ERROR of first ALARM_8P) Message acknowledgement status 1 (STATUS output of first ALARM_8P)

ST_Worst Status1 ErrorNum MsgErr1 MsgStat1 MsgAckn1

BYTE DWORD INT BOOL WORD WORD

16#80 16#00000000 -1 FALSE 16#00 16#00

Additional output parameters for SIMOCODE pro PROFINET devices


Table A- 16 Parameter Tmr5Act Tmr6Act Cnt5Act Cnt6Act AnaMod3Out AnaMod4Out AnaMulOut Output parameter MMStat PROFINET devices Data format STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT Default setting Meaning Timer 5 Actual value Timer 6 Actual value Counter 5 - Actual value Counter 6 - Actual value Calculation module 3 Output Calculation module 4 Output Analog Multiplexer Output

SIMOCODE pro PCS 7 Library V8.0

202

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

Parameter A.4 Block parameter MMTime

A.4

Block parameter MMTime

Input parameters
Table A- 17 Parameter Mode DAddr RackF PZDIn01 RunUpCyc MsgEvId1 MsgEvId2 RdEn BatchEn BatchID BatchName StepNo Occupied MsgLock SigMsg1 SigMsg2 SigMsg3 SigMsg4 SigMsg5 SigMsg6 SigMsg7 SigMsg8 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110 ExtVa205 ExtVa206 ExtVa207 ExtVa208 ExtVa209 ExtVa210 MSupS0 MSupS1 Input parameter MMTime Data format DWORD INT BOOL WORD INT WORD WORD BOOL BOOL DWORD STRING DWORD BOOL STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY BOOL BOOL FALSE FALSE 16#00 FALSE Default setting 16#00 0 FALSE 16#00 3 16#00 16#00 TRUE FALSE 16#00 Meaning OMODE Information from the block MOD_SWT Diagnostic address 1 = Rack failure, information from MMDiag block Process value DP 0.0-1.7 Number of cycles in which all messages are suppressed. Message number 1 Message number 2 1 = Enable reading of data set Remote mode enable via Batch Recipe Batch number Batch name Batch step number Occupied Batch 1 = Suppress process messages Signal message 1 Signal message 2 Signal message 3 Signal message 4 Signal message 5 Signal message 6 Signal message 7 Signal message 8 External value 5 External value 6 External value 7 External value 8 External value 9 External value 10 External value 5 External value 6 External value 7 External value 8 External value 9 External value 10 1 = Message suppression signal 0 1 = Message suppression signal 1

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

203

Parameter A.4 Block parameter MMTime


Parameter MSupS2 MSupS3 MSupS4 MSupS5 MSupS6 MSupS7 MSupS8 Feature Data format BOOL BOOL BOOL BOOL BOOL BOOL BOOL STRUCT Default setting FALSE FALSE FALSE FALSE FALSE FALSE FALSE Meaning 1 = Message suppression signal 2 1 = Message suppression signal 3 1 = Message suppression signal 4 1 = Message suppression signal 5 1 = Message suppression signal 6 1 = Message suppression signal 7 1 = Message suppression signal 8 I/O for additional functions

Output parameters
Table A- 18 Parameter RdErr StaTmst TmstmpAc Sync_Ok OflwBuf EnRdWr RdStat MsgSup ST_Worst Status1 LogId1 ... LogId21 LogTm1 ... LogTm21 EnCktCls ClsTmStmp EnCktOpn OpnTmStmp MsgErr1 MsgErr2 MsgStat1 MsgStat2 MsgAckn1 MsgAckn2 Output parameter MMTime Data format BOOL BYTE BOOL BOOL BOOL BOOL BOOL STRUCT BYTE DWORD INT DWORD INT DWORD INT DWORD BOOL BOOL WORD WORD WORD WORD Default setting FALSE 0 FALSE FALSE FALSE TRUE FALSE 16#80 16#00000000 0 16#00000000 0 16#00000000 0 16#00000000 FALSE FALSE 16#00 16#00 16#00 16#00 Meaning 1 = Error reading data set Status of time stamping functionality 1 = Timestamping active 1 = Synchronization ok 1 = Buffer overflow 1 = Enable read/write of data set Read block status Message suppression active Worst Signal Status Status word 1 Message ID number 1 to 21 Time stamp 1 to 21 Enabling circuit closed ID Number Enabling circuit closed NTP time stamp Enabling circuit open ID Number Enabling circuit open NTP time stamp Output error 1 (output ERROR of first ALARM_8P) Output error 2 (output ERROR of second ALARM_8P) Output status 1 (output ERROR of first ALARM_8P) Output status 2 (output ERROR of second ALARM_8P) Message acknowledgment status 1 (output STATUS of first ALARM_8P) Message acknowledgement status 2 (output STATUS of secondALARM_8P)

SIMOCODE pro PCS 7 Library V8.0

204

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

Parameter A.5 MMRevDhl block parameter

OMODE structure
Table A- 19 Bytes Byte 3 OMODE MMTime structure Value 16#80: 16#40: 16#20: 16#01: 16#0000 Valid data Invalid data Redundancy error Warm restart (OB100) Meaning Irrelevant

Byte 2 Byte 1; 0

Irrelevant

A.5

MMRevDhl block parameter

Input parameters
Table A- 20 Parameter FFwdAut FwdAut StopAut RevAut FRevAut FFwdMan FwdMan StopMan RevMan FRevMan ModLiOp Input parameter MMRevDhl Data format STRUCT STRUCT STRUCT STRUCT STRUCT BOOL BOOL BOOL BOOL BOOL STRUCT Default setting FALSE FALSE FALSE FALSE FALSE Meaning 1 = Switch on the motor (fast forward) in AUTO mode 1 = Switch on the motor (forward) in AUTO mode 1 = Stop motor in AUTO mode 1 = Switch on the motor (reverse) in AUTO mode 1 = Switch on the motor (fast reverse) in AUTO mode 1 = Switch on the motor (fast forward) in MANUAL mode 1 = Switch on the motor (forward) in MANUAL mode 1 = Stop motor in MANUAL mode 1 = Switch on the motor (reverse) in MANUAL mode 1 = Switch on the motor (fast reverse) in MANUAL mode Changing modes between: 0 = Operator 1 = Interconnection AutModOp ManModOp AutModLi ManModLi LocalLi LocalOp MS_RelOp OosOp OosLi FFwdLocal FwdLocal StopLocal BOOL BOOL STRUCT STRUCT STRUCT BOOL BOOL BOOL STRUCT STRUCT STRUCT STRUCT FALSE TRUE FALSE FALSE FALSE 1 = AUTO mode via operator 1 = MANUAL mode via operator 1 = AUTO mode via interconnection or SFC 1 = MANUAL mode via interconnection or SFC 1 = Activate local mode via plant signal 1 = Local mode via operator 1 = Release for maintenance by OS operator 1 = Out of service, via OS operator 1 = Out of service, via interconnection or SFC (01 edge) 1 = Switch on the motor (fast forward) in local mode 1 = Switch on the motor (forward) in local mode 1 = Stop motor in local mode

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

205

Parameter A.5 MMRevDhl block parameter


Parameter RevLocal FRevLocal LocalSetting FbkFFwd FbkFwd FbkRev FbkFRev Monitor MonTiStatic MonTiDynamic SwOverTi IdleTime PulseWidth WarnTiMan WarnTiAut RapidStp Data format STRUCT STRUCT INT STRUCT STRUCT STRUCT STRUCT BOOL REAL REAL REAL REAL REAL REAL REAL BOOL Default setting 0 TRUE 3.0 3.0 0.0 5.0 3.0 0.0 0.0 0 Meaning 1 = Switch on the motor (reverse) in local mode 1 = Switch on the motor (fast reverse) in local mode Properties for local mode 1 = Feedback for fast forward running received 1 = Feedback for forward running received 1 = Feedback for reverse running received 1 = Feedback for fast reverse running received 1 = Feedback for monitoring Monitoring time for feedback error without operation in [s] Monitoring time for feedback error after operation in [s] Switch over time in [s] Delay time for change of direction or warm restart in [s] Pulse width of control signal [s] Prewarning of motor start in MANUAL mode in [s] Prewarning of motor start in AUTO mode in [s] Rapid stop for the motor: 0 = Motor on 1 = Motor off RstOp RstLi BypProt Trip Permit Perm_En Intlock BOOL STRUCT BOOL STRUCT STRUCT BOOL STRUCT 0 FALSE 1 TRUE TRUE TRUE 1 = Reset via operator 1 = Reset via interconnection 1 = Bypassing interlock in local mode and for simulation 1 = Motor is in "good" state 1 = Enable for opening / closing from neutral position 0 = No OS activation enable for starting the motor 1 = Interlocking without reset is active; you can operate the block without reset once the interlocking condition has disappeared 0 = Interlock not activated Intl_En Protect BOOL STRUCT TRUE TRUE 1 = Interlock without reset is active (interlock, parameter
Intlock)

1 = Activation enable (enable, parameter Permit) is active

0 = Protective interlocking is active; once the interlocking condition has disappeared, you will have to reset the block 1 = Protective interlocking not activated

Prot_En FFwdForce FwdForce StopForce RevForce

BOOL STRUCT STRUCT STRUCT STRUCT

TRUE FALSE FALSE FALSE FALSE

1 = Protective interlocking is active (protection, Protect parameter) 1 = Force operating state: Start motor fast forward 1 = Force operating state: Start motor forward 1 = Stop: Force stopping the motor 1 = Force operating state: Start motor reverse

SIMOCODE pro PCS 7 Library V8.0

206

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

Parameter A.5 MMRevDhl block parameter


Parameter FRevForce UserAna1 UA1unit UserAna2 UA2unit MsgLock SampleTime SimLiOp Data format STRUCT STRUCT INT STRUCT INT STRUCT REAL STRUCT Default setting FALSE FALSE 0 FALSE 0 FALSE 0.1 FALSE Meaning 1 = Force operating state: Start motor fast reverse Analog auxiliary value 1 Unit of measure for analog auxiliary value 1 Analog auxiliary value 2 Unit of measure for analog auxiliary value 2 Suppress process message Sampling time [s] Activation/deactivation of the simulation by: 0 = Operator 1 = Logic operation SimOnLi SimOn RunUpCyc MsgEvId1 BatchEn Occupied BatchID BatchName StepNo CSF ExtMsg1 ExtMsg2 ExtMsg3 ExtMsg4 ExtMsg5 ExtMsg6 ExtMsg7 ExtMsg8 ExtMsg9 ExtMsg10 ExtMsg11 ExtVa104 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa201 ExtVa202 ExtVa203 ExtVa204 ExtVa205 STRUCT BOOL INT DWORD BOOL BOOL DWORD STRING[32] DWORD STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY FALSE FALSE 3 16#FF FALSE FALSE 16#00 16#00 1 = Simulation via logic operation (controlled via SimLiOp = 1) 1 = Simulation on Number of cycles in which all messages are suppressed. Message number (assigned automatically) 1 = Reserve enable 1 = Occupied by batch control Batch number Batch name Batch step number 1 = External fault (control system fault) Binary input for freely selectable message 1 Binary input for freely selectable message 2 Binary input for freely selectable message 3 Binary input for freely selectable message 4 Binary input for freely selectable message 5 Binary input for freely selectable message 6 Binary input for freely selectable message 7 Binary input for freely selectable message 8 Binary input for freely selectable message 9 Binary input for freely selectable message 10 Binary input for freely selectable message 11 Auxiliary value 4 for messages (MsgEvID1) Auxiliary value 5 for messages (MsgEvID1) Auxiliary value 6 for messages (MsgEvID1) Auxiliary value 7 for messages (MsgEvID1) Auxiliary value 8 for messages (MsgEvID1) Auxiliary value 1 for messages (MsgEvID2) Auxiliary value 2 for messages (MsgEvID2) Auxiliary value 3 for messages (MsgEvID2) Auxiliary value 4 for messages (MsgEvID2) Auxiliary value 5 for messages (MsgEvID2)

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

207

Parameter A.5 MMRevDhl block parameter


Parameter ExtVa206 ExtVa207 ExtVa208 UserStatus SelFp1 SelFp2 SelMeas SelStat OS_Perm OpSt_In Data format ANY ANY ANY BYTE ANY ANY ANY ANY STRUCT DWORD Default setting 16#00 16#00000000 Meaning Auxiliary value 6 for messages (MsgEvID2) Auxiliary value 7 for messages (MsgEvID2) Auxiliary value 8 for messages (MsgEvID2) Freely assignable bits for use in PCS 7 OS Call a block saved in this parameter as an additional faceplate in standard view Call a block saved in this parameter as an additional faceplate in standard view Call the measurement block available as an additional faceplate in the maintenance view Call the statistics block available as an additional faceplate in the maintenance view I/O for operator authorizations Input parameters for local operator authorization to be interconnected with the output parameter Out of the OpStations block connected upstream I/O for additional functions I/O for additional functions

Feature Feature2

STRUCT STRUCT

Output parameters
Table A- 21 Parameter MS_Release MonDynErr MonStaErr R_StpAct LockAct GrpErr RdyToStart RdyToReset WarnAct FFwd Fwd Rev FRev P_FFwd P_Fwd P_Stop P_Rev Output parameter MMRevDhl Data format STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT Default setting FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE TRUE Meaning Maintenance release: 1 = Release for OS operator 1 = Feedback error due to control change 1 = Feedback error due to unexpected feedback change 1 = Rapid stop of the motor is active 1 = Interlocking is active (Permit, Interlock or Protect) 1 = General fault 1 = Ready to switch on 1 = Ready to reset via the RstLi input or the commands in "automatic mode" 1 = Prewarning for motor start active (WarnTiAut and WarnTiMan parameters) 1 = Control of motor fast forward 1 = Control of motor forward 1 = Control of motor reverse 1 = Control of motor fast reverse 1 = Pulse signal for starting the motor fast forward 1 = Pulse signal for starting the motor forward 0 = Pulse signal for stopping the motor 1 = Pulse signal for starting the motor reverse
SIMOCODE pro PCS 7 Library V8.0

208

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

Parameter A.5 MMRevDhl block parameter


Parameter P_FRev P_Rst LocalAct AutAct ManAct OosAct FbkFFwdOut FbkFwdOut FbkRevOut FbkFRevOut RunFFwd RunFwd Stop RunRev RunFRev Starting Stoping OS_PermOut OS_PermLog OpSt_Out Data format STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT DWORD DWORD DWORD Default setting TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 16#FFFFFFFF 16#FFFFFFFF 16#00000000 Meaning 1 = Pulse signal for starting the motor fast reverse 1 = Pulse output for reset 1 = Local mode enable 1 = Enable AUTO mode 1 = Enable MANUAL mode 1 = Block is "Out of service" Feedback: 1 = Fast forward mode active Feedback: 1 = Forward mode active Feedback: 1 = Reverse mode active Feedback: 1 = Fast reverse mode active 1 = Motor running fast forward 1 = Motor is running forward 1 = Motor is stopped 1 = Motor is running in reverse 1 = Motor is running in fast reverse 1 = Motor is starting 1 = Motor is stopping Display of OS_Perm with settings changed by block algorithm Value of the OpSt_In input parameter for further connection to other blocks. Bit 31 of this parameter is assigned to feature bit 24. Status word 1 Status word 2 Status word 3 Worst signal status Output of current error number Output error 1 (output ERROR of first ALARM_8P) Output status 1 (output ERROR of first ALARM_8P) Message acknowledgment status 1 (output STATUS of first ALARM_8P) Output error 2 (output ERROR of first ALARM_8P) Output status 2 (output ERROR of first ALARM_8P) Message acknowledgment status 2 (output STATUS of first ALARM_8P) Display of OS_Perm

Status1 Status2 Status3 ST_Worst ErrorNum MsgErr1 MsgStat1 MsgAckn1 MsgErr2 MsgStat2 MsgAckn2

DWORD DWORD DWORD BYTE INT BOOL WORD WORD BOOL WORD WORD

16#00000000 16#00000000 16#00000000 16#80 1 FALSE 16#00 16#00 FALSE 16#00 16#00

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

209

Parameter A.6 Block parameter MMOprtn

A.6

Block parameter MMOprtn

Input parameters
Table A- 22 Parameter Mode RackF ModF Slv_Typ DAddr LAddr RdWrEn RdDataLi RdDataOp ModLiOp Input parameter MMOprtn Data format DWORD STRUCT STRUCT BOOL INT INT BOOL STRUCT BOOL STRUCT Default setting 16#8000FFFF FALSE FALSE FALSE 0 0 TRUE FALSE Meaning 1 = Rack failure, information from MMDiag block 1 = Module failure, information from MMDiag block 0 = PROFIBUS, 1 = PROFINET Diagnostics address of SIMOCODE Logical address of SIMOCODE 1 = Enable read/write of data set 1 = Read data record via interconnection 1 = Read data from data record Changing modes between: 0 = Operator 1 = Interconnection AutModOp ManModOp AutModLi ManModLi Diag_Sts Diag_Evt Diag_Wrn Diag_Trp PZDIn01 PZDIn23 PZDOut01 EmrgStMan CstMan CstAut EmrgStAut TrpRstLi TrpRstOp RdyToRst OosOp OosLi BOOL BOOL STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT WORD WORD WORD BOOL BOOL STRUCT STRUCT STRUCT BOOL STRUCT BOOL STRUCT FALSE TRUE 16#00 16#00 16#00 FALSE FALSE FALSE FALSE 1 = AUTO mode via operator 1 = MANUAL mode via OS operator 1 = AUTO mode via interconnection 1 = MANUAL mode via interconnection SIMOCODE status diagnostics information from MMDiag SIMOCODE event diagnostics information from MMDiag SIMOCODE warning diagnostics information from MMDiag SIMOCODE trip diagnostics information from MMDiag Value of process image input DP 0.01.7 Value of process image input DP 2.03.7 Process image output of FbSwtMMS 1 = Activate emergency start in MANUAL mode 1 = Activate self-test in MANUAL mode 1 = Activate self-test in AUTO mode 1 = Activate emergency start in AUTO mode 1 = Activate trip reset in AUTO mode 1 = Activate trip reset in HAND mode Ready to reset active 1 = Out of service, via OS operator 1 = Out of service, via interconnection or SFC (0-1 edge)
OMODE information of MOD_SWT

SIMOCODE pro PCS 7 Library V8.0

210

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

Parameter A.6 Block parameter MMOprtn


Parameter MsgLock RunUpCyc Curr_OpScale MsgEvId1 MsgEvId2 CSF Curr_TH Curr_WH Curr_TL Curr_WL ExtMsg1 ExtMsg2 ExtMsg3 ExtMsg4 ExtMsg5 ExtMsg6 ExtMsg7 ExtMsg8 ExtVa101 ExtVa102 ExtVa103 ExtVa104 ExtVa105 ExtVa106 ExtVa107 ExtVa108 ExtVa109 ExtVa110 ExtVa203 ExtVa204 ExtVa205 ExtVa206 ExtVa207 ExtVa208 ExtVa209 ExtVa210 SelFp1 SelFp2 OS_Perm Data format STRUCT INT STRUCT DWORD DWORD STRUCT INT INT INT INT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY ANY STRUCT Default setting FALSE 3 16#FF 16#FF 0 0 0 0 Meaning Suppress process message Number of cycles in which all messages are suppressed. Current bar of limit value display Message number 1 (assigned automatically) Message number 2 (assigned automatically) 1 = External error (control system error) Trip level high 01020% Warning level high 01020% Trip level low 01020% Warning level low 01020% External message 1 External message 2 External message 3 External message 4 External message 5 External message 6 External message 7 External message 8 External value 1 External value 2 External value 3 External value 4 External value 5 External value 6 External value 7 External value 8 External value 9 External value 10 External value 3 (MsgEvID2) External value 4 (MsgEvID2) External value 5 (MsgEvID2) External value 6 (MsgEvID2) External value 7 (MsgEvID2) External value 8 (MsgEvID2) External value 9 (MsgEvID2) External value 10 (MsgEvID2) Call a block saved in this parameter as an additional faceplate in standard view Call a block saved in this parameter as an additional faceplate in standard view I/O for operator authorizations

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

211

Parameter A.6 Block parameter MMOprtn


Parameter Feature OpSt_In Data format STRUCT DWORD Default setting 16#00 Meaning I/O for additional functions Input parameters for local operator authorization to be interconnected with the output parameter Out of the OpStations block connected upstream

Output parameters
Table A- 23 Parameter RackF_Act ModF_Act RdErr WrErr RdWrAct AM1OutRng AM1InRng AM2OutRng AM2InRng GrpErr OutIn01 OutIn23 DevFunc DiagStn DiagSts DiagEvt1 DiagEvt2 DiagEvt3 DiagWrn1 DiagWrn2 DiagTrp1 DiagTrp2 TrpNo WrngNo CtrlFunc ParErrNum Output parameter MMOprtn Data format STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT WORD WORD DWORD DWORD DWORD DWORD DWORD DWORD DWORD DWORD DWORD DWORD INT INT DWORD BYTE Default setting 16#00 16#00 16#FF 16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00 0 0 16#00 16#00 Meaning 1 = Rack failure 1 = Module fault 1 = Error reading data set 1 = Error writing data record 1 = Operator permission Read/write data record Analog module 1 Measuring range output Analog module 1 Measuring range input Analog module 2 Measuring range output Analog module 2 Measuring range input 1 = General fault is active Process input PZDIn01 Process input image PZDIn23 SIMOCODE pro PROFIBUS station diagnostics SIMOCODE status diagnostics information from MMDiag SIMOCODE event 1 diagnostics information from MMDiag SIMOCODE event 2 diagnostics information from MMDiag SIMOCODE event 3 diagnostics information from MMDiag SIMOCODE warning 1 diagnostics information from MMDiag SIMOCODE warning 1 diagnostics information from MMDiag SIMOCODE trip 1 diagnostics information from MMDiag SIMOCODE trip 2 diagnostics information from MMDiag Trip diagnostics number Warning diagnostics number SIMOCODE pro control function Parameter error number

SIMOCODE device functions

SIMOCODE pro PCS 7 Library V8.0

212

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

Parameter A.6 Block parameter MMOprtn


Parameter LmtHyst CstOn EmrgStOn TrpRstO LocalAct AutAct ManAct IntlAct ChgOvrAct GenFlt GenWarn CSFlt CurWrnH CurWrnL CurTrpH CurTrpL TPF PreWrnOvl FbkOut1 FbkOut2 FbkOut3 FbkOut4 FbkOut5 OosAct MotCurr MotCurrE CtrlFunc OS_PermOut OS_PermLog OpSt_Out Data format INT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT STRUCT BYTE DWORD DWORD DWORD Default setting 5 FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 16#00 16#FFFFFFFF 16#FFFFFFFF 16#00000000 Meaning Limit value monitoring Hysteresis for current limit monitoring 015 1 = Test (CST) 1 = Emergency start 1 = Trip reset 1 = Local mode enable 1 = Enable AUTO mode 1 = Enable MANUAL mode 1 = Interlocking time active 1 = Switchover pause active 1 = General fault 1 = General warning 1 = Control system fault (CSF) 1 = Current warning high active 1 = Current warning low active 1 = Current trip high active 1 = Current trip low active 1= Test position feedback on (TPF) 1 = Prewarning overload 1 = Feedback fast forward / reverse on / close positioner 1 = Feedback motor off 1 = Feedback forward on / motor on / open positioner 1 = Feedback fast reverse / open positioner 1 = Feedback reverse on / close positioner 1 = Block is out of service Current motor current (%) Current motor current (amps) Control function Display of OS_Perm Display of OS_Perm with settings changed by block algorithm

Value of the OpSt_In input parameter for further connection to other blocks. Bit 31 of the parameter is assigned to feature bit 24. Worst Signal Status Status word 1 Output of current error number Output error 1 (output ERROR of first ALARM_8P) Output status 1 (output ERROR of first ALARM_8P) Message acknowledgement status 1 (STATUS output of first ALARM_8P) Output error 2 (output ERROR of first ALARM_8P)

ST_Worst Status1 ErrorNum MsgErr1 MsgStat1 MsgAckn1 MsgErr2

BYTE DWORD INT BOOL WORD WORD BOOL

16#80 16#00000000 -1 FALSE 16#00 16#00 FALSE

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

213

Parameter A.6 Block parameter MMOprtn


Parameter MsgStat2 MsgAckn2 Data format WORD WORD Default setting 16#00 16#00 Meaning Output status 2 (output ERROR of first ALARM_8P) Message acknowledgement status 2 (STATUS output of first ALARM_8P)

SIMOCODE pro PCS 7 Library V8.0

214

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

Technical Data

B
Length of block in the work memory, in bytes 3 6834 Length of instance data in the load memory, in bytes 4 1487 Length of instance data in the work memory, in bytes4 440 Temporary memory, in bytes5 Blocks called 6

Table B- 1 Block 1

Memory requirement and called blocks for each block type for SIMOCODE pro PCS 7 library V8.0 No.
2

Length of block in the load memory, in bytes 3 8098

MMDiag

FB1300

240

FC369, SFC13, SFC51, SFC6, SFC64 FC369, SFC13, SFC6, SFC64 FC369, SFC6, SFC64 FC369, SFC6 FC369, SFC6, SFC20 FC369, SFC6, SFC20

MMOprtn

FB1301

13922

11672

2720

962

322

MMMeas

FB1302

8388

6912

1740

688

90

MMStat MMTime

FB1303 FB1304

4874 7008

3844 5914

1470 1942

598 1050

72 192

MMRevDhl FB1305

42634

39534

2484

790

130

The symbolic designator in the symbol table of the library for the respective function block (FB). It must be unique within the project. Consists of the type of block (FB) and the number. Memory requirement of program code, once per block type Memory requirement for an instance data block. The memory required for the local data when the block is called in an execution level. This is limited according to the specific CPU. If this amount is exceeded, you must check the setting in the CPU configuration and redistribute it among the organization blocks based on the actual requirement. The relevant driver block uses these blocks. They are now located in the user program. They are stored in the same library.

2 3 4 5

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

215

Technical Data B.1 Header information

B.1

Header information

Header information of the blocks


The blocks of the SIMOCODE pro PCS 7 library V8.0 contain the following header information:
Table B- 2 FUNCTION_ BLOCK MMDiag MMOprtn MMMeas MMStat MMTime MMRevDhl Header information FB no. FB1300 FB1301 FB1302 FB1303 FB1304 FB1305 Name MMDiag MMOprtn MMMeas MMStat MMTime MMRevDhl Family SMCPRO SMCPRO SMCPRO SMCPRO SMCPRO SMCPRO Author AdvLibMM AdvLibMM AdvLibMM AdvLibMM AdvLibMM AdvLibMM Version 1.0 1.0 1.0 1.0 1.0 1.0 Title Simocode Diagnostics Simocode Pro common Operation functions Simocode Pro Measurement Simocode Pro Statistics Simocode Pro Time stamping Dahlander reversing starter

Attributes of the blocks


The blocks of the SIMOCODE pro PCS 7 library V8.0 contain the following attributes:
Table B- 3 Block MMDiag Attributes of the blocks S7_tasklist 'OB1, OB40, OB82, OB83, OB85, OB86, OB100 'OB83,OB100' 'OB100' 'OB100' 'OB100' 'OB100' S7_alarm_ui '1' S7_m_c 'true' S7_driver S7-hardware 'im'

MMOprtn MMMeas MMStat MMTime MMRevDhl

'1' '1' '1' '1' '1'

'true' 'true' 'true' 'true' 'true'

'chn' 'chn' 'chn' 'chn' -

SIMOCODE pro PCS 7 Library V8.0

216

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

Abbreviations

C
Meaning of abbreviations Meaning Analog module Automation station Advanced Process Library Operator control and monitoring Continuous Function Chart Counter-clockwise Clockwise Cyclic Redundancy Check Direct Current (direct voltage) Distributed Peripherals Digital module Fail-safe digital module Ground fault detection module Engineering Station Function block Generic Station Description Human Machine Interface "Hardware configuration" module in SIMATIC Manager Identification number Molded-case circuit breaker Motor Management Organization block Object Manager Out of Service Operator Station Process Control System 7 Process image output Process image input Process Device Manager Programming device Parameter set System function block Sequential Function Chart Totally Integrated Automation

Table C- 1 Abbreviation AM AS APL B&B CFC CCW CW CRC DC DP DM DM-F EM ES FB GSD HMI HW Config ID MCCB MM OB OM OoS OS PCS 7 PIQ PII PDM PG PS SFB SFC TIA

SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001

217

Abbreviations

Abbreviation TM UM

Meaning Temperature module Current / voltage measuring module

SIMOCODE pro PCS 7 Library V8.0

218

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

Service & Support


Download catalogs and information material: www.siemens.com/sirius/infomaterial Newsletter - always up to date: www.siemens.com/sirius/newsletter E-Business in the Industry Mall: www.siemens.com/sirius/mall Online-Support: www.siemens.com/sirius/support Contact for all technical information: Technical Assistance Tel.: +49 (911) 895-5900 e-mail: technical-assistance@siemens.com www.siemens.com/sirius/technical-assistance

Siemens AG Industry Sector Postfach 23 55 90713 FUERTH GERMANY

Subject to change without prior notice 3ZX1012-0CS16-2BC0 Siemens AG 2013 Industrial Controls SIRIUS

www.siemens.com/automation

You might also like