TCP 5-axis kinematics

More
3 years 10 months ago #258493 by Aciera
Replied by Aciera on topic TCP 5-axis kinematics

I just changed the orientation of my AC rotary table . The A axis was parallel to the X axis and now it is parallel to the Y axis.

That would turn your machine from a XYZAC-trt to a XYZBC-trt there is already such a kinematic in LinuxCNC have a look at 
configs/sim/axis/vismach/5axis/table-rotary-tilting/xyzbc-trt.ini
that uses
xyzbc-trt-kins
The following user(s) said Thank You: JackRay

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

More
3 years 10 months ago #258517 by JackRay
Replied by JackRay on topic TCP 5-axis kinematics
Hello,
I have indeed configured the xyzbc-trt kinematics, made my pivot point and everything works correctly.
Now I don't have an A axis but a B axis, this is a problem for me for post processor which gives me G programs with an A axis.

Can I change the designation of the B axis to A axis in Lcnc 2.9 while keeping my xyzbc-trt configuration?

Thanks for your help

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

More
3 years 10 months ago #258522 by rodw
Replied by rodw on topic TCP 5-axis kinematics
There is not really any easy solution. If you've changed your machine's kinematics, you need to be generating gcode from your cam that suits your machine.
The following user(s) said Thank You: JackRay

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

More
3 years 10 months ago - 3 years 10 months ago #258523 by Aciera
Replied by Aciera on topic TCP 5-axis kinematics
The axes need to correspond to the kinematic. Can't you swap the X and Y axes and move back to xyzac-trt kinematics?

The only other solution I can think of is an 'filter script' that replaces the 'A' letters in the gcode with a 'B'. I haven't used an input filter myself but I think you could write a script (eg python, bash) and have it do it's magic to the gcode file as you load it into linuxcnc.

linuxcnc.org/docs/devel/html/gui/filter-programs.html

[edit]
Or of course you could modify the actual kinematic file written in C and recompile linuxcnc
Last edit: 3 years 10 months ago by Aciera.
The following user(s) said Thank You: rodw, JackRay

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

More
3 years 10 months ago #258565 by JackRay
Replied by JackRay on topic TCP 5-axis kinematics
Hello,

indeed, I had not thought about it but I master python well enough, and it is very easy to change the A in B. Now I will see if I can't do it directly on the pos processor.

Thanks for your help ... again

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

More
3 years 10 months ago - 3 years 10 months ago #259186 by JackRay
Replied by JackRay on topic TCP 5-axis kinematics
Hello,

I was able to change the name of my axis from A  to B, quite easily in my post processor . Now everything works correctly.

Thanks again for your help.
Last edit: 3 years 10 months ago by JackRay.
The following user(s) said Thank You: Aciera

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

Time to create page: 0.246 seconds
Powered by Kunena Forum