gmoccapy.toolchange-change Not Found
- soram
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
01 Jul 2022 17:20 #246383
by soram
gmoccapy.toolchange-change Not Found was created by soram
Guys,
Hope you can help - I'm pulling my hair out at this stage. I have been through all the posts related to this from previous years and all the manuals but I cannot for the life of me get this pin to connect
I have the following line in my custom_postgui.hal file but it is not finding gmoccapy.toolchange-change (Or any of the other 3 required)
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
If I comment it out and go to the hal meter on the running application I can see the signal but my postgui will not link to it. I have a generated config from with a MESA board I am just hacking to put in the probe code. Is there something in the CONFIG I need to untick / tick before I add these lines? Or anything else I might be missing? I've been through the INI and main HAL files but nothing jumps out at me!
Any help appreciated
Hope you can help - I'm pulling my hair out at this stage. I have been through all the posts related to this from previous years and all the manuals but I cannot for the life of me get this pin to connect

I have the following line in my custom_postgui.hal file but it is not finding gmoccapy.toolchange-change (Or any of the other 3 required)
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
If I comment it out and go to the hal meter on the running application I can see the signal but my postgui will not link to it. I have a generated config from with a MESA board I am just hacking to put in the probe code. Is there something in the CONFIG I need to untick / tick before I add these lines? Or anything else I might be missing? I've been through the INI and main HAL files but nothing jumps out at me!
Any help appreciated
Please Log in or Create an account to join the conversation.
- soram
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
01 Jul 2022 17:32 #246385
by soram
Replied by soram on topic gmoccapy.toolchange-change Not Found
OK - apologies but I went through the files again and found the issue......
It appears that the PNCCONF tool inserts the line below at the top of the main HAL file
source postgui_call_list.hal
So this is called before everything else
If I delete this line it works. Am I missing something here? The postgui_Call_list.hal is also declared in the HAL section of the INI.....
Cheers
It appears that the PNCCONF tool inserts the line below at the top of the main HAL file
source postgui_call_list.hal
So this is called before everything else

If I delete this line it works. Am I missing something here? The postgui_Call_list.hal is also declared in the HAL section of the INI.....
Cheers
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7885
- Thank you received: 2133
01 Jul 2022 18:37 #246389
by cmorley
Replied by cmorley on topic gmoccapy.toolchange-change Not Found
What version of linuxcnc are you using?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4946
03 Jul 2022 10:17 #246493
by andypugh
Replied by andypugh on topic gmoccapy.toolchange-change Not Found
No, it seems that you have probably found a fix to a PNCCONF bug. (Which is why Chris is asking about LinuxCNC versions, I would guess he wants to check if it's a fixed issue or not)If I delete this line it works. Am I missing something here?
Please Log in or Create an account to join the conversation.
- soram
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
04 Jul 2022 09:42 #246565
by soram
Replied by soram on topic gmoccapy.toolchange-change Not Found
OK - not sure if this is correct but the splash screen says 2.8.2-11 and some other numbers I'm not quick enough to write down. I may get to it later. Is there somewhere else to read it?
It was the Debian / LinuxCNC install image that was on the websites.
GMOCCAPY is 3.1.3.8
This is in the INI:
# Generated by PNCconf at Fri Jul 1 11:50:58 2022
# Using LinuxCNC version: 2.8
# If you make changes to this file, they will be
# overwritten when you run PNCconf again
It was the Debian / LinuxCNC install image that was on the websites.
GMOCCAPY is 3.1.3.8
This is in the INI:
# Generated by PNCconf at Fri Jul 1 11:50:58 2022
# Using LinuxCNC version: 2.8
# If you make changes to this file, they will be
# overwritten when you run PNCconf again
Please Log in or Create an account to join the conversation.
- soram
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
04 Jul 2022 09:45 #246566
by soram
Replied by soram on topic gmoccapy.toolchange-change Not Found
This is the top of the HAL with the offending entry:
# Generated by PNCconf at Sun Jul 3 11:35:31 2022
# Using LinuxCNC version: 2.8
# If you make changes to this file, they will be
# overwritten when you run PNCconf again
loadusr -Wn pyvcp pyvcp -c pyvcp [DISPLAY](PYVCP)
source postgui_call_list.hal
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"
setp hm2_7i76e.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.y,pid.z,pid.s
loadrt abs names=abs.spindle
loadrt lowpass names=lowpass.spindle
# Generated by PNCconf at Sun Jul 3 11:35:31 2022
# Using LinuxCNC version: 2.8
# If you make changes to this file, they will be
# overwritten when you run PNCconf again
loadusr -Wn pyvcp pyvcp -c pyvcp [DISPLAY](PYVCP)
source postgui_call_list.hal
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"
setp hm2_7i76e.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.y,pid.z,pid.s
loadrt abs names=abs.spindle
loadrt lowpass names=lowpass.spindle
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.070 seconds