- Posts: 23
- Thank you received: 0
Spindle speed wacky
4 years 4 weeks ago #253353
by jlm123
Spindle speed wacky was created by jlm123
Hey all:
(LinuxCNC 2.8.4, Debian 10, Probe Basic, Mesa 7i76e card)
I just redid my LinuxCNC computer in order to switch to the Probe Basic interface. Almost everything is working as expected, except the spindle controls. As i move the spindle speed slider going forward, the speed is all over the place (i.e when the slider is at 10%, the speed is 400rpm, at 30% its at max speed, at 50% it's down to 1000rpm, etc)
Also I have no speed control in reverse. Note that the spindle control was working on the old box in the QTDragon interface.
Thanks.
(LinuxCNC 2.8.4, Debian 10, Probe Basic, Mesa 7i76e card)
I just redid my LinuxCNC computer in order to switch to the Probe Basic interface. Almost everything is working as expected, except the spindle controls. As i move the spindle speed slider going forward, the speed is all over the place (i.e when the slider is at 10%, the speed is 400rpm, at 30% its at max speed, at 50% it's down to 1000rpm, etc)
Also I have no speed control in reverse. Note that the spindle control was working on the old box in the QTDragon interface.
Thanks.
Please Log in to join the conversation.
4 years 4 weeks ago #253355
by PCW
Replied by PCW on topic Spindle speed wacky
Did you change the hal file?
Please Log in to join the conversation.
4 years 4 weeks ago #253360
by jlm123
Replied by jlm123 on topic Spindle speed wacky
I copied the values over from the old hal and ini files.
Please Log in to join the conversation.
4 years 4 weeks ago #253362
by PCW
Replied by PCW on topic Spindle speed wacky
Can you post you current hal/ini files?
Please Log in to join the conversation.
4 years 4 weeks ago #253363
by jlm123
Replied by jlm123 on topic Spindle speed wacky
Here you go.
Ini file:
Attachment not found
Attachment not found
Please Log in to join the conversation.
4 years 4 weeks ago #253364
by PCW
Replied by PCW on topic Spindle speed wacky
I see at least one issue:
net spindle-vel-cmd-rpm => pid.s.command
should be
net spindle-vel-cmd-rpm-abs => pid.s.command
net spindle-vel-cmd-rpm => pid.s.command
should be
net spindle-vel-cmd-rpm-abs => pid.s.command
Please Log in to join the conversation.
4 years 4 weeks ago #253368
by jlm123
Replied by jlm123 on topic Spindle speed wacky
Tried that. If fixed the reverse speed control, so now both forward and reverse have the wackiness with the slider.
Moving the slider down from 100%, the spindle slows as it approaches arounf 65%, then goes to full speed and repeats the process at around 35%.
Moving the slider down from 100%, the spindle slows as it approaches arounf 65%, then goes to full speed and repeats the process at around 35%.
Please Log in to join the conversation.
4 years 4 weeks ago #253370
by PCW
Replied by PCW on topic Spindle speed wacky
In addition to the -abs change, these items in the ini file should be changed
OUTPUT_SCALE = 5000
(was 100)
OUTPUT_MIN_LIMIT = 0
(was -5000)
OUTPUT_SCALE = 5000
(was 100)
OUTPUT_MIN_LIMIT = 0
(was -5000)
Please Log in to join the conversation.
4 years 3 weeks ago #253372
by jlm123
Replied by jlm123 on topic Spindle speed wacky
Thanks PCW - that fixed the wackiness with the slider. However, the spindle is now truning at 300rpm at 100% (it should be running at 5000)
Please Log in to join the conversation.
4 years 3 weeks ago #253377
by PCW
Replied by PCW on topic Spindle speed wacky
I would check (with halshow)
hm2_7i76e.0.7i76.0.0.spinout-scalemax
hm2_7i76e.0.7i76.0.0.spinout
And check (with a voltmeter)
The spindle 10V supply (TB4 pin 3)
and output voltage (TB4 pin 2),
both relative to TB4 pin1
hm2_7i76e.0.7i76.0.0.spinout-scalemax
hm2_7i76e.0.7i76.0.0.spinout
And check (with a voltmeter)
The spindle 10V supply (TB4 pin 3)
and output voltage (TB4 pin 2),
both relative to TB4 pin1
Please Log in to join the conversation.
Time to create page: 0.157 seconds
