Questa è una vecchia versione del documento!
Comandi implementati
MK4duo riconosce una lunga serie di differenti comandi in formato GCode. Esistono tre tipi di comandi: i Gcode, gli Mcode e i Tcode, in funzione della lettera da cui sono contraddistinti. Ogni comando è composto di più parti:
N<num. riga> G<num. comando> <parametri> *<checksum> ;<commento> [opzionale] [-------obbligatorio-------] [opzionale] [opzionale] Il numero di riga ed il checksum vengono usati dai software host per permettere una connessione affidabile tra PC e macchina, non è necessario utilizzarli nell'uso comune di MK4duo; sono stati citati solo per completezza.
Lista dei G Code
Code | Description | ||
---|---|---|---|
G0 | G1 | ||
G1 | Coordinated Movement X Y Z E F(feedrate) P(Purge) | ||
G2 | CW ARC | ||
G3 | CCW ARC | ||
G4 | Dwell S[seconds] or P[milliseconds], delay in Second or Millisecond | ||
G5 | Bezier curve - from [forums.reprap.org](http://forums.reprap.org/read.php?147,93577) | ||
G7 | Laser raster base64 | ||
G10 | retract filament according to settings of M207 | ||
G11 | retract recover filament according to settings of M208 | ||
G12 | Nozzle Clean | ||
G20 | Set input units to inches | ||
G21 | Set input units to millimeters | ||
G27 | Nozzle Park | ||
G28 | X Y Z Home all Axis. M for bed manual setting with LCD. B return to back point | ||
G29 | Detailed Z probe, probes the bed at 3 or more points. Will fail if you haven't homed yet.`G29 Fyyy Lxxx Rxxx Byyy` for customer grid. | | G30 | Single Z Probe, probes bed at current XY location. |
G31 | Dock Z Probe sled (if enabled) | ||
G32 | Undock Z Probe sled (if enabled) | ||
G33 |
```FPQ``` (Requires DELTA_AUTO_CALIBRATION_1) ```PV``` (Requires DELTA_AUTO_CALIBRATION_2) ```AERI D T S``` (Requires DELTA_AUTO_CALIBRATION_3) |
G38 | Probe target - similar to G28 except it uses the Z_MIN endstop for all three axes |
G42 | Coordinated move to a mesh point. (Requires MESH_BED_LEVELING or AUTO_BED_LEVELING_BILINEAR) |
G60 |
```S- specifies memory slot # (0-based) to save into (default 0)``` |
G61 |
```X Y Z E - Value to add at stored coordinates```
```F- Set Feedrate```
```S- specifies memory slot # (0-based) to restore from (default 0)``` |
G90 | Use Absolute Coordinates |
G91 | Use Relative Coordinates |
G92 | Set current position to cordinates given |
- Ultima modifica: 23/10/2017 18:09
- da Simone Persiani