How to create a timer event?
Levie
✭
Hello!
How can I create a timer event?
The task is as:
1. Start the timer (5 s, for example, the time changes every iteration).
How can I create a timer event?
The task is as:
1. Start the timer (5 s, for example, the time changes every iteration).
2. Do something (it is known that it takes less than 5 s, but how much is unknown exactly).
3. Still wait until the time runs out.
4. Do something.
0
Comments
-
Read up on ITmer interrupt in the rapid instruction manual.Lee Justice0
-
I think I've done something similar using PulseDO and WaitDO.PulseDO \PLength:=5.0, doMove003;
PulseDO \PLength:=5.0, doMove001;
MoveL Move001, bla, bla;
WaitDO doMove001, 0;
PulseDO \PLength:=5.0, doMove002;
MoveL Move002, bla, bla;
WaitDO doMove002, 0;
MoveL Move003, bla, bla;
WaitDO doMove003, 0;
0 -
@lemster68 Good point, could also do a SetDO to 0 before the pulse to make sure it goes low.
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