Append()

Append() 1:

Appends a value to the trend.

Syntax:

METHOD Append : HRESULT
VAR_INPUT
    iObj:                I_Base;
    nStandardView:       INT;
    nYAxisID:            INT;
END_VAR

Append() 2: Inputs

Name

Type

Description

iObj

I_Base

Object to be included in the trend

nStandardView

INT

Standard view in which the value is displayed

nYAxisID

INT

Y-axis in the HMI on which the value is displayed

The YAxisID is predefined for the following units:

ID

Unit

Description

1

°C

Temperature

2

A

Current

3

Bar

Pressure

4

RPM

Turnrate

Append() 3: Outputs

Name

Type

Description

Append

HRESULT

Return value with feedback on the success of the execution

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.5.0)