Tool in spindle memory

More
19 Apr 2023 23:21 #269457 by andypugh
Replied by andypugh on topic Tool in spindle memory
I decided to look into this, and to an extent LinuxCNC already does this, but only if you have a random toolchanger.

github.com/LinuxCNC/linuxcnc/blob/master...sk/ioControl.cc#L780

It doesn't look like iocontrol is responsible for updating the #5400 parameter, though.

However, if you add #5400 to the .var file then it does get saved. It is just that LinuxCNC then sets it back to zero on startup.

So, it might not take that much to make it work.

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

More
21 Jul 2024 07:51 #305756 by Pro_El
Replied by Pro_El on topic Tool in spindle memory
Are there any news for implementing spindle tool memory? I implement no random toolchanger, just need to remember the tool after restart


RANDOM_POSITION_TOOLCHANGER = 1
this remember tool but put it randomly in pocket, can someone think option to connect pocket and tools to be same number...

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

More
16 Oct 2024 07:09 - 16 Oct 2024 07:59 #312222 by xenon-alien
Replied by xenon-alien on topic Tool in spindle memory
Hello.
The random tool changer works, remembers the last tool (after adding the 5400 variable in the .var file).
One question is left.
How to put the tool in spindle in an empty pocket? (if needed)
T0 M6 - not helps. (as usually in manual tool change)
In the tool table there is no T0 P0 line...

Helped:
Added In the tool table the T0 P0 line
Changed the toolchange.ngc
O100 IF [#<selected_tool> GT 0]
to
O100 IF [#<selected_tool> GE 0]
 
Last edit: 16 Oct 2024 07:59 by xenon-alien.

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

Time to create page: 0.087 seconds
Powered by Kunena Forum