The RMP Motion Controller APIs
GcodeCallback

Handles callbacks for M-codes within a G-code file. More...

Functions

void Execute (GcodeCallbackData *data)
 Executes the M-code callback.
 

Description

This class serves as a callback mechanism that gets invoked when an M-code is encountered in the G-code file. It allows you to define custom behavior for specific M-codes. The class provides a single method, Execute, that should be overridden to include the desired M-code handling logic.

Handles callbacks for M-codes within a G-code file.

Note
Inherit from this class and implement the Execute method to add your custom M-code logic.
See also
GcodeCallbackData
Examples
GcodeMotion.cs.

Definition at line 899 of file cartesianrobot.h.