Skew correction/perpendicularity correction (millkins or millkins_xyz)

More
30 Nov 2024 08:16 #315618 by abdulasis12
Hi
I want somebody help
I think now my CNC problem seem this topic.
My CNC XYZ  and Y correct  linear move 
my X axis table on Y-axis base it's Skewed angle .
forum.linuxcnc.org/49-basic-configuratio...s-xyz?start=0#280714
I D/L this file from MR.Aciera

I open terminal and compile file
asis@192:~/Downloads/skewkins$ sudo halcompile --install skewkins.comp
[sudo] password for asis: 
Compiling realtime skewkins.c
Linking skewkins.so
cp skewkins.so /usr/lib/linuxcnc/modules/
asis@192:~/Downloads/skewkins$ 

I open hal
#loadrt [KINS]KINEMATICS
loadrt skewkins
setp skewkins.skew 0.01

I open ini
[KINS]
JOINTS = 4
KINEMATICS = skewkins


this problem when run linuxcnc
***********
Debug file information:
Note: Using POSIX realtime
./217-4x.hal:7: parameter or pin 'skewkins.skew' not found
9192
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
*********

what i'm wrong ?

Asis,

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

More
30 Nov 2024 09:48 #315627 by Aciera
that kinematic does not have a pin called 'skewkins.skew'. Try 'skewkins.skew-y':

 
Attachments:
The following user(s) said Thank You: abdulasis12

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

More
02 Dec 2024 11:30 #315779 by abdulasis12
Hi Aciera
Thank you,  Now look its working  when jog   I will  caribrate my cnc new again.
this unit is angle ?

Thank you,
Asis

 
Attachments:

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

More
02 Dec 2024 12:17 - 02 Dec 2024 12:18 #315783 by Aciera
It's a ratio. units of skew in Y  per unit of travel in X. If you set 'skew-y' to 0.1 then moving the y-axis in the positive direction will have the x-axis move 0.1 units in the negative direction for every unit of y-travel.

j [0] = pos->tran.x - pos->tran.y*(*(haldata->skew_y)) - pos->tran.z*(*(haldata->skew_xz));
j [1] = pos->tran.y - pos->tran.z*(*(haldata->skew_yz));
j [2] = pos->tran.z;
 
Last edit: 02 Dec 2024 12:18 by Aciera.
The following user(s) said Thank You: tommylight, abdulasis12

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

Time to create page: 0.110 seconds
Powered by Kunena Forum