gmoccapy - tool change and edge finder do not work

More
18 Feb 2025 19:19 #321935 by JuFu
Hallo, I installed LinuxCNC 2.9.4 with gmoccapy 3.4.8 on my 3 axis mill (router).
While I can operate (home all 3 axis and move manually and by NC program) the tool change (and measurement) does not function.
When I click on the edge finder button at the bottom of gmoccapy screen, nothing happens.

I would like to debug and find out what's wrong on my setup.
How can I trace what gmoccapy is doing? What should it do when I click the edge finder icon?
Does gmoccapy call a macro? or another program to execute?
Hope for help
Juergen

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

More
18 Feb 2025 19:54 #321939 by zz912
If you want find out default behavior, you should try sim (simulation) configuration of Gmoccapy:
configs/sim/gmoccapy/gmoccapy.ini

Is it your first instalation, or did you upgrade from 2.9.3 to 2.9.4?

Here is manual:
linuxcnc.org/docs/stable/html/gui/gmoccapy.html

Here is source code:
github.com/LinuxCNC/linuxcnc/blob/2.9/sr...gmoccapy/gmoccapy.py

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

More
19 Feb 2025 18:04 #322009 by JuFu
thanks for the reply.
It's a fresh installation of latest gmoccapy version.
I'm not a software guy, but followed the manual as much as possible.
Have no chance to dig into python stuff.
As mentioned, referencing the axis, MDI, already works. Even macros.
Its the M6 what does not work..

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

More
19 Feb 2025 22:20 #322019 by newbynobi
May be you are missing parts in your config.
Post your complete folder. 

Norbert 

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

More
20 Feb 2025 05:24 #322030 by Sziggy_NC
I am not sure what the edge find button is.

I am assuming that your router needs to move to a certain spot for the tool change. Look into tool change at G30. Make sure your program retracts the Z high enough before every tool change. 

If you have an automatic tool changer you will need to remap the M6 command.  linuxcnc.org/docs/html/remap/remap.html#...lated_codes_t_m6_m61

 

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

More
20 Feb 2025 06:54 - 20 Feb 2025 06:56 #322034 by JuFu
 

File Attachment:

File Name: Foxy_gmoccapy.zip
File Size:23 KB
attached the compressed config folder.
 
Attachments:
Last edit: 20 Feb 2025 06:56 by JuFu.

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

More
20 Feb 2025 16:08 #322082 by JuFu
folder posted

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

More
20 Feb 2025 20:51 #322110 by Sziggy_NC
Could I get a picture of the edge find button? If you use print screen button on your keyboard it will allow you to copy the screen to the clipboard or save a picture of your screen to your hard drive.

What behavior do you want M6 to do?

Tool change at G30 will allow you to manually change tools away from the part.
  1. Add "TOOL_CHANGE_AT_G30=1" to the [EMCIO] portion of your INI file.
  2. Power on your machine & home all axis.
  3. Jog to the position you want to do manual tool changes at.
  4. Type G30.1 into MDI and run it. This will save the current machine position as the location to go to when a tool change is called.
  5. Test the machine. It should now rapid to this location when you call M6
linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G30-G30_1

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

More
20 Feb 2025 20:54 #322111 by Sziggy_NC
The parameters that store the location of the G30 are persistent. Even after rebooting the PC the G30 location will be the same. You only need to do G30.1 once.

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

Moderators: newbynobiHansU
Time to create page: 0.077 seconds
Powered by Kunena Forum