TC.macro not executing on M6


Jmac1074

Hi, hoping for some more great insight from the community.

I am coding a DIY ATC setup. I am leaning a lot on the work people have done for rapidchangeATC (even though my setup is custom and not affiliated with rapidchange). They have good documentation on SienciHAL and GRBLHal implementations that I am referencing.

My core problem right now is this: Whether from the console or in a short sample nc file, M6 T_ commands are not executing TC.macro as they should. Nothing happens. Not even debug messages are printing to the console. No errors.

Things to Note:

  1. Macros called by MDI commands off the SD card all work flawlessly.

  2. All macros are in the root directory of the SD card.

  3. I have copied and pasted the exact same code from TC.macro into a numbered macro on the SD card, and it runs perfectly. It’s just basic code, only some motions, so I can visually confirm the M6 is triggering. No fancy complex logic.

  4. In my Gsender settings, passthrough M6 and ignore M6 are enabled.

  5. I have confirmed that even though the TC.macro doesn’t run, the tool number does update from the M6 T_

  6. I am using Gsender 1.5.4 and SLB-EXT firmware 5.0.11 on an Altmill 4x4

I have completed all the code, written it, and implemented it to change a tool as an MDI macro with given tool numbers. However, I am now trying to automate this process via M6.

Thank you for your help.

Solved my Own issue. Re-flashing the firmware solved it. No idea why but hey.

1 Like