Welcome! Log In Create A New Profile


M226..."echo:Unknown command"

Posted by Adrianjay 
M226..."echo:Unknown command"
October 24, 2022 11:51AM
Newbie with limited programing knowledge. I'm receiving the following error message "echo:Unknown command" with M226.

Marlin 2.1.1
Arduino Mega
Ramps 1.4

Syringe pumps actuated by stepper motors, which is activated by a digital signal loop.

Briefly, when I use Marlin's command M226 to activate the pumps/motors from Pronterface command line, the error message "echo:Unknown command: "M226" appears. I've been troubleshooting this problem for weeks without any resolution. I've changed out the board and updated the firmware multiple times.

Given my limited understanding of Marlin's framework, I'm hoping you have some suggestions on how to proceed with the issues that I'm still having the hardware not recognize specific Marlin codes. Has anyone else run into this problem? Is there a different Pin number I should call on the Arduino Mega/Ramps 1.4 configuration?

Thanks in advance for your help!
Re: M226..."echo:Unknown command"
October 24, 2022 04:05PM
M226 requires DIRECT_PIN_CONTROL to be enabled in configuration_adv.h before it's recognized.
Sorry, only registered users may post in this forum.

Click here to login