IRC5 to PC via Socket messaging or PC Interface with Python / no RobotStudio / no PC-SDK
DINT2
✭
hi,
Could somebody guide me and help to create an application that will allow me to connect to robot controller via TCP/IP and capture robot errors while it is running and doing its processes ?
I have PC Interface, Multitasking, Socket messaging available in my robot controller.
Has anybody ever done it with no PC-SDK and/or robot studio ?
I would like to create an open source ap
0
Comments
-
The ABB documentation for RAPID lists some sending and receiving examples using socket messaging under SocketSend and SocketReceive. I guess you could create an error handler which catches all errors and sends them through the socket. If I recall correctly though, error handlers have a local scope to the routine they're in, which means you need error handlers in all your routines. You can use ErrRaise or RAISE to propogate the error to the error handler of the calling routine, i.e. make the full error handling with socket messaging in your main routine and then use error handlers with ErrRaise or RAISE in all your other routines to refer all error to your main error handler.If you have a new controller (DSQC 1000) with RobWare 6.x you could also use the REST API. Have a look at this topic for the general information. You can subscribe to the error log, which means that you will be notified everytime something is written to the log. By parsing the notification, you get a link to the actual error with which you can collect the information associated with the error (the same information as is normally shown on the TeachPendant). There are some examples in the web services documentation, including a Python one.Personally, I like the latter option as you get all the error information as would be shown on the TeachPendant and you don't need to change anything in your RAPID code.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
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings