Originally Posted by
WallyL7
Do you know how to set up individual WCS's?
You really need to start over on this entire part and add correct (if even redundant) WCS's for EACH hole. They each need to be oriented exactly as they would be on the machine so when you select them the post will be perfect.
By redundant what I mean is you may use the exact same view as one of the default views, but by creating a new view you have something that is more easily recognizable when you are creating the toolpath (since you can name the views you create)
IOW:
Create a view for the second hole and name it Hole #2
then, when you are creating the 2nd toolpath you can reference that view knowing it is in the correct orientation. This part is all 90's which is nice...but what if all the holes are at 10 degrees?
Top view is always the initial starting view (which is bottom in this case)...
This is the code I got with the generic 4axis fanuc post. Your post may be another issue! Try the generic 4axis fanuc to see if it gives you the same code.
%
O0000(TEST)
( T173 | 1 INCH DRILL | H0 )
G20
G0 G17 G40 G49 G80 G90
T173 M6
G0 G90 G56 X0. Y0. A0. S267 M3
G43 H0 Z6.
G98 G81 Z0. R5.1 F4.28
G80
A90.
G98 G81 Z0. R5.1 F4.28
G80
A180.
G98 G81 Z0. R5.1 F4.28
G80
A270.
G98 G81 Z0. R5.1 F4.28
G80
M5
G91 G28 Z0.
G28 X0. Y0. A0.
M30
%