[Resolved] adding control of the spindle with 7i96 tools

More
5 years 7 months ago #201099 by Ewok2
Hello
I have a CnC working but with a potentiometer to control the spindle speed.
The Spindle is connected to a Power supply whitcgh accept a 0-10V control.
I would like to control the spindle speed with the 7i96 mesa card.

I have the 7i96 tool installed (latest version).

I have connected the Spindle On cable to Ouput 0
I have connected the Spindle 0-10V cable to Ouput 1
I have configured this Output with Spindle On and Sindle CW in the 7i96 Tools

I have read my "old" ini file but the Spindle documentation is not so helpfull :-)
In the Spindle type it is not obvious wich one I have to select...
Did someone have a link on a page where there are some advice or explanation how to configure it?

Many thanks

Please Log in to join the conversation.

More
5 years 7 months ago #201106 by PCW
The OUT pins on a 7I96 are digital (Either on or off) so cannot give
an adjustable 0 to 10V signal directly but can by using PWM
and a filter, something like this:

Attachment not found




Where R1 is perhaps 1K
R2 is 10K
C1 is 100 uF

You would also have to setup PWM in your hal file using the pwmgen component

Please Log in to join the conversation.

More
5 years 7 months ago #201123 by Ewok2
Thanks for Reply
I am not sure to understand the wiring around the 7i96 Out +/- and the 10V.
I need an external 10V supply ?

Please Log in to join the conversation.

More
5 years 7 months ago #201128 by PCW
If your drive supplies 10V then that can be used.

Depending on how much current the drives 10V can supply
you may need to adjust the resistor/capacitor values

Please Log in to join the conversation.

More
5 years 7 months ago #201142 by RotarySMP
No eBay APP ID and/or Cert ID defined in Kunena configurationI used one of these with my 7i96. Worked fine.

Please Log in to join the conversation.

More
5 years 7 months ago #201166 by Ewok2
Thanks for the electronics part. I will by this module.
But what about the configuration part?

I was wondering, the On/Off of the spindle was a Wire.
Should I put the Output to High to simulate the short circuit ? or is it more complicate?

Please Log in to join the conversation.

More
5 years 7 months ago #201176 by RotarySMP
I put up my HAL and wiring diagram in the first post of my mini -lathe thread.
forum.linuxcnc.org/26-turning/38280-pimp...e-mini-lathe?start=0
Mark

Please Log in to join the conversation.

More
5 years 7 months ago #201281 by Ewok2
Thanks for the files.

Did you use the 7i96 Configuration Tool from JohnT to produce the ini and hal files ?
Did you connect the ON/OFF off the Spindle to an Outpus directly?

Please Log in to join the conversation.

More
5 years 7 months ago #201295 by RotarySMP
Did you look at the schematics I posted? I am running a VFD, so the VFD enable, start and direction are all controlled directly by the 7i96, and the analog speed input is a PWM output from the 7i96, changed to a 0-10V analog signal by that little widget, and then input to the VFD.
Mark

Please Log in to join the conversation.

More
5 years 7 months ago #202817 by Ewok2
Hello RotarySMP
I have received my small board to convert PWM to 0-10V.
It look likes yours.
It has also a 5V / 24V PMW selector.
Did the Mesa card Output send 5V or 24V ?
Thanks

Please Log in to join the conversation.

Time to create page: 0.701 seconds
Powered by Kunena Forum