Hello,
I am attempting to create, and use, a macro for when my machine powers on. The code I am using is listed below. It compiles just fine however, the machine does nothing when powered on. Any help is appreciated. Thank you in advance.
/**
* Startup commands
*
* Execute certain G-code commands immediately after power-on.
*/
#define STARTUP_COMMANDS "M810"
/**
* G-code Macros
*
* Add G-codes M810-M819 to define and run G-code macros.
* Macros are not saved to EEPROM.
*/
#define GCODE_MACROS
#if ENABLED(GCODE_MACROS)
#define GCODE_MACROS_SLOTS 1 // Up to 10 may be used
#define GCODE_MACROS_SLOT_SIZE 50 // Maximum length of a single macro
#define M810 M190 S55|G28|G34|G1 Z200 F1200|G28
#endif