Browse Source

Merge pull request #1828 from Wackerbarth/Configurator

Update Configurator Files
Scott Lahteine 10 years ago
parent
commit
6a860b99dc

+ 46
- 0
Marlin/Configuration.h View File

35
 // example_configurations/SCARA directory.
35
 // example_configurations/SCARA directory.
36
 //
36
 //
37
 
37
 
38
+// @section info
39
+
38
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
40
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
41
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40
 // build by the user have been successfully uploaded into firmware.
42
 // build by the user have been successfully uploaded into firmware.
45
 #define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
47
 #define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
46
 //#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
48
 //#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
47
 
49
 
50
+// @section machine
51
+
48
 // SERIAL_PORT selects which serial port should be used for communication with the host.
52
 // SERIAL_PORT selects which serial port should be used for communication with the host.
49
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
53
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
50
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
54
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
55
+// :[0,1,2,3,4,5,6,7]
51
 #define SERIAL_PORT 0
56
 #define SERIAL_PORT 0
52
 
57
 
53
 // This determines the communication speed of the printer
58
 // This determines the communication speed of the printer
59
+// :[2400,9600,19200,38400,57600,115200,250000]
54
 #define BAUDRATE 250000
60
 #define BAUDRATE 250000
55
 
61
 
56
 // This enables the serial port associated to the Bluetooth interface
62
 // This enables the serial port associated to the Bluetooth interface
70
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
76
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
71
 
77
 
72
 // This defines the number of extruders
78
 // This defines the number of extruders
79
+// :[1,2,3,4]
73
 #define EXTRUDERS 1
80
 #define EXTRUDERS 1
74
 
81
 
75
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
82
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
81
 //// The following define selects which power supply you have. Please choose the one that matches your setup
88
 //// The following define selects which power supply you have. Please choose the one that matches your setup
82
 // 1 = ATX
89
 // 1 = ATX
83
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
90
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
91
+// :{1:'ATX',2:'X-Box 360'}
84
 
92
 
85
 #define POWER_SUPPLY 1
93
 #define POWER_SUPPLY 1
86
 
94
 
87
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
95
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
88
 // #define PS_DEFAULT_OFF
96
 // #define PS_DEFAULT_OFF
89
 
97
 
98
+// @section temperature
99
+
90
 //===========================================================================
100
 //===========================================================================
91
 //============================= Thermal Settings ============================
101
 //============================= Thermal Settings ============================
92
 //===========================================================================
102
 //===========================================================================
248
 // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
258
 // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
249
 #endif // PIDTEMPBED
259
 #endif // PIDTEMPBED
250
 
260
 
261
+// @section extruder
251
 
262
 
252
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
263
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
253
 //can be software-disabled for whatever purposes by
264
 //can be software-disabled for whatever purposes by
302
 //============================= Mechanical Settings =========================
313
 //============================= Mechanical Settings =========================
303
 //===========================================================================
314
 //===========================================================================
304
 
315
 
316
+// @section machine
317
+
305
 // Uncomment this option to enable CoreXY kinematics
318
 // Uncomment this option to enable CoreXY kinematics
306
 // #define COREXY
319
 // #define COREXY
307
 
320
 
308
 // Enable this option for Toshiba steppers
321
 // Enable this option for Toshiba steppers
309
 // #define CONFIG_STEPPERS_TOSHIBA
322
 // #define CONFIG_STEPPERS_TOSHIBA
310
 
323
 
324
+// @section homing
325
+
311
 // coarse Endstop Settings
326
 // coarse Endstop Settings
312
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
327
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
313
 
328
 
332
 const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
347
 const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
333
 //#define DISABLE_MAX_ENDSTOPS
348
 //#define DISABLE_MAX_ENDSTOPS
334
 //#define DISABLE_MIN_ENDSTOPS
349
 //#define DISABLE_MIN_ENDSTOPS
350
+
351
+// @section machine
335
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
352
 // If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
336
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
353
 // This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
337
 // activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
354
 // activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
339
 //#define DISABLE_Z_PROBE_ENDSTOP
356
 //#define DISABLE_Z_PROBE_ENDSTOP
340
 
357
 
341
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
358
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
359
+// :{0:'Low',1:'High'}
342
 #define X_ENABLE_ON 0
360
 #define X_ENABLE_ON 0
343
 #define Y_ENABLE_ON 0
361
 #define Y_ENABLE_ON 0
344
 #define Z_ENABLE_ON 0
362
 #define Z_ENABLE_ON 0
348
 #define DISABLE_X false
366
 #define DISABLE_X false
349
 #define DISABLE_Y false
367
 #define DISABLE_Y false
350
 #define DISABLE_Z false
368
 #define DISABLE_Z false
369
+
370
+// @section extruder
371
+
351
 #define DISABLE_E false // For all extruders
372
 #define DISABLE_E false // For all extruders
352
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
373
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
353
 
374
 
375
+// @section machine
376
+
354
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
377
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
355
 #define INVERT_X_DIR false
378
 #define INVERT_X_DIR false
356
 #define INVERT_Y_DIR false
379
 #define INVERT_Y_DIR false
357
 #define INVERT_Z_DIR false
380
 #define INVERT_Z_DIR false
381
+
382
+// @section extruder
383
+
384
+// For direct drive extruder v9 set to true, for geared extruder set to false.
358
 #define INVERT_E0_DIR false
385
 #define INVERT_E0_DIR false
359
 #define INVERT_E1_DIR false
386
 #define INVERT_E1_DIR false
360
 #define INVERT_E2_DIR false
387
 #define INVERT_E2_DIR false
361
 #define INVERT_E3_DIR false
388
 #define INVERT_E3_DIR false
362
 
389
 
390
+// @section homing
391
+
363
 // ENDSTOP SETTINGS:
392
 // ENDSTOP SETTINGS:
364
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
393
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
394
+// :[-1,1]
365
 #define X_HOME_DIR -1
395
 #define X_HOME_DIR -1
366
 #define Y_HOME_DIR -1
396
 #define Y_HOME_DIR -1
367
 #define Z_HOME_DIR -1
397
 #define Z_HOME_DIR -1
369
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
399
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
370
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
400
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
371
 
401
 
402
+// @section machine
403
+
372
 // Travel limits after homing (units are in mm)
404
 // Travel limits after homing (units are in mm)
373
 #define X_MIN_POS 0
405
 #define X_MIN_POS 0
374
 #define Y_MIN_POS 0
406
 #define Y_MIN_POS 0
408
 //============================= Bed Auto Leveling ===========================
440
 //============================= Bed Auto Leveling ===========================
409
 //===========================================================================
441
 //===========================================================================
410
 
442
 
443
+// @section bedlevel
444
+
411
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
412
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
446
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
413
 
447
 
516
 #endif // ENABLE_AUTO_BED_LEVELING
550
 #endif // ENABLE_AUTO_BED_LEVELING
517
 
551
 
518
 
552
 
553
+// @section homing
554
+
519
 // The position of the homing switches
555
 // The position of the homing switches
520
 //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
556
 //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
521
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
557
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
529
   //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
565
   //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
530
 #endif
566
 #endif
531
 
567
 
568
+// @section movement
569
+
532
 /**
570
 /**
533
  * MOVEMENT SETTINGS
571
  * MOVEMENT SETTINGS
534
  */
572
  */
555
 //============================= Additional Features ===========================
593
 //============================= Additional Features ===========================
556
 //=============================================================================
594
 //=============================================================================
557
 
595
 
596
+// @section more
597
+
558
 // Custom M code points
598
 // Custom M code points
559
 #define CUSTOM_M_CODES
599
 #define CUSTOM_M_CODES
560
 #ifdef CUSTOM_M_CODES
600
 #ifdef CUSTOM_M_CODES
565
   #endif
605
   #endif
566
 #endif
606
 #endif
567
 
607
 
608
+// @section extras
568
 
609
 
569
 // EEPROM
610
 // EEPROM
570
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
611
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
577
 // please keep turned on if you can.
618
 // please keep turned on if you can.
578
 //#define EEPROM_CHITCHAT
619
 //#define EEPROM_CHITCHAT
579
 
620
 
621
+// @section temperature
622
+
580
 // Preheat Constants
623
 // Preheat Constants
581
 #define PLA_PREHEAT_HOTEND_TEMP 180
624
 #define PLA_PREHEAT_HOTEND_TEMP 180
582
 #define PLA_PREHEAT_HPB_TEMP 70
625
 #define PLA_PREHEAT_HPB_TEMP 70
587
 #define ABS_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
630
 #define ABS_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
588
 
631
 
589
 //==============================LCD and SD support=============================
632
 //==============================LCD and SD support=============================
633
+// @section lcd
590
 
634
 
591
 // Define your display language below. Replace (en) with your language code and uncomment.
635
 // Define your display language below. Replace (en) with your language code and uncomment.
592
 // en, pl, fr, de, es, ru, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, test
636
 // en, pl, fr, de, es, ru, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, test
670
 
714
 
671
 //#define SAV_3DLCD
715
 //#define SAV_3DLCD
672
 
716
 
717
+// @section extras
718
+
673
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
719
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
674
 //#define FAST_PWM_FAN
720
 //#define FAST_PWM_FAN
675
 
721
 

+ 32
- 0
Marlin/Configuration_adv.h View File

3
 
3
 
4
 #include "Conditionals.h"
4
 #include "Conditionals.h"
5
 
5
 
6
+// @section temperature
7
+
6
 //===========================================================================
8
 //===========================================================================
7
 //=============================Thermal Settings  ============================
9
 //=============================Thermal Settings  ============================
8
 //===========================================================================
10
 //===========================================================================
46
 //The M105 command return, besides traditional information, the ADC value read from temperature sensors.
48
 //The M105 command return, besides traditional information, the ADC value read from temperature sensors.
47
 //#define SHOW_TEMP_ADC_VALUES
49
 //#define SHOW_TEMP_ADC_VALUES
48
 
50
 
51
+// @section extruder
52
+
49
 //  extruder run-out prevention.
53
 //  extruder run-out prevention.
50
 //if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
54
 //if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
51
 //#define EXTRUDER_RUNOUT_PREVENT
55
 //#define EXTRUDER_RUNOUT_PREVENT
55
 #define EXTRUDER_RUNOUT_SPEED 1500.  //extrusion speed
59
 #define EXTRUDER_RUNOUT_SPEED 1500.  //extrusion speed
56
 #define EXTRUDER_RUNOUT_EXTRUDE 100
60
 #define EXTRUDER_RUNOUT_EXTRUDE 100
57
 
61
 
62
+// @section temperature
63
+
58
 //These defines help to calibrate the AD595 sensor in case you get wrong temperature measurements.
64
 //These defines help to calibrate the AD595 sensor in case you get wrong temperature measurements.
59
 //The measured temperature is defined as "actualTemp = (measuredTemp * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET"
65
 //The measured temperature is defined as "actualTemp = (measuredTemp * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET"
60
 #define TEMP_SENSOR_AD595_OFFSET 0.0
66
 #define TEMP_SENSOR_AD595_OFFSET 0.0
72
 // before setting a PWM value. (Does not work with software PWM for fan on Sanguinololu)
78
 // before setting a PWM value. (Does not work with software PWM for fan on Sanguinololu)
73
 //#define FAN_KICKSTART_TIME 100
79
 //#define FAN_KICKSTART_TIME 100
74
 
80
 
81
+// @section extruder
82
+
75
 // Extruder cooling fans
83
 // Extruder cooling fans
76
 // Configure fan pin outputs to automatically turn on/off when the associated
84
 // Configure fan pin outputs to automatically turn on/off when the associated
77
 // extruder temperature is above/below EXTRUDER_AUTO_FAN_TEMPERATURE.
85
 // extruder temperature is above/below EXTRUDER_AUTO_FAN_TEMPERATURE.
89
 //=============================Mechanical Settings===========================
97
 //=============================Mechanical Settings===========================
90
 //===========================================================================
98
 //===========================================================================
91
 
99
 
100
+// @section homing
101
+
92
 #define ENDSTOPS_ONLY_FOR_HOMING // If defined the endstops will only be used for homing
102
 #define ENDSTOPS_ONLY_FOR_HOMING // If defined the endstops will only be used for homing
93
 
103
 
104
+// @section extras
105
+
94
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
106
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
95
 
