post processor/Linuxcnc axis and g code error message

post processor/Linuxcnc axis and g code error message

Anonymous
Not applicable
1,120 Views
7 Replies
Message 1 of 8

post processor/Linuxcnc axis and g code error message

Anonymous
Not applicable

 

Hi, Im back for more help, this forum is very helpful to me. So made a file in Fusion, everything works in simulation for CAM. I go to post process and I selected Mach3 as the configuration, (as far as I can tell thats the one for my Probotix/linuxcnc set up?). I put the file onto the cnc computer and open it up, first message was a tool was missing, fixed that and reopened. Then I got an error message that said "warning, near line 6265 cannot use axis values without a g code that uses them". As you can tell this is my first go at this and Im not sure where to look for help on this one. Did I use wrong config? Should I edit the code myself? Thanks in advance. Line 6265 is blank, next there is a M9 at 6264, looks like a Z coordinate in line 6266. This is one of the last lines of code too. 

0 Likes
1,121 Views
7 Replies
Replies (7)
Message 2 of 8

LibertyMachine
Mentor
Mentor

There is a gneric LinuxCNC post, have you tried that?


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes
Message 3 of 8

Anonymous
Not applicable

turns out mach3 works fine, tool Z parameter was off as well as xyz setting from set up. In fusion, is there an easier way to set the z length of each tool for the probotix? also how about a machine stop to change out tools? my probotix doesnt have automatic tool change so if i have another tool in a set up it just keeps going. I know there are several g code stops but i am not sure which one I could edit into the post process. i mean i could have each tool as its own set up but loading each file and reseting the touch off seems like a waste of time. hopefully this makes sense.

0 Likes
Message 4 of 8

LibertyMachine
Mentor
Mentor

Later on this morning I could take a peek into the Mach3 post and see what needs to be changed, so yes, it's easily possible. 

In the meanwhile, all you would need to change is turning the M01 into an M00.

This would make the machine stop. Now, of course, there are other things you could have it do. Does your machine have limit switches  (I assume so) What about the tool touch off device? You could get the code to move to the upper Z limit as well as go to the touch block if you want. You could also have a comment in the program to change tools.


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
Message 5 of 8

LibertyMachine
Mentor
Mentor

Let me know what you would like to see happen at the end of each tool, and then I can set the generic Mach3 post to behave as desired.

 

What exactly do you mean about setting the Z lengths in Fusion so they work with your Probotix?


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
Message 6 of 8

Anonymous
Not applicable

my machine runs a dewalt 610 router so all tool changes are manual. I guess I could cut a block of wood and place it under the tool so the length of the tool is consistent and I wouldnt have to check the measurment each time. I find it odd that the mach3 didnt automatically have a stop or tool change command in the setup I did, fusion did know that there were two different tools. My work around for this was to just make it a seperate operation for the second  different tool path. And yes my machine does have limits. When it finishes an operation it brings the router to the front left of the table where the tool touch off is.

 

The thing I dont understand about my difficulty yesterday was, and I know I had the z axis right but the x,y backwards so it thought the work piece was 180, but that the z was off in the way of depth. This was after I did the tool touch off and the work piece touch off, I assumed from these two operations it would know where the tool end was, instead it defaulted to the z length in the tool library, which sent it through the work piece and not to the depth I wanted it to stop. 

 

Thanks for helping me think this through.

0 Likes
Message 7 of 8

Anonymous
Not applicable

You know after typing that, maybe it would have stopped for a tool change. I had a repetitive pass programed and maybe thats what I saw when I stopped it. You think that would be an M01 command in the post process?

0 Likes
Message 8 of 8

LibertyMachine
Mentor
Mentor

An M01 is an Optional Stop. If Mach3 now has an option for Optional stop (It's been about 5 years since I've played with it and memory is foggy) it will stop on an M01

However!

If you forget to turn that on, it will continue to run through all the code like it's nobodys business.

Mach 3 (to my knowledge) doesn't support automatic tool changing, but I think you can establish a position for the machine to go to when it encounters an M6. It should wait for you, I believe. Man, it's been so long, I want to get my hands on it now so I know for sure, lol

 

In regards to your setup in Fusion versus how the part was cut...

Did you have all 3 arrows (red, green, blue; X, Y, Z) pointed the proper way and set on the proper surfaces? What about your machine, which axis motion is the X axis? Some routers define the gantry as X and others define the carriage that is mounted on the gantry as X (if that makes any sense. It's a lot easier to explain when looking at a conventional milling machine, of any size.


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes