Siemens SIMATIC PCS 7 Function Manual
Siemens SIMATIC PCS 7 Function Manual

Siemens SIMATIC PCS 7 Function Manual

Process control system, advanced process functions simatic batch integration
Hide thumbs Also See for SIMATIC PCS 7:

Advertisement

SIMATIC
Process Control System PCS 7
Advanced Process Functions
SIMATIC BATCH Integration
Function Manual
07/2016
A5E38719543-AA
Preface
Security information
Amendment to the
Installation and Configuration
Manual
Amendment on Engineering
Manual
Amendment to the Operating
Manual
Amendment to the Function
Manual
1
2
3
4
5

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC PCS 7

  • Page 1 Preface Security information Amendment to the Installation and Configuration SIMATIC Manual Amendment on Engineering Process Control System PCS 7 Manual Advanced Process Functions SIMATIC BATCH Integration Amendment to the Operating Manual Amendment to the Function Function Manual Manual 07/2016 A5E38719543-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: Preface

    Preface Purpose of the manual This document contains reference information for engineering and operation of the Advanced Process Functions (APF) together withSIMATIC BATCH. You can find additional information on APF in the following manuals: ● Advanced Process Functions (APF) Function Manual ●...
  • Page 4 Preface ● Amendment to the Operating Manual: – Synchronization of the material master data between APF and SIMATIC BATCH – "Order Creation" dialog ● Amendment to the Function Manual: – "Order Creation" interface Validity This documentation is valid for V2.1 of the APF software package. Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 5: Table Of Contents

    Table of contents Preface.................................3 Security information............................7 Amendment to the Installation and Configuration Manual................9 Amendment on Engineering Manual......................11 Integration..........................12 Configuration of the "Order Creation" dialog................13 Runtime interface to SIMATIC BATCH..................19 Amendment to the Operating Manual......................25 Material management ......................26 "Order Creation" dialog......................29 Amendment to the Function Manual......................33 "Order Creation"...
  • Page 6 Table of contents Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 7: 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 8 Security information Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 9: Amendment To The Installation And Configuration Manual

    Amendment to the Installation and Configuration Manual Please read the "Advanced Process Functions Installation and Configuration" manual before you read this section. The following only describes relevant changes that result when you use APF together with SIMATIC BATCH. Server The BATCH server must be installed on the APF OS server. OS setup on all clients When you use SIMATIC BATCH integration, the APF OS setup must be installed on all APF clients.
  • Page 10 Amendment to the Installation and Configuration Manual Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 11: Amendment On Engineering Manual

    Amendment on Engineering Manual Please read the "Advanced Process Functions Engineering Manual" before you read this section. The following only describes the relevant changes that result when you use APF together with SIMATIC BATCH . Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 12: Integration

    Amendment on Engineering Manual 3.1 Integration Integration The integration of APF with SIMATIC BATCH is configured using the "Einstellungen – Allgemein" / "Settings - General" dialog of the APF engineering tool: The release of APF integration using SIMATIC BATCH occurs through the option box "Use SIMATIC BATCH"...
  • Page 13: Configuration Of The "Order Creation" Dialog

    Amendment on Engineering Manual 3.2 Configuration of the "Order Creation" dialog Configuration of the "Order Creation" dialog The "Order Creation" dialog offers numerous possible settings to tailor the dialog to customer- specific requirements. These settings are specified during the engineering phase directly at the dialog control @FB_OrderCreation.pdl using WinCC Graphics Designer or through a user- specific script.
  • Page 14 Amendment on Engineering Manual 3.2 Configuration of the "Order Creation" dialog Name Description RecipeFilter (In/Out) ● Filter for selectable formula or recipe names Formulas or recipes are displayed when their name starts with RecipeFilter. ● No default ● Can be set in Graphics Designer or in script. ●...
  • Page 15 Amendment on Engineering Manual 3.2 Configuration of the "Order Creation" dialog Name Description OrderSizePreselection ● Start value of OrderSize field ● Default is 0 ● Can be set in Graphics Designer or in script. OrderSizeOperation Options: ● enabled (default): The operator can select the order size. ●...
  • Page 16 Amendment on Engineering Manual 3.2 Configuration of the "Order Creation" dialog Name Description BatchesSizeOperation Options: ● enabled: The operator can change the batch, including the remainder batch size. ● disabled: The operator is not authorized to change the batch, including the remainder batch size.
  • Page 17 Amendment on Engineering Manual 3.2 Configuration of the "Order Creation" dialog Name Description BatchesWaitingTimeOperation Options: ● enabled (default): The operator can select the waiting time of the batch. ● disabled: The operator is not authorized to select the waiting time of the batch. BatchesWaitingTimePreselection Waiting time after which the next batch is started.
  • Page 18 Amendment on Engineering Manual 3.2 Configuration of the "Order Creation" dialog Name Description BatchListCustomColumn1Max Valid when BatchListCustomColumn1Type = Integer or Real Maximum input value for the user-defined column (default: 0) BatchListCustomColumn1MaxChar Valid when BatchListCustomColumn1Type = String Maximum number of characters for entry in the user-defined column (default: 0) BatchListCustomColumn1Enumeration Valid when BatchListCustomColumn1Type = Enumeration →...
  • Page 19: Runtime Interface To Simatic Batch

    Opening the Runtime interface to SIMATIC BATCH You can open the Runtime interface to SIMATIC BATCH with the Global Script Template FB_BMBatchCreation.tpl under <…SIEMENS\WINCC\bin\Engineeringtool\Konfig\PAS>. You need to copy the template to the <OSProject>\<SERVERNAME>\PAS directory to use this functionality in the PCS 7 OS project. Then change the extension from .tpl to .pas. To use the script in a specific project, you need to adapt it in the Global Script editor.
  • Page 20 Amendment on Engineering Manual 3.3 Runtime interface to SIMATIC BATCH Global Script flow diagram Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 21 Amendment on Engineering Manual 3.3 Runtime interface to SIMATIC BATCH Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 22 Amendment on Engineering Manual 3.3 Runtime interface to SIMATIC BATCH User-defined APF functions The Global Script uses three "User-defined APF functions": ● FB_Batch_GetOrderCatName(): Determine the name of the order category (can be adapted by the user, returns "Order Category" as default). ●...
  • Page 23 Amendment on Engineering Manual 3.3 Runtime interface to SIMATIC BATCH // TODO: Set Recipe Name and Version … // TODO: Set Batch Size … // TODO: Use parameter by setting the name … // TODO: If parameter name is set then set parameter type: // BMS_SBIF_PARAMETER_TYPE_INT=0: //Set integer value at BatchData.Parameters[iParameterIndex].iValue...
  • Page 24 Amendment on Engineering Manual 3.3 Runtime interface to SIMATIC BATCH Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 25: Amendment To The Operating Manual

    Amendment to the Operating Manual Please read the "Material Management" section in the "Advanced Process Functions Operating Manual" before you read this section. The following only describes relevant changes that result when you use APF together with SIMATIC BATCH. Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 26: Material Management

    Amendment to the Operating Manual 4.1 Material management Material management Overview ● A material in APF as well as SIMATIC BATCH (in SIMATIC BATCH: a material) is identified by 2 unique codes: <Material Name> and <Material ID>. These two codes are then identical in both systems.
  • Page 27 Amendment to the Operating Manual 4.1 Material management The transfer of materials depends on the selection of the material class, type and material: ● If no class is selected, all materials of all classes are transferred. ● If a class is selected, all materials of this class are transferred. ●...
  • Page 28 Amendment to the Operating Manual 4.1 Material management If a material cannot be deleted in SIMATIC BATCH, the following message is displayed: ● English: "Unable to delete material in SIMATIC BATCH! Deleting not possible" ● German: "Material konnte in SIMATIC BATCH nicht gelöscht werden! Löschen nicht möglich"...
  • Page 29: Order Creation" Dialog

    Amendment to the Operating Manual 4.2 "Order Creation" dialog "Order Creation" dialog The "Order Creation" dialog provides you with the following functions: ● The acquisition of order data ● The acquisition of batch data ● Transferring the data to SIMATIC BATCH In the engineering phase, the dialog can be tailored specifically to the user in many different ways.
  • Page 30 Amendment to the Operating Manual 4.2 "Order Creation" dialog The operator interface is divided into the following areas: ● Top left and top center: Details about the order ● Top right: Details about the batch ● Center area: List of the batches calculated in the dialog ●...
  • Page 31 Amendment to the Operating Manual 4.2 "Order Creation" dialog ● Creation mode (order creation mode) specifies the types of generation and/or start of baches. ● Batch list with following columns: – Symbol of creation mode – Sequential number – Batch name –...
  • Page 32 Amendment to the Operating Manual 4.2 "Order Creation" dialog Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...
  • Page 33: Amendment To The Function Manual

    Amendment to the Function Manual "Order Creation" interface If you want to access the user-specific scripts on this dialog, WinCC-Dialog provides the following properties and events: Properties ● PCellName (In) – Name of the PCell to connect to ● FormulaCategory (Out) –...
  • Page 34 Amendment to the Function Manual 5.1 "Order Creation" interface ● OrderCategory (Out) – Name of the order category which is selected. ● OrderName (Out) – Name of the order which is to be created. ● OrderNameIsAvailable (Out) – Indicates whether the selected order name already exists in SIMATIC BATCH or not. ●...
  • Page 35 Amendment to the Function Manual 5.1 "Order Creation" interface ● SelectedBatchName (In/Out) – Name of the selected batch ● SelectedBatchSize (In/Out) – Size of the selected batch ● SelectedBatchCreationMode (In/Out) – Creation mode of the selected batch ● SelectedBatchStartTime (In/Out) –...
  • Page 36 Amendment to the Function Manual 5.1 "Order Creation" interface ● OrderDescriptionChanged – Raised if the SelectedOrderComment has been changed – Includes the new order comment ● OrderSizeChanged – Raised if the OrderSize has been changed – Includes the new order size ●...
  • Page 37 Amendment to the Function Manual 5.1 "Order Creation" interface ● BatchCustomValue2Changed – Raised if the value within the second custom column of a batch has changed – Includes index and new custom value 2 of the batch ● BatchCustomEnum2Changed – Raised if the selected value within the second custom column of a batch has changed –...
  • Page 38: Formula Split Mode

    Amendment to the Function Manual 5.2 Formula Split Mode Formula Split Mode Evenly Split the order amount in batches of equal size. From SB: RecipeMin RecipeMax Configuration/Operator In‐ BatchMin BatchMax put: Constraint: ≤ Q ≤ Q ≤ Q RecipeMin BatchMin BatchMax RecipeMax Input Option a...
  • Page 39 Amendment to the Function Manual 5.2 Formula Split Mode Order Size = N * Q Order Batch Actual Production Prod Order MaxSizeWithRemain Split the order amount in batches of maximum size plus one batch with the remaining amount. From SB: RecipeMin RecipeMax Configuration/Operator In‐...
  • Page 40 Amendment to the Function Manual 5.2 Formula Split Mode Remaining Batch = max (Q - N * Q BatchRemain Order Batch BatchMin Actual Production = N * Q Prod Batch BatchRemain Input Option c Operator Input: N, Q Batch BatchRemain Constraint ≤...
  • Page 41 Amendment to the Function Manual 5.2 Formula Split Mode Constraint ≤ Q ≤ Q BatchMin Batch BatchMax ≤ Q ≤ 100 * Q BatchMin Order BatchMax Calculate Number of Batches N = Q (rounded up) Order Batch Actual Production Prod Batch MaxSizeWithUnderProd Split the order amount in Batches of same size and allow underproduction.
  • Page 42 Amendment to the Function Manual 5.2 Formula Split Mode Advanced Process Functions SIMATIC BATCH Integration Function Manual, 07/2016, A5E38719543-AA...

Table of Contents