Error in Spotware module SWUSER.SYS
alexsdm
✭
In RobotStudio and real robot
In robotware 5.13 and 5.14 the results were the same.
Error handling routine if user_recover = TRUE.
The error appears when I run a welding point without water:
SW_PREPARE_ERR
Error:
Declaration:
It is not clear where the error is.
physical input signal.:
What is the correct solution.
alexsdm2011-09-26 21:28:23
0
Comments
-
Hello,
If you don't already know the solution to this problem.
You can add a proc call to the SwInitUserIO routine in the SwErrorRecover routine.
That will solve the problem, the routine SwErrorRecover is no longer called from the weld task but from the robot task (T_ROB1) and the reference to the signals are lost, so a new init needs to be done.Example:PROC SwErrorRecover (num GunNum,
num ErrType,
string ErrText,
um CurrThickness,
INOUT num Status)VAR btnres answer;SwInitUserIO GunNum;TEST ErrType
CASE SW_WELD_ERR:
...spotman0 -
Thank you.That helps, and it's clear the behavior of RobotWare.But it should come as standard source.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
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings