- Posts: 17533
- Thank you received: 5334
7i96S card arrived what setup is recomended
3 years 10 months ago #260399
by PCW
Replied by PCW on topic 7i96S card arrived what setup is recomended
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.
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.
- xenon-alien
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
3 years 10 months ago #260459
by xenon-alien
I have asked the electrician. It will be fine for our purpose.
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended
Thank you!18V is the maximum voltage between SP- and SP+
so +- 9V is the maximum bipolar voltage that can be applied
I have asked the electrician. It will be fine for our purpose.
Please Log in or Create an account to join the conversation.
- xenon-alien
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
3 years 5 months ago #271212
by xenon-alien
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
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended
Hello!18V is the maximum voltage between SP- and SP+
so +- 9V is the maximum bipolar voltage that can be applied
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.
3 years 5 months ago - 3 years 5 months ago #271226
by PCW
Replied by PCW on topic 7i96S card arrived what setup is recomended
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 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.
- xenon-alien
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
3 years 5 months ago #271250
by xenon-alien
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)
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended
This is all i have to add to the .hal file?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
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.
3 years 5 months ago #271319
by PCW
Replied by PCW on topic 7i96S card arrived what setup is recomended
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
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.
Time to create page: 0.274 seconds