RobotStudio event

Disable "Max time expired" warning in event log

Options
Geoffrey_Borny
edited August 2020 in RAPID Programming
Is there a way to disable this message from being added to the event log.
I need the max time on the waitwobj instruction to do some checks in the error handler, but I don't want this message to spam the event log.


40538: Max Time Expired

Description

Task: T_ROB1.The programmed waiting time has expired.Program ref: /M_Motion/Place_ConveyorTracking/WaitWObj/90.

Actions
Recovery: ERR_WAIT_MAXTIME.


Comments

  • lemster68
    Options
    Are you using TimeFlag?  Like this:

        WaitUntil diClosed_A=0\MaxTime:=2\TimeFlag:=bAdvancedFlag;
        IF bAdvancedFlag RAISE erStillAdvanced;

    If that optional argument is available for WaitWobj.
    Lee Justice
  • Yes, this optional argument is available for WaitWobj.
    I will try to add it and see if this solves my problem.