shitcreek Hans007a TwoRedCells thinkyhead

G60 - Stored Positions

motion Save, restore, and delete stored positions SAVED_POSITIONS

Description

This command is used to maintain a set of stored positions. Use G60 S<slot> to store the current position (all axes) to an SRAM buffer. You can then move back to a stored position at any time with G61 S<slot>.

Since Marlin 2.1.3 you can use:

  • G60 with no parameters for a stored positions report,
  • G60 Q<slot> to move back to a stored position,
  • G60 D<slot> to delete one stored position, and
  • G60 D to delete all stored positions.

Notes

The total number of slots is configured with the SAVED_POSITIONS option.

All slots are initially empty. Restoring an empty slot does nothing.

Usage

G60 [D[slot]] [E[offset]] [F<rate>] [Q<slot>] [S<slot>] [X[offset]] [Y[offset]] [Z[offset]]

Parameters

[D[slot]]
2.1.3

Delete stored position(s). Include a slot index to delete one stored position. If no slot number is given, delete all stored positions.

    [E[offset]]
    2.1.3

    With G60 Q: Restore the E axis (with optional offset). The extruder will not be moved.

      [F<rate>]
      2.1.3

      With G60 Q: Requested feedrate. (Actual feedrate may be limited.)

        [Q<slot>]
        2.1.3

        Restore (move to) a stored position. Equivalent to G61 S.

          [S<slot>]

          Memory slot. If omitted, the first slot (0) is used.

            [X[offset]]
            2.1.3

            With G60 Q: Restore the X axis (with optional offset).

              [Y[offset]]
              2.1.3

              With G60 Q: Restore the Y axis (with optional offset).

                [Z[offset]]
                2.1.3

                With G60 Q: Restore the Z axis (with optional offset).

                  Examples

                  Save current position to slot 0

                  G60 S0

                  Delete the position in slot 3

                  G60 D3

                  Restore the XYZE position in slot 5, with X offset

                  G60 Q5 X10 Y Z E

                  Report all stored positions

                  G60