G30 - Go To Home 2 Position

Rapid move machine to Home 2 position.

G30 is a G-code used for returning the machine to a predefined position, similar to G28, but it is a secondary home position. The G30 command is used to move the machine to a specific location that is different than the home position defined by G28. This location is often used as a reference point for specific operations or for setting the machine's coordinate system.

The G30 command is usually followed by one or more axis words, such as X, Y, and Z, to specify the position the machine should move to. For example, G30 X10 Y10 Z10 would move the X, Y, and Z axes to the position (10,10,10).

If intermediate move is specified them machine will rapid move to intermediate position first and only axes specified will move to final position.

This command is often used with G91. For example: G91 G30 Z0

Syntax

G30 <X..W>

Parameters

<X..W> Intermediate move coordinates. (optional)

Examples

G30

See also

G28, G28.1, G30.1