Ok, I know this is asking a lot but, if there is a PostHaste god out there I am sure it will be nothing for them to figure out. Of course any help will be greatly appreciated. This is what I am trying to do. I want PostHaste & GibbsCam V8.5 to output a rigid tap code like this. Oh, and I am not trying to yell by putting what I say in bold. It is to distinguish between code and what I am saying. I know all CAPS and Bold annoy some people.
M06
G00G90G43G54H5X0Y0Z1.T15
M08
G00Z0.1
M29S130
G99G84R0.1Z-1.F10.
X1.Y1.
G00Z1.
Our Machine requires that the intro line has no spindle speed or direction in it.
So first I put this in PostHaste
Tap Tapping cycle
M29 S[Speed]
G[RetPlane] G84 R[RLevel] Z[D] F[Frate]
end cancel
1stToolChange First tool change
G00 G80 G40 G28 G91 Z00 T[Tool] M6
G00 G90 G43 H[Lcomp] G[Work] X[H] Y[V] Z[D] M[Direct] S[Speed] T[NextTool]
M[Cool]
End
ToolChange Secondary tool changes
M6
G0 G90 G43 H[Lcomp] G[Work] X[H] Y[V] Z[D] M[Direct] S[Speed] T[NextTool]
M[Cool]
End
That produces...
M06
G00G90G43G54H5X0Y0Z1.M03S130T15
M08
G00Z0.1
M29S130
G99G84R0.1Z-1.F10.
X1.Y1.
G00Z1.
Note the "M03S130" in the intro line of the drill cycle. That is what I am trying to get rid of.
So I changed sequences to
Tap Tapping cycle
M29 S[Speed]
G[RetPlane] G84 R[RLevel] Z[D] F[Frate]
end cancel
1stToolChange First tool change
IF [Cycle] = [tap]
G00 G80 G40 G28 G91 Z00 T[Tool] M6
G0 G90 G43 H[Lcomp] G[Work] X[H] Y[V] Z[D] T[NextTool]
ELSE
G00 G80 G40 G28 G91 Z00 T[Tool] M6
G0 G90 G43 H[Lcomp] G[Work] X[H] Y[V] Z[D] M[Direct] S[Speed] T[NextTool]
ENDIF
M[Cool]
End
ToolChange Secondary tool changes
IF [Cycle] = [tap]
M6
G0 G90 G43 H[Lcomp] G[Work] X[H] Y[V] Z[D] T[NextTool]
ELSE
M6
G0 G90 G43 H[Lcomp] G[Work] X[H] Y[V] Z[D] M[Direct] S[Speed] T[NextTool]
ENDIF
M[Cool]
End
Then that gives me an error saying...
Internal Error <VC>: Unrecognized Maching Mode in CL File...
Problem on line 14 of CL file...
Error at APPLY / MILL...
Does anybody have any idea how to fix this???
I have included all the files that may shed some light on the issue(CL file, .vnc file, PostHaste templates, and Posthaste Log). Plus if I get this done it will be a GREAT template for other fanuc machines that use M29. And of course I would offer it to anyone that asks.
:drowning: