Programming commands
6.3 Functions
If the variable points to an array, e.g. DEF VAR_AC3 = (I/* MYARRAY), these functions
are not available as otherwise the global array would be changed.
At least one value must be defined for the variable in the DEF line. This specifies the "Simple"
or "Extended" list type.
However, the list can then be completely deleted and, if required, completely rebuilt. The
"Simple" or "Extended" type must be retained however, it cannot be changed dynamically.
Programming
Syntax:
Description:
Parameter:
Syntax:
Description:
Parameter:
Syntax:
Description:
Parameter:
Syntax:
Description:
Parameter:
Syntax:
Description:
Parameter:
124
(Variable name, Position, ItemValue[, ItemDisp‐
LISTINSERTITEM
Value])
Inserts an element at a specific position; reading from a file
Variable name
Position
ItemValue
ItemDispValue
LISTADDITEM(Variable name, ItemValue[, ItemDispValue])
Adds an element to the end of the list
Variable name
ItemValue
ItemDispValue
LISTDELETEITEM(Variable name, Position)
Deletes a specific element
Variable name
Position
LISTCOUNT(Variable name)
Returns the current number of elements in the list
Variable name
(Variable name)
LISTCLEAR
Deletes the complete list
Variable name
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Position at which an element is
to be inserted in the list
Value of the list entry
Value as it is to be displayed in
the list
Value of the list entry
Value as it is to be displayed in
the list
Position of the element to be de‐
leted in the list
SINUMERIK Integrate Run MyScreens