Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
How to count arc errors in RAPID?
abnha_
✭
I would like to keep track of the number of arc errors that my robot makes during the welding of a workpiece.
Currently, when an error happens, the user is presented with a dialog on the teach pendant where it is possible to move the robot out, do some manual cleaning and then resume.
I think that some output signals are set on the error, but I'm unsure how to make use of those to increment a counter in a num. My guess is that the signals are cleared once the user clicks the resume button.
Any good ideas?
BR Andreas
Currently, when an error happens, the user is presented with a dialog on the teach pendant where it is possible to move the robot out, do some manual cleaning and then resume.
I think that some output signals are set on the error, but I'm unsure how to make use of those to increment a counter in a num. My guess is that the signals are cleared once the user clicks the resume button.
Any good ideas?
BR Andreas
0
Answers
-
After the user makes the input to either retry or move away, increment your numeric counter.Lee Justice0
-
@lemster68 where should I add this code to increment the counter? I guess I need to somehow catch the exception so that I have a place to add the code.
0 -
Since I do not see any of your code it is difficult to say. You mentioned that there is a dialog for the user to select the course for recovery. I would add it immediately after the choice is made by the user.Lee Justice0
-
What system are you running? that could help with some better answers.0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings

