Advertisement
Guest User

Untitled

a guest
May 26th, 2022
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 30.32 KB | None
  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 0
  40. #define MOTHERBOARD 63
  41. #include "pins.h"
  42.  
  43. // ################## EDIT THESE SETTINGS MANUALLY ################
  44. // ################ END MANUAL SETTINGS ##########################
  45.  
  46. #undef FAN_PIN
  47. #define FAN_PIN -1
  48. #undef FAN_BOARD_PIN
  49. #define FAN_BOARD_PIN -1
  50. #define BOARD_FAN_SPEED 255
  51. #define FAN_THERMO_PIN -1
  52. #define FAN_THERMO_MIN_PWM 128
  53. #define FAN_THERMO_MAX_PWM 255
  54. #define FAN_THERMO_MIN_TEMP 45
  55. #define FAN_THERMO_MAX_TEMP 60
  56. #define FAN_THERMO_THERMISTOR_PIN -1
  57. #define FAN_THERMO_THERMISTOR_TYPE 0
  58.  
  59. //#define EXTERNALSERIAL  use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.
  60. // Uncomment the following line if you are using Arduino compatible firmware made for Arduino version earlier then 1.0
  61. // If it is incompatible you will get compiler errors about write functions not being compatible!
  62. //#define COMPAT_PRE1
  63. #define BLUETOOTH_SERIAL  -1
  64. #define BLUETOOTH_BAUD  115200
  65. #define MIXING_EXTRUDER 0
  66.  
  67. #define DRIVE_SYSTEM 3
  68. #define XAXIS_STEPS_PER_MM 80
  69. #define YAXIS_STEPS_PER_MM 80
  70. #define ZAXIS_STEPS_PER_MM 80
  71. #define EXTRUDER_FAN_COOL_TEMP 50
  72. #define PDM_FOR_EXTRUDER 0
  73. #define PDM_FOR_COOLER 0
  74. #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
  75. #define DECOUPLING_TEST_MIN_TEMP_RISE 1
  76. #define KILL_IF_SENSOR_DEFECT 0
  77. #define RETRACT_ON_PAUSE 2
  78. #define PAUSE_START_COMMANDS ""
  79. #define PAUSE_END_COMMANDS ""
  80. #define SHARED_EXTRUDER_HEATER 0
  81.  
  82. #define FEATURE_RETRACTION 1
  83. #define AUTORETRACT_ENABLED 0
  84. #define RETRACTION_LENGTH 3
  85. #define RETRACTION_LONG_LENGTH 13
  86. #define RETRACTION_SPEED 40
  87. #define RETRACTION_Z_LIFT 0
  88. #define RETRACTION_UNDO_EXTRA_LENGTH 0
  89. #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
  90. #define RETRACTION_UNDO_SPEED 20
  91. #define FILAMENTCHANGE_X_POS 0
  92. #define FILAMENTCHANGE_Y_POS 0
  93. #define FILAMENTCHANGE_Z_ADD  2
  94. #define FILAMENTCHANGE_REHOME 1
  95. #define FILAMENTCHANGE_SHORTRETRACT 5
  96. #define FILAMENTCHANGE_LONGRETRACT 50
  97. #define JAM_STEPS 220
  98. #define JAM_SLOWDOWN_STEPS 320
  99. #define JAM_SLOWDOWN_TO 70
  100. #define JAM_ERROR_STEPS 500
  101. #define JAM_MIN_STEPS 10
  102. #define JAM_ACTION 1
  103.  
  104. #define RETRACT_DURING_HEATUP true
  105. #define PID_CONTROL_RANGE 0
  106. #define SKIP_M109_IF_WITHIN 2
  107. #define SCALE_PID_TO_MAX 0
  108. #define TEMP_HYSTERESIS 0
  109. #define EXTRUDE_MAXLENGTH 160
  110. #define NUM_TEMPS_USERTHERMISTOR0 0
  111. #define USER_THERMISTORTABLE0 {}
  112. #define NUM_TEMPS_USERTHERMISTOR1 0
  113. #define USER_THERMISTORTABLE1 {}
  114. #define NUM_TEMPS_USERTHERMISTOR2 0
  115. #define USER_THERMISTORTABLE2 {}
  116. #define GENERIC_THERM_VREF 5
  117. #define GENERIC_THERM_NUM_ENTRIES 33
  118. #define HEATER_PWM_SPEED 0
  119.  
  120. // ############# Heated bed configuration ########################
  121.  
  122. #define HAVE_HEATED_BED 0
  123. #define HEATED_BED_MAX_TEMP 120
  124. #define SKIP_M190_IF_WITHIN 3
  125. #define HEATED_BED_SENSOR_TYPE 1
  126. #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
  127. #define HEATED_BED_HEATER_PIN HEATER_1_PIN
  128. #define HEATED_BED_SET_INTERVAL 5000
  129. #define HEATED_BED_HEAT_MANAGER 0
  130. #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
  131. #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
  132. #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME   196
  133. #define HEATED_BED_PID_IGAIN   33
  134. #define HEATED_BED_PID_DGAIN 290
  135. #define HEATED_BED_PID_MAX 255
  136. #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
  137. #define MIN_EXTRUDER_TEMP 0
  138. #define MAXTEMP 0
  139. #define MIN_DEFECT_TEMPERATURE -10
  140. #define MAX_DEFECT_TEMPERATURE 290
  141.  
  142. // ##########################################################################################
  143. // ##                             Laser configuration                                      ##
  144. // ##########################################################################################
  145.  
  146. /*
  147. If the firmware is in laser mode, it can control a laser output to cut or engrave materials.
  148. Please use this feature only if you know about safety and required protection. Lasers are
  149. dangerous and can hurt or make you blind!!!
  150.  
  151. The default laser driver only supports laser on and off. Here you control the eĆ­ntensity with
  152. your feedrate. For exchangeable diode lasers this is normally enough. If you need more control
  153. you can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h
  154. and comments on how to extend the functions non invasive with our event system.
  155.  
  156. If you have a laser - powder system you will like your E override. If moves contain a
  157. increasing extruder position it will laser that move. With this trick you can
  158. use existing fdm slicers to laser the output. Laser width is extrusion width.
  159.  
  160. Other tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled
  161. and G0 moves have it disables.
  162.  
  163. In any case, laser only enables while moving. At the end of a move it gets
  164. automatically disabled.
  165. */
  166.  
  167. #define SUPPORT_LASER 0
  168. #define LASER_PIN -1
  169. #define LASER_ON_HIGH 1
  170.  
  171. // ##                              CNC configuration                                       ##
  172.  
  173. /*
  174. If the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works
  175. similar to laser mode, but mill keeps enabled during G0 moves and it allows
  176. setting rpm (only with event extension that supports this) and milling direction.
  177. It also can add a delay to wait for spindle to run on full speed.
  178. */
  179.  
  180. #define SUPPORT_CNC 0
  181. #define CNC_WAIT_ON_ENABLE 300
  182. #define CNC_WAIT_ON_DISABLE 0
  183. #define CNC_ENABLE_PIN -1
  184. #define CNC_ENABLE_WITH 1
  185. #define CNC_DIRECTION_PIN -1
  186. #define CNC_DIRECTION_CW 1
  187.  
  188.  
  189. #define DEFAULT_PRINTER_MODE 0
  190.  
  191. // ################ Endstop configuration #####################
  192.  
  193. #define ENDSTOP_PULLUP_X_MIN true
  194. #define ENDSTOP_X_MIN_INVERTING true
  195. #define MIN_HARDWARE_ENDSTOP_X true
  196. #define ENDSTOP_PULLUP_Y_MIN true
  197. #define ENDSTOP_Y_MIN_INVERTING true
  198. #define MIN_HARDWARE_ENDSTOP_Y true
  199. #define ENDSTOP_PULLUP_Z_MIN true
  200. #define ENDSTOP_Z_MIN_INVERTING true
  201. #define MIN_HARDWARE_ENDSTOP_Z true
  202. #define ENDSTOP_PULLUP_X_MAX true
  203. #define ENDSTOP_X_MAX_INVERTING false
  204. #define MAX_HARDWARE_ENDSTOP_X false
  205. #define ENDSTOP_PULLUP_Y_MAX true
  206. #define ENDSTOP_Y_MAX_INVERTING false
  207. #define MAX_HARDWARE_ENDSTOP_Y false
  208. #define ENDSTOP_PULLUP_Z_MAX true
  209. #define ENDSTOP_Z_MAX_INVERTING false
  210. #define MAX_HARDWARE_ENDSTOP_Z false
  211. #define max_software_endstop_r true
  212.  
  213. #define min_software_endstop_x false
  214. #define min_software_endstop_y false
  215. #define min_software_endstop_z false
  216. #define max_software_endstop_x true
  217. #define max_software_endstop_y true
  218. #define max_software_endstop_z true
  219. #define ENDSTOP_X_BACK_MOVE 5
  220. #define ENDSTOP_Y_BACK_MOVE 5
  221. #define ENDSTOP_Z_BACK_MOVE 2
  222. #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
  223. #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
  224. #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
  225. #define ENDSTOP_X_BACK_ON_HOME 1
  226. #define ENDSTOP_Y_BACK_ON_HOME 1
  227. #define ENDSTOP_Z_BACK_ON_HOME 0
  228. #define ALWAYS_CHECK_ENDSTOPS 1
  229.  
  230. // ################# XYZ movements ###################
  231.  
  232. #define X_ENABLE_ON 0
  233. #define Y_ENABLE_ON 0
  234. #define Z_ENABLE_ON 0
  235. #define DISABLE_X 0
  236. #define DISABLE_Y 0
  237. #define DISABLE_Z 0
  238. #define DISABLE_E 0
  239. #define INVERT_X_DIR 1
  240. #define INVERT_Y_DIR 1
  241. #define INVERT_Z_DIR 1
  242. #define X_HOME_DIR -1
  243. #define Y_HOME_DIR -1
  244. #define Z_HOME_DIR 1
  245. #define X_MAX_LENGTH 200
  246. #define Y_MAX_LENGTH 200
  247. #define Z_MAX_LENGTH 160
  248. #define X_MIN_POS 0
  249. #define Y_MIN_POS 0
  250. #define Z_MIN_POS 0
  251. #define DISTORTION_CORRECTION 0
  252. #define DISTORTION_CORRECTION_POINTS 5
  253. #define DISTORTION_CORRECTION_R 100
  254. #define DISTORTION_PERMANENT 1
  255. #define DISTORTION_UPDATE_FREQUENCY 15
  256. #define DISTORTION_START_DEGRADE 0.5
  257. #define DISTORTION_END_HEIGHT 1
  258. #define DISTORTION_EXTRAPOLATE_CORNERS 0
  259. #define DISTORTION_XMIN 10
  260. #define DISTORTION_YMIN 10
  261. #define DISTORTION_XMAX 190
  262. #define DISTORTION_YMAX 190
  263.  
  264. // ##########################################################################################
  265. // ##                           Movement settings                                          ##
  266. // ##########################################################################################
  267.  
  268. #define FEATURE_BABYSTEPPING 1
  269. #define BABYSTEP_MULTIPLICATOR 1
  270.  
  271. #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
  272. #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves
  273. #define EXACT_DELTA_MOVES 1
  274.  
  275. // Delta settings
  276. #define DELTA_DIAGONAL_ROD 274.07 // mm
  277. #define DELTA_ALPHA_A 210
  278. #define DELTA_ALPHA_B 330
  279. #define DELTA_ALPHA_C 90
  280. #define DELTA_RADIUS_CORRECTION_A 0
  281. #define DELTA_RADIUS_CORRECTION_B 0
  282. #define DELTA_RADIUS_CORRECTION_C 0
  283. #define DELTA_DIAGONAL_CORRECTION_A 0
  284. #define DELTA_DIAGONAL_CORRECTION_B 0
  285. #define DELTA_DIAGONAL_CORRECTION_C 0
  286. #define END_EFFECTOR_HORIZONTAL_OFFSET 0
  287. #define CARRIAGE_HORIZONTAL_OFFSET 0
  288. #define DELTA_MAX_RADIUS 100
  289. #define ROD_RADIUS 123.85
  290. #define PRINTER_RADIUS 123.85
  291. #define DELTA_HOME_ON_POWER 0
  292. #define STEP_COUNTER
  293. #define DELTA_X_ENDSTOP_OFFSET_STEPS 0
  294. #define DELTA_Y_ENDSTOP_OFFSET_STEPS 0
  295. #define DELTA_Z_ENDSTOP_OFFSET_STEPS 0
  296. #define DELTA_FLOOR_SAFETY_MARGIN_MM 15
  297. //#define SOFTWARE_LEVELING
  298.  
  299. #define DELTASEGMENTS_PER_PRINTLINE 24
  300. #define STEPPER_INACTIVE_TIME 360L
  301. #define MAX_INACTIVE_TIME 0L
  302. #define MAX_FEEDRATE_X 200
  303. #define MAX_FEEDRATE_Y 200
  304. #define MAX_FEEDRATE_Z 200
  305. #define HOMING_FEEDRATE_X 40
  306. #define HOMING_FEEDRATE_Y 40
  307. #define HOMING_FEEDRATE_Z 40
  308. #define HOMING_ORDER HOME_ORDER_ZXY
  309. #define ZHOME_MIN_TEMPERATURE 0
  310. #define ZHOME_HEAT_ALL 1
  311. #define ZHOME_HEAT_HEIGHT 20
  312. #define ZHOME_X_POS 999999
  313. #define ZHOME_Y_POS 999999
  314. #define ENABLE_BACKLASH_COMPENSATION 0
  315. #define X_BACKLASH 0
  316. #define Y_BACKLASH 0
  317. #define Z_BACKLASH 0
  318. #define RAMP_ACCELERATION 1
  319. #define STEPPER_HIGH_DELAY 0
  320. #define DIRECTION_DELAY 0
  321. #define STEP_DOUBLER_FREQUENCY 12000
  322. #define ALLOW_QUADSTEPPING 1
  323. #define DOUBLE_STEP_DELAY 0 // time in microseconds
  324. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
  325. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
  326. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 1000
  327. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
  328. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
  329. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 1000
  330. #define INTERPOLATE_ACCELERATION_WITH_Z 0
  331. #define ACCELERATION_FACTOR_TOP 100
  332. #define MAX_JERK 20
  333. #define MAX_ZJERK 0.3
  334. #define PRINTLINE_CACHE_SIZE 16
  335. #define MOVE_CACHE_LOW 10
  336. #define LOW_TICKS_PER_MOVE 250000
  337. #define EXTRUDER_SWITCH_XY_SPEED 100
  338. #define DUAL_X_AXIS 0
  339. #define FEATURE_TWO_XSTEPPER 0
  340. #define X2_STEP_PIN   ORIG_E1_STEP_PIN
  341. #define X2_DIR_PIN    ORIG_E1_DIR_PIN
  342. #define X2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  343. #define FEATURE_TWO_YSTEPPER 0
  344. #define Y2_STEP_PIN   ORIG_E1_STEP_PIN
  345. #define Y2_DIR_PIN    ORIG_E1_DIR_PIN
  346. #define Y2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  347. #define FEATURE_TWO_ZSTEPPER 0
  348. #define Z2_STEP_PIN   ORIG_E1_STEP_PIN
  349. #define Z2_DIR_PIN    ORIG_E1_DIR_PIN
  350. #define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  351. #define FEATURE_THREE_ZSTEPPER 0
  352. #define Z3_STEP_PIN   ORIG_E2_STEP_PIN
  353. #define Z3_DIR_PIN    ORIG_E2_DIR_PIN
  354. #define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN
  355. #define FEATURE_DITTO_PRINTING 0
  356. #define USE_ADVANCE 0
  357. #define ENABLE_QUADRATIC_ADVANCE 0
  358.  
  359.  
  360. // ################# Misc. settings ##################
  361.  
  362. #define BAUDRATE 115200
  363. #define ENABLE_POWER_ON_STARTUP 1
  364. #define POWER_INVERTING 0
  365. #define KILL_METHOD 1
  366. #define ACK_WITH_LINENUMBER 1
  367. #define WAITING_IDENTIFIER "wait"
  368. #define ECHO_ON_EXECUTE 1
  369. #define EEPROM_MODE 1
  370. #undef PS_ON_PIN
  371. #define PS_ON_PIN -1
  372. #define JSON_OUTPUT 0
  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 0
  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 0
  400. #define Z_PROBE_BED_DISTANCE 10
  401. #define Z_PROBE_PIN -1
  402. #define Z_PROBE_PULLUP 0
  403. #define Z_PROBE_ON_HIGH 0
  404. #define Z_PROBE_X_OFFSET 0
  405. #define Z_PROBE_Y_OFFSET 0
  406. #define Z_PROBE_WAIT_BEFORE_TEST 0
  407. #define Z_PROBE_SPEED 2
  408. #define Z_PROBE_XY_SPEED 150
  409. #define Z_PROBE_SWITCHING_DISTANCE 1
  410. #define Z_PROBE_REPETITIONS 1
  411. #define Z_PROBE_HEIGHT 40
  412. #define Z_PROBE_START_SCRIPT ""
  413. #define Z_PROBE_FINISHED_SCRIPT ""
  414. #define Z_PROBE_REQUIRES_HEATING 0
  415. #define Z_PROBE_MIN_TEMPERATURE 150
  416. #define FEATURE_AUTOLEVEL 1
  417. #define Z_PROBE_X1 20
  418. #define Z_PROBE_Y1 20
  419. #define Z_PROBE_X2 160
  420. #define Z_PROBE_Y2 20
  421. #define Z_PROBE_X3 100
  422. #define Z_PROBE_Y3 160
  423. #define BED_LEVELING_METHOD 0
  424. #define BED_CORRECTION_METHOD 0
  425. #define BED_LEVELING_GRID_SIZE 5
  426. #define BED_LEVELING_REPETITIONS 5
  427. #define BED_MOTOR_1_X 0
  428. #define BED_MOTOR_1_Y 0
  429. #define BED_MOTOR_2_X 200
  430. #define BED_MOTOR_2_Y 0
  431. #define BED_MOTOR_3_X 100
  432. #define BED_MOTOR_3_Y 200
  433. #define BENDING_CORRECTION_A 0
  434. #define BENDING_CORRECTION_B 0
  435. #define BENDING_CORRECTION_C 0
  436. #define FEATURE_AXISCOMP 0
  437. #define AXISCOMP_TANXY 0
  438. #define AXISCOMP_TANYZ 0
  439. #define AXISCOMP_TANXZ 0
  440.  
  441. #ifndef SDSUPPORT  // Some boards have sd support on board. These define the values already in pins.h
  442. #define SDSUPPORT 0
  443. #undef SDCARDDETECT
  444. #define SDCARDDETECT -1
  445. #define SDCARDDETECTINVERTED 0
  446. #endif
  447. #define SD_EXTENDED_DIR 1 /** Show extended directory including file length. Don't use this with Pronterface! */
  448. #define SD_RUN_ON_STOP ""
  449. #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
  450. #define ARC_SUPPORT 1
  451. #define FEATURE_MEMORY_POSITION 1
  452. #define FEATURE_CHECKSUM_FORCED 0
  453. #define FEATURE_FAN_CONTROL 1
  454. #define FEATURE_FAN2_CONTROL 0
  455. #define FEATURE_CONTROLLER 0
  456. #define ADC_KEYPAD_PIN -1
  457. #define LANGUAGE_EN_ACTIVE 1
  458. #define LANGUAGE_DE_ACTIVE 1
  459. #define LANGUAGE_NL_ACTIVE 0
  460. #define LANGUAGE_PT_ACTIVE 1
  461. #define LANGUAGE_IT_ACTIVE 1
  462. #define LANGUAGE_ES_ACTIVE 1
  463. #define LANGUAGE_FI_ACTIVE 0
  464. #define LANGUAGE_SE_ACTIVE 0
  465. #define LANGUAGE_FR_ACTIVE 1
  466. #define LANGUAGE_CZ_ACTIVE 0
  467. #define LANGUAGE_PL_ACTIVE 1
  468. #define LANGUAGE_TR_ACTIVE 1
  469. #define UI_PRINTER_NAME "RepRap"
  470. #define UI_PRINTER_COMPANY "Home made"
  471. #define UI_PAGES_DURATION 4000
  472. #define UI_ANIMATION 0
  473. #define UI_SPEEDDEPENDENT_POSITIONING 0
  474. #define UI_DISABLE_AUTO_PAGESWITCH 1
  475. #define UI_AUTORETURN_TO_MENU_AFTER 30000
  476. #define FEATURE_UI_KEYS 0
  477. #define UI_ENCODER_SPEED 1
  478. #define UI_REVERSE_ENCODER 0
  479. #define UI_KEY_BOUNCETIME 10
  480. #define UI_KEY_FIRST_REPEAT 500
  481. #define UI_KEY_REDUCE_REPEAT 50
  482. #define UI_KEY_MIN_REPEAT 50
  483. #define FEATURE_BEEPER 0
  484. #define CASE_LIGHTS_PIN -1
  485. #define CASE_LIGHT_DEFAULT_ON 1
  486. #define UI_START_SCREEN_DELAY 1000
  487. #define UI_DYNAMIC_ENCODER_SPEED 1
  488.         /**
  489. Beeper sound definitions for short beeps during key actions
  490. and longer beeps for important actions.
  491. Parameter is delay in microseconds and the secons is the number of repetitions.
  492. Values must be in range 1..255
  493. */
  494. #define BEEPER_SHORT_SEQUENCE 2,2
  495. #define BEEPER_LONG_SEQUENCE 8,8
  496. #define UI_SET_PRESET_HEATED_BED_TEMP_PLA 60
  497. #define UI_SET_PRESET_EXTRUDER_TEMP_PLA   190
  498. #define UI_SET_PRESET_HEATED_BED_TEMP_ABS 110
  499. #define UI_SET_PRESET_EXTRUDER_TEMP_ABS   240
  500. #define UI_SET_MIN_HEATED_BED_TEMP  30
  501. #define UI_SET_MAX_HEATED_BED_TEMP 120
  502. #define UI_SET_MIN_EXTRUDER_TEMP   170
  503. #define UI_SET_MAX_EXTRUDER_TEMP   260
  504. #define UI_SET_EXTRUDER_FEEDRATE 2
  505. #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3
  506.  
  507.  
  508. #define NUM_MOTOR_DRIVERS 0
  509.  
  510.  
  511.  
  512. #endif
  513.  
  514. /* Below you will find the configuration string, that created this Configuration.h
  515.  
  516. ========== Start configuration string ==========
  517. {
  518.     "editMode": 1,
  519.     "processor": 0,
  520.     "baudrate": 115200,
  521.     "bluetoothSerial": -1,
  522.     "bluetoothBaudrate": 115200,
  523.     "xStepsPerMM": 80,
  524.     "yStepsPerMM": 80,
  525.     "zStepsPerMM": 80,
  526.     "xInvert": "1",
  527.     "xInvertEnable": 0,
  528.     "eepromMode": 0,
  529.     "yInvert": "1",
  530.     "yInvertEnable": 0,
  531.     "zInvert": "1",
  532.     "zInvertEnable": 0,
  533.     "extruder": [],
  534.     "uiLanguage": 0,
  535.     "uiController": 0,
  536.     "xMinEndstop": 1,
  537.     "yMinEndstop": 1,
  538.     "zMinEndstop": 1,
  539.     "xMaxEndstop": 0,
  540.     "yMaxEndstop": 0,
  541.     "zMaxEndstop": 0,
  542.     "motherboard": 63,
  543.     "driveSystem": 3,
  544.     "xMaxSpeed": 200,
  545.     "xHomingSpeed": 40,
  546.     "xTravelAcceleration": 1000,
  547.     "xPrintAcceleration": 1000,
  548.     "yMaxSpeed": 200,
  549.     "yHomingSpeed": 40,
  550.     "yTravelAcceleration": 1000,
  551.     "yPrintAcceleration": 1000,
  552.     "zMaxSpeed": 200,
  553.     "zHomingSpeed": 40,
  554.     "zTravelAcceleration": 1000,
  555.     "zPrintAcceleration": 1000,
  556.     "xMotor": {
  557.         "name": "X motor",
  558.         "step": "ORIG_X_STEP_PIN",
  559.         "dir": "ORIG_X_DIR_PIN",
  560.         "enable": "ORIG_X_ENABLE_PIN"
  561.     },
  562.     "yMotor": {
  563.         "name": "Y motor",
  564.         "step": "ORIG_Y_STEP_PIN",
  565.         "dir": "ORIG_Y_DIR_PIN",
  566.         "enable": "ORIG_Y_ENABLE_PIN"
  567.     },
  568.     "zMotor": {
  569.         "name": "Z motor",
  570.         "step": "ORIG_Z_STEP_PIN",
  571.         "dir": "ORIG_Z_DIR_PIN",
  572.         "enable": "ORIG_Z_ENABLE_PIN"
  573.     },
  574.     "enableBacklash": "0",
  575.     "backlashX": 0,
  576.     "backlashY": 0,
  577.     "backlashZ": 0,
  578.     "stepperInactiveTime": 360,
  579.     "maxInactiveTime": 0,
  580.     "xMinPos": 0,
  581.     "yMinPos": 0,
  582.     "zMinPos": 0,
  583.     "xLength": 200,
  584.     "yLength": 200,
  585.     "zLength": 160,
  586.     "alwaysCheckEndstops": "1",
  587.     "disableX": "0",
  588.     "disableY": "0",
  589.     "disableZ": "0",
  590.     "disableE": "0",
  591.     "xHomeDir": "-1",
  592.     "yHomeDir": "-1",
  593.     "zHomeDir": 1,
  594.     "xEndstopBack": 1,
  595.     "yEndstopBack": 1,
  596.     "zEndstopBack": 0,
  597.     "deltaSegmentsPerSecondPrint": 180,
  598.     "deltaSegmentsPerSecondTravel": 70,
  599.     "deltaDiagonalRod": 274.07,
  600.     "deltaHorizontalRadius": 123.85,
  601.     "deltaAlphaA": 210,
  602.     "deltaAlphaB": 330,
  603.     "deltaAlphaC": 90,
  604.     "deltaDiagonalCorrA": 0,
  605.     "deltaDiagonalCorrB": 0,
  606.     "deltaDiagonalCorrC": 0,
  607.     "deltaMaxRadius": 100,
  608.     "deltaFloorSafetyMarginMM": 15,
  609.     "deltaRadiusCorrA": 0,
  610.     "deltaRadiusCorrB": 0,
  611.     "deltaRadiusCorrC": 0,
  612.     "deltaXOffsetSteps": 0,
  613.     "deltaYOffsetSteps": 0,
  614.     "deltaZOffsetSteps": 0,
  615.     "deltaSegmentsPerLine": 24,
  616.     "stepperHighDelay": 0,
  617.     "directionDelay": 0,
  618.     "stepDoublerFrequency": 12000,
  619.     "allowQuadstepping": "1",
  620.     "doubleStepDelay": 0,
  621.     "maxJerk": 20,
  622.     "maxZJerk": 0.3,
  623.     "moveCacheSize": 16,
  624.     "moveCacheLow": 10,
  625.     "lowTicksPerMove": 250000,
  626.     "enablePowerOnStartup": "1",
  627.     "echoOnExecute": "1",
  628.     "sendWaits": "1",
  629.     "ackWithLineNumber": "1",
  630.     "killMethod": 1,
  631.     "useAdvance": "0",
  632.     "useQuadraticAdvance": "0",
  633.     "powerInverting": 0,
  634.     "mirrorX": 0,
  635.     "mirrorXMotor": {
  636.         "name": "Extruder 1",
  637.         "step": "ORIG_E1_STEP_PIN",
  638.         "dir": "ORIG_E1_DIR_PIN",
  639.         "enable": "ORIG_E1_ENABLE_PIN"
  640.     },
  641.     "mirrorY": 0,
  642.     "mirrorYMotor": {
  643.         "name": "Extruder 1",
  644.         "step": "ORIG_E1_STEP_PIN",
  645.         "dir": "ORIG_E1_DIR_PIN",
  646.         "enable": "ORIG_E1_ENABLE_PIN"
  647.     },
  648.     "mirrorZ": "0",
  649.     "mirrorZMotor": {
  650.         "name": "Extruder 1",
  651.         "step": "ORIG_E1_STEP_PIN",
  652.         "dir": "ORIG_E1_DIR_PIN",
  653.         "enable": "ORIG_E1_ENABLE_PIN"
  654.     },
  655.     "mirrorZ3": "0",
  656.     "mirrorZ3Motor": {
  657.         "name": "Extruder 2",
  658.         "step": "ORIG_E2_STEP_PIN",
  659.         "dir": "ORIG_E2_DIR_PIN",
  660.         "enable": "ORIG_E2_ENABLE_PIN"
  661.     },
  662.     "dittoPrinting": "0",
  663.     "featureServos": "0",
  664.     "servo0Pin": 11,
  665.     "servo1Pin": -1,
  666.     "servo2Pin": -1,
  667.     "servo3Pin": -1,
  668.     "featureWatchdog": "0",
  669.     "hasHeatedBed": "0",
  670.     "enableZProbing": "0",
  671.     "extrudeMaxLength": 160,
  672.     "homeOrder": "HOME_ORDER_ZXY",
  673.     "featureController": 0,
  674.     "uiPrinterName": "RepRap",
  675.     "uiPrinterCompany": "Home made",
  676.     "uiPagesDuration": 4000,
  677.     "uiAnimation": "0",
  678.     "uiDisablePageswitch": "1",
  679.     "uiAutoReturnAfter": 30000,
  680.     "featureKeys": "0",
  681.     "uiEncoderSpeed": 1,
  682.     "uiReverseEncoder": "0",
  683.     "uiKeyBouncetime": 10,
  684.     "uiKeyFirstRepeat": 500,
  685.     "uiKeyReduceRepeat": 50,
  686.     "uiKeyMinRepeat": 50,
  687.     "featureBeeper": "0",
  688.     "uiPresetBedTempPLA": 60,
  689.     "uiPresetBedABS": 110,
  690.     "uiPresetExtruderPLA": 190,
  691.     "uiPresetExtruderABS": 240,
  692.     "uiMinHeatedBed": 30,
  693.     "uiMaxHeatedBed": 120,
  694.     "uiMinEtxruderTemp": 170,
  695.     "uiMaxExtruderTemp": 260,
  696.     "uiExtruderFeedrate": 2,
  697.     "uiExtruderRetractDistance": 3,
  698.     "uiSpeeddependentPositioning": "0",
  699.     "maxBedTemperature": 120,
  700.     "bedSensorType": 1,
  701.     "bedSensorPin": "TEMP_1_PIN",
  702.     "bedHeaterPin": "HEATER_1_PIN",
  703.     "bedHeatManager": 0,
  704.     "bedUpdateInterval": 5000,
  705.     "bedPidDriveMin": 80,
  706.     "bedPidDriveMax": 255,
  707.     "bedPidP": 196,
  708.     "bedPidI": 33,
  709.     "bedPidD": 290,
  710.     "bedPidMax": 255,
  711.     "bedDecoupleTestPeriod": 300,
  712.     "caseLightPin": -1,
  713.     "caseLightDefaultOn": "1",
  714.     "bedSkipIfWithin": 3,
  715.     "gen1T0": 25,
  716.     "gen1R0": 100000,
  717.     "gen1Beta": 4036,
  718.     "gen1MinTemp": -20,
  719.     "gen1MaxTemp": 300,
  720.     "gen1R1": 0,
  721.     "gen1R2": 4700,
  722.     "gen2T0": 25,
  723.     "gen2R0": 100000,
  724.     "gen2Beta": 4036,
  725.     "gen2MinTemp": -20,
  726.     "gen2MaxTemp": 300,
  727.     "gen2R1": 0,
  728.     "gen2R2": 4700,
  729.     "gen3T0": 25,
  730.     "gen3R0": 100000,
  731.     "gen3Beta": 4036,
  732.     "gen3MinTemp": -20,
  733.     "gen3MaxTemp": 300,
  734.     "gen3R1": 0,
  735.     "gen3R2": 4700,
  736.     "userTable0": {
  737.         "r1": 0,
  738.         "r2": 4700,
  739.         "temps": [],
  740.         "numEntries": 0
  741.     },
  742.     "userTable1": {
  743.         "r1": 0,
  744.         "r2": 4700,
  745.         "temps": [],
  746.         "numEntries": 0
  747.     },
  748.     "userTable2": {
  749.         "r1": 0,
  750.         "r2": 4700,
  751.         "temps": [],
  752.         "numEntries": 0
  753.     },
  754.     "tempHysteresis": 0,
  755.     "pidControlRange": 0,
  756.     "skipM109Within": 2,
  757.     "extruderFanCoolTemp": 50,
  758.     "minTemp": 0,
  759.     "maxTemp": 0,
  760.     "minDefectTemp": -10,
  761.     "maxDefectTemp": 290,
  762.     "arcSupport": "1",
  763.     "featureMemoryPositionWatchdog": "1",
  764.     "forceChecksum": "0",
  765.     "sdExtendedDir": "1",
  766.     "featureFanControl": "1",
  767.     "fanPin": -1,
  768.     "featureFan2Control": "0",
  769.     "fan2Pin": "ORIG_FAN2_PIN",
  770.     "fanThermoPin": -1,
  771.     "fanThermoMinPWM": 128,
  772.     "fanThermoMaxPWM": 255,
  773.     "fanThermoMinTemp": 45,
  774.     "fanThermoMaxTemp": 60,
  775.     "fanThermoThermistorPin": -1,
  776.     "fanThermoThermistorType": 0,
  777.     "scalePidToMax": 0,
  778.     "zProbePin": -1,
  779.     "zProbeBedDistance": 10,
  780.     "zProbePullup": "0",
  781.     "zProbeOnHigh": "0",
  782.     "zProbeXOffset": 0,
  783.     "zProbeYOffset": 0,
  784.     "zProbeWaitBeforeTest": "0",
  785.     "zProbeSpeed": 2,
  786.     "zProbeXYSpeed": 150,
  787.     "zProbeHeight": 40,
  788.     "zProbeStartScript": "",
  789.     "zProbeFinishedScript": "",
  790.     "featureAutolevel": "1",
  791.     "zProbeX1": 20,
  792.     "zProbeY1": 20,
  793.     "zProbeX2": 160,
  794.     "zProbeY2": 20,
  795.     "zProbeX3": 100,
  796.     "zProbeY3": 160,
  797.     "zProbeSwitchingDistance": 1,
  798.     "zProbeRepetitions": 1,
  799.     "sdSupport": "0",
  800.     "sdCardDetectPin": -1,
  801.     "sdCardDetectInverted": "0",
  802.     "uiStartScreenDelay": 1000,
  803.     "xEndstopBackMove": 5,
  804.     "yEndstopBackMove": 5,
  805.     "zEndstopBackMove": 2,
  806.     "xEndstopRetestFactor": 3,
  807.     "yEndstopRetestFactor": 3,
  808.     "zEndstopRetestFactor": 3,
  809.     "xMinPin": "ORIG_X_MIN_PIN",
  810.     "yMinPin": "ORIG_Y_MIN_PIN",
  811.     "zMinPin": "ORIG_Z_MIN_PIN",
  812.     "xMaxPin": "ORIG_X_MAX_PIN",
  813.     "yMaxPin": "ORIG_Y_MAX_PIN",
  814.     "zMaxPin": "ORIG_Z_MAX_PIN",
  815.     "deltaHomeOnPower": "0",
  816.     "fanBoardPin": -1,
  817.     "heaterPWMSpeed": 0,
  818.     "featureBabystepping": "1",
  819.     "babystepMultiplicator": 1,
  820.     "pdmForHeater": "0",
  821.     "pdmForCooler": "0",
  822.     "psOn": -1,
  823.     "mixingExtruder": "0",
  824.     "decouplingTestMaxHoldVariance": 20,
  825.     "decouplingTestMinTempRise": 1,
  826.     "featureAxisComp": "0",
  827.     "axisCompTanXY": 0,
  828.     "axisCompTanXZ": 0,
  829.     "axisCompTanYZ": 0,
  830.     "retractOnPause": 2,
  831.     "pauseStartCommands": "",
  832.     "pauseEndCommands": "",
  833.     "distortionCorrection": "0",
  834.     "distortionCorrectionPoints": 5,
  835.     "distortionCorrectionR": 100,
  836.     "distortionPermanent": "1",
  837.     "distortionUpdateFrequency": 15,
  838.     "distortionStartDegrade": 0.5,
  839.     "distortionEndDegrade": 1,
  840.     "distortionExtrapolateCorners": "0",
  841.     "distortionXMin": 10,
  842.     "distortionXMax": 190,
  843.     "distortionYMin": 10,
  844.     "distortionYMax": 190,
  845.     "sdRunOnStop": "",
  846.     "sdStopHeaterMotorsOnStop": "1",
  847.     "featureRetraction": "1",
  848.     "autoretractEnabled": "0",
  849.     "retractionLength": 3,
  850.     "retractionLongLength": 13,
  851.     "retractionSpeed": 40,
  852.     "retractionZLift": 0,
  853.     "retractionUndoExtraLength": 0,
  854.     "retractionUndoExtraLongLength": 0,
  855.     "retractionUndoSpeed": 20,
  856.     "filamentChangeXPos": 0,
  857.     "filamentChangeYPos": 0,
  858.     "filamentChangeZAdd": 2,
  859.     "filamentChangeRehome": 1,
  860.     "filamentChangeShortRetract": 5,
  861.     "filamentChangeLongRetract": 50,
  862.     "fanKickstart": 200,
  863.     "servo0StartPos": -1,
  864.     "servo1StartPos": -1,
  865.     "servo2StartPos": -1,
  866.     "servo3StartPos": -1,
  867.     "uiDynamicEncoderSpeed": "1",
  868.     "uiServoControl": 0,
  869.     "killIfSensorDefect": "0",
  870.     "jamSteps": 220,
  871.     "jamSlowdownSteps": 320,
  872.     "jamSlowdownTo": 70,
  873.     "jamErrorSteps": 500,
  874.     "jamMinSteps": 10,
  875.     "jamAction": 1,
  876.     "primaryPort": 0,
  877.     "numMotorDrivers": 0,
  878.     "motorDrivers": [
  879.         {
  880.             "t": "None",
  881.             "s": "",
  882.             "invertEnable": "0",
  883.             "invertDirection": "0",
  884.             "stepsPerMM": 100,
  885.             "speed": 10,
  886.             "dirPin": -1,
  887.             "stepPin": -1,
  888.             "enablePin": -1
  889.         },
  890.         {
  891.             "t": "None",
  892.             "s": "",
  893.             "invertEnable": "0",
  894.             "invertDirection": "0",
  895.             "stepsPerMM": 100,
  896.             "speed": 10,
  897.             "dirPin": -1,
  898.             "stepPin": -1,
  899.             "enablePin": -1
  900.         },
  901.         {
  902.             "t": "None",
  903.             "s": "",
  904.             "invertEnable": "0",
  905.             "invertDirection": "0",
  906.             "stepsPerMM": 100,
  907.             "speed": 10,
  908.             "dirPin": -1,
  909.             "stepPin": -1,
  910.             "enablePin": -1
  911.         },
  912.         {
  913.             "t": "None",
  914.             "s": "",
  915.             "invertEnable": "0",
  916.             "invertDirection": "0",
  917.             "stepsPerMM": 100,
  918.             "speed": 10,
  919.             "dirPin": -1,
  920.             "stepPin": -1,
  921.             "enablePin": -1
  922.         },
  923.         {
  924.             "t": "None",
  925.             "s": "",
  926.             "invertEnable": "0",
  927.             "invertDirection": "0",
  928.             "stepsPerMM": 100,
  929.             "speed": 10,
  930.             "dirPin": -1,
  931.             "stepPin": -1,
  932.             "enablePin": -1
  933.         },
  934.         {
  935.             "t": "None",
  936.             "s": "",
  937.             "invertEnable": "0",
  938.             "invertDirection": "0",
  939.             "stepsPerMM": 100,
  940.             "speed": 10,
  941.             "dirPin": -1,
  942.             "stepPin": -1,
  943.             "enablePin": -1
  944.         }
  945.     ],
  946.     "manualConfig": "",
  947.     "zHomeMinTemperature": 0,
  948.     "zHomeXPos": 999999,
  949.     "zHomeYPos": 999999,
  950.     "zHomeHeatHeight": 20,
  951.     "zHomeHeatAll": "1",
  952.     "zProbeZOffsetMode": 0,
  953.     "zProbeZOffset": 0,
  954.     "uiBedCoating": "1",
  955.     "langEN": "1",
  956.     "langDE": "1",
  957.     "langNL": "0",
  958.     "langPT": "1",
  959.     "langIT": "1",
  960.     "langES": "1",
  961.     "langFI": "0",
  962.     "langSE": "0",
  963.     "langFR": "1",
  964.     "langCZ": "0",
  965.     "langPL": "1",
  966.     "langTR": "1",
  967.     "interpolateAccelerationWithZ": 0,
  968.     "accelerationFactorTop": 100,
  969.     "bendingCorrectionA": 0,
  970.     "bendingCorrectionB": 0,
  971.     "bendingCorrectionC": 0,
  972.     "preventZDisableOnStepperTimeout": "0",
  973.     "supportLaser": "0",
  974.     "laserPin": -1,
  975.     "laserOnHigh": "1",
  976.     "defaultPrinterMode": 0,
  977.     "supportCNC": "0",
  978.     "cncWaitOnEnable": 300,
  979.     "cncWaitOnDisable": 0,
  980.     "cncEnablePin": -1,
  981.     "cncEnableWith": "1",
  982.     "cncDirectionPin": -1,
  983.     "cncDirectionCW": "1",
  984.     "startupGCode": "",
  985.     "jsonOutput": "0",
  986.     "bedLevelingMethod": 0,
  987.     "bedCorrectionMethod": 0,
  988.     "bedLevelingGridSize": 5,
  989.     "bedLevelingRepetitions": 5,
  990.     "bedMotor1X": 0,
  991.     "bedMotor1Y": 0,
  992.     "bedMotor2X": 200,
  993.     "bedMotor2Y": 0,
  994.     "bedMotor3X": 100,
  995.     "bedMotor3Y": 200,
  996.     "zProbeRequiresHeating": "0",
  997.     "zProbeMinTemperature": 150,
  998.     "adcKeypadPin": -1,
  999.     "sharedExtruderHeater": "0",
  1000.     "extruderSwitchXYSpeed": 100,
  1001.     "dualXAxis": "0",
  1002.     "boardFanSpeed": 255,
  1003.     "hasMAX6675": false,
  1004.     "hasMAX31855": false,
  1005.     "hasGeneric1": false,
  1006.     "hasGeneric2": false,
  1007.     "hasGeneric3": false,
  1008.     "hasUser0": false,
  1009.     "hasUser1": false,
  1010.     "hasUser2": false,
  1011.     "numExtruder": 0,
  1012.     "version": 92.9,
  1013.     "primaryPortName": ""
  1014. }
  1015. ========== End configuration string ==========
  1016.  
  1017. */
Advertisement
RAW Paste Data Copied
Advertisement