Examples:
X10
X1=10
X=10*(5+SIN(37.5))
Note
A numeric extension must always be followed by one of the special characters "=", "(", "[", ")",
"]", ",", or an operator, in order to distinguish an address with numeric extension from an
address letter with a value.
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.
Fundamentals
Programming Manual, 09/2011, 6FC5398-1BP40-2BA0
Fundamental Principles of NC Programming
2.2 Structure and contents of an NC program
Value assignment (10) to address X, "=" not required
Value assignment (10) to address (X) with numeric
extension (1), "=" required
Value assignment by means of a numeric expression, "="
required
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
39