File indexing completed on 2024-05-12 04:02:08

0001 <!DOCTYPE html>
0002 <html><head>
0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
0004 <title>klipper.gcode</title>
0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Klipper G-Code) - Theme (Breeze Light)"/>
0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
0007 <span style="color:#006e28">{%</span> <span style="font-weight:bold">set</span> target  <span style="color:#ca60ca">=</span> params.BED_TEMP<span style="color:#ca60ca">|</span><span style="color:#644a9b">int</span> <span style="color:#006e28">%}</span>
0008 <span style="color:#006e28">{%</span> <span style="font-weight:bold">set</span> current <span style="color:#ca60ca">=</span> printer.heater_bed.temperature <span style="color:#006e28">%}</span>
0009 
0010 <span style="color:#006e28">{%</span> <span style="font-weight:bold">if</span> current <span style="color:#ca60ca">&lt;</span> target <span style="color:#ca60ca">-</span> <span style="color:#b08000">20</span> <span style="color:#006e28">%}</span>
0011 <span style="font-weight:bold">G4</span> <span style="color:#0057ae">P</span><span style="color:#006e28">{</span> <span style="color:#b08000">5</span> <span style="color:#ca60ca">*</span> <span style="color:#b08000">60</span> <span style="color:#ca60ca">*</span> <span style="color:#b08000">1000</span> <span style="color:#006e28">}</span>       <span style="color:#898887">#Milliseconds to dwell</span>
0012 <span style="color:#006e28">{%</span> <span style="font-weight:bold">else</span> <span style="color:#006e28">%}</span>
0013 <span style="font-weight:bold">G4</span> <span style="color:#0057ae">P</span><span style="color:#006e28">{</span> <span style="color:#b08000">1</span> <span style="color:#ca60ca">*</span> <span style="color:#b08000">60</span> <span style="color:#ca60ca">*</span> <span style="color:#b08000">1000</span> <span style="color:#006e28">}</span>
0014 <span style="color:#006e28">{%</span> <span style="font-weight:bold">endif</span> <span style="color:#006e28">%}</span>
0015 <span style="font-weight:bold">G92</span> <span style="color:#0057ae">E</span><span style="color:#b08000">0</span>               <span style="color:#898887"># Reset Extruder</span>
0016 <span style="font-weight:bold">G1</span> <span style="color:#0057ae">Z</span><span style="color:#b08000">2.0</span> <span style="color:#0057ae">F</span><span style="color:#b08000">3000</span>        <span style="color:#898887"># Move Z Axis to travel height</span>
0017 <span style="color:#0095ff;font-weight:bold">ACCEPT</span>
0018 <span style="color:#0095ff;font-weight:bold">SET_PIN</span> <span style="color:#0057ae">PIN</span><span style="color:#ca60ca">=</span>my_led <span style="color:#0057ae">VALUE</span><span style="color:#ca60ca">=</span><span style="color:#b08000">1</span>
0019 <span style="font-weight:bold">G4</span> <span style="color:#0057ae">P</span><span style="color:#b08000">2000</span>
0020 <span style="color:#0095ff;font-weight:bold">SET_PIN</span> <span style="color:#0057ae">PIN</span><span style="color:#ca60ca">=</span>my_led <span style="color:#0057ae">VALUE</span><span style="color:#ca60ca">=</span><span style="color:#b08000">0</span>
0021 </pre></body></html>