-
6 Attachment(s)
Help with Gcode
Hi all
Can someone have a look at the attached photos of gcode and let me know what I'm doing wrong.
I running it on an old okuma Lb15 with OSP5000L and trying to lathe some threads ...
It stops at the G33 command
Tried lots of different things and stops at the threading code ....
Any ideas ????
Thanks for looking
-
Re: Help with Gcode
7-2-1. Fixed Thread Cutting Cycle: Longitudinal (G33, G31)
[Command format]
G33 X__ Z__ { } (E__) F__ (K__)(L__)(J__)(C__)
A thread cutting cycle can be programmed in the same manner with G31 as with G33.
G33 : Fixed thread cutting cycle (longitudinal) command
G31 : Fixed thread cutting cycle command
X : Thread diameter for each thread cutting cycle
Z : Z coordinate of end point of thread
F : Thread lead (F/J if a J word is provided.)
I : Difference in radius between start and end of taper
A : Taper angle (Taper is specified by either an I or A word.)
E : Lead variation rate per lead for variable lead thread
K : Z-axis shift amount of thread cutting starting point (When no K word is specified, the
control assumes K=0.)
L : Chamfering distance (When no L word is specified, the control assumes L=one lead at
thread cutting start)
L word is effective in the thread chamfering ON (M23) mode.
J : Number of threads within a distance specified by the F word (When no J word is
specified, the control assumes J=1.)
C : Phase difference for multi-thread thread cutting (C=0 if omitted.)
-
2 Attachment(s)
Re: Help with Gcode
Thanks for your reply, much appreciated.
This is the code im using , according to the okuma LB15 manual it should work
%
(Thread.MIN)
N10 G0 X800 Z205 M42 S300 T101010
N15 X120 M8 M3
N20 G33 X89 Z160 F1.5
N22 X88.5
N24 X88.3
N26 X88.1
N28 X88
N30 G0 X800 Z205 M9 M5
N22 M2
%
I have tried G31 as well but it stops at the thread Gcode ??
This is a screen shot of thread cutting gcode.