Description Of The Table Value Functions; Batch_Getelementsbybatch_Sorted - Siemens SIMATIC PCS 7 Programming Manual

Process control system simatic batch - views of the report data v9.0
Hide thumbs Also See for SIMATIC PCS 7:
Table of Contents

Advertisement

Description of the table value functions

4.1

batch_GetElementsByBatch_Sorted

Transfer parameter
@batchguid (Unique identifier): GUID of the batch
Returns a list of started objects of a batch in the order they appear in the sequence report
(SIMATIC BATCH standard log) (order: start time, hierarchical). For reasons of performance,
the use of this function is recommended if you need to identify recipe elements of a batch.
Definition
Name
ORDINAL
ROOTGUID
POBJID
POTID (1)
OBJID
OTID (1)
ActivationCounter
Name
Description
StepNo
Path
Level
State (6)
ExState (7)
Start
End
DurationPlanned
DurationActual
ContinousFlag
ExecuteInPLC
MonitoringTime
AllocId
UnitId
UnitName
GateLogic
SIMATIC BATCH - Views of the report data V9.0
Programming Manual, 05/2017, A5E38208785-AA
Data type
Int
Unique identifier
Int
Int
Int
Int
Int
nvarchar(255)
nvarchar(max)
Int
nvarchar(255)
Int
Int
Int
Int
datetimeoffset(3)
datetimeoffset(3)
Int
Int
Bit
Bit
Int
Int
nvarchar(255)
nvarchar(255)
Description
Number of the element. Determines the order of the elements.
GUID of the root object (batch, master recipe or library)
ID of the parent of the object
Type ID of the parent of the object
ID of the object
Type ID of the object
Run of the object
Name of the object
Description of the object
Number of the object (contid*10000+termid)
Hierarchical path to the object
Level of the object
Status of the object
Expanded status of the object
Status of the object
End time of the object
Planned duration (in seconds)
Actual duration (in seconds)
Continue option set
Executed in AS-based mode
Monitoring time of the object (in seconds)
ID of the allocation
ID of unit
Name of the unit
Linking logic of the transition conditions
4
49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents