Welcome! Log In Create A New Profile

Advanced

How to recover from M112 command

Posted by imqqmi 
How to recover from M112 command
November 24, 2015 12:48PM
I'm trying to control my Prusa i3 Marlin 1.0.0 based printer (RAMPS 1.4) from a c# application. I can setup the communication and I can send commands with no problem. Like Repetier Host I wanted to add an Emergeny Stop button. I've looked at the command log in Repetier Host and it sends M112 (I think) to stop the printer dead. Repetier Host manages to get the printer out of this 'all stop' state and resume issueing commands.

Unfortunately I'm not able to get the printer back up and running from my own application. I either connect with Repetier Host again or power down the printer and turn it on again to recover from this state. Is there a secret command to re-initialize the printer after M112 or hitting the stop button on the smart controller?


--
Kind regards
Imqqmi

NFAN CoreXY printer:
[reprap.org]
Re: How to recover from M112 command
November 24, 2015 01:12PM
I've figured it out. I can set DTR low for 100ms then high again, it's an arduino feature. DTR is hard wired to the RESET input of the AVR mcu.


--
Kind regards
Imqqmi

NFAN CoreXY printer:
[reprap.org]
Sorry, only registered users may post in this forum.

Click here to login