Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12090

Re: TMC2130 Not Moving. Marlin 2.0. M122 "Unknown command"

$
0
0
The code is setup so it only activates g-codes you can use

The code says

#if HAS_TRINAMIC
case 122: M122(); break; // M122: Report driver configuration and status
case 906: M906(); break;


otherwise M112 doesn't not exists

The test is
// Test for supported TMC drivers that require advanced configuration
// Does not match standalone configurations
#define HAS_TRINAMIC ( HAS_DRIVER(TMC2130) \
|| HAS_DRIVER(TMC2160) \
|| HAS_DRIVER(TMC2208) \
|| HAS_DRIVER(TMC2209) \
|| HAS_DRIVER(TMC2660) \
|| HAS_DRIVER(TMC5130) \
|| HAS_DRIVER(TMC5160) )


So please cut and paste what your drivers lines say in your configuration.h and paste them here

It should say

#define X_DRIVER_TYPE TMC2130
#define Y_DRIVER_TYPE TMC2130

note the // before the #define have been removed, the TMC must be in upper case and there must be no spaces or any other characters after the TMC and before the number.

Viewing all articles
Browse latest Browse all 12090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>