Deploying to gh-pages from @ Klipper3d/klipper@3417940fd8 🚀

This commit is contained in:
KevinOConnor 2023-12-19 00:04:07 +00:00
parent bc70664085
commit 128f06b0a6
78 changed files with 695 additions and 695 deletions

View file

@ -1449,28 +1449,28 @@
<p>本文档提供了一系列帮助验证 Klipper printer.cfg 文件中的引脚设置的步骤。推荐在完成<a href="Installation.html">安装文档</a> 中的步骤后执行本文档中的步骤。</p>
<p>在执行此指南的过程中,可能需要修改 Klipper 的配置文件。请务必在每次修改配置文件后发送 RESTART 命令,以确保修改成功生效(在 Octoprint 终端标签中输入 "RESTART"(重启),然后点击 "Send"(发送))。在每次重启之后最好再发出一次 STATUS (状态)命令,以验证配置文件是否成功加载。</p>
<h2 id="_2">验证温度<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
<p>Start by verifying that temperatures are being properly reported. Navigate to the temperature graph section in the user interface. 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.</p>
<p>首先验证温度报告是否正确。导航到用户界面中的温度图部分。验证喷嘴和床(如适用)的温度是否存在且没有升高。如果它正在增加,请断开打印机的电源。如果温度不准确,请查看喷嘴和/或床的“sensor_type”和“sensor_pin”设置。</p>
<h2 id="m112">验证 M112<a class="headerlink" href="#m112" title="Permanent link">&para;</a></h2>
<p>Navigate to the command console and issue an M112 command in the terminal box. This command requests Klipper to go into a "shutdown" state. It will cause an error to show, which can be cleared with a FIRMWARE_RESTART command in the command console. Octoprint will also require a reconnect. Then navigate to the temperature graph section and verify that temperatures continue to update and the temperatures are not increasing. If temperatures are increasing, remove power from the printer.</p>
<p>导航到命令控制台并在接线盒中发出M112命令。此命令要求Klipper进入“关闭”状态。它将导致显示一个错误可以通过命令控制台中的FIRMWARE_RESTART命令清除该错误。八达通还需要重新连接。然后导航到温度图部分验证温度是否继续更新温度是否没有升高。如果温度升高请断开打印机电源。</p>
<h2 id="_3">验证加热器<a class="headerlink" href="#_3" title="Permanent link">&para;</a></h2>
<p>Navigate to the temperature graph section and type in 50 followed by enter in the extruder/tool temperature box. The extruder temperature in the graph should start to increase (within about 30 seconds or so). Then go to the extruder 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.</p>
<p>导航到温度图部分键入50然后在挤出机/工具温度框中输入。图中的挤出机温度应开始升高大约在30秒内。然后转到挤出机温度下拉框选择“关闭”。几分钟后温度应开始恢复到其初始室温值。如果温度没有升高则验证配置中的“heater_pin”设置。</p>
<p>如果打印机带有热床,则用热床重复上述测试。</p>
<h2 id="enable">验证步进电机 enable启用引脚<a class="headerlink" href="#enable" title="Permanent link">&para;</a></h2>
<p>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: !PA1").</p>
<p>验证所有打印机轴是否可以手动自由移动步进电机已禁用。如果没有则发出M84命令以禁用电机。如果任何轴仍然不能自由移动则验证给定轴的步进器“enable_pin”配置。在大多数商用步进电机驱动器上电机启用引脚为“低激活”因此启用引脚应在引脚之前有一个“例如“enable_pin:!PA1”</p>
<h2 id="_4">验证限位开关<a class="headerlink" href="#_4" title="Permanent link">&para;</a></h2>
<p>Manually move all the printer axes so that none of them are in contact with an endstop. Send a QUERY_ENDSTOPS command via the command console. It should respond with the current state of all of the configured endstops and they should all report a state of "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".</p>
<p>If the endstop appears inverted (it reports "open" when triggered and vice-versa) then add a "!" to the pin definition (for example, "endstop_pin: ^PA2"), or remove the "!" if there is already one present.</p>
<p>手动移动所有打印机轴使其不与端挡接触。通过命令控制台发送QUERY_ENDSTOPS命令。它应该以所有配置的端站的当前状态进行响应并且它们都应该报告“打开”状态。对于每个endstop在手动触发endstop的同时重新运行QUERY_endstops命令。QUERY_ENDSTOPS命令应将endstop报告为“TRIGGERED”。</p>
<p>如果endstop出现反转触发时报告“打开”反之亦然则在端号定义中添加一个“例如“endstop_pin:^PA2”或者如果已经存在“则删除该“”。</p>
<p>如果限位状态根本没有变化,则通常表示限位器连接到不同的引脚。 但是它也可能表示需要更改引脚的上拉设置endstop_pin 名称开头的“^” - 大多数打印机需要使用上拉电阻并且应该存在“^”)。</p>
<h2 id="_5">验证步进电机<a class="headerlink" href="#_5" title="Permanent link">&para;</a></h2>
<p>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 <code>STEPPER_BUZZ STEPPER=stepper_x</code> in the command console. 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.</p>
<p>使用STEPPER_BUZZ命令验证每个步进电机的连接。首先手动将给定轴定位到中间点然后在命令控制台中运行<code>STEPPER_BUZZ STEPPER=stepper_x</code> 。STEPPER_BUZZ命令将使给定的步进器向正方向移动一毫米然后返回其起始位置。如果在position_endstop=0处定义了端止点则在每次移动开始时步进器将远离端止点。它将执行十次此振荡。</p>
<p>如果步进电机根本不动则需要验证步进驱动的“enable_pin”和“step_pin”设置。 如果步进电机移动但没有返回其原始位置则需要验证“dir_pin”设置。 如果步进电机的振荡方向不正确则通常表示需要反转驱动的“dir_pin”。 即通过添加“!” 到打印机配置文件中的“dir_pin”设置来完成如果已经存在"!",则将其删除)。 如果电机移动明显大于或小于一毫米则需要验证“rotation_distance”设置。</p>
<p>对配置文件中定义的每个步进电机运行上述测试。 (将 STEPPER_BUZZ 命令的 STEPPER 参数设置为要测试的配置部分的名称。)如果挤出机中没有耗材,也可以使用 STEPPER_BUZZ 验证挤出机电机的接线(使用 STEPPER=extruder。 否则,最好单独测试挤出机电机(参见下一节)。</p>
<p>在验证完所有限位器和所有步进电机后,应测试归位机制。 发出 G28 命令以归位所有轴。 如果打印机不能正常归位,请断开打印机电源。 然后,重新执行限位器和步进电机验证流程。</p>
<h2 id="_6">验证挤出机电机<a class="headerlink" href="#_6" title="Permanent link">&para;</a></h2>
<p>To test the extruder motor it will be necessary to heat the extruder to a printing temperature. Navigate to the temperature graph section 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 command console 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.</p>
<p>为了测试挤出机电机有必要将挤出机加热到打印温度。导航到温度图部分并从温度下拉框中选择目标温度或手动输入适当的温度。等待打印机达到所需温度。然后导航到命令控制台并单击“挤出”按钮。确认挤出机电机的转动方向正确。如果没有请参阅上一节中的故障排除提示以确认挤出机的“enable_pin”、“step_pin”和“dir_pin”设置。</p>
<h2 id="pid">校准 PID 设置<a class="headerlink" href="#pid" title="Permanent link">&para;</a></h2>
<p>Klipper支持挤出机和热床加热器的<a href="https://en.wikipedia.org/wiki/PID_controller">PID控制</a>。为了使用这种控制机制,必须对每台打印机的 PID 参数进行校准(在其他固件或示例配置文件中找到的 PID 设置往往效果不佳)。</p>
<p>To calibrate the extruder, navigate to the command console and run the PID_CALIBRATE command. For example: <code>PID_CALIBRATE HEATER=extruder TARGET=170</code></p>
<p>要校准挤出机请导航到命令控制台并运行PID_calibrate命令。例如<code>PID_CALIBRATE HEATER=挤出机TARGET=170</code></p>
<p>调整测试完成后,运行 <code>SAVE_CONFIG</code> 以保存新PID设置到printer.cfg文件。</p>
<p>如果打印机有加热床并且支持PWM脉宽调制驱动那么建议对加热床使用PID控制。 (当使用 PID 算法控制床加热器时,它可能每秒打开和关闭十次,这可能不适用于使用机械开关的加热器。)一般的热床 PID 校准命令是:<code>PID_CALIBRATE HEATER=heater_bed TARGET=60</code></p>
<h2 id="_7">下一步<a class="headerlink" href="#_7" title="Permanent link">&para;</a></h2>