Hi!
I am new to Kawasaki and interrupts and want to code something like this:
PickBox (Subprogram called by eg. main)
---------------------------------------------
CALL GripperClose
BREAK
; boxDetect is a signal within the gripper itself that should always be high when a box is
; in the gripper
ON -boxDetect CALL BoxDropped
CALL DoSomeCalculations
CALL DoSomeMotions
BREAK
IGNORE boxDetect
CALL GripperOpen
BoxDropped
------------------
; Box dropped by gripper
BREAK
BRAKE
HOLD
If I read the manual correctly the call to DoSomeCalculations and DoSomeMotions will cancel the interrupt? I have to set the interrupt again inside DoSomeCalculations and DoSomeMotions?
Do I need the BREAK above ON and before IGNORE?
Thanks!