GCode change scale of an axis during execution
Posted: Tue Sep 12, 2023 9:02 am
Hello
I need for an application to be able to create this motion in XY plane, see joined picture. For that I would like to use the existing G2/G3 GCode instructions: this would output the red trajectory.
BUT the customer requirement is the black trajectory => an arc with a modified Y scale factor.
I know that a G51 scaling feature exists on some other CNC controllers.
the code would be like this
...
G0X0Y0
G51 Y100 (scalefactor for Y changed to 100 counts per unit, X not changed)
G2 X4 Y8 I2 J3 (arc motion)
G50 (cancel scaling)
G0 X0Y20 (move to this position with the "original" scalefactor)
...
The requirements are that only the arcs should have a modified scalefactor.
other moves should be done with the original scalefactor during execution
Is this possible with Kogna?
Maybe I'm wrong and there is an existing GCode programming possibility to do this "modified scale" arcs motions.
Thanks
Frederic from DOMinfo (France)
I need for an application to be able to create this motion in XY plane, see joined picture. For that I would like to use the existing G2/G3 GCode instructions: this would output the red trajectory.
BUT the customer requirement is the black trajectory => an arc with a modified Y scale factor.
I know that a G51 scaling feature exists on some other CNC controllers.
the code would be like this
...
G0X0Y0
G51 Y100 (scalefactor for Y changed to 100 counts per unit, X not changed)
G2 X4 Y8 I2 J3 (arc motion)
G50 (cancel scaling)
G0 X0Y20 (move to this position with the "original" scalefactor)
...
The requirements are that only the arcs should have a modified scalefactor.
other moves should be done with the original scalefactor during execution
Is this possible with Kogna?
Maybe I'm wrong and there is an existing GCode programming possibility to do this "modified scale" arcs motions.
Thanks
Frederic from DOMinfo (France)