You are on page 1of 2

Programming Aid Address Letters

Contour cycles: Add. Function Add. Function

Program structure for machining sequences with several tools: % Begin program N Block number
..
.
% Call program with G39
P Cycle parameter
TNC 360
List of contour subprograms G37 P01 . . .
..
A
B
Rotate around the X axis
Rotate around the Y axis P
in fixed cycles
Value or Q parameter ISO-Programming
Define / call drill . C Rotate around the Z axis in Q parameter definitions
Contour cycle: Pilot drilling G56 P01 . . .
..
Pre-positioning, cycle call . D Q parameter definitions Q Parameter Q
..
Define / call rough mill . F Feed rate R Polar radius
Contour cycle: Rough-out G57 P01 . . . F Dwell time with G04 R Circle radius with G02/G03/G05
Pre-positioning, cycle call .. F Scaling factor with G72 R Rounding radius with
.
.. G25/G26/G27
Define / call finish mill . G G functions R Tool radius with G99
Contour cycle: Contour milling G58 P01 . . .
..
Pre-positioning, cycle call . H Polar angle S Spindle speed
H Rotation angle with G73 S Oriented spindle stop with G36
End of main program, return jump M02
I X coordinate of T Tool definition with G99
Contour subprograms G98 circle center/pole T Tool call
... J Y coordinate of T Next tool with G51 Operating Modes
G98
.. L0 circle center/pole
. K Z coordinate of U Axis parallel to the X axis
circle center/pole V Axis parallel to the Y axis Machine operating modes:
Radius compensation of the contour subprograms: W Axis parallel to the Z axis
L Assign a label number Manual The axes are moved with the machine axis direction
Contour Sequence of the programmed Radius with G98 X X axis
contour elements compensation buttons. The position display can be set to the desired
L Jump to a label number Y Y axis display type.
L Tool length with G99 Z Z axis
Inside Clockwise (CW) G42 (RR)
(Pocket) Counterclockwise (CCW) G41 (RL) Handwheel The axes are moved with the electronic handwheel or
M M functions * End of block by a programmed jog increment with the machine axis
direction buttons.
Outside Clockwise (CW) G41 (RL)
(Island) Counterclockwise (CCW) G42 (RR)
Positioning The axes are moved to or by a programmed distance
Sequence of Program Steps: Milling with manual
data input
with the selected radius compensation, feed rate and
M function (single-axis movement). The block is not
PGM
stored in the TNC memory.
Coordinate transformations: Select program name NR

