5axiskins tool offset

More
6 years 5 months ago #166689 by AndrewL
How do you apply a tool offset to the 5axiskins so that the machine will rotate around the tool tip?

So far, this is what I'm trying on a mostly stock "Sim-5Axis Bridge Mill (xyzbc)" config.:
[HAL]
HALCMD = net :tool-len motion.tooloffset.w 5axisgui.tool_length
# HALCMD = net pivot-len motion.tooloffset.w 5axiskins.pivot-length (this will not work)
HALCMD = setp 5axiskins.pivot-length 200 (This alters the right parameter but will not adapt to a tool change)

Then G Code:
M6 T1 G43 (With some W offset in the tool table)

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

More
6 years 5 months ago #166741 by bbsr_5a
Replied by bbsr_5a on topic 5axiskins tool offset
the Standard tooltable ofsets shoudt work no need to apply offsets by W axis
what kinetics are you using the 2.8 master got a new kinetics file for the 5axis standard AC BC

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

More
6 years 5 months ago #166769 by AndrewL
Replied by AndrewL on topic 5axiskins tool offset
linucnc-uspace-dev 1:2.8.0~pre1.5843
KINEMATICS = 5axiskins

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

More
6 years 5 months ago #167765 by AndrewL
Replied by AndrewL on topic 5axiskins tool offset
Switching kinematics between 5axiskins and trivkins may be a solution. I wanted to begin by using the halcompile to load some kinematics from:
github.com/LinuxCNC/linuxcnc/tree/master/src/emc/kinematics

However, when I try this in the terminal, I get errors. What is wrong?
Code:
sudo halcompile --install switchkins.c

Code:
Compiling realtime switchkins.c In file included from switchkins.c:17:0: /home/engineering/Desktop/CMS_programming_Components/halcompile_files/switchkins.h:27:19: error: unknown type name ‘kparms’ /home/engineering/Desktop/CMS_programming_Components/halcompile_files/switchkins.h:31:28: error: unknown type name ‘kparms’ /home/engineering/Desktop/CMS_programming_Components/halcompile_files/switchkins.h:32:28: error: unknown type name ‘KS’ /home/engineering/Desktop/CMS_programming_Components/halcompile_files/switchkins.h:32:39: error: unknown type name ‘KS’ /home/engineering/Desktop/CMS_programming_Components/halcompile_files/switchkins.h:32:50: error: unknown type name ‘KS’ switchkins.c:21:1: error: unknown type name ‘kparms’ switchkins.c: In function ‘gui_forward_kins’: switchkins.c:89:15: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:95:21: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:98:33: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:99:33: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:100:33: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:101:33: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:102:33: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:103:33: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c: In function ‘kinematicsForward’: switchkins.c:177:11: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c: In function ‘rtapi_app_main’: switchkins.c:235:7: error: request for member ‘kinsname’ in something not a structure or union switchkins.c:236:7: error: request for member ‘halprefix’ in something not a structure or union switchkins.c:237:7: error: request for member ‘max_joints’ in something not a structure or union switchkins.c:238:7: error: request for member ‘required_coordinates’ in something not a structure or union switchkins.c:239:7: error: request for member ‘fwd_iterates_mask’ in something not a structure or union switchkins.c:240:7: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:242:7: error: request for member ‘sparm’ in something not a structure or union switchkins.c:244:5: error: unknown type name ‘KS’ switchkins.c:245:5: error: unknown type name ‘KS’ switchkins.c:246:5: error: unknown type name ‘KS’ switchkins.c:255:14: error: request for member ‘fwd_iterates_mask’ in something not a structure or union switchkins.c:261:12: error: request for member ‘kinsname’ in something not a structure or union switchkins.c:263:12: error: request for member ‘halprefix’ in something not a structure or union switchkins.c:264:11: error: request for member ‘halprefix’ in something not a structure or union switchkins.c:264:27: error: request for member ‘kinsname’ in something not a structure or union switchkins.c:265:59: error: request for member ‘halprefix’ in something not a structure or union switchkins.c:268:11: error: request for member ‘max_joints’ in something not a structure or union switchkins.c:268:32: error: request for member ‘max_joints’ in something not a structure or union switchkins.c:271:11: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:285:26: error: request for member ‘kinsname’ in something not a structure or union switchkins.c:295:11: error: request for member ‘gui_kinstype’ in something not a structure or union switchkins.c:308:40: error: request for member ‘required_coordinates’ in something not a structure or union switchkins.c:310:12: error: called object ‘ksetup0’ is not a function switchkins.c:311:12: error: called object ‘ksetup1’ is not a function switchkins.c:312:12: error: called object ‘ksetup2’ is not a function switchkins.c:319:41: error: request for member ‘kinsname’ in something not a structure or union make: *** [switchkins.o] Error 1

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

More
6 years 5 months ago #167807 by Aciera
Replied by Aciera on topic 5axiskins tool offset
I found that halcompile does not handle kinematics files well. You might want to try the proper build process.
linuxcnc.org/docs/2.8/html/code/building-linuxcnc.html

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

More
6 years 5 months ago #167821 by bbsr_5a
Replied by bbsr_5a on topic 5axiskins tool offset
the switchkins shoudt be part of the new 2.9 as so many of the 5Axis mashine users like to use it

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

Time to create page: 0.355 seconds
Powered by Kunena Forum