How to KILL a task and RESET the cell ?

  • Hi,

    KR 6 R900 / KRC4 Compact / KSS8.5.7 / WOV5.0.9

    One of our customers wants to add an initialisation cycle on a robot that already work fine. With a push on a button I must first stop the robot, then do an offset following Z+ and then abandon the current program and RESET the cell.

    Based on programming manual, I've used an interruption and it worked fine, but the problem is that the robot resume the cycle from where he was stopped after executing the interrupt program. (This is not what I need for my application).

    Then I've tried using CWRITE inside "sps.sub" but it has no effect.


    Code
    CWRITE($CMD,STAT,MODE,"RESET /R1/CELL()")


    How could I STOP then RESET a task ( program ) ?:face_with_rolling_eyes:

  • "problem is that the robot resume the cycle from where he was stopped after executing the interrupt program"


    it does what it was told to do and your interrupt routine apparently only uses BRAKE without RESUME.



    "How could I STOP then RESET a task ( program ) ?"


    ...just like that, first STOP then RESET.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

Advertising from our partners