Example 2: "Conventional" procedure using milling as an example
"Conventional" procedure:
1. Tool call.
2. Change tool.
3. Activate working plane and tool radius compensation.




<
=



<
;
Program code Comment
N10 G0 Z100 ; Retraction for tool change.
N20 G17 T1 M6 ; Tool change
N30 G0 X0 Y0 Z1 M3 S300 D1 ; Call tool offset values, select length compensation.
N40 Z-7 F500 ; Feed in tool.
N50 G41 X20 Y20 ; Activate tool radius compensation, tool machines to
the left of the contour.
N60 Y40 ; Mill contour.
N70 X40 Y70
N80 X80 Y50
N90 Y20
N100 X20
N110 G40 G0 Z100 M30 ; Retract tool, end of program.
Fundamentals
2.10 Tool radius compensation
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 253