Starting another conversion Harrison L5a

More
28 Dec 2015 21:49 #67416 by mblaszkiewicz
I am using the hal scope and spinning the spindle by hand
(for the index)

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

More
28 Dec 2015 22:01 #67418 by Todd Zuercher
What pin are you looking at?

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

More
28 Dec 2015 22:05 #67419 by mblaszkiewicz
Hal meter

Encoder.0.phaze-z

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

More
29 Dec 2015 03:40 #67436 by Todd Zuercher
Try watching parport.0.pin-15-in directly (or whatever pin you've connected it to). It is possible that you might need to use the parport.0.pin-15-in-not pin to invert your signal. If you set the encoder enable pin, does the encoder ever reset when you rotate the spindle? To be honest I've never really used the hal encoder component, (other than playing with it a little once without an index.)

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

More
29 Dec 2015 03:47 - 29 Dec 2015 03:49 #67437 by mblaszkiewicz
I went back in hal scope and it turned up. I just have to invert my x axis now and everything should be OK.

Also wondering about feed per rev. Is there any special hal I have to add. I tried a test and it did not feed ipr.
Last edit: 29 Dec 2015 03:49 by mblaszkiewicz.

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

More
29 Dec 2015 12:29 #67448 by andypugh

Also wondering about feed per rev. Is there any special hal I have to add. I tried a test and it did not feed ipr.


You need to connect the motion.spindle-index-enable, motion.spindle-speed-in and motion.spindle-revs pins.
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html

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

More
29 Dec 2015 20:56 #67463 by mblaszkiewicz
Ok x axis is reversed and reset correctly. I had it set for double. Move .5 in linux and tool post moves .5 opps for a lathe it moves only .250.

andy any way you could actually give me the linux code for the ipr that I can drop in my custon hal.
I'm also hoping to get threading going also.

my linux code writting anmd understanding is really low. even with this being my 2nd machine. It speaks greatly of the help here from everyone.

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

More
29 Dec 2015 23:49 #67477 by andypugh

any way you could actually give me the linux code for the ipr that I can drop in my custon hal.
I'm also hoping to get threading going also.


If I understood the question, then maybe...

What do you mean by "ipr" and what is "linux code"?

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

More
30 Dec 2015 00:46 #67481 by mblaszkiewicz
ipr is feed in inch per reveloution.

and the linux code is what I need to add to my hal

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

More
30 Dec 2015 00:48 - 30 Dec 2015 00:49 #67482 by mblaszkiewicz
i do have an encoder for rpm on pins 10,11 and index 12 and an rpm meter. It was written in with stepconfig.
Last edit: 30 Dec 2015 00:49 by mblaszkiewicz.

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

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