3d printer Bed Auto Levelingを試す:その4
1. Marlin Firmwareのlatest versionをdownload。
2. ダウンロードした、Marlinのファイルの中からConfiguration.hを探して、デフォルト値を、自分のプリンターの設定値に書き換え(ここを参照)。
3. さて、Bed Auto Leveling関係の設定。Servo関連から始める。
Line 747-:コメントを外す。Servo Endstopsのangle値を仮入力(最後に調整するので数字は適当な値で良いが、今回は仮の値として30, 110を入力)。
/*********************************************************************\ * R/C SERVO support * Sponsored by TrinityLabs, Reworked by codexmas **********************************************************************/ // Number of servos // // If you select a configuration below, this will receive a default value and does not need to be set manually // set it manually if you have more servos than extruders and wish to manually control some // leaving it undefined or defining as 0 will disable the servo subsystem // If unsure, leave commented / disabled // #define NUM_SERVOS 3 // Servo index starts with 0 for M280 command // Servo Endstops // // This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes. // Use M206 command to correct for switch height offset to actual nozzle height. Store that setting with M500. // #define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1 #define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 30, 110} // X,Y,Z Axis Extend and Retract angles
4. Marlinをcompileし、Arduinoへアップロード。
5. pronterfaceを起動。コマンド「M280 P0 S{angle}」をつかう。servの取り付けかたでangle設定は変わる。とりあえず、angleは30。以下のコマンドをpronterface右下に入力して、sendボタンをクリック。
M280 P0 S30
6. Servoが動いたことを確認したら、servoにarmを取り付け。armの向きはHeated bedにVerticalに。角度の調整が必要なければこれでよし。もし、Verticalからずれていたら、コマンド「M280 P0 S{angle}」でangle変数を変えて、Verticalになるよう調整。Verticalになる角度がextend angle、値をメモ。
7. 再びpronterface。コマンド「M280 P0 S{angle}」をつかう。armがHorizontal(じゃまにならなければよい)にretractするようにangleを決める。angleで110で試してみる。以下のコマンドをpronterface右下に入力して、sendボタンをクリック。
M280 P0 S110
無事、armがHorizontalになったので、110がretract angle、値をメモ。