WebServer in RAPID for IRC5
RAPID WebServer 1.1:
A sample HTTP 1.1 webserver for IRC5 controllers written in RAPID can be found at the RobotApps site: https://robotapps.robotstudio.com/Details.aspx?fileId=416
If you have a controller with Multitasking and PC SDK, then you can use one background task to deliver HTML pages to your webbrowser.
The web server has active content, in that upon requesting a page, it can run RAPID code to generate the HTML response, which can be used to get the status of the controller, elog, I/O, and any globally shared RAPID variables.
Many devices in a robot cell have web servers and it can be useful to product a "dashboard" of the entire cell including the robot. As delivered, the IRC5 does not have web server interface, but as shown the sample code, it is possible to add one.
This is a simple single background task server with limitations on mutiple connections. If there is a good interest, it can be re-written to use 2 background tasks and be much more responsive.
Check it out and send your comments!
Steve
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)
- 801 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings