Tool related pin, Pin does not exist

More
7 years 1 week ago #148601 by macsddau@linuxcnc
Hi,

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

In [strike].ini[/strike].hal file I made this modification (gmoccapy lines are copy/paste form documentation) :
Code:
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 :
Code:
Pin 'gmoccapy.toolchange-change' does not exist

What's wrong in my [strike]ini[/strike]hal file and/or the documentation ?

Please Log in to join the conversation.

More
7 years 1 week ago #148604 by pl7i92
try to do this in a postgui FILE so all is loaded at the time you interact with the gui

Please Log in to join the conversation.

More
7 years 1 week ago #148607 by macsddau@linuxcnc
Did I have to keep

loadusr -W hal_manualtoolchange

in the hal file ?

Please Log in to join the conversation.

More
7 years 1 week ago #148610 by macsddau@linuxcnc

pl7i92 wrote: 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 to join the conversation.

More
7 years 1 week ago #148612 by newbynobi
Hallo,

you do not need the line:

loadusr -W hal_manualtoolchange

Just comment it out.

Norbert

Please Log in to join the conversation.

Time to create page: 4.831 seconds
Powered by Kunena Forum