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

PFW-910 Add remaining time to change/pause/user interaction to LCD Info screen #3021

Merged
merged 15 commits into from
Feb 15, 2021

Conversation

3d-gussner
Copy link
Collaborator

  • Add parameter C to gcode M73
  • LCD Info screen switches to change time if last M73 gcode contains C parameter
    • Examples:
      • M73 P5 R120 will display on LCD SD 5% 02:00R if it is printing at 100% speed
      • M73 P5 R120 C60 will display on LCD SD 5% 01:00C if it is printing at 100% speed

Slicers can generate "Time to change/pause/user interaction" using C<mins:0-65535> parameter to "overwrite" the remaining print time.
To switch between time to change and remaining time just send in intervals M73 with or without C parameter.

- Add parameter `C` to gcode `M73`
- LCD Info screen switches to change time if last `M73` gcode contains `C` parameter
  - Examples:
    - `M73 P5 R120` will display on LCD ` SD  5%      02:00R ` if it is printing at 100% speed
    - `M73 P5 R120 C60` will display on LCD ` SD  5%      01:00C ` if it is printing at 100% speed

Slicers can generate "Time to change/pause/user interaction" using `C<mins:0-65535>` parameter to "overwrite" the remaining print time.
To switch between time to change and remaining time just send in intervals `M73` with or without `C` parameter.
- depends on difference between print time remaining NORMAL vs SILENT mode
Adjust estimated times only if speed is changed. Printing time has to stay printing time.
The remaining time stays for ~5 seconds while the change time stays just for ~1 second
- If `M73` `R,S,C,D` values set the LCD Info screen clock switchs between Remaining and Change time
- If Remaining time is 0 while Change time is >0 the clock switchs between Change time and actual printing time
- If Change is 0 while Remaining time is >0 the clock shows the Remaining time
- If both are 0 the clock shows the actual printing time
- `M73 C` values are shown in "Normal" mode
- `M73 D` values are shown in "Stealth" mode
- Changing the speed will try to calculate the espected times and show `?` behind `R` or `C`
@3d-gussner 3d-gussner marked this pull request as ready for review February 15, 2021 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants