How turn off servo loop for one axis?

More
3 years 2 months ago #277316 by Taichi
Hello there. We have a machine with 5 axes, one of these axes is for turning the part. It has the ability to spin endlessly in any direction. Is it possible to disable the tracking of this axis and set an analog signal to move this axis? So that the system does not count degrees and simply returns it infinitely. Like an ordinary lathe spindle. Thanks for the help.

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

More
3 years 2 months ago #277323 by tommylight
While waiting for a better reply, it should be possible to have a spindle in velocity and position mode, meaning it can be run as spindle and spin infinitely at any given speed, or it can be set to turn and lock/stay in any possition, granted there is some feedback to the controler.
In position mode, there is probably a limit on how many turns it can do, but again, probably can be dealt with in some use cases.
This is what i recall from reading here so double checking would be adviseable.

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

More
3 years 2 months ago #277536 by spumco
Yes, this is possible.  Closest analogy would be a "C-axis" lathe spindle, which needs to switch between spindle mode and positioning mode.

The positioning part can be done in a couple ways:
  • Using M19 to orient the spindle, or
  • Creating a separate axis, and switching between spindle mode and axis mode as needed.
Option #1 is easier to set up as there is no separate axis to manage.
Option #2 is more flexible, as the movement can be synchronized with other axes and the speed/feedrate can be managed like a normal axis in gcode.  In addition, the display backplot can be made to track the axis movement.

There are examples of both - admittedly a little hard to find - throughout the forum.

Which use case is better for your machine?  An 'indexer' or an axis?
The following user(s) said Thank You: tommylight

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

More
3 years 2 months ago #277564 by Taichi
Thanks for the help. I will better describe my task to you so that you can suggest what you think will be better.
First, the part must be ground with a diamond wheel into a perfect cylinder. Then the "spindle" stops, is indexed and is already used as a normal rotary axis. The last stage, a hexagon is formed on the part. All this must be done in one installation. And preferably with one program.
Therefore, most likely, the idea of ​​using M19 is better. This is in my opinion. Thank you.

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

More
3 years 2 months ago #277576 by spumco
First thing to keep in mind is that the hardware is the same for both control methods - no need to worry about picking one and having to change anything serious if you find you prefer one over the other.

Both methods can be commanded via gcode, within a single program.  If I wasn't clear before, the difference - to the programmer/operator - is that with M19 orient you cannot orient while another axis is moving.  Think of it like an indexer and not a continuous axis:
  • spindle rotates, part is ground
  • spindle stops
  • spindle postions and is held in place
  • machine/grind one hex face
  • index spindle
  • repeat 5 more times
  •  
But if you need one or more additional axes to move while rotating the part (to grind the hex shapes) - perhaps grinding a fillet at the edge intersections - you will likely want to pursue the 'axis' postioning scheme instead of the spindle-orient method.

It sounds like you've already got the machine and aren't building something from scratch.  Is this the case?  And are you already familiar or experienced with LinuxCNC and just need some help with this particular spindle/positioning feature?

Or are you very new to LCNC and are just trying to figure out if what you want is possible?

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

More
3 years 2 months ago #277649 by Taichi
Thanks for the answer. Yes, I already have 5 axes implemented on a Strausak machine using LinuxCNC. Axis A rotates the part. But anyway, I'm a newbie and trying to learn LCNC. That is why I asked the question whether the system will be able to do this task.
The main thing is that it should be done in one program and one installation of the part. Thank you.

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

Time to create page: 0.161 seconds
Powered by Kunena Forum