Add feature PSU POWER Action gcode#19831
Closed
senseisimple wants to merge 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
Closed
Add feature PSU POWER Action gcode#19831senseisimple wants to merge 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
senseisimple wants to merge 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
Conversation
PSU_POWERUP_GCODE and PSU_POWEROFF_GCODE to allow running gcodes as part of the PS_ON/OFF (M80/M81) switching. Example use being turning separately controlled case lights on/off (M355) as part of power on/off. A relevant feature request is open (this adds a more generic approach than those suggested): MarlinFirmware#13318 set poweroff gcode to only run if powered on
Member
|
For one reason or another this was not editable by admins, so the PR has been re-created in an editable form. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
PSU_POWERUP_GCODEandPSU_POWEROFF_GCODEdefinitions to the PSU_CONTROL block which enables running gcode as part of the PS_ON/OFF (M80/M81) switching (manual, auto on, and timeout) routines.An example use is to turn on separately controlled case lights on/off (M355) as part of power on/off.
Benefits
Allow running gcode as part of the PS_ON/OFF (M80/M81) action which implicitly benefits from the related functionality of the AUTO_POWER_CONTROL and POWER_TIMEOUT controls.
Configurations
Stock Configuration.h is included in the commit with the two new definition entries
PSU_POWERUP_GCODEandPSU_POWEROFF_GCODEcommented.Related Issues
A relevant feature request is open (this adds a more generic approach than those suggested):
#13318