M81 G-codes to power on/off power supply.
Is there a G-code to know the actual state of the power supply?
3D Printing Stack Exchange is a question and answer site for 3D printing enthusiasts. It only takes a minute to sign up.Sign up to join this community
I don't see one at http://reprap.org/wiki/G-code so it's probably safest to set the power supply to the state you want.
Thanks! I confirmed that there isn't such a G-code. I sent a pull request to make this posible: https://github.com/MarlinFirmware/Marlin/pull/6671
Now, "M80 S" reports the current state of the power supply.