34 lines
708 B
Markdown
34 lines
708 B
Markdown
---
|
|
tag: g060
|
|
title: Save Current Position
|
|
brief: Save current position to specified slot
|
|
author: shitcreek
|
|
contrib: [ Hans007a, TwoRedCells, thinkyhead ]
|
|
codes: [ G60 ]
|
|
related: [ G61 ]
|
|
|
|
group: coordinates
|
|
|
|
parameters:
|
|
-
|
|
tag: S
|
|
optional: true
|
|
description: Memory slot. If omitted, the first slot (0) is used.
|
|
values:
|
|
-
|
|
tag: slot
|
|
type: int
|
|
|
|
notes: |
|
|
- The total number of slots is configured with the `SAVED_POSITIONS` option.
|
|
- All slots are initially set to 0, 0, 0.
|
|
|
|
example:
|
|
-
|
|
pre: Save current position to slot 0
|
|
code:
|
|
- G60 S0
|
|
---
|
|
|
|
Save the current position of all axes in an SRAM buffer for later recall with [`G61`](/docs/gcode/G061.html).
|