- Posts: 43
- Thank you received: 0
TCP 5-axis kinematics
- Peter_Cassar
- Offline
- Senior Member
-
Less
More
4 years 7 months ago #238267
by Peter_Cassar
Replied by Peter_Cassar on topic TCP 5-axis kinematics
I would suggest you first get your basic 5 axis system working with trivkins. Setup the axis as x,y,z, a and c then test these axis work then change the kinematics , usually specified in the machine .INI , where it says trivkins change this to xyzac-trt-kins then add the following lines to the machine HAL file and change the offset values to suit your 4th and 5th axis .
# set offset parameters
net :tool-offset motion.tooloffset.z xyzac-trt-kins.tool-offset
setp xyzac-trt-kins.y-offset 0
setp xyzac-trt-kins.z-offset 20
# set offset parameters
net :tool-offset motion.tooloffset.z xyzac-trt-kins.tool-offset
setp xyzac-trt-kins.y-offset 0
setp xyzac-trt-kins.z-offset 20
Please Log in to join the conversation.
4 years 7 months ago #238290
by andypugh
Edit your INI file [KINS] section to use xyzac-trt-kins rather than trivkins.
That's most of it.
Personally I would use a graphical editor, but you could do it on the command line with nano or vi if you insist.
Replied by andypugh on topic TCP 5-axis kinematics
I have tried to find out how to do this, but due to my lack of knowledge, I could not understand it.
Please tell me exactly how I can do this by typing in the command line.
Edit your INI file [KINS] section to use xyzac-trt-kins rather than trivkins.
That's most of it.
Personally I would use a graphical editor, but you could do it on the command line with nano or vi if you insist.
Please Log in to join the conversation.
- Peter_Cassar
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
4 years 7 months ago #238297
by Peter_Cassar
Replied by Peter_Cassar on topic TCP 5-axis kinematics
Yes, command line is very tedious . Surely VI in a pinch!!
Please Log in to join the conversation.
4 years 7 months ago #238311
by mydani
Replied by mydani on topic TCP 5-axis kinematics
This might be a working kinematics, or maybe not. I did not check it in LinuxCNC itself, as I can't spend more time on this currently.
But in my solver it looks about right. I was not really smoothly integrating it in the trtfuncs.c, but it's in there for now.
Also attached a model for the corresponding machine simulation.
Regards,
Daniel
But in my solver it looks about right. I was not really smoothly integrating it in the trtfuncs.c, but it's in there for now.
Also attached a model for the corresponding machine simulation.
Attachment not found
Attachment not found
Regards,
Daniel
Please Log in to join the conversation.
4 years 7 months ago #238390
by daidai
Replied by daidai on topic TCP 5-axis kinematics
This might be a working kinematics, or maybe not. I did not check it in LinuxCNC itself, as I can't spend more time on this currently.
But in my solver it looks about right. I was not really smoothly integrating it in the trtfuncs.c, but it's in there for now.
Also attached a model for the corresponding machine simulation.
Attachment not found
Attachment not found
Regards,
Daniel
Thank you all for your responses.
I did some test based on your responses.
But M428,M429,M430 are not working.
I am wondering if Mr mydani's comments on this issue could solve this problem.
But due to my lack of knowledge, I do not know what to do with this useful information.
Please let me know exactly what I should do.
Actually, I have a configuration I would like to use.
Attachment not found
It work, but M428,M429,M430 do not work.
I am attaching a picture to more accurately convey my problem.
Please Log in to join the conversation.
4 years 7 months ago #238651
by andypugh
Replied by andypugh on topic TCP 5-axis kinematics
What are M428 (etc) meant to do? Those are not standard G-codes as far as I know.
Please Log in to join the conversation.
4 years 6 months ago #239046
by daidai
Replied by daidai on topic TCP 5-axis kinematics
I'm sorry. My explanation was bad.
What I want to use is switchable kinematics.
github.com/LinuxCNC/linuxcnc/commit/135b0ce52
I'm not very good at using Github and programming, so I'm not understand how I can get the latest switchable kinematics to work.
If possible, please let me know the specifics method.
What I want to use is switchable kinematics.
github.com/LinuxCNC/linuxcnc/commit/135b0ce52
I'm not very good at using Github and programming, so I'm not understand how I can get the latest switchable kinematics to work.
If possible, please let me know the specifics method.
Please Log in to join the conversation.
4 years 6 months ago #239084
by andypugh
Replied by andypugh on topic TCP 5-axis kinematics
Which LinuxCNC version are you using?
Please Log in to join the conversation.
4 years 6 months ago #239088
by 3D-Master
Replied by 3D-Master on topic TCP 5-axis kinematics
Hello,
i have been away for some time. Is it now possible to have XYZAC/BC Kinematics which can be switched to full simultaneous (Tool center point control) at any angle, has the ability to tilt/swivel the rotary axes and shift the part coordinate system (in heidenhain its called Plane Spatial) as well as TCP trajectory planner and machine axis limit calculation so the axes do not slam into hardstops while machine using TCP? I mean not manual handcoding but only choosing the kinematics in the hal or ini file like Trivkins and you are good to go?
thanks
i have been away for some time. Is it now possible to have XYZAC/BC Kinematics which can be switched to full simultaneous (Tool center point control) at any angle, has the ability to tilt/swivel the rotary axes and shift the part coordinate system (in heidenhain its called Plane Spatial) as well as TCP trajectory planner and machine axis limit calculation so the axes do not slam into hardstops while machine using TCP? I mean not manual handcoding but only choosing the kinematics in the hal or ini file like Trivkins and you are good to go?
thanks
Please Log in to join the conversation.
Time to create page: 0.204 seconds
