3d printer Bed Auto Levelingを試す:その6
さて、
おさらい(My printerの場合):
- Extend Angle = 30
- Retract Angle = 110
- z_offset = -17.5
- x_offset = 15
- y_offset = 55
必要な値が出揃ったところで、いよいよ、Marlinの設定。Configuration.hに値を入力していく。
L329: true から false へ
#define min_software_endstops false// If true, axis won't move to coordinates less than HOME_POS.
L345: //を外す。
//============================= Bed Auto Leveling =========================== #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
L370-: とりあえず、
- LEFT_PROBE_BED_POSITION => |x_offset|
- RIGHT_PROBE_BED_POSITION =< 200 - |x_offset|
- BACK_PROBE_BED_POSITION =< 200 - |y_offset|
- FRONT_PROBE_BED_POSITION => |y_offset|
で設定し、必要なら後ほど、調整。
// set the rectangle in which to probe #define LEFT_PROBE_BED_POSITION 15 #define RIGHT_PROBE_BED_POSITION 170 #define BACK_PROBE_BED_POSITION 140 #define FRONT_PROBE_BED_POSITION 55
L394-: 測ったz_offset = -17.5、x_offset = 15、y_offset = 55を入力。符号は各々の設定で決まるので要確認。
// these are the offsets to the probe relative to the extruder tip (Hotend - Probe) #define X_PROBE_OFFSET_FROM_EXTRUDER 15 #define Y_PROBE_OFFSET_FROM_EXTRUDER 55 #define Z_PROBE_OFFSET_FROM_EXTRUDER -17.5
L399: z_offsetより10大きめに
#define Z_RAISE_BEFORE_HOMING 30 // (in mm) Raise Z before homing (G28) for Probe Clearance. // Be sure you have this distance over your Z_MAX_POS in case
L402: ゆっくり目に。
#define XY_TRAVEL_SPEED 20*60 // X and Y axis travel speed between probes, in mm/min
L405: z_offsetより5大きめに
#define Z_RAISE_BEFORE_PROBING 25 //How much the extruder will be raised before traveling to the first probing point.
L405: 5のままで
#define Z_RAISE_BETWEEN_PROBINGS 5 //How much the extruder will be raised when traveling from between next probing points
L726: extend angle, retract angle値を入れる。
#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 60,110} // X,Y,Z Axis Extend and Retract angles
以上の設定を入力後、Arduino IDEでコンパイルしてプリンターのArudinoに書き込む!
さて、次はプリンターの電源を入れて設定の確認、、、つづく。