Siemens SIMATIC PCS 7 Manual de funções - Página 22
Procurar online ou descarregar pdf Manual de funções para Equipamento industrial Siemens SIMATIC PCS 7. Siemens SIMATIC PCS 7 42 páginas. Process control system, basis library readme v9.0 sp1 online
Também para Siemens SIMATIC PCS 7: Manual de Introdução (6 páginas), Manual do sistema (28 páginas), Manual de Instruções (36 páginas), Ler-me (26 páginas), Manual (39 páginas)
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).
● FB_Batch_GetOrderName(): Determine the name of the order (can be adapted by the user,
returns "Order" as default).
● FB_Batch_GetBatchName(): Determine the name of the batch (can be adapted by the user,
returns "Batch_YYYYMMDD_hhmmss" as default).
These scripts are available under <Projectfunctions>\apf\fb_ua_user_specific. You can adapt
the scripts with the Global Script editor.
Reference
Additional information on the topic Performance data of the SIMATIC BATCH interface (for
example, creating, releasing, starting batches) is available in the SIMATIC BATCH Manual,
section 3.7.
Sections of the Global Script template with TODO
// TODO insert condition for Batch Creation
...
// TODO: Set Command type
// Choose one of the following commands:
// BMS_SBIF_BATCH_COMMAND_CREATE =
// BMS_SBIF_BATCH_COMMAND_RELEASE=
the batch
// BMS_SBIF_BATCH_COMMAND_START =
start according start mode
...
// TODO: If Command is set to BMS_SBIF_BATCH_COMMAND_START
start modes
// Choose one of the following start modes:
// BMS_SBIF_BATCH_STARTMODE_MANUAL =
started by the operator
// BMS_SBIF_BATCH_STARTMODE_INSTANT=
started immediately
// BMS_SBIF_BATCH_STARTMODE_TIME_ABS= 2,
started at a given time
// BMS_SBIF_BATCH_STARTMODE_TIME_REL= 3
started after a given waiting time
...
// TODO: If start mode is set to BMS_SBIF_BATCH_STARTMODE_TIME_ABS
then set the start time
// Set the absolute start time based on local time
...
// TODO: If start mode is set to BMS_SBIF_BATCH_STARTMODE_TIME_REL
then set the waiting time
// Set the waiting duration in days, hours, minutes and seconds
...
22
1,
// Create the batch only
2,
// Create and release
3
// Create, release and
0,
// The batch will be
1,
// The batch will be
// The batch will be
// The batch will be
Advanced Process Functions SIMATIC BATCH Integration
Function Manual, 07/2016, A5E38719543-AA
then set