Mesa 7i96 with SPINX1 to control spindle speed

More
4 years 8 months ago #235735 by kbec
No rush, I think we made a lot of progress with your tool, like I said, configuring the Mesa 7i96 is not really documented well if at all.

Please Log in to join the conversation.

More
4 years 8 months ago #235777 by BigJohnT
I just pushed spindle-on and another fix when open an ini is cancelled. Let me know if everything is working as expected now.

JT

Please Log in to join the conversation.

More
4 years 8 months ago #235825 by kbec
I am still having the issue with setp. I will continue to test it.

setp requires 2 arguments, 3 given

Please Log in to join the conversation.

More
4 years 8 months ago #235826 by BigJohnT
Can you get the exact error?

JT

Please Log in to join the conversation.

More
4 years 8 months ago #235827 by BigJohnT
I see the issue, it's a copy and paste error and there are two setp on
setp setp hm2_7i96.0.pwmgen.pwm_frequency [SPINDLE]PWM_FREQUENCY

When I'm finished out here I'll fix that and push a new deb.

JT

Please Log in to join the conversation.

More
4 years 8 months ago #235830 by BigJohnT

Please Log in to join the conversation.

More
4 years 8 months ago #235837 by kbec
I reloaded one of the files I had working, prior to your update a save would trigger the extra setp, this time it did not, I was able to load my file in and didn't have to make any changes for it to work.

The only thing I noticed was you changed the version to 1.4, but the title in the running program still says 1.3.6.

I was also thinking maybe to add your tool into the Configuring LinuxCNC section. I don't know of any of the others that can handle the configuration of the PWM firmware and setup on the Mesa cards. Just a thought.

Thanks again

Please Log in to join the conversation.

More
4 years 8 months ago #235972 by kbec
Ok, my config seems to be working fine, Now I just am wondering about my output from the SPINX1 card. I am not getting anything from the digital potentiometer output of the SPINX1, the motor just turns at full speed.  

I think I am missing a connection?, but I don't know what is missing. I am hoping PCW can help me, or someone else familiar with this. 

I have attached some photos. The intensity of the speed LED goes up as the speed sent to it increases, so that seems to be working. The enabled also comes on when it should be running, so that seems fine as well. The direction stays lit as soon as I power it up, I guess that is ok.

Attachment not found


Attachment not found


Attachment not found

Please Log in to join the conversation.

More
4 years 8 months ago #235978 by PCW
Did you measure the voltage on SPV relative to SP- at various spindle speeds?
(and also make sure the the voltage between SP+ and SP- is a steady 10V)

Please Log in to join the conversation.

More
4 years 8 months ago #235986 by kbec
I may have messed up my speed control,, now I need to see if that is ok. I do see about 10.8 V steady between the two poles. I am just not sure what is going on with my controller, the manual pot was working and now it isn't. The speed control pot doesn't seem like it is at mains voltage. I'll confirm once I make sure it's ok and let you know.

Thanks again

Please Log in to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum