Siemens SIMATIC PCS 7 Programming And Operating Manual

Process control system, sfc visualization v9.0
Hide thumbs Also See for SIMATIC PCS 7:
Table of Contents

Advertisement

SIMATIC
Process Control System PCS 7
SFC Visualization (V9.0)
Programming and Operating Manual
05/2017
A5E41356392-AA
Security information
What's new in SFV?
SFC Visualization (SFV)
Basic SFC settings
Configuration
Operating and monitoring
SFCs
Appendix
1
2
3
4
5
6
7

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC PCS 7

  • Page 1 Security information What's new in SFV? SFC Visualization (SFV) SIMATIC Basic SFC settings Process Control System PCS 7 SFC Visualization (V9.0) Configuration Operating and monitoring SFCs Programming and Operating Manual Appendix 05/2017 A5E41356392-AA...
  • Page 2 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 3: Table Of Contents

    Table of contents Security information............................5 What's new in SFV?.............................7 SFC Visualization (SFV)..........................9 Basic SFC settings.............................11 Configuration..............................13 Configurations for SFC Visualization..................13 Configuring SFC block icons....................15 Configuring SFC faceplates....................17 Adapting SFC faceplates.......................18 Preparing the controls......................19 Configuring status picture "PCS 7 SFC Control"..............20 Configuring status picture "PCS 7 SFC MultiChart Control"..........22 Configuring status picture "PCS 7 SFC Topology Control"............24 Configuring the SFC button....................25...
  • Page 4 Table of contents 6.13 Operating and monitoring the SFC by means of SFC status picture........50 6.14 PCS 7 SFC Control........................51 6.15 PCS 7 SFC MultiChart Control....................53 6.16 PCS 7 SFC Topology Control....................57 6.17 Visualization of the SFC Status by Means of an SFC Selection Button in the Button Set or an SFC Browser Selection in the Display................58 6.18 Information on the SFC block icon..................59...
  • Page 5: Security Information

    In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions only form one element of such a concept. Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks.
  • Page 6 Security information SFC Visualization (V9.0) Programming and Operating Manual, 05/2017, A5E41356392-AA...
  • Page 7: What's New In Sfv

    What's new in SFV? Enhancements/changes in V9.0 Version V9.0 contains the following enhancements or changes compared with version V8.2: ● Configuration of technological actions and conditions in SFC types and its instances Technological actions in steps and technological conditions in transitions/start conditions of sequencers can be configured in the SFC editor.
  • Page 8 What's new in SFV? SFC Visualization (V9.0) Programming and Operating Manual, 05/2017, A5E41356392-AA...
  • Page 9: Sfc Visualization (Sfv)

    SFC Visualization (SFV) Introduction You can use the "SFC Visualization" software package to configure SFC visualization in WinCC and to perform operator control and monitoring of SFC charts and SFC instances in the WinCC runtime system. What is SFC? SFC (Sequential Function Chart) is a sequential control system that is used for control flow- oriented process control.
  • Page 10 SFC Visualization (SFV) Note ● Configuration is not possible during runtime operation. ● You can transfer SFCs to the runtime system even while the OS is running. This may cause a temporary inconsistency in the displays, since the SFCs must first be downloaded to the automation system before being loaded on the OS.
  • Page 11: Basic Sfc Settings

    Basic SFC settings Settings in WinCC Explorer The general settings for the visualization of SFC charts and SFC instances within the runtime system are made in WinCC Explorer. You can make these changes globally for all displayed SFCs or for specific objects. Global Settings Global settings for displaying SFCs affect the following areas: ●...
  • Page 12 Basic SFC settings Setting Font Font attributes (font, alignment etc.) Flashing Flashing frequency Other Other attributes, such as enabled for operator, group relevant, display, group value and acknowledgment pattern Message types Display text and attributes (font color, background color, flashing) for the individ‐ ual message statuses Lock Whether the messages are output or locked.
  • Page 13: Configuration

    Configuration Configurations for SFC Visualization Introduction You can place objects in a WinCC display that enable you to open an SFC during runtime operation. The following objects can be used for this: ● Block icons ● "PCS 7 SFC Control" ●...
  • Page 14 Configuration 5.1 Configurations for SFC Visualization You can use SFC Visualization functions in order to create your own scripts. You will find more detailed information in: Using functions for user-specific scripts (SFC API Calls) (Page 27). SFC Visualization (V9.0) Programming and Operating Manual, 05/2017, A5E41356392-AA...
  • Page 15: Configuring Sfc Block Icons

    Configuration 5.2 Configuring SFC block icons Configuring SFC block icons SFC block icon templates The block icon templates for the "@SFC_RTS" SFC and the instance of an "@SFC_TYPE" SFC type are provided in the "@PCS7TypicalsBasisLibraryV8.pdl" template picture. The templates for the block icons can be present in different versions. The variants of a block icon are distinguished by the "/"...
  • Page 16 Configuration 5.2 Configuring SFC block icons Create block icons You can create block icons for your OS picture in two different ways: ● Automatic creation in the plant hierarchy With this method, the required block icons are automatically inserted into the picture and parameters are assigned, as appropriate, for all existing SFCs.
  • Page 17: Configuring Sfc Faceplates

    Configuration 5.3 Configuring SFC faceplates Configuring SFC faceplates SFC faceplates There are two types of faceplate templates for visualizing the various SFC instances of the SFC types and for visualizing SFC charts in runtime: ● The "@pg_@sfc_rts.pdl" variant is used to visualize SFCs. ●...
  • Page 18: Adapting Sfc Faceplates

    Configuration 5.4 Adapting SFC faceplates Adapting SFC faceplates Introduction You adapt the "Actual Values" (@pg_@sfc_type_actualsp.pdl) and "Prepared Values" (@pg_@sfc_type_prepare.pdl) views in the Graphics Designer. Procedure 1. Open the "@pg_@sfc_type_actualsp.pdl" or "@pg_@sfc_type_prepare.pdl " picture in the Graphics Designer. 2. Double-click in the OCX area of the picture. The "Properties of "@PCS 7 SFC SP Control""...
  • Page 19: Preparing The Controls

    Configuration 5.5 Preparing the controls Preparing the controls Introduction You can prepare for the configuration of the controls in order to facilitate insertion of the controls in a graphic picture. Procedure 1. Open the desired picture in Graphics Designer. 2. Switch to the "Controls" tab in the object palette. 3.
  • Page 20: Configuring Status Picture "Pcs 7 Sfc Control

    Configuration 5.6 Configuring status picture "PCS 7 SFC Control" Configuring status picture "PCS 7 SFC Control" Introduction The states of an SFC can be output to a graphic picture by means of an PCS 7 SFC Control which is assigned to this SFC. This control is also referred to as the status picture (just like the PCS 7 SFC MultiChart Control).
  • Page 21 Configuration 5.6 Configuring status picture "PCS 7 SFC Control" Options in the other tabs: ● You can individually configure the display of the SFC control. ● In the "Colors" tab, you can use the color palette to change the current colors for certain elements (for example, title bar, window background, etc.).
  • Page 22: Configuring Status Picture "Pcs 7 Sfc Multichart Control

    Configuration 5.7 Configuring status picture "PCS 7 SFC MultiChart Control" Configuring status picture "PCS 7 SFC MultiChart Control" Introduction You can use "PCS 7 SFC MultiChart Control" to monitor and control multiple SFCs. This control is also referred to as the status picture (just like the SFC control). As with the "SFC Control", you insert the "PCS 7 SFC MultiChart Control"...
  • Page 23 Configuration 5.7 Configuring status picture "PCS 7 SFC MultiChart Control" Deleting: 1. Select an SFC that is no longer needed in the "Properties" dialog box. 2. Click the following button The SFC is deleted. You can change the order of the selected SFCs at a later time. Sorting: You can move a selected SFC up or down using the following buttons: Title:...
  • Page 24: Configuring Status Picture "Pcs 7 Sfc Topology Control

    Configuration 5.8 Configuring status picture "PCS 7 SFC Topology Control" Configuring status picture "PCS 7 SFC Topology Control" Introduction The states of an SFC can be output to a graphic picture by means of an PCS 7 SFC Topology Control which is assigned to this SFC. To this, you place and configure the status picture in a graphic picture in the WinCC Graphics Designer.
  • Page 25: Configuring The Sfc Button

    Configuration 5.9 Configuring the SFC button Configuring the SFC button Introduction For selecting an SFC, you can also configure any graphic object of your choice. Such an object serves to represent the SFC chart. Unlike an SFC status display, however, it does not receive any information on the current status of the SFC.
  • Page 26: Configuring The Sfc Browser Selection

    Configuration 5.10 Configuring the SFC Browser Selection 5.10 Configuring the SFC Browser Selection Introduction You place an object in the graphic display in order to call the SFC browser in runtime. Use this browser to select the SFCs. Procedure 1. In the Graphics Designer object palette, select the desired object and draw a frame in the graphic display.
  • Page 27: Using Functions For User-Specific Scripts (Sfc Api Calls)

    Configuration 5.11 Using functions for user-specific scripts (SFC API Calls) 5.11 Using functions for user-specific scripts (SFC API Calls) SFC API functions The Graphics Designer contains template scripts for assigning certain actions to objects. SFC Visualization offers many functions. The most important functions are included in these script templates.
  • Page 28: What You Should Know About Os Server And Os Client

    Configuration 5.12 What you should know about OS Server and OS Client 5.12 What you should know about OS Server and OS Client What is an OS Server? An OS Server is interconnected with the AS. It receives process data, however, it usually does not provide any operating and monitoring functionality within a multi-user system.
  • Page 29 Configuration 5.12 What you should know about OS Server and OS Client Permanent operability for clients SFC Visualization supports "permanent operability" for clients. A preferred server configured on the client is used as the server. This applies regardless of whether the server is the current MASTER or STANDBY.
  • Page 30: What You Need To Know About The Web Server And Web Client

    Configuration 5.13 What you need to know about the Web server and Web client 5.13 What you need to know about the Web server and Web client Requirements for using the SFC block icons and SFC faceplates on the Web client Web server: ●...
  • Page 31: Operating And Monitoring Sfcs

    Operating and monitoring SFCs Access control Access control Operator input is allowed without restriction if no users are configured. The following settings or functions are performed, depending on the logged on user and the authorization levels configured for SFC Visualization: ●...
  • Page 32: Operating And Monitoring The Sfc By Means Of Faceplate

    Operating and monitoring SFCs 6.2 Operating and monitoring the SFC by means of faceplate Operating and monitoring the SFC by means of faceplate Overview You operate the SFC and the SFC instance by means of a faceplate. ● The faceplate for the SFC has the following views: –...
  • Page 33 Operating and monitoring SFCs 6.2 Operating and monitoring the SFC by means of faceplate Note ● When you open the faceplate, the "Prepared Values" view (Idle or MANUAL mode) or the "Actual Values" view (in all other operating states) is displayed depending on the current operating state of the SFC.
  • Page 34: Sfc Chart" Faceplate, "Sfc Section" View

    Operating and monitoring SFCs 6.3 "SFC chart" faceplate, "SFC section" view "SFC chart" faceplate, "SFC section" view "SFC section" view SFC faceplate, "SFC section" view The faceplate is divided into two parts, the detail view is on the left, the overview display is on the right.
  • Page 35 Operating and monitoring SFCs 6.3 "SFC chart" faceplate, "SFC section" view ● The button For both views: A resizable window opens to view the sequencers. ● Overview with "Synchronize" check box. You can find the meaning of the fields and buttons in the section: "SFC Instance" faceplate, "Actual Values"...
  • Page 36: Sfc Chart" Faceplate, "Messages" View

    Operating and monitoring SFCs 6.4 "SFC Chart" faceplate, "Messages" view "SFC Chart" faceplate, "Messages" view "Messages" view This view contains the elements of the "Standard" view plus the message window. You can find additional information about this in the section: "SFC chart" faceplate, "SFC section" view (Page 34).
  • Page 37: Sfc Instance" Faceplate, "Actual Values" View

    Operating and monitoring SFCs 6.5 "SFC Instance" faceplate, "Actual Values" view "SFC Instance" faceplate, "Actual Values" view "Actual Values" view SFC instance faceplate, "Actual Values" view The faceplate is divided into two parts, the right section is the detail view, the left section is the overview.
  • Page 38 Operating and monitoring SFCs 6.5 "SFC Instance" faceplate, "Actual Values" view The following information and buttons can be seen (from left to right) in the detail view: 1. Overview line: – PCS 7 group displays: Alarm, warning, step error, operator prompt The operator prompt icon is also displayed here if one of the following views is shown: –...
  • Page 39 Operating and monitoring SFCs 6.5 "SFC Instance" faceplate, "Actual Values" view – "Ready to complete" status display, when the SFC is not self-terminating (SELFCOMP = 0) and is waiting in the run state for the "Complete" command (display, if READY_TC = 1).
  • Page 40 Operating and monitoring SFCs 6.5 "SFC Instance" faceplate, "Actual Values" view 3. The position text is used to display the current position within the sequencer. It consists of a number and an assigned text. The text is displayed in the SFC faceplate. 4.
  • Page 41: Sfc Instance" Faceplate, "Block Contacts" View

    Operating and monitoring SFCs 6.6 "SFC Instance" faceplate, "Block contacts" view "SFC Instance" faceplate, "Block contacts" view "Block contacts" view The upper part of the view is identical to the following view: "SFC Instance" faceplate, "Actual Values" view (Page 37). The following are also displayed: A line containing the name, block type, status, and a button for opening the corresponding faceplate for each block contact.
  • Page 42: Sfc Instance" Faceplate, "Prepared Values" View

    Operating and monitoring SFCs 6.7 "SFC Instance" faceplate, "Prepared Values" view "SFC Instance" faceplate, "Prepared Values" view "Prepared Values" view The view is identical to the following view: "SFC Instance" faceplate, "Actual Values" view (Page 37). You can change the control strategy and the setpoints here. The changes made in this view are applied the next time you start the sequencer in MANUAL mode.
  • Page 43: Sfc Instance" Faceplate, "Parameters" View

    Operating and monitoring SFCs 6.8 "SFC Instance" faceplate, "Parameters" view "SFC Instance" faceplate, "Parameters" view "Parameters" view This view contains the elements of the following view: "SFC Instance" faceplate, "Actual Values" view (Page 37), as described in 1 and 2 (see there). Instead of the elements listed under 6, the window shows the active control strategy and the OS-relevant parameters.
  • Page 44: Sfc Instance" Faceplate, "Messages" View

    Operating and monitoring SFCs 6.9 "SFC Instance" faceplate, "Messages" view "SFC Instance" faceplate, "Messages" view "Messages" view This view contains the elements of the following view: "SFC Instance" faceplate, "Actual Values" view (Page 37), as described in 1 and 2 (see there). Here, the message window is displayed instead of the elements listed under 3 to 6.
  • Page 45: Sfc Instance" Faceplate, "Batch" View

    Operating and monitoring SFCs 6.10 "SFC Instance" faceplate, "Batch" view 6.10 "SFC Instance" faceplate, "Batch" view View "Batch" This view contains the elements of the following view: "SFC Instance" faceplate, "Actual Values" view (Page 37), as described in 1 and 2 (see there). Here, the Batch window is displayed instead of the elements listed under 3 to 6.
  • Page 46: Sfc Instance" Faceplate, "Equipment Modules" View

    Operating and monitoring SFCs 6.11 "SFC Instance" faceplate, "Equipment modules" view 6.11 "SFC Instance" faceplate, "Equipment modules" view "Equipment modules" view This view shows the allocation status for the SFC instance of an equipment phase (EPH) by the lower-level equipment module (EM). ●...
  • Page 47 Operating and monitoring SFCs 6.11 "SFC Instance" faceplate, "Equipment modules" view Operations in a table row of the view ● Faceplate jump Clicking on a cell in the "Equipment module" or "SFC status" column triggers a jump to the associated SFC faceplate. ●...
  • Page 48: Sfc Instance" Faceplate, "Equipment Phases" View

    Operating and monitoring SFCs 6.12 "SFC Instance" faceplate, "Equipment phases" view 6.12 "SFC Instance" faceplate, "Equipment phases" view "Equipment phases" view This view shows the allocation status for the SFC instance of an equipment module (EM) by the higher-level equipment phase (EPH). ●...
  • Page 49 Operating and monitoring SFCs 6.12 "SFC Instance" faceplate, "Equipment phases" view Operations in a table row of the view ● Faceplate jump Clicking on a cell in the "Equipment phase" or "SFC status" column triggers a jump to the associated SFC faceplate. ●...
  • Page 50: Operating And Monitoring The Sfc By Means Of Sfc Status Picture

    Operating and monitoring SFCs 6.13 Operating and monitoring the SFC by means of SFC status picture 6.13 Operating and monitoring the SFC by means of SFC status picture SFC status picture You obtain an overview of the SFC status (PCS 7 SFC Control) by selecting a graphic picture that contains a status picture configured for the SFC.
  • Page 51: Pcs 7 Sfc Control

    Operating and monitoring SFCs 6.14 PCS 7 SFC Control 6.14 PCS 7 SFC Control PCS 7 SFC Control The following current information is displayed: Heading ● Name of the assigned SFC (chart or instance name) *) 1st Row ● Mode (MANUAL / AUTO) ●...
  • Page 52 Operating and monitoring SFCs 6.14 PCS 7 SFC Control Click "Faceplate" to open the SFC faceplate. The button for the selection of the SFC display is defined during the configuration of the PCS 7 SFC control. You can choose from the following display options: ●...
  • Page 53: Pcs 7 Sfc Multichart Control

    Operating and monitoring SFCs 6.15 PCS 7 SFC MultiChart Control 6.15 PCS 7 SFC MultiChart Control PCS 7 SFC MultiChart Control SFC MultiChart Control is used to operate and monitor several SFCs. As it cannot be visualized in its configured length, the Control is provided with a scroll bar. The #, SFC, and group display columns are always visible, regardless of the scroll bar position.
  • Page 54 Operating and monitoring SFCs 6.15 PCS 7 SFC MultiChart Control Columns Content Function Sequencer Name of the current sequencer. Display The icon of the operating state (of the Display sequencer) is indicated in front of the name of the active sequencer. You can find additional information about this in the section: Icons for Operating States (Page 95).
  • Page 55 Operating and monitoring SFCs 6.15 PCS 7 SFC MultiChart Control Command Buttons Buttons for filter settings appear in the column headings. You can open and close the filter dialog box by clicking on this icon: The following filter settings are available for selection: ●...
  • Page 56 Operating and monitoring SFCs 6.15 PCS 7 SFC MultiChart Control ● If you click a column heading, you can sort the table rows in ascending or descending order. The sorting order is based on the alphabetical order of the symbol names (such as aborted, completed, idle, held, run).
  • Page 57: Pcs 7 Sfc Topology Control

    Operating and monitoring SFCs 6.16 PCS 7 SFC Topology Control 6.16 PCS 7 SFC Topology Control PCS 7 SFC Topology Control You have the following operating options in SFC Topology Control. Buttons and check boxes ● "Synchronize" check box If this check box is selected, the overview is synchronized to the detail view. ●...
  • Page 58: Visualization Of The Sfc Status By Means Of An Sfc Selection Button In The Button Set Or An Sfc Browser Selection In The Display

    Operating and monitoring SFCs 6.17 Visualization of the SFC Status by Means of an SFC Selection Button in the Button Set or an SFC Browser Selection in the Display 6.17 Visualization of the SFC Status by Means of an SFC Selection Button in the Button Set or an SFC Browser Selection in the Display Introduction You can also visualize and control the status of an SFC in the runtime system as described...
  • Page 59: Information On The Sfc Block Icon

    Operating and monitoring SFCs 6.18 Information on the SFC block icon 6.18 Information on the SFC block icon Overview Various status displays are available on the block icon of the SFC type or its instance. The block icon is used to represent the sequence control of the equipment module (EM) and the equipment phase (EPH).
  • Page 60: Information And Operator Input In The Detail View

    Operating and monitoring SFCs 6.19 Information and operator input in the detail view 6.19 Information and operator input in the detail view The detail window Information in the title bar The title bar of the detail window has the following design: ●...
  • Page 61 Operating and monitoring SFCs 6.19 Information and operator input in the detail view In the detail view: ● Status information: <Plant hierarchy\\SFC name> : <SFC state> <S> <O> <Sequencer name> : <Sequencer status> <S> <O> AS status : <AS status> The title bar components are used in accordance with the corresponding situation.
  • Page 62 Operating and monitoring SFCs 6.19 Information and operator input in the detail view An operator prompt (not with "T") is represented by the button to the left of the transition symbol: After clicking this button - or the following: and continuing the sequence, the buttons disappear again. Buttons and check boxes ●...
  • Page 63 Operating and monitoring SFCs 6.19 Information and operator input in the detail view Setting the sequence options (Page 67) Acknowledging Operator Prompts and Step Errors (Page 68) For a description of the displays, refer to the section: "SFC Instance" faceplate, "Actual Values" view (Page 37) See also Operating and monitoring the SFC by means of faceplate (Page 32)
  • Page 64: Setting The Operating Mode

    Operating and monitoring SFCs 6.20 Setting the Operating Mode 6.20 Setting the Operating Mode Setting the operating mode The operating mode setting determines the SFC control sequence. The SFC supports the following operating modes: ● AUTO (process mode) - sequence is controlled automatically. ●...
  • Page 65: Setting The Operating State

    Operating and monitoring SFCs 6.21 Setting the Operating State 6.21 Setting the Operating State Setting the Operating State The commands available in the control and display section (or in the PCS 7 SFC multichart control) let you set or modify the SFC operating state. Button Command Meaning...
  • Page 66: Setting The Step Control Mode

    Operating and monitoring SFCs 6.22 Setting the Step Control Mode 6.22 Setting the Step Control Mode Setting step control mode The step control mode defines the step response of the sequential control. The step control mode changes the response of prepared or fulfilled transitions. A button is displayed for an active operator request in all step control modes with the exception of "T"...
  • Page 67: Setting The Sequence Options

    Operating and monitoring SFCs 6.23 Setting the sequence options 6.23 Setting the sequence options Setting the sequence options The sequence options influence the behavior of the sequential control system. The various sequence options can be combined. The following sequence options can be set in the runtime system: ●...
  • Page 68: Acknowledging Operator Prompts And Step Errors

    Operating and monitoring SFCs 6.24 Acknowledging Operator Prompts and Step Errors 6.24 Acknowledging Operator Prompts and Step Errors Acknowledging operator prompts and step errors The group acknowledgement button can be used to acknowledge all active operator prompts and step errors at one time (using the "S" button for steps and the "O" button for transitions).
  • Page 69: Overview Of The "Properties" Dialog Boxes

    Operating and monitoring SFCs 6.25 Overview of the "Properties" dialog boxes 6.25 Overview of the "Properties" dialog boxes "Properties" dialog boxes The "Properties" dialog box represents the detail view of a sequencer, of a step, or of a transition. This dialog box shows information specific to the selected object (sequencer/step/ transition).
  • Page 70: Properties" Dialog Box For The Sequencer

    Operating and monitoring SFCs 6.26 "Properties" Dialog Box for the Sequencer 6.26 "Properties" Dialog Box for the Sequencer "Properties" Dialog Box for the Sequencer Select the detail view for the SFC in which you want to display the sequencer "Properties" dialog box.
  • Page 71: Properties" Dialog Box For The Start Condition

    Operating and monitoring SFCs 6.27 "Properties" Dialog Box for the Start Condition 6.27 "Properties" Dialog Box for the Start Condition "Properties" dialog box of the start condition This dialog box shows the start conditions of the sequencer. The values and conditions of the sequencer are visualized similar to a transition. Each condition consists of the following elements: ●...
  • Page 72: Properties" Dialog Box For The Step

    Operating and monitoring SFCs 6.28 "Properties" Dialog Box for the Step 6.28 "Properties" Dialog Box for the Step Procedure Select the detail window for the SFC in which you want to display a step "Properties" dialog box. Click the required step to open the dialog box. "General"...
  • Page 73 Operating and monitoring SFCs 6.28 "Properties" Dialog Box for the Step The background color such as "light green" in a row indicates that a technological action is configured. The color for technological objects can be set in the CFC editor. "Initialization", "Processing", "Termination"...
  • Page 74: Properties" Dialog Box For The Transition

    Operating and monitoring SFCs 6.29 "Properties" Dialog Box for the Transition 6.29 "Properties" Dialog Box for the Transition Procedure Select the detail window for the SFC in which you want to display the "Properties" dialog box of a transition. Click the desired transition to open the dialog box. The following is displayed: ●...
  • Page 75 Operating and monitoring SFCs 6.29 "Properties" Dialog Box for the Transition Operator inputs in the "Properties" dialog box of the transition The following operator inputs are possible in the dialog box: ● Closing the dialog box using the "Close" button ●...
  • Page 76: Calculation For Sfc" Dialog Box In Sfv

    Operating and monitoring SFCs 6.30 "Calculation for SFC" dialog box in SFV 6.30 "Calculation for SFC" dialog box in SFV Overview Calculations can be configured in steps, transitions or sequencers in the SFC Editor. Configuring is carried out in the "Calculation for SFC" dialog box of the SFC Editor. You can find more information on configuring calculations in the section "Overview of SFC calculations"...
  • Page 77 Operating and monitoring SFCs 6.30 "Calculation for SFC" dialog box in SFV The "Calculation for SFC" dialog box in SFV has only two buttons: ● The "Close" button for closing the dialog box. ● The "Jump-to-picture" button for initiating the "Jump-to-picture" function. Icon Meaning The button is deactivated when no address is selected or an address belongs to a block...
  • Page 78: Messages

    Operating and monitoring SFCs 6.31 Messages 6.31 Messages General The following messages are generated during execution of an SFC in the AS: ● Operator requests for transitions ● Step errors ● Status messages relating to the SFC status Only the step error messages require acknowledgment. Generation of process messages The messages are generated generically.
  • Page 79: Operating State Logic

    Operating and monitoring SFCs 6.32 Operating state logic 6.32 Operating state logic 6.32.1 Operating State Logic for SFC (SFC OSL) Introduction A change of the current operating state of the SFC OSL can be triggered by the following events: ● Commands (Start, Resume, Hold, etc.) in "MANUAL" or "AUTO" mode ●...
  • Page 80 Operating and monitoring SFCs 6.32 Operating state logic The SFC-OSL diagram The operating state logic of an SFC is defined by the diagram of the state changes: States that are exited through events Transition states that are implicitly exited SFC Visualization (V9.0) Programming and Operating Manual, 05/2017, A5E41356392-AA...
  • Page 81 Operating and monitoring SFCs 6.32 Operating state logic States applied from OSL for SFC V5 Events: Commands / Conditions / External Signals / Internal Signals Event: Error Implicit transitions that are triggered from SFC, if the active sequencer has been processed to completion or if there is not sequencer to process.
  • Page 82: Operating State Logic For Sequencers (Sequencer Osl)

    Operating and monitoring SFCs 6.32 Operating state logic State changes using commands (SFC OSL) Source/ Command Meaning Target Start Triggers start of processing by changing to "Starting" state. Exit Triggers completion of processing by changing to "Complet‐ ing" state. Hold Triggers hold of processing by changing to "Holding"...
  • Page 83 Operating and monitoring SFCs 6.32 Operating state logic Sequencer OSL diagram States that are changed due to commands/operations Operator commands Implicit transitions triggered by the SFC States of the Sequencer OSL State Meaning Idle Initial state Waiting for "Start" command. Normal processing.
  • Page 84 Operating and monitoring SFCs 6.32 Operating state logic The following table describes the transitions between the states (Source State No. / Destination State No.) as well as their triggers. Source/ Command Meaning Target Start Triggers sequencer processing by changing to "Run " state. Hold Holds sequencer processing by changing to "Held"...
  • Page 85: Operator Control And Monitoring Using The Web Client

    Operating and monitoring SFCs 6.33 Operator control and monitoring using the Web client 6.33 Operator control and monitoring using the Web client 6.33.1 Running SFC Visualization on the Web client Introduction Since V7.0, SFC Visualization on the Web client was restricted to operation of SFC block icons, SFC faceplates and SFC controls.
  • Page 86 Operating and monitoring SFCs 6.33 Operator control and monitoring using the Web client SFC Visualization (V9.0) Programming and Operating Manual, 05/2017, A5E41356392-AA...
  • Page 87: Appendix

    Appendix Allocation request and allocation status Introduction With equipment phases, the lower-level equipment modules are not permanently assigned, but instead requested at runtime, allocated and then released again. The allocation characteristics are configured using an "allocation request" in the step of the SFC.
  • Page 88 Appendix 7.1 Allocation request and allocation status Allocation request and allocation status ● The allocation requirements are defined in the master data library under "Shared Declarations > Enumerations > ES_AcquireTypes". The following table describes the available allocation requests sorted by their priorities. The lowest priority is at the top.
  • Page 89 Appendix 7.1 Allocation request and allocation status Allocation status Comment Waiting Waiting Request was accepted, but equipment module (EM) is not yet avail‐ able. NotAvailable Not available Equipment module (EM) is not available at the time of the request. Can only occur with the allocation requests "Now (Now)" and "Pre‐ liminary (now) (PrelimNow)".
  • Page 90: Sfc System Variable

    Appendix 7.2 SFC System Variable SFC System Variable Overview SFC Visualization requires the following tags for operating and monitoring SFCs: Required for... <S7 program>#AsRead Reading data from the AS <S7 program> <S7 program>#AsWrite Writing data from the AS <S7 program> @SFCDeltaLoaded Delta download to the OS.
  • Page 91: Sfc Api Functions

    Appendix 7.3 SFC API functions SFC API functions SFC API functions BOOL SFCAbout(HWND projWnd, LPOHIO_ERRORSTRUCT lpdmError); Opens information about SFC Visualization (version information). Example: SFCAbout(NULL, (void*)0); BOOL SFCSetProperties(HWND projWnd, LPOHIO_ERRORSTRUCT lpdmError); Opens the SFC "Properties" dialog box (read only) (dimensions, colors, authorization levels). Example: SFCSetProperties(NULL, (void*)0);...
  • Page 92 Appendix 7.3 SFC API functions BOOL SFCSaveWorkspace(LPCSTR pWsName); Saves all open SFC windows for a specific user under the workspace (desktop layout) "pWsName_user.SSM". Parameter: pWsName(in): Name of the desktop layout Example: SFCSaveWorkspace("TestLayout1"); BOOL SFCRestoreWorkspace(LPCSTR pWsName); Restores all the SFC windows saved using SFCSaveWorkSpace under the workspace "pWsName_user.SSM".
  • Page 93 Appendix 7.3 SFC API functions BOOL SFCGetChartProp(LPCSTR pChartName, LPTSTR pChartComment, LONG length); Determines the chart/instance comment. Parameter: pChartName(in): SFC chart name/instance name pChartComment(out): Chart comment length(in): Maximum length of the comment BOOL SFCGetSequenceProp(LPCSTR pChartName, LONG lSequenceNumber, LPTSTR pSequenceComment, LONG length); Determines the sequencer comment.
  • Page 94 Appendix 7.3 SFC API functions BOOL SFCGetNotetext(LPCTSTR pChartName, long lNumber, LPTSTR pNotetext, long length); Determines the note text for the note text number. Parameter: pChartName(in): SFC instance name lNumber(in): Note text number pNotetext(out): Note text length(in): Maximum length of the note text BOOL SFCGetControlStrategyName(LPCTSTR pChartName, long lNumber, LPTSTR pControlStrategyName, long length);...
  • Page 95: Icons For Operating States

    Appendix 7.4 Icons for Operating States Icons for Operating States SFC operating states Icon State Meaning Aborting Processing after Abort command. Aborted Cancellation processing is complete; waiting for Re‐ set or Start command. Processing after ending the processing in the "Start‐ ing"...
  • Page 96 Appendix 7.4 Icons for Operating States SFC Visualization (V9.0) Programming and Operating Manual, 05/2017, A5E41356392-AA...
  • Page 97: Index

    Index " "Batch" view, 45 Detail window SFC instance faceplate, 45 Information, 60 "Calculation for SFC" dialog box, 76 Operator input, 60 "Equipment modules" view, 46 "Equipment phases" view, 48 Faceplates Adapting, 18 Access control, 31 Configuring, 17 Acknowledging operator prompts and step errors, 68 Functions for custom scripts, 27 Actual values view, 37 SFC instance faceplate, 37...
  • Page 98 Index Operating states SFC instance faceplate, 42, 43, 44, 45 Icons, 95 "Batch" view, 45 Operator input Actual values view, 37 Detail window, 60 Messages view, 44 SFC by means of a faceplate, 32 Overview of the layout, 37 SFC by means of the SFC status picture, 50 Parameters view, 43 Operator prompts, 68 Prepared values view, 42...

Table of Contents