gmoccapy - tool change and edge finder do not work
- JuFu
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						18 Feb 2025 19:19				#321935
		by JuFu
	
	
		
			
	
			
			 		
													
	
				gmoccapy - tool change and edge finder do not work was created 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
					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.
- zz912
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 573
 - Thank you received: 89
 
			
	
						18 Feb 2025 19:54				#321939
		by zz912
	
	
		
			
	
			
			 		
													
	
				Replied by zz912 on topic gmoccapy - tool change and edge finder do not work			
			
				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
					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.
- JuFu
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						19 Feb 2025 18:04				#322009
		by JuFu
	
	
		
			
	
			
			 		
													
	
				Replied by JuFu on topic gmoccapy - tool change and edge finder do not work			
			
				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..
					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.
- newbynobi
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1929
 - Thank you received: 393
 
			
	
						19 Feb 2025 22:20				#322019
		by newbynobi
	
	
		
			
	
			
			 		
													
	
				Replied by newbynobi on topic gmoccapy - tool change and edge finder do not work			
			
				May be you are missing parts in your config.
Post your complete folder.
Norbert
					Post your complete folder.
Norbert
Please Log in or Create an account to join the conversation.
- Sziggy_NC
 - Offline
 - Junior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 35
 - Thank you received: 1
 
			
	
						20 Feb 2025 05:24				#322030
		by Sziggy_NC
	
	
		
			
	
			
			 		
													
	
				Replied by Sziggy_NC on topic gmoccapy - tool change and edge finder do not work			
			
				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
 			
					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.
- JuFu
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						20 Feb 2025 06:54		 -  20 Feb 2025 06:56		#322034
		by JuFu
	
	
		
			
	
	
		
	
			 		
													
	
				Replied by JuFu on topic gmoccapy - tool change and edge finder do not work			
			
				 
 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.
- JuFu
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						20 Feb 2025 16:08				#322082
		by JuFu
	
	
		
			
	
			
			 		
													
	
				Replied by JuFu on topic gmoccapy - tool change and edge finder do not work			
			
				folder posted			
					Please Log in or Create an account to join the conversation.
- Sziggy_NC
 - Offline
 - Junior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 35
 - Thank you received: 1
 
			
	
						20 Feb 2025 20:51				#322110
		by Sziggy_NC
	
	
		
			
	
			
			 		
													
	
				Replied by Sziggy_NC on topic gmoccapy - tool change and edge finder do not work			
			
				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.
					What behavior do you want M6 to do?
Tool change at G30 will allow you to manually change tools away from the part.
- Add "TOOL_CHANGE_AT_G30=1" to the [EMCIO] portion of your INI file.
 - Power on your machine & home all axis.
 - Jog to the position you want to do manual tool changes at.
 - 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.
 - Test the machine. It should now rapid to this location when you call M6
 
Please Log in or Create an account to join the conversation.
- Sziggy_NC
 - Offline
 - Junior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 35
 - Thank you received: 1
 
			
	
						20 Feb 2025 20:54				#322111
		by Sziggy_NC
	
	
		
			
	
			
			 		
													
	
				Replied by Sziggy_NC on topic gmoccapy - tool change and edge finder do not work			
			
				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.
- JuFu
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						28 Feb 2025 16:06				#322874
		by JuFu
	
	
		
			
	
			
			 		
													
	
				Replied by JuFu on topic gmoccapy - tool change and edge finder do not work			
			
				Tanks for the tip. It helped!
In the meanwhile I chnged to Probe Basic and got it to wook.
Tool measuremt and probing works now.
					In the meanwhile I chnged to Probe Basic and got it to wook.
Tool measuremt and probing works now.
Please Log in or Create an account to join the conversation.
		Moderators: newbynobi, HansU	
		Time to create page: 0.270 seconds