In Snapmaker 2 there are custom GCODE commands, not standard in Marlin and not documented, that can be helpful to you:
- M1005 Displays Machine Information
- M1006 Displays ToolHead Information
- M1007 Displays Axis Information
- M1010 To Control Enclosure:
- S0: disable door event
- S1: enable door event
- S2: release hold of UART for receiving other PC gcodes
- S3: set light power, P 0-100%, eg.M1010 S3 P100
- S4: set fan power, P 0-100%, eg.M1010 S4 P100
- M1028 Configure the customize parameters of Snapmaker
- S0: show current parameters
- S1: home feedrate, X Y Z
- S2: home bump speed divisor
- S3: max feedrate in calibration, X Y Z
- S4: feedrate in calibration, X Y Z
- S5: Z postions in calibration, details please see comments above
- S6: laser power in calibration
- S7: z limit in calibration
- S8: speed in drawing ruler
- M1999 Restart the MCU
- M2000 Debugging Information and control:
- S0 Actual information
- S1 L0/6 Set PC logging level
- S2 L0/6 Set SC logging level
- S3 Shows Exceptions
- S4 L1/32 Sets extra logging
Let me know if it helps.
Iām assuming you already know how to access the Serial console to issue GCODES if not just ping me