NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me

TOPIC: 4th axis tangent to path XY

Re:4th axis tangent to path XY 15 Avr 2012 04:24 #19218

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4244
  • Thank you received: 152
  • Karma: 130
molotow wrote:
My problem is that i alway get the following error:
37403: ERROR: joint 3 following error
Am I doing something wrong?

Sorry, I have been away.
This will happen if your A axis can't move fast enough to keep up with a change in direction. You will either need to write G-code where all corners are slow arcs, and there are no reversals of direction, or "short-circuit" the position feedback in the HAL file so that LinuxCNC doesn't realise that the A-axis can't keep up.
Tangentkins isn't really the ideal way to do the job, it is just an easy way. The correct way would be to have the trajectory planner output the current motion direction. However that would need significant changes to critical code, and almost nobody needs it.
The administrator has disabled public write access.

Re:4th axis tangent to path XY 15 Avr 2012 08:29 #19220

  • molotow
  • molotow's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi,

thanks for your reply.
We've decided to use another software for that, but it's not as cool as EMC.
So I am still interested in cutting with EMC.

However I've tried to "short-cicuit" the position feedback this way:

net apos-cmd axis.3.motor-pos-cmd => stepgen.3.position-cmd
net apos-cmd => axis.3.motor-pos-fb

I simply set axis.3.motor-pos-fb to the input of axis.3.motor-pos-cmd.
This did not work, i got FOLLOWING ERRORS for all other axes. So i tried to do this for all other axes as well.
This worked ok, but now i get a new error:
Exceeded soft limit

This error appears, when axis position is out of range.

Have you any better idea, how to do that?
and almost nobody needs it.
I don't think so. Even Mach3 has a tangential controller.
And it couldn't be that hard to implement.

Thanks
The administrator has disabled public write access.

Re:4th axis tangent to path XY 15 Avr 2012 10:00 #19221

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4244
  • Thank you received: 152
  • Karma: 130
molotow wrote:
and almost nobody needs it.
I don't think so. Even Mach3 has a tangential controller.
And it couldn't be that hard to implement.

Any idea how Mach does it?

I think that the best way to do it is in the G-code, with a pre-processor that inserts an A-axis move prior to each linear XY move. (and adds an A-move to all arcs too)

As you can probably tell, I have rather gone of "tangentkins" as a solution, for the reasons you have found.
The administrator has disabled public write access.

Re:4th axis tangent to path XY 16 Avr 2012 15:59 #19256

  • Dimitrios
  • Dimitrios's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Hi all,

I installed a 4th axis to make cuts with tangent knife (using a circular blade) and got very good results with Gcodetools. Nick, the principal developer, is very friendly and helpful. In the last stable version (1.7) you have to change the 4th axis scale from 1 to 180/pi to have it generate the angles in degrees. I already tested it and works very well.

If you need, I can elaborate better how I did it.

Regards,

Dimitrios
The administrator has disabled public write access.

Re:4th axis tangent to path XY 18 Avr 2012 00:22 #19335

  • molotow
  • molotow's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hello Dimitrios,

thanks for your reply. Do you mean the inkscape extension gcodetools?
Sorry but this is no option for me. I want to be independent of any CAM software.

When I've time I'll try to write a preprocessor for that, this is probably the best solution.
The administrator has disabled public write access.

Re:4th axis tangent to path XY 18 Avr 2012 13:28 #19362

  • Dimitrios
  • Dimitrios's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Hi Molotow,

I understand what you want, I thought about doing it too, but my programming skills fall short for this task :-)

I am still learning to use inkscape, but the more I use, more I like it, and the Gcodetools interface is very simple, once you go through the learning curve. for now and for me, it is a good fit in the workflow.

I'd rather use inkscape and gcodetools to load it to LinuxCNC than using any other controller.

I will try to use the tangentkins soon, keep us informed of your progress.

Regards,

Dimitrios
The administrator has disabled public write access.
Time to create page: 1.265 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.