Tool Clamp / Unclamp bit

More
26 May 2017 14:31 #93661 by dextaca
Good Day to all
finally for the retrofit up and running, home , limit switches are working, spindle spinning.. etc.. next step will be the atc , and aux functions..
Have some trouble locating tool clamp unclamp bit.. any help please?!

Thank you
Peter

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

More
26 May 2017 16:08 #93672 by andypugh
Replied by andypugh on topic Tool Clamp / Unclamp bit
There isn't a tool clamp/unclamp output from LinuxCNC, as toolchangers are too variable in there sequences.

Take a look at the sim/axis/vismach/vmc_toolchange simulator config, that has both spindle lock and tool clamp outputs. In that case they are handled as part of a sequence encoded in a G-code subroutine:

github.com/LinuxCNC/linuxcnc/blob/master...hange/toolchange.ngc

That uses M64 to output a digital signal to HAL, then waits for comfirmation using M66.

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

More
31 May 2017 00:00 #93863 by dextaca
Replied by dextaca on topic Tool Clamp / Unclamp bit
Thank you Andy. a bit off the topic.. I have the original Kitamura ATC / machine PLC code..would you suggest to copy this ladder into the linuxcnc, to be a copy of the original.. or just do our home brew.?

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

More
31 May 2017 10:57 #93869 by andypugh
Replied by andypugh on topic Tool Clamp / Unclamp bit
I think that it would certainly be worth trying the PLC code. It should be just as capable of reading/writing HAL pins as the G-code sub.

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

Time to create page: 0.146 seconds
Powered by Kunena Forum