I'm having a bit of a problem with the attached Post for TNC2500B Controller on a Bridgeport 1020X Interact CNC Mill. I had to modify the post to run on my machine. I copy and pasted the FEED = Abs(Round(MILL_GetCannedCycleFeedRate(),1)) from the peck cycle becuse it was missing in the post. The problem is it is post 0 for a feed rate. Do i have something wrong?
Post Download Link:
https://dl.dropboxusercontent.com/u/...l_Rev7.MillPst
2006. Tap
Dim REF
Dim DEPTH
Dim PITCH
Dim REFSTRING
REF = -Abs(Round(MILL_GetInitialPlaneHeight(), 4))
DEPTH = -Abs(Round(MILL_GetDrillDepth(),4))
DWELL = -Abs(Round(MILL_GetDwell(),4))
FEED = Abs(Round(MILL_GetCannedCycleFeedRate(),1))
FEED = Int(FEED * 10)
If REF > 0 Then
REFSTRING = "+"&REF
Else
REFSTRING = REF
End If
MILL_ProcessPostLine("'CYCL DEF 2.0 TAPPING'")
MILL_ProcessPostLine("'CYCL DEF 2.1 SET UP "&REFSTRING&"'")
MILL_ProcessPostLine("'CYCL DEF 2.2 DEPTH "&DEPTH&"'")
MILL_ProcessPostLine("'CYCL DEF 2.3 DWELL "&DWELL&"'")
MILL_ProcessPostLine("'CYCL DEF 2.4 F"&FEED&"'")