Graphic and logic elements
7.3 Table description (grid)
7.3.1
Defining a table (grid)
Description
The table block comprises:
● Header
● 1 to n column descriptions
Programming
Syntax:
Description:
Parameters:
Examples
//G(grid1/0/5/-1,2)
//G(grid1/0/5/,1)
//G(grid1/0/5)
7.3.2
Defining columns
Description
For tables (grids), it is advisable to use variables with an index. For PLC or NC variables, the
index number with one or more indices is of significance.
172
(Table identifier/Table type/Number of lines/
//G
[Fixed line attribute],[Fixed column attribute])
Defines a table (grid)
Table identifier
The table identifier is used without a leading % sign. It can
only be used once in a dialog.
Table type
0 (default)
1
Number of lines
Number of lines including header
The fixed line or fixed column is not scrolled. The number
of columns is the number of columns configured.
Display of column
header line
Number of fixed col‐
umns
Table for PLC or user data (NCK-
and channel-specific data)
and others, reserved
-1:
The column header line is not displayed
0:
The column header line is displayed (default)
0:
No fixed column
1 ... n:
Number of columns that are to be permanently
visible, i.e. not scrolled horizontally
Column header line is hidden and two fixed
columns
Column header line is displayed and one fixed
column
Column header line is displayed and no fixed
columns
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3