Figure 6-2 Structure of a flat batch
6.3 Direct recipe element - subobjects
A recipe element is linked with its immediate subobjects by means of ID, Type and
ActivationCounter relationships.
Return all children of a recipe element with ROOTGUID= myGUID, POBJID = myPOBJID,
POTID=myPOTID, OBJID=myOBJID, OTID=myOTID, ActivationCounter=myAC and
ParentActivationCounter= myPAC.
select * from vRecipeElement as kind where
kind.ROOTGUID = myGUID
and
kind.POBJID = myOBJID
and
kind.POTID = myOTID
and
kind.ParentActivationCounter = myAC
Example:
Parent(ROOTGUID) = Child(ROOTGUID)
Parent (OBJID, OTID) = Child (POBJID, POTID)
Parent(ActivationCounter) = Child(ParentActivationCounter)
Examples of links
6.3 Direct recipe element - subobjects
SIMATIC BATCH - Views of the report data V9.0
Programming Manual, 05/2017, A5E38208785-AA 69