- Posts: 9
- Thank you received: 0
Axis Modifications
4 years 8 months ago #234660
by Arbiwei
Replied by Arbiwei on topic Axis Modifications
Thank you for the fast answer. I'll try it once
Please Log in to join the conversation.
4 years 8 months ago #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 to join the conversation.
4 years 8 months ago #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 to join the conversation.
4 years 8 months ago #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 to join the conversation.
4 years 8 months ago #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:
Code:
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")))
Please Log in to join the conversation.
4 years 8 months ago #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 to join the conversation.
4 years 8 months ago #234965
by D.L.
Replied by D.L. on topic Axis Modifications
Fixed:Ok now I get it, you cannot have offsets showing with this mod
Attachment not found
Please Log in to join the conversation.
3 years 11 months ago #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 to join the conversation.
3 years 9 months ago #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.
Please Log in to join the conversation.
Time to create page: 0.137 seconds
