- Posts: 141
- Thank you received: 0
Tool in spindle memory
--- a/interp_array.cc 2019-04-19 21:06:06.417653618 +0300
+++ b/interp_array.cc 2019-04-19 21:05:30.009473042 +0300
@@ -224,7 +224,7 @@
5381, 5382, 5383, /* coordinate system 9 */
5384, 5385, 5386, /* A, B, & C */
5387, 5388, 5389, /* U, V, & W */
- 5390,
+ 5390,5400,
RS274NGC_MAX_PARAMETERS
};
Please Log in to join the conversation.
What is then needed is for iocontrol (or similar) to load the tool if it finds it non-zero in the .var file.
I think that Chris was looking at this?
Please Log in to join the conversation.
Just go to the settings page and enable "reload tool on start up"
After that gmoccapy will set the last tool in spindle with an MDI command after you homed the machine.
Norbert
Please Log in to join the conversation.
newbynobi wrote: Why don't you use gmoccapy?
Because this is a feature which shouldn't depend on the GUI.
(Gmoccapy attempts to fix too many shortcomings of LinuxCNC in the GUI when really they should be fixed for all GUIs in the common code)
Please Log in to join the conversation.
andypugh wrote: Adding it manually to the .var file seems like a reasonable way to enable the behaviour.
What is then needed is for iocontrol (or similar) to load the tool if it finds it non-zero in the .var file.
I think that Chris was looking at this?
I am - I wrote an email to the dev list about an initialization problem of i0control.
I'm not sue there are many active devs left in linuxcnc though...
Once a correct fix for that is decided then using to initizle a tool should be fairly easy.
Again my though is to use a HAL pin so it can be connected to a hardware or software solution but I am open to arguments.
I am now out of town working so probably can't get back to it much for a couple weeks.
Ultimately I think i might try to write a python replacement for iocotrol - there is no good reason for it to be in C.
but that is another goal all together.
Chris M
Please Log in to join the conversation.
Please Log in to join the conversation.
cmorley wrote: I'm not sue there are many active devs left in linuxcnc though...
I think Chris is concentrating on watchmaking, and Jeff said a while ago that he was moving away (given that AFAIK Jeff never owned a CNC machine, this isn't really unreasonable)
There active devs, but you are one of them
Please Log in to join the conversation.
- viesturs.lacis
- Offline
- Premium Member
-
- Posts: 114
- Thank you received: 0
Is there any update on this issue? I am now in situation where it would be very convenient, if LinuxCNC would save and restore the tool number in spindle.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
We have another machine (not a Fanuc) that does remember tool positions. It is nice when it works, but the manufacturer didn't build a simple routine for resetting the changer and tool # in spindle in the event that something does go wrong. Then it becomes a pain, looking up a number of M-codes use for setting parameter numbers and little used procedure sequences to reset it.
Please Log in to join the conversation.
Please Log in to join the conversation.