Coordinate transformations Activation Cancellation Program 234 in mm % 234 G71 Program run After starting the program with the machine START
Define workpiece blank G30 G17 X+0 Y+0 Z–40 Full sequence button, the program is automatically executed to program
Datum shift G54 X+20 Y+30 Z+10 G54 X+0 Y+0 Z+0 G31 G90 X+100 Y+100 Z+0 end or to a program stop.
Mirror image G28 X G28
Rotation G73 H+45 G73 H+0 Define tool G99 T1 L+0 R+5 Program run Each block must be started separately with the machine
Scaling factor G72 F0.8 G72 F1 Call tool T0 G17 Single block START button.
Tool change position G00 G40 G90 Z+100 M06
Call tool T1 G17 S1000
Programming:
Starting position, near the workpiece X–20 Y–20 M03
Working depth Z–20 Programming Part programs can be entered, checked and changed, and
and Editing read in and out the control memory through an RS-232-C/
Q Parameter Definitions 1st contour point, with radius compensation (RL) G01 G41 X+0 Y+0 F200 V.24 data interface.
Smooth approach G26 R15
Straight line Y+100 Test The TNC checks part programs for logical programming
D Function D Function errors such as exceeding the axis traverse limits, double-
Chamfer G24 R20
Straight line X+100 programmed axes, etc.
00 Assign 08 Root sum of squares c = a 2+b 2 Corner rounding G25 R20
01 Addition 09 If equal, jump to label number Straight line Y+25
02 Subtraction 10 If not equal, jump to label number Graphical test run:
Circle center I+100 J+0
03 Multiplication 11 If greater than, jump to label number Circle, incremental values G03 G91 X–25 Y–25
04 Division 12 If smaller than, jump to label number GRAPHICS Part programs can be graphically simulated in the display
Last contour point, absolute values G01 G90 X+0 Y+0 MOD
05 Square root 13 Angle (from c • sin α and c • cos α) modes plan view, projection in three planes and 3D view.
06 Sine 14 Error number The graphical test run is executed in the "full sequence"
Smooth departure G27 R15
07 Cosine 15 Print and "single block" modes of operation and is started with
End position, near the workpiece G00 G40 X–20 Y–20
19 Assign values for the PLC Retract tool, return to beginning of program Z+100 M02 with the START key.
G Functions G Functions M Functions
Tool movement Cycles for coordinate transformations M00 Stop program run / Spindle stop / Coolant off
G00 Linear interpolation, Cartesian coordinates, at rapid traverse G54 Datum shift in a part program
G01 Linear interpolation, Cartesian coordinates G28 Mirror image of a contour M02 Stop program run / Spindle stop / Coolant off
G02 Circular interpolation, Cartesian coordinates, clockwise G73 Rotation of the coordinate system Clear the status display (depending on machine parameter)
G03 Circular interpolation, Cartesian coordinates, counterclockwise G72 Scaling factor, increasing or reducing the size of a contour Return jump to block 1
G05 Circular interpolation, Cart. coordinates, no direction of rotation defined
G06 Circular interpolation, Cartesian coordinates, tangential connection Other cycles M03 Spindle on clockwise
∗G07 Single axis positioning block ∗ G04 Dwell time with F seconds M04 Spindle on counterclockwise
G10 Linear interpolation, polar coordinates, at rapid traverse G36 Oriented spindle stop M05 Spindle stop
G11 Linear interpolation, polar coordinates ∗ G39 Program call
G12 Circular interpolation, polar coordinates, clockwise M06 Tool change
G13 Circular interpolation, polar coordinates, counterclockwise Selecting the working plane Spindle stop / stop program run (depending on machine parameter)
G15 Circular interpolation, polar coordinates, no direction of rotation defined G17 Plane X/Y, tool axis Z
G16 Circular interpolation, polar coordinates, tangential connection G18 Plane Z/X, tool axis Y M08 Coolant on
G19 Plane Y/Z, tool axis X M09 Coolant off
Chamfer / Corner rounding / Approaching and departing a contour G20 Tool axis IV
∗G24 Chamfer with chamfer length R M13 Spindle on clockwise / Coolant on
∗G25 Corner rounding with radius R Definition of positions M14 Spindle on counterclockwise / Coolant on
∗G26 Smooth (tangential) approach of a contour with radius R G90 Absolute workpiece positions
∗G27 Smooth (tangential) departure from a contour with radius R G91 Incremental workpiece positions M30 Same function as M02

Tool definition Unit of measurement M89 Vacant miscellaneous function, or


∗G99 With tool number T, length L, radius R G70 Unit of measurement: Inches (defined at beginning of program) Cycle call, modally effective
G71 Unit of measurement: Millimeters (defined at beginning of program) M99 Cycle call, effective blockwise
Tool radius compensation
G40 No tool radius compensation Other G functions M90 Constant path speed at inside corners and
G41 Tool radius compensation, tool traverse to the left of the contour G29 Define the last programmed position as a pole (circle center) corners without radius compensation
G42 Tool radius compensation, tool traverse to the right of the contour G38 Stop program run
G43 Single axis compensation for G07, lengthening of the tool path ∗ G51 Tool pre-selection (with central tool memory) M91 Coordinates in the positioning block are referenced to the
G44 Single axis compensation for G07, shortening of the tool path G55 Programmable touch probe function machine datum
∗ G79 Cycle call M92 Coordinates in the positioning block are referenced to a
Definition of the workpiece blank for graphic display ∗ G98 Assign a label number position defined by the machine tool builder
G30 (G17/G18/G19) MIN point
G31 (G90/G91) MAX point M93 Reserved
∗) Function effective blockwise M94 Limit display of rotary axis to value under 360°
Simple fixed cycles M95 Reserved
G83 Pecking M96 Reserved
G84 Tapping with a floating tap holder
G85 Rigid tapping M97 Radius compensation at outside corners: point of intersection
G74 Slot milling instead of transition arc
G75 Rectangular pocket milling, clockwise M98 End of radius compensation, effective blockwise
G76 Rectangular pocket milling, counterclockwise
G77 Circular pocket milling, clockwise
G78 Circular pocket milling, counterclockwise

SL Cycles
G37 Contour geometry, definition of subcontour subprogram numbers
G56 Pilot drilling
G57 Rough-out
G58 Contour milling (finishing), clockwise
G59 Contour milling (finishing), counterclockwise

∗) Function effective blockwise

You might also like