Siemens sinumerik 840d sl Configuration Manual page 77

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

Advertisement

Table 6- 3
Control system
Tag [A1, A2]
● "x" stands for the number of the GUD in the DEF file.
● "A1" stands for the maximum index of dimension 1.
● "A2" stands for the maximum index of dimension 2.
For additional information on converting or linearizing GUD arrays, please refer to the
following sections:
● Linearization based on the sorting in SINUMERIK Operate (Page 78)
● Converting a three-dimensional GUD array for linear access (Page 79)
Example
Linearizing a two-dimensional array, e.g. [2,3] looks like this:
Table 6- 4
Two-dimensional index in the NC
0 0
0 1
0 2
1 0
1 1
1 2
The example is two-dimensional and has three elements in each dimension.
Table 6- 5
Control system
REALGUD[0,0]
REALGUD[0,1]
REALGUD[0,2]
REALGUD[1,0]
REALGUD[1,1]
REALGUD[1,2]
● GUD definition: DEF {NCK|CHAN} type Name[number of lines, number of columns]
● "x" stands for the number of the GUD in the DEF file.
SINUMERIK Integrate Create MyHMI / WinCC V13 SP1
Configuration Manual, 11/2014
Addressing array elements in WinCC
Example for the linearization of a two-dimensional index'
Example for addressing array elements in WinCC
WinCC configuration
C_GD4:u1,c"x", (A1*A2)-1
One-dimensional index in WinCC
0
1
2
3
4
5
WinCC configuration
C_GD4:u1,c"x",0
C_GD4:u1,c"x",1
C_GD4:u1,c"x",2
C_GD4:u1,c"x",3
C_GD4:u1,c"x",4
C_GD4:u1,c"x",5
Configuring variables
6.3 Configuring GUD tags
77

Advertisement

Table of Contents
loading

Table of Contents