Page 1 of 1

FEEDRATE value from KmotionCNC

Posted: Thu Jul 05, 2018 7:19 am
by EX854508
Hello! I want to write script to add new motion button to move axis on feedrate. Where I can find value of feedrate? Like it done in examples - "Spindle using jogs/Css/" - "float speed = *(float *)&persist.UserData[SPEEDVAR]"

Re: FEEDRATE value from KmotionCNC

Posted: Thu Jul 05, 2018 5:43 pm
by TomKerekes
Hi EX854508,

There isn't currently a method to obtain the GCode Interpreter's Last Feed Rate from KFLOP. What exactly are you attempting to do?

I suppose if a Job isn't running and the script runs from a User Button you could invoke an MDI command with a G1 to move at the last Feed Rate.