gmoccapy.toolchange-change Not Found

More
01 Jul 2022 17:20 #246383 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

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

More
01 Jul 2022 17:32 #246385 by soram
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

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

More
01 Jul 2022 18:37 #246389 by cmorley
What version of linuxcnc are you using?

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

More
03 Jul 2022 10:17 #246493 by andypugh

If I delete this line it works. Am I missing something here? 

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) 

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

More
04 Jul 2022 09:42 #246565 by soram
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

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

More
04 Jul 2022 09:45 #246566 by soram
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

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

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