Difficulty Using 7i76e Digital Potentiometer

More
5 years 1 month ago #220970 by TannerFrisby
Greetings all,
I am trying to use my 7i76e's analog spindle speed capabilities, but I can not get the potentiometer to function.

Spindle: Makita router (0-5V fed through a 100K pot, now replaced with the 7i76e digital pot)
RPM: 10,000 @ 0V -to- 30,000 @ 5V

For debugging, I have a 10v power supply connected to the digital pot. I read low millivolts between wiper and signal regardless of MDI "M3 S#####" commands. The wiper stays firmly at the 0V end of the range, which corresponds to 10,000 rpm. Wiper to positive reads 10V (as expected). 

I had the analog output working previously with a VFD, but I can't seem to get it to work now. There seems to be a disconnect between my configuration files (attached) and the mesa board.

 

Attachment not found

 
 

Attachment not found



Any help would be greatly appreciated. 
Thanks,
Tanner Frisby

Please Log in to join the conversation.

More
5 years 1 month ago #220975 by Hakan
I think the spinena signal need to be high for the potentiometer to output anything.

Please Log in to join the conversation.

More
5 years 1 month ago #220984 by tommylight
Yeah the spinena signal is omited in hal so that will not output anything.
Remove the # in front of the line with 7i76e.nn.nn.n.spinena

Please Log in to join the conversation.

More
5 years 1 month ago #221028 by TannerFrisby
Thanks for a quick response, that seems to have fixed my issue. I had forgotten to save my hal before relaunching LinuxCNC. 


Thanks for a quick response, but this didn't change my results.

Previously I had:
net spindle-enable => hm2_7i76e.0.7i76.0.0.output-04
#net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena

Which turns on my spindle through a solid-state relay. The spindle turns, but only at the 0V speed. I commented the other line out to preserve it for my future self when I inevitably change my setup again.

I have uncommented the line as suggested, but I have the same results: my digital pot wiper is at GND and doesn't move when a different "S" value is submitted in MDI or when the "+" is clicked in the manual interface of AXIS

I currently have:
net spindle-enable => hm2_7i76e.0.7i76.0.0.output-04
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena

Please Log in to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum