Snapmaker / SnapmakerController-IDEX

Controller firmware for Snapmaker IDEX machines
GNU General Public License v3.0
27 stars 12 forks source link

Quick toolhead swap (`M2000 S200`) not supported via Octoprint? #28

Open evilC opened 8 months ago

evilC commented 8 months ago

🐞 bug report

Affected Version(s)

All

Is this a regression? (optional)

No

To Reproduce

Steps to reproduce the behavior:

  1. T0
    G1 X50
    T1
    M2000 S200
  2. Print heads do not move as expected

Exception or Error (optional) Recv: Not printing, can not move T0 T1 now

Expected behavior T0 should park at the same time as T1 moves into place

Notes:
I notice here:

      if (SYSTEM_STATUE_PRINTING != system_service.get_status()) {
        LOG_I("Not printing, can not move T0 T1 now\r\n");
        return;
      }

I do not see what sets the status to SYSTEM_STATUE_PRINTING.
This appears to be a custom Snapmaker status. I do not see any GCODE command that lets you set this.
I am guessing when printing via the screen, it sets it?