rotation plane around y axis in g18
- papagno-source
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 3
16 Jan 2025 00:00 #319062
by papagno-source
rotation plane around y axis in g18 was created by papagno-source
Hi.
In linuxcnc we have g10 l2 px rx and rotation plane xy around z on px origin selected.
For plane g18 not have implementation for linuxcnc ?
Thanks
In linuxcnc we have g10 l2 px rx and rotation plane xy around z on px origin selected.
For plane g18 not have implementation for linuxcnc ?
Thanks
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23197
- Thank you received: 4879
17 Jan 2025 18:51 #319205
by andypugh
Replied by andypugh on topic rotation plane around y axis in g18
No, rotation about Z is a special case.
Rotation of the other planes (including uvw) might be nice, though there doesn't seem to have been many requests for it.
Rotation of the other planes (including uvw) might be nice, though there doesn't seem to have been many requests for it.
Please Log in or Create an account to join the conversation.
- papagno-source
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 3
18 Jan 2025 15:42 #319293
by papagno-source
Replied by papagno-source on topic rotation plane around y axis in g18
I think that for a cnc, rotations in the G17-G19-G20 planes are fundamental. There are many machines that have a double spindle, one installed vertically and the other horizontally. In these cases it is necessary to change the plane and the rotation of the plane, allows to greatly facilitate the work of programming the piece.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4170
- Thank you received: 1825
18 Jan 2025 17:39 #319297
by Aciera
Replied by Aciera on topic rotation plane around y axis in g18
The usual approach is to create a configuration for vertical and another for horizontal operation but
one can easily create a kinematic that allows for switching between vertical and horizontal spindle orientation even in Gcode.
one can easily create a kinematic that allows for switching between vertical and horizontal spindle orientation even in Gcode.
Please Log in or Create an account to join the conversation.
- papagno-source
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 3
19 Jan 2025 17:15 #319386
by papagno-source
Replied by papagno-source on topic rotation plane around y axis in g18
Thanks for reply.
Please can write a example for orientation plane in Gcode.
Much thanks.
Please can write a example for orientation plane in Gcode.
Much thanks.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4170
- Thank you received: 1825
19 Jan 2025 17:52 #319388
by Aciera
Replied by Aciera on topic rotation plane around y axis in g18
For a basic example have a look at the 'configs/sim/axis/vismach/millturn' for a similar use case.
The kinematic file used is this one:
github.com/LinuxCNC/linuxcnc/blob/master...onents/millturn.comp
For a simple vertical/horizontal kinematic you would only need to change this:
to
The kinematic file used is this one:
github.com/LinuxCNC/linuxcnc/blob/master...onents/millturn.comp
For a simple vertical/horizontal kinematic you would only need to change this:
case 0:
pos->tran.x = j[0];
pos->tran.y = j[1];
pos->tran.z = j[2];
pos->a = j[3];
break;
case 1:
pos->tran.x = j[2];
pos->tran.y = -j[1];
pos->tran.z = j[0];
pos->a = j[3];
break;
}
// unused coordinates:
pos->b = 0;
pos->c = 0;
pos->u = 0;
pos->v = 0;
pos->w = 0;
case 0:
pos->tran.x = j[0];
pos->tran.y = j[1];
pos->tran.z = j[2];
break;
case 1:
pos->tran.x = -j[0];
pos->tran.y = j[2];
pos->tran.z = j[1];
break;
}
// unused coordinates:
pos->a = 0;
pos->b = 0;
pos->c = 0;
pos->u = 0;
pos->v = 0;
pos->w = 0;
Please Log in or Create an account to join the conversation.
- papagno-source
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 3
19 Jan 2025 22:21 #319415
by papagno-source
Replied by papagno-source on topic rotation plane around y axis in g18
I am very grateful for the support you give us.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- papagno-source
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 3
19 Jan 2025 22:46 #319417
by papagno-source
Replied by papagno-source on topic rotation plane around y axis in g18
I have add millturn.com.
When compile with make , have :
hal/components/millturn.comp: In function ‘millturn_setup’:
hal/components/millturn.comp:71:9: warning: implicit declaration of function ‘hal_set_unready’; did you mean ‘hal_port_read’? [-Wimplicit-function-declaration]
if (hal_set_unready(comp_id)) goto error;
^~~~~~~~~~~~~~~
hal_port_read
Linking ../rtlib/millturn.so
I use debian 10 with linuxcnc 2.9.pre0.
i have add milturn.comp at core_sim.hal in axis sim , have error :
Note: Using LXRT realtime
millturn: dlopen: /usr/lib/libint/rtlib/millturn.so: undefined symbol: hal_set_unready
how can resolve this ?
Thanks
When compile with make , have :
hal/components/millturn.comp: In function ‘millturn_setup’:
hal/components/millturn.comp:71:9: warning: implicit declaration of function ‘hal_set_unready’; did you mean ‘hal_port_read’? [-Wimplicit-function-declaration]
if (hal_set_unready(comp_id)) goto error;
^~~~~~~~~~~~~~~
hal_port_read
Linking ../rtlib/millturn.so
I use debian 10 with linuxcnc 2.9.pre0.
i have add milturn.comp at core_sim.hal in axis sim , have error :
Note: Using LXRT realtime
millturn: dlopen: /usr/lib/libint/rtlib/millturn.so: undefined symbol: hal_set_unready
how can resolve this ?
Thanks
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4170
- Thank you received: 1825
19 Jan 2025 23:02 #319418
by Aciera
I think you would have to update to 2.9.3.
Replied by Aciera on topic rotation plane around y axis in g18
I use debian 10 with linuxcnc 2.9.pre0.
I think you would have to update to 2.9.3.
Please Log in or Create an account to join the conversation.
- papagno-source
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 3
22 Jan 2025 18:17 #319652
by papagno-source
Replied by papagno-source on topic rotation plane around y axis in g18
Hi.
For testing , is can modification trivkins kinematics for it , or is complicated.
Thanks
For testing , is can modification trivkins kinematics for it , or is complicated.
Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.089 seconds