- Posts: 68
- Thank you received: 6
TCP 5-axis kinematics
Switching between kinematics works well
but in reality the movement of the machine is chaotic
Numerical coordinates indicate a slight change.
Machine is gantry Y on version LC 2.9.
in my ini :
In my hal:
In my M128 code:
In my M129 code:
How to set parameters in HAL file correctly?
On those videos I switch the kinematics using HB04B macros and generate the movements with the mpg wheel
Please help.
Please Log in or Create an account to join the conversation.
You might want to have a look at 5axiskins:
github.com/LinuxCNC/linuxcnc/blob/master...nematics/5axiskins.c
forum.linuxcnc.org/10-advanced-configura...s-kinematics-modules
Please Log in or Create an account to join the conversation.
Where do the following points lie in space?
setp xyzbc-trt-kins.x-offset 0
setp xyzbc-trt-kins.y-offset 0
setp xyzbc-trt-kins.z-offset 0
setp xyzbc-trt-kins.x-rot-point 160
setp xyzbc-trt-kins.y-rot-point 0
setp xyzbc-trt-kins.z-rot-point 0
Please Log in or Create an account to join the conversation.
xyzbc-trt-kins (switchkins)
Uses remapped user m codes for kins switch:
M429: Identity Kinematics
M428: XYZBC (TCP)
M430: userk Kinematics A
hal net is required to connect the analog out pin N,
Example (for N=3): net :kinstype-select <= motion.analog-out-03net :kinstype-select => motion.switchkins-type
Hal Input pins:xyzbc-trt-kins.x-offset, xyzbc-trt-kins.z-offset:
X and Z offsets are the offsets from the center of rotation of the B axis relative to the center of rotation of the C axis.
Hal Input pins:xyzac-trt-kins.x-rot-point, xyzac-trt-kins.y-rot-point, xyzac-trt-kins.z-rot-point:
X, Y and Z rot-point pins represent the offsets of the center of rotation of the C axisrelative to the machine absolute zero
But I'll say it again if your machine has indeed a rotary/tilting spindle then the -trt kinematics will not work for you. The math in the -trt kinematics is not going to work for an -srt machine.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
linuxcnc.org/docs/2.8/html/motion/5-axis-figures/Figure-11.png
Then you should try '5axiskins'. Have a look at the simualtion at /configs/sim/axis/vismach/5axis/bridgemill
If you have a setup like one of these (ie a tilting/rotating mechanism on the machine table) then either 'xyzac-trt' or 'xyzbc-trt' will be useful to you:
linuxcnc.org/docs/2.8/html/motion/5-axis-figures/Figure-3.png
linuxcnc.org/docs/2.8/html/motion/5-axis-figures/Figure-7.png
There are also mixed types. If you are still unsure then please post a picture of your machine.
[edit]
There is also documentation on a XYZBC-SRT kinematic by the same author who contributed the xyzac-trt and xyzbc-trt kinematic: forum.linuxcnc.org/media/kunena/attachme...5-axis-machines2.pdf
[edit2]
I made a simulation from the documented xyz-srt kinematic mentioned above and, as far as I can tell, it does basically the same as '5axiskins' does in the 'bridgemill' simulation config.
Since I don't really have any hands on experience with 5-axis machining I can't say more than that.
Please Log in or Create an account to join the conversation.