Browse Source

Update more configs

Scott Lahteine 4 years ago
parent
commit
ea7363a8f4

+ 1
- 1
Marlin/Configuration.h View File

660
  *          TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE,
660
  *          TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE,
661
  *          TMC26X,  TMC26X_STANDALONE,  TMC2660, TMC2660_STANDALONE,
661
  *          TMC26X,  TMC26X_STANDALONE,  TMC2660, TMC2660_STANDALONE,
662
  *          TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
662
  *          TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
663
- * :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'powerSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
663
+ * :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'POWERSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
664
  */
664
  */
665
 //#define X_DRIVER_TYPE  A4988
665
 //#define X_DRIVER_TYPE  A4988
666
 //#define Y_DRIVER_TYPE  A4988
666
 //#define Y_DRIVER_TYPE  A4988

+ 13
- 13
Marlin/Configuration_adv.h View File

2247
                                     //   POWERSTEP01: VALID: 200 x (1 - 32) - 6.4A max - rounds down
2247
                                     //   POWERSTEP01: VALID: 200 x (1 - 32) - 6.4A max - rounds down
2248
                                     //   L6474 - STALLCURRENT setting is used to set the nominal (TVAL) current
2248
                                     //   L6474 - STALLCURRENT setting is used to set the nominal (TVAL) current
2249
     #define X_MAX_VOLTAGE      127  // 0-255, Maximum effective voltage seen by stepper - not used by L6474
2249
     #define X_MAX_VOLTAGE      127  // 0-255, Maximum effective voltage seen by stepper - not used by L6474
2250
-    #define X_CHAIN_POS          0  // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
2250
+    #define X_CHAIN_POS         -1  // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
2251
     #define X_SLEW_RATE          1  // 0-3, Slew 0 is slowest, 3 is fastest
2251
     #define X_SLEW_RATE          1  // 0-3, Slew 0 is slowest, 3 is fastest
2252
   #endif
2252
   #endif
2253
 
2253
 
2256
     #define X2_OVERCURRENT    2000
2256
     #define X2_OVERCURRENT    2000
2257
     #define X2_STALLCURRENT   1500
2257
     #define X2_STALLCURRENT   1500
2258
     #define X2_MAX_VOLTAGE     127
2258
     #define X2_MAX_VOLTAGE     127
2259
-    #define X2_CHAIN_POS         0
2259
+    #define X2_CHAIN_POS        -1
2260
     #define X2_SLEW_RATE         1
2260
     #define X2_SLEW_RATE         1
2261
   #endif
2261
   #endif
2262
 
2262
 
2265
     #define Y_OVERCURRENT     2000
2265
     #define Y_OVERCURRENT     2000
2266
     #define Y_STALLCURRENT    1500
2266
     #define Y_STALLCURRENT    1500
2267
     #define Y_MAX_VOLTAGE      127
2267
     #define Y_MAX_VOLTAGE      127
2268
-    #define Y_CHAIN_POS          0
2268
+    #define Y_CHAIN_POS         -1
2269
     #define Y_SLEW_RATE          1
2269
     #define Y_SLEW_RATE          1
2270
   #endif
2270
   #endif
2271
 
2271
 
2274
     #define Y2_OVERCURRENT    2000
2274
     #define Y2_OVERCURRENT    2000
2275
     #define Y2_STALLCURRENT   1500
2275
     #define Y2_STALLCURRENT   1500
2276
     #define Y2_MAX_VOLTAGE     127
2276
     #define Y2_MAX_VOLTAGE     127
2277
-    #define Y2_CHAIN_POS         0
2277
+    #define Y2_CHAIN_POS        -1
2278
     #define Y2_SLEW_RATE         1
2278
     #define Y2_SLEW_RATE         1
2279
   #endif
2279
   #endif
2280
 
2280
 
2283
     #define Z_OVERCURRENT     2000
2283
     #define Z_OVERCURRENT     2000
2284
     #define Z_STALLCURRENT    1500
2284
     #define Z_STALLCURRENT    1500
2285
     #define Z_MAX_VOLTAGE      127
2285
     #define Z_MAX_VOLTAGE      127
2286
-    #define Z_CHAIN_POS          0
2286
+    #define Z_CHAIN_POS         -1
2287
     #define Z_SLEW_RATE          1
2287
     #define Z_SLEW_RATE          1
2288
   #endif
2288
   #endif
2289
 
2289
 
2292
     #define Z2_OVERCURRENT    2000
