Advertisement
Guest User

Untitled

a guest
Oct 25th, 2015
1,717
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.10 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 0.92
  31. generator: http://www.repetier.com/firmware/v092/
  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 37
  41. #include "pins.h"
  42.  
  43. // ################## EDIT THESE SETTINGS MANUALLY ################
  44. // ################ END MANUAL SETTINGS ##########################
  45.  
  46. #define FAN_BOARD_PIN ORIG_FAN_PIN
  47.  
  48. //#define EXTERNALSERIAL use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.
  49. // Uncomment the following line if you are using arduino compatible firmware made for Arduino version earlier then 1.0
  50. // If it is incompatible you will get compiler errors about write functions not beeing compatible!
  51. //#define COMPAT_PRE1
  52. #define BLUETOOTH_SERIAL -1
  53. #define BLUETOOTH_BAUD 115200
  54. #define MIXING_EXTRUDER 0
  55.  
  56. #define DRIVE_SYSTEM 3
  57. #define XAXIS_STEPS_PER_MM 80
  58. #define YAXIS_STEPS_PER_MM 80
  59. #define ZAXIS_STEPS_PER_MM 80
  60. #define EXTRUDER_FAN_COOL_TEMP 50
  61. #define PDM_FOR_EXTRUDER 0
  62. #define PDM_FOR_COOLER 0
  63. #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
  64. #define DECOUPLING_TEST_MIN_TEMP_RISE 1
  65. #define KILL_IF_SENSOR_DEFECT 0
  66. #define RETRACT_ON_PAUSE 2
  67. #define PAUSE_START_COMMANDS ""
  68. #define PAUSE_END_COMMANDS ""
  69. #define EXT0_X_OFFSET 600
  70. #define EXT0_Y_OFFSET 600
  71. #define EXT0_Z_OFFSET 0
  72. #define EXT0_STEPS_PER_MM 95
  73. #define EXT0_TEMPSENSOR_TYPE 8
  74. #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
  75. #define EXT0_HEATER_PIN HEATER_0_PIN
  76. #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
  77. #define EXT0_DIR_PIN ORIG_E0_DIR_PIN
  78. #define EXT0_INVERSE 1
  79. #define EXT0_ENABLE_PIN E0_ENABLE_PIN
  80. #define EXT0_ENABLE_ON 0
  81. #define EXT0_MAX_FEEDRATE 40
  82. #define EXT0_MAX_START_FEEDRATE 20
  83. #define EXT0_MAX_ACCELERATION 5000
  84. #define EXT0_HEAT_MANAGER 1
  85. #define EXT0_WATCHPERIOD 1
  86. #define EXT0_PID_INTEGRAL_DRIVE_MAX 230
  87. #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
  88. #define EXT0_PID_PGAIN_OR_DEAD_TIME 34.22
  89. #define EXT0_PID_I 3.2
  90. #define EXT0_PID_D 91.4
  91. #define EXT0_PID_MAX 255
  92. #define EXT0_ADVANCE_K 0
  93. #define EXT0_ADVANCE_L 0
  94. #define EXT0_ADVANCE_BACKLASH_STEPS 0
  95. #define EXT0_WAIT_RETRACT_TEMP 150
  96. #define EXT0_WAIT_RETRACT_UNITS 0
  97. #define EXT0_SELECT_COMMANDS ""
  98. #define EXT0_DESELECT_COMMANDS ""
  99. #define EXT0_EXTRUDER_COOLER_PIN -1
  100. #define EXT0_EXTRUDER_COOLER_SPEED 255
  101. #define EXT0_DECOUPLE_TEST_PERIOD 12000
  102. #define EXT0_JAM_PIN -1
  103. #define EXT0_JAM_PULLUP 0
  104. #define EXT1_X_OFFSET -600
  105. #define EXT1_Y_OFFSET -600
  106. #define EXT1_Z_OFFSET 0
  107. #define EXT1_STEPS_PER_MM 95
  108. #define EXT1_TEMPSENSOR_TYPE 8
  109. #define EXT1_TEMPSENSOR_PIN TEMP_2_PIN
  110. #define EXT1_HEATER_PIN HEATER_2_PIN
  111. #define EXT1_STEP_PIN ORIG_E1_STEP_PIN
  112. #define EXT1_DIR_PIN ORIG_E1_DIR_PIN
  113. #define EXT1_INVERSE 1
  114. #define EXT1_ENABLE_PIN E1_ENABLE_PIN
  115. #define EXT1_ENABLE_ON 0
  116. #define EXT1_MAX_FEEDRATE 40
  117. #define EXT1_MAX_START_FEEDRATE 20
  118. #define EXT1_MAX_ACCELERATION 5000
  119. #define EXT1_HEAT_MANAGER 1
  120. #define EXT1_WATCHPERIOD 1
  121. #define EXT1_PID_INTEGRAL_DRIVE_MAX 230
  122. #define EXT1_PID_INTEGRAL_DRIVE_MIN 40
  123. #define EXT1_PID_PGAIN_OR_DEAD_TIME 34.22
  124. #define EXT1_PID_I 3.2
  125. #define EXT1_PID_D 91.4
  126. #define EXT1_PID_MAX 255
  127. #define EXT1_ADVANCE_K 0
  128. #define EXT1_ADVANCE_L 0
  129. #define EXT1_ADVANCE_BACKLASH_STEPS 0
  130. #define EXT1_WAIT_RETRACT_TEMP 150
  131. #define EXT1_WAIT_RETRACT_UNITS 0
  132. #define EXT1_SELECT_COMMANDS ""
  133. #define EXT1_DESELECT_COMMANDS ""
  134. #define EXT1_EXTRUDER_COOLER_PIN -1
  135. #define EXT1_EXTRUDER_COOLER_SPEED 255
  136. #define EXT1_DECOUPLE_TEST_PERIOD 12000
  137. #define EXT1_JAM_PIN -1
  138. #define EXT1_JAM_PULLUP 0
  139.  
  140. #define FEATURE_RETRACTION 1
  141. #define AUTORETRACT_ENABLED 0
  142. #define RETRACTION_LENGTH 3
  143. #define RETRACTION_LONG_LENGTH 13
  144. #define RETRACTION_SPEED 40
  145. #define RETRACTION_Z_LIFT 0
  146. #define RETRACTION_UNDO_EXTRA_LENGTH 0
  147. #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
  148. #define RETRACTION_UNDO_SPEED 20
  149. #define FILAMENTCHANGE_X_POS 0
  150. #define FILAMENTCHANGE_Y_POS 0
  151. #define FILAMENTCHANGE_Z_ADD 2
  152. #define FILAMENTCHANGE_REHOME 1
  153. #define FILAMENTCHANGE_SHORTRETRACT 5
  154. #define FILAMENTCHANGE_LONGRETRACT 50
  155. #define JAM_STEPS 220
  156. #define JAM_SLOWDOWN_STEPS 320
  157. #define JAM_SLOWDOWN_TO 70
  158. #define JAM_ERROR_STEPS 500
  159. #define JAM_MIN_STEPS 10
  160. #define JAM_ACTION 1
  161.  
  162. #define RETRACT_DURING_HEATUP true
  163. #define PID_CONTROL_RANGE 20
  164. #define SKIP_M109_IF_WITHIN 2
  165. #define SCALE_PID_TO_MAX 0
  166. #define TEMP_HYSTERESIS 0
  167. #define EXTRUDE_MAXLENGTH 160
  168. #define NUM_TEMPS_USERTHERMISTOR0 0
  169. #define USER_THERMISTORTABLE0 {}
  170. #define NUM_TEMPS_USERTHERMISTOR1 0
  171. #define USER_THERMISTORTABLE1 {}
  172. #define NUM_TEMPS_USERTHERMISTOR2 0
  173. #define USER_THERMISTORTABLE2 {}
  174. #define GENERIC_THERM_VREF 5
  175. #define GENERIC_THERM_NUM_ENTRIES 33
  176. #define HEATER_PWM_SPEED 0
  177.  
  178. // ############# Heated bed configuration ########################
  179.  
  180. #define HAVE_HEATED_BED 1
  181. #define HEATED_BED_MAX_TEMP 120
  182. #define SKIP_M190_IF_WITHIN 3
  183. #define HEATED_BED_SENSOR_TYPE 1
  184. #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
  185. #define HEATED_BED_HEATER_PIN HEATER_1_PIN
  186. #define HEATED_BED_SET_INTERVAL 5000
  187. #define HEATED_BED_HEAT_MANAGER 0
  188. #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
  189. #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
  190. #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME 196
  191. #define HEATED_BED_PID_IGAIN 33
  192. #define HEATED_BED_PID_DGAIN 290
  193. #define HEATED_BED_PID_MAX 255
  194. #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
  195. #define MIN_EXTRUDER_TEMP 170
  196. #define MAXTEMP 285
  197. #define MIN_DEFECT_TEMPERATURE 0
  198. #define MAX_DEFECT_TEMPERATURE 290
  199.  
  200. // ################ Endstop configuration #####################
  201.  
  202. #define ENDSTOP_PULLUP_X_MIN true
  203. #define ENDSTOP_X_MIN_INVERTING false
  204. #define MIN_HARDWARE_ENDSTOP_X false
  205. #define ENDSTOP_PULLUP_Y_MIN true
  206. #define ENDSTOP_Y_MIN_INVERTING false
  207. #define MIN_HARDWARE_ENDSTOP_Y false
  208. #define ENDSTOP_PULLUP_Z_MIN true
  209. #define ENDSTOP_Z_MIN_INVERTING true
  210. #define MIN_HARDWARE_ENDSTOP_Z true
  211. #define ENDSTOP_PULLUP_X_MAX true
  212. #define ENDSTOP_X_MAX_INVERTING false
  213. #define MAX_HARDWARE_ENDSTOP_X true
  214. #define ENDSTOP_PULLUP_Y_MAX true
  215. #define ENDSTOP_Y_MAX_INVERTING false
  216. #define MAX_HARDWARE_ENDSTOP_Y true
  217. #define ENDSTOP_PULLUP_Z_MAX true
  218. #define ENDSTOP_Z_MAX_INVERTING false
  219. #define MAX_HARDWARE_ENDSTOP_Z true
  220. #define max_software_endstop_r true
  221.  
  222. #define min_software_endstop_x true
  223. #define min_software_endstop_y true
  224. #define min_software_endstop_z true
  225. #define max_software_endstop_x true
  226. #define max_software_endstop_y true
  227. #define max_software_endstop_z true
  228. #define ENDSTOP_X_BACK_MOVE 5
  229. #define ENDSTOP_Y_BACK_MOVE 5
  230. #define ENDSTOP_Z_BACK_MOVE 5
  231. #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
  232. #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
  233. #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
  234. #define ENDSTOP_X_BACK_ON_HOME 5
  235. #define ENDSTOP_Y_BACK_ON_HOME 5
  236. #define ENDSTOP_Z_BACK_ON_HOME 5
  237. #define ALWAYS_CHECK_ENDSTOPS 0
  238.  
  239. // ################# XYZ movements ###################
  240.  
  241. #define X_ENABLE_ON 0
  242. #define Y_ENABLE_ON 0
  243. #define Z_ENABLE_ON 0
  244. #define DISABLE_X 0
  245. #define DISABLE_Y 0
  246. #define DISABLE_Z 0
  247. #define DISABLE_E 1
  248. #define INVERT_X_DIR 0
  249. #define INVERT_Y_DIR 0
  250. #define INVERT_Z_DIR 0
  251. #define X_HOME_DIR -1
  252. #define Y_HOME_DIR -1
  253. #define Z_HOME_DIR 1
  254. #define X_MAX_LENGTH 200
  255. #define Y_MAX_LENGTH 200
  256. #define Z_MAX_LENGTH 186
  257. #define X_MIN_POS 0
  258. #define Y_MIN_POS 0
  259. #define Z_MIN_POS 0
  260. #define DISTORTION_CORRECTION 1
  261. #define DISTORTION_CORRECTION_POINTS 5
  262. #define DISTORTION_CORRECTION_R 82
  263. #define DISTORTION_PERMANENT 1
  264. #define DISTORTION_UPDATE_FREQUENCY 15
  265. #define DISTORTION_START_DEGRADE 0.5
  266. #define DISTORTION_END_HEIGHT 1
  267. #define DISTORTION_EXTRAPOLATE_CORNERS 1
  268.  
  269. // ##########################################################################################
  270. // ## Movement settings ##
  271. // ##########################################################################################
  272.  
  273. #define FEATURE_BABYSTEPPING 1
  274. #define BABYSTEP_MULTIPLICATOR 1
  275.  
  276. #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
  277. #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves
  278. #define EXACT_DELTA_MOVES 1
  279.  
  280. // Delta settings
  281. #define DELTA_DIAGONAL_ROD 201.88 // mm
  282. #define DELTA_ALPHA_A 210
  283. #define DELTA_ALPHA_B 328
  284. #define DELTA_ALPHA_C 91.71
  285. #define DELTA_RADIUS_CORRECTION_A 0.05
  286. #define DELTA_RADIUS_CORRECTION_B -0.31
  287. #define DELTA_RADIUS_CORRECTION_C -0.19
  288. #define DELTA_DIAGONAL_CORRECTION_A 0
  289. #define DELTA_DIAGONAL_CORRECTION_B 0
  290. #define DELTA_DIAGONAL_CORRECTION_C 0
  291. #define END_EFFECTOR_HORIZONTAL_OFFSET 0
  292. #define CARRIAGE_HORIZONTAL_OFFSET 0
  293. #define DELTA_MAX_RADIUS 162
  294. #define ROD_RADIUS 103.12
  295. #define PRINTER_RADIUS 103.12
  296. #define DELTA_HOME_ON_POWER 0
  297. #define STEP_COUNTER
  298. #define DELTA_X_ENDSTOP_OFFSET_STEPS 0
  299. #define DELTA_Y_ENDSTOP_OFFSET_STEPS 0
  300. #define DELTA_Z_ENDSTOP_OFFSET_STEPS 0
  301. #define DELTA_FLOOR_SAFETY_MARGIN_MM 15
  302. //#define SOFTWARE_LEVELING
  303.  
  304. #define DELTASEGMENTS_PER_PRINTLINE 24
  305. #define STEPPER_INACTIVE_TIME 360L
  306. #define MAX_INACTIVE_TIME 0L
  307. #define MAX_FEEDRATE_X 400
  308. #define MAX_FEEDRATE_Y 400
  309. #define MAX_FEEDRATE_Z 400
  310. #define HOMING_FEEDRATE_X 40
  311. #define HOMING_FEEDRATE_Y 40
  312. #define HOMING_FEEDRATE_Z 40
  313. #define HOMING_ORDER HOME_ORDER_ZXY
  314. #define ZHOME_MIN_TEMPERATURE 0
  315. #define ZHOME_HEAT_ALL 1
  316. #define ZHOME_HEAT_HEIGHT 20
  317. #define ZHOME_X_POS 999999
  318. #define ZHOME_Y_POS 999999
  319. #define ENABLE_BACKLASH_COMPENSATION 0
  320. #define X_BACKLASH 0
  321. #define Y_BACKLASH 0
  322. #define Z_BACKLASH 0
  323. #define RAMP_ACCELERATION 1
  324. #define STEPPER_HIGH_DELAY 0
  325. #define DIRECTION_DELAY 0
  326. #define STEP_DOUBLER_FREQUENCY 12000
  327. #define ALLOW_QUADSTEPPING 1
  328. #define DOUBLE_STEP_DELAY 0 // time in microseconds
  329. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
  330. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
  331. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 1000
  332. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
  333. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
  334. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 1000
  335. #define INTERPOLATE_ACCELERATION_WITH_Z 0
  336. #define ACCELERATION_FACTOR_TOP 100
  337. #define MAX_JERK 14
  338. #define MAX_ZJERK 0.3
  339. #define PRINTLINE_CACHE_SIZE 16
  340. #define MOVE_CACHE_LOW 10
  341. #define LOW_TICKS_PER_MOVE 250000
  342. #define FEATURE_TWO_XSTEPPER 0
  343. #define X2_STEP_PIN ORIG_E1_STEP_PIN
  344. #define X2_DIR_PIN ORIG_E1_DIR_PIN
  345. #define X2_ENABLE_PIN E1_ENABLE_PIN
  346. #define FEATURE_TWO_YSTEPPER 0
  347. #define Y2_STEP_PIN ORIG_E1_STEP_PIN
  348. #define Y2_DIR_PIN ORIG_E1_DIR_PIN
  349. #define Y2_ENABLE_PIN E1_ENABLE_PIN
  350. #define FEATURE_TWO_ZSTEPPER 0
  351. #define Z2_STEP_PIN ORIG_E1_STEP_PIN
  352. #define Z2_DIR_PIN ORIG_E1_DIR_PIN
  353. #define Z2_ENABLE_PIN E1_ENABLE_PIN
  354. #define FEATURE_THREE_ZSTEPPER 0
  355. #define Z3_STEP_PIN ORIG_E2_STEP_PIN
  356. #define Z3_DIR_PIN ORIG_E2_DIR_PIN
  357. #define Z3_ENABLE_PIN E2_ENABLE_PIN
  358. #define FEATURE_DITTO_PRINTING 0
  359. #define USE_ADVANCE 0
  360. #define ENABLE_QUADRATIC_ADVANCE 0
  361.  
  362.  
  363. // ################# Misc. settings ##################
  364.  
  365. #define BAUDRATE 250000
  366. #define ENABLE_POWER_ON_STARTUP 1
  367. #define POWER_INVERTING 0
  368. #define KILL_METHOD 1
  369. #define ACK_WITH_LINENUMBER 1
  370. #define ECHO_ON_EXECUTE 1
  371. #define EEPROM_MODE 1
  372. #define PS_ON_PIN ORIG_PS_ON_PIN
  373.  
  374. /* ======== Servos =======
  375. Control the servos with
  376. M340 P<servoId> S<pulseInUS> / ServoID = 0..3 pulseInUs = 500..2500
  377. Servos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
  378. WARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!
  379. */
  380. #define FEATURE_SERVO 0
  381. #define SERVO0_PIN 11
  382. #define SERVO1_PIN -1
  383. #define SERVO2_PIN -1
  384. #define SERVO3_PIN -1
  385. #define SERVO0_NEUTRAL_POS -1
  386. #define SERVO1_NEUTRAL_POS -1
  387. #define SERVO2_NEUTRAL_POS -1
  388. #define SERVO3_NEUTRAL_POS -1
  389. #define UI_SERVO_CONTROL 0
  390. #define FAN_KICKSTART_TIME 200
  391.  
  392. #define FEATURE_WATCHDOG 1
  393.  
  394. // #################### Z-Probing #####################
  395.  
  396. #define Z_PROBE_Z_OFFSET 0
  397. #define Z_PROBE_Z_OFFSET_MODE 0
  398. #define UI_BED_COATING 1
  399. #define FEATURE_Z_PROBE 1
  400. #define Z_PROBE_BED_DISTANCE 10
  401. #define Z_PROBE_PIN ORIG_Z_MIN_PIN
  402. #define Z_PROBE_PULLUP 1
  403. #define Z_PROBE_ON_HIGH 0
  404. #define Z_PROBE_X_OFFSET 0
  405. #define Z_PROBE_Y_OFFSET -3
  406. #define Z_PROBE_WAIT_BEFORE_TEST 0
  407. #define Z_PROBE_SPEED 10
  408. #define Z_PROBE_XY_SPEED 150
  409. #define Z_PROBE_SWITCHING_DISTANCE 1
  410. #define Z_PROBE_REPETITIONS 4
  411. #define Z_PROBE_HEIGHT 55.65
  412. #define Z_PROBE_GAP 30.0
  413. #define Z_PROBE_START_SCRIPT ""
  414. #define Z_PROBE_FINISHED_SCRIPT ""
  415. #define FEATURE_AUTOLEVEL 1
  416. #define Z_PROBE_X1 -81
  417. #define Z_PROBE_Y1 -49
  418. #define Z_PROBE_X2 0
  419. #define Z_PROBE_Y2 90
  420. #define Z_PROBE_X3 81
  421. #define Z_PROBE_Y3 -49
  422. #define BENDING_CORRECTION_A 0
  423. #define BENDING_CORRECTION_B 0
  424. #define BENDING_CORRECTION_C 0
  425. #define FEATURE_AXISCOMP 1
  426. #define AXISCOMP_TANXY 0
  427. #define AXISCOMP_TANYZ 0
  428. #define AXISCOMP_TANXZ 0
  429.  
  430. #ifndef SDSUPPORT // Some boards have sd support on board. These define the values already in pins.h
  431. #define SDSUPPORT 1
  432. #define SDCARDDETECT ORIG_SDCARDDETECT
  433. #define SDCARDDETECTINVERTED 0
  434. #endif
  435. #define SD_EXTENDED_DIR 1 /** Show extended directory including file length. Don't use this with Pronterface! */
  436. #define SD_RUN_ON_STOP "G28\n"
  437. #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
  438. #define ARC_SUPPORT 1
  439. #define FEATURE_MEMORY_POSITION 1
  440. #define FEATURE_CHECKSUM_FORCED 0
  441. #define FEATURE_FAN_CONTROL 1
  442. #define FEATURE_CONTROLLER 2
  443. #define LANGUAGE_EN_ACTIVE 1
  444. #define LANGUAGE_DE_ACTIVE 0
  445. #define LANGUAGE_NL_ACTIVE 0
  446. #define LANGUAGE_PT_ACTIVE 0
  447. #define LANGUAGE_IT_ACTIVE 0
  448. #define LANGUAGE_ES_ACTIVE 0
  449. #define LANGUAGE_SE_ACTIVE 0
  450. #define LANGUAGE_FR_ACTIVE 0
  451. #define LANGUAGE_CZ_ACTIVE 0
  452. #define LANGUAGE_PL_ACTIVE 0
  453. #define UI_PRINTER_NAME "G2S"
  454. #define UI_PRINTER_COMPANY "Geeetech"
  455. #define UI_PAGES_DURATION 4000
  456. #define UI_ANIMATION 0
  457. #define UI_SPEEDDEPENDENT_POSITIONING 0
  458. #define UI_DISABLE_AUTO_PAGESWITCH 1
  459. #define UI_AUTORETURN_TO_MENU_AFTER 30000
  460. #define FEATURE_UI_KEYS 0
  461. #define UI_ENCODER_SPEED 1
  462. #define UI_REVERSE_ENCODER 1
  463. #define UI_KEY_BOUNCETIME 10
  464. #define UI_KEY_FIRST_REPEAT 500
  465. #define UI_KEY_REDUCE_REPEAT 50
  466. #define UI_KEY_MIN_REPEAT 50
  467. #define FEATURE_BEEPER 0
  468. #define CASE_LIGHTS_PIN -1
  469. #define CASE_LIGHT_DEFAULT_ON 1
  470. #define UI_START_SCREEN_DELAY 1000
  471. #define UI_DYNAMIC_ENCODER_SPEED 1
  472. /**
  473. Beeper sound definitions for short beeps during key actions
  474. and longer beeps for important actions.
  475. Parameter is delay in microseconds and the secons is the number of repetitions.
  476. Values must be in range 1..255
  477. */
  478. #define BEEPER_SHORT_SEQUENCE 2,2
  479. #define BEEPER_LONG_SEQUENCE 8,8
  480. #define UI_SET_PRESET_HEATED_BED_TEMP_PLA 60
  481. #define UI_SET_PRESET_EXTRUDER_TEMP_PLA 190
  482. #define UI_SET_PRESET_HEATED_BED_TEMP_ABS 110
  483. #define UI_SET_PRESET_EXTRUDER_TEMP_ABS 245
  484. #define UI_SET_MIN_HEATED_BED_TEMP 30
  485. #define UI_SET_MAX_HEATED_BED_TEMP 120
  486. #define UI_SET_MIN_EXTRUDER_TEMP 170
  487. #define UI_SET_MAX_EXTRUDER_TEMP 275
  488. #define UI_SET_EXTRUDER_FEEDRATE 2
  489. #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3
  490.  
  491.  
  492. #define NUM_MOTOR_DRIVERS 0
  493.  
  494.  
  495.  
  496. #endif
  497.  
  498. /* Below you will find the configuration string, that created this Configuration.h
  499.  
  500. ========== Start configuration string ==========
  501. {
  502. "editMode": 2,
  503. "processor": 0,
  504. "baudrate": 250000,
  505. "bluetoothSerial": -1,
  506. "bluetoothBaudrate": 115200,
  507. "xStepsPerMM": 80,
  508. "yStepsPerMM": 80,
  509. "zStepsPerMM": 80,
  510. "xInvert": 0,
  511. "xInvertEnable": 0,
  512. "eepromMode": 1,
  513. "yInvert": 0,
  514. "yInvertEnable": 0,
  515. "zInvert": 0,
  516. "zInvertEnable": 0,
  517. "extruder": [
  518. {
  519. "id": 0,
  520. "heatManager": 1,
  521. "pidDriveMin": 40,
  522. "pidDriveMax": 230,
  523. "pidMax": 255,
  524. "sensorType": 8,
  525. "sensorPin": "TEMP_0_PIN",
  526. "heaterPin": "HEATER_0_PIN",
  527. "maxFeedrate": 40,
  528. "startFeedrate": 20,
  529. "invert": "0",
  530. "invertEnable": "0",
  531. "acceleration": 5000,
  532. "watchPeriod": 1,
  533. "pidP": 34.22,
  534. "pidI": 3.2,
  535. "pidD": 91.4,
  536. "advanceK": 0,
  537. "advanceL": 0,
  538. "waitRetractTemp": 150,
  539. "waitRetractUnits": 0,
  540. "waitRetract": 0,
  541. "stepsPerMM": 93.3,
  542. "coolerPin": -1,
  543. "coolerSpeed": 255,
  544. "selectCommands": "",
  545. "deselectCommands": "",
  546. "xOffset": 0,
  547. "yOffset": 0,
  548. "zOffset": 0,
  549. "xOffsetSteps": 600,
  550. "yOffsetSteps": 600,
  551. "zOffsetSteps": 0,
  552. "stepper": {
  553. "name": "Extruder 0",
  554. "step": "ORIG_E0_STEP_PIN",
  555. "dir": "ORIG_E0_DIR_PIN",
  556. "enable": "E0_ENABLE_PIN"
  557. },
  558. "advanceBacklashSteps": 0,
  559. "decoupleTestPeriod": 12,
  560. "jamPin": -1,
  561. "jamPullup": "0"
  562. },
  563. {
  564. "id": 1,
  565. "heatManager": 1,
  566. "pidDriveMin": 40,
  567. "pidDriveMax": 230,
  568. "pidMax": 255,
  569. "sensorType": 8,
  570. "sensorPin": "TEMP_2_PIN",
  571. "heaterPin": "HEATER_2_PIN",
  572. "maxFeedrate": 40,
  573. "startFeedrate": 20,
  574. "invert": "1",
  575. "invertEnable": "0",
  576. "acceleration": 5000,
  577. "watchPeriod": 1,
  578. "pidP": 34.22,
  579. "pidI": 3.2,
  580. "pidD": 91.4,
  581. "advanceK": 0,
  582. "advanceL": 0,
  583. "waitRetractTemp": 150,
  584. "waitRetractUnits": 0,
  585. "waitRetract": 0,
  586. "stepsPerMM": 93.3,
  587. "coolerPin": -1,
  588. "coolerSpeed": 255,
  589. "selectCommands": "",
  590. "deselectCommands": "",
  591. "xOffset": 0,
  592. "yOffset": 0,
  593. "zOffset": 0,
  594. "xOffsetSteps": -600,
  595. "yOffsetSteps": -600,
  596. "zOffsetSteps": 0,
  597. "stepper": {
  598. "name": "Extruder 1",
  599. "step": "ORIG_E1_STEP_PIN",
  600. "dir": "ORIG_E1_DIR_PIN",
  601. "enable": "E1_ENABLE_PIN"
  602. },
  603. "advanceBacklashSteps": 0,
  604. "decoupleTestPeriod": 12,
  605. "jamPin": -1,
  606. "jamPullup": "0"
  607. }
  608. ],
  609. "uiLanguage": 0,
  610. "uiController": 0,
  611. "xMinEndstop": 0,
  612. "yMinEndstop": 0,
  613. "zMinEndstop": 1,
  614. "xMaxEndstop": 2,
  615. "yMaxEndstop": 2,
  616. "zMaxEndstop": 2,
  617. "motherboard": 37,
  618. "driveSystem": 3,
  619. "xMaxSpeed": 400,
  620. "xHomingSpeed": 40,
  621. "xTravelAcceleration": 1000,
  622. "xPrintAcceleration": 1000,
  623. "yMaxSpeed": 400,
  624. "yHomingSpeed": 40,
  625. "yTravelAcceleration": 1000,
  626. "yPrintAcceleration": 1000,
  627. "zMaxSpeed": 400,
  628. "zHomingSpeed": 40,
  629. "zTravelAcceleration": 1000,
  630. "zPrintAcceleration": 1000,
  631. "xMotor": {
  632. "name": "X motor",
  633. "step": "ORIG_X_STEP_PIN",
  634. "dir": "ORIG_X_DIR_PIN",
  635. "enable": "ORIG_X_ENABLE_PIN"
  636. },
  637. "yMotor": {
  638. "name": "Y motor",
  639. "step": "ORIG_Y_STEP_PIN",
  640. "dir": "ORIG_Y_DIR_PIN",
  641. "enable": "ORIG_Y_ENABLE_PIN"
  642. },
  643. "zMotor": {
  644. "name": "Z motor",
  645. "step": "ORIG_Z_STEP_PIN",
  646. "dir": "ORIG_Z_DIR_PIN",
  647. "enable": "ORIG_Z_ENABLE_PIN"
  648. },
  649. "enableBacklash": "0",
  650. "backlashX": 0,
  651. "backlashY": 0,
  652. "backlashZ": 0,
  653. "stepperInactiveTime": 360,
  654. "maxInactiveTime": 0,
  655. "xMinPos": 0,
  656. "yMinPos": 0,
  657. "zMinPos": 0,
  658. "xLength": 200,
  659. "yLength": 200,
  660. "zLength": 186,
  661. "alwaysCheckEndstops": "0",
  662. "disableX": "0",
  663. "disableY": "0",
  664. "disableZ": "0",
  665. "disableE": "1",
  666. "xHomeDir": "-1",
  667. "yHomeDir": "-1",
  668. "zHomeDir": 1,
  669. "xEndstopBack": 1,
  670. "yEndstopBack": 1,
  671. "zEndstopBack": 0,
  672. "deltaSegmentsPerSecondPrint": 180,
  673. "deltaSegmentsPerSecondTravel": 70,
  674. "deltaDiagonalRod": 201.88,
  675. "deltaHorizontalRadius": 103.12,
  676. "deltaAlphaA": 210,
  677. "deltaAlphaB": 320,
  678. "deltaAlphaC": 90,
  679. "deltaDiagonalCorrA": 0,
  680. "deltaDiagonalCorrB": 0,
  681. "deltaDiagonalCorrC": 0,
  682. "deltaMaxRadius": 162,
  683. "deltaFloorSafetyMarginMM": 15,
  684. "deltaRadiusCorrA": 0,
  685. "deltaRadiusCorrB": 0,
  686. "deltaRadiusCorrC": 0,
  687. "deltaXOffsetSteps": 0,
  688. "deltaYOffsetSteps": 0,
  689. "deltaZOffsetSteps": 0,
  690. "deltaSegmentsPerLine": 24,
  691. "stepperHighDelay": 0,
  692. "directionDelay": 0,
  693. "stepDoublerFrequency": 12000,
  694. "allowQuadstepping": "1",
  695. "doubleStepDelay": 0,
  696. "maxJerk": 14,
  697. "maxZJerk": 0.3,
  698. "moveCacheSize": 16,
  699. "moveCacheLow": 10,
  700. "lowTicksPerMove": 250000,
  701. "enablePowerOnStartup": "1",
  702. "echoOnExecute": "1",
  703. "sendWaits": "0",
  704. "ackWithLineNumber": "1",
  705. "killMethod": 1,
  706. "useAdvance": "0",
  707. "useQuadraticAdvance": "0",
  708. "powerInverting": 0,
  709. "mirrorX": 0,
  710. "mirrorXMotor": {
  711. "name": "Extruder 1",
  712. "step": "ORIG_E1_STEP_PIN",
  713. "dir": "ORIG_E1_DIR_PIN",
  714. "enable": "E1_ENABLE_PIN"
  715. },
  716. "mirrorY": 0,
  717. "mirrorYMotor": {
  718. "name": "Extruder 1",
  719. "step": "ORIG_E1_STEP_PIN",
  720. "dir": "ORIG_E1_DIR_PIN",
  721. "enable": "E1_ENABLE_PIN"
  722. },
  723. "mirrorZ": "0",
  724. "mirrorZMotor": {
  725. "name": "Extruder 1",
  726. "step": "ORIG_E1_STEP_PIN",
  727. "dir": "ORIG_E1_DIR_PIN",
  728. "enable": "E1_ENABLE_PIN"
  729. },
  730. "mirrorZ3": "0",
  731. "mirrorZ3Motor": {
  732. "name": "Extruder 2",
  733. "step": "ORIG_E2_STEP_PIN",
  734. "dir": "ORIG_E2_DIR_PIN",
  735. "enable": "E2_ENABLE_PIN"
  736. },
  737. "dittoPrinting": "0",
  738. "featureServos": "0",
  739. "servo0Pin": 11,
  740. "servo1Pin": -1,
  741. "servo2Pin": -1,
  742. "servo3Pin": -1,
  743. "featureWatchdog": "1",
  744. "hasHeatedBed": "1",
  745. "enableZProbing": "1",
  746. "extrudeMaxLength": 160,
  747. "homeOrder": "HOME_ORDER_ZXY",
  748. "featureController": 2,
  749. "uiPrinterName": "G2S",
  750. "uiPrinterCompany": "Geeetech",
  751. "uiPagesDuration": 4000,
  752. "uiAnimation": "0",
  753. "uiDisablePageswitch": "1",
  754. "uiAutoReturnAfter": 30000,
  755. "featureKeys": "0",
  756. "uiEncoderSpeed": 1,
  757. "uiReverseEncoder": "1",
  758. "uiKeyBouncetime": 10,
  759. "uiKeyFirstRepeat": 500,
  760. "uiKeyReduceRepeat": 50,
  761. "uiKeyMinRepeat": 50,
  762. "featureBeeper": "1",
  763. "uiPresetBedTempPLA": 60,
  764. "uiPresetBedABS": 110,
  765. "uiPresetExtruderPLA": 190,
  766. "uiPresetExtruderABS": 245,
  767. "uiMinHeatedBed": 30,
  768. "uiMaxHeatedBed": 120,
  769. "uiMinEtxruderTemp": 170,
  770. "uiMaxExtruderTemp": 275,
  771. "uiExtruderFeedrate": 2,
  772. "uiExtruderRetractDistance": 3,
  773. "uiSpeeddependentPositioning": "0",
  774. "maxBedTemperature": 120,
  775. "bedSensorType": 1,
  776. "bedSensorPin": "TEMP_1_PIN",
  777. "bedHeaterPin": "HEATER_1_PIN",
  778. "bedHeatManager": 0,
  779. "bedUpdateInterval": 5000,
  780. "bedPidDriveMin": 80,
  781. "bedPidDriveMax": 255,
  782. "bedPidP": 196,
  783. "bedPidI": 33,
  784. "bedPidD": 290,
  785. "bedPidMax": 255,
  786. "bedDecoupleTestPeriod": 300,
  787. "caseLightPin": -1,
  788. "caseLightDefaultOn": "1",
  789. "bedSkipIfWithin": 3,
  790. "gen1T0": 25,
  791. "gen1R0": 100000,
  792. "gen1Beta": 4036,
  793. "gen1MinTemp": -20,
  794. "gen1MaxTemp": 300,
  795. "gen1R1": 0,
  796. "gen1R2": 4700,
  797. "gen2T0": 25,
  798. "gen2R0": 100000,
  799. "gen2Beta": 4036,
  800. "gen2MinTemp": -20,
  801. "gen2MaxTemp": 300,
  802. "gen2R1": 0,
  803. "gen2R2": 4700,
  804. "gen3T0": 25,
  805. "gen3R0": 100000,
  806. "gen3Beta": 4036,
  807. "gen3MinTemp": -20,
  808. "gen3MaxTemp": 300,
  809. "gen3R1": 0,
  810. "gen3R2": 4700,
  811. "userTable0": {
  812. "r1": 0,
  813. "r2": 4700,
  814. "temps": [],
  815. "numEntries": 0
  816. },
  817. "userTable1": {
  818. "r1": 0,
  819. "r2": 4700,
  820. "temps": [],
  821. "numEntries": 0
  822. },
  823. "userTable2": {
  824. "r1": 0,
  825. "r2": 4700,
  826. "temps": [],
  827. "numEntries": 0
  828. },
  829. "tempHysteresis": 0,
  830. "pidControlRange": 20,
  831. "skipM109Within": 2,
  832. "extruderFanCoolTemp": 50,
  833. "minTemp": 170,
  834. "maxTemp": 285,
  835. "minDefectTemp": 0,
  836. "maxDefectTemp": 290,
  837. "arcSupport": "1",
  838. "featureMemoryPositionWatchdog": "1",
  839. "forceChecksum": "0",
  840. "sdExtendedDir": "1",
  841. "featureFanControl": "1",
  842. "fanPin": "ORIG_FAN_PIN",
  843. "scalePidToMax": 0,
  844. "zProbePin": "ORIG_Z_MIN_PIN",
  845. "zProbeBedDistance": 10,
  846. "zProbePullup": "1",
  847. "zProbeOnHigh": "0",
  848. "zProbeXOffset": 0,
  849. "zProbeYOffset": -2,
  850. "zProbeWaitBeforeTest": "0",
  851. "zProbeSpeed": 2,
  852. "zProbeXYSpeed": 150,
  853. "zProbeHeight": 55.65,
  854. "zProbeStartScript": "",
  855. "zProbeFinishedScript": "",
  856. "featureAutolevel": "1",
  857. "zProbeX1": 0,
  858. "zProbeY1": -75,
  859. "zProbeX2": -60,
  860. "zProbeY2": -40,
  861. "zProbeX3": 60,
  862. "zProbeY3": -40,
  863. "zProbeSwitchingDistance": 1,
  864. "zProbeRepetitions": 1,
  865. "sdSupport": "1",
  866. "sdCardDetectPin": "ORIG_SDCARDDETECT",
  867. "sdCardDetectInverted": "0",
  868. "uiStartScreenDelay": 1000,
  869. "xEndstopBackMove": 5,
  870. "yEndstopBackMove": 5,
  871. "zEndstopBackMove": 2,
  872. "xEndstopRetestFactor": 3,
  873. "yEndstopRetestFactor": 3,
  874. "zEndstopRetestFactor": 3,
  875. "xMinPin": "ORIG_X_MIN_PIN",
  876. "yMinPin": "ORIG_Y_MIN_PIN",
  877. "zMinPin": "ORIG_Z_MIN_PIN",
  878. "xMaxPin": "ORIG_X_MAX_PIN",
  879. "yMaxPin": "ORIG_Y_MAX_PIN",
  880. "zMaxPin": "ORIG_Z_MAX_PIN",
  881. "deltaHomeOnPower": "0",
  882. "fanBoardPin": "ORIG_FAN_PIN",
  883. "heaterPWMSpeed": 0,
  884. "featureBabystepping": "1",
  885. "babystepMultiplicator": 1,
  886. "pdmForHeater": "0",
  887. "pdmForCooler": "0",
  888. "psOn": "ORIG_PS_ON_PIN",
  889. "mixingExtruder": "0",
  890. "decouplingTestMaxHoldVariance": 20,
  891. "decouplingTestMinTempRise": 1,
  892. "featureAxisComp": "1",
  893. "axisCompTanXY": 0,
  894. "axisCompTanXZ": 0,
  895. "axisCompTanYZ": 0,
  896. "retractOnPause": 2,
  897. "pauseStartCommands": "",
  898. "pauseEndCommands": "",
  899. "distortionCorrection": "1",
  900. "distortionCorrectionPoints": 5,
  901. "distortionCorrectionR": 82,
  902. "distortionPermanent": "1",
  903. "distortionUpdateFrequency": 15,
  904. "distortionStartDegrade": 0.5,
  905. "distortionEndDegrade": 1,
  906. "distortionExtrapolateCorners": "1",
  907. "sdRunOnStop": "G28\\n",
  908. "sdStopHeaterMotorsOnStop": "1",
  909. "featureRetraction": "1",
  910. "autoretractEnabled": "0",
  911. "retractionLength": 3,
  912. "retractionLongLength": 13,
  913. "retractionSpeed": 40,
  914. "retractionZLift": 0,
  915. "retractionUndoExtraLength": 0,
  916. "retractionUndoExtraLongLength": 0,
  917. "retractionUndoSpeed": 20,
  918. "filamentChangeXPos": 0,
  919. "filamentChangeYPos": 0,
  920. "filamentChangeZAdd": 2,
  921. "filamentChangeRehome": 1,
  922. "filamentChangeShortRetract": 5,
  923. "filamentChangeLongRetract": 50,
  924. "fanKickstart": 200,
  925. "servo0StartPos": -1,
  926. "servo1StartPos": -1,
  927. "servo2StartPos": -1,
  928. "servo3StartPos": -1,
  929. "uiDynamicEncoderSpeed": "1",
  930. "uiServoControl": 0,
  931. "killIfSensorDefect": "0",
  932. "jamSteps": 220,
  933. "jamSlowdownSteps": 320,
  934. "jamSlowdownTo": 70,
  935. "jamErrorSteps": 500,
  936. "jamMinSteps": 10,
  937. "jamAction": 1,
  938. "primaryPort": 0,
  939. "numMotorDrivers": 0,
  940. "motorDrivers": [
  941. {
  942. "t": "None",
  943. "s": "",
  944. "invertEnable": "0",
  945. "invertDirection": "0",
  946. "stepsPerMM": 100,
  947. "speed": 10,
  948. "dirPin": -1,
  949. "stepPin": -1,
  950. "enablePin": -1
  951. },
  952. {
  953. "t": "None",
  954. "s": "",
  955. "invertEnable": "0",
  956. "invertDirection": "0",
  957. "stepsPerMM": 100,
  958. "speed": 10,
  959. "dirPin": -1,
  960. "stepPin": -1,
  961. "enablePin": -1
  962. },
  963. {
  964. "t": "None",
  965. "s": "",
  966. "invertEnable": "0",
  967. "invertDirection": "0",
  968. "stepsPerMM": 100,
  969. "speed": 10,
  970. "dirPin": -1,
  971. "stepPin": -1,
  972. "enablePin": -1
  973. },
  974. {
  975. "t": "None",
  976. "s": "",
  977. "invertEnable": "0",
  978. "invertDirection": "0",
  979. "stepsPerMM": 100,
  980. "speed": 10,
  981. "dirPin": -1,
  982. "stepPin": -1,
  983. "enablePin": -1
  984. },
  985. {
  986. "t": "None",
  987. "s": "",
  988. "invertEnable": "0",
  989. "invertDirection": "0",
  990. "stepsPerMM": 100,
  991. "speed": 10,
  992. "dirPin": -1,
  993. "stepPin": -1,
  994. "enablePin": -1
  995. },
  996. {
  997. "t": "None",
  998. "s": "",
  999. "invertEnable": "0",
  1000. "invertDirection": "0",
  1001. "stepsPerMM": 100,
  1002. "speed": 10,
  1003. "dirPin": -1,
  1004. "stepPin": -1,
  1005. "enablePin": -1
  1006. }
  1007. ],
  1008. "manualConfig": "",
  1009. "zHomeMinTemperature": 0,
  1010. "zHomeXPos": 999999,
  1011. "zHomeYPos": 999999,
  1012. "zHomeHeatHeight": 20,
  1013. "zHomeHeatAll": "1",
  1014. "zProbeZOffsetMode": 0,
  1015. "zProbeZOffset": 0,
  1016. "uiBedCoating": "1",
  1017. "langEN": "1",
  1018. "langDE": "0",
  1019. "langNL": "0",
  1020. "langPT": "0",
  1021. "langIT": "0",
  1022. "langES": "0",
  1023. "langSE": "0",
  1024. "langFR": "0",
  1025. "langCZ": "0",
  1026. "langPL": "0",
  1027. "interpolateAccelerationWithZ": 0,
  1028. "accelerationFactorTop": 100,
  1029. "bendingCorrectionA": 0,
  1030. "bendingCorrectionB": 0,
  1031. "bendingCorrectionC": 0,
  1032. "preventZDisableOnStepperTimeout": "0",
  1033. "hasMAX6675": false,
  1034. "hasMAX31855": false,
  1035. "hasGeneric1": false,
  1036. "hasGeneric2": false,
  1037. "hasGeneric3": false,
  1038. "hasUser0": false,
  1039. "hasUser1": false,
  1040. "hasUser2": false,
  1041. "numExtruder": 2,
  1042. "version": 92.5,
  1043. "primaryPortName": ""
  1044. }
  1045. ========== End configuration string ==========
  1046.  
  1047. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement