Axis Modifications
- Arbiwei
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
12 Feb 2022 20:57 #234660
by Arbiwei
Replied by Arbiwei on topic Axis Modifications
Thank you for the fast answer. I'll try it once
Please Log in or Create an account to join the conversation.
- Arbiwei
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
14 Feb 2022 07:11 #234788
by Arbiwei
Replied by Arbiwei on topic Axis Modifications
Shouldn't be thought about.
A component that is now so important as the spindle angle not to be entered as an absolute value 0-360° in the HAL component spindle.0.....? Currently I've entered it with me like this see screenshot.
A component that is now so important as the spindle angle not to be entered as an absolute value 0-360° in the HAL component spindle.0.....? Currently I've entered it with me like this see screenshot.
Please Log in or Create an account to join the conversation.
- D.L.
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 37
14 Feb 2022 07:52 #234789
by D.L.
Replied by D.L. on topic Axis Modifications
For this mod, the value of the position is equal to any float point number(and negative), where 1.0 = 360°.
Displayed only part of number after a decimal point, for example, input value = 123.4, displayed 90.0°(0.4).
Displayed only part of number after a decimal point, for example, input value = 123.4, displayed 90.0°(0.4).
Please Log in or Create an account to join the conversation.
- Arbiwei
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
14 Feb 2022 08:10 #234790
by Arbiwei
Replied by Arbiwei on topic Axis Modifications
Yes, I know that, that's why the arithmetic.
I have currently solved it with my own spindelpos.comp component. Can live with that at the moment.
I have currently solved it with my own spindelpos.comp component. Can live with that at the moment.
Please Log in or Create an account to join the conversation.
- D.L.
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 37
14 Feb 2022 08:29 #234792
by D.L.
Replied by D.L. on topic Axis Modifications
If you only need to display the angle value, without any processing, replace in glcanon.py:
posstrs.append(angformat % ("a", math.fmod(hal.get_value("axisui.display-spindle-angle"),1.0)*360.0))
to
posstrs.append(angformat % ("a", hal.get_value("axisui.display-spindle-angle")))
The following user(s) said Thank You: Arbiwei
Please Log in or Create an account to join the conversation.
- Arbiwei
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
14 Feb 2022 08:43 #234793
by Arbiwei
Replied by Arbiwei on topic Axis Modifications
Many Thanks. We'll see when I get to it 3 children there's always something going on.
Please Log in or Create an account to join the conversation.
- D.L.
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 37
15 Feb 2022 18:20 #234965
by D.L.
Replied by D.L. on topic Axis Modifications
Attachments:
The following user(s) said Thank You: zack, radom
Please Log in or Create an account to join the conversation.
- D.L.
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 37
01 Nov 2022 13:15 #255662
by D.L.
Replied by D.L. on topic Axis Modifications
LinuxCNC 2.8.4 with Axis mod and Mesa driver from 2.9:
github.com/ddotldot/linuxcnc/tree/2.8-ax...-updated-mesa-driver
github.com/ddotldot/linuxcnc/tree/2.8-ax...-updated-mesa-driver
Please Log in or Create an account to join the conversation.
- jpa
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 10
23 Jan 2023 19:16 #262759
by jpa
Replied by jpa on topic Axis Modifications - Remaining time
Here is a snippet to add G-code progress & remaining time estimate to the Axis status bar:
github.com/HacklabJKL/sergei_cnc2/commit...7983c7956d92219af00f
Like the estimate in File -> Properties this does not take acceleration into account, so it will typically estimate a bit shorter time and run negative at the end of the G-code. It does take into account the current feedrate overrides, and updates in real time even if they are changed in the middle of the job.
github.com/HacklabJKL/sergei_cnc2/commit...7983c7956d92219af00f
Like the estimate in File -> Properties this does not take acceleration into account, so it will typically estimate a bit shorter time and run negative at the end of the G-code. It does take into account the current feedrate overrides, and updates in real time even if they are changed in the middle of the job.
The following user(s) said Thank You: tommylight, aparecido, RobC, Arbiwei, hmnijp
Please Log in or Create an account to join the conversation.
- Arbiwei
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
23 Jan 2023 21:19 #262772
by Arbiwei
Replied by Arbiwei on topic Axis Modifications - Remaining time
Nice Feature
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds