mesa 7i76 configuring a spindle encoder

More
10 years 7 months ago #71872 by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
It is set to one

setp hm2_5i25.0.encoder.00.counter-mode 1
setp hm2_5i25.0.encoder.00.filter 1
setp hm2_5i25.0.encoder.00.index-invert 0
setp hm2_5i25.0.encoder.00.index-mask 0
setp hm2_5i25.0.encoder.00.index-mask-invert 0
setp hm2_5i25.0.encoder.00.scale [SPINDLE_9]ENCODER_SCALE

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

More
10 years 7 months ago #71873 by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
So, does it count?

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

More
10 years 7 months ago #71874 by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
hm2_5i25.0.encoder.00.count counts -18141 upwards

which pin should I be looking at

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

More
10 years 7 months ago #71875 by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
That one.

Now set up the scale and connect according to the docs.

www.linuxcnc.org/docs/html/examples/spin...ml#_spindle_feedback

(Noting that you already have most of that configured for the Mesa counter)

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

More
10 years 7 months ago #71893 by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder

andypugh wrote: That one.
Now set up the scale and connect according to the docs.
www.linuxcnc.org/docs/html/examples/spin...ml#_spindle_feedback
(Noting that you already have most of that configured for the Mesa counter)


Andy I am not to confident in adding that lot as I am using the mesa card I not so sure it is a cut and paste job.

If you have the time could you have a look at my HAL and INI files to see what goes where?

I have put a scope on the index and A connections on the 7i76 and it looks OK to me with the chuck running
Attachments:

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

More
10 years 7 months ago #71962 by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder

Clive s wrote: Andy I am not to confident in adding that lot as I am using the mesa card I not so sure it is a cut and paste job.

If you have the time could you have a look at my HAL and INI files to see what goes where?


You are right, it isn't a cut and paste job.

But you only need to connect motion.spindle-revs, motion.spinde-speed and motion,spindle-index-enable to the corresponding Mesa card pins.
Unfortunately (for you) I am on a skiing holiday so can't really look at your files.

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

Time to create page: 0.264 seconds
Powered by Kunena Forum