107
 
96
 // A single Z stepper driver is usually used to drive 2 stepper motors.
108
 // A single Z stepper driver is usually used to drive 2 stepper motors.
174
 
186
 
175
 #endif //DUAL_X_CARRIAGE
187
 #endif //DUAL_X_CARRIAGE
176
 
188
 
189
+// @section homing
190
+
177
 //homing hits the endstop, then retracts by this distance, before it tries to slowly bump again:
191
 //homing hits the endstop, then retracts by this distance, before it tries to slowly bump again:
178
 #define X_HOME_BUMP_MM 5
192
 #define X_HOME_BUMP_MM 5
179
 #define Y_HOME_BUMP_MM 5
193
 #define Y_HOME_BUMP_MM 5
181
 #define HOMING_BUMP_DIVISOR {2, 2, 4}  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
195
 #define HOMING_BUMP_DIVISOR {2, 2, 4}  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
182
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
196
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
183
 
197
 
198
+// @section machine
199
+
184
 #define AXIS_RELATIVE_MODES {false, false, false, false}
200
 #define AXIS_RELATIVE_MODES {false, false, false, false}
185
 
201
 
202
+// @section machine
203
+
186
 //By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
204
 //By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
187
 #define INVERT_X_STEP_PIN false
205
 #define INVERT_X_STEP_PIN false
188
 #define INVERT_Y_STEP_PIN false
206
 #define INVERT_Y_STEP_PIN false
195
 #define DEFAULT_MINIMUMFEEDRATE       0.0     // minimum feedrate
213
 #define DEFAULT_MINIMUMFEEDRATE       0.0     // minimum feedrate
196
 #define DEFAULT_MINTRAVELFEEDRATE     0.0
214
 #define DEFAULT_MINTRAVELFEEDRATE     0.0
197
 
215
 
216
+// @section lcd
217
+
198
 #ifdef ULTIPANEL
218
 #ifdef ULTIPANEL
199
   #define MANUAL_FEEDRATE {50*60, 50*60, 4*60, 60} // Feedrates for manual moves along X, Y, Z, E from panel
219
   #define MANUAL_FEEDRATE {50*60, 50*60, 4*60, 60} // Feedrates for manual moves along X, Y, Z, E from panel
200
   #define ULTIPANEL_FEEDMULTIPLY  // Comment to disable setting feedrate multiplier via encoder
220
   #define ULTIPANEL_FEEDMULTIPLY  // Comment to disable setting feedrate multiplier via encoder
201
 #endif
221
 #endif
202
 
222
 
223
+// @section extras
224
+
203
 // minimum time in microseconds that a movement needs to take if the buffer is emptied.
225
 // minimum time in microseconds that a movement needs to take if the buffer is emptied.
204
 #define DEFAULT_MINSEGMENTTIME        20000
226
 #define DEFAULT_MINSEGMENTTIME        20000
205
 
227
 
241
 //#define CHDK 4        //Pin for triggering CHDK to take a picture see how to use it here http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
263
 //#define CHDK 4        //Pin for triggering CHDK to take a picture see how to use it here http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
242
 #define CHDK_DELAY 50 //How long in ms the pin should stay HIGH before going LOW again
264
 #define CHDK_DELAY 50 //How long in ms the pin should stay HIGH before going LOW again
243
 
265
 
266
+// @section lcd
267
+
244
 #ifdef SDSUPPORT
268
 #ifdef SDSUPPORT
245
 
269
 
246
   // If you are using a RAMPS board or cheap E-bay purchased boards that do not detect when an SD card is inserted
270
   // If you are using a RAMPS board or cheap E-bay purchased boards that do not detect when an SD card is inserted
273
 
297
 
274
 #endif // SDSUPPORT
298
 #endif // SDSUPPORT
275
 
299
 
300
+// @section more
301
+
276
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
302
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
277
 //#define USE_WATCHDOG
303
 //#define USE_WATCHDOG
278
 
304
 
317
 
343
 
318
 const unsigned int dropsegments=5; //everything with less than this number of steps will be ignored as move and joined with the next movement
344
 const unsigned int dropsegments=5; //everything with less than this number of steps will be ignored as move and joined with the next movement
319
 
345
 
346
+// @section temperature
347
+
320
 // Control heater 0 and heater 1 in parallel.
348
 // Control heater 0 and heater 1 in parallel.
321
 //#define HEATERS_PARALLEL
349
 //#define HEATERS_PARALLEL
322
 
350
 
324
 //=============================Buffers           ============================
352
 //=============================Buffers           ============================
325
 //===========================================================================
353
 //===========================================================================
326
 
354
 
355
+// @section hidden
356
+
327
 // The number of linear motions that can be in the plan at any give time.
357
 // The number of linear motions that can be in the plan at any give time.
328
 // THE BLOCK_BUFFER_SIZE NEEDS TO BE A POWER OF 2, i.g. 8,16,32 because shifts and ors are used to do the ring-buffering.
358
 // THE BLOCK_BUFFER_SIZE NEEDS TO BE A POWER OF 2, i.g. 8,16,32 because shifts and ors are used to do the ring-buffering.
329
 #ifdef SDSUPPORT
359
 #ifdef SDSUPPORT
332
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
362
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
333
 #endif
363
 #endif
334
 
364
 
365
+// @section more
335
 
366
 
336
 //The ASCII buffer for receiving from the serial:
367
 //The ASCII buffer for receiving from the serial:
337
 #define MAX_CMD_SIZE 96
368
 #define MAX_CMD_SIZE 96
338
 #define BUFSIZE 4
369
 #define BUFSIZE 4
339
 
370
 
371
+// @section extras
340
 
372
 
341
 // Firmware based and LCD controlled retract
373
 // Firmware based and LCD controlled retract
342
 // M207 and M208 can be used to define parameters for the retraction.
374
 // M207 and M208 can be used to define parameters for the retraction.

+ 35
- 26
Marlin/configurator/config/Configuration.h View File

31
 //===========================================================================
31
 //===========================================================================
32
 //============================= SCARA Printer ===============================
32
 //============================= SCARA Printer ===============================
33
 //===========================================================================
33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35
 // example_configurations/SCARA directory.
35
 // example_configurations/SCARA directory.
36
 //
36
 //
37
 
37
 
65
 // The following define selects which electronics board you have.
65
 // The following define selects which electronics board you have.
66
 // Please choose the name from boards.h that matches your setup
66
 // Please choose the name from boards.h that matches your setup
67
 #ifndef MOTHERBOARD
67
 #ifndef MOTHERBOARD
68
-  #define MOTHERBOARD BOARD_ULTIMAKER
68
+  #define MOTHERBOARD BOARD_RAMPS_13_EFB
69
 #endif
69
 #endif
70
 
70
 
71
 // Define this to set a custom name for your generic Mendel,
71
 // Define this to set a custom name for your generic Mendel,
79
 // :[1,2,3,4]
79
 // :[1,2,3,4]
80
 #define EXTRUDERS 1
80
 #define EXTRUDERS 1
81
 
81
 
82
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
83
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
84
+// For the other hotends it is their distance from the extruder 0 hotend.
85
+//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
86
+//#define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
87
+
82
 //// The following define selects which power supply you have. Please choose the one that matches your setup
88
 //// The following define selects which power supply you have. Please choose the one that matches your setup
83
 // 1 = ATX
89
 // 1 = ATX
84
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
90
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
85
 // :{1:'ATX',2:'X-Box 360'}
91
 // :{1:'ATX',2:'X-Box 360'}
92
+
86
 #define POWER_SUPPLY 1
93
 #define POWER_SUPPLY 1
87
 
94
 
88
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
95
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
131
 //     Use it for Testing or Development purposes. NEVER for production machine.
138
 //     Use it for Testing or Development purposes. NEVER for production machine.
132
 //     #define DUMMY_THERMISTOR_998_VALUE 25
139
 //     #define DUMMY_THERMISTOR_998_VALUE 25
133
 //     #define DUMMY_THERMISTOR_999_VALUE 100
140
 //     #define DUMMY_THERMISTOR_999_VALUE 100
134
-// :{ 0: "Not used", 4: "10k !! do not use for a hotend. Bad resolution at high temp. !!", 1: "100k / 4.7k - EPCOS", 51: "100k / 1k - EPCOS", 6: "100k / 4.7k EPCOS - Not as accurate as Table 1", 5: "100K / 4.7k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", 7: "100k / 4.7k Honeywell 135-104LAG-J01", 71: "100k / 4.7k Honeywell 135-104LAF-J01", 8: "100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT", 9: "100k / 4.7k GE Sensing AL03006-58.2K-97-G1", 10: "100k / 4.7k RS 198-961", 11: "100k / 4.7k beta 3950 1%", 12: "100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT (calibrated for Makibox hot bed)", 13: "100k Hisens 3950  1% up to 300°C for hotend 'Simple ONE ' & hotend 'All In ONE'", 60: "100k Maker's Tool Works Kapton Bed Thermistor beta=3950", 55: "100k / 1k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", 2: "200k / 4.7k - ATC Semitec 204GT-2", 52: "200k / 1k - ATC Semitec 204GT-2", '-2': "Thermocouple + MAX6675 (only for sensor 0)", '-1': "Thermocouple + AD595", 3: "Mendel-parts / 4.7k", 1047: "Pt1000 / 4.7k", 1010: "Pt1000 / 1k (non standard)", 20: "PT100 (Ultimainboard V2.x)", 147: "Pt100 / 4.7k", 110: "Pt100 / 1k (non-standard)", 998: "Dummy 1", 999: "Dummy 2" }
135
-#define TEMP_SENSOR_0 -1
136
-#define TEMP_SENSOR_1 -1
141
+
142
+#define TEMP_SENSOR_0 1
143
+#define TEMP_SENSOR_1 0
137
 #define TEMP_SENSOR_2 0
144
 #define TEMP_SENSOR_2 0
138
 #define TEMP_SENSOR_3 0
145
 #define TEMP_SENSOR_3 0
139
 #define TEMP_SENSOR_BED 0
146
 #define TEMP_SENSOR_BED 0
327
   // #define ENDSTOPPULLUP_XMIN
334
   // #define ENDSTOPPULLUP_XMIN
328
   // #define ENDSTOPPULLUP_YMIN
335
   // #define ENDSTOPPULLUP_YMIN
329
   // #define ENDSTOPPULLUP_ZMIN
336
   // #define ENDSTOPPULLUP_ZMIN
337
+  // #define ENDSTOPPULLUP_ZPROBE
330
 #endif
338
 #endif
331
 
339
 
332
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
340
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
336
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
344
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
337
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
345
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
338
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
346
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
347
+const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
339
 //#define DISABLE_MAX_ENDSTOPS
348
 //#define DISABLE_MAX_ENDSTOPS
340
 //#define DISABLE_MIN_ENDSTOPS
349
 //#define DISABLE_MIN_ENDSTOPS
341
 
350
 
342
 // @section machine
351
 // @section machine
352
+// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
353
+// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
354
+// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
355
+// this has no effect.
356
+//#define DISABLE_Z_PROBE_ENDSTOP
343
 
357
 
344
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
358
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
345
 // :{0:'Low',1:'High'}
359
 // :{0:'Low',1:'High'}
361
 // @section machine
375
 // @section machine
362
 
376
 
363
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
377
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
364
-#define INVERT_X_DIR true
378
+#define INVERT_X_DIR false
365
 #define INVERT_Y_DIR false
379
 #define INVERT_Y_DIR false
366
-#define INVERT_Z_DIR true
380
+#define INVERT_Z_DIR false
367
 
381
 
368
 // @section extruder
382
 // @section extruder
369
 
383
 
391
 #define X_MIN_POS 0
405
 #define X_MIN_POS 0
392
 #define Y_MIN_POS 0
406
 #define Y_MIN_POS 0
393
 #define Z_MIN_POS 0
407
 #define Z_MIN_POS 0
394
-#define X_MAX_POS 205
395
-#define Y_MAX_POS 205
408
+#define X_MAX_POS 200
409
+#define Y_MAX_POS 200
396
 #define Z_MAX_POS 200
410
 #define Z_MAX_POS 200
397
 
411
 
398
 //===========================================================================
412
 //===========================================================================
561
 
575
 
562
 // default settings
