Converting A Three-Dimensional Gud Array For Linear Access - Siemens sinumerik 840d sl Configuration Manual

Sinumerik integrate create myhmi / wincc v13 sp1
Hide thumbs Also See for sinumerik 840d sl:
Table of Contents

Advertisement

6.3.2.3

Converting a three-dimensional GUD array for linear access

The following diagram shows you the linearization of a three-dimensional array. You can find
the linearized numbering to a three-dimensional array at the left in the corresponding table
cell of the table to the right, e.g. (2,1,1) = (22).
The linearization of a two-dimensional GUD array is also included in it: One page of a three-
dimensional array corresponds to one page of a two-dimensional array, whereby the side
index is eliminated, e.g. (0,1,2) = (1,2).
Figure 6-4
Linearization of three dimensional arrays
Information about the conversion
● Access, three-dimensional array:
Array[page;line;column]
● Conversion to linearized numbering:
Array index linear = (number of lines*number of columns) * page index + number of
columns * line index + column index
● Access linearized array:
Array[Arrayindexlinear]
In the prevailing 3x3x3 array, the following applies for the conversion:
Number of lines = 3
Number of columns = 3
The indices can only have the values 0, 1 or 2:
Permissible values, page index are: {0|1|2}
Permissible values, line index are: {0|1|2}
Permissible values, column index are: {0|1|2}
SINUMERIK Integrate Create MyHMI / WinCC V13 SP1
Configuration Manual, 11/2014
Configuring variables
6.3 Configuring GUD tags
79

Advertisement

Table of Contents
loading

Table of Contents