Well.. Starting to see why Tom recommends against
flashing the INIT program into the KFlop. We now have 20
machines that have various programs flashed in and I am
unsure of what version is where.
I am thinking to correct this we could flash a simple
program that would activate a user button on startup. My
only issue is, when we power up, the KFlop boots much
faster than the PC. I am trying to think of a way to make
a while loop that waits for active communication to
KMotionCNC before it breaks the loop.
Something like this:
main()
{
while(!Communication
with KMotionCNC) // Is there a way to do this??
//
Run Initiate Program
DoPCInt(PC_COMM_USER_BUTTON,0);
DoPCInt(PC_COMM_RESTART);
}
The user button would be pointing to the latest and
greatest INIT program. Does this sound reasonable?
Thanks,
Scott