Bläddra i källkod

Merge branch 'Marlin_v1' of github.com:ErikZalm/Marlin into Marlin_v1

daid 11 år sedan
förälder
incheckning
2acd3792fc

+ 13
- 1
Marlin/Configuration.h Visa fil

@@ -70,6 +70,7 @@
70 70
 // 91 = Final OMCA board
71 71
 // 301= Rambo
72 72
 // 21 = Elefu Ra Board (v3)
73
+// 88 = 5DPrint D8 Driver Board
73 74
 
74 75
 #ifndef MOTHERBOARD
75 76
 #define MOTHERBOARD 7
@@ -115,8 +116,10 @@
115 116
 // 8 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)
116 117
 // 9 is 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)
117 118
 // 10 is 100k RS thermistor 198-961 (4.7k pullup)
119
+// 11 is 100k beta 3950 1% thermistor (4.7k pullup)
120
+// 12 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)
118 121
 // 20 is the PT100 circuit found in the Ultimainboard V2.x
119
-// 60 is 100k Maker's Tool Works Kapton Bed Thermistor
122
+// 60 is 100k Maker's Tool Works Kapton Bed Thermistor beta=3950
120 123
 //
121 124
 //    1k ohm pullup tables - This is not normal, you would have to have changed out your 4.7k for 1k
122 125
 //                          (but gives greater accuracy and more stable PID)
@@ -459,6 +462,15 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
459 462
 //=============================Additional Features===========================
460 463
 //===========================================================================
461 464
 
465
+// Custom M code points
466
+#define CUSTOM_M_CODES
467
+#ifdef CUSTOM_M_CODES
468
+  #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
469
+  #define Z_PROBE_OFFSET_RANGE_MIN -15
470
+  #define Z_PROBE_OFFSET_RANGE_MAX -5
471
+#endif
472
+
473
+
462 474
 // EEPROM
463 475
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
464 476
 // M500 - stores parameters in EEPROM

+ 4
- 4
Marlin/Configuration_adv.h Visa fil

@@ -30,7 +30,7 @@
30 30
 
31 31
 //automatic temperature: The hot end target temperature is calculated by all the buffered lines of gcode.
32 32
 //The maximum buffered steps/sec of the extruder motor are called "se".
33
-//You enter the autotemp mode by a M109 S<mintemp> T<maxtemp> F<factor>
33
+//You enter the autotemp mode by a M109 S<mintemp> B<maxtemp> F<factor>
34 34
 // the target temperature is set to mintemp+factor*se[steps/sec] and limited by mintemp and maxtemp
35 35
 // you exit the value by any M109 without F*
36 36
 // Also, if the temperature is set to a value <mintemp, it is not changed by autotemp.
@@ -215,7 +215,7 @@
215 215
 //homing hits the endstop, then retracts by this distance, before it tries to slowly bump again:
216 216
 #define X_HOME_RETRACT_MM 5
217 217
 #define Y_HOME_RETRACT_MM 5
218
-#define Z_HOME_RETRACT_MM 1
218
+#define Z_HOME_RETRACT_MM 2
219 219
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
220 220
 
221 221
 #define AXIS_RELATIVE_MODES {false, false, false, false}
@@ -410,10 +410,10 @@ const unsigned int dropsegments=5; //everything with less than this number of st
410 410
 #ifdef FWRETRACT
411 411
   #define MIN_RETRACT 0.1                //minimum extruded mm to accept a automatic gcode retraction attempt
412 412
   #define RETRACT_LENGTH 3               //default retract length (positive mm)
413
-  #define RETRACT_FEEDRATE 80*60         //default feedrate for retracting
413
+  #define RETRACT_FEEDRATE 45            //default feedrate for retracting (mm/s)
414 414
   #define RETRACT_ZLIFT 0                //default retract Z-lift
415 415
   #define RETRACT_RECOVER_LENGTH 0       //default additional recover length (mm, added to retract length when recovering)
416
-  #define RETRACT_RECOVER_FEEDRATE 8*60  //default feedrate for recovering from retraction
416
+  #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
417 417
 #endif
418 418
 
419 419
 //adds support for experimental filament exchange support M600; requires display

+ 59
- 9
Marlin/Marlin_main.cpp Visa fil

@@ -118,6 +118,7 @@
118 118
 // M107 - Fan off
119 119
 // M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating
120 120
 //        Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling
121
+//        IF AUTOTEMP is enabled, S<mintemp> B<maxtemp> F<factor>. Exit autotemp by any M109 without F
121 122
 // M114 - Output current position to serial port
122 123
 // M115 - Capabilities string
123 124
 // M117 - display message
@@ -1119,7 +1120,7 @@ void refresh_cmd_timeout(void)
1119 1120
       current_position[E_AXIS]+=retract_length/volumetric_multiplier[active_extruder];
1120 1121
       plan_set_e_position(current_position[E_AXIS]);
1121 1122
       float oldFeedrate = feedrate;
1122
-      feedrate=retract_feedrate;
1123
+      feedrate=retract_feedrate*60;
1123 1124
       retracted=true;
1124 1125
       prepare_move();
1125 1126
       current_position[Z_AXIS]-=retract_zlift;
@@ -1137,7 +1138,7 @@ void refresh_cmd_timeout(void)
1137 1138
       current_position[E_AXIS]-=(retract_length+retract_recover_length)/volumetric_multiplier[active_extruder]; 
1138 1139
       plan_set_e_position(current_position[E_AXIS]);
1139 1140
       float oldFeedrate = feedrate;
1140
-      feedrate=retract_recover_feedrate;
1141
+      feedrate=retract_recover_feedrate*60;
1141 1142
       retracted=false;
1142 1143
       prepare_move();
1143 1144
       feedrate = oldFeedrate;
@@ -1286,7 +1287,12 @@ void process_commands()
1286 1287
         destination[X_AXIS] = 1.5 * max_length(X_AXIS) * x_axis_home_dir;destination[Y_AXIS] = 1.5 * max_length(Y_AXIS) * home_dir(Y_AXIS);
1287 1288
         feedrate = homing_feedrate[X_AXIS];
1288 1289
         if(homing_feedrate[Y_AXIS]<feedrate)
1289
-          feedrate =homing_feedrate[Y_AXIS];
1290
+          feedrate = homing_feedrate[Y_AXIS];
1291
+        if (max_length(X_AXIS) > max_length(Y_AXIS)) {
1292
+          feedrate *= sqrt(pow(max_length(Y_AXIS) / max_length(X_AXIS), 2) + 1);
1293
+        } else {
1294
+          feedrate *= sqrt(pow(max_length(X_AXIS) / max_length(Y_AXIS), 2) + 1);
1295
+        }
1290 1296
         plan_buffer_line(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS], destination[E_AXIS], feedrate/60, active_extruder);
1291 1297
         st_synchronize();
1292 1298
 
@@ -2268,8 +2274,6 @@ void process_commands()
2268 2274
             SERIAL_ECHO_START;
2269 2275
             SERIAL_ECHO(MSG_M200_INVALID_EXTRUDER);
2270 2276
           }
2271
-          SERIAL_ECHOLN(tmp_extruder);
2272
-          break;
2273 2277
         }
2274 2278
         volumetric_multiplier[tmp_extruder] = 1 / area;
2275 2279
       }
@@ -2341,7 +2345,7 @@ void process_commands()
2341 2345
       break;
2342 2346
     #endif
2343 2347
     #ifdef FWRETRACT
2344
-    case 207: //M207 - set retract length S[positive mm] F[feedrate mm/sec] Z[additional zlift/hop]
2348
+    case 207: //M207 - set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop]
2345 2349
     {
2346 2350
       if(code_seen('S'))
2347 2351
       {
@@ -2349,14 +2353,14 @@ void process_commands()
2349 2353
       }
2350 2354
       if(code_seen('F'))
2351 2355
       {
2352
-        retract_feedrate = code_value() ;
2356
+        retract_feedrate = code_value()/60 ;
2353 2357
       }
2354 2358
       if(code_seen('Z'))
2355 2359
       {
2356 2360
         retract_zlift = code_value() ;
2357 2361
       }
2358 2362
     }break;
2359
-    case 208: // M208 - set retract recover length S[positive mm surplus to the M207 S*] F[feedrate mm/sec]
2363
+    case 208: // M208 - set retract recover length S[positive mm surplus to the M207 S*] F[feedrate mm/min]
2360 2364
     {
2361 2365
       if(code_seen('S'))
2362 2366
       {
@@ -2364,7 +2368,7 @@ void process_commands()
2364 2368
       }
2365 2369
       if(code_seen('F'))
2366 2370
       {
2367
-        retract_recover_feedrate = code_value() ;
2371
+        retract_recover_feedrate = code_value()/60 ;
2368 2372
       }
2369 2373
     }break;
2370 2374
     case 209: // M209 - S<1=true/0=false> enable automatic retract detect if the slicer did not support G10/11: every normal extrude-only move will be classified as retract depending on the direction.
@@ -2721,6 +2725,43 @@ void process_commands()
2721 2725
     }
2722 2726
     break;
2723 2727
     #endif
2728
+
2729
+    #ifdef CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
2730
+    case CUSTOM_M_CODE_SET_Z_PROBE_OFFSET:
2731
+    {
2732
+      float value;
2733
+      if (code_seen('Z'))
2734
+      {
2735
+        value = code_value();
2736
+        if ((Z_PROBE_OFFSET_RANGE_MIN <= value) && (value <= Z_PROBE_OFFSET_RANGE_MAX))
2737
+        {
2738
+          zprobe_zoffset = -value; // compare w/ line 278 of ConfigurationStore.cpp
2739
+          SERIAL_ECHO_START;
2740
+          SERIAL_ECHOLNPGM(MSG_ZPROBE_ZOFFSET " " MSG_OK);
2741
+          SERIAL_PROTOCOLLN("");
2742
+        }
2743
+        else
2744
+        {
2745
+          SERIAL_ECHO_START;
2746
+          SERIAL_ECHOPGM(MSG_ZPROBE_ZOFFSET);
2747
+          SERIAL_ECHOPGM(MSG_Z_MIN);
2748
+          SERIAL_ECHO(Z_PROBE_OFFSET_RANGE_MIN);
2749
+          SERIAL_ECHOPGM(MSG_Z_MAX);
2750
+          SERIAL_ECHO(Z_PROBE_OFFSET_RANGE_MAX);
2751
+          SERIAL_PROTOCOLLN("");
2752
+        }
2753
+      }
2754
+      else
2755
+      {
2756
+          SERIAL_ECHO_START;
2757
+          SERIAL_ECHOLNPGM(MSG_ZPROBE_ZOFFSET " : ");
2758
+          SERIAL_ECHO(-zprobe_zoffset);
2759
+          SERIAL_PROTOCOLLN("");
2760
+      }
2761
+      break;
2762
+    }
2763
+    #endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
2764
+
2724 2765
     #ifdef FILAMENTCHANGEENABLE
2725 2766
     case 600: //Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal]
2726 2767
     {
@@ -3051,7 +3092,16 @@ void process_commands()
3051 3092
         // Set the new active extruder and position
3052 3093
         active_extruder = tmp_extruder;
3053 3094
       #endif //else DUAL_X_CARRIAGE
3095
+#ifdef DELTA 
3096
+
3097
+  calculate_delta(current_position); // change cartesian kinematic  to  delta kinematic;
3098
+   //sent position to plan_set_position();
3099
+  plan_set_position(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS],current_position[E_AXIS]);
3100
+            
3101
+#else
3054 3102
         plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
3103
+
3104
+#endif
3055 3105
         // Move to the old position if 'F' was in the parameters
3056 3106
         if(make_move && Stopped == false) {
3057 3107
            prepare_move();

+ 5
- 0
Marlin/digipot_mcp4451.cpp Visa fil

@@ -6,8 +6,13 @@
6 6
 #include "Wire.h"
7 7
 
8 8
 // Settings for the I2C based DIGIPOT (MCP4451) on Azteeg X3 Pro
9
+#if MOTHERBOARD == 88
10
+#define DIGIPOT_I2C_FACTOR 117.96
11
+#define DIGIPOT_I2C_MAX_CURRENT 1.736
12
+#else
9 13
 #define DIGIPOT_I2C_FACTOR 106.7
10 14
 #define DIGIPOT_I2C_MAX_CURRENT 2.5
15
+#endif
11 16
 
12 17
 static byte current_to_wiper( float current ){
13 18
     return byte(ceil(float((DIGIPOT_I2C_FACTOR*current))));

+ 725
- 0
Marlin/example_configurations/makibox/Configuration.h Visa fil

@@ -0,0 +1,725 @@
1
+#ifndef CONFIGURATION_H
2
+#define CONFIGURATION_H
3
+
4
+// This configuration file contains the basic settings.
5
+// Advanced settings can be found in Configuration_adv.h
6
+// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
7
+
8
+//===========================================================================
9
+//============================= DELTA Printer ===============================
10
+//===========================================================================
11
+// For a Delta printer replace the configuration files with the files in the
12
+// example_configurations/delta directory.
13
+//
14
+
15
+// User-specified version info of this build to display in [Pronterface, etc] terminal window during
16
+// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
17
+// build by the user have been successfully uploaded into firmware.
18
+#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
19
+#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
20
+
21
+// SERIAL_PORT selects which serial port should be used for communication with the host.
22
+// This allows the connection of wireless adapters (for instance) to non-default port pins.
23
+// Serial port 0 is still used by the Arduino bootloader regardless of this setting.
24
+#define SERIAL_PORT 0
25
+
26
+// This determines the communication speed of the printer
27
+// This determines the communication speed of the printer
28
+#define BAUDRATE 250000
29
+
30
+// This enables the serial port associated to the Bluetooth interface
31
+//#define BTENABLED              // Enable BT interface on AT90USB devices
32
+
33
+
34
+//// The following define selects which electronics board you have. Please choose the one that matches your setup
35
+// 10 = Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics"
36
+// 11 = Gen7 v1.1, v1.2 = 11
37
+// 12 = Gen7 v1.3
38
+// 13 = Gen7 v1.4
39
+// 2  = Cheaptronic v1.0
40
+// 20 = Sethi 3D_1
41
+// 3  = MEGA/RAMPS up to 1.2 = 3
42
+// 33 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed)
43
+// 34 = RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
44
+// 35 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
45
+// 4  = Duemilanove w/ ATMega328P pin assignment
46
+// 5  = Gen6
47
+// 51 = Gen6 deluxe
48
+// 6  = Sanguinololu < 1.2
49
+// 62 = Sanguinololu 1.2 and above
50
+// 63 = Melzi
51
+// 64 = STB V1.1
52
+// 65 = Azteeg X1
53
+// 66 = Melzi with ATmega1284 (MaKr3d version)
54
+// 67 = Azteeg X3
55
+// 68 = Azteeg X3 Pro
56
+// 7  = Ultimaker
57
+// 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare)
58
+// 72 = Ultimainboard 2.x (Uses TEMP_SENSOR 20)
59
+// 77 = 3Drag Controller
60
+// 8  = Teensylu
61
+// 80 = Rumba
62
+// 81 = Printrboard (AT90USB1286)
63
+// 82 = Brainwave (AT90USB646)
64
+// 83 = SAV Mk-I (AT90USB1286)
65
+// 9  = Gen3+
66
+// 70 = Megatronics
67
+// 701= Megatronics v2.0
68
+// 702= Minitronics v1.0
69
+// 90 = Alpha OMCA board
70
+// 91 = Final OMCA board
71
+// 301= Rambo
72
+// 21 = Elefu Ra Board (v3)
73
+// 88 = 5DPrint D8 Driver Board
74
+
75
+#ifndef MOTHERBOARD
76
+#define MOTHERBOARD 88
77
+#endif
78
+
79
+// Define this to set a custom name for your generic Mendel,
80
+// #define CUSTOM_MENDEL_NAME "This Mendel"
81
+
82
+// Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
83
+// You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)
84
+// #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
85
+
86
+// This defines the number of extruders
87
+#define EXTRUDERS 1
88
+
89
+//// The following define selects which power supply you have. Please choose the one that matches your setup
90
+// 1 = ATX
91
+// 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
92
+
93
+#define POWER_SUPPLY 1
94
+
95
+// Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
96
+// #define PS_DEFAULT_OFF
97
+
98
+//===========================================================================
99
+//=============================Thermal Settings  ============================
100
+//===========================================================================
101
+//
102
+//--NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table
103
+//
104
+//// Temperature sensor settings:
105
+// -2 is thermocouple with MAX6675 (only for sensor 0)
106
+// -1 is thermocouple with AD595
107
+// 0 is not used
108
+// 1 is 100k thermistor - best choice for EPCOS 100k (4.7k pullup)
109
+// 2 is 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup)
110
+// 3 is Mendel-parts thermistor (4.7k pullup)
111
+// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
112
+// 5 is 100K thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (4.7k pullup)
113
+// 6 is 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)
114
+// 7 is 100k Honeywell thermistor 135-104LAG-J01 (4.7k pullup)
115
+// 71 is 100k Honeywell thermistor 135-104LAF-J01 (4.7k pullup)
116
+// 8 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)
117
+// 9 is 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)
118
+// 10 is 100k RS thermistor 198-961 (4.7k pullup)
119
+// 11 is 100k beta 3950 1% thermistor (4.7k pullup)
120
+// 12 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)
121
+// 20 is the PT100 circuit found in the Ultimainboard V2.x
122
+// 60 is 100k Maker's Tool Works Kapton Bed Thermistor beta=3950
123
+//
124
+//    1k ohm pullup tables - This is not normal, you would have to have changed out your 4.7k for 1k
125
+//                          (but gives greater accuracy and more stable PID)
126
+// 51 is 100k thermistor - EPCOS (1k pullup)
127
+// 52 is 200k thermistor - ATC Semitec 204GT-2 (1k pullup)
128
+// 55 is 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (1k pullup)
129
+//
130
+// 1047 is Pt1000 with 4k7 pullup
131
+// 1010 is Pt1000 with 1k pullup (non standard)
132
+// 147 is Pt100 with 4k7 pullup
133
+// 110 is Pt100 with 1k pullup (non standard)
134
+
135
+#define TEMP_SENSOR_0 1
136
+#define TEMP_SENSOR_1 0
137
+#define TEMP_SENSOR_2 0
138
+#define TEMP_SENSOR_BED 12
139
+
140
+// This makes temp sensor 1 a redundant sensor for sensor 0. If the temperatures difference between these sensors is to high the print will be aborted.
141
+//#define TEMP_SENSOR_1_AS_REDUNDANT
142
+#define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10
143
+
144
+// Actual temperature must be close to target for this long before M109 returns success
145
+#define TEMP_RESIDENCY_TIME 10  // (seconds)
146
+#define TEMP_HYSTERESIS 3       // (degC) range of +/- temperatures considered "close" to the target one
147
+#define TEMP_WINDOW     1       // (degC) Window around target to start the residency timer x degC early.
148
+
149
+// The minimal temperature defines the temperature below which the heater will not be enabled It is used
150
+// to check that the wiring to the thermistor is not broken.
151
+// Otherwise this would lead to the heater being powered on all the time.
152
+#define HEATER_0_MINTEMP 5
153
+#define HEATER_1_MINTEMP 5
154
+#define HEATER_2_MINTEMP 5
155
+#define BED_MINTEMP 5
156
+
157
+// When temperature exceeds max temp, your heater will be switched off.
158
+// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
159
+// You should use MINTEMP for thermistor short/failure protection.
160
+#define HEATER_0_MAXTEMP 275
161
+#define HEATER_1_MAXTEMP 275
162
+#define HEATER_2_MAXTEMP 275
163
+#define BED_MAXTEMP 150
164
+
165
+// If your bed has low resistance e.g. .6 ohm and throws the fuse you can duty cycle it to reduce the
166
+// average current. The value should be an integer and the heat bed will be turned on for 1 interval of
167
+// HEATER_BED_DUTY_CYCLE_DIVIDER intervals.
168
+//#define HEATER_BED_DUTY_CYCLE_DIVIDER 4
169
+
170
+// If you want the M105 heater power reported in watts, define the BED_WATTS, and (shared for all extruders) EXTRUDER_WATTS
171
+//#define EXTRUDER_WATTS (12.0*12.0/6.7) //  P=I^2/R
172
+//#define BED_WATTS (12.0*12.0/1.1)      // P=I^2/R
173
+
174
+// PID settings:
175
+// Comment the following line to disable PID and enable bang-bang.
176
+#define PIDTEMP
177
+#define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
178
+#define PID_MAX 255 // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
179
+#ifdef PIDTEMP
180
+  //#define PID_DEBUG // Sends debug data to the serial port.
181
+  //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
182
+  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
183
+                                  // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
184
+  #define PID_INTEGRAL_DRIVE_MAX 255  //limit for the integral term
185
+  #define K1 0.95 //smoothing factor within the PID
186
+  #define PID_dT ((OVERSAMPLENR * 8.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the temperature routine
187
+
188
+// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
189
+// Ultimaker
190
+    #define  DEFAULT_Kp 22.2
191
+    #define  DEFAULT_Ki 1.08
192
+    #define  DEFAULT_Kd 114
193
+
194
+// MakerGear
195
+//    #define  DEFAULT_Kp 7.0
196
+//    #define  DEFAULT_Ki 0.1
197
+//    #define  DEFAULT_Kd 12
198
+
199
+// Mendel Parts V9 on 12V
200
+//    #define  DEFAULT_Kp 63.0
201
+//    #define  DEFAULT_Ki 2.25
202
+//    #define  DEFAULT_Kd 440
203
+#endif // PIDTEMP
204
+
205
+// Bed Temperature Control
206
+// Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis
207
+//
208
+// Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder.
209
+// If your PID_dT above is the default, and correct for your hardware/configuration, that means 7.689Hz,
210
+// which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating.
211
+// This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater.
212
+// If your configuration is significantly different than this and you don't understand the issues involved, you probably
213
+// shouldn't use bed PID until someone else verifies your hardware works.
214
+// If this is enabled, find your own PID constants below.
215
+//#define PIDTEMPBED
216
+//
217
+//#define BED_LIMIT_SWITCHING
218
+
219
+// This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option.
220
+// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)
221
+// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,
222
+// so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
223
+#define MAX_BED_POWER 175 // limits duty cycle to bed; 255=full current
224
+// This limit is set to 175 by default in the Makibox configuration and it can adjusted
225
+// to increase the heat up rate. However, if changed, user must be aware of the safety concerns
226
+// of drawing too much current from the power supply.
227
+
228
+#ifdef PIDTEMPBED
229
+//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
230
+//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
231
+    #define  DEFAULT_bedKp 10.00
232
+    #define  DEFAULT_bedKi .023
233
+    #define  DEFAULT_bedKd 305.4
234
+
235
+//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
236
+//from pidautotune
237
+//    #define  DEFAULT_bedKp 97.1
238
+//    #define  DEFAULT_bedKi 1.41
239
+//    #define  DEFAULT_bedKd 1675.16
240
+
241
+// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
242
+#endif // PIDTEMPBED
243
+
244
+
245
+
246
+//this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
247
+//can be software-disabled for whatever purposes by
248
+#define PREVENT_DANGEROUS_EXTRUDE
249
+//if PREVENT_DANGEROUS_EXTRUDE is on, you can still disable (uncomment) very long bits of extrusion separately.
250
+#define PREVENT_LENGTHY_EXTRUDE
251
+
252
+#define EXTRUDE_MINTEMP 170
253
+#define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.
254
+
255
+//===========================================================================
256
+//=============================Mechanical Settings===========================
257
+//===========================================================================
258
+
259
+// Uncomment the following line to enable CoreXY kinematics
260
+// #define COREXY
261
+
262
+// coarse Endstop Settings
263
+#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
264
+
265
+#ifndef ENDSTOPPULLUPS
266
+  // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
267
+  // #define ENDSTOPPULLUP_XMAX
268
+  // #define ENDSTOPPULLUP_YMAX
269
+  // #define ENDSTOPPULLUP_ZMAX
270
+  // #define ENDSTOPPULLUP_XMIN
271
+  // #define ENDSTOPPULLUP_YMIN
272
+  // #define ENDSTOPPULLUP_ZMIN
273
+#endif
274
+
275
+#ifdef ENDSTOPPULLUPS
276
+  #define ENDSTOPPULLUP_XMAX
277
+  #define ENDSTOPPULLUP_YMAX
278
+  #define ENDSTOPPULLUP_ZMAX
279
+  #define ENDSTOPPULLUP_XMIN
280
+  #define ENDSTOPPULLUP_YMIN
281
+  #define ENDSTOPPULLUP_ZMIN
282
+#endif
283
+
284
+// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
285
+const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
286
+const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
287
+const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
288
+const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
289
+const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
290
+const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
291
+//#define DISABLE_MAX_ENDSTOPS
292
+//#define DISABLE_MIN_ENDSTOPS
293
+
294
+// Disable max endstops for compatibility with endstop checking routine
295
+#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
296
+  #define DISABLE_MAX_ENDSTOPS
297
+#endif
298
+
299
+// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
300
+#define X_ENABLE_ON 0
301
+#define Y_ENABLE_ON 0
302
+#define Z_ENABLE_ON 0
303
+#define E_ENABLE_ON 0 // For all extruders
304
+
305
+// Disables axis when it's not being used.
306
+#define DISABLE_X false
307
+#define DISABLE_Y false
308
+#define DISABLE_Z false
309
+#define DISABLE_E false // For all extruders
310
+
311
+#define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true
312
+#define INVERT_Y_DIR false    // for Mendel set to true, for Orca set to false
313
+#define INVERT_Z_DIR false    // for Mendel set to false, for Orca set to true
314
+#define INVERT_E0_DIR true   // for direct drive extruder v9 set to true, for geared extruder set to false
315
+#define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false
316
+#define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
317
+
318
+// ENDSTOP SETTINGS:
319
+// Sets direction of endstops when homing; 1=MAX, -1=MIN
320
+#define X_HOME_DIR -1
321
+#define Y_HOME_DIR -1
322
+#define Z_HOME_DIR -1
323
+
324
+#define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
325
+#define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
326
+
327
+// Travel limits after homing
328
+#define X_MAX_POS 110
329
+#define X_MIN_POS 0
330
+#define Y_MAX_POS 150
331
+#define Y_MIN_POS 0
332
+#define Z_MAX_POS 86
333
+#define Z_MIN_POS 0
334
+
335
+#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
336
+#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
337
+#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
338
+//============================= Bed Auto Leveling ===========================
339
+
340
+//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
341
+
342
+#ifdef ENABLE_AUTO_BED_LEVELING
343
+
344
+// There are 2 different ways to pick the X and Y locations to probe:
345
+
346
+//  - "grid" mode
347
+//    Probe every point in a rectangular grid
348
+//    You must specify the rectangle, and the density of sample points
349
+//    This mode is preferred because there are more measurements.
350
+//    It used to be called ACCURATE_BED_LEVELING but "grid" is more descriptive
351
+
352
+//  - "3-point" mode
353
+//    Probe 3 arbitrary points on the bed (that aren't colinear)
354
+//    You must specify the X & Y coordinates of all 3 points
355
+
356
+  #define AUTO_BED_LEVELING_GRID
357
+  // with AUTO_BED_LEVELING_GRID, the bed is sampled in a
358
+  // AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid
359
+  // and least squares solution is calculated
360
+  // Note: this feature occupies 10'206 byte
361
+  #ifdef AUTO_BED_LEVELING_GRID
362
+
363
+    // set the rectangle in which to probe
364
+    #define LEFT_PROBE_BED_POSITION 15
365
+    #define RIGHT_PROBE_BED_POSITION 170
366
+    #define BACK_PROBE_BED_POSITION 180
367
+    #define FRONT_PROBE_BED_POSITION 20
368
+
369
+     // set the number of grid points per dimension
370
+     // I wouldn't see a reason to go above 3 (=9 probing points on the bed)
371
+    #define AUTO_BED_LEVELING_GRID_POINTS 2
372
+
373
+
374
+  #else  // not AUTO_BED_LEVELING_GRID
375
+    // with no grid, just probe 3 arbitrary points.  A simple cross-product
376
+    // is used to esimate the plane of the print bed
377
+
378
+      #define ABL_PROBE_PT_1_X 15
379
+      #define ABL_PROBE_PT_1_Y 180
380
+      #define ABL_PROBE_PT_2_X 15
381
+      #define ABL_PROBE_PT_2_Y 20
382
+      #define ABL_PROBE_PT_3_X 170
383
+      #define ABL_PROBE_PT_3_Y 20
384
+
385
+  #endif // AUTO_BED_LEVELING_GRID
386
+
387
+
388
+  // these are the offsets to the probe relative to the extruder tip (Hotend - Probe)
389
+  #define X_PROBE_OFFSET_FROM_EXTRUDER -25
390
+  #define Y_PROBE_OFFSET_FROM_EXTRUDER -29
391
+  #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35
392
+
393
+  #define Z_RAISE_BEFORE_HOMING 4       // (in mm) Raise Z before homing (G28) for Probe Clearance.
394
+                                        // Be sure you have this distance over your Z_MAX_POS in case
395
+
396
+  #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min
397
+
398
+  #define Z_RAISE_BEFORE_PROBING 15    //How much the extruder will be raised before traveling to the first probing point.
399
+  #define Z_RAISE_BETWEEN_PROBINGS 5  //How much the extruder will be raised when traveling from between next probing points
400
+
401
+
402
+  //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
403
+  //The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.
404
+  // You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.
405
+
406
+//  #define PROBE_SERVO_DEACTIVATION_DELAY 300
407
+
408
+
409
+//If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing,
410
+//it is highly recommended you let this Z_SAFE_HOMING enabled!!!
411
+
412
+  #define Z_SAFE_HOMING   // This feature is meant to avoid Z homing with probe outside the bed area.
413
+                          // When defined, it will:
414
+                          // - Allow Z homing only after X and Y homing AND stepper drivers still enabled
415
+                          // - If stepper drivers timeout, it will need X and Y homing again before Z homing
416
+                          // - Position the probe in a defined XY point before Z Homing when homing all axis (G28)
417
+                          // - Block Z homing only when the probe is outside bed area.
418
+
419
+  #ifdef Z_SAFE_HOMING
420
+
421
+    #define Z_SAFE_HOMING_X_POINT (X_MAX_LENGTH/2)    // X point for Z homing when homing all axis (G28)
422
+    #define Z_SAFE_HOMING_Y_POINT (Y_MAX_LENGTH/2)    // Y point for Z homing when homing all axis (G28)
423
+
424
+  #endif
425
+
426
+#endif // ENABLE_AUTO_BED_LEVELING
427
+
428
+
429
+// The position of the homing switches
430
+//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
431
+//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
432
+
433
+//Manual homing switch locations:
434
+// For deltabots this means top and center of the Cartesian print volume.
435
+#define MANUAL_X_HOME_POS 0
436
+#define MANUAL_Y_HOME_POS 0
437
+#define MANUAL_Z_HOME_POS 0
438
+//#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
439
+
440
+//// MOVEMENT SETTINGS
441
+#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
442
+#define HOMING_FEEDRATE {1500, 1500, 120, 0}  // set the homing speeds (mm/min)   ***** MakiBox A6 *****
443
+
444
+// default settings
445
+
446
+#define DEFAULT_AXIS_STEPS_PER_UNIT   {400, 400, 400, 163}     // default steps per unit for ***** MakiBox A6 *****
447
+#define DEFAULT_MAX_FEEDRATE          {60, 60, 20, 45}         // (mm/sec)    
448
+#define DEFAULT_MAX_ACCELERATION      {2000,2000,30,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.
449
+
450
+#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E max acceleration in mm/s^2 for printing moves
451
+#define DEFAULT_RETRACT_ACCELERATION  3000   // X, Y, Z and E max acceleration in mm/s^2 for retracts
452
+
453
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
454
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
455
+// For the other hotends it is their distance from the extruder 0 hotend.
456
+// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
457
+// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
458
+
459
+// The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
460
+#define DEFAULT_XYJERK                20.0    // (mm/sec)
461
+#define DEFAULT_ZJERK                 0.4     // (mm/sec)
462
+#define DEFAULT_EJERK                 5.0    // (mm/sec)
463
+
464
+//===========================================================================
465
+//=============================Additional Features===========================
466
+//===========================================================================
467
+
468
+// Custom M code points
469
+#define CUSTOM_M_CODES
470
+#ifdef CUSTOM_M_CODES
471
+  #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
472
+  #define Z_PROBE_OFFSET_RANGE_MIN -15
473
+  #define Z_PROBE_OFFSET_RANGE_MAX -5
474
+#endif
475
+
476
+
477
+// EEPROM
478
+// The microcontroller can store settings in the EEPROM, e.g. max velocity...
479
+// M500 - stores parameters in EEPROM
480
+// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
481
+// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
482
+//define this to enable EEPROM support
483
+#define EEPROM_SETTINGS
484
+//to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
485
+// please keep turned on if you can.
486
+//#define EEPROM_CHITCHAT
487
+
488
+// Preheat Constants
489
+#define PLA_PREHEAT_HOTEND_TEMP 180
490
+#define PLA_PREHEAT_HPB_TEMP 70
491
+#define PLA_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
492
+
493
+#define ABS_PREHEAT_HOTEND_TEMP 240
494
+#define ABS_PREHEAT_HPB_TEMP 100
495
+#define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
496
+
497
+//LCD and SD support
498
+//#define ULTRA_LCD  //general LCD support, also 16x2
499
+//#define DOGLCD  // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
500
+#define SDSUPPORT // Enable SD Card Support in Hardware Console
501
+#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
502
+//#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
503
+//#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
504
+//#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
505
+//#define ULTIPANEL  //the UltiPanel as on Thingiverse
506
+//#define LCD_FEEDBACK_FREQUENCY_HZ 1000	// this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
507
+//#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
508
+
509
+// The MaKr3d Makr-Panel with graphic controller and SD support
510
+// http://reprap.org/wiki/MaKr3d_MaKrPanel
511
+//#define MAKRPANEL
512
+
513
+// The RepRapDiscount Smart Controller (white PCB)
514
+// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
515
+//#define REPRAP_DISCOUNT_SMART_CONTROLLER
516
+
517
+// The GADGETS3D G3D LCD/SD Controller (blue PCB)
518
+// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
519
+//#define G3D_PANEL
520
+
521
+// The RepRapDiscount FULL GRAPHIC Smart Controller (quadratic white PCB)
522
+// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
523
+//
524
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
525
+//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
526
+
527
+// The RepRapWorld REPRAPWORLD_KEYPAD v1.1
528
+// http://reprapworld.com/?products_details&products_id=202&cPath=1591_1626
529
+//#define REPRAPWORLD_KEYPAD
530
+//#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 // how much should be moved when a key is pressed, eg 10.0 means 10mm per click
531
+
532
+// The Elefu RA Board Control Panel
533
+// http://www.elefu.com/index.php?route=product/product&product_id=53
534
+// REMEMBER TO INSTALL LiquidCrystal_I2C.h in your ARUDINO library folder: https://github.com/kiyoshigawa/LiquidCrystal_I2C
535
+//#define RA_CONTROL_PANEL
536
+
537
+//automatic expansion
538
+#if defined (MAKRPANEL)
539
+ #define DOGLCD
540
+ #define SDSUPPORT
541
+ #define ULTIPANEL
542
+ #define NEWPANEL
543
+ #define DEFAULT_LCD_CONTRAST 17
544
+#endif
545
+
546
+#if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
547
+ #define DOGLCD
548
+ #define U8GLIB_ST7920
549
+ #define REPRAP_DISCOUNT_SMART_CONTROLLER
550
+#endif
551
+
552
+#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
553
+ #define ULTIPANEL
554
+ #define NEWPANEL
555
+#endif
556
+
557
+#if defined(REPRAPWORLD_KEYPAD)
558
+  #define NEWPANEL
559
+  #define ULTIPANEL
560
+#endif
561
+#if defined(RA_CONTROL_PANEL)
562
+ #define ULTIPANEL
563
+ #define NEWPANEL
564
+ #define LCD_I2C_TYPE_PCA8574
565
+ #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
566
+#endif
567
+
568
+//I2C PANELS
569
+
570
+//#define LCD_I2C_SAINSMART_YWROBOT
571
+#ifdef LCD_I2C_SAINSMART_YWROBOT
572
+  // This uses the LiquidCrystal_I2C library ( https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home )
573
+  // Make sure it is placed in the Arduino libraries directory.
574
+  #define LCD_I2C_TYPE_PCF8575
575
+  #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
576
+  #define NEWPANEL
577
+  #define ULTIPANEL
578
+#endif
579
+
580
+// PANELOLU2 LCD with status LEDs, separate encoder and click inputs
581
+//#define LCD_I2C_PANELOLU2
582
+#ifdef LCD_I2C_PANELOLU2
583
+  // This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
584
+  // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
585
+  // (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file)
586
+  // Note: The PANELOLU2 encoder click input can either be directly connected to a pin
587
+  //       (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1).
588
+  #define LCD_I2C_TYPE_MCP23017
589
+  #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
590
+  #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD
591
+  #define NEWPANEL
592
+  #define ULTIPANEL
593
+
594
+  #ifndef ENCODER_PULSES_PER_STEP
595
+	#define ENCODER_PULSES_PER_STEP 4
596
+  #endif
597
+
598
+  #ifndef ENCODER_STEPS_PER_MENU_ITEM
599
+	#define ENCODER_STEPS_PER_MENU_ITEM 1
600
+  #endif
601
+
602
+
603
+  #ifdef LCD_USE_I2C_BUZZER
604
+	#define LCD_FEEDBACK_FREQUENCY_HZ 1000
605
+	#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100
606
+  #endif
607
+
608
+#endif
609
+
610
+// Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
611
+//#define LCD_I2C_VIKI
612
+#ifdef LCD_I2C_VIKI
613
+  // This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
614
+  // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
615
+  // Note: The pause/stop/resume LCD button pin should be connected to the Arduino
616
+  //       BTN_ENC pin (or set BTN_ENC to -1 if not used)
617
+  #define LCD_I2C_TYPE_MCP23017
618
+  #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
619
+  #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
620
+  #define NEWPANEL
621
+  #define ULTIPANEL
622
+#endif
623
+
624
+// Shift register panels
625
+// ---------------------
626
+// 2 wire Non-latching LCD SR from:
627
+// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
628
+//#define SR_LCD
629
+#ifdef SR_LCD
630
+   #define SR_LCD_2W_NL    // Non latching 2 wire shift register
631
+   //#define NEWPANEL
632
+#endif
633
+
634
+
635
+#ifdef ULTIPANEL
636
+//  #define NEWPANEL  //enable this if you have a click-encoder panel
637
+  #define SDSUPPORT
638
+  #define ULTRA_LCD
639
+  #ifdef DOGLCD // Change number of lines to match the DOG graphic display
640
+    #define LCD_WIDTH 20
641
+    #define LCD_HEIGHT 5
642
+  #else
643
+    #define LCD_WIDTH 20
644
+    #define LCD_HEIGHT 4
645
+  #endif
646
+#else //no panel but just LCD
647
+  #ifdef ULTRA_LCD
648
+  #ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
649
+    #define LCD_WIDTH 20
650
+    #define LCD_HEIGHT 5
651
+  #else
652
+    #define LCD_WIDTH 16
653
+    #define LCD_HEIGHT 2
654
+  #endif
655
+  #endif
656
+#endif
657
+
658
+// default LCD contrast for dogm-like LCD displays
659
+#ifdef DOGLCD
660
+# ifndef DEFAULT_LCD_CONTRAST
661
+#  define DEFAULT_LCD_CONTRAST 32
662
+# endif
663
+#endif
664
+
665
+// Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
666
+//#define FAST_PWM_FAN
667
+
668
+// Temperature status LEDs that display the hotend and bet temperature.
669
+// If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
670
+// Otherwise the RED led is on. There is 1C hysteresis.
671
+//#define TEMP_STAT_LEDS
672
+
673
+// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
674
+// which is not ass annoying as with the hardware PWM. On the other hand, if this frequency
675
+// is too low, you should also increment SOFT_PWM_SCALE.
676
+//#define FAN_SOFT_PWM
677
+
678
+// Incrementing this by 1 will double the software PWM frequency,
679
+// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
680
+// However, control resolution will be halved for each increment;
681
+// at zero value, there are 128 effective control positions.
682
+#define SOFT_PWM_SCALE 0
683
+
684
+// M240  Triggers a camera by emulating a Canon RC-1 Remote
685
+// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
686
+// #define PHOTOGRAPH_PIN     23
687
+
688
+// SF send wrong arc g-codes when using Arc Point as fillet procedure
689
+//#define SF_ARC_FIX
690
+
691
+// Support for the BariCUDA Paste Extruder.
692
+//#define BARICUDA
693
+
694
+//define BlinkM/CyzRgb Support
695
+//#define BLINKM
696
+
697
+/*********************************************************************\
698
+* R/C SERVO support
699
+* Sponsored by TrinityLabs, Reworked by codexmas
700
+**********************************************************************/
701
+
702
+// Number of servos
703
+//
704
+// If you select a configuration below, this will receive a default value and does not need to be set manually
705
+// set it manually if you have more servos than extruders and wish to manually control some
706
+// leaving it undefined or defining as 0 will disable the servo subsystem
707
+// If unsure, leave commented / disabled
708
+//
709
+//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
710
+
711
+// Servo Endstops
712
+//
713
+// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
714
+// Use M206 command to correct for switch height offset to actual nozzle height. Store that setting with M500.
715
+//
716
+
717
+#define DIGIPOT_I2C
718
+
719
+//#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
720
+//#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 70,0} // X,Y,Z Axis Extend and Retract angles
721
+
722
+#include "Configuration_adv.h"
723
+#include "thermistortables.h"
724
+
725
+#endif //__CONFIGURATION_H

+ 498
- 0
Marlin/example_configurations/makibox/Configuration_adv.h Visa fil

@@ -0,0 +1,498 @@
1
+#ifndef CONFIGURATION_ADV_H
2
+#define CONFIGURATION_ADV_H
3
+
4
+//===========================================================================
5
+//=============================Thermal Settings  ============================
6
+//===========================================================================
7
+
8
+#ifdef BED_LIMIT_SWITCHING
9
+  #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
10
+#endif
11
+#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
12
+
13
+//// Heating sanity check:
14
+// This waits for the watch period in milliseconds whenever an M104 or M109 increases the target temperature
15
+// If the temperature has not increased at the end of that period, the target temperature is set to zero.
16
+// It can be reset with another M104/M109. This check is also only triggered if the target temperature and the current temperature
17
+//  differ by at least 2x WATCH_TEMP_INCREASE
18
+//#define WATCH_TEMP_PERIOD 40000 //40 seconds
19
+//#define WATCH_TEMP_INCREASE 10  //Heat up at least 10 degree in 20 seconds
20
+
21
+#ifdef PIDTEMP
22
+  // this adds an experimental additional term to the heating power, proportional to the extrusion speed.
23
+  // if Kc is chosen well, the additional required power due to increased melting should be compensated.
24
+  #define PID_ADD_EXTRUSION_RATE
25
+  #ifdef PID_ADD_EXTRUSION_RATE
26
+    #define  DEFAULT_Kc (1) //heating power=Kc*(e_speed)
27
+  #endif
28
+#endif
29
+
30
+
31
+//automatic temperature: The hot end target temperature is calculated by all the buffered lines of gcode.
32
+//The maximum buffered steps/sec of the extruder motor are called "se".
33
+//You enter the autotemp mode by a M109 S<mintemp> T<maxtemp> F<factor>
34
+// the target temperature is set to mintemp+factor*se[steps/sec] and limited by mintemp and maxtemp
35
+// you exit the value by any M109 without F*
36
+// Also, if the temperature is set to a value <mintemp, it is not changed by autotemp.
37
+// on an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode
38
+#define AUTOTEMP
39
+#ifdef AUTOTEMP
40
+  #define AUTOTEMP_OLDWEIGHT 0.98
41
+#endif
42
+
43
+//Show Temperature ADC value
44
+//The M105 command return, besides traditional information, the ADC value read from temperature sensors.
45
+//#define SHOW_TEMP_ADC_VALUES
46
+
47
+//  extruder run-out prevention.
48
+//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
49
+//#define EXTRUDER_RUNOUT_PREVENT
50
+#define EXTRUDER_RUNOUT_MINTEMP 190
51
+#define EXTRUDER_RUNOUT_SECONDS 30.
52
+#define EXTRUDER_RUNOUT_ESTEPS 14. //mm filament
53
+#define EXTRUDER_RUNOUT_SPEED 1500.  //extrusion speed
54
+#define EXTRUDER_RUNOUT_EXTRUDE 100
55
+
56
+//These defines help to calibrate the AD595 sensor in case you get wrong temperature measurements.
57
+//The measured temperature is defined as "actualTemp = (measuredTemp * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET"
58
+#define TEMP_SENSOR_AD595_OFFSET 0.0
59
+#define TEMP_SENSOR_AD595_GAIN   1.0
60
+
61
+//This is for controlling a fan to cool down the stepper drivers
62
+//it will turn on when any driver is enabled
63
+//and turn off after the set amount of seconds from last driver being disabled again
64
+#define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
65
+#define CONTROLLERFAN_SECS 60 //How many seconds, after all motors were disabled, the fan should run
66
+#define CONTROLLERFAN_SPEED 255  // == full speed
67
+
68
+// When first starting the main fan, run it at full speed for the
69
+// given number of milliseconds.  This gets the fan spinning reliably
70
+// before setting a PWM value. (Does not work with software PWM for fan on Sanguinololu)
71
+//#define FAN_KICKSTART_TIME 100
72
+
73
+// Extruder cooling fans
74
+// Configure fan pin outputs to automatically turn on/off when the associated
75
+// extruder temperature is above/below EXTRUDER_AUTO_FAN_TEMPERATURE.
76
+// Multiple extruders can be assigned to the same pin in which case
77
+// the fan will turn on when any selected extruder is above the threshold.
78
+#define EXTRUDER_0_AUTO_FAN_PIN   -1
79
+#define EXTRUDER_1_AUTO_FAN_PIN   -1
80
+#define EXTRUDER_2_AUTO_FAN_PIN   -1
81
+#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
82
+#define EXTRUDER_AUTO_FAN_SPEED   255  // == full speed
83
+
84
+
85
+//===========================================================================
86
+//=============================Mechanical Settings===========================
87
+//===========================================================================
88
+
89
+#define ENDSTOPS_ONLY_FOR_HOMING // If defined the endstops will only be used for homing
90
+
91
+
92
+//// AUTOSET LOCATIONS OF LIMIT SWITCHES
93
+//// Added by ZetaPhoenix 09-15-2012
94
+#ifdef MANUAL_HOME_POSITIONS  // Use manual limit switch locations
95
+  #define X_HOME_POS MANUAL_X_HOME_POS
96
+  #define Y_HOME_POS MANUAL_Y_HOME_POS
97
+  #define Z_HOME_POS MANUAL_Z_HOME_POS
98
+#else //Set min/max homing switch positions based upon homing direction and min/max travel limits
99
+  //X axis
100
+  #if X_HOME_DIR == -1
101
+    #ifdef BED_CENTER_AT_0_0
102
+      #define X_HOME_POS X_MAX_LENGTH * -0.5
103
+    #else
104
+      #define X_HOME_POS X_MIN_POS
105
+    #endif //BED_CENTER_AT_0_0
106
+  #else
107
+    #ifdef BED_CENTER_AT_0_0
108
+      #define X_HOME_POS X_MAX_LENGTH * 0.5
109
+    #else
110
+      #define X_HOME_POS X_MAX_POS
111
+    #endif //BED_CENTER_AT_0_0
112
+  #endif //X_HOME_DIR == -1
113
+
114
+  //Y axis
115
+  #if Y_HOME_DIR == -1
116
+    #ifdef BED_CENTER_AT_0_0
117
+      #define Y_HOME_POS Y_MAX_LENGTH * -0.5
118
+    #else
119
+      #define Y_HOME_POS Y_MIN_POS
120
+    #endif //BED_CENTER_AT_0_0
121
+  #else
122
+    #ifdef BED_CENTER_AT_0_0
123
+      #define Y_HOME_POS Y_MAX_LENGTH * 0.5
124
+    #else
125
+      #define Y_HOME_POS Y_MAX_POS
126
+    #endif //BED_CENTER_AT_0_0
127
+  #endif //Y_HOME_DIR == -1
128
+
129
+  // Z axis
130
+  #if Z_HOME_DIR == -1 //BED_CENTER_AT_0_0 not used
131
+    #define Z_HOME_POS Z_MIN_POS
132
+  #else
133
+    #define Z_HOME_POS Z_MAX_POS
134
+  #endif //Z_HOME_DIR == -1
135
+#endif //End auto min/max positions
136
+//END AUTOSET LOCATIONS OF LIMIT SWITCHES -ZP
137
+
138
+
139
+//#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
140
+
141
+// A single Z stepper driver is usually used to drive 2 stepper motors.
142
+// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
143
+// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
144
+// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
145
+// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
146
+//#define Z_DUAL_STEPPER_DRIVERS
147
+
148
+#ifdef Z_DUAL_STEPPER_DRIVERS
149
+  #undef EXTRUDERS
150
+  #define EXTRUDERS 1
151
+#endif
152
+
153
+// Same again but for Y Axis.
154
+//#define Y_DUAL_STEPPER_DRIVERS
155
+
156
+// Define if the two Y drives need to rotate in opposite directions
157
+#define INVERT_Y2_VS_Y_DIR true
158
+
159
+#ifdef Y_DUAL_STEPPER_DRIVERS
160
+  #undef EXTRUDERS
161
+  #define EXTRUDERS 1
162
+#endif
163
+
164
+#if defined (Z_DUAL_STEPPER_DRIVERS) && defined (Y_DUAL_STEPPER_DRIVERS)
165
+  #error "You cannot have dual drivers for both Y and Z"
166
+#endif
167
+
168
+// Enable this for dual x-carriage printers.
169
+// A dual x-carriage design has the advantage that the inactive extruder can be parked which
170
+// prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage
171
+// allowing faster printing speeds.
172
+//#define DUAL_X_CARRIAGE
173
+#ifdef DUAL_X_CARRIAGE
174
+// Configuration for second X-carriage
175
+// Note: the first x-carriage is defined as the x-carriage which homes to the minimum endstop;
176
+// the second x-carriage always homes to the maximum endstop.
177
+#define X2_MIN_POS 80     // set minimum to ensure second x-carriage doesn't hit the parked first X-carriage
178
+#define X2_MAX_POS 353    // set maximum to the distance between toolheads when both heads are homed
179
+#define X2_HOME_DIR 1     // the second X-carriage always homes to the maximum endstop position
180
+#define X2_HOME_POS X2_MAX_POS // default home position is the maximum carriage position
181
+    // However: In this mode the EXTRUDER_OFFSET_X value for the second extruder provides a software
182
+    // override for X2_HOME_POS. This also allow recalibration of the distance between the two endstops
183
+    // without modifying the firmware (through the "M218 T1 X???" command).
184
+    // Remember: you should set the second extruder x-offset to 0 in your slicer.
185
+
186
+// Pins for second x-carriage stepper driver (defined here to avoid further complicating pins.h)
187
+#define X2_ENABLE_PIN 29
188
+#define X2_STEP_PIN 25
189
+#define X2_DIR_PIN 23
190
+
191
+// There are a few selectable movement modes for dual x-carriages using M605 S<mode>
192
+//    Mode 0: Full control. The slicer has full control over both x-carriages and can achieve optimal travel results
193
+//                           as long as it supports dual x-carriages. (M605 S0)
194
+//    Mode 1: Auto-park mode. The firmware will automatically park and unpark the x-carriages on tool changes so
195
+//                           that additional slicer support is not required. (M605 S1)
196
+//    Mode 2: Duplication mode. The firmware will transparently make the second x-carriage and extruder copy all
197
+//                           actions of the first x-carriage. This allows the printer to print 2 arbitrary items at
198
+//                           once. (2nd extruder x offset and temp offset are set using: M605 S2 [Xnnn] [Rmmm])
199
+
200
+// This is the default power-up mode which can be later using M605.
201
+#define DEFAULT_DUAL_X_CARRIAGE_MODE 0
202
+
203
+// As the x-carriages are independent we can now account for any relative Z offset
204
+#define EXTRUDER1_Z_OFFSET 0.0           // z offset relative to extruder 0
205
+
206
+// Default settings in "Auto-park Mode"
207
+#define TOOLCHANGE_PARK_ZLIFT   0.2      // the distance to raise Z axis when parking an extruder
208
+#define TOOLCHANGE_UNPARK_ZLIFT 1        // the distance to raise Z axis when unparking an extruder
209
+
210
+// Default x offset in duplication mode (typically set to half print bed width)
211
+#define DEFAULT_DUPLICATION_X_OFFSET 100
212
+
213
+#endif //DUAL_X_CARRIAGE
214
+
215
+//homing hits the endstop, then retracts by this distance, before it tries to slowly bump again:
216
+#define X_HOME_RETRACT_MM 5
217
+#define Y_HOME_RETRACT_MM 5
218
+#define Z_HOME_RETRACT_MM 2
219
+//#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
220
+
221
+#define AXIS_RELATIVE_MODES {false, false, false, false}
222
+
223
+#define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
224
+
225
+//By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
226
+#define INVERT_X_STEP_PIN false
227
+#define INVERT_Y_STEP_PIN false
228
+#define INVERT_Z_STEP_PIN false
229
+#define INVERT_E_STEP_PIN false
230
+
231
+//default stepper release if idle
232
+#define DEFAULT_STEPPER_DEACTIVE_TIME 60
233
+
234
+#define DEFAULT_MINIMUMFEEDRATE       0.0     // minimum feedrate
235
+#define DEFAULT_MINTRAVELFEEDRATE     0.0
236
+
237
+// Feedrates for manual moves along X, Y, Z, E from panel
238
+#ifdef ULTIPANEL
239
+#define MANUAL_FEEDRATE {50*60, 50*60, 4*60, 60}  // set the speeds for manual moves (mm/min)
240
+#endif
241
+
242
+//Comment to disable setting feedrate multiplier via encoder
243
+#ifdef ULTIPANEL
244
+    #define ULTIPANEL_FEEDMULTIPLY
245
+#endif
246
+
247
+// minimum time in microseconds that a movement needs to take if the buffer is emptied.
248
+#define DEFAULT_MINSEGMENTTIME        20000
249
+
250
+// If defined the movements slow down when the look ahead buffer is only half full
251
+#define SLOWDOWN
252
+
253
+// Frequency limit
254
+// See nophead's blog for more info
255
+// Not working O
256
+//#define XY_FREQUENCY_LIMIT  15
257
+
258
+// Minimum planner junction speed. Sets the default minimum speed the planner plans for at the end
259
+// of the buffer and all stops. This should not be much greater than zero and should only be changed
260
+// if unwanted behavior is observed on a user's machine when running at very slow speeds.
261
+#define MINIMUM_PLANNER_SPEED 0.05// (mm/sec)
262
+
263
+// MS1 MS2 Stepper Driver Microstepping mode table
264
+#define MICROSTEP1 LOW,LOW
265
+#define MICROSTEP2 HIGH,LOW
266
+#define MICROSTEP4 LOW,HIGH
267
+#define MICROSTEP8 HIGH,HIGH
268
+#define MICROSTEP16 HIGH,HIGH
269
+
270
+// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
271
+#define MICROSTEP_MODES {16,16,16,16,16} // [1,2,4,8,16]
272
+
273
+// Motor Current setting (Only functional when motor driver current ref pins are connected to a digital trimpot on supported boards)
274
+#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
275
+
276
+// uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro
277
+//#define DIGIPOT_I2C
278
+// Number of channels available for I2C digipot, For Azteeg X3 Pro we have 8
279
+#define DIGIPOT_I2C_NUM_CHANNELS 4
280
+// actual motor currents in Amps, need as many here as DIGIPOT_I2C_NUM_CHANNELS
281
+//#define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}
282
+#define DIGIPOT_I2C_MOTOR_CURRENTS {1.7, 1.7, 1.7, 1.7}
283
+
284
+//===========================================================================
285
+//=============================Additional Features===========================
286
+//===========================================================================
287
+
288
+//#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/
289
+#define CHDK_DELAY 50 //How long in ms the pin should stay HIGH before going LOW again
290
+
291
+#define SD_FINISHED_STEPPERRELEASE true  //if sd support and the file is finished: disable steppers?
292
+#define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E" // You might want to keep the z enabled so your bed stays in place.
293
+
294
+#define SDCARD_RATHERRECENTFIRST  //reverse file order of sd card menu display. Its sorted practically after the file system block order.
295
+// if a file is deleted, it frees a block. hence, the order is not purely chronological. To still have auto0.g accessible, there is again the option to do that.
296
+// using:
297
+//#define MENU_ADDAUTOSTART
298
+
299
+// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
300
+//#define USE_WATCHDOG
301
+
302
+#ifdef USE_WATCHDOG
303
+// If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
304
+// The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
305
+//  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
306
+//#define WATCHDOG_RESET_MANUAL
307
+#endif
308
+
309
+// Enable the option to stop SD printing when hitting and endstops, needs to be enabled from the LCD menu when this option is enabled.
310
+//#define ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED
311
+
312
+// Babystepping enables the user to control the axis in tiny amounts, independently from the normal printing process
313
+// it can e.g. be used to change z-positions in the print startup phase in real-time
314
+// does not respect endstops!
315
+//#define BABYSTEPPING
316
+#ifdef BABYSTEPPING
317
+  #define BABYSTEP_XY  //not only z, but also XY in the menu. more clutter, more functions
318
+  #define BABYSTEP_INVERT_Z false  //true for inverse movements in Z
319
+  #define BABYSTEP_Z_MULTIPLICATOR 2 //faster z movements
320
+
321
+  #ifdef COREXY
322
+    #error BABYSTEPPING not implemented for COREXY yet.
323
+  #endif
324
+
325
+  #ifdef DELTA
326
+    #ifdef BABYSTEP_XY
327
+      #error BABYSTEPPING only implemented for Z axis on deltabots.
328
+    #endif
329
+  #endif
330
+#endif
331
+
332
+// extruder advance constant (s2/mm3)
333
+//
334
+// advance (steps) = STEPS_PER_CUBIC_MM_E * EXTUDER_ADVANCE_K * cubic mm per second ^ 2
335
+//
336
+// Hooke's law says:		force = k * distance
337
+// Bernoulli's principle says:	v ^ 2 / 2 + g . h + pressure / density = constant
338
+// so: v ^ 2 is proportional to number of steps we advance the extruder
339
+//#define ADVANCE
340
+
341
+#ifdef ADVANCE
342
+  #define EXTRUDER_ADVANCE_K .0
343
+
344
+  #define D_FILAMENT 2.85
345
+  #define STEPS_MM_E 836
346
+  #define EXTRUTION_AREA (0.25 * D_FILAMENT * D_FILAMENT * 3.14159)
347
+  #define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS]/ EXTRUTION_AREA)
348
+
349
+#endif // ADVANCE
350
+
351
+// Arc interpretation settings:
352
+#define MM_PER_ARC_SEGMENT 1
353
+#define N_ARC_CORRECTION 25
354
+
355
+const unsigned int dropsegments=5; //everything with less than this number of steps will be ignored as move and joined with the next movement
356
+
357
+// If you are using a RAMPS board or cheap E-bay purchased boards that do not detect when an SD card is inserted
358
+// You can get round this by connecting a push button or single throw switch to the pin defined as SDCARDCARDDETECT
359
+// in the pins.h file.  When using a push button pulling the pin to ground this will need inverted.  This setting should
360
+// be commented out otherwise
361
+//#define SDCARDDETECTINVERTED
362
+
363
+#ifdef ULTIPANEL
364
+ #undef SDCARDDETECTINVERTED
365
+#endif
366
+
367
+// Power Signal Control Definitions
368
+// By default use ATX definition
369
+#ifndef POWER_SUPPLY
370
+  #define POWER_SUPPLY 1
371
+#endif
372
+// 1 = ATX
373
+#if (POWER_SUPPLY == 1)
374
+  #define PS_ON_AWAKE  LOW
375
+  #define PS_ON_ASLEEP HIGH
376
+#endif
377
+// 2 = X-Box 360 203W
378
+#if (POWER_SUPPLY == 2)
379
+  #define PS_ON_AWAKE  HIGH
380
+  #define PS_ON_ASLEEP LOW
381
+#endif
382
+
383
+// Control heater 0 and heater 1 in parallel.
384
+//#define HEATERS_PARALLEL
385
+
386
+//===========================================================================
387
+//=============================Buffers           ============================
388
+//===========================================================================
389
+
390
+// The number of linear motions that can be in the plan at any give time.
391
+// 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.
392
+#if defined SDSUPPORT
393
+  #define BLOCK_BUFFER_SIZE 16   // SD,LCD,Buttons take more memory, block buffer needs to be smaller
394
+#else
395
+  #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
396
+#endif
397
+
398
+
399
+//The ASCII buffer for receiving from the serial:
400
+#define MAX_CMD_SIZE 96
401
+#define BUFSIZE 4
402
+
403
+
404
+// Firmware based and LCD controlled retract
405
+// M207 and M208 can be used to define parameters for the retraction.
406
+// The retraction can be called by the slicer using G10 and G11
407
+// until then, intended retractions can be detected by moves that only extrude and the direction.
408
+// the moves are than replaced by the firmware controlled ones.
409
+
410
+// #define FWRETRACT  //ONLY PARTIALLY TESTED
411
+#ifdef FWRETRACT
412
+  #define MIN_RETRACT 0.1                //minimum extruded mm to accept a automatic gcode retraction attempt
413
+  #define RETRACT_LENGTH 3               //default retract length (positive mm)
414
+  #define RETRACT_FEEDRATE 45            //default feedrate for retracting (mm/s)
415
+  #define RETRACT_ZLIFT 0                //default retract Z-lift
416
+  #define RETRACT_RECOVER_LENGTH 0       //default additional recover length (mm, added to retract length when recovering)
417
+  #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
418
+#endif
419
+
420
+//adds support for experimental filament exchange support M600; requires display
421
+#ifdef ULTIPANEL
422
+  #define FILAMENTCHANGEENABLE
423
+  #ifdef FILAMENTCHANGEENABLE
424
+    #define FILAMENTCHANGE_XPOS 3
425
+    #define FILAMENTCHANGE_YPOS 3
426
+    #define FILAMENTCHANGE_ZADD 10
427
+    #define FILAMENTCHANGE_FIRSTRETRACT -2
428
+    #define FILAMENTCHANGE_FINALRETRACT -100
429
+  #endif
430
+#endif
431
+
432
+#ifdef FILAMENTCHANGEENABLE
433
+  #ifdef EXTRUDER_RUNOUT_PREVENT
434
+    #error EXTRUDER_RUNOUT_PREVENT currently incompatible with FILAMENTCHANGE
435
+  #endif
436
+#endif
437
+
438
+//===========================================================================
439
+//=============================  Define Defines  ============================
440
+//===========================================================================
441
+#if EXTRUDERS > 1 && defined TEMP_SENSOR_1_AS_REDUNDANT
442
+  #error "You cannot use TEMP_SENSOR_1_AS_REDUNDANT if EXTRUDERS > 1"
443
+#endif
444
+
445
+#if EXTRUDERS > 1 && defined HEATERS_PARALLEL
446
+  #error "You cannot use HEATERS_PARALLEL if EXTRUDERS > 1"
447
+#endif
448
+
449
+#if TEMP_SENSOR_0 > 0
450
+  #define THERMISTORHEATER_0 TEMP_SENSOR_0
451
+  #define HEATER_0_USES_THERMISTOR
452
+#endif
453
+#if TEMP_SENSOR_1 > 0
454
+  #define THERMISTORHEATER_1 TEMP_SENSOR_1
455
+  #define HEATER_1_USES_THERMISTOR
456
+#endif
457
+#if TEMP_SENSOR_2 > 0
458
+  #define THERMISTORHEATER_2 TEMP_SENSOR_2
459
+  #define HEATER_2_USES_THERMISTOR
460
+#endif
461
+#if TEMP_SENSOR_BED > 0
462
+  #define THERMISTORBED TEMP_SENSOR_BED
463
+  #define BED_USES_THERMISTOR
464
+#endif
465
+#if TEMP_SENSOR_0 == -1
466
+  #define HEATER_0_USES_AD595
467
+#endif
468
+#if TEMP_SENSOR_1 == -1
469
+  #define HEATER_1_USES_AD595
470
+#endif
471
+#if TEMP_SENSOR_2 == -1
472
+  #define HEATER_2_USES_AD595
473
+#endif
474
+#if TEMP_SENSOR_BED == -1
475
+  #define BED_USES_AD595
476
+#endif
477
+#if TEMP_SENSOR_0 == -2
478
+  #define HEATER_0_USES_MAX6675
479
+#endif
480
+#if TEMP_SENSOR_0 == 0
481
+  #undef HEATER_0_MINTEMP
482
+  #undef HEATER_0_MAXTEMP
483
+#endif
484
+#if TEMP_SENSOR_1 == 0
485
+  #undef HEATER_1_MINTEMP
486
+  #undef HEATER_1_MAXTEMP
487
+#endif
488
+#if TEMP_SENSOR_2 == 0
489
+  #undef HEATER_2_MINTEMP
490
+  #undef HEATER_2_MAXTEMP
491
+#endif
492
+#if TEMP_SENSOR_BED == 0
493
+  #undef BED_MINTEMP
494
+  #undef BED_MAXTEMP
495
+#endif
496
+
497
+
498
+#endif //__CONFIGURATION_ADV_H

+ 570
- 33
Marlin/language.h Visa fil

@@ -18,6 +18,8 @@
18 18
 // 9  Finnish
19 19
 // 10 Aragonese
20 20
 // 11 Dutch
21
+// 12 Catalan
22
+// 13 Basque-Euskera
21 23
 
22 24
 #ifndef LANGUAGE_CHOICE
23 25
 	#define LANGUAGE_CHOICE 1  // Pick your language from the list above
@@ -34,6 +36,9 @@
34 36
 #elif MOTHERBOARD == 77
35 37
 	#define MACHINE_NAME "3Drag"
36 38
 	#define FIRMWARE_URL "http://3dprint.elettronicain.it/"
39
+#elif MOTHERBOARD == 88
40
+	#define MACHINE_NAME "Makibox"
41
+	#define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
37 42
 #else
38 43
 	#ifdef CUSTOM_MENDEL_NAME
39 44
 		#define MACHINE_NAME CUSTOM_MENDEL_NAME
@@ -77,8 +82,18 @@
77 82
 	#define MSG_AUTO_HOME "Auto home"
78 83
 	#define MSG_SET_ORIGIN "Set origin"
79 84
 	#define MSG_PREHEAT_PLA "Preheat PLA"
85
+	#define MSG_PREHEAT_PLA0 "Preheat PLA 1"
86
+	#define MSG_PREHEAT_PLA1 "Preheat PLA 2"
87
+	#define MSG_PREHEAT_PLA2 "Preheat PLA 3"
88
+	#define MSG_PREHEAT_PLA012 "Preheat PLA All"
89
+	#define MSG_PREHEAT_PLA_BEDONLY "Preheat PLA Bed"
80 90
 	#define MSG_PREHEAT_PLA_SETTINGS "Preheat PLA conf"
81 91
 	#define MSG_PREHEAT_ABS "Preheat ABS"
92
+	#define MSG_PREHEAT_ABS0 "Preheat ABS 1"
93
+	#define MSG_PREHEAT_ABS1 "Preheat ABS 2"
94
+	#define MSG_PREHEAT_ABS2 "Preheat ABS 3"
95
+	#define MSG_PREHEAT_ABS012 "Preheat ABS All"
96
+	#define MSG_PREHEAT_ABS_BEDONLY "Preheat ABS Bed"
82 97
 	#define MSG_PREHEAT_ABS_SETTINGS "Preheat ABS conf"
83 98
 	#define MSG_COOLDOWN "Cooldown"
84 99
 	#define MSG_SWITCH_PS_ON "Switch power on"
@@ -90,6 +105,8 @@
90 105
 	#define MSG_MOVE_Y "Move Y"
91 106
 	#define MSG_MOVE_Z "Move Z"
92 107
 	#define MSG_MOVE_E "Extruder"
108
+	#define MSG_MOVE_E1 "Extruder2"
109
+	#define MSG_MOVE_E2 "Extruder3"
93 110
 	#define MSG_MOVE_01MM "Move 0.1mm"
94 111
 	#define MSG_MOVE_1MM "Move 1mm"
95 112
 	#define MSG_MOVE_10MM "Move 10mm"
@@ -154,10 +171,10 @@
154 171
 	#define MSG_KILLED "KILLED. "
155 172
 	#define MSG_STOPPED "STOPPED. "
156 173
 	#define MSG_CONTROL_RETRACT  "Retract mm"
157
-	#define MSG_CONTROL_RETRACTF "Retract  F"
174
+	#define MSG_CONTROL_RETRACTF "Retract  V"
158 175
 	#define MSG_CONTROL_RETRACT_ZLIFT "Hop mm"
159 176
 	#define MSG_CONTROL_RETRACT_RECOVER "UnRet +mm"
160
-	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet  F"
177
+	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet  V"
161 178
 	#define MSG_AUTORETRACT "AutoRetr."
162 179
 	#define MSG_FILAMENTCHANGE "Change filament"
163 180
 	#define MSG_INIT_SDCARD "Init. SD card"
@@ -251,7 +268,6 @@
251 268
 
252 269
 #if LANGUAGE_CHOICE == 2
253 270
 
254
-
255 271
 // LCD Menu Messages
256 272
 // Please note these are limited to 17 characters!
257 273
 
@@ -264,8 +280,18 @@
264 280
 	#define MSG_AUTO_HOME "Auto. poz. zerowa"
265 281
 	#define MSG_SET_ORIGIN "Ustaw punkt zero"
266 282
 	#define MSG_PREHEAT_PLA "Rozgrzej PLA"
283
+	#define MSG_PREHEAT_PLA0 "Rozgrzej PLA 1"
284
+	#define MSG_PREHEAT_PLA1 "Rozgrzej PLA 2"
285
+	#define MSG_PREHEAT_PLA2 "Rozgrzej PLA 3"
286
+	#define MSG_PREHEAT_PLA012 "Roz. PLA Wszystko"
287
+	#define MSG_PREHEAT_PLA_BEDONLY "Rozgrzej PLA Loze"
267 288
 	#define MSG_PREHEAT_PLA_SETTINGS "Ustaw. rozg. PLA"
268 289
 	#define MSG_PREHEAT_ABS "Rozgrzej ABS"
290
+	#define MSG_PREHEAT_ABS0 "Rozgrzej ABS 1"
291
+	#define MSG_PREHEAT_ABS1 "Rozgrzej ABS 2"
292
+	#define MSG_PREHEAT_ABS2 "Rozgrzej ABS 3"
293
+	#define MSG_PREHEAT_ABS012 "Roz. ABS Wszystko"
294
+	#define MSG_PREHEAT_ABS_BEDONLY "Rozgrzej ABS Loze"
269 295
 	#define MSG_PREHEAT_ABS_SETTINGS "Ustaw. rozg. ABS"
270 296
 	#define MSG_COOLDOWN "Chlodzenie"
271 297
 	#define MSG_SWITCH_PS_ON "Wlacz zasilacz"
@@ -277,6 +303,8 @@
277 303
 	#define MSG_MOVE_Y "Przesun w Y"
278 304
 	#define MSG_MOVE_Z "Przesun w Z"
279 305
 	#define MSG_MOVE_E "Ekstruzja (os E)"
306
+	#define MSG_MOVE_E1 "Extruder2"
307
+	#define MSG_MOVE_E2 "Extruder3"
280 308
 	#define MSG_MOVE_01MM "Przesuwaj co .1mm"
281 309
 	#define MSG_MOVE_1MM "Przesuwaj co 1mm"
282 310
 	#define MSG_MOVE_10MM "Przesuwaj co 10mm"
@@ -343,10 +371,10 @@
343 371
 	#define MSG_STOPPED "Zatrzymany. "
344 372
 	#define MSG_STEPPER_RELEASED "Zwolniony."
345 373
 	#define MSG_CONTROL_RETRACT  "Wycofaj mm"
346
-	#define MSG_CONTROL_RETRACTF "Wycofaj  F"
374
+	#define MSG_CONTROL_RETRACTF "Wycofaj  V"
347 375
 	#define MSG_CONTROL_RETRACT_ZLIFT "Skok Z mm:"
348 376
 	#define MSG_CONTROL_RETRACT_RECOVER "Cof. wycof. +mm"
349
-	#define MSG_CONTROL_RETRACT_RECOVERF "Cof. wycof.  F"
377
+	#define MSG_CONTROL_RETRACT_RECOVERF "Cof. wycof.  V"
350 378
 	#define MSG_AUTORETRACT "Auto. wycofanie"
351 379
 	#define MSG_FILAMENTCHANGE "Zmien filament"
352 380
 	#define MSG_INIT_SDCARD "Inicjal. karty SD"
@@ -453,8 +481,18 @@
453 481
 	#define MSG_AUTO_HOME "Home auto."
454 482
 	#define MSG_SET_ORIGIN "Regler origine"
455 483
 	#define MSG_PREHEAT_PLA " Prechauffage PLA"
456
-	#define MSG_PREHEAT_PLA_SETTINGS " Regl. prech. PLA"
484
+	#define MSG_PREHEAT_PLA0 "Prechauff. PLA 1"
485
+        #define MSG_PREHEAT_PLA1 "Prechauff. PLA 2"
486
+	#define MSG_PREHEAT_PLA2 "Prechauff. PLA 3"
487
+	#define MSG_PREHEAT_PLA012 "Prech. PLA Tout"
488
+	#define MSG_PREHEAT_PLA_BEDONLY "Prech. PLA Plateau"
489
+	#define MSG_PREHEAT_PLA_SETTINGS "Regl. prech. PLA"
457 490
 	#define MSG_PREHEAT_ABS "Prechauffage ABS"
491
+	#define MSG_PREHEAT_ABS0 "Prechauff. ABS 1"
492
+	#define MSG_PREHEAT_ABS1 "Prechauff. ABS 2"
493
+	#define MSG_PREHEAT_ABS2 "Prechauff. ABS 3"
494
+	#define MSG_PREHEAT_ABS012 "Prech. ABS Tout"
495
+	#define MSG_PREHEAT_ABS_BEDONLY "Prech. ABS Plateau"
458 496
 	#define MSG_PREHEAT_ABS_SETTINGS "Regl. prech. ABS"
459 497
 	#define MSG_COOLDOWN "Refroidir"
460 498
 	#define MSG_SWITCH_PS_ON "Allumer alim."
@@ -468,6 +506,8 @@
468 506
 	#define MSG_MOVE_Y "Move Y"
469 507
 	#define MSG_MOVE_Z "Move Z"
470 508
 	#define MSG_MOVE_E "Extruder"
509
+	#define MSG_MOVE_E1 "Extruder2"
510
+	#define MSG_MOVE_E2 "Extruder3"
471 511
 	#define MSG_MOVE_01MM "Move 0.1mm"
472 512
 	#define MSG_MOVE_1MM "Move 1mm"
473 513
 	#define MSG_MOVE_10MM "Move 10mm"
@@ -532,10 +572,10 @@
532 572
 	#define MSG_STOPPED "STOPPE."
533 573
 	#define MSG_STEPPER_RELEASED "RELACHE."
534 574
 	#define MSG_CONTROL_RETRACT "Retraction mm"
535
-	#define MSG_CONTROL_RETRACTF "Retraction F"
575
+	#define MSG_CONTROL_RETRACTF "Retraction V"
536 576
 	#define MSG_CONTROL_RETRACT_ZLIFT "Hop mm"
537 577
 	#define MSG_CONTROL_RETRACT_RECOVER "UnRet +mm"
538
-	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet F"
578
+	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet V"
539 579
 	#define MSG_AUTORETRACT "Retract. Auto."
540 580
 	#define MSG_FILAMENTCHANGE "Changer filament"
541 581
 	#define MSG_INIT_SDCARD "Init. la carte SD"
@@ -643,8 +683,18 @@
643 683
 	#define MSG_AUTO_HOME        "Auto Nullpunkt"
644 684
 	#define MSG_SET_ORIGIN       "Setze Nullpunkt"
645 685
 	#define MSG_PREHEAT_PLA      "Vorwärmen PLA"
686
+	#define MSG_PREHEAT_PLA0     "Vorwärmen PLA 1"
687
+	#define MSG_PREHEAT_PLA1     "Vorwärmen PLA 2"
688
+	#define MSG_PREHEAT_PLA2     "Vorwärmen PLA 3"
689
+	#define MSG_PREHEAT_PLA012   "Vorw. PLA Alle"
690
+	#define MSG_PREHEAT_PLA_BEDONLY "Vorw. PLA Bett"
646 691
 	#define MSG_PREHEAT_PLA_SETTINGS "Vorwärm. PLA Ein."
647 692
 	#define MSG_PREHEAT_ABS      "Vorwärmen ABS"
693
+	#define MSG_PREHEAT_ABS0     "Vorwärmen ABS 1"
694
+	#define MSG_PREHEAT_ABS1     "Vorwärmen ABS 2"
695
+	#define MSG_PREHEAT_ABS2     "Vorwärmen ABS 3"
696
+	#define MSG_PREHEAT_ABS012   "Vorw. ABS Alle"
697
+	#define MSG_PREHEAT_ABS_BEDONLY "Vorw. ABS Bett"
648 698
 	#define MSG_PREHEAT_ABS_SETTINGS "Vorwärm. ABS Ein."
649 699
 	#define MSG_COOLDOWN         "Abkühlen"
650 700
 	#define MSG_SWITCH_PS_ON     "Switch Power On"
@@ -656,6 +706,8 @@
656 706
 	#define MSG_MOVE_Y           "Y bewegen"
657 707
 	#define MSG_MOVE_Z           "Z bewegen"
658 708
 	#define MSG_MOVE_E           "Extruder"
709
+	#define MSG_MOVE_E1 		 "Extruder2"
710
+	#define MSG_MOVE_E2 		 "Extruder3"
659 711
 	#define MSG_MOVE_01MM        "0.1mm bewegen"
660 712
 	#define MSG_MOVE_1MM         "1mm bewegen"
661 713
 	#define MSG_MOVE_10MM        "10mm bewegen"
@@ -722,10 +774,10 @@
722 774
 	#define MSG_STOPPED          "GESTOPPT"
723 775
 	#define MSG_STEPPER_RELEASED "Stepper frei"
724 776
 	#define MSG_CONTROL_RETRACT  "Retract mm"
725
-	#define MSG_CONTROL_RETRACTF "Retract  F"
777
+	#define MSG_CONTROL_RETRACTF "Retract  V"
726 778
 	#define MSG_CONTROL_RETRACT_ZLIFT "Hop mm"
727 779
 	#define MSG_CONTROL_RETRACT_RECOVER "UnRet +mm"
728
-	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet  F"
780
+	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet  V"
729 781
 	#define MSG_AUTORETRACT      "AutoRetr."
730 782
 	#define MSG_FILAMENTCHANGE "Filament wechseln"
731 783
 	#define MSG_INIT_SDCARD "Init. SD-Card"
@@ -832,8 +884,18 @@
832 884
 	#define MSG_AUTO_HOME "Llevar al origen"
833 885
 	#define MSG_SET_ORIGIN "Establecer cero"
834 886
 	#define MSG_PREHEAT_PLA "Precalentar PLA"
887
+	#define MSG_PREHEAT_PLA0 "Precalentar PLA 1"
888
+	#define MSG_PREHEAT_PLA1 "Precalentar PLA 2"
889
+	#define MSG_PREHEAT_PLA2 "Precalentar PLA 3"
890
+	#define MSG_PREHEAT_PLA012 "Precal. PLA Todo"
891
+	#define MSG_PREHEAT_PLA_BEDONLY "Precal. PLA Base"
835 892
 	#define MSG_PREHEAT_PLA_SETTINGS "Ajustar temp. PLA"
836 893
 	#define MSG_PREHEAT_ABS "Precalentar ABS"
894
+	#define MSG_PREHEAT_ABS0 "Precalentar ABS 1"
895
+	#define MSG_PREHEAT_ABS1 "Precalentar ABS 2"
896
+	#define MSG_PREHEAT_ABS2 "Precalentar ABS 3"
897
+	#define MSG_PREHEAT_ABS012 "Precal. ABS Todo"
898
+	#define MSG_PREHEAT_ABS_BEDONLY "Precal. ABS Base"
837 899
 	#define MSG_PREHEAT_ABS_SETTINGS "Ajustar temp. ABS"
838 900
 	#define MSG_COOLDOWN "Enfriar"
839 901
 	#define MSG_SWITCH_PS_ON "Switch Power On"
@@ -841,13 +903,15 @@
841 903
 	#define MSG_EXTRUDE "Extruir"
842 904
 	#define MSG_RETRACT "Retraer"
843 905
 	#define MSG_MOVE_AXIS "Mover ejes"
844
-	#define MSG_MOVE_X "Move X"
845
-	#define MSG_MOVE_Y "Move Y"
846
-	#define MSG_MOVE_Z "Move Z"
847
-	#define MSG_MOVE_E "Extruder"
848
-	#define MSG_MOVE_01MM "Move 0.1mm"
849
-	#define MSG_MOVE_1MM "Move 1mm"
850
-	#define MSG_MOVE_10MM "Move 10mm"
906
+	#define MSG_MOVE_X "Mover X"
907
+	#define MSG_MOVE_Y "Mover Y"
908
+	#define MSG_MOVE_Z "Mover Z"
909
+	#define MSG_MOVE_E "Extrusor"
910
+	#define MSG_MOVE_E1 "Extrusor2"
911
+	#define MSG_MOVE_E2 "Extrusor3"
912
+	#define MSG_MOVE_01MM "Mover 0.1mm"
913
+	#define MSG_MOVE_1MM "Mover 1mm"
914
+	#define MSG_MOVE_10MM "Mover 10mm"
851 915
 	#define MSG_SPEED "Velocidad"
852 916
 	#define MSG_NOZZLE "Nozzle"
853 917
 	#define MSG_NOZZLE1 "Nozzle2"
@@ -908,12 +972,12 @@
908 972
 	#define MSG_KILLED "PARADA DE EMERG."
909 973
 	#define MSG_STOPPED "PARADA"
910 974
 	#define MSG_CONTROL_RETRACT  "Retraer mm"
911
-	#define MSG_CONTROL_RETRACTF "Retraer  F"
975
+	#define MSG_CONTROL_RETRACTF "Retraer  V"
912 976
 	#define MSG_CONTROL_RETRACT_ZLIFT "Levantar mm"
913 977
 	#define MSG_CONTROL_RETRACT_RECOVER "DesRet +mm"
914
-	#define MSG_CONTROL_RETRACT_RECOVERF "DesRet F"
978
+	#define MSG_CONTROL_RETRACT_RECOVERF "DesRet V"
915 979
 	#define MSG_AUTORETRACT "AutoRetr."
916
-	#define MSG_FILAMENTCHANGE "Change filament"
980
+	#define MSG_FILAMENTCHANGE "Cambiar filamento"
917 981
 	#define MSG_INIT_SDCARD "Iniciando tarjeta"
918 982
 	#define MSG_CNG_SDCARD "Cambiar tarjeta"
919 983
 	#define MSG_RECTRACT_WIDE "Retraer"
@@ -969,7 +1033,7 @@
969 1033
 	#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"
970 1034
 	#define MSG_COUNT_X " Cuenta X:"
971 1035
 	#define MSG_ERR_KILLED "¡¡Impresora Parada con kill()!!"
972
-	#define MSG_ERR_STOPPED "¡Impresora parada por errores. Arregle el error y use M999 Para reiniciar!. (La temperatura se reestablece. Ajustela antes de continuar)"
1036
+	#define MSG_ERR_STOPPED "¡Impresora parada por errores. Arregle el error y use M999 Para reiniciar!. (La temperatura se reestablece. Ajustela despues de continuar)"
973 1037
 	#define MSG_RESEND "Reenviar:"
974 1038
 	#define MSG_UNKNOWN_COMMAND "Comando Desconocido:\""
975 1039
 	#define MSG_ACTIVE_EXTRUDER "Extrusor Activo: "
@@ -1017,17 +1081,27 @@
1017 1081
 // LCD Menu Messages
1018 1082
 // Please note these are limited to 17 characters!
1019 1083
 
1020
-	#define WELCOME_MSG MACHINE_NAME			" Готов."
1084
+	#define WELCOME_MSG MACHINE_NAME			        "Готов."
1021 1085
 	#define MSG_SD_INSERTED						"Карта вставлена"
1022 1086
 	#define MSG_SD_REMOVED						"Карта извлечена"
1023
-	#define MSG_MAIN							"Меню            \003"
1087
+	#define MSG_MAIN							"Меню \003"
1024 1088
 	#define MSG_AUTOSTART						"Автостарт"
1025 1089
 	#define MSG_DISABLE_STEPPERS 				"Выкл. двигатели"
1026 1090
 	#define MSG_AUTO_HOME						"Парковка"
1027 1091
 	#define MSG_SET_ORIGIN						"Запомнить ноль"
1028 1092
 	#define MSG_PREHEAT_PLA 					"Преднагрев PLA"
1093
+	#define MSG_PREHEAT_PLA0					"Преднагрев PLA0"
1094
+	#define MSG_PREHEAT_PLA1					"Преднагрев PLA1"
1095
+	#define MSG_PREHEAT_PLA2					"Преднагрев PLA2"
1096
+	#define MSG_PREHEAT_PLA012 					"Преднаг. PLA все"
1097
+	#define MSG_PREHEAT_PLA_BEDONLY 			"Пред. PLA Кровать"
1029 1098
 	#define MSG_PREHEAT_PLA_SETTINGS  			"Настройки PLA"
1030 1099
 	#define MSG_PREHEAT_ABS						"Преднагрев ABS"
1100
+	#define MSG_PREHEAT_ABS0					"Преднагрев ABS0"
1101
+	#define MSG_PREHEAT_ABS1					"Преднагрев ABS1"
1102
+	#define MSG_PREHEAT_ABS2					"Преднагрев ABS2"
1103
+	#define MSG_PREHEAT_ABS012 					"Преднаг. ABS все "
1104
+	#define MSG_PREHEAT_ABS_BEDONLY 			"Пред. ABS Кровать"
1031 1105
 	#define MSG_PREHEAT_ABS_SETTINGS  			"Настройки ABS"
1032 1106
 	#define MSG_COOLDOWN						"Охлаждение"
1033 1107
 	#define MSG_SWITCH_PS_ON					"Switch Power On"
@@ -1039,6 +1113,8 @@
1039 1113
 	#define MSG_MOVE_Y                          "Move Y"
1040 1114
 	#define MSG_MOVE_Z                          "Move Z"
1041 1115
 	#define MSG_MOVE_E                          "Extruder"
1116
+	#define MSG_MOVE_E1 						"Extruder2"
1117
+	#define MSG_MOVE_E2 						"Extruder3"
1042 1118
 	#define MSG_MOVE_01MM                       "Move 0.1mm"
1043 1119
 	#define MSG_MOVE_1MM                        "Move 1mm"
1044 1120
 	#define MSG_MOVE_10MM                       "Move 10mm"
@@ -1091,8 +1167,8 @@
1091 1167
 	#define MSG_WATCH							"Обзор           \003"
1092 1168
 	#define MSG_PREPARE							"Действия        \x7E"
1093 1169
 	#define MSG_TUNE							"Настройки       \x7E"
1094
-	#define MSG_RESUME_PRINT  					"Продолжить печать"
1095
-	#define MSG_RESUME_PRINT					"Продолжить печать"
1170
+	#define MSG_PAUSE_PRINT  					"Продолжить печать"
1171
+	#define MSG_RESUME_PRINT					"возобн. печать"
1096 1172
 	#define MSG_STOP_PRINT 						"Остановить печать"
1097 1173
 	#define MSG_CARD_MENU						"Меню карты      \x7E"
1098 1174
 	#define MSG_NO_CARD							"Нет карты"
@@ -1103,10 +1179,10 @@
1103 1179
 	#define MSG_KILLED							"УБИТО."
1104 1180
 	#define MSG_STOPPED							"ОСТАНОВЛЕНО."
1105 1181
 	#define MSG_CONTROL_RETRACT					"Откат mm:"
1106
-	#define MSG_CONTROL_RETRACTF				"Откат  F:"
1182
+	#define MSG_CONTROL_RETRACTF				"Откат  V:"
1107 1183
 	#define MSG_CONTROL_RETRACT_ZLIFT			"Прыжок mm:"
1108 1184
 	#define MSG_CONTROL_RETRACT_RECOVER			"Возврат +mm:"
1109
-	#define MSG_CONTROL_RETRACT_RECOVERF		"Возврат  F:"
1185
+	#define MSG_CONTROL_RETRACT_RECOVERF		"Возврат  V:"
1110 1186
 	#define MSG_AUTORETRACT						"АвтоОткат:"
1111 1187
 	#define MSG_FILAMENTCHANGE 					"Change filament"
1112 1188
 	#define MSG_INIT_SDCARD 					"Init. SD-Card"
@@ -1211,8 +1287,18 @@
1211 1287
 	#define MSG_AUTO_HOME            "Auto Home"
1212 1288
 	#define MSG_SET_ORIGIN           "Imposta Origine"
1213 1289
 	#define MSG_PREHEAT_PLA          "Preriscalda PLA"
1290
+	#define MSG_PREHEAT_PLA0         "Preriscalda PLA 1"
1291
+	#define MSG_PREHEAT_PLA1         "Preriscalda PLA 2"
1292
+	#define MSG_PREHEAT_PLA2         "Preriscalda PLA 3"
1293
+	#define MSG_PREHEAT_PLA012       "Preris. PLA Tutto"
1294
+	#define MSG_PREHEAT_PLA_BEDONLY  "Preri. PLA Piatto"
1214 1295
 	#define MSG_PREHEAT_PLA_SETTINGS "Preris. PLA Conf"
1215 1296
 	#define MSG_PREHEAT_ABS          "Preriscalda ABS"
1297
+	#define MSG_PREHEAT_ABS0         "Preriscalda ABS 1"
1298
+	#define MSG_PREHEAT_ABS1         "Preriscalda ABS 2"
1299
+	#define MSG_PREHEAT_ABS2         "Preriscalda ABS 3"
1300
+	#define MSG_PREHEAT_ABS012       "Preris. ABS Tutto"
1301
+	#define MSG_PREHEAT_ABS_BEDONLY  "Preri. ABS Piatto"
1216 1302
 	#define MSG_PREHEAT_ABS_SETTINGS "Preris. ABS Conf"
1217 1303
 	#define MSG_COOLDOWN             "Raffredda"
1218 1304
 	#define MSG_SWITCH_PS_ON         "Switch Power On"
@@ -1224,6 +1310,8 @@
1224 1310
 	#define MSG_MOVE_Y               "Move Y"
1225 1311
 	#define MSG_MOVE_Z               "Move Z"
1226 1312
 	#define MSG_MOVE_E               "Extruder"
1313
+	#define MSG_MOVE_E1 			 "Extruder2"
1314
+	#define MSG_MOVE_E2 			 "Extruder3"
1227 1315
 	#define MSG_MOVE_01MM            "Move 0.1mm"
1228 1316
 	#define MSG_MOVE_1MM             "Move 1mm"
1229 1317
 	#define MSG_MOVE_10MM            "Move 10mm"
@@ -1288,10 +1376,10 @@
1288 1376
 	#define MSG_KILLED               "UCCISO. "
1289 1377
 	#define MSG_STOPPED              "ARRESTATO. "
1290 1378
 	#define MSG_CONTROL_RETRACT      "Ritrai mm"
1291
-	#define MSG_CONTROL_RETRACTF     "Ritrai  F"
1379
+	#define MSG_CONTROL_RETRACTF     "Ritrai  V"
1292 1380
 	#define MSG_CONTROL_RETRACT_ZLIFT "Salta mm"
1293 1381
 	#define MSG_CONTROL_RETRACT_RECOVER "UnRet +mm"
1294
-	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet  F"
1382
+	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet  V"
1295 1383
 	#define MSG_AUTORETRACT          "AutoArretramento"
1296 1384
 	#define MSG_FILAMENTCHANGE       "Cambia filamento"
1297 1385
 	#define MSG_INIT_SDCARD          "Iniz. SD-Card"
@@ -1398,8 +1486,18 @@
1398 1486
 	#define MSG_AUTO_HOME "Ir para origen"
1399 1487
 	#define MSG_SET_ORIGIN "Estabelecer orig."
1400 1488
 	#define MSG_PREHEAT_PLA "Pre-aquecer PLA"
1489
+	#define MSG_PREHEAT_PLA0 " pre-aquecer PLA 1"
1490
+	#define MSG_PREHEAT_PLA1 " pre-aquecer PLA 2"
1491
+	#define MSG_PREHEAT_PLA2 " pre-aquecer PLA 3"
1492
+	#define MSG_PREHEAT_PLA012 " pre-aq. PLA Tudo"
1493
+	#define MSG_PREHEAT_PLA_BEDONLY  " pre-aq. PLA \002Base"
1401 1494
 	#define MSG_PREHEAT_PLA_SETTINGS "PLA setting"
1402 1495
 	#define MSG_PREHEAT_ABS "Pre-aquecer ABS"
1496
+	#define MSG_PREHEAT_ABS0 " pre-aquecer ABS 1"
1497
+	#define MSG_PREHEAT_ABS1 " pre-aquecer ABS 2"
1498
+	#define MSG_PREHEAT_ABS2 " pre-aquecer ABS 3"
1499
+	#define MSG_PREHEAT_ABS012 " pre-aq. ABS Tudo"
1500
+	#define MSG_PREHEAT_ABS_BEDONLY  " pre-aq. ABS \002Base"
1403 1501
 	#define MSG_PREHEAT_ABS_SETTINGS "ABS setting"
1404 1502
 	#define MSG_COOLDOWN "Esfriar"
1405 1503
 	#define MSG_SWITCH_PS_ON "Switch Power On"
@@ -1413,6 +1511,8 @@
1413 1511
 	#define MSG_MOVE_Y "Move Y"
1414 1512
 	#define MSG_MOVE_Z "Move Z"
1415 1513
 	#define MSG_MOVE_E "Extruder"
1514
+	#define MSG_MOVE_E1 "Extruder2"
1515
+	#define MSG_MOVE_E2 "Extruder3"
1416 1516
 	#define MSG_MOVE_01MM "Move 0.1mm"
1417 1517
 	#define MSG_MOVE_1MM "Move 1mm"
1418 1518
 	#define MSG_MOVE_10MM "Move 10mm"
@@ -1481,10 +1581,10 @@
1481 1581
 	#define MSG_STOPPED "PARADA. "
1482 1582
 	#define MSG_STEPPER_RELEASED "Lancado."
1483 1583
 	#define MSG_CONTROL_RETRACT  " Retrair mm:"
1484
-	#define MSG_CONTROL_RETRACTF " Retrair  F:"
1584
+	#define MSG_CONTROL_RETRACTF " Retrair  V:"
1485 1585
 	#define MSG_CONTROL_RETRACT_ZLIFT " Levantar mm:"
1486 1586
 	#define MSG_CONTROL_RETRACT_RECOVER " DesRet +mm:"
1487
-	#define MSG_CONTROL_RETRACT_RECOVERF " DesRet  F:"
1587
+	#define MSG_CONTROL_RETRACT_RECOVERF " DesRet  V:"
1488 1588
 	#define MSG_AUTORETRACT " AutoRetr.:"
1489 1589
 	#define MSG_FILAMENTCHANGE "Change filament"
1490 1590
 	#define MSG_INIT_SDCARD "Init. SD-Card"
@@ -1592,8 +1692,18 @@
1592 1692
 	#define MSG_AUTO_HOME "Aja referenssiin"
1593 1693
 	#define MSG_SET_ORIGIN "Aseta origo"
1594 1694
 	#define MSG_PREHEAT_PLA "Esilammita PLA"
1695
+	#define MSG_PREHEAT_PLA0 "Esilammita PLA 1"
1696
+	#define MSG_PREHEAT_PLA1 "Esilammita PLA 2"
1697
+	#define MSG_PREHEAT_PLA2 "Esilammita PLA 3"
1698
+	#define MSG_PREHEAT_PLA012 "Esila. PLA Kaikki"
1699
+	#define MSG_PREHEAT_PLA_BEDONLY  "Esila. PLA Alusta"
1595 1700
 	#define MSG_PREHEAT_PLA_SETTINGS "Esilamm. PLA konf"
1596 1701
 	#define MSG_PREHEAT_ABS "Esilammita ABS"
1702
+	#define MSG_PREHEAT_ABS0 "Esilammita ABS 1"
1703
+	#define MSG_PREHEAT_ABS1 "Esilammita ABS 2"
1704
+	#define MSG_PREHEAT_ABS2 "Esilammita ABS 3"
1705
+	#define MSG_PREHEAT_ABS012 "Esila. ABS Kaikki"
1706
+	#define MSG_PREHEAT_ABS_BEDONLY  "Esila. ABS Alusta"
1597 1707
 	#define MSG_PREHEAT_ABS_SETTINGS "Esilamm. ABS konf"
1598 1708
 	#define MSG_COOLDOWN "Jaahdyta"
1599 1709
 	#define MSG_SWITCH_PS_ON "Virta paalle"
@@ -1605,6 +1715,8 @@
1605 1715
 	#define MSG_MOVE_Y "Move Y"
1606 1716
 	#define MSG_MOVE_Z "Move Z"
1607 1717
 	#define MSG_MOVE_E "Extruder"
1718
+	#define MSG_MOVE_E1 "Extruder2"
1719
+	#define MSG_MOVE_E2 "Extruder3"
1608 1720
 	#define MSG_MOVE_01MM "Move 0.1mm"
1609 1721
 	#define MSG_MOVE_1MM "Move 1mm"
1610 1722
 	#define MSG_MOVE_10MM "Move 10mm"
@@ -1669,10 +1781,10 @@
1669 1781
 	#define MSG_KILLED "KILLED. "
1670 1782
 	#define MSG_STOPPED "STOPPED. "
1671 1783
 	#define MSG_CONTROL_RETRACT  "Veda mm"
1672
-	#define MSG_CONTROL_RETRACTF "Veda F"
1784
+	#define MSG_CONTROL_RETRACTF "Veda V"
1673 1785
 	#define MSG_CONTROL_RETRACT_ZLIFT "Z mm"
1674 1786
 	#define MSG_CONTROL_RETRACT_RECOVER "UnRet +mm"
1675
-	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet  F"
1787
+	#define MSG_CONTROL_RETRACT_RECOVERF "UnRet  V"
1676 1788
 	#define MSG_AUTORETRACT "AutoVeto."
1677 1789
 	#define MSG_FILAMENTCHANGE "Change filament"
1678 1790
 	#define MSG_INIT_SDCARD "Init. SD-Card"
@@ -1779,8 +1891,18 @@
1779 1891
 	#define MSG_AUTO_HOME "Levar a l'orichen"
1780 1892
 	#define MSG_SET_ORIGIN "Establir zero"
1781 1893
 	#define MSG_PREHEAT_PLA "Precalentar PLA"
1894
+	#define MSG_PREHEAT_PLA0 "Precalentar PLA0"
1895
+	#define MSG_PREHEAT_PLA1 "Precalentar PLA1"
1896
+	#define MSG_PREHEAT_PLA2 "Precalentar PLA2"
1897
+	#define MSG_PREHEAT_PLA012 "Precalentar PLA a"
1898
+	#define MSG_PREHEAT_PLA_BEDONLY  "Prec. PLA Base"
1782 1899
 	#define MSG_PREHEAT_PLA_SETTINGS "Achustar tem. PLA"
1783 1900
 	#define MSG_PREHEAT_ABS "Precalentar ABS"
1901
+	#define MSG_PREHEAT_ABS0 "Precalentar ABS0"
1902
+	#define MSG_PREHEAT_ABS1 "Precalentar ABS1"
1903
+	#define MSG_PREHEAT_ABS2 "Precalentar ABS2"
1904
+	#define MSG_PREHEAT_ABS012 "Precalentar ABS a"
1905
+	#define MSG_PREHEAT_ABS_BEDONLY  "Prec. ABS Base"
1784 1906
 	#define MSG_PREHEAT_ABS_SETTINGS "Achustar tem. ABS"
1785 1907
 	#define MSG_COOLDOWN "Enfriar"
1786 1908
 	#define MSG_SWITCH_PS_ON "Enchegar Fuent"
@@ -1792,6 +1914,8 @@
1792 1914
 	#define MSG_MOVE_Y "Move Y"
1793 1915
 	#define MSG_MOVE_Z "Move Z"
1794 1916
 	#define MSG_MOVE_E "Extruder"
1917
+	#define MSG_MOVE_E1 "Extruder2"
1918
+	#define MSG_MOVE_E2 "Extruder3"
1795 1919
 	#define MSG_MOVE_01MM "Move 0.1mm"
1796 1920
 	#define MSG_MOVE_1MM "Move 1mm"
1797 1921
 	#define MSG_MOVE_10MM "Move 10mm"
@@ -1972,8 +2096,18 @@
1972 2096
 	#define MSG_AUTO_HOME "Auto home"
1973 2097
 	#define MSG_SET_ORIGIN "Nulpunt instellen"
1974 2098
 	#define MSG_PREHEAT_PLA "PLA voorverwarmen"
2099
+	#define MSG_PREHEAT_PLA0 "PLA voorverw. 0"
2100
+	#define MSG_PREHEAT_PLA1 "PLA voorverw. 1"
2101
+	#define MSG_PREHEAT_PLA2 "PLA voorverw. 2"
2102
+	#define MSG_PREHEAT_PLA012 "PLA voorverw. aan"
2103
+	#define MSG_PREHEAT_PLA_BEDONLY  "PLA voorverw. Bed"
1975 2104
 	#define MSG_PREHEAT_PLA_SETTINGS "PLA verw. conf"
1976 2105
 	#define MSG_PREHEAT_ABS "ABS voorverwarmen"
2106
+	#define MSG_PREHEAT_ABS0 "ABS voorverw. 0"
2107
+	#define MSG_PREHEAT_ABS1 "ABS voorverw. 1"
2108
+	#define MSG_PREHEAT_ABS2 "ABS voorverw. 2"
2109
+	#define MSG_PREHEAT_ABS012 "ABS voorverw. aan"
2110
+	#define MSG_PREHEAT_ABS_BEDONLY  "ABS voorverw. Bed"
1977 2111
 	#define MSG_PREHEAT_ABS_SETTINGS "ABS verw. conf"
1978 2112
 	#define MSG_COOLDOWN "Afkoelen"
1979 2113
 	#define MSG_SWITCH_PS_ON "Stroom aan"
@@ -1985,6 +2119,8 @@
1985 2119
 	#define MSG_MOVE_Y "Verplaats Y"
1986 2120
 	#define MSG_MOVE_Z "Verplaats Z"
1987 2121
 	#define MSG_MOVE_E "Extruder"
2122
+	#define MSG_MOVE_E1 "Extruder2"
2123
+	#define MSG_MOVE_E2 "Extruder3"
1988 2124
 	#define MSG_MOVE_01MM "Verplaats 0.1mm"
1989 2125
 	#define MSG_MOVE_1MM "Verplaats 1mm"
1990 2126
 	#define MSG_MOVE_10MM "Verplaats 10mm"
@@ -1995,6 +2131,9 @@
1995 2131
 	#define MSG_BED "Bed"
1996 2132
 	#define MSG_FAN_SPEED "Fan snelheid"
1997 2133
 	#define MSG_FLOW "Flow"
2134
+	#define MSG_FLOW0 "Flow 0"
2135
+	#define MSG_FLOW1 "Flow 1"
2136
+	#define MSG_FLOW2 "Flow 2"
1998 2137
 	#define MSG_CONTROL "Control"
1999 2138
 	#define MSG_MIN " \002 Min"
2000 2139
 	#define MSG_MAX " \002 Max"
@@ -2087,6 +2226,7 @@
2087 2226
 	#define MSG_M105_INVALID_EXTRUDER "M105 Ongeldige extruder "
2088 2227
 	#define MSG_M200_INVALID_EXTRUDER "M200 Ongeldige extruder "
2089 2228
 	#define MSG_M218_INVALID_EXTRUDER "M218 Ongeldige extruder "
2229
+	#define MSG_M221_INVALID_EXTRUDER "M221 Ongeldige extruder "
2090 2230
 	#define MSG_ERR_NO_THERMISTORS "Geen thermistors - geen temperatuur"
2091 2231
 	#define MSG_M109_INVALID_EXTRUDER "M109 Ongeldige extruder "
2092 2232
 	#define MSG_HEATING "Opwarmen..."
@@ -2139,4 +2279,401 @@
2139 2279
 
2140 2280
 #endif
2141 2281
 
2282
+
2283
+#if LANGUAGE_CHOICE == 12
2284
+
2285
+// LCD Menu Messages
2286
+
2287
+// Please note these are limited to 17 characters!
2288
+
2289
+	#define WELCOME_MSG MACHINE_NAME " preparada."
2290
+	#define MSG_SD_INSERTED "SD detectada."
2291
+	#define MSG_SD_REMOVED "SD expulsada."
2292
+	#define MSG_MAIN "Menu principal"
2293
+	#define MSG_AUTOSTART "Inici automatic"
2294
+	#define MSG_DISABLE_STEPPERS "Apagar motors"
2295
+	#define MSG_AUTO_HOME "Home global"
2296
+	#define MSG_SET_ORIGIN "Establir origen"
2297
+	#define MSG_PREHEAT_PLA "Preescalfar PLA"
2298
+	#define MSG_PREHEAT_PLA0 "Preescalfar PLA 1"
2299
+	#define MSG_PREHEAT_PLA1 "Preescalfar PLA 2"
2300
+	#define MSG_PREHEAT_PLA2 "Preescalfar PLA 3"
2301
+	#define MSG_PREHEAT_PLA012 "Preesc. tot PLA"
2302
+	#define MSG_PREHEAT_PLA_BEDONLY "Preesc. llit PLA"
2303
+	#define MSG_PREHEAT_PLA_SETTINGS "Configuració PLA"
2304
+	#define MSG_PREHEAT_ABS "Preescalfar ABS"
2305
+	#define MSG_PREHEAT_ABS0 "Preescalfar ABS 1"
2306
+	#define MSG_PREHEAT_ABS1 "Preescalfar ABS 2"
2307
+	#define MSG_PREHEAT_ABS2 "Preescalfar ABS 3"
2308
+	#define MSG_PREHEAT_ABS012 "Preesc. tot ABS"
2309
+	#define MSG_PREHEAT_ABS_BEDONLY "Preesc. llit ABS"
2310
+	#define MSG_PREHEAT_ABS_SETTINGS "Configuració ABS"
2311
+	#define MSG_COOLDOWN "Refredar"
2312
+	#define MSG_SWITCH_PS_ON "Switch power on"
2313
+	#define MSG_SWITCH_PS_OFF "Switch power off"
2314
+	#define MSG_EXTRUDE "Extruir"
2315
+	#define MSG_RETRACT "Refredar"
2316
+	#define MSG_MOVE_AXIS "Moure eixos"
2317
+	#define MSG_MOVE_X "Moure X"
2318
+	#define MSG_MOVE_Y "Moure Y"
2319
+	#define MSG_MOVE_Z "Moure Z"
2320
+	#define MSG_MOVE_E "Extrusor"
2321
+	#define MSG_MOVE_E1 "Extruder2"
2322
+	#define MSG_MOVE_E2 "Extruder3"
2323
+	#define MSG_MOVE_01MM "Moure 0.1mm"
2324
+	#define MSG_MOVE_1MM "Moure 1mm"
2325
+	#define MSG_MOVE_10MM "Moure 10mm"
2326
+	#define MSG_SPEED "Velocitat"
2327
+	#define MSG_NOZZLE "Nozzle"
2328
+	#define MSG_NOZZLE1 "Nozzle2"
2329
+	#define MSG_NOZZLE2 "Nozzle3"
2330
+	#define MSG_BED "Llit"
2331
+	#define MSG_FAN_SPEED "Vel. Ventilador"
2332
+	#define MSG_FLOW "Fluxe"
2333
+	#define MSG_FLOW0 "Fluxe 0"
2334
+	#define MSG_FLOW1 "Fluxe 1"
2335
+	#define MSG_FLOW2 "Fluxe 2"
2336
+	#define MSG_CONTROL "Control"
2337
+	#define MSG_MIN " \002 Min"
2338
+	#define MSG_MAX " \002 Max"
2339
+	#define MSG_FACTOR " \002 Fact"
2340
+	#define MSG_AUTOTEMP "Autotemp"
2341
+	#define MSG_ON "On "
2342
+	#define MSG_OFF "Off"
2343
+	#define MSG_PID_P "PID-P"
2344
+	#define MSG_PID_I "PID-I"
2345
+	#define MSG_PID_D "PID-D"
2346
+	#define MSG_PID_C "PID-C"
2347
+	#define MSG_ACC  "Accel"
2348
+	#define MSG_VXY_JERK "Vxy-jerk"
2349
+	#define MSG_VZ_JERK "Vz-jerk"
2350
+	#define MSG_VE_JERK "Ve-jerk"
2351
+	#define MSG_VMAX "Vmax "
2352
+	#define MSG_X "x"
2353
+	#define MSG_Y "y"
2354
+	#define MSG_Z "z"
2355
+	#define MSG_E "e"
2356
+	#define MSG_VMIN "Vmin"
2357
+	#define MSG_VTRAV_MIN "VTrav min"
2358
+	#define MSG_AMAX "Amax "
2359
+	#define MSG_A_RETRACT "A-retract"
2360
+	#define MSG_XSTEPS "Xpassos/mm"
2361
+	#define MSG_YSTEPS "Ypassos/mm"
2362
+	#define MSG_ZSTEPS "Zpassos/mm"
2363
+	#define MSG_ESTEPS "Epassos/mm"
2364
+	#define MSG_RECTRACT "Retreure"
2365
+	#define MSG_TEMPERATURE "Temperatura"
2366
+	#define MSG_MOTION "Moviment"
2367
+	#define MSG_CONTRAST "Contrast de LCD"
2368
+	#define MSG_STORE_EPROM "Desar a memoria"
2369
+	#define MSG_LOAD_EPROM "Carregar de mem."
2370
+	#define MSG_RESTORE_FAILSAFE "Rest. emergencia"
2371
+	#define MSG_REFRESH "Refrescar"
2372
+	#define MSG_WATCH "Pantalla Info."
2373
+	#define MSG_PREPARE "Preparar"
2374
+	#define MSG_TUNE "Calibrar"
2375
+	#define MSG_PAUSE_PRINT "Pausa imp."
2376
+	#define MSG_RESUME_PRINT "Reprendre imp."
2377
+	#define MSG_STOP_PRINT "Parar inp."
2378
+	#define MSG_CARD_MENU "Imprimir de SD"
2379
+	#define MSG_NO_CARD "-Sense targeta SD"
2380
+	#define MSG_DWELL "Repos..."
2381
+	#define MSG_USERWAIT "Esperant usuari.."
2382
+	#define MSG_RESUMING "Reprenent imp."
2383
+	#define MSG_NO_MOVE "Sense moviment."
2384
+	#define MSG_KILLED "PARADA DE EMERG. "
2385
+	#define MSG_STOPPED "ATURAT. "
2386
+	#define MSG_CONTROL_RETRACT  "Retreure mm"
2387
+	#define MSG_CONTROL_RETRACTF "Retreure  F"
2388
+	#define MSG_CONTROL_RETRACT_ZLIFT "Aixecar mm"
2389
+	#define MSG_CONTROL_RETRACT_RECOVER "DesRet +mm"
2390
+	#define MSG_CONTROL_RETRACT_RECOVERF "DesRet  F"
2391
+	#define MSG_AUTORETRACT "AutoRetr."
2392
+	#define MSG_FILAMENTCHANGE "Canviar filament"
2393
+	#define MSG_INIT_SDCARD "Iniciant SD"
2394
+	#define MSG_CNG_SDCARD "Canviar SD"
2395
+	#define MSG_ZPROBE_OUT "Z probe out. bed"
2396
+	#define MSG_POSITION_UNKNOWN "Home X/Y abans Z"
2397
+	#define MSG_ZPROBE_ZOFFSET "Z Offset"
2398
+	#define MSG_BABYSTEP_X "Babystep X"
2399
+	#define MSG_BABYSTEP_Y "Babystep Y"
2400
+	#define MSG_BABYSTEP_Z "Babystep Z"
2401
+	#define MSG_ENDSTOP_ABORT "Endstop abort"
2402
+
2403
+// Serial Console Messages
2404
+
2405
+	#define MSG_Enqueing "en cua \""
2406
+	#define MSG_POWERUP "PowerUp"
2407
+	#define MSG_EXTERNAL_RESET " Reset Extern"
2408
+	#define MSG_BROWNOUT_RESET " Reset per Voltatge Incorrecte"
2409
+	#define MSG_WATCHDOG_RESET " Reset per Bloqueix"
2410
+	#define MSG_SOFTWARE_RESET " Reset per Software"
2411
+	#define MSG_AUTHOR " | Author: "
2412
+	#define MSG_CONFIGURATION_VER "Ultima actualitzacio: "
2413
+	#define MSG_FREE_MEMORY " Memoria lliure: "
2414
+	#define MSG_PLANNER_BUFFER_BYTES "  PlannerBufferBytes: "
2415
+	#define MSG_OK "ok"
2416
+	#define MSG_FILE_SAVED "Fitxer desat."
2417
+	#define MSG_ERR_LINE_NO "El Numero de la Linia no es igual al Ultimo Numero de Linia+1, Ultima Linia:"
2418
+	#define MSG_ERR_CHECKSUM_MISMATCH "el checksum no coincideix, Ultima Linia:"
2419
+	#define MSG_ERR_NO_CHECKSUM "No s'ha trobat el Checksum amb el numero de linea, Ultima Linea:"
2420
+	#define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No s'ha trobat Numero de Linea amb el Checksum, Ultima Linea:"
2421
+	#define MSG_FILE_PRINTED "Impresio acabada"
2422
+	#define MSG_BEGIN_FILE_LIST "Inici de la llista d'arxius"
2423
+	#define MSG_END_FILE_LIST "Fi de la llista d'arxius"
2424
+	#define MSG_M104_INVALID_EXTRUDER "M104 Extrusor Invalid "
2425
+	#define MSG_M105_INVALID_EXTRUDER "M105 Extrusor Invalid "
2426
+	#define MSG_M200_INVALID_EXTRUDER "M200 Extrusor Invalid "
2427
+	#define MSG_M218_INVALID_EXTRUDER "M218 Extrusor Invalid "
2428
+	#define MSG_M221_INVALID_EXTRUDER "M221 Extrusor Invalid "
2429
+	#define MSG_ERR_NO_THERMISTORS "No hi ha termistors - sense temperatura"
2430
+	#define MSG_M109_INVALID_EXTRUDER "M109 Extrusor Invalid "
2431
+	#define MSG_HEATING "Escalfant..."
2432
+	#define MSG_HEATING_COMPLETE "Escalfament acabat."
2433
+	#define MSG_BED_HEATING "Escalfant llit."
2434
+	#define MSG_BED_DONE "Llit Calent."
2435
+	#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"
2436
+	#define MSG_COUNT_X " Count X: "
2437
+	#define MSG_ERR_KILLED "Impressora Parada per kill()!"
2438
+	#define MSG_ERR_STOPPED "Impressora Parada per errors. Repara l'error i utilitza M999 per reiniciar!. (Hi ha un reset de temperatura, cal ajustarla abans de continuuar)"
2439
+	#define MSG_RESEND "Reenviar: "
2440
+	#define MSG_UNKNOWN_COMMAND "Comanda Desconeguda: \""
2441
+	#define MSG_ACTIVE_EXTRUDER "Extrusor Actiu: "
2442
+	#define MSG_INVALID_EXTRUDER "Extrusor Invalid"
2443
+	#define MSG_X_MIN "x_min: "
2444
+	#define MSG_X_MAX "x_max: "
2445
+	#define MSG_Y_MIN "y_min: "
2446
+	#define MSG_Y_MAX "y_max: "
2447
+	#define MSG_Z_MIN "z_min: "
2448
+	#define MSG_Z_MAX "z_max: "
2449
+	#define MSG_M119_REPORT "Comprobant finals de carrera."
2450
+	#define MSG_ENDSTOP_HIT "Activat"
2451
+	#define MSG_ENDSTOP_OPEN "obert"
2452
+	#define MSG_HOTEND_OFFSET "Hotend offsets:"
2453
+
2454
+	#define MSG_SD_CANT_OPEN_SUBDIR "No s'ha pogut obrir la carpeta"
2455
+	#define MSG_SD_INIT_FAIL "Error al iniciar la SD"
2456
+	#define MSG_SD_VOL_INIT_FAIL "Error al montar el volum"
2457
+	#define MSG_SD_OPENROOT_FAIL "Error al obrir la carpeta arrel"
2458
+	#define MSG_SD_CARD_OK "Targeta SD OK"
2459
+	#define MSG_SD_WORKDIR_FAIL "Error al obrir la carpeta de treball"
2460
+	#define MSG_SD_OPEN_FILE_FAIL "Error al obrir, Fitxer: "
2461
+	#define MSG_SD_FILE_OPENED "Fitxer obert:"
2462
+	#define MSG_SD_SIZE " Mida: "
2463
+	#define MSG_SD_FILE_SELECTED "Fitxer Seleccionat"
2464
+	#define MSG_SD_WRITE_TO_FILE "Desant al fitxer: "
2465
+	#define MSG_SD_PRINTING_BYTE "SD imprimint el byte "
2466
+	#define MSG_SD_NOT_PRINTING "No s'està imprimint amb SD"
2467
+	#define MSG_SD_ERR_WRITE_TO_FILE "Error al esciure al fitxer"
2468
+	#define MSG_SD_CANT_ENTER_SUBDIR "No es pot obrir la carpeta: "
2469
+
2470
+	#define MSG_STEPPER_TOO_HIGH "Steprate massa alt: "
2471
+	#define MSG_ENDSTOPS_HIT "S'ha tocat el final de carrera: "
2472
+	#define MSG_ERR_COLD_EXTRUDE_STOP " extrusio freda evitada"
2473
+	#define MSG_ERR_LONG_EXTRUDE_STOP " extrusio massa llarga evitada"
2474
+	#define MSG_BABYSTEPPING_X "Babystepping X"
2475
+	#define MSG_BABYSTEPPING_Y "Babystepping Y"
2476
+	#define MSG_BABYSTEPPING_Z "Babystepping Z"
2477
+	#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Error a l'estructura dels menus"
2478
+
2479
+#endif
2480
+
2481
+//Basque-Euskera
2482
+#if LANGUAGE_CHOICE == 13
2483
+
2484
+// LCD Menu Messages
2485
+// Please note these are limited to 17 characters!
2486
+
2487
+	#define WELCOME_MSG MACHINE_NAME " prest."
2488
+	#define MSG_SD_INSERTED "Txartela sartuta"
2489
+	#define MSG_SD_REMOVED "Txartela kenduta"
2490
+	#define MSG_MAIN "Menu nagusia"
2491
+	#define MSG_AUTOSTART "Auto hasiera"
2492
+	#define MSG_DISABLE_STEPPERS "Itzali motoreak"
2493
+	#define MSG_AUTO_HOME "Hasierara joan"
2494
+	#define MSG_SET_ORIGIN "Hasiera ipini"
2495
+	#define MSG_PREHEAT_PLA "Aurreberotu PLA"
2496
+	#define MSG_PREHEAT_PLA0 "Aurreberotu PLA1"
2497
+	#define MSG_PREHEAT_PLA1 "Aurreberotu PLA2"
2498
+	#define MSG_PREHEAT_PLA2 "Aurreberotu PLA3"
2499
+	#define MSG_PREHEAT_PLA012 "Berotu PLA Guztia"
2500
+	#define MSG_PREHEAT_PLA_BEDONLY "Berotu PLA Ohea"
2501
+	#define MSG_PREHEAT_PLA_SETTINGS "Berotu PLA Konfig"
2502
+	#define MSG_PREHEAT_ABS "Aurreberotu ABS"
2503
+	#define MSG_PREHEAT_ABS0 "Aurreberotu ABS 1"
2504
+	#define MSG_PREHEAT_ABS1 "Aurreberotu ABS 2"
2505
+	#define MSG_PREHEAT_ABS2 "Aurreberotu ABS 3"
2506
+	#define MSG_PREHEAT_ABS012 "Berotu ABS Guztia"
2507
+	#define MSG_PREHEAT_ABS_BEDONLY "Berotu ABS Ohea"
2508
+	#define MSG_PREHEAT_ABS_SETTINGS "Berotu ABS Konfig"
2509
+	#define MSG_COOLDOWN "Hoztu"
2510
+	#define MSG_SWITCH_PS_ON "Energia piztu"
2511
+	#define MSG_SWITCH_PS_OFF "Energia itzali"
2512
+	#define MSG_EXTRUDE "Estruitu"
2513
+	#define MSG_RETRACT "Atzera eragin"
2514
+	#define MSG_MOVE_AXIS "Ardatzak mugitu"
2515
+	#define MSG_MOVE_X "Mugitu X"
2516
+	#define MSG_MOVE_Y "Mugitu Y"
2517
+	#define MSG_MOVE_Z "Mugitu Z"
2518
+	#define MSG_MOVE_E "Estrusorea"
2519
+	#define MSG_MOVE_E1 "Estrusorea2"
2520
+	#define MSG_MOVE_E2 "Estrusorea3"
2521
+	#define MSG_MOVE_01MM "Mugitu 0.1mm"
2522
+	#define MSG_MOVE_1MM "Mugitu 1mm"
2523
+	#define MSG_MOVE_10MM "Mugitu 10mm"
2524
+	#define MSG_SPEED "Abiadura"
2525
+	#define MSG_NOZZLE "Pita"
2526
+	#define MSG_NOZZLE1 "Pita2"
2527
+	#define MSG_NOZZLE2 "Pita3"
2528
+	#define MSG_BED "Ohea"
2529
+	#define MSG_FAN_SPEED "Haizagailua"
2530
+	#define MSG_FLOW "Fluxua"
2531
+	#define MSG_FLOW0 "Fluxua 0"
2532
+	#define MSG_FLOW1 "Fluxua 1"
2533
+	#define MSG_FLOW2 "Fluxua 2"
2534
+	#define MSG_CONTROL "Kontrola"
2535
+	#define MSG_MIN " \002 Min"
2536
+	#define MSG_MAX " \002 Max"
2537
+	#define MSG_FACTOR " \002 Faktorea"
2538
+	#define MSG_AUTOTEMP "Auto tenperatura"
2539
+	#define MSG_ON "On "
2540
+	#define MSG_OFF "Off"
2541
+	#define MSG_PID_P "PID-P"
2542
+	#define MSG_PID_I "PID-I"
2543
+	#define MSG_PID_D "PID-D"
2544
+	#define MSG_PID_C "PID-C"
2545
+	#define MSG_ACC  "Azelerazioa"
2546
+	#define MSG_VXY_JERK "Vxy-astindua"
2547
+	#define MSG_VZ_JERK "Vz-astindua"
2548
+	#define MSG_VE_JERK "Ve-astindua"
2549
+	#define MSG_VMAX "Vmax "
2550
+	#define MSG_X "x"
2551
+	#define MSG_Y "y"
2552
+	#define MSG_Z "z"
2553
+	#define MSG_E "e"
2554
+	#define MSG_VMIN "Vmin"
2555
+	#define MSG_VTRAV_MIN "VTrav min"
2556
+	#define MSG_AMAX "Amax "
2557
+	#define MSG_A_RETRACT "A-retrakt"
2558
+	#define MSG_XSTEPS "X pausoak/mm"
2559
+	#define MSG_YSTEPS "Y pausoak/mm"
2560
+	#define MSG_ZSTEPS "Z pausoak/mm"
2561
+	#define MSG_ESTEPS "E pausoak/mm"
2562
+	#define MSG_RECTRACT "Atzera eragin"
2563
+	#define MSG_TEMPERATURE "Tenperatura"
2564
+	#define MSG_MOTION "Mugimendua"
2565
+	#define MSG_CONTRAST "LCD kontrastea"
2566
+	#define MSG_STORE_EPROM "Gorde memoria"
2567
+	#define MSG_LOAD_EPROM "Kargatu memoria"
2568
+	#define MSG_RESTORE_FAILSAFE "Larri. berriz."
2569
+	#define MSG_REFRESH "Berriz kargatu"
2570
+	#define MSG_WATCH "Pantaila info"
2571
+	#define MSG_PREPARE "Prestatu"
2572
+	#define MSG_TUNE "Doitu"
2573
+	#define MSG_PAUSE_PRINT "Pausatu inprimak."
2574
+	#define MSG_RESUME_PRINT "Jarraitu inprima."
2575
+	#define MSG_STOP_PRINT "Gelditu inprima."
2576
+	#define MSG_CARD_MENU "SD-tik inprimatu"
2577
+	#define MSG_NO_CARD "Ez dago txartelik"
2578
+	#define MSG_DWELL "Lo egin..."
2579
+	#define MSG_USERWAIT "Aginduak zain..."
2580
+	#define MSG_RESUMING "Jarraitzen inpri."
2581
+	#define MSG_NO_MOVE "Mugimendu gabe"
2582
+	#define MSG_KILLED "LARRIALDI GELDIA"
2583
+	#define MSG_STOPPED "GELDITUTA. "
2584
+	#define MSG_CONTROL_RETRACT  "Atzera egin mm"
2585
+	#define MSG_CONTROL_RETRACTF "Atzera egin V"
2586
+	#define MSG_CONTROL_RETRACT_ZLIFT "Igo mm"
2587
+	#define MSG_CONTROL_RETRACT_RECOVER "Atzera egin +mm"
2588
+	#define MSG_CONTROL_RETRACT_RECOVERF "Atzera egin V"
2589
+	#define MSG_AUTORETRACT "Atzera egin"
2590
+	#define MSG_FILAMENTCHANGE "Aldatu filament."
2591
+	#define MSG_INIT_SDCARD "Hasieratu txartela"
2592
+	#define MSG_CNG_SDCARD "Aldatu txartela"
2593
+	#define MSG_ZPROBE_OUT "Z ohe hasiera"
2594
+	#define MSG_POSITION_UNKNOWN "Posizio ezezaguna"
2595
+	#define MSG_ZPROBE_ZOFFSET "Z konpentsatu"
2596
+	#define MSG_BABYSTEP_X "Babystep X"
2597
+	#define MSG_BABYSTEP_Y "Babystep Y"
2598
+	#define MSG_BABYSTEP_Z "Babystep Z"
2599
+	#define MSG_ENDSTOP_ABORT "Endstop deuseztat"
2600
+	
2601
+// Serial Console Messages
2602
+
2603
+	#define MSG_Enqueing "Zerrendan \""
2604
+	#define MSG_POWERUP "Pizketa"
2605
+	#define MSG_EXTERNAL_RESET " Kanpoko Reset"
2606
+	#define MSG_BROWNOUT_RESET " Tentsio Okerra Reset"
2607
+	#define MSG_WATCHDOG_RESET " Reset Blokeoa"
2608
+	#define MSG_SOFTWARE_RESET " Software Reset"
2609
+	#define MSG_AUTHOR " | Egilea: "
2610
+	#define MSG_CONFIGURATION_VER " Azken Aktualizazio: "
2611
+	#define MSG_FREE_MEMORY " Aske Memoria: "
2612
+	#define MSG_PLANNER_BUFFER_BYTES "  PlannerBufferBytes: "
2613
+	#define MSG_OK "ok"
2614
+	#define MSG_FILE_SAVED "Gordetuta."
2615
+	#define MSG_ERR_LINE_NO "Lerro zenbakia ez da azken zenbakia+1 berdina, Azken Lerroa: "
2616
+	#define MSG_ERR_CHECKSUM_MISMATCH "checksum-ak ez du aldiberekotasuna, Azken Lerroa: "
2617
+	#define MSG_ERR_NO_CHECKSUM "Ez da checksum-ik aurkitu lerro zenbakian, Azken Lerroa: "
2618
+	#define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "Ez da lerro zenbakia aurkitu checksum-arekin, Azken Lerroa: "
2619
+	#define MSG_FILE_PRINTED "Inprimaketa bukatua"
2620
+	#define MSG_BEGIN_FILE_LIST "Hasi artxibo zerrenda"
2621
+	#define MSG_END_FILE_LIST "Amaitu artxibo zerrenda"
2622
+	#define MSG_M104_INVALID_EXTRUDER "M104 Balio gabeko Estrusorea "
2623
+	#define MSG_M105_INVALID_EXTRUDER "M105 Balio gabeko Estrusorea "
2624
+	#define MSG_M200_INVALID_EXTRUDER "M200 Balio gabeko Estrusorea "
2625
+	#define MSG_M218_INVALID_EXTRUDER "M218 Balio gabeko Estrusorea "
2626
+	#define MSG_M221_INVALID_EXTRUDER "M221 Balio gabeko Estrusorea "
2627
+	#define MSG_ERR_NO_THERMISTORS "Termistorerik ez dago - Tenperaturarik gabe"
2628
+	#define MSG_M109_INVALID_EXTRUDER "M109 Balio gabeko Estrusorea "
2629
+	#define MSG_HEATING "Berotzen..."
2630
+	#define MSG_HEATING_COMPLETE "berotuta."
2631
+	#define MSG_BED_HEATING "Ohea berotzen."
2632
+	#define MSG_BED_DONE "Ohea berotuta."
2633
+	#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"
2634
+	#define MSG_COUNT_X " X Kontu: "
2635
+	#define MSG_ERR_KILLED "Inprimagailua geldituta. kill() called!"
2636
+	#define MSG_ERR_STOPPED "Akatsen eraginez inprimagailua geldituta. Errorea konpondu eta M999 erabili berrabiarazteko. (Tenperatura galdu egin da. Berriro ipini)"
2637
+	#define MSG_RESEND "Bidali berriro: "
2638
+	#define MSG_UNKNOWN_COMMAND "Agindu ezezaguna: \""
2639
+	#define MSG_ACTIVE_EXTRUDER "Estrusore Aktiboa: "
2640
+	#define MSG_INVALID_EXTRUDER "Balio gabeko Estrusorea"
2641
+	#define MSG_X_MIN "x_min: "
2642
+	#define MSG_X_MAX "x_max: "
2643
+	#define MSG_Y_MIN "y_min: "
2644
+	#define MSG_Y_MAX "y_max: "
2645
+	#define MSG_Z_MIN "z_min: "
2646
+	#define MSG_Z_MAX "z_max: "
2647
+	#define MSG_M119_REPORT "Bide amaiera egiaztatzen"
2648
+	#define MSG_ENDSTOP_HIT "Sakatuta"
2649
+	#define MSG_ENDSTOP_OPEN "irekia"
2650
+	#define MSG_HOTEND_OFFSET "Hotend offsets:"
2651
+
2652
+	#define MSG_SD_CANT_OPEN_SUBDIR "Azpidirektorio ezin da ireki"
2653
+	#define MSG_SD_INIT_FAIL "Akatsa txartela hasterakoan"
2654
+	#define MSG_SD_VOL_INIT_FAIL "Akatsa partizioa hasterakoan"
2655
+	#define MSG_SD_OPENROOT_FAIL "Akatsa direktorio nagusian"
2656
+	#define MSG_SD_CARD_OK "SD card ok"
2657
+	#define MSG_SD_WORKDIR_FAIL "Akatsa lan direktorioan"
2658
+	#define MSG_SD_OPEN_FILE_FAIL "Akatsa irekitzean, File: "
2659
+	#define MSG_SD_FILE_OPENED "Artxiboa irekita: "
2660
+	#define MSG_SD_SIZE " Tamaina: "
2661
+	#define MSG_SD_FILE_SELECTED "Artxiboa aukeratuta"
2662
+	#define MSG_SD_WRITE_TO_FILE "Artxiboa idazten: "
2663
+	#define MSG_SD_PRINTING_BYTE "SD byte idazten "
2664
+	#define MSG_SD_NOT_PRINTING "Ez dago SD-tik inprimatzen"
2665
+	#define MSG_SD_ERR_WRITE_TO_FILE "Akatsak artxiboa idazten"
2666
+	#define MSG_SD_CANT_ENTER_SUBDIR "Azpidirektorio ezin da ireki: "
2667
+
2668
+	#define MSG_STEPPER_TOO_HIGH "Motorra oso goi dago: "
2669
+	#define MSG_ENDSTOPS_HIT "Bide amaiera ukitu da: "
2670
+	#define MSG_ERR_COLD_EXTRUDE_STOP " estrusio hotza saihestua"
2671
+	#define MSG_ERR_LONG_EXTRUDE_STOP " estrusio oso luzea saihestua"
2672
+	#define MSG_BABYSTEPPING_X "Babystepping X"
2673
+	#define MSG_BABYSTEPPING_Y "Babystepping Y"
2674
+	#define MSG_BABYSTEPPING_Z "Babystepping Z"
2675
+	#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Akatsak menu-an"
2676
+	
2677
+#endif
2678
+
2142 2679
 #endif // ifndef LANGUAGE_H

+ 103
- 1
Marlin/pins.h Visa fil

@@ -1,6 +1,7 @@
1 1
 #ifndef PINS_H
2 2
 #define PINS_H
3 3
 
4
+#if MOTHERBOARD != 88
4 5
 #define X_MS1_PIN -1
5 6
 #define X_MS2_PIN -1
6 7
 #define Y_MS1_PIN -1
@@ -12,6 +13,91 @@
12 13
 #define E1_MS1_PIN -1
13 14
 #define E1_MS2_PIN -1
14 15
 #define DIGIPOTSS_PIN -1
16
+#endif
17
+
18
+/****************************************************************************************
19
+* 5DPrint D8 Driver board
20
+* https://bitbucket.org/makible/5dprint-d8-controller-board
21
+****************************************************************************************/
22
+
23
+#if MOTHERBOARD == 88
24
+
25
+#define KNOWN_BOARD 1
26
+#define AT90USB 1286  // Disable MarlinSerial etc.
27
+
28
+#ifndef __AVR_AT90USB1286__
29
+#error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
30
+#endif
31
+
32
+#define LARGE_FLASH        true
33
+
34
+#define X_STEP_PIN          0
35
+#define X_DIR_PIN           1
36
+#define X_ENABLE_PIN       23
37
+#define X_STOP_PIN         37
38
+
39
+#define Y_STEP_PIN          2
40
+#define Y_DIR_PIN           3
41
+#define Y_ENABLE_PIN       19
42
+#define Y_STOP_PIN         36
43
+
44
+#define Z_STEP_PIN          4
45
+#define Z_DIR_PIN           5
46
+#define Z_ENABLE_PIN       18
47
+#define Z_STOP_PIN         39
48
+
49
+#define E0_STEP_PIN         6
50
+#define E0_DIR_PIN          7
51
+#define E0_ENABLE_PIN      17
52
+
53
+#define HEATER_0_PIN       21  // Extruder
54
+#define HEATER_1_PIN       -1
55
+#define HEATER_2_PIN       -1
56
+#define HEATER_BED_PIN     20  // Bed
57
+// You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
58
+// for the fan and Teensyduino uses a different pin mapping.
59
+#define FAN_PIN            16  // Fan
60
+
61
+#define TEMP_0_PIN          1  // Extruder / Analog pin numbering
62
+#define TEMP_BED_PIN        0  // Bed / Analog pin numbering
63
+
64
+#define TEMP_1_PIN         -1
65
+#define TEMP_2_PIN         -1
66
+
67
+#define SDPOWER            -1
68
+#define LED_PIN            -1
69
+#define PS_ON_PIN          -1
70
+#define KILL_PIN           -1
71
+#define ALARM_PIN          -1
72
+
73
+// The SDSS pin uses a different pin mapping from file Sd2PinMap.h
74
+#define SDSS               20
75
+
76
+#ifndef SDSUPPORT
77
+// these pins are defined in the SD library if building with SD support
78
+  #define SCK_PIN           9
79
+  #define MISO_PIN         11
80
+  #define MOSI_PIN         10
81
+#endif
82
+
83
+// Microstepping pins
84
+// Note that the pin mapping is not from fastio.h
85
+// See Sd2PinMap.h for the pin configurations
86
+#define X_MS1_PIN 25
87
+#define X_MS2_PIN 26
88
+#define Y_MS1_PIN 9
89
+#define Y_MS2_PIN 8
90
+#define Z_MS1_PIN 7
91
+#define Z_MS2_PIN 6
92
+#define E0_MS1_PIN 5
93
+#define E0_MS2_PIN 4
94
+
95
+#endif /* 88 */
96
+
97
+/****************************************************************************************
98
+*
99
+*
100
+****************************************************************************************/
15 101
 
16 102
 #if MOTHERBOARD == 99
17 103
 #define KNOWN_BOARD 1
@@ -502,7 +588,7 @@
502 588
   #endif
503 589
 
504 590
   #if MOTHERBOARD == 35
505
-    #define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller
591
+    #define CONTROLLERFAN_PIN  -1 //Pin used for the fan to cool controller
506 592
   #endif
507 593
 
508 594
   #define PS_ON_PIN          12
@@ -1054,6 +1140,22 @@
1054 1140
  #define FAN_PIN            4
1055 1141
 #endif
1056 1142
 
1143
+#ifdef NUM_SERVOS
1144
+  #define SERVO0_PIN          -1
1145
+
1146
+  #if NUM_SERVOS > 1
1147
+    #define SERVO1_PIN        -1
1148
+  #endif
1149
+
1150
+  #if NUM_SERVOS > 2
1151
+    #define SERVO2_PIN        -1
1152
+  #endif
1153
+
1154
+  #if NUM_SERVOS > 3
1155
+    #define SERVO3_PIN        -1
1156
+  #endif
1157
+#endif
1158
+
1057 1159
 #define PS_ON_PIN          -1
1058 1160
 #define KILL_PIN           -1
1059 1161
 

+ 19
- 4
Marlin/stepper.cpp Visa fil

@@ -1228,13 +1228,22 @@ void digipot_current(uint8_t driver, int current)
1228 1228
 
1229 1229
 void microstep_init()
1230 1230
 {
1231
-  #if defined(X_MS1_PIN) && X_MS1_PIN > -1
1232 1231
   const uint8_t microstep_modes[] = MICROSTEP_MODES;
1233
-  pinMode(X_MS2_PIN,OUTPUT);
1232
+
1233
+  #if defined(E1_MS1_PIN) && E1_MS1_PIN > -1
1234
+  pinMode(E1_MS1_PIN,OUTPUT);
1235
+  pinMode(E1_MS2_PIN,OUTPUT); 
1236
+  #endif
1237
+
1238
+  #if defined(X_MS1_PIN) && X_MS1_PIN > -1
1239
+  pinMode(X_MS1_PIN,OUTPUT);
1240
+  pinMode(X_MS2_PIN,OUTPUT);  
1241
+  pinMode(Y_MS1_PIN,OUTPUT);
1234 1242
   pinMode(Y_MS2_PIN,OUTPUT);
1235
-  pinMode(Z_MS2_PIN,OUTPUT);
1243
+  pinMode(Z_MS1_PIN,OUTPUT);
1244
+  pinMode(Z_MS2_PIN,OUTPUT);  
1245
+  pinMode(E0_MS1_PIN,OUTPUT);
1236 1246
   pinMode(E0_MS2_PIN,OUTPUT);
1237
-  pinMode(E1_MS2_PIN,OUTPUT);
1238 1247
   for(int i=0;i<=4;i++) microstep_mode(i,microstep_modes[i]);
1239 1248
   #endif
1240 1249
 }
@@ -1247,7 +1256,9 @@ void microstep_ms(uint8_t driver, int8_t ms1, int8_t ms2)
1247 1256
     case 1: digitalWrite( Y_MS1_PIN,ms1); break;
1248 1257
     case 2: digitalWrite( Z_MS1_PIN,ms1); break;
1249 1258
     case 3: digitalWrite(E0_MS1_PIN,ms1); break;
1259
+    #if defined(E1_MS1_PIN) && E1_MS1_PIN > -1
1250 1260
     case 4: digitalWrite(E1_MS1_PIN,ms1); break;
1261
+    #endif
1251 1262
   }
1252 1263
   if(ms2 > -1) switch(driver)
1253 1264
   {
@@ -1255,7 +1266,9 @@ void microstep_ms(uint8_t driver, int8_t ms1, int8_t ms2)
1255 1266
     case 1: digitalWrite( Y_MS2_PIN,ms2); break;
1256 1267
     case 2: digitalWrite( Z_MS2_PIN,ms2); break;
1257 1268
     case 3: digitalWrite(E0_MS2_PIN,ms2); break;
1269
+    #if defined(E1_MS2_PIN) && E1_MS2_PIN > -1
1258 1270
     case 4: digitalWrite(E1_MS2_PIN,ms2); break;
1271
+    #endif
1259 1272
   }
1260 1273
 }
1261 1274
 
@@ -1286,8 +1299,10 @@ void microstep_readings()
1286 1299
       SERIAL_PROTOCOLPGM("E0: ");
1287 1300
       SERIAL_PROTOCOL(   digitalRead(E0_MS1_PIN));
1288 1301
       SERIAL_PROTOCOLLN( digitalRead(E0_MS2_PIN));
1302
+      #if defined(E1_MS1_PIN) && E1_MS1_PIN > -1
1289 1303
       SERIAL_PROTOCOLPGM("E1: ");
1290 1304
       SERIAL_PROTOCOL(   digitalRead(E1_MS1_PIN));
1291 1305
       SERIAL_PROTOCOLLN( digitalRead(E1_MS2_PIN));
1306
+      #endif
1292 1307
 }
1293 1308
 

+ 2
- 2
Marlin/temperature.cpp Visa fil

@@ -258,14 +258,14 @@ void PID_autotune(float temp, int extruder, int ncycles)
258 258
               Kp = 0.33*Ku;
259 259
               Ki = Kp/Tu;
260 260
               Kd = Kp*Tu/3;
261
-              SERIAL_PROTOCOLLNPGM(" Some overshoot ")
261
+              SERIAL_PROTOCOLLNPGM(" Some overshoot ");
262 262
               SERIAL_PROTOCOLPGM(" Kp: "); SERIAL_PROTOCOLLN(Kp);
263 263
               SERIAL_PROTOCOLPGM(" Ki: "); SERIAL_PROTOCOLLN(Ki);
264 264
               SERIAL_PROTOCOLPGM(" Kd: "); SERIAL_PROTOCOLLN(Kd);
265 265
               Kp = 0.2*Ku;
266 266
               Ki = 2*Kp/Tu;
267 267
               Kd = Kp*Tu/3;
268
-              SERIAL_PROTOCOLLNPGM(" No overshoot ")
268
+              SERIAL_PROTOCOLLNPGM(" No overshoot ");
269 269
               SERIAL_PROTOCOLPGM(" Kp: "); SERIAL_PROTOCOLLN(Kp);
270 270
               SERIAL_PROTOCOLPGM(" Ki: "); SERIAL_PROTOCOLLN(Ki);
271 271
               SERIAL_PROTOCOLPGM(" Kd: "); SERIAL_PROTOCOLLN(Kd);

+ 172
- 72
Marlin/thermistortables.h Visa fil

@@ -563,78 +563,135 @@ const short temptable_10[][2] PROGMEM = {
563 563
    {1016*OVERSAMPLENR, 0}
564 564
 };
565 565
 #endif
566
-
567
-#if (THERMISTORHEATER_0 == 20) || (THERMISTORHEATER_1 == 20) || (THERMISTORHEATER_2 == 20) || (THERMISTORBED == 20) // PT100 with INA826 amp on Ultimaker v2.0 electronics
568
-/* The PT100 in the Ultimaker v2.0 electronics has a high sample value for a high temperature.
569
-This does not match the normal thermistor behaviour so we need to set the following defines */
570
-#if (THERMISTORHEATER_0 == 20)
571
-# define HEATER_0_RAW_HI_TEMP 16383
572
-# define HEATER_0_RAW_LO_TEMP 0
573
-#endif
574
-#if (THERMISTORHEATER_1 == 20)
575
-# define HEATER_1_RAW_HI_TEMP 16383
576
-# define HEATER_1_RAW_LO_TEMP 0
577
-#endif
578
-#if (THERMISTORHEATER_2 == 20)
579
-# define HEATER_2_RAW_HI_TEMP 16383
580
-# define HEATER_2_RAW_LO_TEMP 0
581
-#endif
582
-#if (THERMISTORBED == 20)
583
-# define HEATER_BED_RAW_HI_TEMP 16383
584
-# define HEATER_BED_RAW_LO_TEMP 0
585
-#endif
586
-const short temptable_20[][2] PROGMEM = {
587
-{         0*OVERSAMPLENR ,       0     },
588
-{       227*OVERSAMPLENR ,       1     },
589
-{       236*OVERSAMPLENR ,       10     },
590
-{       245*OVERSAMPLENR ,       20     },
591
-{       253*OVERSAMPLENR ,       30     },
592
-{       262*OVERSAMPLENR ,       40     },
593
-{       270*OVERSAMPLENR ,       50     },
594
-{       279*OVERSAMPLENR ,       60     },
595
-{       287*OVERSAMPLENR ,       70     },
596
-{       295*OVERSAMPLENR ,       80     },
597
-{       304*OVERSAMPLENR ,       90     },
598
-{       312*OVERSAMPLENR ,       100     },
599
-{       320*OVERSAMPLENR ,       110     },
600
-{       329*OVERSAMPLENR ,       120     },
601
-{       337*OVERSAMPLENR ,       130     },
602
-{       345*OVERSAMPLENR ,       140     },
603
-{       353*OVERSAMPLENR ,       150     },
604
-{       361*OVERSAMPLENR ,       160     },
605
-{       369*OVERSAMPLENR ,       170     },
606
-{       377*OVERSAMPLENR ,       180     },
607
-{       385*OVERSAMPLENR ,       190     },
608
-{       393*OVERSAMPLENR ,       200     },
609
-{       401*OVERSAMPLENR ,       210     },
610
-{       409*OVERSAMPLENR ,       220     },
611
-{       417*OVERSAMPLENR ,       230     },
612
-{       424*OVERSAMPLENR ,       240     },
613
-{       432*OVERSAMPLENR ,       250     },
614
-{       440*OVERSAMPLENR ,       260     },
615
-{       447*OVERSAMPLENR ,       270     },
616
-{       455*OVERSAMPLENR ,       280     },
617
-{       463*OVERSAMPLENR ,       290     },
618
-{       470*OVERSAMPLENR ,       300     },
619
-{       478*OVERSAMPLENR ,       310     },
620
-{       485*OVERSAMPLENR ,       320     },
621
-{       493*OVERSAMPLENR ,       330     },
622
-{       500*OVERSAMPLENR ,       340     },
623
-{       507*OVERSAMPLENR ,       350     },
624
-{       515*OVERSAMPLENR ,       360     },
625
-{       522*OVERSAMPLENR ,       370     },
626
-{       529*OVERSAMPLENR ,       380     },
627
-{       537*OVERSAMPLENR ,       390     },
628
-{       544*OVERSAMPLENR ,       400     },
629
-{       614*OVERSAMPLENR ,       500     },
630
-{       681*OVERSAMPLENR ,       600     },
631
-{       744*OVERSAMPLENR ,       700     },
632
-{       805*OVERSAMPLENR ,       800     },
633
-{       862*OVERSAMPLENR ,       900     },
634
-{       917*OVERSAMPLENR ,       1000     },
635
-{       968*OVERSAMPLENR ,       1100     }
636
-};
637
-#endif
566
+
567
+#if (THERMISTORHEATER_0 == 11) || (THERMISTORHEATER_1 == 11) || (THERMISTORHEATER_2 == 11) || (THERMISTORBED == 11) 
568
+// QU-BD silicone bed QWG-104F-3950 thermistor
569
+
570
+const short temptable_11[][2] PROGMEM = {
571
+         {1*OVERSAMPLENR,        938},
572
+         {31*OVERSAMPLENR,       314},
573
+         {41*OVERSAMPLENR,       290},
574
+         {51*OVERSAMPLENR,       272},
575
+         {61*OVERSAMPLENR,       258},
576
+         {71*OVERSAMPLENR,       247},
577
+         {81*OVERSAMPLENR,       237},
578
+         {91*OVERSAMPLENR,       229},
579
+         {101*OVERSAMPLENR,      221},
580
+         {111*OVERSAMPLENR,      215},
581
+         {121*OVERSAMPLENR,      209},
582
+         {131*OVERSAMPLENR,      204},
583
+         {141*OVERSAMPLENR,      199},
584
+         {151*OVERSAMPLENR,      195},
585
+         {161*OVERSAMPLENR,      190},
586
+         {171*OVERSAMPLENR,      187},
587
+         {181*OVERSAMPLENR,      183},
588
+         {191*OVERSAMPLENR,      179},
589
+         {201*OVERSAMPLENR,      176},
590
+         {221*OVERSAMPLENR,      170},
591
+         {241*OVERSAMPLENR,      165},
592
+         {261*OVERSAMPLENR,      160},
593
+         {281*OVERSAMPLENR,      155},
594
+         {301*OVERSAMPLENR,      150},
595
+         {331*OVERSAMPLENR,      144},
596
+         {361*OVERSAMPLENR,      139},
597
+         {391*OVERSAMPLENR,      133},
598
+         {421*OVERSAMPLENR,      128},
599
+         {451*OVERSAMPLENR,      123},
600
+         {491*OVERSAMPLENR,      117},
601
+         {531*OVERSAMPLENR,      111},
602
+         {571*OVERSAMPLENR,      105},
603
+         {611*OVERSAMPLENR,      100},
604
+         {641*OVERSAMPLENR,      95},
605
+         {681*OVERSAMPLENR,      90},
606
+         {711*OVERSAMPLENR,      85},
607
+         {751*OVERSAMPLENR,      79},
608
+         {791*OVERSAMPLENR,      72},
609
+         {811*OVERSAMPLENR,      69},
610
+         {831*OVERSAMPLENR,      65},
611
+         {871*OVERSAMPLENR,      57},
612
+         {881*OVERSAMPLENR,      55},
613
+         {901*OVERSAMPLENR,      51},
614
+         {921*OVERSAMPLENR,      45},
615
+         {941*OVERSAMPLENR,      39},
616
+         {971*OVERSAMPLENR,      28},
617
+         {981*OVERSAMPLENR,      23},
618
+         {991*OVERSAMPLENR,      17},
619
+         {1001*OVERSAMPLENR,     9},
620
+         {1021*OVERSAMPLENR,     -27}
621
+};
622
+#endif
623
+
624
+#if (THERMISTORHEATER_0 == 20) || (THERMISTORHEATER_1 == 20) || (THERMISTORHEATER_2 == 20) || (THERMISTORBED == 20) // PT100 with INA826 amp on Ultimaker v2.0 electronics
625
+/* The PT100 in the Ultimaker v2.0 electronics has a high sample value for a high temperature.
626
+This does not match the normal thermistor behaviour so we need to set the following defines */
627
+#if (THERMISTORHEATER_0 == 20)
628
+# define HEATER_0_RAW_HI_TEMP 16383
629
+# define HEATER_0_RAW_LO_TEMP 0
630
+#endif
631
+#if (THERMISTORHEATER_1 == 20)
632
+# define HEATER_1_RAW_HI_TEMP 16383
633
+# define HEATER_1_RAW_LO_TEMP 0
634
+#endif
635
+#if (THERMISTORHEATER_2 == 20)
636
+# define HEATER_2_RAW_HI_TEMP 16383
637
+# define HEATER_2_RAW_LO_TEMP 0
638
+#endif
639
+#if (THERMISTORBED == 20)
640
+# define HEATER_BED_RAW_HI_TEMP 16383
641
+# define HEATER_BED_RAW_LO_TEMP 0
642
+#endif
643
+const short temptable_20[][2] PROGMEM = {
644
+{         0*OVERSAMPLENR ,       0     },
645
+{       227*OVERSAMPLENR ,       1     },
646
+{       236*OVERSAMPLENR ,       10     },
647
+{       245*OVERSAMPLENR ,       20     },
648
+{       253*OVERSAMPLENR ,       30     },
649
+{       262*OVERSAMPLENR ,       40     },
650
+{       270*OVERSAMPLENR ,       50     },
651
+{       279*OVERSAMPLENR ,       60     },
652
+{       287*OVERSAMPLENR ,       70     },
653
+{       295*OVERSAMPLENR ,       80     },
654
+{       304*OVERSAMPLENR ,       90     },
655
+{       312*OVERSAMPLENR ,       100     },
656
+{       320*OVERSAMPLENR ,       110     },
657
+{       329*OVERSAMPLENR ,       120     },
658
+{       337*OVERSAMPLENR ,       130     },
659
+{       345*OVERSAMPLENR ,       140     },
660
+{       353*OVERSAMPLENR ,       150     },
661
+{       361*OVERSAMPLENR ,       160     },
662
+{       369*OVERSAMPLENR ,       170     },
663
+{       377*OVERSAMPLENR ,       180     },
664
+{       385*OVERSAMPLENR ,       190     },
665
+{       393*OVERSAMPLENR ,       200     },
666
+{       401*OVERSAMPLENR ,       210     },
667
+{       409*OVERSAMPLENR ,       220     },
668
+{       417*OVERSAMPLENR ,       230     },
669
+{       424*OVERSAMPLENR ,       240     },
670
+{       432*OVERSAMPLENR ,       250     },
671
+{       440*OVERSAMPLENR ,       260     },
672
+{       447*OVERSAMPLENR ,       270     },
673
+{       455*OVERSAMPLENR ,       280     },
674
+{       463*OVERSAMPLENR ,       290     },
675
+{       470*OVERSAMPLENR ,       300     },
676
+{       478*OVERSAMPLENR ,       310     },
677
+{       485*OVERSAMPLENR ,       320     },
678
+{       493*OVERSAMPLENR ,       330     },
679
+{       500*OVERSAMPLENR ,       340     },
680
+{       507*OVERSAMPLENR ,       350     },
681
+{       515*OVERSAMPLENR ,       360     },
682
+{       522*OVERSAMPLENR ,       370     },
683
+{       529*OVERSAMPLENR ,       380     },
684
+{       537*OVERSAMPLENR ,       390     },
685
+{       544*OVERSAMPLENR ,       400     },
686
+{       614*OVERSAMPLENR ,       500     },
687
+{       681*OVERSAMPLENR ,       600     },
688
+{       744*OVERSAMPLENR ,       700     },
689
+{       805*OVERSAMPLENR ,       800     },
690
+{       862*OVERSAMPLENR ,       900     },
691
+{       917*OVERSAMPLENR ,       1000     },
692
+{       968*OVERSAMPLENR ,       1100     }
693
+};
694
+#endif
638 695
 
639 696
 #if (THERMISTORHEATER_0 == 51) || (THERMISTORHEATER_1 == 51) || (THERMISTORHEATER_2 == 51) || (THERMISTORBED == 51)
640 697
 // 100k EPCOS (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
@@ -781,6 +838,14 @@ const short temptable_55[][2] PROGMEM = {
781 838
 #endif
782 839
 
783 840
 #if (THERMISTORHEATER_0 == 60) || (THERMISTORHEATER_1 == 60) || (THERMISTORHEATER_2 == 60) || (THERMISTORBED == 60) // Maker's Tool Works Kapton Bed Thermister
841
+// ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=3950 
842
+// r0: 100000
843
+// t0: 25
844
+// r1: 0 (parallel with rTherm)
845
+// r2: 4700 (series with rTherm)
846
+// beta: 3950
847
+// min adc: 1 at 0.0048828125 V
848
+// max adc: 1023 at 4.9951171875 V
784 849
 const short temptable_60[][2] PROGMEM = {
785 850
    {51*OVERSAMPLENR, 272},
786 851
    {61*OVERSAMPLENR, 258},
@@ -856,6 +921,41 @@ const short temptable_60[][2] PROGMEM = {
856 921
    {1008*OVERSAMPLENR, 0},
857 922
 };
858 923
 #endif
924
+#if (THERMISTORBED == 12) 
925
+//100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)
926
+const short temptable_12[][2] PROGMEM = {
927
+   {35*OVERSAMPLENR, 180}, //top rating 180C
928
+   {211*OVERSAMPLENR, 140},
929
+   {233*OVERSAMPLENR, 135},
930
+   {261*OVERSAMPLENR, 130},
931
+   {290*OVERSAMPLENR, 125},
932
+   {328*OVERSAMPLENR, 120},
933
+   {362*OVERSAMPLENR, 115},
934
+   {406*OVERSAMPLENR, 110},
935
+   {446*OVERSAMPLENR, 105},
936
+   {496*OVERSAMPLENR, 100},
937
+   {539*OVERSAMPLENR, 95},
938
+   {585*OVERSAMPLENR, 90},
939
+   {629*OVERSAMPLENR, 85},
940
+   {675*OVERSAMPLENR, 80},
941
+   {718*OVERSAMPLENR, 75},
942
+   {758*OVERSAMPLENR, 70},
943
+   {793*OVERSAMPLENR, 65},
944
+   {822*OVERSAMPLENR, 60},
945
+   {841*OVERSAMPLENR, 55},
946
+   {875*OVERSAMPLENR, 50},
947
+   {899*OVERSAMPLENR, 45},
948
+   {926*OVERSAMPLENR, 40},
949
+   {946*OVERSAMPLENR, 35},
950
+   {962*OVERSAMPLENR, 30},
951
+   {977*OVERSAMPLENR, 25},
952
+   {987*OVERSAMPLENR, 20},
953
+   {995*OVERSAMPLENR, 15},
954
+   {1001*OVERSAMPLENR, 10},
955
+   {1010*OVERSAMPLENR, 0},
956
+   {1023*OVERSAMPLENR, -40},
957
+};
958
+#endif
859 959
 
860 960
 // Pt1000 and Pt100 handling
861 961
 // 

+ 157
- 33
Marlin/ultralcd.cpp Visa fil

@@ -305,37 +305,6 @@ static void lcd_autostart_sd()
305 305
 }
306 306
 #endif
307 307
 
308
-void lcd_preheat_pla()
309
-{
310
-    setTargetHotend0(plaPreheatHotendTemp);
311
-    setTargetHotend1(plaPreheatHotendTemp);
312
-    setTargetHotend2(plaPreheatHotendTemp);
313
-    setTargetBed(plaPreheatHPBTemp);
314
-    fanSpeed = plaPreheatFanSpeed;
315
-    lcd_return_to_status();
316
-    setWatch(); // heater sanity check timer
317
-}
318
-
319
-void lcd_preheat_abs()
320
-{
321
-    setTargetHotend0(absPreheatHotendTemp);
322
-    setTargetHotend1(absPreheatHotendTemp);
323
-    setTargetHotend2(absPreheatHotendTemp);
324
-    setTargetBed(absPreheatHPBTemp);
325
-    fanSpeed = absPreheatFanSpeed;
326
-    lcd_return_to_status();
327
-    setWatch(); // heater sanity check timer
328
-}
329
-
330
-static void lcd_cooldown()
331
-{
332
-    setTargetHotend0(0);
333
-    setTargetHotend1(0);
334
-    setTargetHotend2(0);
335
-    setTargetBed(0);
336
-    lcd_return_to_status();
337
-}
338
-
339 308
 #ifdef BABYSTEPPING
340 309
 static void lcd_babystep_x()
341 310
 {
@@ -436,6 +405,154 @@ static void lcd_tune_menu()
436 405
     END_MENU();
437 406
 }
438 407
 
408
+void lcd_preheat_pla0()
409
+{
410
+    setTargetHotend0(plaPreheatHotendTemp);
411
+    setTargetBed(plaPreheatHPBTemp);
412
+    fanSpeed = plaPreheatFanSpeed;
413
+    lcd_return_to_status();
414
+    setWatch(); // heater sanity check timer
415
+}
416
+
417
+void lcd_preheat_abs0()
418
+{
419
+    setTargetHotend0(absPreheatHotendTemp);
420
+    setTargetBed(absPreheatHPBTemp);
421
+    fanSpeed = absPreheatFanSpeed;
422
+    lcd_return_to_status();
423
+    setWatch(); // heater sanity check timer
424
+}
425
+
426
+#if TEMP_SENSOR_1 != 0 //2nd extruder preheat
427
+void lcd_preheat_pla1()
428
+{
429
+    setTargetHotend1(plaPreheatHotendTemp);
430
+    setTargetBed(plaPreheatHPBTemp);
431
+    fanSpeed = plaPreheatFanSpeed;
432
+    lcd_return_to_status();
433
+    setWatch(); // heater sanity check timer
434
+}
435
+
436
+void lcd_preheat_abs1()
437
+{
438
+    setTargetHotend1(absPreheatHotendTemp);
439
+    setTargetBed(absPreheatHPBTemp);
440
+    fanSpeed = absPreheatFanSpeed;
441
+    lcd_return_to_status();
442
+    setWatch(); // heater sanity check timer
443
+}
444
+#endif //2nd extruder preheat
445
+
446
+#if TEMP_SENSOR_2 != 0 //3 extruder preheat
447
+void lcd_preheat_pla2()
448
+{
449
+    setTargetHotend2(plaPreheatHotendTemp);
450
+    setTargetBed(plaPreheatHPBTemp);
451
+    fanSpeed = plaPreheatFanSpeed;
452
+    lcd_return_to_status();
453
+    setWatch(); // heater sanity check timer
454
+}
455
+
456
+void lcd_preheat_abs2()
457
+{
458
+    setTargetHotend2(absPreheatHotendTemp);
459
+    setTargetBed(absPreheatHPBTemp);
460
+    fanSpeed = absPreheatFanSpeed;
461
+    lcd_return_to_status();
462
+    setWatch(); // heater sanity check timer
463
+}
464
+#endif //3 extruder preheat
465
+
466
+#if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 //more than one extruder present
467
+void lcd_preheat_pla012()
468
+{
469
+    setTargetHotend0(plaPreheatHotendTemp);
470
+    setTargetHotend1(plaPreheatHotendTemp);
471
+    setTargetHotend2(plaPreheatHotendTemp);
472
+    setTargetBed(plaPreheatHPBTemp);
473
+    fanSpeed = plaPreheatFanSpeed;
474
+    lcd_return_to_status();
475
+    setWatch(); // heater sanity check timer
476
+}
477
+
478
+void lcd_preheat_abs012()
479
+{
480
+    setTargetHotend0(absPreheatHotendTemp);
481
+    setTargetHotend1(absPreheatHotendTemp);
482
+    setTargetHotend2(absPreheatHotendTemp);
483
+    setTargetBed(absPreheatHPBTemp);
484
+    fanSpeed = absPreheatFanSpeed;
485
+    lcd_return_to_status();
486
+    setWatch(); // heater sanity check timer
487
+}
488
+#endif //more than one extruder present
489
+
490
+void lcd_preheat_pla_bedonly()
491
+{
492
+    setTargetBed(plaPreheatHPBTemp);
493
+    fanSpeed = plaPreheatFanSpeed;
494
+    lcd_return_to_status();
495
+    setWatch(); // heater sanity check timer
496
+}
497
+
498
+void lcd_preheat_abs_bedonly()
499
+{
500
+    setTargetBed(absPreheatHPBTemp);
501
+    fanSpeed = absPreheatFanSpeed;
502
+    lcd_return_to_status();
503
+    setWatch(); // heater sanity check timer
504
+}
505
+
506
+static void lcd_preheat_pla_menu()
507
+{
508
+    START_MENU();
509
+    MENU_ITEM(back, MSG_PREPARE, lcd_prepare_menu);
510
+    MENU_ITEM(function, MSG_PREHEAT_PLA0, lcd_preheat_pla0);
511
+#if TEMP_SENSOR_1 != 0 //2 extruder preheat
512
+    MENU_ITEM(function, MSG_PREHEAT_PLA1, lcd_preheat_pla1);
513
+#endif //2 extruder preheat
514
+#if TEMP_SENSOR_2 != 0 //3 extruder preheat
515
+    MENU_ITEM(function, MSG_PREHEAT_PLA2, lcd_preheat_pla2);
516
+#endif //3 extruder preheat
517
+#if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 //all extruder preheat
518
+    MENU_ITEM(function, MSG_PREHEAT_PLA012, lcd_preheat_pla012);
519
+#endif //2 extruder preheat
520
+#if TEMP_SENSOR_BED != 0
521
+    MENU_ITEM(function, MSG_PREHEAT_PLA_BEDONLY, lcd_preheat_pla_bedonly);
522
+#endif
523
+    END_MENU();
524
+}
525
+
526
+static void lcd_preheat_abs_menu()
527
+{
528
+    START_MENU();
529
+    MENU_ITEM(back, MSG_PREPARE, lcd_prepare_menu);
530
+    MENU_ITEM(function, MSG_PREHEAT_ABS0, lcd_preheat_abs0);
531
+#if TEMP_SENSOR_1 != 0 //2 extruder preheat
532
+    MENU_ITEM(function, MSG_PREHEAT_ABS1, lcd_preheat_abs1);
533
+#endif //2 extruder preheat
534
+#if TEMP_SENSOR_2 != 0 //3 extruder preheat
535
+    MENU_ITEM(function, MSG_PREHEAT_ABS2, lcd_preheat_abs2);
536
+#endif //3 extruder preheat
537
+#if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 //all extruder preheat
538
+    MENU_ITEM(function, MSG_PREHEAT_ABS012, lcd_preheat_abs012);
539
+#endif //2 extruder preheat
540
+#if TEMP_SENSOR_BED != 0
541
+    MENU_ITEM(function, MSG_PREHEAT_ABS_BEDONLY, lcd_preheat_abs_bedonly);
542
+#endif
543
+    END_MENU();
544
+}
545
+
546
+void lcd_cooldown()
547
+{
548
+    setTargetHotend0(0);
549
+    setTargetHotend1(0);
550
+    setTargetHotend2(0);
551
+    setTargetBed(0);
552
+    fanSpeed = 0;
553
+    lcd_return_to_status();
554
+}
555
+
439 556
 static void lcd_prepare_menu()
440 557
 {
441 558
     START_MENU();
@@ -448,8 +565,15 @@ static void lcd_prepare_menu()
448 565
     MENU_ITEM(gcode, MSG_DISABLE_STEPPERS, PSTR("M84"));
449 566
     MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28"));
450 567
     //MENU_ITEM(gcode, MSG_SET_ORIGIN, PSTR("G92 X0 Y0 Z0"));
451
-    MENU_ITEM(function, MSG_PREHEAT_PLA, lcd_preheat_pla);
452
-    MENU_ITEM(function, MSG_PREHEAT_ABS, lcd_preheat_abs);
568
+#if TEMP_SENSOR_0 != 0
569
+  #if TEMP_SENSOR_1 != 0 || TEMP_SENSOR_2 != 0 || TEMP_SENSOR_BED != 0
570
+    MENU_ITEM(submenu, MSG_PREHEAT_PLA, lcd_preheat_pla_menu);
571
+    MENU_ITEM(submenu, MSG_PREHEAT_ABS, lcd_preheat_abs_menu);
572
+  #else
573
+    MENU_ITEM(function, MSG_PREHEAT_PLA, lcd_preheat_pla0);
574
+    MENU_ITEM(function, MSG_PREHEAT_ABS, lcd_preheat_abs0);
575
+  #endif
576
+#endif
453 577
     MENU_ITEM(function, MSG_COOLDOWN, lcd_cooldown);
454 578
 #if PS_ON_PIN > -1
455 579
     if (powersupply)

+ 3
- 3
README.md Visa fil

@@ -204,15 +204,15 @@ M Codes
204 204
 *  M140 - Set bed target temp
205 205
 *  M190 - Sxxx Wait for bed current temp to reach target temp. Waits only when heating
206 206
 *         Rxxx Wait for bed current temp to reach target temp. Waits when heating and cooling
207
-*  M200 - Set filament diameter
207
+*  M200 D<millimeters>- set filament diameter and set E axis units to cubic millimeters (use S0 to set back to millimeters).
208 208
 *  M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000)
209 209
 *  M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000) Unused in Marlin!!
210 210
 *  M203 - Set maximum feedrate that your machine can sustain (M203 X200 Y200 Z300 E10000) in mm/sec
211 211
 *  M204 - Set default acceleration: S normal moves T filament only moves (M204 S3000 T7000) im mm/sec^2  also sets minimum segment time in ms (B20000) to prevent buffer underruns and M20 minimum feedrate
212 212
 *  M205 -  advanced settings:  minimum travel speed S=while printing T=travel only,  B=minimum segment time X= maximum xy jerk, Z=maximum Z jerk, E=maximum E jerk
213 213
 *  M206 - set additional homeing offset
214
-*  M207 - set retract length S[positive mm] F[feedrate mm/sec] Z[additional zlift/hop]
215
-*  M208 - set recover=unretract length S[positive mm surplus to the M207 S*] F[feedrate mm/sec]
214
+*  M207 - set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop], stays in mm regardless of M200 setting
215
+*  M208 - set recover=unretract length S[positive mm surplus to the M207 S*] F[feedrate mm/min]
216 216
 *  M209 - S<1=true/0=false> enable automatic retract detect if the slicer did not support G10/11: every normal extrude-only move will be classified as retract depending on the direction.
217 217
 *  M218 - set hotend offset (in mm): T<extruder_number> X<offset_on_X> Y<offset_on_Y>
218 218
 *  M220 S<factor in percent>- set speed factor override percentage

Laddar…
Avbryt
Spara