EasyManuals Logo

Siemens SINUMERIK 810D Programming Guide

Siemens SINUMERIK 810D
598 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 #56 background imageLoading...
Page #56 background image
1
Flexible NC programming 04.00
1.11 CASE instruction
1
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
1-56
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
1.11 CASE instruction
Programming
CASE
(expression)
OF
constant1
GOTOF LABEL1 … DEFAULT GOTOF LABELn
CASE
(expression)
OF
constant1
GOTOB LABEL1 … DEFAULT GOTOB LABELn
Explanation of the commands
CASE
Vocabulary word for jump instruction
GOTOF
Jump instruction with jump destination forwards (towards the end of
program)
GOTOB
Jump instruction with jump destination backwards (towards the start of
program)
LABEL
Destination (label within the program);
LABEL:
The name of the jump destination is followed by a colon
Expression
Arithmetic expression
Constant
Constant of type INT
DEFAULT
Program path if none of the previously named constants applies
Function
The CASE statement enables various branches to be
executed according to a value of type INT.
Sequence
The program jumps to the point specified by the jump
destination, depending on the value of the constant
evaluated in the CASE statement.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 810D and is the answer not in the manual?

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals