Expanding the Operator Interface (BE1) 08/2005
3 Syntax
© Siemens AG, 2005. All rights reserved
BE1/3-54 SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
("DES"
/
"PTCH" / "CDM" )
(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
Example Access mode 1:
The search concept is in Z. This key is always sought in column 0. The value from
column S is output with the line index of the search concept found.
VAR1 = Thread[0.5,1,1] ;The value of VAR1 is 0.125
Explanation: Search for value 0.5 in column 0 of "Thread" array and output the
value found in column 1 of the same line.
Example Access mode 2:
The search concept is in S. This concept is always searched for in line 0. The value
from line Z is output with the column index of the search concept found.
VAR1 = ARRAY2 [3,
"PTCH", 2] ;The value of VAR1 is 0.125
Explanation: Search for column containing "PTCH" in line 0 of array "Array2".
Output the value from the column found and the line with index 3.
Example Access mode 3:
A search concept is in each of Z and S. The line index is searched for in column 0
with the concept in Z and the column index in line 0 with the concept in S. The
value from the array is output with the line index and column index found.
VAR1 = ARRAY2
[0.6 "PTCH", 3] ;The value of VAR1 is 0.15
Explanation: Search for the line with the content 0.6 in column 0 of array "Array2",
search for the column with the content "STG" in line 0. Transfer the value from the
line and column found to VAR1.