FEEDRATE value from KmotionCNC

Moderators: TomKerekes, dynomotion, sfzeller

Post Reply
User avatar
EX854508
Posts: 10
Joined: Mon Feb 26, 2018 10:41 am

FEEDRATE value from KmotionCNC

Post by EX854508 » Thu Jul 05, 2018 7:19 am

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]"

User avatar
TomKerekes
Posts: 104
Joined: Mon Dec 04, 2017 1:49 am

Re: FEEDRATE value from KmotionCNC

Post by TomKerekes » Thu Jul 05, 2018 5:43 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply