ST_Administration

Overview

Type

Data structure

Available as of

V1.0.1.0

Description

The structure ST_Administration represents the list of PackTags of type Administration as defined in ANSI/ISA TR88.00.02-2015.

Administration tags are used to describe the quality and alarm information of the unit machine.

Structure Elements

For the GPL data types, refer to Global Parameters.

Variable

Data type

Description

Parameter

ARRAY [1..GPL.Gc_iNumOfAdminParameter] OF ST_Descriptor

Array of ST_Descriptor

Alarm

ARRAY [1..GPL.Gc_uiNumberOfAlarms] OF ST_Alarm

Array of ST_Alarm

AlarmExtent

DINT

Size of 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 alarm history array

ModeCurrentTime

ARRAY [0..GPL.Gc_uiMaxNumberOfModes] OF UDINT

Time spent in operation mode

ModeCumulativeTime

ARRAY [0..GPL.Gc_uiMaxNumberOfModes] OF UDINT

Cumulative time in each operation mode

StateCurrentTime

ARRAY [0..GPL.Gc_uiMaxNumberOfModes,0..GVL.Gc_uiMaxNumberOfStates] OF UDINT

Value of last state timer in each operation mode/state

StateCumulativeTime

ARRAY [0..GPL.Gc_uiMaxNumberOfModes,0..GVL.Gc_uiMaxNumberOfStates] OF UDINT

Cumulative time in each operation mode/state

ProdConsumedCount

ARRAY [1..GPL.Gc_uiNumberOfConsumedProducts] OF ST_CountDescrip

Array of ST_CountDescrip (of products consumed in the production machine)

ProdProcessedCount

ARRAY [1..GPL.Gc_uiNumberOfProcessedProducts] OF ST_CountDescrip

Array of ST_CountDescrip (of products processed by the production machine)

ProdDefectiveCount

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

DINT

Accumulative time since last Reset command

MachDesignSpeed

REAL

Machine design speed

PACDateTime(1)

ST_Timestamp

Time stamp (ISO date and time data type, ISO 8601:1988 format)

StopReason

ST_Alarm

Information about the first event captured during an abort, held, suspended, or stop event

Warning

ARRAY [1..GPL.Gc_uiMaxNumberOfWarnings] OF ST_Alarm

Array contains the active and/or unacknowledged machine advisories

WarningExtent

DINT

Size of advisory array.

StatesDisabled

DINT

States 1...17 of the PackML State Model can be disabled by turning on the corresponding bit

PLCDateTime

DateTimeArray

Present date and time of the programmable logic controller

(1)   Variable has been replaced by PLCDateTime in ANSI/ISA TR88.00.02-2015 but remains in this library for compatibility reasons.

Used By

oFB_DataManagement

oFB_VisController