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

Improved cooldown timer #1039

Closed
frankvdh opened this issue Jun 5, 2020 · 1 comment
Closed

Improved cooldown timer #1039

frankvdh opened this issue Jun 5, 2020 · 1 comment

Comments

@frankvdh
Copy link

frankvdh commented Jun 5, 2020

Currently, the cooldown timing is simple clock time from the start of the work, not taking into account the time that the laser is actually on or off. So for example, I have had the machine stop when it was just moving the axes with the laser off.

I propose that the cooldown timing be along the lines of...
Every second:
If the laser is on,
Add 1 to the timer
If the timer exceeds the maxtime
Turn the laser off
If speed of either stepper is above max jerk speed
// Need to decelerate the steppers if speed is above max jerk
Record X, Y position
Decelerate to max jerk
Stop movement
Position at below max jerk speed to the recorded X,Y
endif
Stop motors
Pause for the offtime
Resume motion with laser on // Accelerating to specified speed, so also ramp up laser power
endif
else
Subtract offtime/maxtime from the timer // So time spent with the laser off during positioning counts towards cooldown
endif

@arkypita
Copy link
Owner

arkypita commented Jun 7, 2020

cooldown it is not something achievable in these terms

@arkypita arkypita closed this as completed Jun 7, 2020
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