576
 // default settings
563
 
577
 
564
-#define DEFAULT_AXIS_STEPS_PER_UNIT   {78.7402,78.7402,200.0*8/3,760*1.1}  // default steps per unit for Ultimaker
565
-#define DEFAULT_MAX_FEEDRATE          {500, 500, 5, 25}    // (mm/sec)
566
-#define DEFAULT_MAX_ACCELERATION      {9000,9000,100,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
567
-
568
-#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E max acceleration in mm/s^2 for printing moves
569
-#define DEFAULT_RETRACT_ACCELERATION  3000   // X, Y, Z and E max acceleration in mm/s^2 for retracts
578
+#define DEFAULT_AXIS_STEPS_PER_UNIT   {80,80,4000,500}  // default steps per unit for Ultimaker
579
+#define DEFAULT_MAX_FEEDRATE          {300, 300, 5, 25}    // (mm/sec)
580
+#define DEFAULT_MAX_ACCELERATION      {3000,3000,100,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
570
 
581
 
571
-// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
572
-// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
573
-// For the other hotends it is their distance from the extruder 0 hotend.
574
-// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
575
-// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
582
+#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
583
+#define DEFAULT_RETRACT_ACCELERATION  3000   // E acceleration in mm/s^2 for retracts
584
+#define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
576
 
585
 
577
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
586
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
578
 #define DEFAULT_XYJERK                20.0    // (mm/sec)
587
 #define DEFAULT_XYJERK                20.0    // (mm/sec)
614
 // Preheat Constants
623
 // Preheat Constants
615
 #define PLA_PREHEAT_HOTEND_TEMP 180
624
 #define PLA_PREHEAT_HOTEND_TEMP 180
616
 #define PLA_PREHEAT_HPB_TEMP 70
625
 #define PLA_PREHEAT_HPB_TEMP 70
617
-#define PLA_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
626
+#define PLA_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
618
 
627
 
619
 #define ABS_PREHEAT_HOTEND_TEMP 240
628
 #define ABS_PREHEAT_HOTEND_TEMP 240
620
-#define ABS_PREHEAT_HPB_TEMP 100
621
-#define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
629
+#define ABS_PREHEAT_HPB_TEMP 110
630
+#define ABS_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
622
 
631
 
623
 //==============================LCD and SD support=============================
632
 //==============================LCD and SD support=============================
624
 // @section lcd
633
 // @section lcd
626
 // Define your display language below. Replace (en) with your language code and uncomment.
635
 // Define your display language below. Replace (en) with your language code and uncomment.
627
 // en, pl, fr, de, es, ru, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, test
636
 // en, pl, fr, de, es, ru, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, test
628
 // See also language.h
637
 // See also language.h
629
-//#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
638
+#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
630
 
639
 
631
 // Choose ONE of these 3 charsets. This has to match your hardware. Ignored for full graphic display.
640
 // Choose ONE of these 3 charsets. This has to match your hardware. Ignored for full graphic display.
632
 // To find out what type you have - compile with (test) - upload - click to get the menu. You'll see two typical lines from the upper half of the charset.
641
 // To find out what type you have - compile with (test) - upload - click to get the menu. You'll see two typical lines from the upper half of the charset.
730
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
739
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
731
 // #define PHOTOGRAPH_PIN     23
740
 // #define PHOTOGRAPH_PIN     23
732
 
741
 
733
-// SF send wrong arc g-codes when using Arc Point as fillet procedure
742
+// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
734
 //#define SF_ARC_FIX
743
 //#define SF_ARC_FIX
735
 
744
 
736
 // Support for the BariCUDA Paste Extruder.
745
 // Support for the BariCUDA Paste Extruder.
784
 #define MAX_MEASUREMENT_DELAY			20  //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM)
793
 #define MAX_MEASUREMENT_DELAY			20  //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM)
785
 
794
 
786
 //defines used in the code
795
 //defines used in the code
787
-#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially 
796
+#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially
788
 
797
 
789
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
798
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
790
 //#define FILAMENT_LCD_DISPLAY
799
 //#define FILAMENT_LCD_DISPLAY

+ 2
- 2
Marlin/configurator/config/Configuration_adv.h View File

192
 #define X_HOME_BUMP_MM 5
192
 #define X_HOME_BUMP_MM 5
193
 #define Y_HOME_BUMP_MM 5
193
 #define Y_HOME_BUMP_MM 5
194
 #define Z_HOME_BUMP_MM 2
194
 #define Z_HOME_BUMP_MM 2
195
-#define HOMING_BUMP_DIVISOR {10, 10, 20}  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
195
+#define HOMING_BUMP_DIVISOR {2, 2, 4}  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
196
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
196
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
197
 
197
 
198
 // @section machine
198
 // @section machine
335
   #define EXTRUDER_ADVANCE_K .0
335
   #define EXTRUDER_ADVANCE_K .0
336
   #define D_FILAMENT 2.85
336
   #define D_FILAMENT 2.85
337
   #define STEPS_MM_E 836
337
   #define STEPS_MM_E 836
338
-#endif // ADVANCE
338
+#endif
339
 
339
 
340
 // Arc interpretation settings:
340
 // Arc interpretation settings:
341
 #define MM_PER_ARC_SEGMENT 1
341
 #define MM_PER_ARC_SEGMENT 1

+ 10
- 7
Marlin/configurator/config/boards.h View File

10
 #define BOARD_CHEAPTRONIC       2    // Cheaptronic v1.0
10
 #define BOARD_CHEAPTRONIC       2    // Cheaptronic v1.0
11
 #define BOARD_SETHI             20   // Sethi 3D_1
11
 #define BOARD_SETHI             20   // Sethi 3D_1
12
 #define BOARD_RAMPS_OLD         3    // MEGA/RAMPS up to 1.2
12
 #define BOARD_RAMPS_OLD         3    // MEGA/RAMPS up to 1.2
13
-#define BOARD_RAMPS_13_EFB      33   // RAMPS 1.3 / 1.4 (Extruder, Fan, Bed)
14
-#define BOARD_RAMPS_13_EEB      34   // RAMPS 1.3 / 1.4 (Extruder0, Extruder1, Bed)
15
-#define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 / 1.4 (Extruder, Fan, Fan)
16
-#define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 / 1.4 (Extruder0, Extruder1, Fan)
13
+#define BOARD_RAMPS_13_EFB      33   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed)
14
+#define BOARD_RAMPS_13_EEB      34   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
15
+#define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
16
+#define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
17
+#define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
17
 #define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignments
18
 #define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignments
18
 #define BOARD_GEN6              5    // Gen6
19
 #define BOARD_GEN6              5    // Gen6
19
 #define BOARD_GEN6_DELUXE       51   // Gen6 deluxe
20
 #define BOARD_GEN6_DELUXE       51   // Gen6 deluxe
28
 #define BOARD_ULTIMAKER         7    // Ultimaker
29
 #define BOARD_ULTIMAKER         7    // Ultimaker
29
 #define BOARD_ULTIMAKER_OLD     71   // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
30
 #define BOARD_ULTIMAKER_OLD     71   // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
30
 #define BOARD_ULTIMAIN_2        72   // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
31
 #define BOARD_ULTIMAIN_2        72   // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
31
-#define BOARD_3DRAG             77   // 3Drag
32
-#define BOARD_K8200             78   // Vellemann K8200 (derived from 3Drag)
32
+#define BOARD_3DRAG             77   // 3Drag Controller
33
+#define BOARD_K8200             78   // Vellemann K8200 Controller (derived from 3Drag Controller)
33
 #define BOARD_TEENSYLU          8    // Teensylu
34
 #define BOARD_TEENSYLU          8    // Teensylu
34
 #define BOARD_RUMBA             80   // Rumba
35
 #define BOARD_RUMBA             80   // Rumba
35
 #define BOARD_PRINTRBOARD       81   // Printrboard (AT90USB1286)
36
 #define BOARD_PRINTRBOARD       81   // Printrboard (AT90USB1286)
36
 #define BOARD_BRAINWAVE         82   // Brainwave (AT90USB646)
37
 #define BOARD_BRAINWAVE         82   // Brainwave (AT90USB646)
37
 #define BOARD_SAV_MKI           83   // SAV Mk-I (AT90USB1286)
38
 #define BOARD_SAV_MKI           83   // SAV Mk-I (AT90USB1286)
38
 #define BOARD_TEENSY2           84   // Teensy++2.0 (AT90USB1286) - CLI compile: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84  make
39
 #define BOARD_TEENSY2           84   // Teensy++2.0 (AT90USB1286) - CLI compile: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84  make
40
+#define BOARD_BRAINWAVE_PRO     85   // Brainwave Pro (AT90USB1286)
39
 #define BOARD_GEN3_PLUS         9    // Gen3+
41
 #define BOARD_GEN3_PLUS         9    // Gen3+
40
 #define BOARD_GEN3_MONOLITHIC   22   // Gen3 Monolithic Electronics
42
 #define BOARD_GEN3_MONOLITHIC   22   // Gen3 Monolithic Electronics
41
 #define BOARD_MEGATRONICS       70   // Megatronics
43
 #define BOARD_MEGATRONICS       70   // Megatronics
50
 #define BOARD_LEAPFROG          999  // Leapfrog
52
 #define BOARD_LEAPFROG          999  // Leapfrog
51
 #define BOARD_WITBOX            41   // bq WITBOX
53
 #define BOARD_WITBOX            41   // bq WITBOX
52
 #define BOARD_HEPHESTOS         42   // bq Prusa i3 Hephestos
54
 #define BOARD_HEPHESTOS         42   // bq Prusa i3 Hephestos
55
+#define BOARD_BAM_DICE          401  // 2PrintBeta BAM&DICE with STK drivers
56
+#define BOARD_BAM_DICE_DUE      402  // 2PrintBeta BAM&DICE Due with STK drivers
53
 
57
 
54
 #define BOARD_99                99   // This is in pins.h but...?
58
 #define BOARD_99                99   // This is in pins.h but...?
55
 
59
 
56
 #define MB(board) (MOTHERBOARD==BOARD_##board)
60
 #define MB(board) (MOTHERBOARD==BOARD_##board)
57
-#define IS_RAMPS (MB(RAMPS_OLD) || MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF))
58
 
61
 
59
 #endif //__BOARDS_H
62
 #endif //__BOARDS_H

+ 88
- 79
Marlin/configurator/config/language.h View File

11
 //
11
 //
12
 //   ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRALCD" / "SDSUPPORT" #define IN "Configuration.h"
12
 //   ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRALCD" / "SDSUPPORT" #define IN "Configuration.h"
13
 //   ==> ALSO TRY ALL AVAILABLE LANGUAGE OPTIONS
13
 //   ==> ALSO TRY ALL AVAILABLE LANGUAGE OPTIONS
14
+// See also documentation/LCDLanguageFont.md
14
 
15
 
15
 // Languages
16
 // Languages
16
-// en    English
17
-// pl    Polish
18
-// fr    French
19
-// de    German
20
-// es    Spanish
21
-// ru    Russian
22
-// it    Italian
23
-// pt    Portuguese
24
-// pt-br Portuguese (Brazil)
25
-// fi    Finnish
26
-// an    Aragonese
27
-// nl    Dutch
28
-// ca    Catalan
29
-// eu    Basque-Euskera
17
+// en       English
18
+// pl       Polish
19
+// fr       French
20
+// de       German
21
+// es       Spanish
22
+// ru       Russian
23
+// it       Italian
24
+// pt       Portuguese
25
+// pt-br    Portuguese (Brazil)
26
+// fi       Finnish
27
+// an       Aragonese
28
+// nl       Dutch
29
+// ca       Catalan
30
+// eu       Basque-Euskera
31
+// kana     Japanese
32
+// kana_utf Japanese
30
 
33
 
31
 #ifndef LANGUAGE_INCLUDE
34
 #ifndef LANGUAGE_INCLUDE
32
   // pick your language from the list above
35
   // pick your language from the list above
33
   #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
36
   #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
34
 #endif
37
 #endif
35
 
38
 
39
+#ifdef HAS_AUTOMATIC_VERSIONING
40
+  #include "_Version.h"
41
+#endif
42
+
36
 #define PROTOCOL_VERSION "1.0"
43
 #define PROTOCOL_VERSION "1.0"
37
 
44
 
38
 #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
45
 #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
56
 #elif MB(HEPHESTOS)
63
 #elif MB(HEPHESTOS)
57
   #define MACHINE_NAME "HEPHESTOS"
64
   #define MACHINE_NAME "HEPHESTOS"
58
   #define FIRMWARE_URL "http://www.bq.com/gb/downloads-prusa-i3-hephestos.html"
65
   #define FIRMWARE_URL "http://www.bq.com/gb/downloads-prusa-i3-hephestos.html"
59
-#else // Default firmware set to Mendel
60
-  #define MACHINE_NAME "Mendel"
61
-  #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
66
+#elif MB(BRAINWAVE_PRO)
67
+  #define MACHINE_NAME "Kossel Pro"
68
+  #ifndef FIRMWARE_URL
69
+    #define FIRMWARE_URL "https://github.com/OpenBeamUSA/Marlin/"
70
+  #endif
71
+#else
72
+  #ifndef MACHINE_NAME
73
+    #define MACHINE_NAME "Mendel"
74
+  #endif
62
 #endif
75
 #endif
63
 
76
 
64
 #ifdef CUSTOM_MENDEL_NAME
77
 #ifdef CUSTOM_MENDEL_NAME
78
+  #warning CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME
79
+  #define CUSTOM_MACHINE_NAME CUSTOM_MENDEL_NAME
80
+#endif
81
+
82
+#ifdef CUSTOM_MACHINE_NAME
65
   #undef MACHINE_NAME
83
   #undef MACHINE_NAME
66
-  #define MACHINE_NAME CUSTOM_MENDEL_NAME
84
+  #define MACHINE_NAME CUSTOM_MACHINE_NAME
85
+#endif
86
+
87
+#ifndef FIRMWARE_URL
88
+  #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
89
+#endif
90
+
91
+#ifndef BUILD_VERSION
92
+  #define BUILD_VERSION "V1; Sprinter/grbl mashup for gen6"
67
 #endif
93
 #endif
68
 
94
 
69
 #ifndef MACHINE_UUID
95
 #ifndef MACHINE_UUID
70
-  #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
96
+   #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
71
 #endif
97
 #endif
72
 
98
 
73
 
99
 
114
 #define MSG_HEATING_COMPLETE                "Heating done."
140
 #define MSG_HEATING_COMPLETE                "Heating done."
115
 #define MSG_BED_HEATING                     "Bed Heating."
141
 #define MSG_BED_HEATING                     "Bed Heating."
116
 #define MSG_BED_DONE                        "Bed done."
142
 #define MSG_BED_DONE                        "Bed done."
117
-#define MSG_M115_REPORT                     "FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:" FIRMWARE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID "\n"
143
+#define MSG_M115_REPORT                     "FIRMWARE_NAME:Marlin " BUILD_VERSION " FIRMWARE_URL:" FIRMWARE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID "\n"
118
 #define MSG_COUNT_X                         " Count X: "
144
 #define MSG_COUNT_X                         " Count X: "
119
 #define MSG_ERR_KILLED                      "Printer halted. kill() called!"
145
 #define MSG_ERR_KILLED                      "Printer halted. kill() called!"
120
 #define MSG_ERR_STOPPED                     "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
146
 #define MSG_ERR_STOPPED                     "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
122
 #define MSG_UNKNOWN_COMMAND                 "Unknown command: \""
148
 #define MSG_UNKNOWN_COMMAND                 "Unknown command: \""
123
 #define MSG_ACTIVE_EXTRUDER                 "Active Extruder: "
149
 #define MSG_ACTIVE_EXTRUDER                 "Active Extruder: "
124
 #define MSG_INVALID_EXTRUDER                "Invalid extruder"
150
 #define MSG_INVALID_EXTRUDER                "Invalid extruder"
151
+#define MSG_INVALID_SOLENOID                "Invalid solenoid"
125
 #define MSG_X_MIN                           "x_min: "
152
 #define MSG_X_MIN                           "x_min: "
126
 #define MSG_X_MAX                           "x_max: "
153
 #define MSG_X_MAX                           "x_max: "
127
 #define MSG_Y_MIN                           "y_min: "
154
 #define MSG_Y_MIN                           "y_min: "
128
 #define MSG_Y_MAX                           "y_max: "
155
 #define MSG_Y_MAX                           "y_max: "
129
 #define MSG_Z_MIN                           "z_min: "
156
 #define MSG_Z_MIN                           "z_min: "
130
 #define MSG_Z_MAX                           "z_max: "
157
 #define MSG_Z_MAX                           "z_max: "
158
+#define MSG_Z2_MAX                          "z2_max: "
159
+#define MSG_Z_PROBE                         "z_probe: "
131
 #define MSG_M119_REPORT                     "Reporting endstop status"
160
 #define MSG_M119_REPORT                     "Reporting endstop status"
132
 #define MSG_ENDSTOP_HIT                     "TRIGGERED"
161
 #define MSG_ENDSTOP_HIT                     "TRIGGERED"
133
 #define MSG_ENDSTOP_OPEN                    "open"
162
 #define MSG_ENDSTOP_OPEN                    "open"
160
 
189
 
161
 #define MSG_ERR_EEPROM_WRITE                "Error writing to EEPROM!"
190
 #define MSG_ERR_EEPROM_WRITE                "Error writing to EEPROM!"
162
 
191
 
192
+// temperature.cpp strings
193
+#define MSG_PID_AUTOTUNE                    "PID Autotune"
194
+#define MSG_PID_AUTOTUNE_START              MSG_PID_AUTOTUNE " start"
195
+#define MSG_PID_AUTOTUNE_FAILED             MSG_PID_AUTOTUNE " failed!"
196
+#define MSG_PID_BAD_EXTRUDER_NUM            MSG_PID_AUTOTUNE_FAILED " Bad extruder number"
197
+#define MSG_PID_TEMP_TOO_HIGH               MSG_PID_AUTOTUNE_FAILED " Temperature too high"
198
+#define MSG_PID_TIMEOUT                     MSG_PID_AUTOTUNE_FAILED " timeout"
199
+#define MSG_BIAS                            " bias: "
200
+#define MSG_D                               " d: "
201
+#define MSG_T_MIN                           " min: "
202
+#define MSG_T_MAX                           " max: "
203
+#define MSG_KU                              " Ku: "
204
+#define MSG_TU                              " Tu: "
205
+#define MSG_CLASSIC_PID                     " Classic PID "
206
+#define MSG_KP                              " Kp: "
207
+#define MSG_KI                              " Ki: "
208
+#define MSG_KD                              " Kd: "
209
+#define MSG_OK_B                            "ok B:"
210
+#define MSG_OK_T                            "ok T:"
211
+#define MSG_AT                              " @:"
212
+#define MSG_PID_AUTOTUNE_FINISHED           MSG_PID_AUTOTUNE " finished! Put the last Kp, Ki and Kd constants from above into Configuration.h"
213
+#define MSG_PID_DEBUG                       " PID_DEBUG "
214
+#define MSG_PID_DEBUG_INPUT                 ": Input "
215
+#define MSG_PID_DEBUG_OUTPUT                " Output "
216
+#define MSG_PID_DEBUG_PTERM                 " pTerm "
217
+#define MSG_PID_DEBUG_ITERM                 " iTerm "
218
+#define MSG_PID_DEBUG_DTERM                 " dTerm "
219
+#define MSG_HEATING_FAILED                  "Heating failed"
220
+#define MSG_EXTRUDER_SWITCHED_OFF           "Extruder switched off. Temperature difference between temp sensors is too high !"
221
+
222
+#define MSG_INVALID_EXTRUDER_NUM            " - Invalid extruder number !"
223
+#define MSG_THERMAL_RUNAWAY_STOP            "Thermal Runaway, system stopped! Heater_ID: "
224
+#define MSG_SWITCHED_OFF_MAX                " switched off. MAXTEMP triggered !!"
225
+#define MSG_MINTEMP_EXTRUDER_OFF            ": Extruder switched off. MINTEMP triggered !"
226
+#define MSG_MAXTEMP_EXTRUDER_OFF            ": Extruder" MSG_SWITCHED_OFF_MAX
227
+#define MSG_MAXTEMP_BED_OFF                 "Heated bed" MSG_SWITCHED_OFF_MAX
228
+
163
 // LCD Menu Messages
229
 // LCD Menu Messages
164
 
230
 
165
-// Add your own character. Reference: https://github.com/MarlinFirmware/Marlin/pull/1434 photos
166
-//                                and https://www.sparkfun.com/datasheets/LCD/HD44780.pdf page 17-18
167
-#ifdef DOGLCD
168
-  #define STR_Ae "\304"               // 'Ä' U8glib
169
-  #define STR_ae "\344"               // 'ä'
170
-  #define STR_Oe "\326"               // 'Ö'
171
-  #define STR_oe STR_Oe               // 'ö'
172
-  #define STR_Ue "\334"               // 'Ü'
173
-  #define STR_ue STR_Ue               // 'ü'
174
-  #define STR_sz "\337"               // 'ß'
175
-  #define STR_h2 "\262"               // '²'
176
-  #define STR_h3 "\263"               // '³'
177
-  #define STR_Deg "\260"              // '°'
178
-  #define STR_THERMOMETER "\377"
179
-#else
180
-  #ifdef DISPLAY_CHARSET_HD44780_JAPAN // HD44780 ROM Code: A00 (Japan)
181
-    #define STR_ae "\xe1"
182
-    #define STR_Ae STR_ae
183
-    #define STR_oe "\357"
184
-    #define STR_Oe STR_oe
185
-    #define STR_ue "\365"
186
-    #define STR_Ue STR_ue
187
-    #define STR_sz "\342"
188
-    #define STR_h2 "2"
189
-    #define STR_h3 "3"
190
-    #define STR_Deg "\271"
191
-    #define STR_THERMOMETER "\002"
192
-  #endif
193
-  #ifdef DISPLAY_CHARSET_HD44780_WESTERN // HD44780 ROM Code: A02 (Western)
194
-    #define STR_Ae "\216"
195
-    #define STR_ae "\204"
196
-    #define STR_Oe "\211"
197
-    #define STR_oe "\204"
198
-    #define STR_Ue "\212"
199
-    #define STR_ue "\201"
200
-    #define STR_sz "\160"
201
-    #define STR_h2 "\262"
202
-    #define STR_h3 "\263"
203
-    #define STR_Deg "\337"
204
-    #define STR_THERMOMETER "\002"
205
-  #endif
231
+#if !(defined( DISPLAY_CHARSET_HD44780_JAPAN ) || defined( DISPLAY_CHARSET_HD44780_WESTERN ) || defined( DISPLAY_CHARSET_HD44780_CYRILLIC ))
232
+  #define DISPLAY_CHARSET_HD44780_JAPAN
206
 #endif
233
 #endif
207
-/*
208
-#define TESTSTRING000 "\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017"
209
-#define TESTSTRING020 "\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
210
-#define TESTSTRING040 "\040\041\042\043\044\045\046\047\050\051\052\053\054\055\056\057"
211
-#define TESTSTRING060 "\060\061\062\063\064\065\066\067\070\071\072\073\074\075\076\077"
212
-#define TESTSTRING100 "\100\101\102\103\104\105\106\107\110\111\112\113\114\115\116\117"
213
-#define TESTSTRING120 "\120\121\122\123\124\125\126\127\130\131\132\133\134\135\136\137"
214
-#define TESTSTRING140 "\140\141\142\143\144\145\146\147\150\151\152\153\154\155\156\157"
215
-#define TESTSTRING160 "\160\161\162\163\164\165\166\167\170\171\172\173\174\175\176\177"
216
-#define TESTSTRING200 "\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217"
217
-#define TESTSTRING220 "\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237"
218
-#define TESTSTRING240 "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257"
219
-#define TESTSTRING260 "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277"
220
-#define TESTSTRING300 "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317"
221
-#define TESTSTRING320 "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337"
222
-#define TESTSTRING340 "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357"
223
-#define TESTSTRING360 "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377"
224
-*/
225
 
234
 
226
 #include LANGUAGE_INCLUDE
235
 #include LANGUAGE_INCLUDE
227
 #include "language_en.h"
236
 #include "language_en.h"

Loading…
Cancel
Save