TCP 5-axis kinematics
yes, I got there now I have version 2.9pre under Dabian 10.
I am now looking to install the switchkin branch with buildbot.
If might be important to deinstall 2.9pre in synaptic manager prior to trying to reinstalling current 2.9pre. The procedure to uninstall the installed version of linuxcnc in Synaptic Package Manager can be seen in the video I posted.
But I'm really not sure why you insist on not using the official 2.8.2 ISO and update that to current master.
[edit]
maybe there is a misunderstanding and you already have updated to current 2.9pre? Have you checked if millturn config is available in the configuration picker?
[edit]
this here might help to find where to look for the sim config:
forum.linuxcnc.org/16-stepconf-wizard/43...atics?start=0#214810
Please Log in or Create an account to join the conversation.
it works I didn't understand that it was necessary to open an xyzac simulation and then save it.
the language barrier is not always easy ...
I will now put my config.
it is much simpler than all the compilations that I have been able to perform (search for all sources) etc ...
thank you all
Please Log in or Create an account to join the conversation.
That is not really necessary. The reason why I wanted you to check the simulation configs is because that is an easy way to find out if you have 2.9pre with switchable kinematics installed.I didn't understand that it was necessary to open an xyzac simulation and then save it.
Anyway, I'm glad you got it working.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
The important thing is to get the Y,Z offsets and the X Y Z values of the rotation point right.
Nice to see that you got it working too.
Please Log in or Create an account to join the conversation.
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 :
[DISPLAY]
GEOMETRY = xyzab
[TRAJ]
COORDINATES = XYYZBC
[KINS]
JOINTS = 6
KINEMATICS = xyzbc-trt-kins coordinates=XYYZBC sparm=identityfirst
In my hal:
# Kinematics
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
net tool-offset motion.tooloffset.z xyzbc-trt-kins.tool-offset
In my M128 code:
#!/bin/bash
halcmd setp motion.switchkins-type 1
halcmd -f <<EOF
setp ini.x.min_limit -50
setp ini.x.max_limit 4550
setp ini.y.min_limit -40
setp ini.y.max_limit 3140
setp ini.z.min_limit -740
setp ini.z.max_limit 0.1
setp ini.b.min_limit -135
setp ini.b.max_limit 315
setp ini.c.min_limit -270
setp ini.c.max_limit 270
EOF
exit 0
In my M129 code:
#!/bin/bash
halcmd setp motion.switchkins-type 0
halcmd -f <<EOF
setp ini.x.min_limit -50
setp ini.x.max_limit 4550
setp ini.y.min_limit -40
setp ini.y.max_limit 3140
setp ini.z.min_limit -740
setp ini.z.max_limit 0.1
setp ini.b.min_limit -135
setp ini.b.max_limit 315
setp ini.c.min_limit -270
setp ini.c.max_limit 270
EOF
exit 0
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.