Not certain about your specific machine but Snapmaker has it’s own device profile which is what you’d normally want to use.
Are you certain your firmware supports Inline function?
If so, you might be able to hack a solution but it would require manual g-code tweaking.
See here:
1 Like