LinkedListAddFirst Function

Help Contents


The LinkedListAddFirst Function adds an elementary data value to the front of a LinkedList Data Object.


Informal Syntax:

LinkedListAddFirst( LinkedListID, Value )

Formal Syntax:

        Value:=Expression )


The LinkedListAddFirst Function has these parameters.

Parameter Type Description
LinkedListID DINT The identifier of the LinkedList Data Object.
Value ANY_ELEMENTARY The value to add to the front of the LinkedList Data Object.

Return Value

The function does not return a value.


The function reports a runtime error if the LinkedListID parameter does not refer to a valid LinkedList Data Object.

Standards Compliance

The LinkedListAddFirst Function is an extension to the IEC 61131-3 standard.

Further Information

LinkedList Functions

For information about functions to manage LinkedList data objects.

Data Objects

For information about all Data Objects supported by Fernhill SCADA.

IEC 61131-3

To learn how IEC 61131-3 is used in Fernhill SCADA.


For the meaning of terms used in Fernhill SCADA.