Siemens SINUMERIK 840Di sl Programming Manual page 422

Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Arithmetic Parameters and Program Jumps
10.3 Conditional program jumps (IF, GOTOB, GOTOF, GOTO, GOTOC)
Parameters
IF
GOTOB
GOTOF
GOTO
GOTOC
<destination>
Label
Label:
Block number
String variable
Comparison and logical operands
The jump condition can be programmed with any comparison or logic operation (result:
TRUE or FALSE). The program jump is executed if the result of the operation is TRUE.
The jump destination can only be a block with a label or block number that appears within
the program.
Note
Several conditional jumps can be formulated in the same block.
==
<>
>
<
>=
<=
Note
For more information, see
/PGA/Programming Manual Advanced; "Flexible NC Programming".
422
Keyword for condition
"Jump statement" with backward jump destination (towards beginning of
program)
Jump statement with forward jump destination (toward program end)
Jump statement with destination search first forward then backward
(first toward end of program and then toward beginning of program)
Suppress Alarm 14080 "Destination not found". Jump instruction with
destination search first forward then backward (first toward end of
program and then toward beginning of program)
Branch destination parameters for label, block number, or string
variable
Destination for a jump command
Labeling of destination within the program
Jump destination as main block or subblock number (e.g., 200, N300)
Variable of type string containing a label or block number
Equal to
Not equal to
Greater than
Less than
Greater than or equal to
Less than or equal to
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents