Klipper 配置检查

资源下载
机型:VORON 2
更新日期:16/02/2021

本文章翻译位置再此

ref: https://github.com/KevinOConnor/klipper/blob/master/docs/Config_checks.md

很多萌新经常会出一个问题,就是,文件刷好,直接开始打印,发现不行,就开始在群里问,怎么不能用,这问题就多了. 当准备好文件后,第二部其实是确定打印机的每个部分是否正常工作,以下为检查步骤,第一次装机请按照下面的步骤对打印机进行检查。。。

This document provides a list of steps to help confirm the pin settings in the Klipper printer.cfg file. It is a good idea to run through these steps after following the steps in the installation document.
此文章一步步的指导如何检查配置文件是否配置正确,大伙最好按照此文章来检查软件配置安装是否正常。

During this guide, it may be necessary to make changes to the Klipper config file. Be sure to issue a RESTART command after every change to the config file to ensure that the change takes effect (type "restart" in the Octoprint terminal tab and then click "Send"). It's also a good idea to issue a STATUS command after every RESTART to verify that the config file is successfully loaded.
按照此文章配置的时候,你可能需要修改配置文件(也就是config文件printer.cfg)

Verify temperature

Start by verifying that temperatures are being properly reported. Navigate to the Octoprint temperature tab.
首先导航到温度显示部分

Verify that the temperature of the nozzle and bed (if applicable) are present and not increasing. If it is increasing, remove power from the printer. If the temperatures are not accurate, review the "sensor_type" and "sensor_pin" settings for the nozzle and/or bed.

检查打印头温度是否显示和控制正常

  • 如果温度开始升高并且显示正确,就可以跳到下一步
  • 如果温度显示不准确,需要到配置 文件里里面检查温度探头种类和温度引脚配置是否正确。
Verify M112

检查停机命令是否正常
Navigate to the Octoprint terminal tab and issue an M112 command in the terminal box. This command requests Klipper to go into a "shutdown" state. It will cause Octoprint to disconnect from Klipper - navigate to the Connection area and click on "Connect" to cause Octoprint to reconnect. Then navigate to the Octoprint temperature tab and verify that temperatures continue to update and the temperatures are not increasing. If temperatures are increasing, remove power from the printer.

导航到控制终端,输入M112命令,这个命令为停机命令,如果你输入这个命令,klipper会停机。停机后请重新点击“connect”连接指令重新连接打印机并且回到温度显示去检查温度是否正常显示跟新。如果温度显示正常,就可以给打印机断电了(也可以不断电继续操作)

The M112 command causes Klipper to go into a "shutdown" state. To clear this state, issue a FIRMWARE_RESTART command in the Octoprint terminal tab.

M112会导致Klipper停机,使用 FIRMWARE_RESTART 来重启Klipper。

Verify heaters

Navigate to the Octoprint temperature tab and type in 50 followed by enter in the "Tool" temperature box. The extruder temperature in the graph should start to increase (within about 30 seconds or so). Then go to the "Tool" temperature drop-down box and select "Off". After several minutes the temperature should start to return to its initial room temperature value. If the temperature does not increase then verify the "heater_pin" setting in the config.
导航到温度对话框,输入温度为50,并且等待,看温度是否按照要求升高,喉管散热风扇是否正常工作。如果一切正常,就可以关闭加热,如果不正常,请回到config文件去修改heater_pin

If the printer has a heated bed then perform the above test again with the bed.
如果你有配置热床,请按照上面的步骤测试热床工作是否正常

Verify stepper motor enable pin

检查步进电机使能引脚
Verify that all of the printer axes can manually move freely (the stepper motors are disabled). If not, issue an M84 command to disable the motors. If any of the axes still can not move freely, then verify the stepper "enable_pin" configuration for the given axis. On most commodity stepper motor drivers, the motor enable pin is "active low" and therefore the enable pin should have a "!" before the pin (for example, "enable_pin: !ar38").
检查打印机的每个“轴”都工作正常,如果不正常,请使用M84命令暂停电机工作,如果依然不正常,请到config文件内修改“enable_pin” 多数情况下,步进电机使能引脚需要配置为低电平使能“enable low”。 举个例子,在引脚前面加“!” (比如,“enable_pin: !ar38”)

Verify endstops 检查限位

Manually move all the printer axes so that none of them are in contact with an endstop.
手动调节打印机使得xy轴不碰到限位开关
Send a QUERY_ENDSTOPS command via the Octoprint terminal tab.
在终端输入 QUERY_ENDSTOPS
It should respond with the current state of all of the configured endstops and they should all report a state of "open".
终端会相应给出每个限位开关的状态,比如说“open”
For each of the endstops, rerun the QUERY_ENDSTOPS command while manually triggering the endstop. The QUERY_ENDSTOPS command should report the endstop as "TRIGGERED".
对于每个限位开关,你可以手动的去出发开关来检查是否工作正常,如果你按下开关,开关显示“Triggered触发”

If the endstop appears inverted (it reports "open" when triggered and vice-versa) then add a "!" to the pin definition (for example, "endstop_pin: ^!ar3"), or remove the "!" if there is already one present.
如果显示的数值和你想要的数值相反,请进入配置文件在相应的限位开关配置脚前面加上!来取反,这样就能正常工作了

If the endstop does not change at all then it generally indicates that the endstop is connected to a different pin. However, it may also require a change to the pullup setting of the pin (the '^' at the start of the endstop_pin name - most printers will use a pullup resistor and the '^' should be present).
如果按照上面的方法,限位开关依然工作不正常,那么估计是引脚配置错了。

Verify stepper motors 检查步进电机

Use the STEPPER_BUZZ command to verify the connectivity of each stepper motor. Start by manually positioning the given axis to a midway point and then run STEPPER_BUZZ STEPPER=stepper_x. The STEPPER_BUZZ command will cause the given stepper to move one millimeter in a positive direction and then it will return to its starting position. (If the endstop is defined at position_endstop=0 then at the start of each movement the stepper will move away from the endstop.) It will perform this oscillation ten times.
使用STEPPER_BUZZ 命令来检查是否每个步进电机都正确连接了,首先把打印头挪动到打印机中间,然后输入:STEPPER_BUZZ STEPPER=stepper_x,这个命令会发出指令让对应的电机移动1mm然后马上归位(电机会发出声音,靠近听),
If the stepper does not move at all, then verify the "enable_pin" and "step_pin" settings for the stepper. If the stepper motor moves but does not return to its original position then verify the "dir_pin" setting. If the stepper motor oscillates in an incorrect direction, then it generally indicates that the "dir_pin" for the axis needs to be inverted. This is done by adding a '!' to the "dir_pin" in the printer config file (or removing it if one is already there). If the motor moves significantly more or significantly less than one millimeter then verify the "rotation_distance" setting.
如果电机运动,那就回到上上一步去确定步进电机使能引脚等配置是否正确,如果方向错误,请修改dir_pin前面加上“!”来给电机反向

Run the above test for each stepper motor defined in the config file. (Set the STEPPER parameter of the STEPPER_BUZZ command to the name of the config section that is to be tested.) If there is no filament in the extruder then one can use STEPPER_BUZZ to verify the extruder motor connectivity (use STEPPER=extruder). Otherwise, it's best to test the extruder motor separately (see the next section).
如果电机完全不动,请回到上上步重新配置步进电机 使能/步进引脚。

After verifying all endstops and verifying all stepper motors the homing mechanism should be tested. Issue a G28 command to home all axes. Remove power from the printer if it does not home properly. Rerun the endstop and stepper motor verification steps if necessary.
当限位开关和电机都正常后,你可以输入G28指令来归为所所有轴,如果不正常请直接断掉电源或者输入停机指令,然后返回上面的步骤重新测试

Verify extruder motor 检查挤出机

To test the extruder motor it will be necessary to heat the extruder to a printing temperature. Navigate to the Octoprint temperature tab and select a target temperature from the temperature drop-down box (or manually enter an appropriate temperature). Wait for the printer to reach the desired temperature. Then navigate to the Octoprint control tab and click the "Extrude" button. Verify that the extruder motor turns in the correct direction. If it does not, see the troubleshooting tips in the previous section to confirm the "enable_pin", "step_pin", and "dir_pin" settings for the extruder.

为了测试挤出机是否工作正常,首先导航到温度显示框,加热挤出头温度到180以上,比如210,等到挤出头温度上升到指定温度后,导航到控制端,点击“挤出extrude”按钮,检查挤出方向是否正确,如果方向不对请修改配置文件内部的方向和使能引脚等

Calibrate PID settings

Klipper supports PID control for the extruder and bed heaters. In order to use this control mechanism it is necessary to calibrate the PID settings on each printer. (PID settings found in other firmwares or in the example configuration files often work poorly.)

To calibrate the extruder, navigate to the OctoPrint terminal tab and run the PID_CALIBRATE command. For example: PID_CALIBRATE HEATER=extruder TARGET=170

At the completion of the tuning test run SAVE_CONFIG to update the printer.cfg file the new PID settings.

If the printer has a heated bed and it supports being driven by PWM (Pulse Width Modulation) then it is recommended to use PID control for the bed. (When the bed heater is controlled using the PID algorithm it may turn on and off ten times a second, which may not be suitable for heaters using a mechanical switch.) A typical bed PID calibration command is: PID_CALIBRATE HEATER=heater_bed TARGET=60

Next steps

This guide is intended to help with basic verification of pin settings in the Klipper configuration file. Be sure to read the bed leveling guide. Also see the Slicers document for information on configuring a slicer with Klipper.

After one has verified that basic printing works, it is a good idea to consider calibrating pressure advance.

It may be necessary to perform other types of detailed printer calibration - a number of guides are available online to help with this (for example, do a web search for "3d printer calibration"). As an example, if you experience the effect called ringing, you may try following resonance compensation tuning guide.

资源下载
0
封面图
  • 评论2

    请先

    1. 不错,点赞
      appleor02-18
    没有账号? 注册  忘记密码?

    社交账号快速登录