How do I do a manual tool change?
- tommylight
-
- Offline
- Moderator
-
- Posts: 20401
- Thank you received: 6937
Really ??????lol, here we are, 9 years later and still no manual tool change? That came unexpected to me, as I find it hard to understand why to just stop disabling jogging and let me jog just like mach3/4 and let me reset Z at any position. Seems dead simple... seems like that is gonna ruin my day today haha
Maybe you forgot this:
forum.linuxcnc.org/39-pncconf/44138-stra...n-analog-outputs-ssr
Please Log in or Create an account to join the conversation.
- Vladcronos
-
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23377
- Thank you received: 4966
Hi Andy, I am here with the same problem, and I agree that manual tool change is a pita. I can easily setup a sensor tho, right on a side of a bed for example. I am not very experienced in coding though, Could you please guide me in the right direction, maybe there is some sort of basic guide on setting that up anywhere?
If you use the Gmoccapy GUI then tool-length probing is integrated in to the GUI (with a few config tweaks):
linuxcnc.org/docs/2.8/html/gui/gmoccapy....uto-tool-measurement
Please Log in or Create an account to join the conversation.
- Vladcronos
-
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 0

Please Log in or Create an account to join the conversation.
- Vladcronos
-
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 0
This part alone should have anyone worried. "your_linuxcnc-dev_directory" , "config-dir"... seriously, ffs....You must copy the following files to your config directoryFirst make a directory python in your config folder from your_linuxcnc-dev_directory/configs/sim/gmoccapy/python copy toplevel.py to your config_dir/python folder. Copy remap.py to your config_dir/python folder Copy stdglue.py to your config_dir/python folder.From your_linuxcnc-dev_directory/configs/sim/gmoccapy/macros copy on_abort.ngc to the directory specified in the SUBROUTINE_PATH see RS274NGC Section . From your_linuxcnc-dev_directory/configs/sim/gmoccapy/macros copy change.ngc to the directory specified as SUBROUTINE_PATH see RS274NGC Section . Open change.ngc with a editor and uncomment the following lines (49 and 50):
Seriously considering selling all linux setup and going back to mach4+pokeys57. Counting time alone I am already $1000+ in loss just setting that all up just by hours of struggle alone.
Please Log in or Create an account to join the conversation.
- +Jan+
- Offline
- Senior Member
-
- Posts: 60
- Thank you received: 16
In the comments of the video you find the link to the files: www.talla83.de/linuxcnc/WZ-PROBE.zip
The only thing I had to do is cancelling the TLO a bit earlier than in the original file:
Instead:
...
G53 Z#1702 (Wechsel Z Position)
G53 X#1700 Y#1701 (Wechsel XY Position)
M6 T#<_selected_tool>
G53 X#1801 Y#1802 (Taster Position)
G53 Z#1800 (Sichere Z Position)
G43.1 Z0 (TLO reset)
...
I hat to do:
...
G53 Z#1702 (Wechsel Z Position)
G53 X#1700 Y#1701 (Wechsel XY Position)
M6 T#<_selected_tool>
G43.1 Z0 (TLO reset)
G53 X#1801 Y#1802 (Taster Position)
G53 Z#1800 (Sichere Z Position)
...
Otherwise I got the message that the file exceeds Z limits...
I have a feeling that whoever wrote that documentation spent much more time and more effort to make that text than
Linuxcnc brings the advantage of maximum adaptability. I always look at the manual from this point of view. It is not about showing a way, but to enable the user to implement his own way. Without a lot of training or programming experience, it's difficult (that's how I feel, too). But hey, there is fortunately this forum, Youtube and other sources of information. I am glad that there are people who develop and document such a powerful free tool like Linuxcnc in their free time.
Best wishes
Jan
Please Log in or Create an account to join the conversation.
- Vladcronos
-
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 0
Spent the whole day already simply trying to solve stupid problem that shouldn't even exist - simultaneous Wi-Fi and mesa board connection - doesn't work on default settings. Kinda solved it but still very shaky. And yeah, I youtubed and googled the sh&t out of everything before even coming here. Not really well documented on internet aside from original source, seems like not many people are even using this, especially gmoccapy that I chose. Going to switch to Axis tomorrow and start over.
Usually a good documentation should allow a user without deep HAL programming knowledge to use given software. Not the case here, as documentation is pretty useless - you cant just copy paste any blocks or use basic logic, you absolutely need to learn all that deep coding first, in which case might as well have no documentation at all, as it all renders it completely useless. Once I learn syntax and understand the architecture, I wouldnt care less about those instructions. Documentation for GMOCCapy is so huge, and badly written, that I feel that that person should have just spent all that time working on the software instead, apparently huge amounts of time spent on writing that, which serves nearly zero purpose - basic functions work out of the box as is, and for everything else you can consider that documentation non existing.
Please Log in or Create an account to join the conversation.
- d2inventory
- Offline
- Senior Member
-
- Posts: 42
- Thank you received: 10
Also Wi-Fi and mesa board works on default settings, well at least I haven't changed the default settings for mine and it works.
Could it be that the problem exists between your screen and chair?
Please Log in or Create an account to join the conversation.
- Vladcronos
-
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 0
As far as rewriting, as I already said, that time could be utilized into making a better code and not into writing 1000 page poems of how to work around that mess by coding stuff. Good code needs the minimum of documentation.
I am still suspecting that going to gmoccapy was a mistake in a first place, which is why I will try the default UI for linuxcnc today, the layout and tools there seem waaaaay more logical and clean. I only chose gmoccapy because I have a large touch screen there.
AFA that wifi issue goes, google that and you will easily find out that it is a known problem without any workarounds really. despite setting 10.10.10.10 for the card, the wifi would immediately become non responsive once mesa is connected.
You have to keep in mind that i am on rpi4 and not on a full computer, that doesnt make the setup simpler, as you can imagine. But I wanted a clean setup where the whole brain is attached behind my monitor and the only wire to control section is LAN cable. Going to put my whole saturday to the drain today probably to do another attempt to make that tool change work.
It is absolutely ridiculous that linuxCNC wont just simply let you jog and reset the tool height manually, thats literally two line of code to enable that, 1) stop disabling manual jog during tool change and 2) enable Z zeroing. How hard can that even be? And guess what I have seen people reporting that and requesting that feature since 2012(!!!) to no avail. Yes you are gonna again say its free, but ffs guys, even if its free it doesnt give it a right to be so half assed and not add basics like that for nearly 10 years. I personally absolutely dont mind paying for software, I actually prefer that. Sadly I did not find any linux based software I could buy.
I know some of you are probably immortal and have endless time in their life, and dont get me wrong, I do enjoy tinkering and I am a maker, but when it comes to some stupid and ridiculous things where I am forced now into working with such half assed things, that can't be any further from creative fun I like having when tinkering.
Please Log in or Create an account to join the conversation.
- Vladcronos
-
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 0
Please Log in or Create an account to join the conversation.