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

Siemens SINUMERIK ONE MCP 2400.4c Programming Manual

Siemens SINUMERIK ONE MCP 2400.4c
1334 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 #464 background imageLoading...
Page #464 background image
Example
Program code Comment
N10 ... ; Start of the program.
...
N90 GOTOS ; Jump to beginning of the program.
...
3.1.5.2 Program jumps to jump markers (GOTOB, GOTOF, GOTO, GOTOC)
Jump labels can be set in a program, which can be jumped to from another location within the
same program using the commands GOTOF, GOTOB, GOTO, or GOTOC. Program execution is
resumed with the statement that immediately follows the jump label. This means that branches
can be realized within the program.
In addition to jump labels, main and sub-block numbers are possible as jump designation.
If a jump condition (IF ...) is formulated before the jump statement, the program jump is only
executed if the jump condition is fulfilled.
Syntax
GOTOB <jump destination>
IF <jump condition> == TRUE GOTOB <jump destination>
GOTOF <jump destination>
IF <jump condition> == TRUE GOTOF <jump destination>
GOTO <jump destination>
IF <jump condition> == TRUE GOTO <jump destination>
GOTOC <jump destination>
IF <jump condition> == TRUE GOTOC <jump destination>
Meaning
GOTOB: Jump statement with jump destination toward the beginning of the program.
GOTOF: Jump statement with jump destination toward the end of the program.
GOTO: Jump statement with jump destination search. The search is first made in the
direction of the end of the program, then in the direction of the beginning of the
program.
GOTOC: Same effect as for GOTO with the difference that Alarm 14080 "Jump designa‐
tion not found" is suppressed.
This means that program execution is not interrupted in the case that the jump
destination search is unsuccessful – but is continued with the program line fol‐
lowing the GOTOC command.
Work preparation
3.1 Flexible NC programming
NC programming
464 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

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