Siemens SINUMERIK Commissioning Manual page 432

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

Advertisement

Programming
2.7 Functions
Example
PRESS(HS1)
END_PRESS
2.7.13
Generate code (GC)
Description
The GC (Generate Code) function generates NC code from the OUTPUT method.
Programming
Syntax:
Description:
Parameters:
2-82
EXITLS( "Menu1", "AEDITOR.COM" )
Identifier"[,"Target file"][,Opt],[Append])
GC("
Generates an NC code
Identifier
Target file
Opt
Append
Name of OUTPUT block from which code is generated
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.
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.
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.
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Expanding the user interface

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents