Axis scale resolution

More
06 Oct 2020 06:51 - 06 Oct 2020 06:52 #185037 by lofix
Axis scale resolution was created by lofix
At the begining I want to say hello everybody, because I am new here ;)

I have a question regarding configuration. How I can change resolution from X: 0.0000 to X: 0.00
I am asking about it, because step in my cnc is 0.05mm and I want to see value much more closer to the real position.

I attached picture to show what I am asking about.

Thank you for your support.
Attachments:
Last edit: 06 Oct 2020 06:52 by lofix.

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

More
06 Oct 2020 09:56 #185044 by phillc54
Replied by phillc54 on topic Axis scale resolution
If you upgrade to 2.8 you can customise the dro settings.

linuxcnc.org/docs/2.8/html/config/ini-co...tml#_display_section

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

More
06 Oct 2020 10:28 #185046 by lofix
Replied by lofix on topic Axis scale resolution
Thanks for information, I will check which version I have now.
One question more...
If I change this DRO_Format and I wil get 0.00 format, is there a possibility to have step on 0.05 not 0.01 ?

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

More
06 Oct 2020 17:39 #185103 by Todd Zuercher
Replied by Todd Zuercher on topic Axis scale resolution
If you are refering to the jog increments, then yes.
Same section see INCREMENTS.

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

More
06 Oct 2020 19:02 - 06 Oct 2020 19:10 #185114 by lofix
Replied by lofix on topic Axis scale resolution
@Todd
I've changed jog increments to 5mm 2mm 1mm 0.5mm 0.1mm 0.05mm

What I want to achieve, is that in continuous mode, it will stepping every 0.05mm on the display, because I know that it is physically working like that.

@phillc54
I've checked... I have 2.7 and upgrade is needed :(
Last edit: 06 Oct 2020 19:10 by lofix.

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

More
07 Oct 2020 18:07 #185287 by Todd Zuercher
Replied by Todd Zuercher on topic Axis scale resolution
Not sure how that could be achieved.

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

More
07 Oct 2020 22:23 #185308 by cmorley
Replied by cmorley on topic Axis scale resolution
Some how you would need AXIS to process the DRO value with something like this (found on the net):
But I wonder about possible problems with say doing offset adjustment calculations with such a display.

def round_to(n, precision):
    correction = 0.5 if n >= 0 else -0.5
    return int( n/precision+correction ) * precision

def round_to_05(n):
    return round_to(n, 0.05)

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

Time to create page: 0.115 seconds
Powered by Kunena Forum