Error Code to PLC

Dave_TawTechDave_TawTech Barnstaple, Devon UK
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

Comments

Sign In or Register to comment.