Hello Guest it is April 25, 2024, 03:36:37 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Sandro

Pages: 1
1
FAQs / M6 End
« on: September 30, 2017, 10:37:39 PM »
Hello Everybody,

I'm not completely new to mach3 but it is the first time asking a question as I cannot find anything to my problem. I also believe that it will be an easy fix by looking at all that knowledge out there.

Anyway. All what I want to do is to make my cnc to go to the next g-code line after a tool change rather than back to the m6-start starting position. At the moment I achieve that by creating a G0 move to the tool change position before calling a M6 tool change. Pushing START will go straight into the program rather than back to the m6-starting position. The post processor of my CAD/CAM does not add that G0-move automatically so I will have to do that by hand after reading it out.

My machine is homing to X0 Y0 Z0 in the top right corner which I offset with G54 to a plus value referring to the upper limits to my machine (for example G54 X600 Y600 Z200). Doing that will set my 0,0,0 into the front left corner and onto the machine bed. My CAD/CAM is working fine with that setting and I do not have to write minuses when hand coding. There might be a better way of achieving that but so far it worked for me.

My M6-START lookes like that:

code "F7000"
code "G53 Z-0"
code "G53 X-600 Y-600"
tool = GetSelectedTool()
SetCurrentTool( tool )

which will bring my spindle to the front left corner, easy to reach for a tool change.

I have noticed that the M6-END will call the M6-START position to set the tool up for the g-code to follow. I do not want that move and want to go straight into the g-code instead.

Ok, firstly: If there is a sound reason behind that set up move, I would like to know as I cant see one. But there might be something I don't think of, so if so please let me know.
secondly: If there is no sound reason for the doing that move than I would like to change it accordingly as I do believe that it should be easier to change M6-END then changing the post processor to add a G0 move.

Thanks for any answers

Pages: 1