Siemens SINUMERIK Commissioning Manual page 393

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Example
//A(Thread)
(0.3 / 0.075 / 0.202)
(0.4 / 0.1
(0.5 / 0.125 / 0.338)
(0.6 / 0.15
(0.8 / 0.2
(1.0 / 0.25
(1.2 / 0.25
(1.4 / 0.3
(1.7 / 0.35
//END
2.4.2
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. The ERR variable is also set to TRUE if
a search concept cannot be found.
Programming
Syntax:
Description:
Syntax:
Description:
Syntax:
Description:
Parameters:
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
/ 0.270)
/ 0.406)
/ 0.540)
/ 0.676)
/ 0.676)
/ 1.010)
/ 1.246)
Identifier [Z,[M[,C]]].val or
Identifier [Z,[M[,C]]]
Access to one-dimensional array with only one column
Identifier [S,[M[,C]]].val] or
Identifier [S,[M[,C]]] or
Access to one-dimensional array with only one line
Identifier [Z,S,[M[,C]]].val or
Identifier [Z,S,[M[,C]]]
Access to two-dimensional array
Identifier:
Z: Line value (line index or search concept)
S: Column value (column index or search concept)
;
Size/lead/core diameter
Name of array
Programming
2.4 Complex dialog elements
2-43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents