
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
- 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