Re: Threading
Originally Posted by
broby
just goes to show how little you know at times...
my god, OSP5000 ? that's huge man !
Originally Posted by
Jmooresshop
I don't know how to G Code anymore. I'm trying to thread a 5/8-18 thread on CRS by 12 inches length of thread.
hello mr Jmooresshop ... G codes for 2 methods :
.... flank compound infeed @ 2.5 degress ( OSUB1 )
.... zig zag @ 55 degress ( OSUB2 )
i discovered today that i do have documentation for UN threads
for this UNF 5/8 was also specified a 1:43 angle [ degrees : minutes ]; i don't know what this means ... anybody ?
more precise, i found this :
... unc 5/8 - 2:56
... unf 5/8 - 1:43
... unef 5/8 - 1:16
this code is for a straight thread
it covers most machining aspects of a thread; also, it goes where & how you wish
i did not put specific data into it, so it should require x_offset corrections
well, all cnc's require offset corrections ... this story is for another time
Code:
OS00
( cnc unit : millimeters )
( insert : partial profile , r0.06 ap 1.01 )
V1 = ... ( n )
V2 = 25.4/18 ( f )
V3 = 5/8*25.4 ( external diameter )
V6 =-12*25.4 ( thread end point )
V11= 1.5 ( ... start ... )
( * )
V4=0 ( nominal tolerance )
V5=0 ( coeficient for V4 )
V9=0 ( minimal play )
V7=0 ( ap - c for full profile inserts )
V12=0 ( cutting depth )
V3=V3-V9-V4*V5+2*V7 ( reference diameter )
( IF [ VRSTT NE 0 ] NEND )
( M867 )
G00 X375-VETFX Z-VETFZ
T060606 ( M66 )
G00 X+V3+5 Z+V11 ( M63 )
G97 S=V1 M42 M03 M08
CALL OSUB1 ( flank compound infeed @ 2.5 degress )
( CALL OSUB2 ) ( zig zag @ 55 degress )
G00 X375-VETFX Z-VETFZ ( M203 )
( NEND )
RTS
( . . . . . . . . . . . . . . . )
OSUB1
CALL OQ00 V10=0.520 V8=0
CALL OQ00 V10=0.417 V8=20
CALL OQ00 V10=0.323 V8=18
CALL OQ00 V10=0.240 V8=16
CALL OQ00 V10=0.167 V8=14
CALL OQ00 V10=0.104 V8=12
CALL OQ00 V10=0.063 V8=8
CALL OQ00 V10=0.021 V8=8
CALL OQ00 V10=0 V8=5
RTS
( . . . . . . . . . . . . . . . )
OSUB2
CALL OQ00 V10=-0.057 V8=0
CALL OQ00 V10=+0.047 V8=20
CALL OQ00 V10=-0.047 V8=18
CALL OQ00 V10=+0.036 V8=16
CALL OQ00 V10=-0.036 V8=14
CALL OQ00 V10=+0.026 V8=12
CALL OQ00 V10=-0.016 V8=8
CALL OQ00 V10=+0.026 V8=8
CALL OQ00 V10=0 V8=5
RTS
( . . . . . . . . . . . . . . . )
OQ00
V12=V12+V8/100
G00 X+V3+5 Z+V11+V10
G33 X+V3-2*V12 Z+V6 F=V2 G95
RTS
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg