Programming
Syntax: //A
(Identifier)
(a/b...)
(c/d...)
...
//END
Description: Defines array
Parameters: Identifier Name of array
a, b, c, d Values of array
Values
of the STRING type must be enclosed in double quo‐
tation marks.
Example
//A(Thread) ; Size/lead/core diameter
(0.3 / 0.075 / 0.202)
(0.4 / 0.1 / 0.270)
(0.5 / 0.125 / 0.338)
(0.6 / 0.15 / 0.406)
(0.8 / 0.2 / 0.540)
(1.0 / 0.25 / 0.676)
(1.2 / 0.25 / 0.676)
(1.4 / 0.3 / 1.010)
(1.7 / 0.35 / 1.246)
//END
7.2.1 Accessing the value of an array element
Description
The
value of an array access operation can be transferred with property Value (identifier.val).
The line index (line number of the array) and the column index (column number of the array)
each begin at 0. If a line index or column index is outside the array, the value 0 or a blank
string is output and the ERR variable is set to TRUE. Variable ERR is also set to TRUE if a
search concept cannot be found.
Programming
Syntax: Identifier [Z,[M[,C]]].val or
Identifier [Z,[M[,C]]]
Description: Access to one-dimensional array with only one column
Graphic and logic elements
7.2 Defining an array
SINUMERIK Integrate Run MyScreens
166 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3