2292
     #define Z2_OVERCURRENT    2000
2293
     #define Z2_STALLCURRENT   1500
2293
     #define Z2_STALLCURRENT   1500
2294
     #define Z2_MAX_VOLTAGE     127
2294
     #define Z2_MAX_VOLTAGE     127
2295
-    #define Z2_CHAIN_POS         0
2295
+    #define Z2_CHAIN_POS        -1
2296
     #define Z2_SLEW_RATE         1
2296
     #define Z2_SLEW_RATE         1
2297
   #endif
2297
   #endif
2298
 
2298
 
2301
     #define Z3_OVERCURRENT    2000
2301
     #define Z3_OVERCURRENT    2000
2302
     #define Z3_STALLCURRENT   1500
2302
     #define Z3_STALLCURRENT   1500
2303
     #define Z3_MAX_VOLTAGE     127
2303
     #define Z3_MAX_VOLTAGE     127
2304
-    #define Z3_CHAIN_POS         0
2304
+    #define Z3_CHAIN_POS        -1
2305
     #define Z3_SLEW_RATE         1
2305
     #define Z3_SLEW_RATE         1
2306
   #endif
2306
   #endif
2307
 
2307
 
2310
     #define E0_OVERCURRENT    2000
2310
     #define E0_OVERCURRENT    2000
2311
     #define E0_STALLCURRENT   1500
2311
     #define E0_STALLCURRENT   1500
2312
     #define E0_MAX_VOLTAGE     127
2312
     #define E0_MAX_VOLTAGE     127
2313
-    #define E0_CHAIN_POS         0
2313
+    #define E0_CHAIN_POS        -1
2314
     #define E0_SLEW_RATE         1
2314
     #define E0_SLEW_RATE         1
2315
   #endif
2315
   #endif
2316
 
2316
 
2319
     #define E1_OVERCURRENT    2000
2319
     #define E1_OVERCURRENT    2000
2320
     #define E1_STALLCURRENT   1500
2320
     #define E1_STALLCURRENT   1500
2321
     #define E1_MAX_VOLTAGE     127
2321
     #define E1_MAX_VOLTAGE     127
2322
-    #define E1_CHAIN_POS         0
2322
+    #define E1_CHAIN_POS        -1
2323
     #define E1_SLEW_RATE         1
2323
     #define E1_SLEW_RATE         1
2324
   #endif
2324
   #endif
2325
 
2325
 
2328
     #define E2_OVERCURRENT    2000
2328
     #define E2_OVERCURRENT    2000
2329
     #define E2_STALLCURRENT   1500
2329
     #define E2_STALLCURRENT   1500
2330
     #define E2_MAX_VOLTAGE     127
2330
     #define E2_MAX_VOLTAGE     127
2331
-    #define E2_CHAIN_POS         0
2331
+    #define E2_CHAIN_POS        -1
2332
     #define E2_SLEW_RATE         1
2332
     #define E2_SLEW_RATE         1
2333
   #endif
2333
   #endif
2334
 
2334
 
2337
     #define E3_OVERCURRENT    2000
2337
     #define E3_OVERCURRENT    2000
2338
     #define E3_STALLCURRENT   1500
2338
     #define E3_STALLCURRENT   1500
2339
     #define E3_MAX_VOLTAGE     127
2339
     #define E3_MAX_VOLTAGE     127
2340
-    #define E3_CHAIN_POS         0
2340
+    #define E3_CHAIN_POS        -1
2341
     #define E3_SLEW_RATE         1
2341
     #define E3_SLEW_RATE         1
2342
   #endif
2342
   #endif
2343
 
2343
 
2346
     #define E4_OVERCURRENT    2000
2346
     #define E4_OVERCURRENT    2000
2347
     #define E4_STALLCURRENT   1500
2347
     #define E4_STALLCURRENT   1500
2348
     #define E4_MAX_VOLTAGE     127
2348
     #define E4_MAX_VOLTAGE     127
2349
-    #define E4_CHAIN_POS         0
2349
+    #define E4_CHAIN_POS        -1
2350
     #define E4_SLEW_RATE         1
2350
     #define E4_SLEW_RATE         1
2351
   #endif
2351
   #endif
2352
 
2352
 
2355
     #define E5_OVERCURRENT    2000
2355
     #define E5_OVERCURRENT    2000
2356
     #define E5_STALLCURRENT   1500
2356
     #define E5_STALLCURRENT   1500
2357
     #define E5_MAX_VOLTAGE     127
2357
     #define E5_MAX_VOLTAGE     127
2358
-    #define E5_CHAIN_POS         0
2358
+    #define E5_CHAIN_POS        -1
2359
     #define E5_SLEW_RATE         1
2359
     #define E5_SLEW_RATE         1
2360
   #endif
2360
   #endif
2361
 
2361
 

+ 13
- 13
config/examples/delta/Geeetech/G2Pro/Configuration_adv.h View File

2245
     #define X_STALLCURRENT    1500  // (mA) Current where the driver detects a stall (VALID: 31.25 * (1-128) -  4A max - rounds down)
2245
     #define X_STALLCURRENT    1500  // (mA) Current where the driver detects a stall (VALID: 31.25 * (1-128) -  4A max - rounds down)
2246
                                     // On L6474 STALLCURRENT setting is used to set the nominal (TVAL) current
2246
                                     // On L6474 STALLCURRENT setting is used to set the nominal (TVAL) current
2247
     #define X_MAX_VOLTAGE      127  // 0-255, Maximum effective voltage seen by stepper - not used by L6474
2247
     #define X_MAX_VOLTAGE      127  // 0-255, Maximum effective voltage seen by stepper - not used by L6474
2248
-    #define X_CHAIN_POS          0  // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
2248
+    #define X_CHAIN_POS         -1  // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
2249
     #define X_SLEW_RATE          1  // 0-3, Slew 0 is slowest, 3 is fastest
2249
     #define X_SLEW_RATE          1  // 0-3, Slew 0 is slowest, 3 is fastest
2250
   #endif
2250
   #endif
2251
 
2251
 
2254
     #define X2_OVERCURRENT    2000
2254
     #define X2_OVERCURRENT    2000
2255
     #define X2_STALLCURRENT   1500
2255
     #define X2_STALLCURRENT   1500
2256
     #define X2_MAX_VOLTAGE     127
2256
     #define X2_MAX_VOLTAGE     127
2257
-    #define X2_CHAIN_POS         0
2257
+    #define X2_CHAIN_POS        -1
2258
     #define X2_SLEW_RATE         1
2258
     #define X2_SLEW_RATE         1
2259
   #endif
2259
   #endif
2260
 
2260
 
2263
     #define Y_OVERCURRENT     2000
2263
     #define Y_OVERCURRENT     2000
2264
     #define Y_STALLCURRENT    1500
2264
     #define Y_STALLCURRENT    1500
2265
     #define Y_MAX_VOLTAGE      127
2265
     #define Y_MAX_VOLTAGE      127
2266
-    #define Y_CHAIN_POS          0
2266
+    #define Y_CHAIN_POS         -1
2267
     #define Y_SLEW_RATE          1
2267
     #define Y_SLEW_RATE          1
2268
   #endif
2268
   #endif
2269
 
2269
 
2272
     #define Y2_OVERCURRENT    2000
2272
     #define Y2_OVERCURRENT    2000
2273
     #define Y2_STALLCURRENT   1500
2273
     #define Y2_STALLCURRENT   1500
2274
     #define Y2_MAX_VOLTAGE     127
2274
     #define Y2_MAX_VOLTAGE     127
2275
-    #define Y2_CHAIN_POS         0
2275
+    #define Y2_CHAIN_POS        -1
2276
     #define Y2_SLEW_RATE         1
2276
     #define Y2_SLEW_RATE         1
2277
   #endif
2277
   #endif
2278
 
2278
 
2281
     #define Z_OVERCURRENT     2000
2281
     #define Z_OVERCURRENT     2000
2282
     #define Z_STALLCURRENT    1500
2282
     #define Z_STALLCURRENT    1500
2283
     #define Z_MAX_VOLTAGE      127
2283
     #define Z_MAX_VOLTAGE      127
2284
-    #define Z_CHAIN_POS          0
2284
+    #define Z_CHAIN_POS         -1
2285
     #define Z_SLEW_RATE          1
2285
     #define Z_SLEW_RATE          1
2286
   #endif
2286
   #endif
2287
 
2287
 
2290
     #define Z2_OVERCURRENT    2000
2290
     #define Z2_OVERCURRENT    2000
2291
     #define Z2_STALLCURRENT   1500
2291
     #define Z2_STALLCURRENT   1500
2292
     #define Z2_MAX_VOLTAGE     127
2292
     #define Z2_MAX_VOLTAGE     127
2293
-    #define Z2_CHAIN_POS         0
2293
+    #define Z2_CHAIN_POS        -1
2294
     #define Z2_SLEW_RATE         1
2294
     #define Z2_SLEW_RATE         1
2295
   #endif
2295
   #endif
2296
 
2296
 
2299
     #define Z3_OVERCURRENT    2000
2299
     #define Z3_OVERCURRENT    2000
2300
     #define Z3_STALLCURRENT   1500
2300
     #define Z3_STALLCURRENT   1500
2301
     #define Z3_MAX_VOLTAGE     127
2301
     #define Z3_MAX_VOLTAGE     127
2302
-    #define Z3_CHAIN_POS         0
2302
+    #define Z3_CHAIN_POS        -1
2303
     #define Z3_SLEW_RATE         1
2303
     #define Z3_SLEW_RATE         1
2304
   #endif
2304
   #endif
2305
 
2305
 
2308
     #define E0_OVERCURRENT    2000
2308
     #define E0_OVERCURRENT    2000
2309
     #define E0_STALLCURRENT   1500
2309
     #define E0_STALLCURRENT   1500
2310
     #define E0_MAX_VOLTAGE     127
2310
     #define E0_MAX_VOLTAGE     127
2311
-    #define E0_CHAIN_POS         0
2311
+    #define E0_CHAIN_POS        -1
2312
     #define E0_SLEW_RATE         1
2312
     #define E0_SLEW_RATE         1
2313
   #endif
2313
   #endif
2314
 
2314
 
2317
     #define E1_OVERCURRENT    2000
2317
     #define E1_OVERCURRENT    2000
2318
     #define E1_STALLCURRENT   1500
2318
     #define E1_STALLCURRENT   1500
2319
     #define E1_MAX_VOLTAGE     127
2319
     #define E1_MAX_VOLTAGE     127
2320
-    #define E1_CHAIN_POS         0
2320
+    #define E1_CHAIN_POS        -1
2321
     #define E1_SLEW_RATE         1
2321
     #define E1_SLEW_RATE         1
2322
   #endif
2322
   #endif
2323
 
2323
 
2326
     #define E2_OVERCURRENT    2000
2326
     #define E2_OVERCURRENT    2000
2327
     #define E2_STALLCURRENT   1500
2327
     #define E2_STALLCURRENT   1500
2328
     #define E2_MAX_VOLTAGE     127
2328
     #define E2_MAX_VOLTAGE     127
2329
-    #define E2_CHAIN_POS         0
2329
+    #define E2_CHAIN_POS        -1
2330
     #define E2_SLEW_RATE         1
2330
     #define E2_SLEW_RATE         1
2331
   #endif
2331
   #endif
2332
 
2332
 
2335
     #define E3_OVERCURRENT    2000
2335
     #define E3_OVERCURRENT    2000
2336
     #define E3_STALLCURRENT   1500
2336
     #define E3_STALLCURRENT   1500
2337
     #define E3_MAX_VOLTAGE     127
2337
     #define E3_MAX_VOLTAGE     127
2338
-    #define E3_CHAIN_POS         0
2338
+    #define E3_CHAIN_POS        -1
2339
     #define E3_SLEW_RATE         1
2339
     #define E3_SLEW_RATE         1
2340
   #endif
2340
   #endif
2341
 
2341
 
2344
     #define E4_OVERCURRENT    2000
2344
     #define E4_OVERCURRENT    2000
2345
     #define E4_STALLCURRENT   1500
2345
     #define E4_STALLCURRENT   1500
2346
     #define E4_MAX_VOLTAGE     127
2346
     #define E4_MAX_VOLTAGE     127
2347
-    #define E4_CHAIN_POS         0
2347
+    #define E4_CHAIN_POS        -1
2348
     #define E4_SLEW_RATE         1
2348
     #define E4_SLEW_RATE         1
2349
   #endif
2349
   #endif
2350
 
2350
 
2353
     #define E5_OVERCURRENT    2000
2353
     #define E5_OVERCURRENT    2000
2354
     #define E5_STALLCURRENT   1500
2354
     #define E5_STALLCURRENT   1500
2355
     #define E5_MAX_VOLTAGE     127
2355
     #define E5_MAX_VOLTAGE     127
2356
-    #define E5_CHAIN_POS         0
2356
+    #define E5_CHAIN_POS        -1
2357
     #define E5_SLEW_RATE         1
2357
     #define E5_SLEW_RATE         1
2358
   #endif
2358
   #endif
2359
 
2359
 

Loading…
Cancel
Save