Suggestion: Add MaxTime to CamReqImage
I have been experiencing trouble when adding the switch argument "AwaitComplete" to the instruction CamReqImage. From time to time, when requesting an image, the camera seems to get stuck in an endless loop. The instruction never finishes and I need to move PP to main to restart the program and reloading the job in the camera. I have solved this by setting a boolean to TRUE before the instruction and then back to FALSE when it is done. A background task is clocking the time and triggers an interrupt if the time limit is reached to restart the program with "ExitCycle". This is a far more complicated solution then it needs to be, in my opinion. By adding a MaxTime switch to the instruction I could just use the error handler instead.
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
- 312 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 793 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings