RobotStudio event

Can I use the ERRORS LOG?

Options

Hello all,

I would like to be able to use the errors log window.  I mean that it would be great to be able to store special errors into the list that can be viewed if I click on the upper window (at the right of the ABB button).

Do you know if this can be done?

Nowadays I'm using TPWrite and UIMsgBox to show different kind of messages, but in case of the alarms, they could be added into the ABB logs. This would help me to check different things when the machine is in the customer enterprise.

As always thank you in advance.

Best regards.

Comments

  • PerSvensson
    Options

    Hi
    Take a look at the ErrWrite instruction

    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • Joan
    Options

    Hello PerSvensson,

     

    I've taken a look at it, ErrWrite and ErrLog are exactly what I need, I think that ErrLog will be the chosen because I can write the text inside a XML file and this could allow me to make it multi language (depending on an offset in the error id) and moreover I will be able to use more than 195 characters in the message if it is needed.

    The only thing that I've not been able to find in the manuals is the path and name of the XML file that will have the error messages.  Do you know it?

    Thank you for your feedback.

  • Joan
    Options

    Don't bother on looking for the XML path or name, I've tried another option: generting the messages directly inside the RAPID program, but after compiling an error telling me that ADVANCED RAPID was needed appeared.

    In our next machine I'll have to get this software...

    As always thank you very much for your help.

    Regards,

  • l.holetzke
    Options
    Hi.

    [QUOTE=Joan]

    [...] ErrLog [...]

    The only thing that I've not been able to find in the manuals is the path and name of the XML file that will have the error messages.  Do you know it?

    [/QUOTE]

    I didn't found it too. Can you please tell me, where should I drop the xml file? It would be nice to have my own error db in a xml.

  • RussD
    Options

    This is all described in the Advanced RAPID secton of the Engineering Tools documentation.Here is the User Message section of that manual:

    2007-08-30_153838_user_message.zip

    Russell Drown