Hello there,
I'm using a KRC4 with KSS 8.3.21, to control a KR500 in ext_auto via a Siemens PLC.
What I want to do is to trigger a global interrupt when receiving a command from the PLC AND from the robot.
- The PLC command is sent via profinet
- The robot command is set/reset inside robot subprograms , which are called by CELL.src
- The global interrupt is declared and activated in CELL.src
So, the interrupt declaration looks like that:
INTERRUPT DECL 6 WHEN (cmdFromPLC == TRUE) AND (cmdFromRobot == TRUE) DO ABORT_INTERRUPT() ;
INTERRUPT ON 6
But the behaviour of the interrupt doesn't seem to behave as expected: I was hoping it would trigger, and call ABORT_INTERRUPT() if one of the 2 command is TRUE, and there is a rising edge on the second one.
All of this to ask: how does the interrupt trigger behave when the event is a simple logic operation ? Does it need to have a rising edge on both signals, ...
Thank you in advance !