Sorry. I was mostly interested in that particular command line. But some more context would have been good.
This is a test part with a simple circular pocket (1/2" end mill) with a chamfer around it's top (1/2" spot drill). I don't think it'll matter much to the code, but I selected Autodesk's Generic 3D milling machine. For a post I used the EMC2 milling post from the Autodesk library. There is another post, just EMC, which I didn't try.
The program preamble and first tool change are as:
(POST-TEST-STOCK)
(MACHINE)
( VENDOR AUTODESK)
( DESCRIPTION GENERIC 3-AXIS)
(T1 D=0.5 CR=0. - ZMIN=-0.5 - FLAT END MILL)
(T20 D=0.5 CR=0. TAPER=90DEG - ZMIN=-0.2 - COUNTERSINK)
G90 G94 G17 G91.1
G20
G53 G0 Z0.
(2D POCKET2)
T1 M6
S7639 M3
G54
M8
G0 X0.465 Y-0.0681
G43 Z0.6 H1
G0 Z0.2
G1 Z0.15 F126.06
S7640
X0.4654 Y-0.0669 Z0.1391
.........
Code:
It's the G43 I'm concerned about. The Post embeds a Z0.6 move between G43 and H1. The Z0.6 is modal with G0, and G43 and H1 are on the same line? But I still question if the G0 Z0.6 happens with or without length comp?
The second tool change looks like:
...........
X0.727 Y0.0421 Z-0.45
G0 Z0.6
M5
G53 Z0.
(2D CONTOUR1)
M9
M1
T20 M6
S5000 M3
G54
M8
G0 X0.75 Y-0.05
G43 Z0.3 H20
G0 Z0.2
G1 Z0.0394 F20.
..........
Thank you for looking this over. I included the complete G-code program if that is of any interest.
[attachment=40153]Post-Test-Stock.ngc[/attachment]
Hugh