Originally Posted by
magneto259
Hello all I wrote my first g code program and it happens to be a thread milling one and I have a bit of trouble with it though. I called it up in Mazatrol as a sub program and when i tryed to run it, it says Soft Limit +Z error and the machine freezes? This is for a 1.25X11.5 NPT that is 1" deep. The tool has a diameter of 1.1024. Here is my program
T31
M06
G90 G54 G00 X0 Y0 S1698 M3 T31
G43 Z4.0 H02 M08 ( i didnt do the M08 because i was doing a dry run)
Z-1.0
G41 X0.6024 Y-0.0515 D52 ( heres where my problems may begin i dont know what a D52 does but it was in the book i was using to do this)
G03 X0.5512 Y0 Z-0.9782 I0 J0.0515 F3
Z-0.89125 I-.5512 J0
X0.6024 Y-0.0515 Z-0.869515 I-0.0515 JO
G40 G00 X0 Y0 M09
G28 Z1.0 M05
M30
I took alot of this information of codes from a book but im not 100% sure of the purpose of all of them. Any help would be appreciated!!!!!
well one thing your return is 4" above the part that may be something to look at,
This is off a web site maybe it will help
(THE START POINT FOR THE AMEC PROGRAM IS THE X, Y AND Z CENTER OF THE TOP OF THE HOLE.)
(YOUR PROGRAM SHOULD CHANGE TO THE THREAD MILL TOOL AND MOVE IT INTO POSITION.)
(INSERT THIS PROGRAM AT EACH LOCATION WHERE THE THREADMILL SEQUENCE IS DESIRED.)
(THE AMEC PROGRAM WILL SWITCH THE MACHINE TO INCREMENTAL, MACHINE ONE THREAD,)
(RETURN TO THE TOP/CENTER OF THE HOLE AND SWITCH THE MACHINE BACK TO ABSOLUTE.)
(PROGRAM NAME: AMEC_TMNK1000-NPT_04182007_2242)
(AMEC ACCUTHREAD 856 ITEM NUMBER: TMNK1000-NPT)
(PROGRAM CREATOR VERSION 1.7.0)
(THREAD TYPE: INTERNAL)
(THREAD DIRECTION: RIGHT HANDED)
(PIPE THREAD SIZE: 1-12 NPT)
(MAJOR THREAD DIA.: 1.3050 INCH)
(LENGTH OF THREAD: 0.6610 INCH)
(TOOL DIAMETER: 0.6200)
(THREADS PER INCH: 11.5 NUMBER OF FLUTES: 4)
(MATERIAL: FREE MACHINING STEEL 110-150 BHN)
(SPEED: 375 SFM FEED:0.0023 IN/TOOTH MAX RPM:10000)
(NO. OF PASSES: 1)
(PASS1:100 PERCENT )
(INCREMENTAL PROGRAM)
(1 PASS PROGRAM)
S2310 M03
M08
G91 G01 Z-0.6719 F50.00
G41 G01 X0.1712 Y0.1712 D1 F2.79
G03 X-0.1712 Y0.1712 Z0.0109 I-0.1712 J0.0000 F11.16
G03 X-0.3432 Y-0.3425 Z0.0218 I0.0000 J-0.3432
G03 X0.3432 Y-0.3439 Z0.0218 I0.3439 J0.0000
G03 X0.3445 Y0.3439 Z0.0218 I0.0000 J0.3445
G03 X-0.3445 Y0.3452 Z0.0218 I-0.3452 J0.0000
G03 X-0.1726 Y-0.1726 Z0.0109 I0.0000 J-0.1726 F22.31
G40 G01 X0.1726 Y-0.1726 F50.00
G00 Z0.5631
G90
individual who perceives a solution and is willing to take command. Very often, that individual is crazy.