Limit z-axis movement during tool change
24 May 2016 04:15 #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 or Create an account to join the conversation.
24 May 2016 06:01 #75024
by perra_e
Replied by perra_e on topic Limit z-axis movement during tool change
The following user(s) said Thank You: Diederik
Please Log in or Create an account to join the conversation.
24 May 2016 12:13 #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.
The following user(s) said Thank You: Diederik
Please Log in or Create an account to join the conversation.
13 Mar 2017 13:16 #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
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.
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.
13 Mar 2017 14:30 #89521
by bevins
Nevermind I found where it is.
Replied by bevins on topic Limit z-axis movement during tool change
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.
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.115 seconds