- Posts: 148
- Thank you received: 0
Tool related pin, Pin does not exist
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
7 years 1 week ago #148601
by macsddau@linuxcnc
Tool related pin, Pin does not exist was created 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) :
Finally I get this error :
What's wrong in my [strike]ini[/strike]hal file and/or the documentation ?
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.
7 years 1 week ago #148604
by pl7i92
Replied by pl7i92 on topic Tool related pin, Pin does not exist
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.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
7 years 1 week ago #148607
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Tool related pin, Pin does not exist
Did I have to keep
in the hal file ?loadusr -W hal_manualtoolchange
Please Log in to join the conversation.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
7 years 1 week ago #148610
by macsddau@linuxcnc
Thanks pl7i92. This is the solution !
I haven't keep the loadurs in hal file.
Replied by macsddau@linuxcnc on topic Tool related pin, Pin does not exist
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.
7 years 1 week ago #148612
by newbynobi
Replied by newbynobi on topic Tool related pin, Pin does not exist
Hallo,
you do not need the line:
loadusr -W hal_manualtoolchange
Just comment it out.
Norbert
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
