Axis Modifications

More
4 years 8 months ago #234638 by Arbiwei
Replied by Arbiwei on topic Axis Modifications
very nice I've been looking for a way to display the spindle position for a long time. Are you planning to start a pull request or will your development not be included in the LinuxCNC project? why is the letter of the spindle a lowercase "a"? At Heidenhain it is "S1" for the first spindle, "S2" for the second, etc.

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

More
4 years 8 months ago #234659 by D.L.
Replied by D.L. on topic Axis Modifications
Hi.
PR is planned, maybe a little later, mod for 2.9 yet not tested.
'a' = 'angle', it can be easily replaced by another text.
To do this, find and replace one string in the file glcanon.py.
For example:
posstrs.append(angformat % ("a",
to
posstrs.append(angformat % ("S1",
The following user(s) said Thank You: Arbiwei

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

More
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 or Create an account to join the conversation.

More
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.
 
Attachments:

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

More
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).

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

More
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.

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

Time to create page: 0.456 seconds
Powered by Kunena Forum