EasyManua.ls Logo

Siemens SINUMERIK 840Di sl - Page 66

Siemens SINUMERIK 840Di sl
560 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...
Fundamental Principles of NC Programming
2.2 Language elements of the programming language
Fundamentals
66 Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Note
System and user variables can also be used in conditional jumps in order to control program
execution.
Jump destinations (labels)
Labels can be defined to jump within a program.
Label names are allocated with at least two and up to 32 characters (letters, digits,
underscore). The first two characters must be letters or underscores. The label name is
followed by a colon (":").
References:
/PGA/ Job Planning Programming Manual; Subroutines, Macros
Note
Labels must be unique within a program.
Labels always appear at the start of a block. If a program number exists, the label appears
immediately after the block number.
Comments
To make NC programs easier to understand for other users and programmers, it is advisable
to insert meaningful comments in the program.
Comments are appended to the end of a block and are separated from the program section
of the NC block by a semicolon (";").
Examples of comments
N10 G1 F100 X10 Y20
;Comments to explain the NC block
Or
N10
;Company G&S, order no. 12A71
N20
;Program written by H. Müller, Dept. TV 4
;on November 21, 1994
N50
;Section no. 12, housing for submersible pump type TP23A
Note
Comments are stored and appear in the current block display when the program is running.

Table of Contents

Other manuals for Siemens SINUMERIK 840Di sl

Related product manuals