7i76e and 2.2Kw spindle connection help

More
5 years 6 months ago #204695 by kb8wmc
This is a router table build for a friend started last October and slow going through the winter months here in Michigan...But we have managed to get the machine moving well and the time has come to finalize by connecting the spindle...Here is where we are as of now...We can turn the spindle on and off, it starts and goes up to a fixed RPM, it can also be shutdown on command...We are able to turn it on and off using the gui buttons in axis as well as M3, M5 commands in MDI mode...The spindle is 2.2 KW Ugra (no encoder) and the VFD is a Delta EL...
What we are not able to do is control the RPM's of the spindle, and our best guess is that we are missing some simple commands or have not connected the correct pins in HAL to allow control...We are uncertain of what the variables are to drive PWM generator, the PWM generator to PID, and the PID to the 7i76e.0.0 output connection...It appears to us that we don't have proper signal connection somewhere...I have consolidated all that we have done into a spindle.hal file...
I am attaching the spindle.hal file and the .ini file...We would like for it to run via PWM, but as you can see by the kludged spindle.hal file there are probably syntax that has been added unnecessarily and probably is missing necessary syntax...
Any suggestions and help will be greatly appreciated...Thank you in advance

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #204704 by PCW
Is there some reason you are not using the 7I76Es analog spindle output?

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #204709 by kb8wmc
PCW, The answer is no, the only reason we are not using analog output, is that we did not understand how to set it up, and have not found any examples to follow along with to get it running...Our thought were along the lines that PWM was the way to go, but we are certainly open to any other method that will get this machine up and going...
Where do we start looking for good examples that we can follow?...

Thanks for your quick response...
Mike

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #204749 by chris@cnc
Hi Mike,
one usable example for wiring.
forum.linuxcnc.org/27-driver-boards/3537...to-mesa-7i76e#200464
And here:
forum.linuxcnc.org/38-general-linuxcnc-q...delta-c2000?start=0#
or search "analog spindle 7i76e"
But check manual of your VDF.
For hal and ini use PNcconf to generate config. This should be work for basic configuration.
If will not work let us know.

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #204808 by kb8wmc
Chris, thanks for your reply and links...I have been reading them over, one of them I think I remember reading before...My friend advised me that I did not present the question properly and thus it is insufficient for someone to respond to...Apologize for that... I am providing his comments to me in hopes of an answer from someone in here...IMHO we have the vfd and 7i76e all correctly wired and operating up to the point where we want to control the RPM's and we believe our hal file is not correct...

" We are using the analog output on tb4, that is the digital potentiometer.
We can program it to 8,6vdc to 0vdc by adjusting the variables. and the vfd changes 133 to 400 as the specs for the vfd specifies.
The vfd is programmed correctly to respond to 0 to 10vdc. verified with a potentiometer connected directly.
WE must be missing one of these commands: "

Thanks in advance
Mike

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #204828 by PCW
Is the VFDs 10V output actually 10V when the 7I76E is commanding full speed?

Normally you would set the output scale to the maximum spindle RPM
so when you command the maximum spindle RPM, the output is 100%
of the VFDs output voltage on its 10V terminal

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.314 seconds
Powered by Kunena Forum