mesa 7i76 configuring a spindle encoder

More
10 years 7 months ago #71786 by andypugh
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.

Please Log in to join the conversation.

More
10 years 7 months ago #71789 by Clive S
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

Please Log in to join the conversation.

More
10 years 7 months ago #71791 by andypugh
What do the other two inputs do?

What is the ...enc0.position pin doing?

Please Log in to join the conversation.

More
10 years 7 months ago #71794 by Clive S
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?

Please Log in to join the conversation.

More
10 years 7 months ago #71796 by andypugh
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.

More
10 years 7 months ago #71798 by Clive S
can't see any

hm2_5i25.0.encoder.00.position




Attachment not found

Please Log in to join the conversation.

More
10 years 7 months ago #71800 by andypugh

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.

More
10 years 7 months ago #71802 by Clive S
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

Please Log in to join the conversation.

More
10 years 7 months ago #71804 by andypugh
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.

Please Log in to join the conversation.

More
10 years 7 months ago #71807 by Clive S
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

Please Log in to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum