EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #394 background imageLoading...
Page #394 background image
Programming
2.4 Complex dialog elements
Expanding the user interface
2-44 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
M: Access mode
0 Direct
1 Searches the line, column directly
2 Searches the column, line directly
3 Searches
4 Searches line index
5 Searches column index
C: Compare mode
0 Search concept must be located in the range of
values of the line or column.
1 Search concept must be located exactly.
Example
VAR1 = MET_G[REG[3],1,0].VAL
;Assign Var1 a value from
array MET_G
Access mode
"Direct" access mode
With "Direct" access mode (M = 0), the array is accessed with the line index in Z and the
column index in S. Compare mode C is not evaluated.
"Search" access mode
In the case of access mode M = 1, 2 or 3, the search always commences in line 0 or
column 0.
Mode M Line value Z Column value S Output value
0 Line index Column index Value from line Z and
column S
1 Search concept:
Search in column 0
Column index of column
from which value is read
Value from line found and
column S
2 Line index of line from
which return value is read
Search concept:
Search in line 0
Value from line Z and
column found
3 Search concept:
Search in column 0
Search concept:
Search in line 0
Value from line and column
found
4 Search concept:
Search in column S
Column index of search
column
Line index
5 Line index of search line. Search concept:
Search in line Z
Column index
Compare mode
When compare mode C = 0 is used, the content of the search line or search column must be
sorted in ascending order. If the search concept is smaller than the first element or larger
than the last, the value 0 or a blank string is output and the error variable ERR is set to
TRUE.

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals