AddEntry

AddEntry 1:

Creates a new data set at the end of the array and copies the content of the specified entry to the internal memory.

Syntax

METHOD AddEntry : BOOL
VAR_INPUT
  pEntry          : PVOID;
END_VAR
VAR_OUTPUT
  nResultIndex    : DINT;
END_VAR

AddEntry 2: Inputs

Name

Type

Description

pEntry

PVOID

Pointer to the entry to be added.

AddEntry 3: Outputs

Name

Type

Description

nResultIndex

DINT

Index position of the entry added.