Using MaxTime and TimeFlag together for WaitDI
colinxa
✭
in RobotStudio
I have a problem using MaxTime and TimeFlag options together in 5.61; I want to use on WaitDI, if the signal exceed the maximum time then trigger the TimeFlag, and based on the status of TimeFlag it will do something else.
I tested in virtual controller works fine then tested on robot in manual mode, works too. But it doesn't work in Auto mode.
It doesn't wait for digital input anymore just directly go to next step. Please help.
0
Answers
-
Hi, insted use waituntil. For example: Waitunti Di_1=1\Maxtime:=5\TimeFlag:=Flag1;0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 801 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings