Siemens SINUMERIK 840D sl Commissioning Manual page 701

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

6.2.4
LOAD GRID
Description
The table description can be made available dynamically within the LOAD block using the
LG method.
In order to assign a table using the LG method, the variable must have already been defined
as a grid variable and cross-referenced to an existing, valid table.
Programming
Syntax:
Description:
Parameters:
Example
LOAD
LG("grid1","VAR1","GRID2.COM")
END_LOAD
Content of GRID2.COM:
//G(grid1/0/5/1,1)
(I///,"GRID1"/wr1//"1"/80/1)
(R3///"longtext1","R1-R4"/wr2//"$R[1]"/80/1)
(R3///"longtext2","R5-R8"/wr2//"$R[5]"/80/1)
(R3///"longtext3","grid1"/wr2//"$R[9]"/80/2)
//end
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1
(Grid name, Variable name [,File name])
LG
Loads a table
Grid name
Name of the table (grid) in inverted commas
Variable name
Name of the variable to which the table is to be assigned,
in
 inverted commas
File name
Name of the file in which the table (grid) is defined, in

 i nverted commas. Only needs to be specified if the table
is not defined within the file that also contains the
definition of the variable
Programming commands
6.2 Methods
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents