Material Class / Material Type Releases - 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

L_START
Upon a positive edge at the input L_START, all selected storage locations are re-examined
and those with a positive result are reserved in the respective quantities in the
STOR_USE_OUT column of the user archive.
The first storage location in the list (the first selected in the faceplate) is also copied to the
"Active storage location" output area.
L_NEXT
Following a positive edge at the L_NEXT input, the system switches to the next storage location
in the sequence. The data for this subsequent storage location are then output at the output
area for the active job. The quantity previously reserved for the storage location processed is
released again (subtracted) in the "STOR_USE_OUT" column of the user archive.
L_END
After completion of the transfer / job, the quantity previously reserved for the storage location
processed is released again (subtracted) in the "STOR_USE_OUT" column of the user archive
with a positive edge at the L_END input.
Note
A new check is not performed upon storage location change. Storage locations are also
reserved at the start of the process and not when it is "their turn".
5.8.4

Material class / material type releases

There are several ways to lock or release a storage location for certain types of materials for
the storage location management. First, you can make a storage location release for a specific
material depending on the material class. Second, you can define releases on the basis of
material types. These two options can be used separately or together. Four 32-bit cells are
available in the user archive (MATCLASS_RELx and MATTYPE_RELx columns, x = 1..4) for
each option. Up to 128 (4*32) material classes or material types can be released or locked in
these cells, namely the first 128 material classes or the first 128 material types of material
class 1.
In the engineering tool, you can set whether the releases are to be used (see the engineering
tool help for details). You can enable one of the two (class or type) or even both. Using both
allows you to define storage locations for release/lock more precisely. For example, you can
release a storage location for materials of class 1 AND type 3 only.
The release cells correspond to bit-coded 32-bit integer values (DINT). Negative values in the
user archive are therefore perfectly possible. For example, -1 stands for "all 32 bits set".
An object which displays 32 releases is available for display in the editor screen
FB_STOR_ED.pdl and the overview picture FB_STOR.pdl. In the figure below, the first four
material classes or material types are released and the remaining 28 for this storage location
are locked.
Advanced Process Functions (APF)
Function Manual, 07/2016, A5E38719883-AA
Storage location management
5.8 Other
141

Advertisement

Table of Contents
loading

Table of Contents