Welcome to mirror list, hosted at ThFree Co, Russian Federation.

G060.md « _gcode - github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b5700ae5e39ceddd7d171f97efdec0c79c740ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
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).