Starting another conversion Harrison L5a

More
30 Dec 2015 01:12 #67485 by andypugh

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
The following user(s) said Thank You: mblaszkiewicz

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

More
30 Dec 2015 02:11 #67488 by mblaszkiewicz
Will that also take care of threading

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

More
30 Dec 2015 11:54 #67503 by andypugh

Will that also take care of threading


Yes. Threading relies on position and index.
The following user(s) said Thank You: mblaszkiewicz

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

More
30 Dec 2015 22:17 #67551 by mblaszkiewicz
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 ???

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

More
30 Dec 2015 22:55 #67554 by andypugh

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 or Create an account to join the conversation.

More
30 Dec 2015 23:11 #67555 by mblaszkiewicz
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 ??

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

More
30 Dec 2015 23:12 - 30 Dec 2015 23:13 #67556 by andypugh

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.
Last edit: 30 Dec 2015 23:13 by andypugh.

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

More
30 Dec 2015 23:13 #67557 by mblaszkiewicz
do I remove the one I added in the custom hal

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

More
30 Dec 2015 23:14 #67558 by andypugh

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 or Create an account to join the conversation.

More
30 Dec 2015 23:19 #67559 by mblaszkiewicz
yes they all are. How do I work around it

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

Moderators: cncbasher
Time to create page: 0.484 seconds
Powered by Kunena Forum