G0 Feedrate
Hello,
I use also my printer 3D with the CNC mode.
Can you confirm that G0 not use by defaut the variable :
MAX_FEEDRATE_X or MAX_FEEDRATE_Y
That it's necessary to write for every G0 line the feedrate Fxxxx as like :
G0 X133 F6000
Thanks
I use also my printer 3D with the CNC mode.
Can you confirm that G0 not use by defaut the variable :
MAX_FEEDRATE_X or MAX_FEEDRATE_Y
That it's necessary to write for every G0 line the feedrate Fxxxx as like :
G0 X133 F6000
Thanks
Comments
because it is considered that the speed is setting in the controller by a variable or the max value of the axis.
Thanks.
https://github.com/RAyWB/Additions-for-Repetier-Firmware/tree/master/CustomEventsFull
you just can pick out the G0/G1 section if you want to
Is it directly functional for PRINTER_MODE_CNC or does it need to implement case 0?
switch (com-> G) {
case 0: // G0 -> G1
case 1: // G1
Thank you for your help !
In :
void Commands::processGCode(GCode *com)
case 0: // G0
{
// select faster axis max feed rate for g0,other axis speed is limited by maxFeedrate
if( Printer::maxFeedrate[X_AXIS]>=Printer::maxFeedrate[Y_AXIS])
Printer::feedrate = Printer::maxFeedrate[X_AXIS];//use faster axis max Feedrate for G0
else Printer::feedrate = Printer::maxFeedrate[Y_AXIS];
PrintLine::queueCartesianMove(ALWAYS_CHECK_ENDSTOPS, true);
}
case 1: // G1
For me :
After a G0 code, the next G1 always contains the Fxxxx, It is not necessary to temporarily store the speed of the last G1.
A gcode G0 is always a rapid move, I have not set a condition (Printer, Laser or CNC)
Thanks again