Advertisement
Guest User

Untitled

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