F_BA_TrendBufferSize

F_BA_TrendBufferSize 1:

The function F_BA_TrendBufferSize of return type DINT determines the size of a trend, which is defined as ARRAY of type ST_BA_TrendEntry.

The input/output variable aBuffer refers to the trend to be examined and allows the linking of fields of undefined size by the syntax ARRAY [*].

Syntax

FUNCTION F_BA_TrendBufferSize : DINT
VAR_IN_OUT
  aBuffer    : ARRAY [*] OF ST_BA_TrendEntry;
END_VAR

F_BA_TrendBufferSize 2: Inputs/outputs

Name

Type

Description

aBuffer

ST_BA_TrendEntry

Reference to the trend to be examined.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0