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:
-1
Comments
-
An analog output is not appropriate for sending those numbers. Use a group output and a dint is probably not necessary either, but that is up to you, probably num is sufficient.Lee Justice0
-
You had the right idea - just use a group output and SetGO instead.
0 -
Thanks guys, it works
Dave0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings