File Functions - Siemens SINUMERIK 840D sl Commissioning Manual

Commissioning cnc part 2 (hmi)
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Expanding the Operator Interface (BE1)
3 Syntax
3.6.6

File functions

File functions can be used to generate NC code from an OUTPUT method and
transfer it for execution to the NC.
Generating NC code
The GC (Generate Code) function generates NC code from the OUTPUT method.
GC("identifier"[,"target file"][,Opt],[append])
Identifier
Target file
Opt
0: Default
1:
Append
0: Default
1:
2:
No entry for target file:
The GC function can only be used in the Programming Support system and writes
the NC code to the file currently open in the Editor. Recompilation of the NC code
is possible.
If the GC function is configured without specification of a target file under Expand
user interface, an error message is output when it is executed.
Entry for target file:
The code generated from the OUTPUT block is transferred to the target file. If the
target file does not already exist, it is set up in the NC file system. If the target file is
stored in the HMI file system, it is stored on the hard disk (HMI Advanced only).
User comment lines (information required to recompile code) are not set up, i.e.,
the code cannot be recompiled.
Special considerations for target file specification
In principle, there are three different ways of specifying a target file:
NC notation:
Only possible with HMI Embedded.
The file is created in the MPF directory on the NC.
BE1/3-88
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
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
Generate code with comment for the purpose of
recompilability.
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.
If the file already exists, the old content is deleted.
If the file already exists, the new code is written at the
start of the file.
If the file already exists, the new code is written at the end
of the file.
/_N_MPF_DIR/_N_MY_FILE_MPF
© Siemens AG, 2005. All rights reserved
08/2005

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents