Siemens SINUMERIK 840D sl Commissioning Manual page 738

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

Advertisement

Programming commands
6.3 Functions
Examples:
The programm contains the following NC code:
DEF VAR1=(I//101)
OUTPUT(CODE1)
"X" VAR1 " Y200"
"X" VAR1 " Y0"
END_OUTPUT
The following code is then stored in the parts program:
;NCG#TestGC#\cus.dir\aeditor.com#CODE1#1#3#
X101 Y200
X101 Y0
;#END#
The Editor reads the following during recompilation:
X101 Y200
X222 Y0
The following value is displayed for VAR1 in the input dialog:
See also
Generate code (GC) (Page 106)
6.3.24
Recompile without comment
Description
In the programming support system, it is possible to recompile without comments the NC
code that has been generated with the GC function and to display the variable values in the
input/output field of the associated entry dialog again.
Programming
The GC command can be executed in the following way in order to suppress comment lines
that are generated for standard code generation:
GC("CODE1",D_NAME,1)
120
; The value for X has been changed in the part program (X101 →
X222)
VAR1 = 222
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