- Posts: 38
- Thank you received: 0
Tool Clamp / Unclamp bit
9 years 5 months ago #93661
by dextaca
Tool Clamp / Unclamp bit was created 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
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 to join the conversation.
9 years 5 months ago #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.
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 to join the conversation.
9 years 5 months ago #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 to join the conversation.
9 years 5 months ago #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 to join the conversation.
Time to create page: 0.095 seconds
