Any help wiring BLDC motor controller to Mesa 7i76?

More
23 Nov 2019 11:52 #151037 by RoberCNC
Thanks mates, the wiring works perfect! turn on, clockwise, counterclockwise all good.

I only have 2 obstacles:
1-when I tell it to work counterclockwise by default it starts at full speed and I have to press the + button to reduce revolutions.
2-the range shown in the virtual display does not correspond to reality, supposedly reaches 20,000 revs, but it marks from 0 to 3000 and from 1600 does nothing apparently.

How can I adjust and fix that?

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

More
23 Nov 2019 12:40 #151040 by tommylight
Invert the spindle output, if possible.

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

More
23 Nov 2019 15:06 #151046 by PCW
I suspect the problem with counter-clockwise speed is that you are sending a negative
spindle speed command to the 7I76.

There are a couple fixes for this in hal depending on LinuxCNC version

Can you post your hal and ini files and indicate your maximum spindle RPM?

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

More
23 Nov 2019 16:03 - 23 Nov 2019 16:04 #151055 by RoberCNC
Sure! Here you have them. The Linuxcnc version is the 2.8.0. The maximum RPMs are 18000
Attachments:
Last edit: 23 Nov 2019 16:04 by RoberCNC.

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

More
23 Nov 2019 16:36 - 23 Nov 2019 16:37 #151063 by PCW
in the ini file change the spindle settings to

[SPINDLE_0]
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 18000.0
OUTPUT_SCALE = 18000
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 18000

in the hal file, change

net spindle-vel-cmd-rpm => pid.s.command

to

net spindle-vel-cmd-rpm-abs => pid.s.command
Last edit: 23 Nov 2019 16:37 by PCW.
The following user(s) said Thank You: RoberCNC

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

More
23 Nov 2019 17:27 #151067 by RoberCNC
Thank you very much PCW, both details solved. Real RPMS is a mystery, it always has a dead range both below and above, if I put 18000, in the range of 0 to 3500 + - it doesn't work, and if I put 1800 the same thing happens from 0 to 400. Anyway Thank you very much, something new that I learned today.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum