Fri, 17 Nov 2017 10:13:31 +0100
proper configuration, homing and planner optimization
0 | 1 | #ifndef LANGUAGE_H |
2 | #define LANGUAGE_H | |
3 | ||
4 | // Languages | |
5 | // 1 Custom (For you to add your own messages) | |
6 | // 2 English | |
7 | // 3 French (Waiting translation) | |
8 | // 4 German (Waiting translation) | |
9 | // 5 Etc | |
10 | ||
11 | #define LANGUAGE_CHOICE 1 // Pick your language from the list above | |
12 | ||
13 | #if LANGUAGE_CHOICE == 1 | |
14 | ||
15 | // LCD Menu Messages | |
16 | ||
17 | #define WELCOME_MSG "Printer Ready." | |
18 | #define MSG_STANDBY_TEMP "Standby temp set for: " | |
19 | #define MSG_SD_INSERTED "Card inserted" | |
20 | #define MSG_SD_REMOVED "Card removed" | |
21 | #define MSG_MAIN " Main \003" | |
22 | #define MSG_AUTOSTART " Autostart" | |
23 | #define MSG_DISABLE_STEPPERS " Disable Steppers" | |
24 | #define MSG_AUTO_HOME " Auto Home" | |
25 | #define MSG_SET_ORIGIN " Set Origin" | |
26 | #define MSG_COOLDOWN " Cooldown" | |
27 | #define MSG_EXTRUDE " Extrude" | |
28 | #define MSG_PREHEAT_PLA " Preheat PLA" | |
29 | #define MSG_PREHEAT_ABS " Preheat ABS" | |
30 | #define MSG_MOVE_AXIS " Move Axis \x7E" | |
31 | #define MSG_SPEED " Speed:" | |
32 | #define MSG_NOZZLE " \002Nozzle:" | |
33 | #define MSG_BED " \002Bed:" | |
34 | #define MSG_FAN_SPEED " Fan speed:" | |
35 | #define MSG_FLOW " Flow:" | |
36 | #define MSG_CONTROL " Control \003" | |
37 | #define MSG_MIN " \002 Min:" | |
38 | #define MSG_MAX " \002 Max:" | |
39 | #define MSG_FACTOR " \002 Fact:" | |
40 | #define MSG_AUTOTEMP " Autotemp:" | |
41 | #define MSG_ON "On " | |
42 | #define MSG_OFF "Off" | |
43 | #define MSG_PID_P " PID-P: " | |
44 | #define MSG_PID_I " PID-I: " | |
45 | #define MSG_PID_D " PID-D: " | |
46 | #define MSG_PID_C " PID-C: " | |
47 | #define MSG_ACC " Acc:" | |
48 | #define MSG_VXY_JERK " Vxy-jerk: " | |
49 | #define MSG_VMAX " Vmax " | |
50 | #define MSG_X "x:" | |
51 | #define MSG_Y "y:" | |
52 | #define MSG_Z "z:" | |
53 | #define MSG_E "e:" | |
54 | #define MSG_VMIN " Vmin:" | |
55 | #define MSG_VTRAV_MIN " VTrav min:" | |
56 | #define MSG_AMAX " Amax " | |
57 | #define MSG_A_RETRACT " A-retract:" | |
58 | #define MSG_XSTEPS " Xsteps/mm:" | |
59 | #define MSG_YSTEPS " Ysteps/mm:" | |
60 | #define MSG_ZSTEPS " Zsteps/mm:" | |
61 | #define MSG_ESTEPS " Esteps/mm:" | |
62 | #define MSG_MAIN_WIDE " Main \003" | |
63 | #define MSG_TEMPERATURE_WIDE " Temperature \x7E" | |
64 | #define MSG_MOTION_WIDE " Motion \x7E" | |
65 | #define MSG_STORE_EPROM " Store memory" | |
66 | #define MSG_LOAD_EPROM " Load memory" | |
67 | #define MSG_RESTORE_FAILSAFE " Restore Failsafe" | |
68 | #define MSG_REFRESH "\004Refresh" | |
69 | #define MSG_WATCH " Watch \003" | |
70 | #define MSG_PREPARE " Prepare \x7E" | |
71 | #define MSG_PREPARE_ALT " Prepare \003" | |
72 | #define MSG_CONTROL_ARROW " Control \x7E" | |
73 | #define MSG_TUNE " Tune \x7E" | |
74 | #define MSG_STOP_PRINT " Stop Print \x7E" | |
75 | #define MSG_CARD_MENU " Card Menu \x7E" | |
76 | #define MSG_NO_CARD " No Card" | |
77 | #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure." | |
78 | #define MSG_DWELL "Sleep..." | |
79 | #define MSG_USERWAIT "Wait for user..." | |
80 | #define MSG_NO_MOVE "No move." | |
81 | #define MSG_PART_RELEASE "Partial Release" | |
82 | #define MSG_KILLED "KILLED. " | |
83 | #define MSG_STOPPED "STOPPED. " | |
84 | #define MSG_PREHEAT_PLA " Preheat PLA" | |
85 | #define MSG_PREHEAT_ABS " Preheat ABS" | |
86 | #define MSG_STEPPER_RELEASED "Released." | |
87 | ||
88 | ||
89 | // Serial Console Messages | |
90 | ||
91 | #define MSG_Enqueing "enqueing \"" | |
92 | #define MSG_POWERUP "PowerUp" | |
93 | #define MSG_EXTERNAL_RESET " External Reset" | |
94 | #define MSG_BROWNOUT_RESET " Brown out Reset" | |
95 | #define MSG_WATCHDOG_RESET " Watchdog Reset" | |
96 | #define MSG_SOFTWARE_RESET " Software Reset" | |
97 | #define MSG_MARLIN "Marlin " | |
98 | #define MSG_AUTHOR " | Author: " | |
99 | #define MSG_CONFIGURATION_VER " Last Updated: " | |
100 | #define MSG_FREE_MEMORY " Free Memory: " | |
101 | #define MSG_PLANNER_BUFFER_BYTES " PlannerBufferBytes: " | |
102 | #define MSG_OK "ok" | |
103 | #define MSG_FILE_SAVED "Done saving file." | |
104 | #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line:" | |
105 | #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line:" | |
106 | #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line:" | |
107 | #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line:" | |
108 | #define MSG_FILE_PRINTED "Done printing file" | |
109 | #define MSG_BEGIN_FILE_LIST "Begin file list" | |
110 | #define MSG_END_FILE_LIST "End file list" | |
111 | #define MSG_M104_INVALID_EXTRUDER "M104 Invalid extruder " | |
112 | #define MSG_M105_INVALID_EXTRUDER "M105 Invalid extruder " | |
113 | #define MSG_ERR_NO_THERMISTORS "No thermistors - no temp" | |
114 | #define MSG_M109_INVALID_EXTRUDER "M109 Invalid extruder " | |
115 | #define MSG_HEATING "Heating..." | |
116 | #define MSG_HEATING_COMPLETE "Heating done." | |
117 | #define MSG_BED_HEATING "Bed Heating." | |
118 | #define MSG_BED_DONE "Bed done." | |
119 | #define MSG_M115_REPORT "FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://www.mendel-parts.com PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1\n" | |
120 | #define MSG_COUNT_X " Count X:" | |
121 | #define MSG_ERR_KILLED "Printer halted. kill() called !!" | |
122 | #define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart!. (Temperature is reset. Set it before restarting)" | |
123 | #define MSG_RESEND "Resend:" | |
124 | #define MSG_UNKNOWN_COMMAND "Unknown command:\"" | |
125 | #define MSG_ACTIVE_EXTRUDER "Active Extruder: " | |
126 | #define MSG_INVALID_EXTRUDER "Invalid extruder" | |
127 | #define MSG_X_MIN "x_min:" | |
128 | #define MSG_X_MAX "x_max:" | |
129 | #define MSG_Y_MIN "y_min:" | |
130 | #define MSG_Y_MAX "y_max:" | |
131 | #define MSG_Z_MIN "z_min:" | |
132 | #define MSG_Z_MAX "z_max:" | |
133 | ||
134 | #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir" | |
135 | #define MSG_SD_INIT_FAIL "SD init fail" | |
136 | #define MSG_SD_VOL_INIT_FAIL "volume.init failed" | |
137 | #define MSG_SD_OPENROOT_FAIL "openRoot failed" | |
138 | #define MSG_SD_CARD_OK "SD card ok" | |
139 | #define MSG_SD_WORKDIR_FAIL "workDir open failed" | |
140 | #define MSG_SD_OPEN_FILE_FAIL "open failed, File: " | |
141 | #define MSG_SD_FILE_OPENED "File opened:" | |
142 | #define MSG_SD_SIZE " Size:" | |
143 | #define MSG_SD_FILE_SELECTED "File selected" | |
144 | #define MSG_SD_WRITE_TO_FILE "Writing to file: " | |
145 | #define MSG_SD_PRINTING_BYTE "SD printing byte " | |
146 | #define MSG_SD_NOT_PRINTING "Not SD printing" | |
147 | #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file" | |
148 | #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir:" | |
149 | ||
150 | #define MSG_STEPPER_TO_HIGH "Steprate to high : " | |
151 | #define MSG_ENDSTOPS_HIT "endstops hit: " | |
152 | #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented" | |
153 | #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented" | |
154 | ||
155 | #endif | |
156 | #if LANGUAGE_CHOICE == 4 | |
157 | ||
158 | // LCD Menu Messages | |
159 | ||
160 | #define WELCOME_MSG "MARLIN Ready." | |
161 | ||
162 | #define MSG_SD_INSERTED "Card inserted" | |
163 | #define MSG_SD_REMOVED "Card removed" | |
164 | #define MSG_MAIN " Main \003" | |
165 | #define MSG_AUTOSTART " Autostart" | |
166 | #define MSG_DISABLE_STEPPERS " Stepper abschalten" | |
167 | #define MSG_AUTO_HOME " Auto Heim" | |
168 | #define MSG_SET_ORIGIN " Position setzen" | |
169 | #define MSG_PREHEAT_PLA " Aufheizen PLA" | |
170 | #define MSG_PREHEAT_ABS " Aufheizen ABS" | |
171 | #define MSG_COOLDOWN " Abkuehlen" | |
172 | #define MSG_EXTRUDE " Extrude" | |
173 | #define MSG_PREHEAT_PLA " Preheat PLA" | |
174 | #define MSG_PREHEAT_ABS " Preheat ABS" | |
175 | #define MSG_MOVE_AXIS " Move Axis \x7E" | |
176 | #define MSG_MOVE_AXIS " Achsen verfahren \x7E" | |
177 | #define MSG_SPEED " Geschw:" | |
178 | #define MSG_NOZZLE " \002Duese:" | |
179 | #define MSG_BED " \002Bett:" | |
180 | #define MSG_FAN_SPEED " Luefter geschw.:" | |
181 | #define MSG_FLOW " Fluss:" | |
182 | #define MSG_CONTROL " Kontrolle \003" | |
183 | #define MSG_MIN " \002 Min:" | |
184 | #define MSG_MAX " \002 Max:" | |
185 | #define MSG_FACTOR " \002 Faktor:" | |
186 | #define MSG_AUTOTEMP " AutoTemp:" | |
187 | #define MSG_ON "Ein " | |
188 | #define MSG_OFF "Aus " | |
189 | #define MSG_PID_P " PID-P: " | |
190 | #define MSG_PID_I " PID-I: " | |
191 | #define MSG_PID_D " PID-D: " | |
192 | #define MSG_PID_C " PID-C: " | |
193 | #define MSG_ACC " Acc:" | |
194 | #define MSG_VXY_JERK " Vxy-jerk: " | |
195 | #define MSG_VMAX " Vmax " | |
196 | #define MSG_X "x:" | |
197 | #define MSG_Y "y:" | |
198 | #define MSG_Z "z:" | |
199 | #define MSG_E "e:" | |
200 | #define MSG_VMIN " Vmin:" | |
201 | #define MSG_VTRAV_MIN " VTrav min:" | |
202 | #define MSG_AMAX " Amax " | |
203 | #define MSG_A_RETRACT " A-retract:" | |
204 | #define MSG_XSTEPS " Xsteps/mm:" | |
205 | #define MSG_YSTEPS " Ysteps/mm:" | |
206 | #define MSG_ZSTEPS " Zsteps/mm:" | |
207 | #define MSG_ESTEPS " Esteps/mm:" | |
208 | #define MSG_MAIN_WIDE " Main \003" | |
209 | #define MSG_TEMPERATURE_WIDE " Temperatur \x7E" | |
210 | #define MSG_MOTION_WIDE " Motion \x7E" | |
211 | #define MSG_STORE_EPROM " EPROM speichern" | |
212 | #define MSG_LOAD_EPROM " EPROM laden" | |
213 | #define MSG_RESTORE_FAILSAFE " Standard Konfig." | |
214 | #define MSG_REFRESH "\004Refresh" | |
215 | #define MSG_WATCH " Beobachten \003" | |
216 | #define MSG_PREPARE " Prepare \x7E" | |
217 | #define MSG_PREPARE_ALT " Prepare \003" | |
218 | #define MSG_CONTROL_ARROW " Control \x7E" | |
219 | #define MSG_TUNE " Tune \x7E" | |
220 | #define MSG_STOP_PRINT " Druck stoppen \x7E" | |
221 | #define MSG_CARD_MENU " SDKarten Menue \x7E" | |
222 | #define MSG_NO_CARD " Keine SDKarte" | |
223 | #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Fehler in der Menuestruktur." | |
224 | #define MSG_DWELL "DWELL..." | |
225 | #define MSG_NO_MOVE "No move." | |
226 | #define MSG_PART_RELEASE "Partial Release" | |
227 | #define MSG_KILLED "KILLED. " | |
228 | #define MSG_PREHEAT_PLA " Preheat PLA" | |
229 | #define MSG_PREHEAT_ABS " Preheat ABS" | |
230 | #define MSG_STEPPER_RELEASED "Released." | |
231 | ||
232 | ||
233 | // Serial Console Messages | |
234 | ||
235 | #define MSG_Enqueing "enqueing \"" | |
236 | #define MSG_POWERUP "PowerUp" | |
237 | #define MSG_EXTERNAL_RESET " External Reset" | |
238 | #define MSG_BROWNOUT_RESET " Brown out Reset" | |
239 | #define MSG_WATCHDOG_RESET " Watchdog Reset" | |
240 | #define MSG_SOFTWARE_RESET " Software Reset" | |
241 | #define MSG_MARLIN "Marlin: " | |
242 | #define MSG_AUTHOR " | Author: " | |
243 | #define MSG_CONFIGURATION_VER " Last Updated: " | |
244 | #define MSG_FREE_MEMORY " Free Memory: " | |
245 | #define MSG_PLANNER_BUFFER_BYTES " PlannerBufferBytes: " | |
246 | #define MSG_OK "ok" | |
247 | #define MSG_FILE_SAVED "Done saving file." | |
248 | #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line:" | |
249 | #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line:" | |
250 | #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line:" | |
251 | #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line:" | |
252 | #define MSG_FILE_PRINTED "Done printing file" | |
253 | #define MSG_BEGIN_FILE_LIST "Begin file list" | |
254 | #define MSG_END_FILE_LIST "End file list" | |
255 | #define MSG_M104_INVALID_EXTRUDER "M104 Invalid extruder " | |
256 | #define MSG_M105_INVALID_EXTRUDER "M105 Invalid extruder " | |
257 | #define MSG_ERR_NO_THERMISTORS "No thermistors - no temp" | |
258 | #define MSG_M109_INVALID_EXTRUDER "M109 Invalid extruder " | |
259 | #define MSG_HEATING "Heating..." | |
260 | #define MSG_HEATING_COMPLETE "Heating done." | |
261 | #define MSG_BED_HEATING "Bed Heating." | |
262 | #define MSG_BED_DONE "Bed done." | |
263 | #define MSG_M115_REPORT "FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://www.mendel-parts.com PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1\n" | |
264 | #define MSG_COUNT_X " Count X:" | |
265 | #define MSG_ERR_KILLED "Printer halted. kill() called !!" | |
266 | #define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart!" | |
267 | #define MSG_RESEND "Resend:" | |
268 | #define MSG_UNKNOWN_COMMAND "Unknown command:\"" | |
269 | #define MSG_ACTIVE_EXTRUDER "Active Extruder: " | |
270 | #define MSG_INVALID_EXTRUDER "Invalid extruder" | |
271 | #define MSG_X_MIN "x_min:" | |
272 | #define MSG_X_MAX "x_max:" | |
273 | #define MSG_Y_MIN "y_min:" | |
274 | #define MSG_Y_MAX "y_max:" | |
275 | #define MSG_Z_MIN "z_min:" | |
276 | #define MSG_Z_MAX "z_max:" | |
277 | ||
278 | #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir" | |
279 | #define MSG_SD_INIT_FAIL "SD init fail" | |
280 | #define MSG_SD_VOL_INIT_FAIL "volume.init failed" | |
281 | #define MSG_SD_OPENROOT_FAIL "openRoot failed" | |
282 | #define MSG_SD_CARD_OK "SD card ok" | |
283 | #define MSG_SD_WORKDIR_FAIL "workDir open failed" | |
284 | #define MSG_SD_OPEN_FILE_FAIL "open failed, File: " | |
285 | #define MSG_SD_FILE_OPENED "File opened:" | |
286 | #define MSG_SD_SIZE " Size:" | |
287 | #define MSG_SD_FILE_SELECTED "File selected" | |
288 | #define MSG_SD_WRITE_TO_FILE "Writing to file: " | |
289 | #define MSG_SD_PRINTING_BYTE "SD printing byte " | |
290 | #define MSG_SD_NOT_PRINTING "Not SD printing" | |
291 | #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file" | |
292 | #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir:" | |
293 | ||
294 | #define MSG_STEPPER_TO_HIGH "Steprate to high : " | |
295 | #define MSG_ENDSTOPS_HIT "endstops hit: " | |
296 | #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented" | |
297 | #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented" | |
298 | ||
299 | #endif | |
300 | #endif // ifndef LANGUAGE_H |