- Posts: 2204
- Thank you received: 486
mesa 7i76 configuring a spindle encoder
- Clive S
- Offline
- Platinum Member
-
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.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2204
- Thank you received: 486
which pin should I be looking at
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
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.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2204
- Thank you received: 486
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
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
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.