Siemens SIMATIC PCS 7 Function Manual page 86

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

Advertisement

Storage location management
5.3 FB_ST_AC
Deleting material
If the storage location is empty (STOR_CONT column <= 0), you can use the "L_MAT_DEL"
input to delete the material in the storage location. The storage location is then set to 0 in the
user archive.
If the storage location is not empty (STOR_CONT column > 0), the job is not executed and an
archive error is triggered.
Converting material
A material lot in a storage location and its base material can be converted to another material
lot with new base material if the process allows.
Material conversion mode is activated with the block input "CH_MAT = 1".
Material is converted at the block using the "FB_UA_RM" block. The following data are
transferred to the "FB_UA_RM" block upon a positive edge at the "L_REC_W" input:
● Selected storage location ID ("REC_ID" input),
● Booking quantity (either "AC_VAL_I" input or "AC_VAL_R" input depending on value of
"FORMAT" input)
● New material lot ID ("MLOT_ID" input).
These values are evaluated by the OS script and, in accordance with the accounting mode,
either booked or rebooked in the specified storage location following a positive error check.
If errors have occurred, a least one error output is set and a corresponding message triggered.
Specify "0" as the booking quantity to simply convert the material lot. If the booking quantity
specified is greater than "0", this quantity is also booked. After booking, the storage location
has only one material lot with the total quantity consisting of the quantity available at the storage
location before booking and the specified booking quantity.
Rebooking material
There are two steps to "Rebooking material": "clearing" and "booking". Rebooking does not
change the number of material lots required or their partial quantities. This means that if three
material lots are cleared from the source storage location, these three material lots and their
partial quantities are all booked to the destination storage location.
Material rebook mode is activated with the block input "AC_INOUT" = 1.
A material lot is rebooked at the block using the "FB_UA_RM" block. The following data are
transferred to the "FB_UA_RM" block upon a positive edge at the "L_REC_W" input:
● Selected source storage location ID ("REC_ID" input)
● Selected destination storage location ID ("DST_ID" input) and
● Booking quantity (either "AC_VAL_I" input or "AC_VAL_R" input depending on value of
"FORMAT" input)
The material lot ID ("MLOT_ID" input) does not need to be entered in this mode. These values
are evaluated by the OS script and, in accordance with the accounting mode, either booked
to or cleared from the specified storage location following a positive error check.
If errors have occurred, a least one error output is set and a corresponding message triggered.
86
Advanced Process Functions (APF)
Function Manual, 07/2016, A5E38719883-AA

Advertisement

Table of Contents
loading

Table of Contents