
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
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings