Search Forward, Search Backward (Sf, Sb) - Siemens SINUMERIK 828D Commissioning Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Programming commands
6.3 Functions
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
are of the S type string; however, they must be at least specified using 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
6.3.35

Search Forward, Search Backward (SF, SB)

Description
The SF, SB (Search Forward, Search Backward) function is used to search for a string from
the current cursor position in the NC program currently selected in the Editor and to output its
value.
Programming
Syntax:
Identifiers:
Syntax:
Identifiers:
Parameters:
150
"MYCYCLE(" MYPAR1 "," MYPAR2 "," MYPAR3 ")"
"MYCYCLE(" MYPAR1 "," MYPAR2 "," MYPAR3 ")" MYCOMMENT
("String")
SF
Search Forward: Search forward from the current cursor position
("String")
SB
Search Backward: Search backward from the current cursor position
String
Text to be found
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
SINUMERIK Integrate Run MyScreens

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents