The most controller are using as a job control
language the symbols from the DIN66025.
After this the partprogram are contains a
sequence of lines.
A line contains several words.
A word contains a letter and a number.
Technical information.
F = Feedrate
T = Tool
S = Spindlespeed
M = additional function
For example:
F – command = F0.25 ( mm/rpm )
T – command = T0101 ( Tool no. 1 )
S – command = S1000 ( 1000 rpm )
M – command = M03 ( spindle direction CW )
25
OKUMA
Main Address Characters
Main Address Characters
•N Block Number
•GPreparatory Function (See List)
•XDiameter Value
•ZLength Value
•FFeedrate (mm/min or mm/rev)
•(or Dwell time in seconds)
•SSpindle Speed (m/min or rev/min)
•TTurret Station/Offset Number
•MMiscellaneous Function (See List)
M––
M
M – function are help function, just to
switch on some additional function, e.g.
coolant on or off, C –axis on or off.
Function
Function
25
OKUMA
Lesson with G01
Lesson with G01
Program construction for 2 axis lathe machine
G50 S4500
G00 X500 Z500
G00 X0 Z2 T0101 G96 S250 M03 M08
G01 Z0 F0.15
G01 X40
G01 Z-20
G01 X60
G01 Z-50
G01 X100 Z-80
G01 X140
G01 Z-110
G01 X160
G01 Z-130
G00 X500 Z500 M09
M02
Tool command
G Code for constant cutting speed
M- code coolant on
M-code for spindle direction
Cutting speed in m/min
Note
The G00 command means that the machine will move with rapid feedrate , the rapid feedrate
is dependent on the machine. The unit for rapid feedrate is m/min.
The G01 command means that the machine will move with feedrate, therefore it is necessary
to program in the first line with G01 a feedrate command.
The address for feedrate is ”F ” for example F0.25 = 0.25mm by one rotation of the spindle
OKUMA
Lesson with G85 Lap cycle
Lesson with G85 Lap cycle
Program construction for G85 Lap cycle
G50 S4500
G00 X500 Z500
G00 X160 Z2 T0101 G96 S250 M03 M08
G85 NAP1 D5 U0.5 W0.1 F0.35
F = Feedrate
W = Stock removal in Z
U = Stock removal in X
D = Cuttingdepth in diameter
NAP1 G81G81 = Cutting direction in Z - axis
G01 X0 Z0
X40
Z-20
X60
Z-50
X100 Z-80
X140
Z-110
X160
G80
G00 X500 Z500 M09
M02
27
OKUMA
Exercise G85 /G81
Exercise G85 /G81
28 ( 29 )
OKUMA
Lesson G85 Lap Cycle in X --
Lesson G85 Lap Cycle in X
Blank material D= 162
Direction
Direction
Program construction for G85 Lap cycle in X -Direction