Advertisement
Guest User

Untitled

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