- Posts: 141
- Thank you received: 0
Limit z-axis movement during tool change
10 years 5 months ago #75022
by Diederik
Limit z-axis movement during tool change was created 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?
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 to join the conversation.
10 years 5 months ago #75024
by perra_e
Replied by perra_e on topic Limit z-axis movement during tool change
Please Log in to join the conversation.
10 years 5 months ago #75037
by andypugh
Replied by andypugh on topic Limit z-axis movement during tool change
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.
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.
Please Log in to join the conversation.
9 years 7 months ago #89516
by bevins
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....
Replied by bevins on topic Limit z-axis movement during tool change
perra_e wrote: 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.
Attachment not found
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 to join the conversation.
9 years 7 months ago #89521
by bevins
Nevermind I found where it is.
Replied by bevins on topic Limit z-axis movement during tool change
bevins wrote:
perra_e wrote: 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.
Attachment not found
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 to join the conversation.
Time to create page: 0.086 seconds
