Deploying to gh-pages from @ Klipper3d/klipper@7b490f3ec1 🚀
This commit is contained in:
175
zh/G-Codes.html
175
zh/G-Codes.html
@@ -841,6 +841,26 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#axis_twist_compensation" class="md-nav__link">
|
||||
[axis_twist_compensation]
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="[axis_twist_compensation]">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#axis_twist_compensation_calibrate" class="md-nav__link">
|
||||
AXIS_TWIST_COMPENSATION_CALIBRATE
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -1188,20 +1208,6 @@
|
||||
SYNC_EXTRUDER_MOTION
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#set_extruder_step_distance" class="md-nav__link">
|
||||
SET_EXTRUDER_STEP_DISTANCE
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#sync_stepper_to_extruder" class="md-nav__link">
|
||||
SYNC_STEPPER_TO_EXTRUDER
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -1858,6 +1864,26 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#pwm_cycle_time" class="md-nav__link">
|
||||
[pwm_cycle_time]
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="[pwm_cycle_time]">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#set_pin_1" class="md-nav__link">
|
||||
SET_PIN
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -2262,26 +2288,6 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#axis_twist_compensation" class="md-nav__link">
|
||||
[axis_twist_compensation]
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="[axis_twist_compensation]">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#axis_twist_compensation_calibrate" class="md-nav__link">
|
||||
AXIS_TWIST_COMPENSATION_CALIBRATE
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -2980,6 +2986,26 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#axis_twist_compensation" class="md-nav__link">
|
||||
[axis_twist_compensation]
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="[axis_twist_compensation]">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#axis_twist_compensation_calibrate" class="md-nav__link">
|
||||
AXIS_TWIST_COMPENSATION_CALIBRATE
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -3327,20 +3353,6 @@
|
||||
SYNC_EXTRUDER_MOTION
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#set_extruder_step_distance" class="md-nav__link">
|
||||
SET_EXTRUDER_STEP_DISTANCE
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#sync_stepper_to_extruder" class="md-nav__link">
|
||||
SYNC_STEPPER_TO_EXTRUDER
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -3997,6 +4009,26 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#pwm_cycle_time" class="md-nav__link">
|
||||
[pwm_cycle_time]
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="[pwm_cycle_time]">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#set_pin_1" class="md-nav__link">
|
||||
SET_PIN
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -4401,26 +4433,6 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#axis_twist_compensation" class="md-nav__link">
|
||||
[axis_twist_compensation]
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="[axis_twist_compensation]">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#axis_twist_compensation_calibrate" class="md-nav__link">
|
||||
AXIS_TWIST_COMPENSATION_CALIBRATE
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -4545,10 +4557,15 @@
|
||||
<p><code>ANGLE_DEBUG_READ CHIP=<配置名> REG=<寄存器></code>:查询传感器寄存器"寄存器"(例如:44或0x2C)。该命令常用于调试,仅适用于tle5012b芯片。</p>
|
||||
<h4 id="angle_debug_write">ANGLE_DEBUG_WRITE<a class="headerlink" href="#angle_debug_write" title="Permanent link">¶</a></h4>
|
||||
<p><code>ANGLE_DEBUG_WRITE CHIP=<配置名> REG=<寄存器> VAL=<值></code>:将“值”写入“寄存器”。“值”和“寄存器”可以是十进制或十六进制整数。请小心使用,并参考传感器数据手册。仅适用于 tle5012b芯片。</p>
|
||||
<h3 id="axis_twist_compensation">[axis_twist_compensation]<a class="headerlink" href="#axis_twist_compensation" title="Permanent link">¶</a></h3>
|
||||
<p>The following commands are available when the <a href="Config_Reference.html#axis_twist_compensation">axis_twist_compensation config
|
||||
section</a> is enabled.</p>
|
||||
<h4 id="axis_twist_compensation_calibrate">AXIS_TWIST_COMPENSATION_CALIBRATE<a class="headerlink" href="#axis_twist_compensation_calibrate" title="Permanent link">¶</a></h4>
|
||||
<p><code>AXIS_TWIST_COMPENSATION_CALIBRATE [SAMPLE_COUNT=<value>]</code>: 启动X轴扭转校准向导。 <code>SAMPLE_COUNT</code> 指定沿着X轴进行校准的点数,默认为3个。</p>
|
||||
<h3 id="bed_mesh">[bed_mesh]<a class="headerlink" href="#bed_mesh" title="Permanent link">¶</a></h3>
|
||||
<p>启用[床网格配置部分](config_Reference.md#bed_mesh)时,以下命令可用(另请参阅[床网格指南](bed_mesh.md))。</p>
|
||||
<h4 id="bed_mesh_calibrate">BED_MESH_CALIBRATE<a class="headerlink" href="#bed_mesh_calibrate" title="Permanent link">¶</a></h4>
|
||||
<p><code>BED_MESH_CALIBRATE [METHOD=manual] [HORIZONTAL_MOVE_Z=<value>] [<probe_parameter>=<value>] [<mesh_parameter>=<value>]</code>: This command probes the bed using generated points specified by the parameters in the config. After probing, a mesh is generated and z-movement is adjusted according to the mesh. See the PROBE command for details on the optional probe parameters. If METHOD=manual is specified then the manual probing tool is activated - see the MANUAL_PROBE command above for details on the additional commands available while this tool is active. The optional <code>HORIZONTAL_MOVE_Z</code> value overrides the <code>horizontal_move_z</code> option specified in the config file.</p>
|
||||
<p><code>BED_MESH_CALIBRATE [PROFILE=<name>] [METHOD=manual] [HORIZONTAL_MOVE_Z=<value>] [<probe_parameter>=<value>] [<mesh_parameter>=<value>] [ADAPTIVE=1] [ADAPTIVE_MARGIN=<value>]</code>: This command probes the bed using generated points specified by the parameters in the config. After probing, a mesh is generated and z-movement is adjusted according to the mesh. The mesh will be saved into a profile specified by the <code>PROFILE</code> parameter, or <code>default</code> if unspecified. See the PROBE command for details on the optional probe parameters. If METHOD=manual is specified then the manual probing tool is activated - see the MANUAL_PROBE command above for details on the additional commands available while this tool is active. The optional <code>HORIZONTAL_MOVE_Z</code> value overrides the <code>horizontal_move_z</code> option specified in the config file. If ADAPTIVE=1 is specified then the objects defined by the Gcode file being printed will be used to define the probed area. The optional <code>ADAPTIVE_MARGIN</code> value overrides the <code>adaptive_margin</code> option specified in the config file.</p>
|
||||
<h4 id="bed_mesh_output">BED_MESH_OUTPUT<a class="headerlink" href="#bed_mesh_output" title="Permanent link">¶</a></h4>
|
||||
<p><code>BED_MESH_OUTPUT PGP=[<0:1>]</code>:该命令将当前探测到的 Z 值和当前网格的值输出到终端。如果指定 PGP=1,则将bed_mesh产生的X、Y坐标,以及它们关联的指数,输出到终端。</p>
|
||||
<h4 id="bed_mesh_map">BED_MESH_MAP<a class="headerlink" href="#bed_mesh_map" title="Permanent link">¶</a></h4>
|
||||
@@ -4558,7 +4575,7 @@
|
||||
<h4 id="bed_mesh_profile">BED_MESH_PROFILE<a class="headerlink" href="#bed_mesh_profile" title="Permanent link">¶</a></h4>
|
||||
<p><code>BED_MESH_PROFILE LOAD=<名称> SAVE=<名称> REMOVE=<名称></code>:此命令提供了网床配置管理功能。LOAD 将从与所提供的名称相符的配置文件中恢复网格状态。SAVE 将会把目前的网格状态保存到与提供的名称相符的配置文件中。REMOVE(移除)将从持久性内存中删除与所提供名称相符的配置文件。请注意,在 SAVE 或 REMOVE 操作后,必须发送SAVE_CONFIG G代码,以保存变更到持久性内存。</p>
|
||||
<h4 id="bed_mesh_offset">BED_MESH_OFFSET<a class="headerlink" href="#bed_mesh_offset" title="Permanent link">¶</a></h4>
|
||||
<p><code>BED_MESH_OFFSET [X=<value>] [Y=<value>]</code>。将X和/或Y的偏移量应用于网格查找。这对具有多个独立挤出头的打印机很有用,因为偏移量对切换工具头后产生正确的 Z 值调整是至关重要的。</p>
|
||||
<p><code>BED_MESH_OFFSET [X=<value>] [Y=<value>] [ZFADE=<value]</code>: Applies X, Y, and/or ZFADE offsets to the mesh lookup. This is useful for printers with independent extruders, as an offset is necessary to produce correct Z adjustment after a tool change. Note that a ZFADE offset does not apply additional z-adjustment directly, it is used to correct the <code>fade</code> calculation when a <code>gcode offset</code> has been applied to the Z axis.</p>
|
||||
<h3 id="bed_screws">[bed_screws]<a class="headerlink" href="#bed_screws" title="Permanent link">¶</a></h3>
|
||||
<p>以下命令当 <a href="Config_Reference.html#bed_screws">bed_screws 配置段</a> 使能的时候可用 (也可参考 <a href="Manual_Level.html#adjusting-bed-leveling-screws">手动调平指南</a>)。</p>
|
||||
<h4 id="bed_screws_adjust">BED_SCREWS_ADJUST<a class="headerlink" href="#bed_screws_adjust" title="Permanent link">¶</a></h4>
|
||||
@@ -4644,10 +4661,6 @@
|
||||
<p><code>SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=<配置名> [DISTANCE=<距离>]</code>:为提供的挤出机步进电机的“旋转距离”(如 <a href="Config_Reference.html#extruder">挤出机</a> 或 <a href="Config_Reference.html#extruder_stepper">extruder_stepper</a>配置分段中定义)设置新值。如果旋转距离为负数,则步进运动将反转(相对于配置文件中指定的步进方向)。更改的设置不会在 Klipper 重置时保留。请谨慎使用,因为微小的变化会导致挤出机和热端之间的压力过大。使用前需要用耗材进行适当的校准。如果未提供“DISTANCE”值,则此命令将返回当前旋转距离。</p>
|
||||
<h4 id="sync_extruder_motion">SYNC_EXTRUDER_MOTION<a class="headerlink" href="#sync_extruder_motion" title="Permanent link">¶</a></h4>
|
||||
<p><code>SYNC_EXTRUDER_MOTION EXTRUDER=<name> MOTION_QUEUE=<name></code>: This command will cause the stepper specified by EXTRUDER (as defined in an <a href="Config_Reference.html#extruder">extruder</a> or <a href="Config_Reference.html#extruder_stepper">extruder_stepper</a> config section) to become synchronized to the movement of an extruder specified by MOTION_QUEUE (as defined in an <a href="Config_Reference.html#extruder">extruder</a> config section). If MOTION_QUEUE is an empty string then the stepper will be desynchronized from all extruder movement.</p>
|
||||
<h4 id="set_extruder_step_distance">SET_EXTRUDER_STEP_DISTANCE<a class="headerlink" href="#set_extruder_step_distance" title="Permanent link">¶</a></h4>
|
||||
<p>This command is deprecated and will be removed in the near future.</p>
|
||||
<h4 id="sync_stepper_to_extruder">SYNC_STEPPER_TO_EXTRUDER<a class="headerlink" href="#sync_stepper_to_extruder" title="Permanent link">¶</a></h4>
|
||||
<p>This command is deprecated and will be removed in the near future.</p>
|
||||
<h3 id="fan_generic">[fan_generic]<a class="headerlink" href="#fan_generic" title="Permanent link">¶</a></h3>
|
||||
<p>当<a href="Config_Reference.html#fan_generic">fan_generic 配置分段</a>被启用时,以下命令可用:</p>
|
||||
<h4 id="set_fan_speed">SET_FAN_SPEED<a class="headerlink" href="#set_fan_speed" title="Permanent link">¶</a></h4>
|
||||
@@ -4769,8 +4782,7 @@
|
||||
<h3 id="output_pin">[output_pin]<a class="headerlink" href="#output_pin" title="Permanent link">¶</a></h3>
|
||||
<p>使用<a href="Config_Reference.html#output_pin">output_pin 配置分段</a>时,以下命令可用:</p>
|
||||
<h4 id="set_pin">SET_PIN<a class="headerlink" href="#set_pin" title="Permanent link">¶</a></h4>
|
||||
<p><code>SET_PIN PIN=config_name VALUE=<value> [CYCLE_TIME=<cycle_time>]</code>: Set the pin to the given output <code>VALUE</code>. VALUE should be 0 or 1 for "digital" output pins. For PWM pins, set to a value between 0.0 and 1.0, or between 0.0 and <code>scale</code> if a scale is configured in the output_pin config section.</p>
|
||||
<p>Some pins (currently only "soft PWM" pins) support setting an explicit cycle time using the CYCLE_TIME parameter (specified in seconds). Note that the CYCLE_TIME parameter is not stored between SET_PIN commands (any SET_PIN command without an explicit CYCLE_TIME parameter will use the <code>cycle_time</code> specified in the output_pin config section).</p>
|
||||
<p><code>SET_PIN PIN=config_name VALUE=<value></code>: Set the pin to the given output <code>VALUE</code>. VALUE should be 0 or 1 for "digital" output pins. For PWM pins, set to a value between 0.0 and 1.0, or between 0.0 and <code>scale</code> if a scale is configured in the output_pin config section.</p>
|
||||
<h3 id="palette2">[palette2]<a class="headerlink" href="#palette2" title="Permanent link">¶</a></h3>
|
||||
<p>当<a href="Config_Reference.html#palette2">palette2 配置分段</a>被启用时,以下命令可用:</p>
|
||||
<p>Palette打印通过在GCode文件中嵌入特殊的OCodes(Omega Codes)来工作。</p>
|
||||
@@ -4818,6 +4830,10 @@
|
||||
<p><code>PROBE_CALIBRATE [SPEED=<speed>] [<probe_parameter>=<value>]</code>:运行一个对校准测头的z_offset有用的辅助脚本。有关可选测头参数的详细信息,请参见PROBE命令。参见MANUAL_PROBE命令,了解SPEED参数和工具激活时可用的附加命令的详细信息。请注意,PROBE_CALIBRATE命令使用速度变量在XY方向以及Z方向上移动。</p>
|
||||
<h4 id="z_offset_apply_probe">Z_OFFSET_APPLY_PROBE<a class="headerlink" href="#z_offset_apply_probe" title="Permanent link">¶</a></h4>
|
||||
<p><code>Z_OFFSET_APPLY_PROBE</code>:将当前的Z 的 G 代码偏移量(就是 babystepping)从 probe 的 z_offset 中减去。该命令将持久化一个常用babystepping 微调值。需要执行 <code>SAVE_CONFIG</code>才能生效。</p>
|
||||
<h3 id="pwm_cycle_time">[pwm_cycle_time]<a class="headerlink" href="#pwm_cycle_time" title="Permanent link">¶</a></h3>
|
||||
<p>The following command is available when a <a href="Config_Reference.html#pwm_cycle_time">pwm_cycle_time config section</a> is enabled.</p>
|
||||
<h4 id="set_pin_1">SET_PIN<a class="headerlink" href="#set_pin_1" title="Permanent link">¶</a></h4>
|
||||
<p><code>SET_PIN PIN=config_name VALUE=<value> [CYCLE_TIME=<cycle_time>]</code>: This command works similarly to <a href="#output_pin">output_pin</a> SET_PIN commands. The command here supports setting an explicit cycle time using the CYCLE_TIME parameter (specified in seconds). Note that the CYCLE_TIME parameter is not stored between SET_PIN commands (any SET_PIN command without an explicit CYCLE_TIME parameter will use the <code>cycle_time</code> specified in the pwm_cycle_time config section).</p>
|
||||
<h3 id="query_adc">[query_adc]<a class="headerlink" href="#query_adc" title="Permanent link">¶</a></h3>
|
||||
<p>The query_adc module is automatically loaded.</p>
|
||||
<h4 id="query_adc_1">QUERY_ADC<a class="headerlink" href="#query_adc_1" title="Permanent link">¶</a></h4>
|
||||
@@ -4909,7 +4925,7 @@
|
||||
<h3 id="toolhead">[toolhead]<a class="headerlink" href="#toolhead" title="Permanent link">¶</a></h3>
|
||||
<p>The toolhead module is automatically loaded.</p>
|
||||
<h4 id="set_velocity_limit">SET_VELOCITY_LIMIT<a class="headerlink" href="#set_velocity_limit" title="Permanent link">¶</a></h4>
|
||||
<p><code>SET_VELOCITY_LIMIT [VELOCITY=<值>] [ACCEL=<值>] [ACCEL_TO_DECEL=<值>] [SQUARE_CORNER_VELOCITY=<值>]</code>:修改打印机速度限制。</p>
|
||||
<p><code>SET_VELOCITY_LIMIT [VELOCITY=<value>] [ACCEL=<value>] [MINIMUM_CRUISE_RATIO=<value>] [SQUARE_CORNER_VELOCITY=<value>]</code>: This command can alter the velocity limits that were specified in the printer config file. See the <a href="Config_Reference.html#printer">printer config section</a> for a description of each parameter.</p>
|
||||
<h3 id="tuning_tower">[tuning_tower]<a class="headerlink" href="#tuning_tower" title="Permanent link">¶</a></h3>
|
||||
<p>The tuning_tower module is automatically loaded.</p>
|
||||
<h4 id="tuning_tower_1">TUNING_TOWER<a class="headerlink" href="#tuning_tower_1" title="Permanent link">¶</a></h4>
|
||||
@@ -4935,11 +4951,6 @@
|
||||
<p><code>SDCARD_PRINT_FILE FILENAME=<文件名></code>:载入一个文件并开始 SD 打印</p>
|
||||
<h4 id="sdcard_reset_file">SDCARD_RESET_FILE<a class="headerlink" href="#sdcard_reset_file" title="Permanent link">¶</a></h4>
|
||||
<p><code>SDCARD_RESET_FILE</code>:卸载文件并清除SD状态。</p>
|
||||
<h3 id="axis_twist_compensation">[axis_twist_compensation]<a class="headerlink" href="#axis_twist_compensation" title="Permanent link">¶</a></h3>
|
||||
<p>The following commands are available when the <a href="Config_Reference.html#axis_twist_compensation">axis_twist_compensation config
|
||||
section</a> is enabled.</p>
|
||||
<h4 id="axis_twist_compensation_calibrate">AXIS_TWIST_COMPENSATION_CALIBRATE<a class="headerlink" href="#axis_twist_compensation_calibrate" title="Permanent link">¶</a></h4>
|
||||
<p><code>AXIS_TWIST_COMPENSATION_CALIBRATE [SAMPLE_COUNT=<value>]</code>: 启动X轴扭转校准向导。 <code>SAMPLE_COUNT</code> 指定沿着X轴进行校准的点数,默认为3个。</p>
|
||||
<h3 id="z_thermal_adjust">[z_thermal_adjust]<a class="headerlink" href="#z_thermal_adjust" title="Permanent link">¶</a></h3>
|
||||
<p>The following commands are available when the <a href="Config_Reference.html#z_thermal_adjust">z_thermal_adjust config section</a> is enabled.</p>
|
||||
<h4 id="set_z_thermal_adjust">SET_Z_THERMAL_ADJUST<a class="headerlink" href="#set_z_thermal_adjust" title="Permanent link">¶</a></h4>
|
||||
|
||||
Reference in New Issue
Block a user