Restrictions; Two-Step Operation; Use Of Remainder - Siemens SIMATIC PCS 7 Function Manual

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

Advertisement

Storage location management
5.8 Other
Faceplates
Faceplates display values, value names and value units in a popup window. If all six values
are used, they are listed in row 1 to row 6.
The popup window in the faceplates for the FB_STLOC and FB_STMAT blocks is used simply
to display the filters and values selected in the AS. The values can only be changed or specified
in the @PG_FB_ST_SEARCH and @PG_FB_MAT_SEARCH faceplates.
5.8.1.4

Restrictions

If a quantity is used with a dynamic filter, direct conversion on the basis of the unit is no longer
possible. This is because an SQL instruction is entered with a user-defined filter. For example,
if you search for a quantity > 1000 kg (SQL syntax: "STOR_CONT > 1000"), the STOR_CONT
column for all storage locations are checked for content greater than 1000 regardless of
whether they use kilograms or tons.
The solution in this case is to adjust the filter. The following custom filter would produce the
correct result: "((STOR_CONT > 1000) AND (UOM = 'kg')) OR ((STOR_CONT > 1) AND (UOM
= 't'))"
The standard criteria for a search are not affected, which means the quantity is still converted
and checked (LVAL_I or LVAL_R with FB_STLOC and FB_STMAT blocks).
5.8.2

Two-step operation

Using a binary input ("SEL_MODE") at the AS function blocks FB_STLOC and FB_STMAT,
you can specify whether a click of the mouse applies storage location(s) directly after selection,
or whether you need to confirm your selection using an additional button in the faceplate. If
the bit is at SEL_MODE, two-step operation is active.
In remainder mode (applies to AS function block FB_STMAT only), two-step operation is
always active.
5.8.3

Use of remainder

If you want to use up small quantities remaining in the storage location at the FB_STMAT AS
function block, this functionality can be activated at the "EN_REM" binary input. In this mode,
the block changes its characteristics in the following areas:
● Multiple storage locations can be selected
● Two separate filters are required
– Remainder filter input "LFILTER"
– Normal filter input "LFILTER2"
– The two filters share the six free filter parameters ("LVALUE1" .. "LVALUE6B" inputs)
● "Split" point input "SPLIT_PT" is queried
138
Advanced Process Functions (APF)
Function Manual, 07/2016, A5E38719883-AA

Advertisement

Table of Contents
loading

Table of Contents