Using MaxTime and TimeFlag together for WaitDI
Options

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.6K RobotStudio
- 400 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 348 IRC5
- 74 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 846 RAPID Programming
- 21 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 109 Collaborative Robots
- 5 Job listings