1.7 The instructions table
Address |
Meaning |
Programming |
D |
Tool offset number Contains offset data for a certain tool T...; D0−> offset values= 0, max. 9 D numbers per tool |
D… |
F |
Feedrate Path velocity of a tool/workpiece; unit: mm/min or mm/revolutiondepending on G94 or G95 |
F… |
G |
G function The G functions are divided into G groups. Only one G function of a group can be programmed in a block. A G function can be either modal (until canceled by another function of the same group) or only effective for the block in which it is programmed (non−modal). |
G…
|
G00 |
Linear interpolation at rapid traverse rate |
G00 X… Z… |
G01 |
Linear interpolation at feedrate |
G01 X… Z… F… |
G02 |
Circular interpolation CW |
center and end points: G02 X… Z… I… K… F… radius and end point: G02 X… Z… CR=…F… aperture angle and center point: G02 AR=… I… K… F… aperture angle and end point: G02 AR=… X… Z… F… |
G03 |
Circular interpolation CCW |
G03…;therwise, as with G2 |
G33 |
Thread cutting with constant lead |
Cylindrical thread: G33 Z… K… SF=… Transversal thread: G33 X… I… SF=… Tapered thread; thread lead K G33 Z… X… K… SF=… Tapered thread; thread lead I G33 Z… X… I… SF=… |
G04 |
Dwell time |
G04 H…,separate block |
G74 |
Reference point approach |
G74 X… Z…,separate block |
G75 |
Fixed−point approach |
G75 X… Z…,separate block |
G25 |
Lower spindle speed limitation |
G25 X… Z…,separate block |
G26 |
Upper spindle speed limitation |
G26 X… Z…,separate block |
G17 |
X/Y plane |
|
G18 |
Z/X plane |
|
G19 |
Y/Z plane |
|
G40 |
Tool radius compensation OFF |
|
G41 |
Tool radius compensation left of the contour |
|
G42 |
Tool radius compensation right of the contour |
|
G500 |
Additional work offset OFF |
|
G501 |
Additional work offset |
|
G54 |
1st settable work offset |
|
G55 |
2nd settable work offset |
|
G56 |
3rd settable work offset |
|
G57 |
4th settable work offset |
|
G58 |
5th settable work offset |
|
G59 |
6th settable work offset |
|
G53 |
Settable work offset OFF |
|
G60 |
Exact stop, modally effective |
|
G64 |
Continuous−path control mode, modally effective |
|
G09 |
Non−modal exact stop |
|
G70 |
Inch dimension input |
|
G71 |
Metric dimension data input |
|
G90 |
Absolute dimension data input |
|
G91 |
Incremental dimension data input |
|
G94 |
Feed F in mm/min |
|
G95 |
Feedrate F in mm/spindle revolutions |
|
G96 |
Constant cutting rate ON (F in mm/rev., S in m/min) |
G96 S… LIM=… F… |
G97 |
Constant cutting rateOFF |
|
WALIMON |
Working area limitation ON |
Separate block |
WALIMOF |
Working area limitation OFF |
Separate block |
DIAMOF |
Radius dimension input |
Separate block |
DIAMON |
Diameter dimensioning |
Separate block |
H |
Dwell time |
See G04 |
I |
Interpolation parameters, belongs to the X axis meaning dependent on G2,G3−> circle center or G33, G34, G35 G331, G332 −> thread lead |
See G02,G03 and G33 |
K |
Interpolation parameters, Belongs to the Z axis; otherwise, as with I |
See G02,G03 and G33 |
M |
Miscellaneous function |
M… |
M00 |
Programmed stop |
Separate block |
M01 |
Optional stop |
Separate block |
M02 |
End of program, Can be found in the last block of the processing sequence |
Separate block |
M03 |
CW rotation of spindle (for master spindle) |
|
M04 |
CCW rotation of spindle (for master spindle) |
|
M05 |
Spindle stop (for master spindle) |
|
M19 |
Spindle positioning |
M19 SP=…,separate block |
M30 |
End of program (as M2) |
Separate block |
M90 |
Workpiece number add 1. |
Separate block |
N |
block number subblock |
N… |
P |
Number of subroutine passes |
N10 WELLE7() P3 three cycles |
R0~R99 |
R parameters |
R1=30 R2=SIN(R1) |
RET |
Subroutine end |
Separate block |
S |
Spindle speed (master spindle) Unit of measurement of the spindle r.p.m., when G96 m.p.m |
S… |
T |
Tool number |
T… |
X |
Axis |
X… |
Z |
Axis |
Z… |
ANG= |
Angle for the specification of a straight line for the contour definition. Specified in degrees; one possibility of specifying a straight line when using G0 or G1 if only one end-point coordinate of the plane is known or if the complete end point is known with contour ranging over several blocks |
N10 G01 X… Z… N20 X… ANG=…
|
AR= |
Aperture angle for circular interpolation |
See G02, G03, AR range 0~360 |
CALL |
Indirect cycle call |
N10 CALL WELLE7() Separate block |
CHF= |
Chamfer; Inserts a chamfer of the specified chamfer length between two contour blocks |
N10 X… Z… CHF=… N20 X… Z… |
CHR= |
Chamfer; in the contour definition; Inserts a chamfer of the specified leg length between two contour blocks |
N10 X… Z… CHR=… N20 X… Z… |
CR= |
Radius for circular interpolation |
See G02, G03 |
DEF |
Definition instruction Defining a local user variable of the type BOOL, CHAR, INT, REAL, directly at the beginning of the program |
DEF INT VAR1=12 DEF REAL VAR2=2.4 |
GOTOB |
GoBack instruction |
N10 LABEL1: … … N100 GOTOB LABEL1 |
GOTOF |
GoForward instruction |
N10 GOTOF LABEL2 … N100 LABEL2: … |
IF |
Jump condition |
N10 IF R1>5 GOTOF LABEL3 … N100 LABEL3: … |
LIM= |
Upper limit speed of the spindle with G96, G97 |
See G96 |
MSG( ) |
Message text in inverted commas |
MSG(“MESSAGE TEXT”) Separate block |
RND= |
Rounding |
N10 X… Z… RND=… N20 X… Z… |
SET( ) |
Set values for the variable fields; Various values, from the specified element |
See set values for fields |
REP( ) |
Set values for the variable fields; the same value, from the specified element |
DEF REAL VAR3[12] = REP(4.5) all elements value 4.5 |
SF= |
Thread starting point when using G33 |
See G33,SF range 0~360 |
SP= |
Spindle position when using M19 |
See M19,Separate block |
SPOS= |
Spindle position |
SPOS= 30 Separate block |
TGROUP |
Tool group |
TGROUP(x) Separate block |
MIRROR |
Programmable mirroring |
MIRROR X0 Separate block |