How to notify UI when RAPID stopped
Options

chyang
✭
in RobotStudio
When RAPID stopped due to errors, like 40204 Value error which will trigger 10126 Program stopped, how can UI detect this error and notify the operator without checking RAPID code or Flex Pendant?
0
Answers
-
What UI?Lee Justice0
-
We have a UI for an operator to run the machine, it is written using WPF/C#. The operator does not check Flex Pendant all the time, but watch the PC instead. We subscribe lots of variables in RAPID code, so we can report the status of the machine. When the RAPID stopped, we need to get some notification or some RAPID variable value changes so we can pop up some warning/error message so the operator can tell.0
-
OK. You will want to tap into the system output CycleOn. It will be on when rapid is executing.Lee Justice0
-
Yes, it is on when rapid is running, but does not turn to off when it stopped which is what I need. It might be off already but we do not get the notification; this is probably because the RAPID already stopped.0
-
System outputs are not affected by the program execution.Lee Justice0
-
The CycleOn may work for the start/stop button only.0
-
Through PCSDK, you can use ExecutionStatus in either Rapid or Task to check if the program is stopped or not.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)
- 845 RAPID Programming
- 21 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 109 Collaborative Robots
- 5 Job listings