sorry to bring old topic, but I have a problem, and did search and found this reply
I was trying to use CWRITE to run the program after I send something to KRC1 from PC via serial port, so I wrote:
cwrite($cmd, stat,mode,"run /r1/umove()")
umove.src was tested and run normally.
after run this cwrite, robot didn't move and the submit interpreter stop running,
the S indicator turned to gray from green, and in CONFIGURE menu, 2 Submit..., the option 1 stop and 2 cancel also gray and unenable to select.
I try to start the submit, but nothing happened, and I have to repower the controller to bring it back.
my question is:
1. why submit stop?
2. how to run the program using cwrite correctly?
3. how to re-start the submit in this case w/o reboot?
thanks.
The SPS simply stops? No error messages? That's very odd.Are there any CWRITE commands to $CMD anywhere in any of your .SRC programs? I believe it's actually possible to start/stop the SPS programmatically, but that's awfully rare.