Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: scoobystu on August 15, 2014, 10:30:25 AM
-
Hello,
I am using Artcam pro to generated G-code with arcs, whenever I try and generate the code with more than one tool I get a warning to say that my post processor does not support toolchanges. Is there something I can add to the post processor file to sort this? It is not a huge issue but it does mean I am not using the machine and it's facilities to it's full potential. It would also save me having to generate several files for one job.
Many thanks,
Stu
-
Check the ArtCAM manual forhow to edit post processors, but you need to add something like this to your post processor:
TOOLCHANGE = "M6 [T]"
TOOLCHANGE = "M3"
-
Thanks for that. The manual isn't great but having had a look at some of the other post processors it would make sense to put that at the end of the file. I would imagine that it goes through each process and determines if there is a new tool after each operation.
-
There also should be an S in brackets in there with the M3, but the forum wouldn't take it in the correct format.
-
START = "T[T] M6"
START = "[ S] M3"
TOOLCHANGE = "T[T] M6"
TOOLCHANGE = "[ S] M3"
-
Thanks again, that seems to have done the trick. Do I need to add an M05 before the M6 or does the M6 have a macro that will stop the spindle when it comes for a toolchange?
-
You should add another toolchange line with the M5 before the M6.
-
I haven't had a M5 before my tool changes in ArtCam in years though I do have one at the END
added one of my posts below
I added the .txt as not sure it would post here
-
If you have Mach3 set to "Stop Spindle, Wait for Cycle Start", then you don't really need the M5. But it's probably good practice to have it in there.
-
Thanks for your help. I think I have something suitable I will give it a go tomorrow.