(SOLVED) Spindle RPM - FWD/REV difference

More
09 Mar 2022 01:05 #236728 by spumco
[MX21, LCNC 2.9, Probe Basic master, 7i76ED, first time Lcnc user (been fiddling with this for a while, off and on)]

I've got a problem and I'm not sure where to start the troubleshooting.  Spindle runs at commanded RPM in forward but not reverse.

VFD (GS3) is controlled via 0-10v from 7i76ED.  Direct motor encoder feedback to VFD and to Lcnc, but Lcnc is open loop (P/I/D = 0 in .ini file)

When I command reverse, I get about 150-200RPM regardless of the desired speed.  Forward is fine from 100-8krpm, and the VFD analog offset/gain is tuned up so it's holding nicely within 10-50rpm at any speed.

VFD is reporting accurately; i.e. when I command "M3 S2000" I see ~2000rpm on both the VFD display and in halshow.

When I command "M4 S2000" I get spindle.0.out = 2000, but the VFD reports ~175rpm and the actual output in halshow is also ~175rpm.  Same response whether I use the GUI spindle FWD/REV buttons or MDI.

Spindle override responds appropriately in both GUI slider and my hal-connected panel encoder.

Direct control of the VFD via drive software and keypad works as expected in both FWD & REV.

Anyone have an idea where to start fiddling?

Thanks,
Ralph
Attachments:

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

More
09 Mar 2022 01:18 #236729 by PCW
net spindle-vel-cmd-rpm => pid.s.command

would need to be:

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

additional changes would be needed if the PID loop was used
for spindle speed feedback (it's not currently )
The following user(s) said Thank You: spumco

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

More
09 Mar 2022 01:29 #236731 by spumco
Well, that was easy. As usual, thank you PCW!

For my Lcnc education... if you don't mind, can you explain how the 'abs' (absolute?) changed the system response?

 

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

More
09 Mar 2022 01:35 #236732 by tommylight
Leme give it a try:
ABS always outputs positive values, regardless if the input is positive or negative.
Anyone, please correct me if i am wrong.
The following user(s) said Thank You: spumco

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

More
09 Mar 2022 01:44 #236734 by PCW
That's correct, and the 7I76E spindle analog output only works properly
with positive values
The following user(s) said Thank You: tommylight, spumco

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

More
09 Mar 2022 02:18 #236736 by spumco
You guys are awesome.
The following user(s) said Thank You: tommylight

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

More
09 Mar 2022 02:38 #236737 by tommylight
Title set to "solved" for all replies.
Thank you.

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

More
09 Mar 2022 23:22 #236789 by BigJohnT
Going to check that my 7i76e Configuration Tool does spindle correctly.

JT

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

Moderators: PCWjmelson
Time to create page: 0.472 seconds
Powered by Kunena Forum