Siemens SIMATIC PCS 7 Function Manual page 109

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

Advertisement

Triggering the "START" function
Following a positive edge at the "L_START" input of the block, the selected storage location
is checked against the filter criteria. If they match, the setpoint quantity is reserved at the
storage location. This quantity is reserved by adding the quantity to be exported to the
"STOR_USE_OUT" cell in the user archive. The data of the active storage location are
available at the block outputs in the AS for further processing.
If the check of the selected storage location is negative in automatic mode, the next storage
location found in the list is automatically checked. This process continues until a suitable
storage location is found in the list (of a maximum of 10). If no suitable storage location is found
in the list, the search must be triggered again.
If use of remainder is activated (EN_REM = 1), the specified partial quantities and the content
of the selected storage locations are reserved upon start. Automatic repetition is not available.
The following feedback is output when the "START" function is completed:
● The execution of the "START" function was successful:
QIDLE = 0, QACTIVE = 1, QRUN_ERR = 0
● The execution of the "START" function was not successful:
QIDLE = 1, QACTIVE = 0, QRUN_ERR = 1
Triggering the "NEXT" function
L_NEXT 0 -> 1 (only with use of remainder EN_REM = 1))
The end of partial quantity export is signaled by the "L_NEXT" input. Following a positive edge
at the "L_NEXT" input, the quantity reservation at the active storage location is canceled for
the partial quantity. The reservation is canceled by subtracting the quantity to be exported from
the "STOR_USE_OUT" cell in the user archive. The next storage location is then available at
the outputs of the "FB_STMAT" block.
Once the next storage location is made available at the outputs of the block, the counter value
at the output "QROW_ACT" is incremented by 1. The output "QNEXTEND" is set to "1" for the
last selected storage location. Only the "END" function can then be executed.
Triggering the "END" function
Following a positive edge at the "L_END" input of the block, the quantity reservation at the
storage location is canceled. The reservation is canceled by subtracting the quantity to be
exported from the "STOR_USE_OUT" cell in the user archive.
The following feedback is output when the "END" function is completed:
● The execution of the "END" function was successful:
QIDLE = 0, QACTIVE = 1, QEND_ERR = 0
● The execution of the "END" function was not successful:
QIDLE = 1, QACTIVE = 0, QEND_ERR = 1
Converting units
See the FB_ST_AC block (Page 85) for a description.
Advanced Process Functions (APF)
Function Manual, 07/2016, A5E38719883-AA
Storage location management
5.5 FB_STMAT
109

Advertisement

Table of Contents
loading

Table of Contents