RobotStudio event

Error Numbers

Okay, this has always got me.  I trap my errors and find that sometimes I can only get the number, i.e. I just got an error and I know the ERRNO = 1002.  How do I find out what that error is???

Comments

  • Hello,

    I also would like to know how to find out what the error is for a given error number.

    And THOD, I am having trouble trapping my errors to see what the actual error number is, can you show me an example of your trap code?

    Thanks for any help,
    SM
  • Micky
    Micky ✭✭✭
    Hi,

    you can use the "Program Data" window of the FlexPendant to show all data declarations for the errror numbers.

    • Open the Program data window
    • Select data type "errnum"
    • Click on the button "Change Scope" on the right side above the list view
    • Select  "Built-In Data only"
    • Click OK button
    • All error number declaration appears together with the error number in the list view.
    • Now you can scroll down in the list and search for the desired error number
    Example:
    1002 : ERR_NORUNUNIT

    BR
    Micky
  • I had the same problem and used the FlexPendant to solve it, but I had to scroll through all of them because I couldn't sort by error code. Isn't there a faster way or a list somewhere else?

    -Thomas