Display More"Restarts the call"? What does this mean?
Normal KUKA behavior is to resume from where it was stopped by any event, barring "fatal" errors like encoder loss, safety zone violation, etc.
This code in the SPS is bad:
IF($IN[63] == TRUE) THEN
CWRITE($CMD,STAT,MODE,"RUN /R1/CELL()")
ENDIF
A $CMD RUN command should never be triggered without checking that $PRO_STATE1==#P_FREE. And if $IN[63] is supposed to "reset" the program pointer back to CELL, it needs to properly trigger a $CMD STOP first, followed by a $CMD CANCEL, using $PRO_STATE1 to prevent "hammering" those commands.
Thanks for the reply
To clarify further that $in[63] Is mapped from my $EXT_Start bit. Should i use the same bit to launch the command $CMD STOP Followed by a $CMD Cancel. Or should those be separate bits
Also can you clarify what a $Pro_State1 means?