Fundamental Principles of NC Programming
2.2 Structure and contents of an NC program
2.2.4
Comments
To make an NC program easier to understand, comments can be added to the NC blocks.
A comment is at the end of a block and is separated from the program section of the NC
block by a semicolon (";").
Example 1:
Program code
N10 G1 F100 X10 Y20
Example 2:
Program code
N10
N20
N50
Note
Comments are stored and appear in the current block display when the program is running.
42
Comments
; Comment to explain the NC block
Comment
; Company G&S, order no. 12A71
; Program written by H. Smith, Dept. TV 4 ;on November
21, 1994
; Section no. 12, housing for submersible pump type TP23A
Programming Manual, 07/2010, 6FC5398-1BP40-0BA0
Fundamentals