CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Post Processor Files


Post Processor Files Discuss post processor files here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-24-2009, 11:27 AM
 
Join Date: Jun 2009
Location: USA
Posts: 10
gr_mich_mush is on a distinguished road
Question PostHaste, Rigid Tap, Spindle Speed, Direction

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.


Attached Files
File Type: zip Files.zip‎ (22.4 KB, 39 views)
Reply With Quote

  #2   Ban this user!
Old 07-30-2009, 03:14 PM
 
Join Date: Jun 2009
Location: USA
Posts: 10
gr_mich_mush is on a distinguished road

Did I post this in the right section?? I thought I'd get some sorta response...
????????????
Reply With Quote

  #3   Ban this user!
Old 07-30-2009, 07:25 PM
cadman's Avatar  
Join Date: Jun 2003
Location: USA
Posts: 498
cadman is on a distinguished road

I'll take a look at it this weekend. I made all of my templates while I worked for my last employer.
Reply With Quote

  #4   Ban this user!
Old 07-31-2009, 10:15 AM
 
Join Date: Jun 2009
Location: USA
Posts: 10
gr_mich_mush is on a distinguished road

Thank You. I'll appreciate any help you can offer. I think I got the idea down but am missing a detail.
Reply With Quote

  #5   Ban this user!
Old 07-31-2009, 11:54 PM
cadman's Avatar  
Join Date: Jun 2003
Location: USA
Posts: 498
cadman is on a distinguished road

The only problem I found was the speed for the tap. You set the spindle clamp at 150 to 12000 rpm, but only had 130 rpm for the tap. Once I changed that your modified template worked fine just like you wanted.

Looking at your CL file, are you trying to post with CS using a standard Posthaste template? This section near the top indicates you are and is probably what is giving you the mode error:

$$-> CS NUMBER 1.
$$-> CSYS / 1.000000000, 0.000000000, 0.000000000, 0.000000000, $
0.000000000, 1.000000000, 0.000000000, 0.000000000, $
0.000000000, 0.000000000, 1.000000000, 0.000000000

To post using CS, you need to purchase the upgrade from Posthaste. The standard Posthaste plug-in only works with up to 3 axis and no CS.

Anyways, I see no problem. I'm using GibbsCAM V9.3.14, but I still would have experienced the same errors if there were any in your template, but it works.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-03-2009, 07:36 AM
 
Join Date: Jun 2009
Location: USA
Posts: 10
gr_mich_mush is on a distinguished road

Ok, this is really weird. I just tried to recreate the error msg. I was going to take a screen shot of it to show you. But it worked. The only msg I get was the spindle speed warning as you mentioned (that it something I want to stay). I am totally confused now. The only thing I can think of is that the Gibbs and the computer were restarted. But, either way it is working just the way I was trying to get it to. Anyway, on a unrelated note. Which is not near as important. Is there a way to eliminate the "G00Z1." at the end of every drill cycle. Is that something you change in the PostHaste.cfg file?

(TOOL 3)
(13/32 DRILL)
(OPERATION 1)
G00G80G40G28G91M06T03
G00G90G43G54H3X0Y0Z1.M03S893T05
M08
G00Z0.1
G99G81R0.1Z-1.3721F7.
X1.Y1.
G00Z1.
(TOOL 5)
(1/2-13 CUT TAP)
(OPERATION 2)
M06
G00G90G43G54H5X0Y0Z1.T15
M08
G00Z0.1
M29S130
G99G84R0.1Z-1.F10.
X1.Y1.
G00Z1.
(TOOL 15)
(1/2 FINISHER)
(OPERATION 3)
M06

Thank you so much for your help over the weekend.
Reply With Quote

  #7   Ban this user!
Old 08-03-2009, 07:10 PM
cadman's Avatar  
Join Date: Jun 2003
Location: USA
Posts: 498
cadman is on a distinguished road

Look at the cycle cancel line in the template and tab the G0 line over a couple places or delete it.
Reply With Quote

  #8   Ban this user!
Old 08-04-2009, 08:07 AM
 
Join Date: Jun 2009
Location: USA
Posts: 10
gr_mich_mush is on a distinguished road

I do not have a G0 in that line. It looks like this.

Cancel
end

From what I can see, the CL file tells it to retract to 1.0000000 three times, at the end.

$$ StartNewTool...
CUTTER / 0.406250, 0.000000, 2.000000
LOAD / TOOL, 3, ADJUST, 3
$$ TOOLID / 3
CUTCOM / ON, LENGTH, 3
SPINDL / RPM, 893.000000, CLW
COOLNT / FLOOD
RAPID
GOTO / 0.0000000, 0.0000000, 1.0000000
$$ ...end StartNewTool.
$$ ...end StartFirstOp.
RAPID
GOTO / 0.0000000, 0.0000000, 1.0000000
RAPID
GOTO / 0.0000000, 0.0000000, 0.1000000
RAPID
GOTO / 0.0000000, 0.0000000, 0.1000000
$$ Starting Drill cycle (DoDrill)...
RAPID
GOTO / 0.0000000, 0.0000000, 0.1000000
CYCLE / DRILL, DEPTH, 1.372100, PERMIN, 7.000000, $
CLEAR, 0.099950
GOTO / 0.0000000, 0.0000000, 0.0000500
GOTO / 1.0000000, 1.0000000, 0.0000500
CYCLE / OFF
RAPID
GOTO / 1.0000000, 1.0000000, 1.0000000
RAPID
GOTO / 1.0000000, 1.0000000, 1.0000000
RAPID
GOTO / 1.0000000, 1.0000000, 1.0000000
$$ StartNewOp...

Either way, you have helped alot. If this is something I have to deal with I can. It was just kinda annoying. I will do some more tweaking to get everything as perfect as I can and then post this as a good Fanuc 16M - 21M template. I am basing this on the last job I had with 3 Leblond Makino w/16Ms and now this job with a NTC w/ 21M. I hope it will help someone. If at some point you can find a way to eliminate that "G00Z1." let me know. Did you see anything else stupid in the template?

Last edited by gr_mich_mush; 08-04-2009 at 08:09 AM. Reason: Nothing important
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- FR-SE AC Spindle Drive - speed & direction input kudos Mazak, Mitsubishi, Mazatrol 9 06-16-2009 05:01 PM
Spindle speed and left/right direction caniggia_100 Bridgeport and Hardinge Mills 3 11-13-2008 07:52 PM
Spindle direction deji Haas Mills 9 02-23-2007 11:53 AM
BPSeriesI / Centroid control- Spindle speed all out of whack with speed dial? peter.blais Bridgeport and Hardinge Mills 9 08-08-2006 03:29 AM
Different speed for different direction. ihkim Hobbycnc (Products) 3 07-31-2005 08:34 AM




All times are GMT -5. The time now is 05:22 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361