Programming
2.7 Functions
Expanding the user interface
2-82
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Example
PRESS(HS1)
EXITLS( "Menu1", "AEDITOR.COM" )
END_PRESS
2.7.13
Generate code (GC)
Description
The GC (Generate Code) function generates NC code from the OUTPUT method.
Programming
Syntax:
GC("
Identifier"[,"Target file"][,Opt],[Append])
Description:
Generates an NC code
Parameters:
Identifier
Name of OUTPUT block from which code is generated
Target file
Path name of target file for HMI or NC file system
If the target file is not specified (only possible within
programming support system), the code will be written
to the location of the cursor within the file that is
currently open.
Opt
Option for generating comments
0: (Default setting) Generate code with comment for the
purpose of recompilability.
1: Do not create comments in the generated code.
Note: This code cannot be recompiled.
Append
This parameter is only relevant if a target file is
specified.
0: (Default setting) If the file already exists, the old
content is deleted.
1: If the file already exists, the new code is written at the
start of the file.
2: If the file already exists, the new code is written at the
end of the file.
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 ...