Advertisement
Guest User

Untitled

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