Siemens SINUMERIK 840DE sl Commissioning Manual page 1166

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

Advertisement

Programming commands
6.3 Functions
VAR2 = -6
END_LOAD
OUTPUT(CODE1)
"Cycle123(" VAR1 "," VAR2 ")"
"M30"
END_OUTPUT
PRESS(VS1)
D_NAME = "\MPF.DIR\MESSEN.MPF"
GC("CODE1",D_NAME)
END_PRESS
Supplementary conditions
● The "Recompile without user comment" functionality does not have the full range of
functions as "Recompile with user comment".
Typical cycle calls, such as MYCYCLE(PAR1, PAR2, PAR3, ...), are supported during
"Recompile without user comment". However, there must not be a user comment in the
line of the function call. Optional parameters that are not transferred during the function call
and are of the string S type must however be at least specified with empty quotation marks,
e.g. "". Otherwise, "Run MyScreens" attempts to fill these parameters using commas so
that the "filled cycle call" can then be recompiled.
● Parameters of the string type must not have any commas or semicolons in the string to be
transferred.
● During "Recompile without user comment", all variables contained in the OUTPUT method
must always be within the brackets so that the "Fill in missing cycle parameters with
commas" functionality can take effect.
Example:
Permitted:
OUTPUT
END_OUTPUT
Not permitted (variable MYCOMMENT is positioned after the closing bracket.):
OUTPUT
END_OUTPUT
180
"MYCYCLE(" MYPAR1 "," MYPAR2 "," MYPAR3 ")"
"MYCYCLE(" MYPAR1 "," MYPAR2 "," MYPAR3 ")" MYCOMMENT
;Write NC code from the OUTPUT method to
file \MPF.DIR\MESSEN.MPF:
Cycle123(123, -6)
M30
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents