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.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 338 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 832 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings