Limit z-axis movement during tool change

More
24 May 2016 04:15 #75022 by Diederik
I am busy converting a c-tek milling machine to linuxcnc, this machine requires z-axis movement during tool change. Has anyone done this before?

I made the point of tool clamp and unclamp to be at g30z0, but encountered a problem. It worked well, until there was a power failure, and then after starting up (after the power failure), the machine lost its g30z0 position, and broke the whole carousel off the machine.

I'm currently using a sub routine, and was planning to remap m6, to execute the sub-routine, but I am thinking to not use g30z0, but rather machine coordinate, with g53, and move machine with g53, during tool change.

But I need to command something like m64p3, during the sub-routine /remapping of m6, to limit the movement of the z-axis.

Any advice how I can do that?

Please Log in or Create an account to join the conversation.

More
24 May 2016 06:01 #75024 by perra_e
I do a z-move during toolchange using G53.
I attach my subroutine for that here.

Here is also a short film where I test the toolchange and measuring toollength.



File Attachment:

File Name: toolchange.ngc
File Size:3 KB
Attachments:
The following user(s) said Thank You: Diederik

Please Log in or Create an account to join the conversation.

More
24 May 2016 12:13 #75037 by andypugh
Have a look at the config in sim/axis/vismach/VMC_toolchange

That has an example of a G-code subroutine that uses G53 to move the head during tool change.

You can edit the subroutine to suit your system, and if it goes wrong you only damage pixels.
The following user(s) said Thank You: Diederik

Please Log in or Create an account to join the conversation.

More
13 Mar 2017 13:16 #89516 by bevins

I do a z-move during toolchange using G53.
I attach my subroutine for that here.

Here is also a short film where I test the toolchange and measuring toollength.



File Attachment:

File Name: toolchange.ngc
File Size:3 KB


I know this is an older thread but I have to come to terms on how this works.
How do you correlate the M64 P0 to an output that opens the lid?

I dont get it....

Please Log in or Create an account to join the conversation.

More
13 Mar 2017 14:30 #89521 by bevins

I do a z-move during toolchange using G53.
I attach my subroutine for that here.

Here is also a short film where I test the toolchange and measuring toollength.



File Attachment:

File Name: toolchange.ngc
File Size:3 KB


I know this is an older thread but I have to come to terms on how this works.
How do you correlate the M64 P0 to an output that opens the lid?

I dont get it....


Nevermind I found where it is.

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum