TCP 5-axis kinematics

More
7 years 2 months ago #142614 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics

dgarrett wrote: @plopes9000

please keep me updated on the success of this code making it in?


commit to the master branch today:
github.com/LinuxCNC/linuxcnc/commit/5ea5...6e3759f85bb4037869f7

Would be good if you try the master branch and report


So sorry dgarret, had not seen your message ... I’m on vacation but will be back home this coming weekend and can then test and report.

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

More
7 years 2 months ago - 7 years 2 months ago #143109 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics

plopes9000 wrote:

dgarrett wrote: @plopes9000

please keep me updated on the success of this code making it in?


So sorry dgarret, had not seen your message ... I’m on vacation but will be back home this coming weekend and can then test and report.


@dgarrett, I built and tested the commit to the master branch github.com/LinuxCNC/linuxcnc/commit/5ea5...6e3759f85bb4037869f7, and can now report it as successful - thank you !
Last edit: 7 years 2 months ago by plopes9000.

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

More
7 years 2 months ago - 6 years 10 months ago #143582 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
Here's my update regarding the 5 axis.

Just before I went on vacation and since I arrived back, I have been working on a complete workflow for 5 axis.

With TCP but without an easy to use 3+2 setup its still a pain to rough out before the TCP operation.

Enter Dynamic Work Offsets - see Haas DWO G254 - link .

I came across a 4 axis macro ( link ) by "thesidetalker" and based on that design implemented a 5 axis version - see attached files (dwo_on/off) remapped as below:
Code:
<....>.ini [RS274NGC] ... REMAP=G55.4 modalgroup=1 ngc=dwo_on REMAP=G55.5 modalgroup=1 ngc=dwo_off


By moving the 5 axis params from the hal file to the ini file, I only have to maintain these values in one location, serving both the xyzac-trt-kins module and the dwo_on/off gcode files.
Code:
<...>.ini [XYZAC_KINS] Y-OFFSET = -0.15 Z-OFFSET = -27.59 X-ROT-POINT = 407.565 Y-ROT-POINT = 154.229 Z-ROT-POINT = -225.9 <...>.hal net :tool-offset motion.tooloffset.z xyzac-trt-kins.tool-offset setp xyzac-trt-kins.y-offset [XYZAC_KINS]Y-OFFSET setp xyzac-trt-kins.z-offset [XYZAC_KINS]Z-OFFSET setp xyzac-trt-kins.x-rot-point [XYZAC_KINS]X-ROT-POINT setp xyzac-trt-kins.y-rot-point [XYZAC_KINS]Y-ROT-POINT setp xyzac-trt-kins.z-rot-point [XYZAC_KINS]Z-ROT-POINT

Hence a fairly clean setup.

On a side note, I had to update the component axiszeropulserotposition to ignore small changes of direction in the count, i.e. more robust check using what I called a deadband property. I have updated my post on page 13.

I renew my offer to make all this (implemented this way or in better ways) part of the dev branch ... just need a dev sponsor :-)

Totally forgot to talk about the Fusion360 post processor which had to see major redesign - see attachment.
Attachments:
Last edit: 6 years 10 months ago by plopes9000.
The following user(s) said Thank You: chimeno, tommylight, 3D-Master, Stud54

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

More
7 years 2 months ago #143583 by jsskangas
Replied by jsskangas on topic TCP 5-axis kinematics
Good work, I think i need to update my linuxcnc as well.
TCP switching after pre-rotation seems to work well.


I have posted rotate macro in this thread earlier.
Look it as well.
Problem in my rotate macro is that it only translates active zeropoint to correct location.
If you have multiple zeropoints around part, other than active one will shifted wrongly.

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

More
7 years 2 months ago #143586 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics

jsskangas wrote: Good work, I think i need to update my linuxcnc as well.
TCP switching after pre-rotation seems to work well.


I have posted rotate macro in this thread earlier.
Look it as well.
Problem in my rotate macro is that it only translates active zeropoint to correct location.
If you have multiple zeropoints around part, other than active one will shifted wrongly.


Thank you jsskangas.

Yes I did miss the macro you posted, which page?

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

More
7 years 2 months ago #143588 by jsskangas
Replied by jsskangas on topic TCP 5-axis kinematics
Hello

Page 4

file is rotate.ngc

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

Time to create page: 0.260 seconds
Powered by Kunena Forum