Does Linux CNC support Closed loop with Steppers?

More
5 years 8 months ago #197430 by Craig E
Hey everyone I heard from Mesa yesterday that the LinuxCNC does not support Closed loop using Steppers and encoders.
I reached out to Mesa yesterday to get information on 7I95 + encoders and the rep said I should use 7I76 E or 7I96 which are cheaper so that's good but I was hoping to at least stop if I lose steps. Since I am new to this hobby I was assuming It would take some time to get a handle on speeds, and depth of cut and all that other stuff that I don't even know exists yet. I would be nice to stop the machine before destroying the work piece, tool or the machine.
I would appreciate any and all advice on hardware and LinuxCNC capabilities.

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

More
5 years 8 months ago - 5 years 8 months ago #197443 by tommylight
LinuxCNC and Mesa can do closed loop everything, even dual feedback closed loop (i.e. incremental encoders on motor shaft and linear scales for the same axis), but from your post it is not clear if you mean using closed loop stepper/drive AND closed loop in LinuxCNC = still works on LinuxCNC, or stepper/drives with no feedback and encoders closed in LinuxCNC = also works in LinuxCNC.
The only issue is when using closed loop stepper/drives and using the same encoders for LinuxCNC feedback ( even this will work for sure ) but might need some signal shaping and/or splitting to have the same encoder wired to two inputs on the drive and Mesa board.
BTW, LinuxCNC can do all this with a simple parallel port, although with very limited speed.
EDIT:
Closed loop stepper/drives have a fault output that can be used to stop the machine when the drive detects it's lost position.
Last edit: 5 years 8 months ago by tommylight. Reason: more info

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

More
5 years 8 months ago #197463 by Hakan
Don't know if linuxcnc officially supports it but I have it, use it and it works great.
The 7i95 should work but I guess the guy didn't have that one since he tried to sell you a 7i96.
The 7i96 should work together with a 7i85 for encoder input. The 7i76e + 7i85s is what I have
since a couple of years and yes it works fine, wouldn't use the milling machine without the linear scales.

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

More
5 years 8 months ago - 5 years 8 months ago #197464 by PCW
I think I replied to your question at Mesa. My point was that using a closed loop
step drive and tapping off the drives encoder is not recommended for electrical
reasons. If you have linear scales for feedback, there are real gains possible.
but not so much if you are just reading the rotary encoder on the motor.

If you are mainly concerned about lost steps or stalling, its much simpler to use
closed loop step drives and monitor their fault output that indicate a motion problem
Last edit: 5 years 8 months ago by PCW.

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

More
5 years 8 months ago - 5 years 8 months ago #197466 by jbraun
The way I understanding of how these drives are used...based on no experience, is it's like this:
The attempt to correct lost steps is done between the encoder and the drive. Linuxcnc is unaware of what happens there.
The shut-down alarm can be sent to Linuxcnc like an e-stop.
I think that's what PCW is saying (I'm no tech guy)

Someone here must be using these things ? A search of the forums might return something.
Last edit: 5 years 8 months ago by jbraun.

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

More
5 years 8 months ago #197470 by rodw
Not estop but connect to
Code:
joint.N.amp−fault−in
for the joint the motor is driving.

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

Time to create page: 0.305 seconds
Powered by Kunena Forum