Can I turn on a digital I/O using Robot Web Services directly?
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.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings