To home only the Y axis on 3D printers running on most firmwares, use G28
with the Y
axis specifier
G28 Y
To home only the Y axis on 3D printers running on most firmwares, use G28
with the Y
axis specifier
G28 Y
To home only the X axis on 3D printers running on most firmwares, use G28
with the X
axis specifier
G28 X
When compiling Marlin for simulation, you see an error message like
Error: Build environment 'linux_native' is incompatible with BOARD_RAMPS_14_EFB. Use one of these: mega2560, mega1280
Open Marlin/Configuration.h
and change the line
#ifndef MOTHERBOARD #define MOTHERBOARD BOARD_RAMPS_14_EFB #endif
to use the BOARD_LINUX_RAMPS
board:
// Choose the name from boards.h that matches your setup #ifndef MOTHERBOARD #define MOTHERBOARD BOARD_LINUX_RAMPS #endif
Even if the error message shows that you should use mega2560
or mega1280
, you need to use BOARD_LINUX_RAMPS
!
The Anycubic i3 Mega (-S) stock mainboard uses the Atmega2560 microcontroller which has the following properties:
Run
M503
which will show all EEPROM configuration values, among them these lines:
M301 P29.34 I3.58 D60.08 M304 P427.57 I84.18 D542.91
Note that the M301
line represents the Hotend PID values whereas M304
represent the Bed PID values.
These are the Hotend PID parameters for my Ender 3 using a MicroSwiss hotend with a MicroSwiss direct drive Extruder:
Marlin Configuration.h
setting:
#define DEFAULT_Kp 29.34 #define DEFAULT_Ki 3.58 #define DEFAULT_Kd 60.08
Set PID values using G-Code and save to EEPROM:
M301 P29.34 I3.58 D60.08
M500
M301 P29.34 I3.58 D60.08 M500
If you want custom values, run PID autotune like this:
M106 P0 S255
to turn on the first fanM106 P1 S255
to turn on the second fanM303 E0 S210 C8
then proceed like shown above.