- Posts: 19306
- Thank you received: 0
mesa 7i76 configuring a spindle encoder
10 years 7 months ago #71786
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
What doesn't work as things are now?
Open a halmeter and look at motion.spindle-revs
If that increases by 1 for one rev of the spindle you are probably all set.
Open a halmeter and look at motion.spindle-revs
If that increases by 1 for one rev of the spindle you are probably all set.
Please Log in to join the conversation.
10 years 7 months ago #71789
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Ok no joy with motion.spindle-revs but the voltage on the index at the 7i76 pin TB3 13 changes from 5V to 0V when the chuck is rotated
edit I am using this as single ended input
edit I am using this as single ended input
Please Log in to join the conversation.
10 years 7 months ago #71791
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
What do the other two inputs do?
What is the ...enc0.position pin doing?
What is the ...enc0.position pin doing?
Please Log in to join the conversation.
10 years 7 months ago #71794
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
quote What is the ...enc0.position pin doing?
Can't seem to find that. Do you think I have it conned ok is there any thing to add in the ini file?
Can't seem to find that. Do you think I have it conned ok is there any thing to add in the ini file?
Please Log in to join the conversation.
10 years 7 months ago #71796
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
I don't know the pin name (I don't have a 7i76). Do you have any pins that contain "enc" in the name?
Please Log in to join the conversation.
10 years 7 months ago #71798
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
can't see any
hm2_5i25.0.encoder.00.position
hm2_5i25.0.encoder.00.position
Attachment not found
Please Log in to join the conversation.
10 years 7 months ago #71800
by andypugh
That's probably the one. ....enc0 is one of the optional MPG channels, now I think about it.
Sorry for the confusion.
Does hm2_5i25.0.encoder.00.position change value as you rotate the spindle?
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
Clive s wrote: can't see any
hm2_5i25.0.encoder.00.position
That's probably the one. ....enc0 is one of the optional MPG channels, now I think about it.
Sorry for the confusion.
Does hm2_5i25.0.encoder.00.position change value as you rotate the spindle?
Please Log in to join the conversation.
10 years 7 months ago #71802
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Andy Looking at hm2_5i25.0.encoder.00.position when triggering the opto from 5V to 0V the hal meter stays on 0 and does change
I have taken my encoder disk off so that I can make sure the ir light is blocked for testing
I have taken my encoder disk off so that I can make sure the ir light is blocked for testing
Please Log in to join the conversation.
10 years 7 months ago #71804
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
It sounds like you only have one channel? And you mentioned the index earlier?
The position won't change if you only drive the index pin.
The position won't change if you only drive the index pin.
Please Log in to join the conversation.
10 years 7 months ago #71807
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Andy I have just thought. the 7i76 has IDX+ and IDX- I have not grounded the IDX- also A+ and A- etc Do you think I need to ground the (0v) IDX- A- etc
which hal pin should change just with IDX connected
which hal pin should change just with IDX connected
Please Log in to join the conversation.
Time to create page: 0.057 seconds
