FEEDRATE value from KmotionCNC
Moderators: TomKerekes, dynomotion
FEEDRATE value from KmotionCNC
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]"
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: FEEDRATE value from KmotionCNC
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.
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.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.