| g012 |
Clean the Nozzle |
Perform the nozzle cleaning procedure. |
true |
1.1.0 |
NOZZLE_CLEAN_FEATURE |
nozzle |
|
| Default behavior is defined by `NOZZLE_CLEAN_STROKES`, `NOZZLE_CLEAN_START_POINT`, `NOZZLE_CLEAN_END_POINT`, `NOZZLE_CLEAN_TRIANGLES`, `NOZZLE_CLEAN_CIRCLE_MIDDLE`, `NOZZLE_CLEAN_CIRCLE_RADIUS` and `NOZZLE_CLEAN_GOBACK`. |
| With `NOZZLE_CLEAN_GOBACK` enabled, the nozzle automatically returns to the XYZ position before `G12`. |
|
| tag |
optional |
description |
values |
| P |
true |
Pattern style selection |
| tag |
description |
| 0 |
Linear move back and forth |
|
| tag |
description |
| 1 |
Move in a zigzag pattern |
|
| tag |
description |
| 2 |
Move in a circular pattern |
|
|
|
| tag |
optional |
description |
values |
| R |
true |
Radius of nozzle cleaning circle |
|
|
| tag |
optional |
description |
values |
| S |
true |
Number of repetitions of the pattern |
|
|
| tag |
optional |
description |
values |
| T |
true |
Number of triangles in the zigzag pattern |
|
|
| tag |
optional |
description |
values |
| X |
true |
Include X motion when cleaning with limited axes. (Leave out `X`, `Y`, and `Z` for non-limited cleaning.) |
|
|
| tag |
optional |
description |
values |
| Y |
true |
Include Y motion when cleaning with limited axes. (Leave out `X`, `Y`, and `Z` for non-limited cleaning.) |
|
|
| tag |
optional |
description |
values |
| Z |
true |
Include Z motion when cleaning with limited axes. (Leave out `X`, `Y`, and `Z` for non-limited cleaning.) |
|
|
|
| pre |
code |
| The most basic example is to use the command without any arguments, this will default to a stroke based pattern which will be stroked `NOZZLE_CLEAN_STROKES` times. |
G12 ; stroke pattern (default) |
|
| pre |
code |
| To generate a three triangle zig-zag pattern which will be stroked one time use the following command. |
G12 P1 S1 T3 ; zig-zag pattern with 3 triangles |
|
| pre |
code |
| To generate a 10mm radius circle which will be stroked one time use the following command. |
G12 P2 S1 R10 ; 10mm circle |
|
|