- Configuring LinuxCNC
- HAL
- HAL Examples
- Emulating lathe compound angle via manipulation of X & Z drives
Emulating lathe compound angle via manipulation of X & Z drives
- slowpoke
- Offline
- Elite Member
-
Less
More
- Posts: 199
- Thank you received: 28
19 Jun 2025 07:34 - 19 Jun 2025 07:34 #330491
by slowpoke
Emulating lathe compound angle via manipulation of X & Z drives was created by slowpoke
Axis GUI for a lathe, using Mesa
I have servos driving the X (cross slide), and Z (carriage) all working.
I also have MPG to manipulate X & Z.
I have removed my compound to make the lathe more rigid, with the rationale that I can emulate the compound via correct step pulse generation of the X & Z drives via the MPG.
Has someone done this?
HAL example?
Thank you
I have servos driving the X (cross slide), and Z (carriage) all working.
I also have MPG to manipulate X & Z.
I have removed my compound to make the lathe more rigid, with the rationale that I can emulate the compound via correct step pulse generation of the X & Z drives via the MPG.
Has someone done this?
HAL example?
Thank you
Last edit: 19 Jun 2025 07:34 by slowpoke.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
Less
More
- Posts: 4425
- Thank you received: 1973
19 Jun 2025 09:37 #330494
by Aciera
Replied by Aciera on topic Emulating lathe compound angle via manipulation of X & Z drives
For jogging there is the 'anglejog' component:
linuxcnc.org/docs/stable/html/man/man9/anglejog.9.html
linuxcnc.org/docs/stable/html/man/man9/anglejog.9.html
The following user(s) said Thank You: besriworld, slowpoke
Please Log in or Create an account to join the conversation.
- slowpoke
- Offline
- Elite Member
-
Less
More
- Posts: 199
- Thank you received: 28
19 Jun 2025 12:27 - 19 Jun 2025 12:52 #330499
by slowpoke
Replied by slowpoke on topic Emulating lathe compound angle via manipulation of X & Z drives
Thank you, and this is what I love about LinuxCNC, it seems that whatever somewhat custom idea you dream up LinuxCNC has the handle to make it happen. It's a tinkerer's candy store.For jogging there is the 'anglejog' component:
linuxcnc.org/docs/stable/html/man/man9/anglejog.9.html
Last edit: 19 Jun 2025 12:52 by slowpoke.
The following user(s) said Thank You: tommylight, besriworld
Please Log in or Create an account to join the conversation.
- slowpoke
- Offline
- Elite Member
-
Less
More
- Posts: 199
- Thank you received: 28
25 Jun 2025 18:38 #330869
by slowpoke
I added anglejog to the real time thread so I can see the parameters in HAL.
I was hoping to just do a little test jog from HAL before connecting coscounts and sincounts to the servos in HAL.
However both those outputs seem to have really large numbers. Please see attached.
is there anything obvious that I'm doing wrong?
Replied by slowpoke on topic Emulating lathe compound angle via manipulation of X & Z drives
I need a little assistance with anglejog please.
For jogging there is the 'anglejog' component:
linuxcnc.org/docs/stable/html/man/man9/anglejog.9.html
Thank you, and this is what I love about LinuxCNC, it seems that whatever somewhat custom idea you dream up LinuxCNC has the handle to make it happen. It's a tinkerer's candy store.
I added anglejog to the real time thread so I can see the parameters in HAL.
I was hoping to just do a little test jog from HAL before connecting coscounts and sincounts to the servos in HAL.
However both those outputs seem to have really large numbers. Please see attached.
is there anything obvious that I'm doing wrong?
Attachments:
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
Less
More
- Posts: 4425
- Thank you received: 1973
26 Jun 2025 06:39 #330884
by Aciera
Replied by Aciera on topic Emulating lathe compound angle via manipulation of X & Z drives
Attachments:
The following user(s) said Thank You: slowpoke
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- HAL
- HAL Examples
- Emulating lathe compound angle via manipulation of X & Z drives
Time to create page: 0.375 seconds