Siemens SINUMERIK 840DE Programming Manual page 390

Hide thumbs Also See for SINUMERIK 840DE:
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.
==
<>
>
<
>=
<=
10-6
Keyword for condition
"Jump instruction" with jump destination backward (toward
the beginning of program)
Jump instruction with forward jump destination (toward
program end)
Jump instruction 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)
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, 10.2004 Edition, 6FC5 298-7AB00-0BP1
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents