Indice

5. Motion Control Modes

RosettaCNC supports three different motion control modes:

5.1 Examples

Exact stop one shot example

RosettaCNC supports G9 command to force exact stop at the end of a specific block.

( © 2018 by RosettaCNC Motion  )
( G9 example: Exact stop one shot )
 
G54 G64 P5.0 F5000
G0 X-10 Y-10 Z0
G1 X0 Y0
G9X40
Y40
G9X10
Y0
 
( The same result could be achieved using G61.1)
G0 X-10 Y-60
G92 X-10 Y-10
G1 X0 Y0
G61.1
X40
G64
Y40
G61.1
X10
G64
Y0
G92.1
M30

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