RobotStudio event

Use EE_ABORT event in Program Manager

I would like to abort a part that is being run in Production Manager. I see there is an EE_ABORT event available. How this be triggered and used?
BR

Comments

  • Micky
    Micky ✭✭✭
    Hello,
    as I know the event "EE_ABORT" is triggered if an error occurred during calling the production routine or if the error "GAP_EXIT_PART" or "GAP_EXIT_MENU" is raised.

    Example:
    PROC Part1()
      TPWRITE "process part 1";
      IF di1=high RAISE GAP_EXIT_PART;
      TPWRITE "Continue part 1";  
    ERROR
      RAISE;
    ENDPROC
    Best regards 
    Micky

  • Thanks.