Send Robot Faults to PLC
bkn
✭
I am using a IRC5 to run a IRB2600. I am interfacing with the IRC5 to my Omron PLC via EIP option 841-1. What are my options with regards to transferring the faults from the IRC5 over to my PLC via EIP? I thought I could compare ERRNO to all the possible errors and write a different numerical value and transfer it back across EIP. Please look at the attached code I can't seem to get the numerical value written back to my PLC.
Tagged:
0
Comments
-
Is it as simple as just using the SetAO command instead of using := ?
0 -
The ERR_XXXXX are constants that are already numbers so you should be able to just "SetGO goErrorNumberToPLC, ERRNO;" Run "TPWrite NumToStr(ERR_ACC_TOO_LOW,0);" to see it print the ERR_ACC_TOO_LOW as 1066. A list of the numbers associated with each error should be available in a manual, online, or maybe via 1-800-HELP-365 so you can interpret the number on the PLC side.
Also, check this out: http://developercenter.robotstudio.com/BlobProxy/manuals/RapidIFDTechRefManual/doc163.html -- it looks similar to what you seem to be trying to accomplish.
0
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
- 312 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 793 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings