Programming
2.4 Complex dialog elements
Expanding the user interface
2-52
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2.4.9
Example Defining columns
Overview
The next three examples show the assignment between cells and PLC variables in a
standard table (table type=0).
Example 1:
The first line shows the column headers:
//G
(MB_TAB/0/4/,1)
(I///,"MB 1 to MB 3"///"MB1"/100/1)
(I///,"MB 4 to MB 6"///"MB4"/100/1)
Result:
MB 1 to MB 3
MB 4 to MB 6
Value(MB1)
Value(MB4)
Value(MB2)
Value(MB5)
Value(MB3)
Value(MB6)
Example 2:
Offset > 1 in the column definition; this results in the following lines and column assignments:
//G
(MB_TAB/0/4/,1)
(I///," MB1, MB3, MB5"///"MB1"/100/2)
(I///," MB2, MB4, MB6"/// "MB2"/100/2)
Result: In each line, the index of the variable is increased by the offset (=2).
MB1, MB3, MB5
MB2, MB4, MB6
Value(MB1)
Value(MB2)
Value(MB3)
Value(MB4)
Value(MB5)
Value(MB6)
Example 3:
Offset and index number in the column definition:
● In the first column, the first variable index for each line is increased by 1: Offset 1 = 1
● In the first column, the second variable index for each line is increased by 1: Offset 2 = 1
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...