Siemens SINUMERIK 840D sl Commissioning Manual page 724

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

Advertisement

Programming commands
6.3 Functions
The function is declared as follows:
If the screens, configured with "Run MyScreens", are used on the NCU and PCU/PC, then
the extension of the binary file must be omitted:
When the absolute path information is omitted, "Run MyScreens", first searches for the
binary file in the configured directory.
6.3.14
Generate code (GC)
Description
The GC (Generate Code) function generates NC code from the OUTPUT method.
Programming
Syntax:
Description:
Parameters:
106
extern "C" MY_EXPORT void InitConnection
(ExtFctStructPtr FctRet, ExtFctStructPtr FctPar,char cNrFctPar)
FCT InitConnection = ("xyz"/I/R,I,S/I,S)
GC("
Generate an NC code
Identifier
Target file
Opt
Append
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 (see also Recompile
without comment (Page 120)).
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.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents