Siemens SINUMERIK 840Di sl Programming Manual page 66

Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Fundamental Principles of NC Programming
2.2 Language elements of the programming language
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
Or
N10
N20
N50
Note
Comments are stored and appear in the current block display when the program is running.
66
;Comments to explain the NC block
;Company G&S, order no. 12A71
;Program written by H. Müller, Dept. TV 4
;on November 21, 1994
;Section no. 12, housing for submersible pump type TP23A
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents