Guest User

Untitled

a guest
Jan 25th, 2020
130
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. 1.0.4DEV Testing - Current 18-12-2019
  3. This file is part of Repetier-Firmware.
  4.  
  5. Repetier-Firmware is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9.  
  10. Repetier-Firmware is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with Repetier-Firmware. If not, see <http://www.gnu.org/licenses/>.
  17.  
  18. */
  19.  
  20. #ifndef CONFIGURATION_H
  21. #define CONFIGURATION_H
  22.  
  23. /**************** READ FIRST ************************
  24.  
  25. This configuration file was created with the configuration tool. For that
  26. reason, it does not contain the same informations as the original Configuration.h file.
  27. It misses the comments and unused parts. Open this file file in the config tool
  28. to see and change the data. You can also upload it to newer/older versions. The system
  29. will silently add new options, so compilation continues to work.
  30.  
  31. This file is optimized for version 1.0.4dev
  32. generator: http://www.repetier.com/firmware/dev/
  33.  
  34. If you are in doubt which named functions use which pins on your board, please check the
  35. pins.h for the used name->pin assignments and your board documentation to verify it is
  36. as you expect.
  37.  
  38. */
  39.  
  40. #define NUM_EXTRUDER 1
  41. #define MOTHERBOARD 402
  42. #define RFSERIAL SerialUSB
  43. #include "pins.h"
  44.  
  45. // ################## EDIT THESE SETTINGS MANUALLY ################
  46. #define MICROSTEP_MODES { 16,16,16,16,16,16,16,16 } // [1,2,4,8,16]
  47.  
  48. // ################ END MANUAL SETTINGS ##########################
  49.  
  50. #define HOST_RESCUE 1
  51. #undef FAN_PIN
  52. #define FAN_PIN ORIG_FAN2_PIN
  53. #undef FAN_BOARD_PIN
  54. #define FAN_BOARD_PIN -1
  55. #define BOARD_FAN_SPEED 255
  56. #define BOARD_FAN_MIN_SPEED 0
  57. #define FAN_THERMO_PIN -1
  58. #define FAN_THERMO_MIN_PWM 128
  59. #define FAN_THERMO_MAX_PWM 255
  60. #define FAN_THERMO_MIN_TEMP 45
  61. #define FAN_THERMO_MAX_TEMP 60
  62. #define FAN_THERMO_THERMISTOR_PIN -1
  63. #define FAN_THERMO_THERMISTOR_TYPE 1
  64.  
  65. //#define EXTERNALSERIAL use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.
  66. // Uncomment the following line if you are using Arduino compatible firmware made for Arduino version earlier then 1.0
  67. // If it is incompatible you will get compiler errors about write functions not being compatible!
  68. //#define COMPAT_PRE1
  69. #define BLUETOOTH_SERIAL -1
  70. #define BLUETOOTH_BAUD 115200
  71. #define MIXING_EXTRUDER 0
  72.  
  73. #define DRIVE_SYSTEM 0
  74. #define XAXIS_STEPS_PER_MM 80
  75. #define YAXIS_STEPS_PER_MM 80
  76. #define ZAXIS_STEPS_PER_MM 400
  77. #define EXTRUDER_FAN_COOL_TEMP 50
  78. #define PDM_FOR_EXTRUDER 0
  79. #define PDM_FOR_COOLER 0
  80. #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
  81. #define DECOUPLING_TEST_MIN_TEMP_RISE 1
  82. #define KILL_IF_SENSOR_DEFECT 0
  83. #define RETRACT_ON_PAUSE 2
  84. #define PAUSE_START_COMMANDS ""
  85. #define PAUSE_END_COMMANDS ""
  86. #define SHARED_EXTRUDER_HEATER 0
  87. #define EXT0_X_OFFSET 0
  88. #define EXT0_Y_OFFSET 0
  89. #define EXT0_Z_OFFSET 0
  90. #define EXT0_STEPS_PER_MM 98
  91. #define EXT0_TEMPSENSOR_TYPE 14
  92. #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
  93. #define EXT0_HEATER_PIN HEATER_0_PIN
  94. #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
  95. #define EXT0_DIR_PIN ORIG_E0_DIR_PIN
  96. #define EXT0_INVERSE 1
  97. #define EXT0_ENABLE_PIN ORIG_E0_ENABLE_PIN
  98. #define EXT0_ENABLE_ON 0
  99. #define EXT0_MIRROR_STEPPER 0
  100. #define EXT0_STEP2_PIN ORIG_E0_STEP_PIN
  101. #define EXT0_DIR2_PIN ORIG_E0_DIR_PIN
  102. #define EXT0_INVERSE2 0
  103. #define EXT0_ENABLE2_PIN ORIG_E0_ENABLE_PIN
  104. #define EXT0_MAX_FEEDRATE 50
  105. #define EXT0_MAX_START_FEEDRATE 20
  106. #define EXT0_MAX_ACCELERATION 1500
  107. #define EXT0_HEAT_MANAGER 1
  108. #define EXT0_PREHEAT_TEMP 0
  109. #define EXT0_WATCHPERIOD 1
  110. #define EXT0_PID_INTEGRAL_DRIVE_MAX 230
  111. #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
  112. #define EXT0_PID_PGAIN_OR_DEAD_TIME 9.52
  113. #define EXT0_PID_I 0.14
  114. #define EXT0_PID_D 46.7
  115. #define EXT0_PID_MAX 255
  116. #define EXT0_ADVANCE_K 0
  117. #define EXT0_ADVANCE_L 0
  118. #define EXT0_ADVANCE_BACKLASH_STEPS 0
  119. #define EXT0_WAIT_RETRACT_TEMP 150
  120. #define EXT0_WAIT_RETRACT_UNITS 0
  121. #define EXT0_SELECT_COMMANDS ""
  122. #define EXT0_DESELECT_COMMANDS ""
  123. #define EXT0_EXTRUDER_COOLER_PIN ORIG_FAN_PIN
  124. #define EXT0_EXTRUDER_COOLER_SPEED 255
  125. #define EXT0_DECOUPLE_TEST_PERIOD 12000
  126. #define EXT0_JAM_PIN -1
  127. #define EXT0_JAM_PULLUP 0
  128.  
  129. #define FEATURE_RETRACTION 1
  130. #define AUTORETRACT_ENABLED 0
  131. #define RETRACTION_LENGTH 1
  132. #define RETRACTION_LONG_LENGTH 13
  133. #define RETRACTION_SPEED 40
  134. #define RETRACTION_Z_LIFT 0
  135. #define RETRACTION_UNDO_EXTRA_LENGTH 0
  136. #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
  137. #define RETRACTION_UNDO_SPEED 20
  138. #define FILAMENTCHANGE_X_POS 0
  139. #define FILAMENTCHANGE_Y_POS 0
  140. #define FILAMENTCHANGE_Z_ADD 2
  141. #define FILAMENTCHANGE_REHOME 1
  142. #define FILAMENTCHANGE_SHORTRETRACT 5
  143. #define FILAMENTCHANGE_LONGRETRACT 50
  144. #define JAM_METHOD 1
  145. #define JAM_STEPS 220
  146. #define JAM_SLOWDOWN_STEPS 320
  147. #define JAM_SLOWDOWN_TO 70
  148. #define JAM_ERROR_STEPS 500
  149. #define JAM_MIN_STEPS 10
  150. #define JAM_ACTION 1
  151.  
  152. #define RETRACT_DURING_HEATUP true
  153. #define PID_CONTROL_RANGE 20
  154. #define SKIP_M109_IF_WITHIN 2
  155. #define SCALE_PID_TO_MAX 0
  156. #define TEMP_HYSTERESIS 0
  157. #define EXTRUDE_MAXLENGTH 160
  158. #define NUM_TEMPS_USERTHERMISTOR0 0
  159. #define USER_THERMISTORTABLE0 {}
  160. #define NUM_TEMPS_USERTHERMISTOR1 0
  161. #define USER_THERMISTORTABLE1 {}
  162. #define NUM_TEMPS_USERTHERMISTOR2 0
  163. #define USER_THERMISTORTABLE2 {}
  164. #define GENERIC_THERM_VREF 5
  165. #define GENERIC_THERM_NUM_ENTRIES 33
  166. #define TEMP_GAIN 0
  167. #define HEATER_PWM_SPEED 0
  168. #define COOLER_PWM_SPEED 0
  169.  
  170. // ############# Heated bed configuration ########################
  171.  
  172. #define HAVE_HEATED_BED 1
  173. #define HEATED_BED_PREHEAT_TEMP 0
  174. #define HEATED_BED_MAX_TEMP 120
  175. #define SKIP_M190_IF_WITHIN 3
  176. #define HEATED_BED_SENSOR_TYPE 14
  177. #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
  178. #define HEATED_BED_HEATER_PIN HEATER_2_PIN
  179. #define HEATED_BED_SET_INTERVAL 5000
  180. #define HEATED_BED_HEAT_MANAGER 0
  181. #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
  182. #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
  183. #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME 196
  184. #define HEATED_BED_PID_IGAIN 33
  185. #define HEATED_BED_PID_DGAIN 290
  186. #define HEATED_BED_PID_MAX 255
  187. #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
  188. #define MIN_EXTRUDER_TEMP 120
  189. #define MAXTEMP 275
  190. #define MIN_DEFECT_TEMPERATURE -10
  191. #define MAX_DEFECT_TEMPERATURE 290
  192. #define MILLISECONDS_PREHEAT_TIME 30000
  193.  
  194. // ##########################################################################################
  195. // ## Laser configuration ##
  196. // ##########################################################################################
  197.  
  198. /*
  199. If the firmware is in laser mode, it can control a laser output to cut or engrave materials.
  200. Please use this feature only if you know about safety and required protection. Lasers are
  201. dangerous and can hurt or make you blind!!!
  202.  
  203. The default laser driver only supports laser on and off. Here you control the intensity with
  204. your feedrate. For exchangeable diode lasers this is normally enough. If you need more control
  205. you can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h
  206. and comments on how to extend the functions non invasive with our event system.
  207.  
  208. If you have a laser - powder system you will like your E override. If moves contain a
  209. increasing extruder position it will laser that move. With this trick you can
  210. use existing fdm slicers to laser the output. Laser width is extrusion width.
  211.  
  212. Other tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled
  213. and G0 moves have it disables.
  214.  
  215. In any case, laser only enables while moving. At the end of a move it gets
  216. automatically disabled.
  217. */
  218.  
  219. #define SUPPORT_LASER 0
  220. #define LASER_PIN -1
  221. #define LASER_ON_HIGH 1
  222. #define LASER_WARMUP_TIME 0
  223. #define LASER_PWM_MAX 255
  224. #define LASER_WATT 2
  225.  
  226. // ## CNC configuration ##
  227.  
  228. /*
  229. If the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works
  230. similar to laser mode, but mill keeps enabled during G0 moves and it allows
  231. setting rpm (only with event extension that supports this) and milling direction.
  232. It also can add a delay to wait for spindle to run on full speed.
  233. */
  234.  
  235. #define SUPPORT_CNC 0
  236. #define CNC_WAIT_ON_ENABLE 300
  237. #define CNC_WAIT_ON_DISABLE 0
  238. #define CNC_ENABLE_PIN -1
  239. #define CNC_ENABLE_WITH 1
  240. #define CNC_DIRECTION_PIN -1
  241. #define CNC_DIRECTION_CW 1
  242. #define CNC_PWM_MAX 255
  243. #define CNC_RPM_MAX 8000
  244. #define CNC_SAFE_Z 150
  245.  
  246. #define DEFAULT_PRINTER_MODE 0
  247.  
  248. // ################ Endstop configuration #####################
  249.  
  250. #define MULTI_ZENDSTOP_HOMING 0
  251. #define ENDSTOP_PULLUP_X_MIN false
  252. #define ENDSTOP_X_MIN_INVERTING false
  253. #define MIN_HARDWARE_ENDSTOP_X true
  254. #define ENDSTOP_PULLUP_Y_MIN false
  255. #define ENDSTOP_Y_MIN_INVERTING false
  256. #define MIN_HARDWARE_ENDSTOP_Y true
  257. #define ENDSTOP_PULLUP_Z_MIN true
  258. #define ENDSTOP_Z_MIN_INVERTING false
  259. #define MIN_HARDWARE_ENDSTOP_Z true
  260. #define ENDSTOP_PULLUP_Z2_MINMAX true
  261. #define ENDSTOP_Z2_MINMAX_INVERTING false
  262. #define MINMAX_HARDWARE_ENDSTOP_Z2 false
  263. #define ENDSTOP_PULLUP_X_MAX true
  264. #define ENDSTOP_X_MAX_INVERTING false
  265. #define MAX_HARDWARE_ENDSTOP_X false
  266. #define ENDSTOP_PULLUP_Y_MAX true
  267. #define ENDSTOP_Y_MAX_INVERTING false
  268. #define MAX_HARDWARE_ENDSTOP_Y false
  269. #define ENDSTOP_PULLUP_Z_MAX true
  270. #define ENDSTOP_Z_MAX_INVERTING false
  271. #define MAX_HARDWARE_ENDSTOP_Z false
  272. #define ENDSTOP_PULLUP_X2_MIN true
  273. #define ENDSTOP_PULLUP_Y2_MIN true
  274. #define ENDSTOP_PULLUP_Z2_MINMAX true
  275. #define ENDSTOP_PULLUP_X2_MAX true
  276. #define ENDSTOP_PULLUP_Y2_MAX true
  277. #define ENDSTOP_X2_MIN_INVERTING false
  278. #define ENDSTOP_Y2_MIN_INVERTING false
  279. #define ENDSTOP_X2_MAX_INVERTING false
  280. #define ENDSTOP_Y2_MAX_INVERTING false
  281. #define MIN_HARDWARE_ENDSTOP_X2 false
  282. #define MIN_HARDWARE_ENDSTOP_Y2 false
  283. #define MAX_HARDWARE_ENDSTOP_X2 false
  284. #define MAX_HARDWARE_ENDSTOP_Y2 false
  285. #define X2_MIN_PIN -1
  286. #define X2_MAX_PIN -1
  287. #define Y2_MIN_PIN -1
  288. #define Y2_MAX_PIN -1
  289. #define Z2_MINMAX_PIN -1
  290.  
  291.  
  292.  
  293. #define max_software_endstop_r true
  294.  
  295. #define min_software_endstop_x false
  296. #define min_software_endstop_y false
  297. #define min_software_endstop_z false
  298. #define max_software_endstop_x true
  299. #define max_software_endstop_y true
  300. #define max_software_endstop_z true
  301. #define DOOR_PIN -1
  302. #define DOOR_PULLUP 1
  303. #define DOOR_INVERTING 0
  304. #define ENDSTOP_X_BACK_MOVE 2
  305. #define ENDSTOP_Y_BACK_MOVE 2
  306. #define ENDSTOP_Z_BACK_MOVE 2
  307. #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 1
  308. #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 1
  309. #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 1
  310. #define ENDSTOP_X_BACK_ON_HOME 1
  311. #define ENDSTOP_Y_BACK_ON_HOME 1
  312. #define ENDSTOP_Z_BACK_ON_HOME 0
  313. #define ALWAYS_CHECK_ENDSTOPS 0
  314. #define MOVE_X_WHEN_HOMED 0
  315. #define MOVE_Y_WHEN_HOMED 0
  316. #define MOVE_Z_WHEN_HOMED 0
  317.  
  318. // ################# XYZ movements ###################
  319.  
  320. #define X_ENABLE_ON 0
  321. #define Y_ENABLE_ON 0
  322. #define Z_ENABLE_ON 0
  323. #define DISABLE_X 0
  324. #define DISABLE_Y 0
  325. #define DISABLE_Z 0
  326. #define DISABLE_E 0
  327. #define INVERT_X_DIR 1
  328. #define INVERT_X2_DIR 0
  329. #define INVERT_Y_DIR 1
  330. #define INVERT_Y2_DIR 0
  331. #define INVERT_Z_DIR 0
  332. #define INVERT_Z2_DIR 0
  333. #define INVERT_Z3_DIR 0
  334. #define INVERT_Z4_DIR 0
  335. #define X_HOME_DIR -1
  336. #define Y_HOME_DIR -1
  337. #define Z_HOME_DIR -1
  338. #define X_MAX_LENGTH 165
  339. #define Y_MAX_LENGTH 210
  340. #define Z_MAX_LENGTH 450
  341. #define X_MIN_POS 0
  342. #define Y_MIN_POS 9
  343. #define Z_MIN_POS 0
  344. #define PARK_POSITION_X 0
  345. #define PARK_POSITION_Y 5
  346. #define PARK_POSITION_Z_RAISE 10
  347.  
  348.  
  349. #define DISTORTION_CORRECTION 1
  350. #define DISTORTION_CORRECTION_POINTS 5
  351. #define DISTORTION_LIMIT_TO 2
  352. #define DISTORTION_CORRECTION_R 100
  353. #define DISTORTION_PERMANENT 1
  354. #define DISTORTION_UPDATE_FREQUENCY 15
  355. #define DISTORTION_START_DEGRADE 0.5
  356. #define DISTORTION_END_HEIGHT 1
  357. #define DISTORTION_EXTRAPOLATE_CORNERS 1
  358. #define DISTORTION_XMIN 50
  359. #define DISTORTION_YMIN 60
  360. #define DISTORTION_XMAX 160
  361. #define DISTORTION_YMAX 200
  362.  
  363. // ##########################################################################################
  364. // ## Movement settings ##
  365. // ##########################################################################################
  366.  
  367. #define FEATURE_BABYSTEPPING 1
  368. #define BABYSTEP_MULTIPLICATOR 1
  369.  
  370. #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
  371. #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves
  372. #define EXACT_DELTA_MOVES 1
  373.  
  374. // Delta settings
  375. #define DELTA_HOME_ON_POWER 0
  376.  
  377. #define DELTASEGMENTS_PER_PRINTLINE 20
  378. #define STEPPER_INACTIVE_TIME 360L
  379. #define MAX_INACTIVE_TIME 0L
  380. #define MAX_FEEDRATE_X 200
  381. #define MAX_FEEDRATE_Y 90
  382. #define MAX_FEEDRATE_Z 20
  383. #define HOMING_FEEDRATE_X 70
  384. #define HOMING_FEEDRATE_Y 40
  385. #define HOMING_FEEDRATE_Z 10
  386. #define HOMING_ORDER HOME_ORDER_XYTZ
  387. #define ZHOME_PRE_RAISE 2
  388. #define ZHOME_PRE_RAISE_DISTANCE 10
  389. #define RAISE_Z_ON_TOOLCHANGE 0
  390. #define ZHOME_MIN_TEMPERATURE 0
  391. #define ZHOME_HEAT_ALL 1
  392. #define ZHOME_HEAT_HEIGHT 20
  393. #define ZHOME_X_POS 83
  394. #define ZHOME_Y_POS 114
  395. #define ENABLE_BACKLASH_COMPENSATION 0
  396. #define X_BACKLASH 0
  397. #define Y_BACKLASH 0
  398. #define Z_BACKLASH 0
  399. #define RAMP_ACCELERATION 1
  400. #define STEPPER_HIGH_DELAY 1
  401. #define DIRECTION_DELAY 0
  402. #define STEP_DOUBLER_FREQUENCY 80000
  403. #define ALLOW_QUADSTEPPING 0
  404. #define DOUBLE_STEP_DELAY 0 // time in microseconds
  405. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 800
  406. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 600
  407. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
  408. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
  409. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 800
  410. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
  411. #define INTERPOLATE_ACCELERATION_WITH_Z 0
  412. #define ACCELERATION_FACTOR_TOP 100
  413. #define MAX_JERK 8
  414. #define MAX_ZJERK 0.3
  415. #define PRINTLINE_CACHE_SIZE 16
  416. #define MOVE_CACHE_LOW 10
  417. #define LOW_TICKS_PER_MOVE 250000
  418. #define EXTRUDER_SWITCH_XY_SPEED 100
  419. #define DUAL_X_AXIS 0
  420. #define DUAL_X_RESOLUTION 0
  421. #define X2AXIS_STEPS_PER_MM 100
  422. #define FEATURE_TWO_XSTEPPER 0
  423. #define X2_STEP_PIN ORIG_E1_STEP_PIN
  424. #define X2_DIR_PIN ORIG_E1_DIR_PIN
  425. #define X2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  426. #define FEATURE_TWO_YSTEPPER 0
  427. #define Y2_STEP_PIN ORIG_E1_STEP_PIN
  428. #define Y2_DIR_PIN ORIG_E1_DIR_PIN
  429. #define Y2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  430. #define FEATURE_TWO_ZSTEPPER 1
  431. #define Z2_STEP_PIN ORIG_E1_STEP_PIN
  432. #define Z2_DIR_PIN ORIG_E1_DIR_PIN
  433. #define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  434. #define FEATURE_THREE_ZSTEPPER 0
  435. #define Z3_STEP_PIN ORIG_E2_STEP_PIN
  436. #define Z3_DIR_PIN ORIG_E2_DIR_PIN
  437. #define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN
  438. #define FEATURE_FOUR_ZSTEPPER 0
  439. #define Z4_STEP_PIN ORIG_E3_STEP_PIN
  440. #define Z4_DIR_PIN ORIG_E3_DIR_PIN
  441. #define Z4_ENABLE_PIN ORIG_E3_ENABLE_PIN
  442. #define FEATURE_DITTO_PRINTING 0
  443. #define USE_ADVANCE 1
  444. #define ENABLE_QUADRATIC_ADVANCE 0
  445.  
  446. #define DRV_TMC2130
  447.  
  448. // Uncomment if you use the stall guard for homing. Only for cartesian printers and xy direction
  449. #define SENSORLESS_HOMING
  450.  
  451. // The drivers with set CS pin will be used, all others are normal step/dir/enable drivers
  452. #define TMC2130_X_CS_PIN 27
  453. #define TMC2130_Y_CS_PIN 29
  454. #define TMC2130_Z_CS_PIN 31
  455. #define TMC2130_EXT0_CS_PIN 33
  456. #define TMC2130_EXT1_CS_PIN 35
  457. #define TMC2130_EXT2_CS_PIN -1
  458. #define TMC2130_EXT3_CS_PIN -1
  459. #define TMC2130_EXT4_CS_PIN -1
  460.  
  461. // Per-axis current setting in mA { X, Y, Z, E0, E1, E2}
  462. #define MOTOR_CURRENT { 1020,1020,290,1020,290,1000 }
  463.  
  464. /** Global settings - these apply to all configured drivers
  465. Per-axis values will override these
  466. */
  467. #define TMC2130_STEALTHCHOP 0 // Enable extremely quiet stepping
  468. #define TMC2130_INTERPOLATE_256 1 // Enable internal driver microstep interpolation
  469. #define TMC2130_STALLGUARD 5 // Sensorless homing sensitivity (between -63 and +64)
  470.  
  471. /** PWM values for chopper tuning
  472. only change if you know what you're doing
  473. */
  474. #define TMC2130_PWM_AMPL 255
  475. #define TMC2130_PWM_GRAD 1
  476. #define TMC2130_PWM_AUTOSCALE 1
  477. #define TMC2130_PWM_FREQ 2
  478. #define TMC2130_STEALTHCHOP_Z 1
  479. #define TMC2130_STEALTHCHOP_EXT1 1
  480. /** Per-axis parameters
  481.  
  482. To define different values for certain parameters on each axis,
  483. append either _X, _Y, _Z, _EXT0, _EXT1 or _EXT2
  484. to the name of the global parameter.
  485.  
  486. Examples for the X axis:
  487.  
  488. #define TMC2130_STEALTHCHOP_X 1
  489. #define TMC2130_INTERPOLATE_256_X true
  490. */
  491.  
  492. /** Minimum speeds for stall detection.
  493.  
  494. These values may need to be adjusted if SENSORLESS_HOMING is enabled,
  495. but endstops trigger prematurely or don't trigger at all.
  496. The exact value is dependent on the duration of one microstep,
  497. but good approximations can be determined by experimentation.
  498. */
  499. #define TMC2130_TCOOLTHRS_X 305
  500. #define TMC2130_TCOOLTHRS_Y 300
  501. #define TMC2130_TCOOLTHRS_Z 300
  502.  
  503. // ################# Misc. settings ##################
  504.  
  505. #define BAUDRATE 250000
  506. #define ENABLE_POWER_ON_STARTUP 1
  507. #define POWER_INVERTING 0
  508. #define AUTOMATIC_POWERUP 0
  509. #define KILL_METHOD 1
  510. #define ACK_WITH_LINENUMBER 1
  511. #define KEEP_ALIVE_INTERVAL 2000
  512. #define WAITING_IDENTIFIER "wait"
  513. #define ECHO_ON_EXECUTE 1
  514. #define EEPROM_MODE 1
  515. #undef PS_ON_PIN
  516. #define PS_ON_PIN ORIG_PS_ON_PIN
  517. #define JSON_OUTPUT 0
  518.  
  519. /* ======== Servos =======
  520. Control the servos with
  521. M340 P<servoId> S<pulseInUS> / ServoID = 0..3 pulseInUs = 500..2500
  522. Servos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
  523. WARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!
  524. */
  525. #define FEATURE_SERVO 1
  526. #define SERVO0_PIN 5
  527. #define SERVO1_PIN -1
  528. #define SERVO2_PIN -1
  529. #define SERVO3_PIN -1
  530. #define SERVO0_NEUTRAL_POS -1
  531. #define SERVO1_NEUTRAL_POS -1
  532. #define SERVO2_NEUTRAL_POS -1
  533. #define SERVO3_NEUTRAL_POS -1
  534. #define UI_SERVO_CONTROL 0
  535. #define FAN_KICKSTART_TIME 200
  536. #define MAX_FAN_PWM 255
  537.  
  538. #define FEATURE_WATCHDOG 1
  539.  
  540. // #################### Z-Probing #####################
  541.  
  542. #define Z_PROBE_Z_OFFSET 0
  543. #define Z_PROBE_Z_OFFSET_MODE 1
  544. #define UI_BED_COATING 1
  545. #define FEATURE_Z_PROBE 1
  546. #define EXTRUDER_IS_Z_PROBE 0
  547. #define Z_PROBE_DISABLE_HEATERS 0
  548. #define Z_PROBE_BED_DISTANCE 22
  549. #define Z_PROBE_PIN ORIG_Z_MIN_PIN
  550. #define Z_PROBE_PULLUP 0
  551. #define Z_PROBE_ON_HIGH 1
  552. #define Z_PROBE_X_OFFSET 33
  553. #define Z_PROBE_Y_OFFSET 45
  554. #define Z_PROBE_WAIT_BEFORE_TEST 1
  555. #define Z_PROBE_SPEED 2
  556. #define Z_PROBE_XY_SPEED 120
  557. #define Z_PROBE_SWITCHING_DISTANCE 4
  558. #define Z_PROBE_REPETITIONS 2
  559. #define Z_PROBE_USE_MEDIAN 0
  560. #define Z_PROBE_HEIGHT 1.46
  561. #define Z_PROBE_DELAY 100
  562. #define Z_PROBE_START_SCRIPT "M340 P0 S650"
  563. #define Z_PROBE_FINISHED_SCRIPT "M340 P0 S1475"
  564. #define Z_PROBE_RUN_AFTER_EVERY_PROBE ""
  565. #define Z_PROBE_REQUIRES_HEATING 0
  566. #define Z_PROBE_MIN_TEMPERATURE 150
  567. #define FEATURE_AUTOLEVEL 1
  568. #define FEATURE_SOFTWARE_LEVELING 0
  569. #define Z_PROBE_X1 36
  570. #define Z_PROBE_Y1 50
  571. #define Z_PROBE_X2 160
  572. #define Z_PROBE_Y2 50
  573. #define Z_PROBE_X3 36
  574. #define Z_PROBE_Y3 190
  575. #define BED_LEVELING_METHOD 1
  576. #define BED_CORRECTION_METHOD 0
  577. #define BED_LEVELING_GRID_SIZE 7
  578. #define BED_LEVELING_REPETITIONS 5
  579. #define BED_MOTOR_1_X 0
  580. #define BED_MOTOR_1_Y 0
  581. #define BED_MOTOR_2_X 200
  582. #define BED_MOTOR_2_Y 0
  583. #define BED_MOTOR_3_X 100
  584. #define BED_MOTOR_3_Y 200
  585. #define BENDING_CORRECTION_A 0
  586. #define BENDING_CORRECTION_B 0
  587. #define BENDING_CORRECTION_C 0
  588. #define FEATURE_AXISCOMP 1
  589. #define AXISCOMP_TANXY 0
  590. #define AXISCOMP_TANYZ 0
  591. #define AXISCOMP_TANXZ 0
  592.  
  593. #ifndef SDSUPPORT // Some boards have sd support on board. These define the values already in pins.h
  594. #define SDSUPPORT 0
  595. #undef SDCARDDETECT
  596. #define SDCARDDETECT -1
  597. #undef SDCARDDETECTINVERTED
  598. #define SDCARDDETECTINVERTED 0
  599. #endif
  600. #define SD_EXTENDED_DIR 1 /** Show extended directory including file length. Don't use this with Pronterface! */
  601. #define SD_RUN_ON_STOP ""
  602. #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
  603. #define ARC_SUPPORT 1
  604. #define FEATURE_MEMORY_POSITION 1
  605. #define FEATURE_CHECKSUM_FORCED 0
  606. #define FEATURE_FAN_CONTROL 1
  607. #define FEATURE_FAN2_CONTROL 0
  608. #define FEATURE_CONTROLLER 7
  609. #define ADC_KEYPAD_PIN -1
  610. #define LANGUAGE_EN_ACTIVE 1
  611. #define LANGUAGE_DE_ACTIVE 0
  612. #define LANGUAGE_NL_ACTIVE 0
  613. #define LANGUAGE_PT_ACTIVE 0
  614. #define LANGUAGE_IT_ACTIVE 0
  615. #define LANGUAGE_ES_ACTIVE 0
  616. #define LANGUAGE_FI_ACTIVE 0
  617. #define LANGUAGE_SE_ACTIVE 0
  618. #define LANGUAGE_FR_ACTIVE 0
  619. #define LANGUAGE_CZ_ACTIVE 0
  620. #define LANGUAGE_PL_ACTIVE 0
  621. #define LANGUAGE_TR_ACTIVE 0
  622. #define LANGUAGE_RU_ACTIVE 0
  623. #define UI_PRINTER_NAME "Yggdrasil"
  624. #define UI_PRINTER_COMPANY "Zibbe"
  625. #define UI_PAGES_DURATION 4000
  626. #define UI_SPEEDDEPENDENT_POSITIONING 0
  627. #define UI_DISABLE_AUTO_PAGESWITCH 1
  628. #define UI_AUTORETURN_TO_MENU_AFTER 30000
  629. #define FEATURE_UI_KEYS 0
  630. #define UI_ENCODER_SPEED 1
  631. #define UI_REVERSE_ENCODER 0
  632. #define UI_KEY_BOUNCETIME 10
  633. #define UI_KEY_FIRST_REPEAT 500
  634. #define UI_KEY_REDUCE_REPEAT 50
  635. #define UI_KEY_MIN_REPEAT 50
  636. #define FEATURE_BEEPER 0
  637. #define CASE_LIGHTS_PIN -1
  638. #define CASE_LIGHT_DEFAULT_ON 1
  639. #define UI_START_SCREEN_DELAY 1000
  640. #define UI_DYNAMIC_ENCODER_SPEED 1
  641. /**
  642. Beeper sound definitions for short beeps during key actions
  643. and longer beeps for important actions.
  644. Parameter is delay in microseconds and the secons is the number of repetitions.
  645. Values must be in range 1..255
  646. */
  647. #define BEEPER_SHORT_SEQUENCE 2,2
  648. #define BEEPER_LONG_SEQUENCE 8,8
  649. #define UI_SET_MIN_HEATED_BED_TEMP 30
  650. #define UI_SET_MAX_HEATED_BED_TEMP 120
  651. #define UI_SET_MIN_EXTRUDER_TEMP 170
  652. #define UI_SET_MAX_EXTRUDER_TEMP 260
  653. #define UI_SET_EXTRUDER_FEEDRATE 2
  654. #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3
  655.  
  656.  
  657. #define NUM_MOTOR_DRIVERS 0
  658.  
  659.  
  660.  
  661. #endif
  662.  
  663. /* Below you will find the configuration string, that created this Configuration.h
  664.  
  665. ========== Start configuration string ==========
  666. {
  667. "editMode": 1,
  668. "processor": 1,
  669. "baudrate": 250000,
  670. "bluetoothSerial": -1,
  671. "bluetoothBaudrate": 115200,
  672. "xStepsPerMM": 80,
  673. "yStepsPerMM": 80,
  674. "zStepsPerMM": 80,
  675. "xInvert": "0",
  676. "x2Invert": 0,
  677. "xInvertEnable": 0,
  678. "eepromMode": 1,
  679. "yInvert": "0",
  680. "y2Invert": 0,
  681. "yInvertEnable": 0,
  682. "zInvert": "1",
  683. "z2Invert": "1",
  684. "z3Invert": 0,
  685. "z4Invert": 0,
  686. "zInvertEnable": 0,
  687. "extruder": [
  688. {
  689. "id": 0,
  690. "heatManager": 1,
  691. "pidDriveMin": 40,
  692. "pidDriveMax": 230,
  693. "pidMax": 255,
  694. "sensorType": 14,
  695. "sensorPin": "TEMP_0_PIN",
  696. "heaterPin": "HEATER_0_PIN",
  697. "maxFeedrate": 50,
  698. "startFeedrate": 20,
  699. "invert": "1",
  700. "invertEnable": "0",
  701. "acceleration": 5000,
  702. "watchPeriod": 1,
  703. "pidP": 7,
  704. "pidI": 0.14,
  705. "pidD": 46.7,
  706. "advanceK": 0,
  707. "advanceL": 0,
  708. "waitRetractTemp": 150,
  709. "waitRetractUnits": 0,
  710. "waitRetract": 0,
  711. "stepsPerMM": 98,
  712. "coolerPin": "ORIG_FAN_PIN",
  713. "coolerSpeed": 255,
  714. "selectCommands": "",
  715. "deselectCommands": "",
  716. "xOffset": 0,
  717. "yOffset": 0,
  718. "zOffset": 0,
  719. "xOffsetSteps": 0,
  720. "yOffsetSteps": 0,
  721. "zOffsetSteps": 0,
  722. "stepper": {
  723. "name": "Extruder 0",
  724. "step": "ORIG_E0_STEP_PIN",
  725. "dir": "ORIG_E0_DIR_PIN",
  726. "enable": "ORIG_E0_ENABLE_PIN"
  727. },
  728. "advanceBacklashSteps": 0,
  729. "decoupleTestPeriod": 12,
  730. "jamPin": -1,
  731. "jamPullup": "0",
  732. "mirror": "0",
  733. "invert2": "0",
  734. "stepper2": {
  735. "name": "Extruder 0",
  736. "step": "ORIG_E0_STEP_PIN",
  737. "dir": "ORIG_E0_DIR_PIN",
  738. "enable": "ORIG_E0_ENABLE_PIN"
  739. },
  740. "preheat": 190
  741. }
  742. ],
  743. "uiLanguage": 0,
  744. "uiController": 0,
  745. "xMinEndstop": 4,
  746. "yMinEndstop": 4,
  747. "zMinEndstop": 4,
  748. "xMaxEndstop": 0,
  749. "yMaxEndstop": 0,
  750. "zMaxEndstop": 0,
  751. "x2MinEndstop": 0,
  752. "y2MinEndstop": 0,
  753. "x2MaxEndstop": 0,
  754. "y2MaxEndstop": 0,
  755. "motherboard": 402,
  756. "driveSystem": 0,
  757. "xMaxSpeed": 200,
  758. "xHomingSpeed": 40,
  759. "xTravelAcceleration": 1000,
  760. "xPrintAcceleration": 1000,
  761. "yMaxSpeed": 200,
  762. "yHomingSpeed": 40,
  763. "yTravelAcceleration": 1000,
  764. "yPrintAcceleration": 1000,
  765. "zMaxSpeed": 2,
  766. "zHomingSpeed": 2,
  767. "zTravelAcceleration": 100,
  768. "zPrintAcceleration": 100,
  769. "xMotor": {
  770. "name": "X motor",
  771. "step": "ORIG_X_STEP_PIN",
  772. "dir": "ORIG_X_DIR_PIN",
  773. "enable": "ORIG_X_ENABLE_PIN"
  774. },
  775. "yMotor": {
  776. "name": "Y motor",
  777. "step": "ORIG_Y_STEP_PIN",
  778. "dir": "ORIG_Y_DIR_PIN",
  779. "enable": "ORIG_Y_ENABLE_PIN"
  780. },
  781. "zMotor": {
  782. "name": "Z motor",
  783. "step": "ORIG_Z_STEP_PIN",
  784. "dir": "ORIG_Z_DIR_PIN",
  785. "enable": "ORIG_Z_ENABLE_PIN"
  786. },
  787. "enableBacklash": "0",
  788. "backlashX": 0,
  789. "backlashY": 0,
  790. "backlashZ": 0,
  791. "stepperInactiveTime": 360,
  792. "maxInactiveTime": 0,
  793. "xMinPos": 0,
  794. "yMinPos": 9,
  795. "zMinPos": 0,
  796. "xLength": 165,
  797. "yLength": 210,
  798. "zLength": 450,
  799. "alwaysCheckEndstops": "0",
  800. "disableX": "0",
  801. "disableY": "0",
  802. "disableZ": "0",
  803. "disableE": "0",
  804. "xHomeDir": "-1",
  805. "yHomeDir": "-1",
  806. "zHomeDir": "-1",
  807. "xEndstopBack": 1,
  808. "yEndstopBack": 1,
  809. "zEndstopBack": 0,
  810. "deltaSegmentsPerSecondPrint": 180,
  811. "deltaSegmentsPerSecondTravel": 70,
  812. "deltaDiagonalRod": 445,
  813. "deltaHorizontalRadius": 209.25,
  814. "deltaAlphaA": 210,
  815. "deltaAlphaB": 330,
  816. "deltaAlphaC": 90,
  817. "deltaDiagonalCorrA": 0,
  818. "deltaDiagonalCorrB": 0,
  819. "deltaDiagonalCorrC": 0,
  820. "deltaMaxRadius": 150,
  821. "deltaFloorSafetyMarginMM": 15,
  822. "deltaRadiusCorrA": 0,
  823. "deltaRadiusCorrB": 0,
  824. "deltaRadiusCorrC": 0,
  825. "deltaXOffsetSteps": 0,
  826. "deltaYOffsetSteps": 0,
  827. "deltaZOffsetSteps": 0,
  828. "deltaSegmentsPerLine": 20,
  829. "stepperHighDelay": 0,
  830. "directionDelay": 0,
  831. "stepDoublerFrequency": 80000,
  832. "allowQuadstepping": "0",
  833. "doubleStepDelay": 0,
  834. "maxJerk": 8,
  835. "maxZJerk": 0.3,
  836. "moveCacheSize": 16,
  837. "moveCacheLow": 10,
  838. "lowTicksPerMove": 250000,
  839. "enablePowerOnStartup": "1",
  840. "echoOnExecute": "1",
  841. "sendWaits": "1",
  842. "ackWithLineNumber": "1",
  843. "killMethod": 1,
  844. "useAdvance": "0",
  845. "useQuadraticAdvance": "0",
  846. "powerInverting": 0,
  847. "mirrorX": 0,
  848. "mirrorXMotor": {
  849. "name": "Extruder 1",
  850. "step": "ORIG_E1_STEP_PIN",
  851. "dir": "ORIG_E1_DIR_PIN",
  852. "enable": "ORIG_E1_ENABLE_PIN"
  853. },
  854. "mirrorY": 0,
  855. "mirrorYMotor": {
  856. "name": "Extruder 1",
  857. "step": "ORIG_E1_STEP_PIN",
  858. "dir": "ORIG_E1_DIR_PIN",
  859. "enable": "ORIG_E1_ENABLE_PIN"
  860. },
  861. "mirrorZ": "1",
  862. "mirrorZMotor": {
  863. "name": "Extruder 1",
  864. "step": "ORIG_E1_STEP_PIN",
  865. "dir": "ORIG_E1_DIR_PIN",
  866. "enable": "ORIG_E1_ENABLE_PIN"
  867. },
  868. "mirrorZ3": "0",
  869. "mirrorZ3Motor": {
  870. "name": "Extruder 2",
  871. "step": "ORIG_E2_STEP_PIN",
  872. "dir": "ORIG_E2_DIR_PIN",
  873. "enable": "ORIG_E2_ENABLE_PIN"
  874. },
  875. "mirrorZ4": "0",
  876. "mirrorZ4Motor": {
  877. "name": "Extruder 3",
  878. "step": "ORIG_E3_STEP_PIN",
  879. "dir": "ORIG_E3_DIR_PIN",
  880. "enable": "ORIG_E3_ENABLE_PIN"
  881. },
  882. "dittoPrinting": "0",
  883. "featureServos": "1",
  884. "servo0Pin": 11,
  885. "servo1Pin": -1,
  886. "servo2Pin": -1,
  887. "servo3Pin": -1,
  888. "featureWatchdog": "1",
  889. "hasHeatedBed": "1",
  890. "enableZProbing": "1",
  891. "extrudeMaxLength": 160,
  892. "homeOrder": "HOME_ORDER_ZXYTZ",
  893. "featureController": 7,
  894. "uiPrinterName": "RepRap",
  895. "uiPrinterCompany": "Home made",
  896. "uiPagesDuration": 4000,
  897. "uiHeadline": "",
  898. "uiDisablePageswitch": "1",
  899. "uiAutoReturnAfter": 30000,
  900. "featureKeys": "0",
  901. "uiEncoderSpeed": 1,
  902. "uiReverseEncoder": "0",
  903. "uiKeyBouncetime": 10,
  904. "uiKeyFirstRepeat": 500,
  905. "uiKeyReduceRepeat": 50,
  906. "uiKeyMinRepeat": 50,
  907. "featureBeeper": "0",
  908. "uiMinHeatedBed": 30,
  909. "uiMaxHeatedBed": 120,
  910. "uiMinEtxruderTemp": 170,
  911. "uiMaxExtruderTemp": 260,
  912. "uiExtruderFeedrate": 2,
  913. "uiExtruderRetractDistance": 3,
  914. "uiSpeeddependentPositioning": "0",
  915. "maxBedTemperature": 120,
  916. "bedSensorType": 14,
  917. "bedSensorPin": "TEMP_1_PIN",
  918. "bedHeaterPin": "HEATER_2_PIN",
  919. "bedHeatManager": 0,
  920. "bedPreheat": 55,
  921. "bedUpdateInterval": 5000,
  922. "bedPidDriveMin": 80,
  923. "bedPidDriveMax": 255,
  924. "bedPidP": 196,
  925. "bedPidI": 33,
  926. "bedPidD": 290,
  927. "bedPidMax": 255,
  928. "bedDecoupleTestPeriod": 300,
  929. "caseLightPin": -1,
  930. "caseLightDefaultOn": "1",
  931. "bedSkipIfWithin": 3,
  932. "gen1T0": 25,
  933. "gen1R0": 100000,
  934. "gen1Beta": 4036,
  935. "gen1MinTemp": -20,
  936. "gen1MaxTemp": 300,
  937. "gen1R1": 0,
  938. "gen1R2": 4700,
  939. "gen2T0": 25,
  940. "gen2R0": 100000,
  941. "gen2Beta": 4036,
  942. "gen2MinTemp": -20,
  943. "gen2MaxTemp": 300,
  944. "gen2R1": 0,
  945. "gen2R2": 4700,
  946. "gen3T0": 25,
  947. "gen3R0": 100000,
  948. "gen3Beta": 4036,
  949. "gen3MinTemp": -20,
  950. "gen3MaxTemp": 300,
  951. "gen3R1": 0,
  952. "gen3R2": 4700,
  953. "userTable0": {
  954. "r1": 0,
  955. "r2": 4700,
  956. "temps": [],
  957. "numEntries": 0
  958. },
  959. "userTable1": {
  960. "r1": 0,
  961. "r2": 4700,
  962. "temps": [],
  963. "numEntries": 0
  964. },
  965. "userTable2": {
  966. "r1": 0,
  967. "r2": 4700,
  968. "temps": [],
  969. "numEntries": 0
  970. },
  971. "tempHysteresis": 0,
  972. "pidControlRange": 20,
  973. "skipM109Within": 2,
  974. "extruderFanCoolTemp": 50,
  975. "minTemp": 120,
  976. "maxTemp": 275,
  977. "minDefectTemp": -10,
  978. "maxDefectTemp": 290,
  979. "arcSupport": "1",
  980. "featureMemoryPositionWatchdog": "1",
  981. "forceChecksum": "0",
  982. "sdExtendedDir": "1",
  983. "featureFanControl": "1",
  984. "fanPin": "ORIG_FAN2_PIN",
  985. "featureFan2Control": "0",
  986. "fan2Pin": "ORIG_FAN2_PIN",
  987. "fanThermoPin": -1,
  988. "fanThermoMinPWM": 128,
  989. "fanThermoMaxPWM": 255,
  990. "fanThermoMinTemp": 45,
  991. "fanThermoMaxTemp": 60,
  992. "fanThermoThermistorPin": -1,
  993. "fanThermoThermistorType": 1,
  994. "scalePidToMax": 0,
  995. "zProbePin": "ORIG_Z_MIN_PIN",
  996. "zProbeBedDistance": 10,
  997. "zProbeDisableHeaters": "0",
  998. "zProbePullup": "0",
  999. "zProbeOnHigh": "1",
  1000. "zProbeXOffset": 33,
  1001. "zProbeYOffset": 45,
  1002. "zProbeWaitBeforeTest": "0",
  1003. "zProbeSpeed": 2,
  1004. "zProbeXYSpeed": 150,
  1005. "zProbeHeight": 1.46,
  1006. "zProbeStartScript": "M340 P0 S700",
  1007. "zProbeFinishedScript": "M350 P0 S1500",
  1008. "featureAutolevel": "1",
  1009. "zProbeX1": 35,
  1010. "zProbeY1": 44,
  1011. "zProbeX2": 160,
  1012. "zProbeY2": 44,
  1013. "zProbeX3": 35,
  1014. "zProbeY3": 160,
  1015. "zProbeSwitchingDistance": 4,
  1016. "zProbeRepetitions": 2,
  1017. "zProbeMedian": "0",
  1018. "zProbeEveryPoint": "",
  1019. "sdSupport": "0",
  1020. "sdCardDetectPin": -1,
  1021. "sdCardDetectInverted": "0",
  1022. "uiStartScreenDelay": 1000,
  1023. "xEndstopBackMove": 5,
  1024. "yEndstopBackMove": 5,
  1025. "zEndstopBackMove": 2,
  1026. "xEndstopRetestFactor": 3,
  1027. "yEndstopRetestFactor": 3,
  1028. "zEndstopRetestFactor": 3,
  1029. "xMinPin": "ORIG_X_MIN_PIN",
  1030. "yMinPin": "ORIG_Y_MIN_PIN",
  1031. "zMinPin": "ORIG_Z_MIN_PIN",
  1032. "xMaxPin": "ORIG_X_MAX_PIN",
  1033. "yMaxPin": "ORIG_Y_MAX_PIN",
  1034. "zMaxPin": "ORIG_Z_MAX_PIN",
  1035. "x2MinPin": -1,
  1036. "y2MinPin": -1,
  1037. "x2MaxPin": -1,
  1038. "y2MaxPin": -1,
  1039. "deltaHomeOnPower": "0",
  1040. "fanBoardPin": -1,
  1041. "heaterPWMSpeed": 0,
  1042. "featureBabystepping": "1",
  1043. "babystepMultiplicator": 1,
  1044. "pdmForHeater": "0",
  1045. "pdmForCooler": "0",
  1046. "psOn": "ORIG_PS_ON_PIN",
  1047. "mixingExtruder": "0",
  1048. "decouplingTestMaxHoldVariance": 20,
  1049. "decouplingTestMinTempRise": 1,
  1050. "featureAxisComp": "1",
  1051. "axisCompTanXY": 0,
  1052. "axisCompTanXZ": 0,
  1053. "axisCompTanYZ": 0,
  1054. "retractOnPause": 2,
  1055. "pauseStartCommands": "",
  1056. "pauseEndCommands": "",
  1057. "distortionCorrection": "1",
  1058. "distortionCorrectionPoints": 6,
  1059. "distortionCorrectionR": 100,
  1060. "distortionPermanent": "1",
  1061. "distortionUpdateFrequency": 15,
  1062. "distortionStartDegrade": 0.5,
  1063. "distortionEndDegrade": 1,
  1064. "distortionExtrapolateCorners": "0",
  1065. "distortionXMin": 10,
  1066. "distortionXMax": 150,
  1067. "distortionYMin": 10,
  1068. "distortionYMax": 190,
  1069. "sdRunOnStop": "",
  1070. "sdStopHeaterMotorsOnStop": "1",
  1071. "featureRetraction": "1",
  1072. "autoretractEnabled": "0",
  1073. "retractionLength": 1,
  1074. "retractionLongLength": 13,
  1075. "retractionSpeed": 40,
  1076. "retractionZLift": 0,
  1077. "retractionUndoExtraLength": 0,
  1078. "retractionUndoExtraLongLength": 0,
  1079. "retractionUndoSpeed": 20,
  1080. "filamentChangeXPos": 0,
  1081. "filamentChangeYPos": 0,
  1082. "filamentChangeZAdd": 2,
  1083. "filamentChangeRehome": 1,
  1084. "filamentChangeShortRetract": 5,
  1085. "filamentChangeLongRetract": 50,
  1086. "fanKickstart": 200,
  1087. "servo0StartPos": -1,
  1088. "servo1StartPos": -1,
  1089. "servo2StartPos": -1,
  1090. "servo3StartPos": -1,
  1091. "uiDynamicEncoderSpeed": "1",
  1092. "uiServoControl": 0,
  1093. "killIfSensorDefect": "0",
  1094. "jamSteps": 220,
  1095. "jamSlowdownSteps": 320,
  1096. "jamSlowdownTo": 70,
  1097. "jamErrorSteps": 500,
  1098. "jamMinSteps": 10,
  1099. "jamAction": 1,
  1100. "jamMethod": 1,
  1101. "primaryPort": 2,
  1102. "numMotorDrivers": 0,
  1103. "motorDrivers": [
  1104. {
  1105. "t": "None",
  1106. "s": "",
  1107. "invertEnable": "0",
  1108. "invertDirection": "0",
  1109. "stepsPerMM": 100,
  1110. "speed": 10,
  1111. "dirPin": -1,
  1112. "stepPin": -1,
  1113. "enablePin": -1,
  1114. "endstopPin": -1,
  1115. "invertEndstop": "0",
  1116. "minEndstop": "1",
  1117. "endstopPullup": "1",
  1118. "maxDistance": 20
  1119. },
  1120. {
  1121. "t": "None",
  1122. "s": "",
  1123. "invertEnable": "0",
  1124. "invertDirection": "0",
  1125. "stepsPerMM": 100,
  1126. "speed": 10,
  1127. "dirPin": -1,
  1128. "stepPin": -1,
  1129. "enablePin": -1,
  1130. "endstopPin": -1,
  1131. "invertEndstop": "0",
  1132. "minEndstop": "1",
  1133. "endstopPullup": "1",
  1134. "maxDistance": 20
  1135. },
  1136. {
  1137. "t": "None",
  1138. "s": "",
  1139. "invertEnable": "0",
  1140. "invertDirection": "0",
  1141. "stepsPerMM": 100,
  1142. "speed": 10,
  1143. "dirPin": -1,
  1144. "stepPin": -1,
  1145. "enablePin": -1,
  1146. "endstopPin": -1,
  1147. "invertEndstop": "0",
  1148. "minEndstop": "1",
  1149. "endstopPullup": "1",
  1150. "maxDistance": 20
  1151. },
  1152. {
  1153. "t": "None",
  1154. "s": "",
  1155. "invertEnable": "0",
  1156. "invertDirection": "0",
  1157. "stepsPerMM": 100,
  1158. "speed": 10,
  1159. "dirPin": -1,
  1160. "stepPin": -1,
  1161. "enablePin": -1,
  1162. "endstopPin": -1,
  1163. "invertEndstop": "0",
  1164. "minEndstop": "1",
  1165. "endstopPullup": "1",
  1166. "maxDistance": 20
  1167. },
  1168. {
  1169. "t": "None",
  1170. "s": "",
  1171. "invertEnable": "0",
  1172. "invertDirection": "0",
  1173. "stepsPerMM": 100,
  1174. "speed": 10,
  1175. "dirPin": -1,
  1176. "stepPin": -1,
  1177. "enablePin": -1,
  1178. "endstopPin": -1,
  1179. "invertEndstop": "0",
  1180. "minEndstop": "1",
  1181. "endstopPullup": "1",
  1182. "maxDistance": 20
  1183. },
  1184. {
  1185. "t": "None",
  1186. "s": "",
  1187. "invertEnable": "0",
  1188. "invertDirection": "0",
  1189. "stepsPerMM": 100,
  1190. "speed": 10,
  1191. "dirPin": -1,
  1192. "stepPin": -1,
  1193. "enablePin": -1,
  1194. "endstopPin": -1,
  1195. "invertEndstop": "0",
  1196. "minEndstop": "1",
  1197. "endstopPullup": "1",
  1198. "maxDistance": 20
  1199. }
  1200. ],
  1201. "manualConfig": "",
  1202. "zHomeMinTemperature": 0,
  1203. "zHomeXPos": 82,
  1204. "zHomeYPos": 95,
  1205. "zHomeHeatHeight": 20,
  1206. "zHomeHeatAll": "1",
  1207. "zProbeZOffsetMode": 1,
  1208. "zProbeZOffset": 0,
  1209. "zProbeDelay": 100,
  1210. "uiBedCoating": "1",
  1211. "langEN": "1",
  1212. "langDE": "0",
  1213. "langNL": "0",
  1214. "langPT": "0",
  1215. "langIT": "0",
  1216. "langES": "0",
  1217. "langFI": "0",
  1218. "langSE": "0",
  1219. "langFR": "0",
  1220. "langCZ": "0",
  1221. "langPL": "0",
  1222. "langTR": "0",
  1223. "langRU": "0",
  1224. "interpolateAccelerationWithZ": 0,
  1225. "accelerationFactorTop": 100,
  1226. "bendingCorrectionA": 0,
  1227. "bendingCorrectionB": 0,
  1228. "bendingCorrectionC": 0,
  1229. "preventZDisableOnStepperTimeout": "0",
  1230. "supportLaser": "0",
  1231. "laserPin": -1,
  1232. "laserOnHigh": "1",
  1233. "laserWarmupTime": 0,
  1234. "defaultPrinterMode": 0,
  1235. "laserPwmMax": 255,
  1236. "laserWatt": 2,
  1237. "supportCNC": "0",
  1238. "cncWaitOnEnable": 300,
  1239. "cncWaitOnDisable": 0,
  1240. "cncEnablePin": -1,
  1241. "cncEnableWith": "1",
  1242. "cncDirectionPin": -1,
  1243. "cncDirectionCW": "1",
  1244. "cncPwmMax": 255,
  1245. "cncRpmMax": 8000,
  1246. "cncSafeZ": 150,
  1247. "startupGCode": "",
  1248. "jsonOutput": "0",
  1249. "bedLevelingMethod": 1,
  1250. "bedCorrectionMethod": 0,
  1251. "bedLevelingGridSize": 6,
  1252. "bedLevelingRepetitions": 5,
  1253. "bedMotor1X": 0,
  1254. "bedMotor1Y": 0,
  1255. "bedMotor2X": 200,
  1256. "bedMotor2Y": 0,
  1257. "bedMotor3X": 100,
  1258. "bedMotor3Y": 200,
  1259. "zProbeRequiresHeating": "0",
  1260. "zProbeMinTemperature": 150,
  1261. "adcKeypadPin": -1,
  1262. "sharedExtruderHeater": "0",
  1263. "extruderSwitchXYSpeed": 100,
  1264. "dualXAxis": "0",
  1265. "boardFanSpeed": 255,
  1266. "keepAliveInterval": 2000,
  1267. "moveXWhenHomed": "0",
  1268. "moveYWhenHomed": "0",
  1269. "moveZWhenHomed": "0",
  1270. "preheatTime": 30000,
  1271. "multiZEndstopHoming": "0",
  1272. "z2MinMaxPin": -1,
  1273. "z2MinMaxEndstop": 0,
  1274. "extruderIsZProbe": "0",
  1275. "boardFanMinSpeed": 0,
  1276. "doorPin": -1,
  1277. "doorEndstop": 0,
  1278. "zhomePreRaise": 0,
  1279. "zhomePreRaiseDistance": 5,
  1280. "dualXResolution": "0",
  1281. "x2axisStepsPerMM": 100,
  1282. "coolerPWMSpeed": 0,
  1283. "maxFanPWM": 255,
  1284. "raiseZOnToolchange": 0,
  1285. "distortionLimitTo": 3,
  1286. "automaticPowerup": 0,
  1287. "hasTMC2130": "1",
  1288. "TMC2130Sensorless": "1",
  1289. "TMC2130Steathchop": "1",
  1290. "TMC2130Interpolate256": "1",
  1291. "TMC2130StallguardSensitivity": 0,
  1292. "TMC2130PWMAmpl": 255,
  1293. "TMC2130PWMGrad": 1,
  1294. "TMC2130PWMAutoscale": "1",
  1295. "TMC2130PWMFreq": 2,
  1296. "TMC2130CSX": 27,
  1297. "TMC2130CSY": 29,
  1298. "TMC2130CSZ": 31,
  1299. "TMC2130CSE0": 33,
  1300. "TMC2130CSE1": 35,
  1301. "TMC2130CSE2": -1,
  1302. "TMC2130CSE3": -1,
  1303. "TMC2130CSE4": -1,
  1304. "TMC2130CurrentX": 1020,
  1305. "TMC2130CurrentY": 1020,
  1306. "TMC2130CurrentZ": 290,
  1307. "TMC2130CurrentE0": 1020,
  1308. "TMC2130CurrentE1": 290,
  1309. "TMC2130CurrentE2": 1000,
  1310. "TMC2130CurrentE3": 1000,
  1311. "TMC2130CurrentE4": 1000,
  1312. "TMC2130CoolstepTresholdX": 300,
  1313. "TMC2130CoolstepTresholdY": 300,
  1314. "TMC2130CoolstepTresholdZ": 300,
  1315. "microstepX": 16,
  1316. "microstepY": 16,
  1317. "microstepZ": 16,
  1318. "microstepE0": 16,
  1319. "microstepE1": 16,
  1320. "microstepE2": 16,
  1321. "microstepE3": 16,
  1322. "microstepE4": 16,
  1323. "parkPosX": 0,
  1324. "parkPosY": 0,
  1325. "parkPosZ": 10,
  1326. "emergencyParser": -1,
  1327. "hostRescue": "1",
  1328. "MAX31855SwCS": -1,
  1329. "MAX31855SwCLK": -1,
  1330. "tempGain": "0",
  1331. "hasMAX6675": false,
  1332. "hasMAX31855": false,
  1333. "hasGeneric1": false,
  1334. "hasGeneric2": false,
  1335. "hasGeneric3": false,
  1336. "hasUser0": false,
  1337. "hasUser1": false,
  1338. "hasUser2": false,
  1339. "numExtruder": 1,
  1340. "version": 100.4,
  1341. "primaryPortName": "SerialUSB",
  1342. "hasMAX31855SW": false
  1343. }
  1344. ========== End configuration string ==========
  1345.  
  1346. */
RAW Paste Data