Starting another conversion Harrison L5a

More
10 years 10 months ago #67485 by andypugh

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.

More
10 years 10 months ago #67488 by mblaszkiewicz
Will that also take care of threading

Please Log in to join the conversation.

More
10 years 10 months ago #67503 by andypugh

mblaszkiewicz wrote: Will that also take care of threading


Yes. Threading relies on position and index.

Please Log in to join the conversation.

More
10 years 10 months ago #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 to join the conversation.

More
10 years 10 months ago #67554 by andypugh

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.

More
10 years 10 months ago #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 to join the conversation.

More
10 years 10 months ago #67556 by andypugh

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.

More
10 years 10 months ago #67557 by mblaszkiewicz
do I remove the one I added in the custom hal

Please Log in to join the conversation.

More
10 years 10 months ago #67558 by andypugh

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.

More
10 years 10 months ago #67559 by mblaszkiewicz
yes they all are. How do I work around it

Please Log in to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum