Can I turn on a digital I/O using Robot Web Services directly?
Options
sabby
✭
If not, would writing a rapid routine to turn on the output and posting http://localhost/rw/rapid/execution?action=start work?
Any other better methods to recommend?
Any other better methods to recommend?
0
Answers
-
You could send a POST request to /rw/iosystem/signals/{network}/{device}/{signal} to do this:
https://developercenter.robotstudio.com/api/rwsApi/ios_signal_value_page.html
Would this work for your use case?0 -
I personally like using ajax libraries.
function Set_Pneumatics(x) {var data = {"url": "/rw/iosystem/signals/EtherNetIP/IO_Balluff/doBlowOff?action=set","method": "post","queries": { "action": "set" },"data": { "lvalue": x }"auth": { "user": "Default User", "password": "robotics" }}$.ajax(data);}0
Categories
- All Categories
- 5.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 736 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings