The structure ST_Administration represents the list of PackTags of type Administration as defined in ANSI/ISA TR88.00.02-2022.
Administration tags are used to describe the quality and alarm information of the unit machine.
For the GPL data types, refer to Global Parameters.
Variable |
Data type |
Description |
---|---|---|
Alarm |
ARRAY [1..GPL.Gc_uiNumberOfAlarms] OF ST_Alarm |
Array of ST_Alarm |
AlarmExtent |
DINT |
Size of the alarm array |
AlarmHistory |
ARRAY [1..GPL.Gc_uiNumberOfAlarmHistory] OF ST_Alarm |
Array of given size for machine detected error code and messaging |
AlarmHistoryExtent |
DINT |
Size of the alarm history array |
Warning |
ARRAY [1..GPL.Gc_uiMaxNumberOfWarnings] OF ST_Alarm |
Array contains the active and/or unacknowledged machine advisories |
WarningExtent |
DINT |
Size of the advisory array |
MachDesignSpeed |
REAL |
Machine design speed |
PLCDateTime |
DateTimeArray |
Present date and time of the programmable logic controller |
StopReason(2) |
ARRAY [1..GPL.Gc_uiMaxNumberOfStopReasons] OF ST_Alarm |
Information about the first event captured during an abort, held, suspended, or stop event |
StopReasonExtend(2) |
DINT |
Size of the StopReason array |
Parameter(2) |
ARRAY [1..GPL.Gc_iNumOfAdminParameter] OF ST_Descriptor |
Array of ST_Descriptor |
ModeCurrentTime(2) |
ARRAY [0..GPL.Gc_uiMaxNumberOfModes] OF UDINT |
Time spent in operation mode |
ModeCumulativeTime(2) |
ARRAY [0..GPL.Gc_uiMaxNumberOfModes] OF UDINT |
Cumulative time in each operation mode |
StateCurrentTime(2) |
ARRAY [0..GPL.Gc_uiMaxNumberOfModes,0..GVL.Gc_uiMaxNumberOfStates] OF UDINT |
Value of last state timer in each operation mode/state |
StateCumulativeTime(2) |
ARRAY [0..GPL.Gc_uiMaxNumberOfModes,0..GVL.Gc_uiMaxNumberOfStates] OF UDINT |
Cumulative time in each operation mode/state |
ProdConsumedCount(2) |
ARRAY [1..GPL.Gc_uiNumberOfConsumedProducts] OF ST_CountDescrip |
Array of ST_CountDescrip (of products consumed in the production machine) |
ProdProcessedCount(2) |
ARRAY [1..GPL.Gc_uiNumberOfProcessedProducts] OF ST_CountDescrip |
Array of ST_CountDescrip (of products processed by the production machine) |
ProdDefectiveCount(2) |
ARRAY [1..GPL.Gc_uiNumberOfDefectiveProducts] OF ST_CountDescrip |
Array of ST_CountDescrip (of products that are marked as not acceptable in the production machine) |
AccTimeSinceReset(2) |
DINT |
Accumulative time since last Reset command |
StatesDisabled(2) |
DINT |
States 1...17 of the PackML State Model can be disabled by turning on the corresponding bit |
PACDateTime(1) (2) |
ST_Timestamp |
Time stamp (ISO date and time data type, ISO 8601:1988 format) |
Parameter_REAL |
ARRAY [1.. GPL.Gc_uiNumberOfParameter] OF ST_Parameter_REAL |
Structured array of unit/machine parameter information for values with REAL data type |
Parameter_STRING |
ARRAY [1.. GPL.Gc_uiNumberOfParameter] OF ST_Parameter_STRING |
Structured array of unit/machine parameter information for values with STRING data type |
Parameter_LREAL |
ARRAY [1.. GPL.Gc_uiNumberOfParameter] OF ST_Parameter_LREAL |
Structured Array of unit/machine parameter information for values with LREAL data type |
Parameter_DINT |
ARRAY [1.. GPL.Gc_uiNumberOfParameter] OF ST_Parameter_DINT |
Structured array of unit/machine parameter information for values with DINT data type |
StopReason2 |
ST_Alarm |
Information about the first event captured during an abort, held, suspended or stop event |
ModeTimeCurrent |
DINT |
Present mode time |
StateTimeCurrent |
DINT |
Present state time |
CumulativeTimes |
ARRAY [1.. GPL.Gc_uiNumberOfCumulativeTimes] OF ST_Cumulative_Times |
Structured array of timer values |
ProductData |
ARRAY [1.. GPL.Gc_uiNumberOfProcessedProducts] OF ST_Product_Data |
Structured array of product stream data |
DisabledStatesCfg |
ARRAY [1.. GPL.Gc_uiMaxNumberOfModes] OF DWORD |
Array reflecting the disabled states configuration for defined modes |
CurDisabledStates |
DWORD |
Reflects the disabled states for the present mode (ST_Status.UnitModeCurrent) |
EnabledModesCfg |
DWORD |
Element reflecting the enabled modes configuration for the unit/machine |
ModeTransitionCfg |
ARRAY [1.. GPL.Gc_uiMaxNumberOfModes] OF DWORD |
Array reflecting the mode transition configuration for the modes of the unit/machine |
(1) Variable has been replaced by PLCDateTime in ANSI/ISA TR88.00.02-2015 but remains in this library for compatibility reasons. (2) Variable kept for compatibility (according to ANSI/ISA TR88.00.02-2015). |