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
Содержание SINUMERIK
Страница 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 24: ...Introduction 1 5 Limits of data management HMI Advanced IM4 18 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 96: ......
Страница 338: ...List of Abbreviations B 1 Abbreviations HMI Advanced IM4 332 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 464: ...Programming 2 8 Operators Expanding the user interface 2 114 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...
Страница 638: ...References for text generation Generating target language texts TX2 40 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 672: ...Commissioning a system 1 4 BIOS settings PCU Basesoftware IM8 32 Commissioning Manual 03 2009 6FC5397 1DP10 4BA0 ...