Step/Dir Servo Spindle Kicking My Butt - No Reverse

More
3 years 6 months ago #268055 by Mike Connelly
I've spent months trying to get a step/dir servo spindle working, and am asking for any help I can get.  It's a DMM DYN4 drive and 750w motor, and I'm running a 7i76e controller.I have forward speeds (M3) working properly, but M4 commands are completely ignored. The spindle doesn't move, and nothing related to reverse  (or the spindle for that matter) shows as active in halshow.

Any help getting M4 reverse working would be greatly appreciated. I'm running Probe Basic if that makes any difference.

.hal and .ini files attached. 

Thanks! 

Please Log in to join the conversation.

More
3 years 6 months ago #268077 by PCW
Are you saying that spindle.0.speed-out-rps is 0
when you command a reverse spindle speed?

Please Log in to join the conversation.

More
3 years 6 months ago #268112 by Mike Connelly
Yes, spindle.0.speed-out-rps is 0 .  When I issue M4Sxxxx commands nothing happens, no errors or anything.  Reverse doesn't work manually from the GUI either. 

Attached are screens shots of selected halshow variables when M3 and M4 commands are issued.

Thank you.

Please Log in to join the conversation.

More
3 years 6 months ago #268115 by PCW
What LinuxCNC version are you running?
With a simple Axis configuration + LinuxCNC master, I don't see an issue

M3 S1000:
 

Attachment not found



M4 S1000:

Attachment not found

Please Log in to join the conversation.

More
3 years 6 months ago #268119 by Mike Connelly
I'm running 2.10.0~pre0 , and have the same problem running Axis or Probe Basic.

Please Log in to join the conversation.

More
3 years 6 months ago #268121 by PCW
OK. I'm running 2.10 so it looks like it has to be a ini/hal issue.

Can you start linuxCNC
Then issue a mdi command:

m4 s1000

and post the result of this command:

halcmd show all | grep spindle > spindle.txt

Please Log in to join the conversation.

More
3 years 6 months ago #268122 by Mike Connelly
Indeed. See attached.

Please Log in to join the conversation.

More
3 years 6 months ago #268123 by PCW
And that's after

M4 s1000

?

Please Log in to join the conversation.

More
3 years 6 months ago #268124 by Mike Connelly

Please Log in to join the conversation.

More
3 years 6 months ago #268142 by PCW
Well pretty mysterious
My config has no halui connections so I wonder if this is a halui issue?

Please Log in to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum