Runtime Interface To Simatic Batch - Siemens SIMATIC PCS 7 Function Manual

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

Advertisement

3.3

Runtime interface to SIMATIC BATCH

With the Runtime interface to SIMATIC BATCH you can do the following in APF:
● Create orders and batches
● Release and start batches
● Set batch header parameters: order and batch names, recipes or formula for the batch,
batch size, batch start mode and start time
● Allocate units
● Set batch parameters: process values, input and output materials
Note
A Batch ID cannot be transferred.
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. The script includes
sections with the comment "//TODO" for this purpose.
To activate the script, you need to add a cyclic trigger (for example, 10 or 20 seconds cycle
time). We recommend you also add all employed tags as tag triggers.
The Global Script consists of two sections. In the first section, an action is prepared and
triggered in SIMATIC BATCH. Because these actions are mostly asynchronous, the return
values must be determined and checked in a later call of the Global Script; this is the job of
the second part of the script.
Note
Use the SIMATIC BATCH OS Controls
The main applications for this Global Script are automatic background actions without user
interaction, for example, based on trigger events from the production process. We recommend
you use of SIMATIC BATCH OS Controls for user operations of SIMATIC BATCH in the context
of PCS 7 OS.
NOTICE
This script cannot run without adaptation.
The project engineer / customer has to make these adaptations. This script cannot be used
without adaptations.
Advanced Process Functions SIMATIC BATCH Integration
Function Manual, 07/2016, A5E38719543-AA
Amendment on Engineering Manual
3.3 Runtime interface to SIMATIC BATCH
19

Advertisement

Table of Contents
loading

Table of Contents