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.
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?
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…