ST_BA_TrendEntry

Structure for describing a trend entry.

Syntax

TYPE ST_BA_TrendEntry :
STRUCT
  dtTime    : ST_BA_DateTime;
  eType     : E_BA_TrendEntryType     := E_BA_TrendEntryType.Invalid;
  stState   : ST_BA_StatusFlags;
  uValue    : U_BA_TrendEntryValue;
END_STRUCT
END_TYPE

Name

Type

Description

dtTime

ST_BA_DateTime

Time specification

eType

E_BA_TrendEntryType

Specification of the trend recording type: Binary, analog or multistate values.

stState

ST_BA_StatusFlags

Possible statuses of the trend: alarm, faulty value, overridden, disconnected.

uValue

U_BA_TrendEntryValue

Specification of the entry value including the status of the trend recording: start, stop, cleaned, interrupted.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0