![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/rs_webinar_invitation_2025_2.jpg)
Set/Reset or SetDO?
![Paba](https://secure.gravatar.com/avatar/75896441a1beba2ca408540dc15caf30/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
Paba
✭
Is there a big difference from these instructions when changing the value of a digital output?
except for the 2 arguments \sDelay & \Sync i couldnt find any ..
i'm just asking for interest
Tagged:
0
Comments
-
No there is no big difference. The Set/Reset instruction is a newer version. I think the SetDo is a relic.
0 -
Ok thanks, i just wanted to be sure:)
0 -
SetDO has more timing options. Set and Reset are simple turn on / turn off.0
-
SetDo is great when you don't know if you want to set the output high or low, but you have it stored in a dionum variable.
That way you can write:
SetDO <output>, <variable>;
Instead of:
IF <variable>=1 THEN
Set <output>;
ELSE
Reset <output>;
ENDIF
//Markus Näslund0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 321 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 807 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings