Stepper Motor to work like a DC

More
2 years 6 months ago #297511 by BonoCNC
Hello folks,Is it possible to use a stepper motor operating as a dummy DC motor?
If yes, how can I do it without a step gen?Thanks!

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

More
2 years 6 months ago #297515 by PCW
Replied by PCW on topic Stepper Motor to work like a DC
Not sure what you mean. A step motor always needs a step motor driver,
and those typically use step/dir commands (though other driver interfaces
are available)

You can treat a stepmotor/drive as a simple velocity controlled device (
say for a spindle) in LinuxCNC if that's what you mean.

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

More
2 years 6 months ago #297516 by BonoCNC
Yes, I want to put a stepper motor, with a stepper driver acting like a dummie motor.

The purpose is to rotate every 60degrees and stop when it triggers a sensor.

I can generate steps with an arduino. But there are any other options?

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

More
2 years 6 months ago #297518 by PCW
Replied by PCW on topic Stepper Motor to work like a DC
This can be done with LinuxCNC in hal

Basically you set the stepgen to velocity mode
and then set the velocity to the desired cruise velocity
when you want motion and back to 0 when you want
to stop. The stepgen will obey the preset acceleration
bounds so you don't stall on start and stops

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

More
2 years 6 months ago #297525 by BonoCNC
It can be done like a 4th Axis? Or can be done turning on the motor when we turn on the machine?

Do you have an example?

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

More
2 years 6 months ago #297533 by tommylight
Yes it cn be like A axis, or it can be exactly A axis as that makes it possible to control from gcode.
And yes, it will also work to stop from a sensor, although having full positional control makes using a switch redundant.

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

Moderators: PCW, jmelson
Time to create page: 0.250 seconds
Powered by Kunena Forum