Originally Posted by
Behnod
G90 G17 G54
S200 M3
G00 G43 X0.0 Y0.0 Z100.0 H1
M29 S500 F200
G84 Z0.0 R150.0 P300 F200
G80 P0
M30
Re-hash of your code
Code:
G54
G0 G17 G40 G90 G94 ( better safety line )
S200 M3
G00 X0.0 Y0.0
G43 Z100.0 H1
M29 S500
G95 (feed per rev, )
G98 G84 Z0.0 R150.0 F0.4 (G98/G99 required for return to retract (or initial) Zplane, check manual)
G80 G94 (cancel cycle, feed per min)
M30
used G95 so that F can be the thread pitch, & will not need altering if the RPM is changed
.........NOTE..... G94 is required to switch back to normal machine that won't seem like everything is in rapid
XYZ first move broken up to eliminate 3 axis move (crash fodder)
F200 may need decimal for mm instead of microns
P300 dwell not required, ( may cause program stoppage )
P0 deleted, not needed with G80 ( may cause program stoppage )