RobotStudio event

Suggestion: Add MaxTime to CamReqImage

Options
veritas
veritas
edited February 2019 in UpFeed
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.