Siemens SIMATIC PCS 7 기능 설명서 - 페이지 22
{카테고리_이름} Siemens SIMATIC PCS 7에 대한 기능 설명서을 온라인으로 검색하거나 PDF를 다운로드하세요. Siemens SIMATIC PCS 7 42 페이지. Process control system, basis library readme v9.0 sp1 online
Siemens SIMATIC PCS 7에 대해서도 마찬가지입니다: 소개 매뉴얼 (6 페이지), 시스템 매뉴얼 (28 페이지), 사용 설명서 (36 페이지), 읽기 (26 페이지), 매뉴얼 (39 페이지)
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