K-IDE support forum
Find all information about Kawasaki's Integrated Development Environment

ABORT/PCABORT waiting time

#1 by dm.bogachev , Thu Feb 20, 2025 9:23 am

Hi! I often write code using sockets, and when I need to upload an updated program to the robot, I check the "Kill background process", and due to the presence of timeouts in the program, KIDE does not have time to wait for the PCABORT command to act and returns an error. It would be more convenient if you could set your own timeout for waiting for the PCABORT command before sending the PCKILL command.
What do yo think about that?


The following user say thank you: cquante
 
dm.bogachev
Posts: 22
Date registered 09.28.2021


RE: ABORT/PCABORT waiting time

#2 by cquante , Fri Feb 21, 2025 7:34 am

Hi!

Zitat von dm.bogachev im Beitrag #1
Hi! I often write code using sockets, and when I need to upload an updated program to the robot, I check the "Kill background process", and due to the presence of timeouts in the program, KIDE does not have time to wait for the PCABORT command to act and returns an error. It would be more convenient if you could set your own timeout for waiting for the PCABORT command before sending the PCKILL command.
What do yo think about that?


The current timeout is 2 seconds and more than 4 reading cycle:

1
2
 
        if (cycl > 4 && sw.ElapsedMilliseconds > 2000)
break;
 


Of cause the "2000" can also be a variable in config.xml.


Christian Quante
Technical Sales
Sales Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


 
cquante
Posts: 369
Date registered 12.20.2019


RE: ABORT/PCABORT waiting time

#3 by cquante , Mon Feb 24, 2025 8:30 am

I added a new configuration value in "config.xml" called "AbortKillTimeoutMs".


Christian Quante
Technical Sales
Sales Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


The following user say thank you: dm.bogachev
 
cquante
Posts: 369
Date registered 12.20.2019


   

suggestions
Type Macro in terminal



Xobor Xobor Community Software
Datenschutz