Tool related pin, Pin does not exist

More
23 Oct 2019 14:43 - 23 Oct 2019 14:45 #148601 by macsddau@linuxcnc
Hi,

I'm following this manual page :
linuxcnc.org/docs/2.7/html/gui/gmoccapy.html#_tool_related_pin

In .ini.hal file I made this modification (gmoccapy lines are copy/paste form documentation) :
loadusr -W hal_manualtoolchange
#net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
#net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
#net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
#net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number
net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared

Finally I get this error :
Pin 'gmoccapy.toolchange-change' does not exist

What's wrong in my inihal file and/or the documentation ?
Last edit: 23 Oct 2019 14:45 by macsddau@linuxcnc.

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

More
23 Oct 2019 15:51 #148604 by pl7i92
try to do this in a postgui FILE so all is loaded at the time you interact with the gui
The following user(s) said Thank You: macsddau@linuxcnc

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

More
23 Oct 2019 16:04 #148607 by macsddau@linuxcnc
Did I have to keep

loadusr -W hal_manualtoolchange

in the hal file ?

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

More
23 Oct 2019 16:34 #148610 by macsddau@linuxcnc

try to do this in a postgui FILE so all is loaded at the time you interact with the gui


Thanks pl7i92. This is the solution !
I haven't keep the loadurs in hal file.

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

More
23 Oct 2019 17:15 #148612 by newbynobi
Hallo,

you do not need the line:

loadusr -W hal_manualtoolchange

Just comment it out.

Norbert
The following user(s) said Thank You: macsddau@linuxcnc

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

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