Hi Tom,
We’re having an intermittent problem
that we’ve been unable to
solve. We are getting an “Not Responding” message in the
title bar in
KmotionCNC. Here the facts.
Windows 7 on an industrial AMD 64bit
platform
with integrated touch screen.
Logitech F710 Gamepad.
JoytoKey running for Gamepad to
keyboard
mapping.
The machine
is an X,Y, Z1, Z2 waterjet. ( Z’s are not part of the
coordinated motion)
It occurs
both while running Gcode and sitting idle.
If Gcode is running motion stops but
jet stays on(spindle output) and often ruins the part.
Very random,
the machine may operate for several hours or 5 minutes
between failures.
We were
running 4.33 now 4.34a …no change.
Kflop was
powered by USB we changed to external PS …no change.
We are unable
to open Kmotion.exe during unresponsive KmotionCNC.
We
replaced and rerouted USB cable …no change
If
we disable/enable or unplug/replug USB the “Not
Responding” goes away and we can resume cutting.
We thought it
was a USB problem but the C program below is running and
still fully functional
while the “Not Responding” message is present.
Any ideas?
Thank you, Shannon
#include
"KMotionDef.h"
main()
{
int resultz;
double z1;
double z2;
int zcur1;
int zcur2;
for (;;) { // loop forever
//----Get logitech game controller Z
move data from a
file created in VB6 app----
FILE *fz=fopen("c:\\Temp1\\kflop_z_move.txt","rt");
Delay_sec(.011);
if(fz!=NULL)
{
//printf("e");
resultz=fscanf(fz,"%lf\n",&z1);
resultz=fscanf(fz,"%lf",&z2);
//Jog
Z1
if
(z1 != zcur1){
Jog(4,z1);
}
//Jog
Z2
if
(z2 != zcur2){
Jog(3,z2);
}
fclose(fz);
if
(fz != NULL){
fz
= NULL;
}
zcur1
= z1;
zcur2
= z2;
}
WaitNextTimeSlice();
}
}