Deploying to gh-pages from @ Klipper3d/klipper@7b490f3ec1 🚀

This commit is contained in:
KevinOConnor
2024-04-28 00:05:14 +00:00
parent 15e16ec351
commit 03f81ee535
83 changed files with 1973 additions and 1233 deletions

View File

@@ -1310,6 +1310,20 @@
[output_pin]
</a>
</li>
<li class="md-nav__item">
<a href="#pwm_tool" class="md-nav__link">
[pwm_tool]
</a>
</li>
<li class="md-nav__item">
<a href="#pwm_cycle_time" class="md-nav__link">
[pwm_cycle_time]
</a>
</li>
<li class="md-nav__item">
@@ -3322,6 +3336,20 @@
[output_pin]
</a>
</li>
<li class="md-nav__item">
<a href="#pwm_tool" class="md-nav__link">
[pwm_tool]
</a>
</li>
<li class="md-nav__item">
<a href="#pwm_cycle_time" class="md-nav__link">
[pwm_cycle_time]
</a>
</li>
<li class="md-nav__item">
@@ -3744,27 +3772,49 @@ serial:
<p>打印机控制的高级设置部分。</p>
<div class="highlight"><pre><span></span><code>[printer]
kinematics:
# 使用的打印机类型。此选项可以是以下之一:cartesian
# corexy, corexz, hybrid_corexy, hybrid_corexz, rotary_delta, delta
# deltesian, polar, winch, none。必须指定此参数。
# The type of printer in use. This option may be one of: cartesian,
# corexy, corexz, hybrid_corexy, hybrid_corexz, rotary_delta, delta,
# deltesian, polar, winch, or none. This parameter must be specified.
max_velocity:
# 工具头的最大速度以mm/s计。相对于打印件。
# 必须指定此参数。
# Maximum velocity (in mm/s) of the toolhead (relative to the
# print). This parameter must be specified.
max_accel:
# 工具头的最大加速度以mm/s^2计。相对于打印件。
# 必须指定此参数。
#max_accel_to_decel:
# 一种伪加速度以mm/s^2计控制工具头从加速到减速的速度。
# 它用于降低短距离锯齿形移动的最高速度(从而减少这些移动造成
# 的打印机振动)。
# 默认值是max_accel的一半。
# Maximum acceleration (in mm/s^2) of the toolhead (relative to the
# print). Although this parameter is described as a &quot;maximum&quot;
# acceleration, in practice most moves that accelerate or decelerate
# will do so at the rate specified here. The value specified here
# may be changed at runtime using the SET_VELOCITY_LIMIT command.
# This parameter must be specified.
#minimum_cruise_ratio: 0.5
# Most moves will accelerate to a cruising speed, travel at that
# cruising speed, and then decelerate. However, some moves that
# travel a short distance could nominally accelerate and then
# immediately decelerate. This option reduces the top speed of these
# moves to ensure there is always a minimum distance traveled at a
# cruising speed. That is, it enforces a minimum distance traveled
# at cruising speed relative to the total distance traveled. It is
# intended to reduce the top speed of short zigzag moves (and thus
# reduce printer vibration from these moves). For example, a
# minimum_cruise_ratio of 0.5 would ensure that a standalone 1.5mm
# move would have a minimum cruising distance of 0.75mm. Specify a
# ratio of 0.0 to disable this feature (there would be no minimum
# cruising distance enforced between acceleration and deceleration).
# The value specified here may be changed at runtime using the
# SET_VELOCITY_LIMIT command. The default is 0.5.
#square_corner_velocity: 5.0
# 工具头可能以90度角度转角的最大速度以mm/s计。一个非零值
# 可以通过在转角时使工具头的速度瞬时改变,来减少挤出机流速的
# 变化。此值配置内部向心速度转角算法大于90度的角度会有更高的
# 转角速度而小于90度的角度会有较低的转角速度。如果此值设置为零
# 则工具头在每个角落都将减速到零。
# 默认值是5mm/s。
# The maximum velocity (in mm/s) that the toolhead may travel a 90
# degree corner at. A non-zero value can reduce changes in extruder
# flow rates by enabling instantaneous velocity changes of the
# toolhead during cornering. This value configures the internal
# centripetal velocity cornering algorithm; corners with angles
# larger than 90 degrees will have a higher cornering velocity while
# corners with angles less than 90 degrees will have a lower
# cornering velocity. If this is set to zero then the toolhead will
# decelerate to zero at each corner. The value specified here may be
# changed at runtime using the SET_VELOCITY_LIMIT command. The
# default is 5mm/s.
#max_accel_to_decel:
# This parameter is deprecated and should no longer be used.
</code></pre></div>
<h3 id="stepper">[stepper]<a class="headerlink" href="#stepper" title="Permanent link">&para;</a></h3>
@@ -4443,18 +4493,14 @@ max_temp:
# where Z = 0. When this option is specified the mesh will be offset
# so that zero Z adjustment occurs at this location. The default is
# no zero reference.
#relative_reference_index:
# **DEPRECATED, use the &quot;zero_reference_position&quot; option**
# The legacy option superceded by the &quot;zero reference position&quot;.
# Rather than a coordinate this option takes an integer &quot;index&quot; that
# refers to the location of one of the generated points. It is recommended
# to use the &quot;zero_reference_position&quot; instead of this option for new
# configurations. The default is no relative reference index.
#faulty_region_1_min:
#faulty_region_1_max:
# Optional points that define a faulty region. See docs/Bed_Mesh.md
# for details on faulty regions. Up to 99 faulty regions may be added.
# By default no faulty regions are set.
#adaptive_margin:
# An optional margin (in mm) to be added around the bed area used by
# the defined print objects when generating an adaptive mesh.
</code></pre></div>
<h3 id="bed_tilt">[bed_tilt]<a class="headerlink" href="#bed_tilt" title="Permanent link">&para;</a></h3>
@@ -5998,41 +6044,72 @@ pin:
<p>运行时可配置的输出引脚(可以定义任意数量的带有 "output_pin "前缀的分段)。在这里配置的引脚将被设置为输出引脚,可以在运行时使用 "SET_PIN PIN=my_pin VALUE=.1 "类型的扩展<a href="G-Code.md#output_pin">G代码命令</a>对其进行修改。</p>
<div class="highlight"><pre><span></span><code>[output_pin my_pin]
pin:
# 需要配置为输出的引脚。此参数必须提供。
# The pin to configure as an output. This parameter must be
# provided.
#pwm: False
# 设置输出引脚是否应能够进行脉冲宽度调制。如果为真,值字段应在
# 0和1之间如果为假值字段应为0或1。
# 默认为False。
#static_value:
# 如果设置了此项,则引脚在启动时被分配此值,并且引脚在运行时无
# 法更改。静态引脚在微控制器中使用的RAM略少。
# 默认情况下,使用引脚的运行时配置。
# Set if the output pin should be capable of pulse-width-modulation.
# If this is true, the value fields should be between 0 and 1; if it
# is false the value fields should be either 0 or 1. The default is
# False.
#value:
# 在MCU配置期间最初设置引脚的值。
# 默认为0低电压
# The value to initially set the pin to during MCU configuration.
# The default is 0 (for low voltage).
#shutdown_value:
# 在MCU关闭事件中设置引脚的值。
# 默认为0低电压
#maximum_mcu_duration:
# MCU可以在未从主机获取确认的情况下驱动非关闭值的最大持续时间。
# 如果主机无法跟上更新MCU将关闭并将所有引脚设置为各自的关闭值。
# 默认值0禁用
# 通常的值约为5秒。
# The value to set the pin to on an MCU shutdown event. The default
# is 0 (for low voltage).
#cycle_time: 0.100
# 每个PWM周期的时间以秒为单位。建议在使用基于软件的PWM时
# 这个值应大于或等于10毫秒。
# 对于pwm引脚默认值为0.100秒。
# The amount of time (in seconds) per PWM cycle. It is recommended
# this be 10 milliseconds or greater when using software based PWM.
# The default is 0.100 seconds for pwm pins.
#hardware_pwm: False
# 启用此项以使用硬件PWM而不是软件PWM。在使用硬件PWM时实际的
# 周期时间受到实现的限制,可能与请求的cycle_time显著不同。
# 默认值为False。
# Enable this to use hardware PWM instead of software PWM. When
# using hardware PWM the actual cycle time is constrained by the
# implementation and may be significantly different than the
# requested cycle_time. The default is False.
#scale:
# 此参数可以用来改变如何解释&#39;value&#39;&#39;shutdown_value&#39;参数对于pwm
# 引脚。如果提供了此参数,那么&#39;value&#39;参数应在0.0和&#39;scale&#39;之间。当配
# 置一个控制步进电机电压参考的PWM引脚时这可能会很有用。&#39;scale&#39;
# 可以设置为PWM全开时相当于步进电机的电流然后可以使用步进电机
# 的期望电流来指定&#39;value&#39;参数。
# 默认情况下,不对&#39;value&#39;参数进行缩放。
# This parameter can be used to alter how the &#39;value&#39; and
# &#39;shutdown_value&#39; parameters are interpreted for pwm pins. If
# provided, then the &#39;value&#39; parameter should be between 0.0 and
# &#39;scale&#39;. This may be useful when configuring a PWM pin that
# controls a stepper voltage reference. The &#39;scale&#39; can be set to
# the equivalent stepper amperage if the PWM were fully enabled, and
# then the &#39;value&#39; parameter can be specified using the desired
# amperage for the stepper. The default is to not scale the &#39;value&#39;
# parameter.
#maximum_mcu_duration:
#static_value:
# These options are deprecated and should no longer be specified.
</code></pre></div>
<h3 id="pwm_tool">[pwm_tool]<a class="headerlink" href="#pwm_tool" title="Permanent link">&para;</a></h3>
<p>Pulse width modulation digital output pins capable of high speed updates (one may define any number of sections with an "output_pin" prefix). Pins configured here will be setup as output pins and one may modify them at run-time using "SET_PIN PIN=my_pin VALUE=.1" type extended <a href="G-Codes.html#output_pin">g-code commands</a>.</p>
<div class="highlight"><pre><span></span><code>[pwm_tool my_tool]
pin:
# The pin to configure as an output. This parameter must be provided.
#maximum_mcu_duration:
# The maximum duration a non-shutdown value may be driven by the MCU
# without an acknowledge from the host.
# If host can not keep up with an update, the MCU will shutdown
# and set all pins to their respective shutdown values.
# Default: 0 (disabled)
# Usual values are around 5 seconds.
#value:
#shutdown_value:
#cycle_time: 0.100
#hardware_pwm: False
#scale:
# See the &quot;output_pin&quot; section for the definition of these parameters.
</code></pre></div>
<h3 id="pwm_cycle_time">[pwm_cycle_time]<a class="headerlink" href="#pwm_cycle_time" title="Permanent link">&para;</a></h3>
<p>Run-time configurable output pins with dynamic pwm cycle timing (one may define any number of sections with an "pwm_cycle_time" prefix). Pins configured here will be setup as output pins and one may modify them at run-time using "SET_PIN PIN=my_pin VALUE=.1 CYCLE_TIME=0.100" type extended <a href="G-Codes.html#pwm_cycle_time">g-code commands</a>.</p>
<div class="highlight"><pre><span></span><code>[pwm_cycle_time my_pin]
pin:
#value:
#shutdown_value:
#cycle_time: 0.100
#scale:
# See the &quot;output_pin&quot; section for information on these parameters.
</code></pre></div>
<h3 id="static_digital_output">[static_digital_output]<a class="headerlink" href="#static_digital_output" title="Permanent link">&para;</a></h3>