Skip to main content

3D Mode

G code: G15, G16, G17, G18, G19

G Code

Description

G15

Switches to 2D mode. Valid for all other elements

G16

Activates the 3D plane function in the normal plane with normal vector I/J/K and switches to 3D mode

Valid for all other elements

G17

Activates the 3D plane function in the X/Y-plane and switches to 3D mode

Valid for all other elements

G18

Activates the 3D plane function in the X/Z-plane. Switches to 3D mode

Valid for all other elements

G19

Activates the 3D plane function in the Y/Z-plane. Switches to 3D mode

Valid for all other elements

Three-dimensional path elements are used in 3D mode. In 3D space, you can set points and connect with 3D splines. You can also insert arcs in any spatial plane. In contrast to 2.5D path elements that use X/Y-coordinates only, the path velocity and acceleration refers to movement in the X/Y/Z-coordinates. The Z-axis is treated the same as the X-axis and Y-axis. Therefore, every movement can be implemented in the Z-direction.

. 3D Mode
  • The mode does not support ellipses, parabolas, and 2D splines. An error message is issued.

  • SMC_CheckVelocities checks the Z-component

  • SMC_ToolCorr and SMC_AvoidLoop generate errors

Primary differences between 2.5D and 3D

. Primary differences between 2.5D and 3D
  • Velocity and acceleration (F/E):

    • In 3D: Defines the velocity and acceleration of the path.

    • In 2.5D: Defines the velocity and acceleration of the projection of the path on the X/Y-plane.

  • Splines

    • 3D: With a jerk-free, smoothed Z-component (G10)

    • 2.5D: In Z-direction not smoothed (G5)

  • Arc

    • 3D: Can be defined in every possible plane in space (G2/G3 with G16/G17/G18/G19)

    • 2.5D: Restricted to the X/Y-plane (G2/G3)

Example 17. Example

Velocity comparison of 3D and 2.5D

N0 G1 X1 Z100 F1

3D requires the motion for approximately 100 seconds, because the length of the object contains the Z-component.

Length = (12 + 1002)1/2

At a velocity of 1, approximately 100 seconds are required. The velocity of the Z-component is approximately 1.

In 2.5D, the motion requires approximately 1 second for the calculation or the length = 1. The velocity in the Z-direction is approximately 100.