APIs, concepts, guides, and more
|
void Execute | ( | GcodeCallbackData * | data | ) |
data | A pointer to a GcodeCallbackData structure containing both API-generated and user-defined information. |
This method gets invoked whenever an M-code is encountered in the G-code file. The method provides a GcodeCallbackData object, which encapsulates the line number and the line string for the encountered M-code, as well as fields for setting the success status and any error details.
Executes the M-code callback.
Definition at line 780 of file cartesianrobot.h.