Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool table offsets are not persistent over power cycle #494

Open
karoria opened this issue Apr 22, 2024 · 6 comments
Open

Tool table offsets are not persistent over power cycle #494

karoria opened this issue Apr 22, 2024 · 6 comments

Comments

@karoria
Copy link

karoria commented Apr 22, 2024

Hi @terjeio
I just checked with my new build that tool table offsets (of Z that is only written) are not saved persistently over power cycle(I get it by "$#" command). Is there any setting or compile time option I am missing?
Further, is there any command/variable to read particular tool's Z offset?
Regards,
Ravi

@karoria
Copy link
Author

karoria commented Apr 25, 2024

Hi @terjeio
Can u reproduce this in your system? I use teensy 4.1 with custom board map.

@terjeio
Copy link
Contributor

terjeio commented Apr 25, 2024

I cannot reproduce this, neither wih flash or EEPROM storage. What is your N_TOOLS config?

@karoria
Copy link
Author

karoria commented Apr 25, 2024

N_TOOLS is 6. I am using 5 axis configuration.

@terjeio
Copy link
Contributor

terjeio commented Apr 26, 2024

N_TOOLS is 6. I am using 5 axis configuration.

Works for me, only tested using flash storage. Settings and offsets are kept over a power cycle?

Further, is there any command/variable to read particular tool's Z offset?

The only way is to apply it and calculate the change in position. Add an inbuilt G65 macro to read it?

@karoria
Copy link
Author

karoria commented May 1, 2024

It looks like the tool table offsets given by G10L10P1Z10 command are not persistent over power cycle while G10L1P1Z10 are persistent over power cycle. Can you check it?
Which method do you recommend to save only Z offsets?

@terjeio
Copy link
Contributor

terjeio commented May 6, 2024

L10 (and L11) does not store the changes, this could be incorrect behaviour though. The LinuxCNC documentation is, IMO, ambiguous in that the L1 documentation excplicitly states that the tool table is written out but L10 (and L11) does not do so.
Somebody that runs LinuxCNC can check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants