Page 1 of 1
HOW TO SELECT SINGLE BLOCK OPTION IN KMOTIONCNC
Posted: Fri Oct 09, 2020 9:10 am
by AmitKumar171
hI TOM,
I am using kflop+kanalog+konnect.
I want to select single block option in kmotioncnc using a physical button.
How to do programming for that, any suggestions.??
waiting for your kind reply.
Re: HOW TO SELECT SINGLE BLOCK OPTION IN KMOTIONCNC
Posted: Fri Oct 09, 2020 4:40 pm
by TomKerekes
Re: HOW TO SELECT SINGLE BLOCK OPTION IN KMOTIONCNC
Posted: Tue Oct 13, 2020 6:43 am
by AmitKumar171
Hi tom,
i tried the above method that you told above,
i am getting this error while compiling and running the program.
tcc: undefined symbol 'ScreenScript'
How to resolve this error?
waiting for your kind reply.
Re: HOW TO SELECT SINGLE BLOCK OPTION IN KMOTIONCNC
Posted: Tue Oct 13, 2020 3:36 pm
by TomKerekes
Hi Amit,
You must not have included the file with the ScreenScript function.
Re: HOW TO SELECT SINGLE BLOCK OPTION IN KMOTIONCNC
Posted: Wed Oct 14, 2020 7:11 am
by AmitKumar171
Hi tom ,
Which file you are referring ??
Code: Select all
#include "KMotionDef.h"
#define TMP 10 // which spare persist to use to transfer data
#include "KflopToKMotionCNCFunctions.c"
void main()
{
for (;;)
{
ScreenScript("WinMsg:DlgName;IDC_SingleStep;BM_CLICK;");
Delay_sec(0.5);
}
}
which file to include?
Re: HOW TO SELECT SINGLE BLOCK OPTION IN KMOTIONCNC
Posted: Wed Oct 14, 2020 3:51 pm
by TomKerekes
KflopToKMotionCNCFunctions.c should contain the ScreenScript function. Does it? What Version are you using?