7i96S card arrived what setup is recomended

More
3 years 10 months ago #260399 by PCW
The 7I76E and 7I96S spindle outputs are intended for standard VFDs that have
0 to 10V or 0 to 5V inputs. In this case 15V or 18V leave plenty of margin.

Bipolar (+-10) spindle controls are much less common and require more (and more expensive) circuitry to handle properly.
The following user(s) said Thank You: xenon-alien

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

More
3 years 10 months ago #260459 by xenon-alien

18V is the maximum voltage between SP- and SP+
so +- 9V is the maximum bipolar voltage that can be applied
 
Thank you!
I have asked the electrician. It will be fine for our purpose.

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

More
3 years 5 months ago #271212 by xenon-alien

18V is the maximum voltage between SP- and SP+
so +- 9V is the maximum bipolar voltage that can be applied

 
Hello!
Finally I returned to this Lathe.
But not really understand, how to configure the spindle section...
I have run a PNCConf (in LCNC 2.9~1-54....) and check the box with ± spindle direction.
When the spindle at 1 rpm I see on the SP output -8.78V (nearly the -SP voltage), but it should be ~0.1v. When the spindle i Off I see on the SP output the -SP voltage.
I have -SP -8.8v and +SP +8.9v.
How to make it work properly? Sp Off = SpOut - 0v

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

More
3 years 5 months ago - 3 years 5 months ago #271226 by PCW
With bipolar supplies if you want 0 output, the PWM must be 50% of full scale.
This is done by setting the PWM offset mode true:

set hm2_7i96s.0.pwmgen.00.offset-mode true

Note that you must use an additional output to control spindle enable
because the analog out will start up at full negative speed when linuxCNC
is not running
Last edit: 3 years 5 months ago by PCW.
The following user(s) said Thank You: joekline9, xenon-alien

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

More
3 years 5 months ago #271250 by xenon-alien

With bipolar supplies if you want 0 output, the PWM must be 50% of full scale.
This is done by setting the PWM offset mode true:

set hm2_7i96s.0.pwmgen.00.offset-mode true

Note that you must use an additional output to control spindle enable
because the analog out will start up at full negative speed when linuxCNC
is not running
This is all i have to add to the .hal file?

set hm2_7i96s.0.pwmgen.00.offset-mode true

Spindle On (enable) - is turning on by a relay, when I command to enable the spindle.
Powering up the spindle block I'm using an other relay connected to  "Machine ON" (+ servo enable for XZ axis with an other relay but the same "Machine ON" command)

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

More
3 years 5 months ago #271319 by PCW
That is all

With normal PWM 0=0% duty cycle and FS=100% duty cycle
With offset mode PWM 0=50% duty cycle, FS=100% duty cycle and -FS = 0% duty cycle

FS (Full Scale) being the PWM scale value
The following user(s) said Thank You: xenon-alien

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

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