5. Motion Control Modes
RosettaCNC supports three different motion control modes:
- Exact path mode enabled with
G61
that forces the CNC to follow the programmed path using the look ahead feature to diminish program duration. - Exact stop mode enabled with
G61.1
that forces the CNC to stop at the end of every motion block. - Continuous path mode enabled with
G64
that enables both look ahead and trajectory blending features to reach maximum speed performances.
This mode supports two optional parametersP
: Trajectory deformation/blending toleranceQ
: Points removal threshold that can be used to decrease the number of points generated by the CAM
5.1 Examples
Exact stop one shot example
RosettaCNC supports G9 command to force exact stop at the end of a specific block.
Path smoothing support
Using the motion control mode Continuous path mode and specifying the parameter P
the path can be smoothed to satisfy user needs.
g17 g20 g40 g49 g54 g90 f200 g54 t0 M6 ; Original wave g52 x0 y0 z0 g64 p0 g65 p1000 t1 M6 ; Apply smoothing curve (0.1 inch) g52 y-0.5 g64 p0.1 g65 p1000 t2 M6 ; Apply smoothing curve (0.2 inch) g52 y-1.0 g64 p0.2 g65 p1000 t3 M6 ; Apply smoothing curve (1.0 inch) g52 y-1.5 g64 p1.0 g65 p1000 t4 M6 ; Apply smoothing curve (5.0 inch) g52 y-2.0 g64 p5.0 g65 p1000 m2 ; Low quality wave o1000 g0 X3. Z0. y4 g1 X3.8 Y6.1 X4.6 Y7. X5.4 Y6.1 X6.1 Y4. X6.9 Y1.9 X7.7 Y1. X8.5 Y1.9 X9.3 Y4. X10. Y6.1 g53 g0 y8 m99