- Posts: 106
- Thank you received: 0
Kinematics modification
5axiskins
For now I would have to inverse X axis (joints[0]), as it happens now for example, when apply G0 B40, the X axis moves in wrong direction, and that happens when angular axis require linear axis to move along.
All axis are programmed correctly and are moving correctly as long as G-code is simple 3-axis (X,Y,Z)
Please Log in to join the conversation.
Also, I believe that the 5-axis kinmeatic modules expect the tool length offset to be in the W column of the tool table, not the Z column.
Please Log in to join the conversation.
5axiskins takes tool length from W column of the tool table, which is in my case filled automatically after measuring tool length on tool sensor, and after that G43Hn etc... and this number is added to a number which is already in kinematics module and represents fixed distance of pivot, in my case distance from center of rotation of B-axis to the end of tool holder, so sum of this two numbers should give negative value to try this out.
Please Log in to join the conversation.
+/- Jog is moving in correct directions for all axes...
Please Log in to join the conversation.
tommy wrote: Negative value didn't help..
Ok, then it might be time to modify the kinematics file.
You can probably compile/install it with halcompile.
Do you have the kinematics file, and do you understand it?
Please Log in to join the conversation.
compiling is done with:
But I'm a bit cautious about modifying it...
Please Log in to join the conversation.
tommy wrote: Kinematics that I use is:
compiling is done with:Code:comp_id = hal_init("my5axiskins");Code:halcompile --install m5axiskins.c
But I'm a bit cautious about modifying it...
You will get hard-to-understand errors if the comp_id and file name don't match.
Please Log in to join the conversation.
Mybe I'm totally wrong, but I think this is the correct (basic) coordinate system with angular axis included:
Please Log in to join the conversation.
tommy wrote: Recently I was checking basic 5axis kinematics with running SIM-5-AXIS configuration and noticed that there also B axis rotates counter clockwise in positive direction (referenced by Y-axis direction), and that is opposite as A and C axis rotation referenced to their center axis ( X and Z)...
The original kins was written (I think) for a turntable-C + tilting head machine which might explain that. I think the sim config is a gantry?
Please Log in to join the conversation.
I know I could invert B-axis with postprocessor but I think it would be better if it is done by kinematics so all angular axis are rotating clockwise.
Please Log in to join the conversation.
