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

Maybe a bug around door and parking #610

Open
Klippert opened this issue Oct 16, 2024 · 5 comments
Open

Maybe a bug around door and parking #610

Klippert opened this issue Oct 16, 2024 · 5 comments

Comments

@Klippert
Copy link

Hello,

I've noticed a couple of odd things around using the Door switch (and parking) as a "pause" to intervene when things sometimes does not go to my liking... And that happens more than it should...

So here is first thing that happens:

I have a simple program that runs with two tools.

  1. I home the machine
  2. I do a M61Q70 (first tool) and probe using the probing tap on my tool probe.
  3. I run the program, and it starts and runs beautifully...
  4. I press my door switch, and trigger a pause and park maneuver - Z goes up and spindle stops.
  5. I stop my program
  6. I move my X-coordinate to get better material usage (first tool was just facing)
  7. I rewind the program and his start.
  8. It starts over and runs the first tool all good.
  9. I goes to the toolprobe and ask for the second tool
  10. I change tool
  11. $tpw and tool is probed
  12. It now proceeds to dig a 7mm deep hole in my spoilboard before i catch it with the emergency stop.

I've had this same scenario happen on a couple of cases. If i use the door and move things around, things usually go pearshaped later in the process. Unless i do a full reset and re-home. (i've no idea if that actually is necessary.)

The second situation is same scenario - a program with tool changes.

  1. I home the machine
  2. I do a M61Q70 (first tool) and probe using the probing tap on my tool probe.
  3. I run the program, and it starts and runs beautifully...
  4. I press my door switch, and trigger a pause and park maneuver - Z goes up and spindle stops.
  5. I stop my program
  6. I make some changes to workholding...
  7. To get out of the "door" mode, i hit start - spindle goes down to where it was. (as I guess it shold) and door mode disappear.
  8. Now to move the spindle to a safe position i hit the jog button up 10mm once - spindle goes up 10mm.
  9. I hit jog button up again, and nothing happens.
  10. I have to reset and start everything over - it seems like it's all locked up....

Please let me know what you think?`

Best
Kristoffer

@terjeio
Copy link
Contributor

terjeio commented Oct 24, 2024

This will have to wait until I am back home in a couple of weeks since I do not have access to a machine.

@Klippert
Copy link
Author

Klippert commented Oct 24, 2024 via email

@Klippert
Copy link
Author

Ping?

terjeio added a commit that referenced this issue Nov 29, 2024
…re in preparation for coming changes.

Added code guards in order to free some memory for STM32F103 variants with 128K flash.
Changed Stop (0x19) real-time command behaviour, active tool offset and coordinate system will now be kept. Ref. issue #610.
@terjeio
Copy link
Contributor

terjeio commented Nov 29, 2024

The first issue is likely due to the tool offset beeing reset when the Stop command is sent. I have changed this in the last commit. Both the tool offset and the last selected offset (G54...) is now preserved over a stop. I may have to add a setting to enable this...
I am not able to reproduce the second issue (jog lock up), can you provide a minimal gcode file that fails that I can use for testing?

@Klippert
Copy link
Author

Hello terje,

thanks for looking into the issue and thanks for the fix.

Now it’s me that is away - but I’ll be back after Christmas, then I’ll find an example where the lockup occurs. I think all my g code files would reproduce the error - but let me test again

best

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