4th axis tangent to path XY

More
15 years 1 month ago #13424 by bvandiepenbos
changing a line in kins code? ...but the angle needs to vary in real time as part is being cut (the whole job does not get cut at same angle)

what do you mean by a processor?


~*Brian

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

More
15 years 1 month ago #13427 by andypugh
bvandiepenbos wrote:

but the angle needs to vary in real time as part is being cut (the whole job does not get cut at same angle)

It would cut the current line at angle A to the path.
G1 X3 A5
G1 Y5 A-10
(for example)
Wiggly lines are more difficult. The kins module doesn't really know enough to do it.

what do you mean by a processor?[/quote[
Preprocessor, the software that creates the G-code.

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

More
15 years 1 month ago #13429 by bvandiepenbos
Using A value in gcode would be a place to start.
What needs added to kins?

Thank you for your help.
~*Brian

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

More
15 years 1 month ago #13430 by andypugh
bvandiepenbos wrote:

What needs added to kins?

just change line 56 to
Code:
A = atan2(dx, dy)*(180.0/3.141592) + pos->a;

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

More
15 years 1 month ago #13562 by ioiotutu
Hi,
only today i was able to test the new tangentkins.c, all is ok.

The file work fine with m-codes. I can lock A axis on tangent path or unlock and use it in a standard way.

Many thanks.

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

More
14 years 7 months ago #18777 by molotow
Hello,

i've tried your tangentkins with the default config for Sherline4Axis, because it's config is very similar to my machine.
I replaced trivkins with tangentkins.

My problem is that i alway get the following error:
37403: ERROR: joint 3 following error

Am I doing something wrong?

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

Time to create page: 0.105 seconds
Powered by Kunena Forum