Siemens SINUMERIK Commissioning Manual page 402

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Programming
2.4 Complex dialog elements
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
Value(MB1)
Value(MB2)
Value(MB3)
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
Value(MB1)
Value(MB3)
Value(MB5)
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
2-52
MB 4 to MB 6
Value(MB4)
Value(MB5)
Value(MB6)
MB2, MB4, MB6
Value(MB2)
Value(MB4)
Value(MB6)
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Expanding the user interface

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents