Setting the printer to ready via an input pin on the GPIO
I've modified my MK4S with an auto eject scrapper so I can queue up multiple prints with having to unload the printer manually.
It sends a finish signal Via the GPIO to a micro controller to start the sequence.
If you are curious this is the set up for the auto eject. Not my design, but works great: https://github.com/d-weber/prusa-chain-production/
Hats off the the designer d-weber.
However, the thorn in the lions paw is the set ready on the printer.
On the store page for the GPIO it claims it can be used to set the printer to ready.
This is what I have tried:
I've made Pin 6 on the GIPO to an input so I can have it execute a macro from a gcode file on the USB.
The macro is 2 lines of code:
- M72 S1 ; Set printer to ready State
- M300 ; Buzz to confirm macro was executed
I'm trying to use the M72 command to set the printer to the ready state. It seems like it should work.
https://help.prusa3d.com/article/prusa-firmware-specific-g-code-commands_112173#m-commands
I know the macro is executed because it buzzes. But the printer doesn't change.
- Does anyone understand the M72 command?
- Is there an alterative to way to do set the printer to ready through gcode?
I'm not much of a programmer so I'm out of my element.
Any help would be appreciated!