EasyManua.ls Logo

Siemens SINUMERIK 840DE

Siemens SINUMERIK 840DE
516 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
Loading...
Arithmetic Parameters and Program Jumps
10.2 Unconditional program jumps
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
10-3
Assignments to other addresses
The flexibility of an NC program lies in assigning these arithmetic parameters or expressions
with arithmetic parameters to other NC addresses. Values, expressions and arithmetic
parameters can be assigned to all addresses; Exception: address N, G and L.
When assigning, write the character " = " after the address character. It is also possible to
have an assignment with a negative leading sign. A separate block is required for
assignments to axis addresses (traversing instructions).
Example:
N10 G0 X=R2 ;Assignment to X axis
Arithmetic operations and functions
When operators/arithmetic functions are used, it is necessary to use the conventional
mathematical notation. Machining priorities are set by parentheses. Otherwise, multiplication
and division take precedence over addition and subtraction. Degrees are used for the
trigonometrical functions.
10.2 Unconditional program jumps
Function
By default, main programs, subprograms, cycles and interrupt routines execute the blocks in
the sequence in which they were programmed. Program jumps can be used to modify this
sequence.
Programming
GOTOB <jump destination>
GOTOF <jump destination>
GOTO/GOTOC <jump destination variable>
Parameters
GOTOB "Jump instruction" with backward jump destination (toward
program start)
GOTOF Jump instruction with forward jump destination (toward
program end)
GOTO Jump instruction with destination search first forward then
backward (first toward end of program and then toward
beginning of program)
GOTOC 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)

Table of Contents

Other manuals for Siemens SINUMERIK 840DE

Related product manuals