Wiki
Clone wiki5DPrint Firmware / EEPROM Settings
M Codes
M500 - Stores paramters in EEPROM
M501 - Reads parameters from EEPROM
M502 - Reverts to the default "factory settings".
(M502 does not save the settings to EEPROM, in order to save the factory setting back to EEPROM, M500 has to be called again in order to save the settings to EEPROM)
M503 - Print EEPROM settings
Parameters
axis_steps_per_unit
The unit of movement is in mm.
M Code: M92
Makibox A6 has screws which advance 8mm per 200 steps. 25 steps = 1mm. Makiox A6 standard stepper motors have 1.8 deg/step. However with micro-stepping feature 1/16th step is achieved. Therefore, 1mm movement in x, y, z = (200 / 8) * 16 = 400 micro-steps.
Default value: {400, 400, 400, 163}
max_feedr
Maximum feed rate (movement speed) in mm/sec
M Code: M202
Default value: {60, 60, 20, 45} mm/sec
max_acceleration_units_per_sq_second
Maximum acceleration units per square second
M Code: M201
Default value: {600,600,50,5000} mm/sec^2
move_acceleration
Acceleration in mm/sec^2
M Code: M204
Default value: 1000 mm/sec^2
retract_acceleration
Extruder normal acceleration in mm/sec^2
M Code: M204
Default value: 2000 mm/sec^2
mintravelfeedrate
Minimum travel feed rate (movement speed) in mm/sec
M Code: M205
Default value: 0.0 mm/sec
minimumfeedrate
Minimum feed rate in mm/sec
M Code: M205
Default value: 0.0 mm/sec
max_xy_jerk
Maximum XY jerk in mm/sec
M Code: M205
Default value: 20.0 mm/sec
max_z_jerk
Maximum Z jerk in mm/sec
M Code: M205
Default value: 0.4 mm/sec
max_e_jerk
Maximum E jerk in mm/sec
M Code: M205
Default value: 5.0 mm/sec
Kp
Proportional gain in temperature PID control loop
M Code: M301
Default value: 6000
Ki
Integral gain in temperature PID control loop
M Code: M301
Default value: 30
Kd
Derivative gain in temperature PID control loop
M Code: M301
Default value: 2000
max_x_motor_current
Maximum current for the X motor in mA
M Code: M906
Default value: 1600 mA
max_y_motor_current
Maximum current for the Y motor in mA
M Code: M906
Default value: 1600 mA
max_z_motor_current
Maximum current for the Z motor in mA
M Code: M906
Default value: 1600 mA
max_e_motor_current
Maximum current for the E motor in mA
M Code: M906
Default value: 1600 mA
stepper_sense_resistance
The on-board current sense resistance for motor drive chips. This value is used in calculating the reference voltage from the maximum current values. Only 100 m Ohm or 120 m Ohm is allowed.
Default value: 100 m Ohm
user_max_bed_heater_duty_before_full_pwr
Sets the maximum duty cycle of the hot bed in stage 1 (before 70C)
M Code: M305
Default value: 70%
user_max_bed_heater_duty
Sets the maximum duty cycle of the hot bed in stage 2 (after 70C)
M Code: M305
Default value: 85%
autoprint_enabled
Printing starts automatically when SD card with the file "autoprint.gcode" is inserted
M Code: M31
Default value: 1 (enabled)
Updated