Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: KBFX on November 10, 2008, 07:39:12 PM
-
So i bought a mill.. all types of software and man, who would have thought it would have been this difficult (ha)
anyway, I am using Meshcam to generate tool paths. When i bring them into Mach3 it says Unknown word where unary operation could beline0
I am confused.. this is the code it has produced... where am i going wrong?
TOOL#
RAPID X0.000 Y0.000 Z0.100
RAPID Y0.014
LINE Z-0.067 FEED 0.1
LINE Y0.929 FEED 0.3
X0.014 Y0.914
X0.029
Y0.886
X0.000 Y0.857
Y0.829
X0.029 Y0.800
X0.043
X0.057 Y0.786
Y0.757
X0.043 Y0.743
Y0.686
X0.057 Y0.671
X0.086
X0.100 Y0.657
Y0.629
X0.086 Y0.614
Y0.586
X0.114 Y0.557
X0.143
X0.157 Y0.543
Y0.457
X0.171 Y0.443
X0.214
X0.229 Y0.429
Y0.357
X0.286 Y0.300
Y0.286
X0.343 Y0.229
X0.357
X0.429 Y0.157
X0.457
X0.471 Y0.171
X0.486
X0.514 Y0.143
Y0.100
X0.529 Y0.086
X0.557
X0.571 Y0.100
X0.600
X0.614 Y0.086
Y0.057
X0.643 Y0.029
X0.686
X0.700 Y0.043
X0.714
X0.743 Y0.014
Y0.000
X0.000
Y0.014
RAPID Z0.100
RAPID X0.829 Y0.000
LINE Z-0.067 FEED 0.1
LINE X0.843 Y0.014 FEED 0.3
Y0.057
X0.829 Y0.071
Y0.086
X0.814 Y0.100
Y0.114
X0.800 Y0.129
-
You used the wrong post processor in MeshCAM. Make sure you choose the Mach2-Inch or mach2-mm post.
-
Lotsa stuff in there that is not G-code. It's a mish-mash of G-code and non-G-code. Specifically, the following words are NOT G-code:
Tool#
RAPID
LINE
FEED
MeshCAM should offer different posrt-processors to output G-code to suit different machine controllers, and there certainly should be one specifically for Mach3.
Regards,
Ray L.
-
Thank you very much guys, I am redoing it now.. Ill post progress.
SERIOUSLY appreciated.. Lots of little things a newby would never know...
Thanks again and again
bow bow
-
Okay, well- we have code now.. but i ran it and this thing-- uhm.. it dont know where it is.
I referenced the zeros so that they were in the bottom left of the stock.. and well.. the thing started going toward -Y rather than +y.. frustrating.... to say the least.
-
Do the axes move the right direction when you jog? Are you aware that movement is based on the tool, not the work? i.e. - moving -X will move the tool to the left, or the table to the right. Moving -Y will move the tool towards the front of the machine, or the table towards the back of the machine.
How about posting your updated code? Sounds like you're close...
Regards,
Ray L.
-
yes, they do. They werent, but the do now. I fixed that.
The machine starts out and looks like it is doing well.. Then it Zeros, plunges (I assume this means -Z) WAY deep then starts again but in a ridiculous spot that cuts right through the section it just cut.. THEN tries to go deeper.. The whole part is only .145 thick...
I emailed the code to robert...
I will also add that i am running this on a p3 700mhz. The computer runs well, and does not seem overwhelmed by the software at all... infact, compared to the video tutorial from deepgroove.. i think its faster that what ever he was using.. (at least at opening the program)
Night one-- bummed. Hopefully, tomorrow will bring new light on it..
thanks for all your help= but i have to sleep.
Keith