Professional Documents
Culture Documents
Edition
10/2013
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.
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.
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
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
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
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
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
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
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.
10
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.
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
11
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.
Figure 1-1
Figure 1-2
12
Figure 1-3
Figure 1-4
Figure 1-5
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
13
See also
Description of MMOprtn (Page 138)
14
1.6
Configuring in SIMOCODE ES
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
Active
Diagnosis triggered by process faults Active Diagnosis triggered by process warnings Active
* Diagnosis triggered by process messages Not active
Active
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
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
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
< Dynamic monitoring time, MonTiDynamic MonTiStatic < Pause time < Change-over time
not applicable
16
1.7
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.
17
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
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)
18
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
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
MMOprtn can be used for the overload relay control function without APL motor blocks.
20
Figure 2-1
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
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
22
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
Figure 2-2
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
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
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).
24
2.4
Block icons
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
25
2 13
3 14
26
7 9
8 10
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
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.
28
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
29
30
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.
Reversing starter
Circuit breaker
Star-delta starter
Dahlander
Pole-changing starter
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
31
11
Solenoid valve
VlvL1 EventTs FbSwtMMS VlvMotL1 EventTs FbSwtMMS MotL1 EventTs FbSwtMMS MotRevL1 EventTs FbSwtMMS
12
Positioners 15
13
Soft starter
14
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.
32
Figure 3-1
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
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.
34
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
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.
36
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
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.
38
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
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.
40
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
42
Faceplate - Views
4.1
Batch view
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
4.2
Trend view
44
4.3
Alarm view
Figure 4-1
Figure 4-2
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
45
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.
46
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
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)
48
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
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.
50
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
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.
52
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
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.
Figure 4-3
Note Alarm view In the Alarm view (Page 45), the information is entered if the time stamping function is activated.
54
Figure 4-4
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
55
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)
56
See also
Interlocking (Page 127)
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
57
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)
58
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
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)
60
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
Valve open
Valve closed
Valve fault
Circuit breaker OK
Positioner open
Positioner closed
Positioner fault
62
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
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
63
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).
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
64
Event diagnostics
Warning diagnostics
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
65
Trip diagnostics
See also
Diagnostics information (Page 168)
4.10.4
Figure 4-5
66
Figure 4-6
Figure 4-7
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
67
Figure 4-8
Figure 4-9
68
Figure 4-10
Figure 4-11
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
69
Figure 4-12
70
Figure 4-13
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
71
Figure 4-14
Figure 4-15
72
Figure 4-16
Figure 4-17
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
73
Figure 4-18
See also
Process images for the MMOprtn block (Page 152)
74
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
"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
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
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
MMOprtn
76
MMStat
MMDiag
MMTime
5.1.4
Quality code
The status and quality of a rack is checked by means of the Quality Code.
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
16#28
Subnet error
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
Default setting
"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
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).
78
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
"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
5.1.6
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
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
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
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).
80
5.2
5.2.1
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
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
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
82
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
5.2.6
= 1)
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)
84
5.2.7
5.2.8
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
85
5.2.9
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
86
5.2.10
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
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)
88
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
The values are read from the SIMOCODE pro device with the RDREC function. This information is written to the output parameters.
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
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
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
90
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.
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
5.3.3.2
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
92
Description of the blocks 5.3 Block for MMMeas measured value function
5.3.3.3
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
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
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
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.
94
Description of the blocks 5.3 Block for MMMeas measured value function
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
96
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
contains the release information of all parameters. contains the release based on the current modes.
5.3.8
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
Figure 5-1
See also
Interconnections of the MMDiag block (Page 87)
SIMOCODE pro PCS 7 Library V8.0
98
5.4
5.4.1
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
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
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.
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
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
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
1 1
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
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
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
104
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
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
105
Figure 5-2
See also
Interconnections of the MMDiag block (Page 87)
SIMOCODE pro PCS 7 Library V8.0
106
5.5
5.5.1
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
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
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
108
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
109
110
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
5.5.3
Messages
The following application is only available for SIMOCODE pro PROFIBUS devices (Slv_Typ = 0).
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
111
Up to 8 signal messages can be configured via SIMOCODE ES. To display the signal messages, the timestamping must be activated in SIMOCODE ES.
112
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
S S
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
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
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
114
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
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
5.6
5.6.1
5.6.1.1
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.
116
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
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
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)
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
If the block is in local mode, no other mode can be activated for it.
118
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
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
119
5.6.1.4
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.
120
5.6.1.5
Feature.Bit5* Feature.Bit5*
5.6.2
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
5.6.3
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
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.
122
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
5.6.8
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
123
5.6.9
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).
124
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:
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.
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
125
See also
MMRevDhl - Maintenance (Page 58)
126
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
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
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
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).
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
128
"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
= 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:
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
129
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 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.
130
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
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
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 **
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
132
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
5.6.20
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
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
134
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
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
136
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
5.7
5.7.1
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
138
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
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
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
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
5.7.7
Hysteresis
5.7.8
Emergency start
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.
142
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
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
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
Reset trip
A trip can be reset as follows:
Table 5- 60 Trip reset Value 0>1
1, 2
Meaning
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
144
5.7.13
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 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 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
The MsgStat1, MsgAckn1, and MsgErr1 parameters transfer the following information: Message status Message error Message acknowledgment status
5.7.15
146
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
5.7.16
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
147
148
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
5.7.17
150
Figure 5-3
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
151
5.7.18
152
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
153
154
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
155
156
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
157
158
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
159
160
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
161
162
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
163
164
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
5.7.19
Enabled operations
166
5.7.20
Status information
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
167
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
168
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
169
170
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
172
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
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
173
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
174
See also
MMOprtn - Diagnostics (Page 64)
5.7.22
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
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
176
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
177
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
178
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
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
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
180
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
182
Driver generator
6.1 Driver blocks
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
183
Figure 6-1
184
6.2
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
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
186
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
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
188
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
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 >
190
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
191
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
192
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
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
193
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
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
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
195
A.2
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
196
Feature
STRUCT
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
197
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
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
199
A.3
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
200
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
202
A.4
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
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)
204
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
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
0 = Protective interlocking is active; once the interlocking condition has disappeared, you will have to reset the block 1 = Protective interlocking not activated
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
206
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
207
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
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
A.6
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
210
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
211
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
212
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)
SIMOCODE pro PCS 7 Library V8.0 Programming and Operating Manual, 10/2013, A5E31625078002A/RS-AA/001
213
214
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
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
B.1
Header information
216
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
218
Subject to change without prior notice 3ZX1012-0CS16-2BC0 Siemens AG 2013 Industrial Controls SIRIUS
www.siemens.com/automation