- Posts: 19306
- Thank you received: 0
Starting another conversion Harrison L5a
mblaszkiewicz wrote: ipr is feed in inch per reveloution.
and the linux code is what I need to add to my hal
Ah, right, OK.
net spindle-position encoder.0.position motion.spindle-revs
net spindle-speed encoder.0.velocity motion.spindle-speed-in
net spindle-index motion.spindle-index-enable encoder.0.index-enable
(but check the motion pin name in the manual page, I am not 100% sure about the combination of . and - characters
Please Log in to join the conversation.
- mblaszkiewicz
- Topic Author
- Offline
- Elite Member
-
- Posts: 232
- Thank you received: 0
Please Log in to join the conversation.
mblaszkiewicz wrote: Will that also take care of threading
Yes. Threading relies on position and index.
Please Log in to join the conversation.
- mblaszkiewicz
- Topic Author
- Offline
- Elite Member
-
- Posts: 232
- Thank you received: 0
./custom.hal:4: pin 'encoder.0.velocity' was already linked to signal 'spindle-velocity-feedback-rps'
anyway to fix it up ???
Please Log in to join the conversation.
mblaszkiewicz wrote: I ran into a little problem
./custom.hal:4: pin 'encoder.0.velocity' was already linked to signal 'spindle-velocity-feedback-rps'
anyway to fix it up ???
That probably means that it doesn't need fixing, it is probably already linked in the main HAL file.
Did you look?
Please Log in to join the conversation.
- mblaszkiewicz
- Topic Author
- Offline
- Elite Member
-
- Posts: 232
- Thank you received: 0
yes it is the main hal.
do i need to change one or delete one ??
Please Log in to join the conversation.
mblaszkiewicz wrote: net spindle-velocity-feedback-rps encoder.0.velocity => motion.spindle-speed-in
yes it is the main hal.
do i need to change one or delete one ??
Neither. leave that one as it is, it's fine.
You can choose signal names freely, they have no special meaning. Think of them as a wire colour.
Please Log in to join the conversation.
- mblaszkiewicz
- Topic Author
- Offline
- Elite Member
-
- Posts: 232
- Thank you received: 0
Please Log in to join the conversation.
mblaszkiewicz wrote: do I remove the one I added in the custom hal
Yes, remove the one in the custom HAL.
And see if the other motion.spindle... pins are already netted too, they probably are.
Please Log in to join the conversation.
- mblaszkiewicz
- Topic Author
- Offline
- Elite Member
-
- Posts: 232
- Thank you received: 0
Please Log in to join the conversation.
