Error Code to PLC

Hi all,
I'm a ABB robot newbie.
I want to display any error code on a HMI connected to a Allen Bradley PLC. I have created an unsigned double integer and used the following code
ERROR
SetAO ErrorCode, ERRNO;
ENDPROC
But the received code does not match the error codes in the manual. Does anyone know of a way of doing this. I did thing about doing a lookup table, but with the vast amount of possible codes, this would not be a great way of doing it. I also was wondering if there is any way of converting the ASCII (I assume this is the format) in the IRC5 to a decimal number that matches the fault code.
Many thanks for any suggestions.
Dave
I'm a ABB robot newbie.
I want to display any error code on a HMI connected to a Allen Bradley PLC. I have created an unsigned double integer and used the following code
ERROR
SetAO ErrorCode, ERRNO;
ENDPROC
But the received code does not match the error codes in the manual. Does anyone know of a way of doing this. I did thing about doing a lookup table, but with the vast amount of possible codes, this would not be a great way of doing it. I also was wondering if there is any way of converting the ASCII (I assume this is the format) in the IRC5 to a decimal number that matches the fault code.
Many thanks for any suggestions.
Dave
Tagged:
Comments
Dave