EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK ONE MCP 2400.4c

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
1734 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1167 background imageLoading...
Page #1167 background image
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: SF
("String")
Identifiers: Search Forward: Search forward from the current cursor position
Syntax: SB
("String")
Identifiers: Search Backward: Search backward from the current cursor position
Parameters: String Text to be found
Rules governing text search
A blank must be inserted before and after the search concept unit, consisting of search
string and its value, in the currently selected NC program.
The system does not search for concepts within comment text or other strings.
The value to be output must be a numerical expression. Expressions in the form of "X1=4+5"
are not recognized.
The system recognizes hexadecimal constants in the form of X1='HFFFF', binary constants
in the form of X1='B10010' and exponential components in the form of X1='-.5EX-4'.
The value of a string can be output if it contains the following between string and value:
Nothing
Blanks
Equality sign
Example
The following notations are possible:
X100 Y200
Abc = SB("Y")
; The variable Abc is assigned the value 200
X100 Y 200
Abc = SB("Y")
; The variable Abc is assigned the value 200
X100 Y=200
Abc = SB("Y")
; The variable Abc is assigned the value 200
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 181

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals