Hello everyone,
I am programming a routine in a KRC4 controller with KSS 8.3.37 in which I while the robot is moving if an input changes status an interrupt is activated and it changes just a flag and returns. The problem I have is that the robot stops its motion for a second when the interrupt is activated and then resumes.
I wanted to know if it is possible for the interrupt to be executed without stopping the motion.
Here is the declaration of the interrupt and the interrupt subroutine:
Code
GLOBAL INTERRUPT DECL 5 WHEN $IN[STOP_PUSHB] DO REQUEST_STOP()
INTERRUPT ON 5
...
;MAIN PROGRAM
...
DEF REQUEST_STOP()
INTERRUPT OFF 5
STOP_REQ = TRUE ;SET STOP FLAG
INTERRUPT ON 5
END
Display More
Thank you!