Hello.
When i press the feedhold button while executing a part program, the motion stops. Then when i press the bacward or forward buttons, which are becoming visible, the tool moves very slowly. Is there a way to change this speed?
Feedhold Backwards/Forwards speed
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Feedhold Backwards/Forwards speed
Hi,
KMotionCNC has the speeds hard coded to 20% with these lines:
To change the speed of those buttons you would need to change those lines and re-build KMotionCNC.
Another option would be to create your own buttons with the Screen Script Editor that would call a C Program in KFLOP that would change the Temporary FRO to some value with something like:
KMotionCNC has the speeds hard coded to 20% with these lines:
Code: Select all
m_Forward.Init(this, 1, 0.2);
m_Reverse.Init(this, -1, 0.2);
Another option would be to create your own buttons with the Screen Script Editor that would call a C Program in KFLOP that would change the Temporary FRO to some value with something like:
Code: Select all
#include "KMotionDef.h"
void main()
{
SetFROTemp(-1.0); // set full speed in Reverse
}
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Feedhold Backwards/Forwards speed
TomKerekes wrote: ↑Sat Oct 31, 2020 12:51 amHELLO, TOM, GREETINGS. I'm trying to put buttons on the KMOTIONCNC screen, I just need them to send me a value that I can use in a C program. Is there a way to do this? I am only using KFLOP.
For example, I have 4 buttons with 1, 10, 100 and 1000, suppose I select the one with a value of 1000 (in my case they would be pulses that I will send to a motor) then when I press the motor button 1 a C program is executed where it reads the value of the selected button 1000,and 1000 pulses are sent to the motor, is it possible to do that?
Re: Feedhold Backwards/Forwards speed
TomKerekes wrote: ↑Sat Oct 31, 2020 12:51 amAnother question, I have two KFLOP cards, one works with the Kmotion 4.3h version (it is where I do my tests) and the one connected to the machine that works with the Kmotion 5.0.8c version, the question is that I load some cinematics in the version 4.3h and now I need to use 5.08c, do I have to load everything from scratch or can I copy some folders from the root directory and replace those with the new version?
Thank you very much for your answers, greetings.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Feedhold Backwards/Forwards speed
Hi Ibzan,
There isn't currently a way to read the text of a pushbutton. But if the text doesn't change then you might just code the value into the C Program for the button. Or you might pass the value to the C Program as the Actions Param.
Another option might be to use Edit Controls with buttons right next to them. In this case the C Program activated by the button could read the edit associated control. This would also allow the Operator to easily change the values.
HTH
There isn't currently a way to read the text of a pushbutton. But if the text doesn't change then you might just code the value into the C Program for the button. Or you might pass the value to the C Program as the Actions Param.
Another option might be to use Edit Controls with buttons right next to them. In this case the C Program activated by the button could read the edit associated control. This would also allow the Operator to easily change the values.
HTH
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.