RobotStudio event

FYI - Leaving "View Robot At Target" and starting RAPID code locks up the VC, requires restart

I noticed that I was having to restart my VC quite often, and I finally put 2 and 2 together. If you have "View Robot At Target" active, and then execute some RAPID code in the VC, 99 out of 100 times it locks up the controller. It's quite annoying. If that is really a problem for people other than me, maybe it would be nice for a little patch for that in an upcoming release? 

I get errors like this:

RobotStudio .NET exception: C0040403 : No response from controller.
Timeout
Url:/RAPID  Cmd:SET  Prop:Stop  Args:-StopMode Stop  Elapsed:20000  CurrentCmds:0
============================================
Base exception: RobApiException
C0040403 : No response from controller.
Timeout
Url:/RAPID  Cmd:SET  Prop:Stop  Args:-StopMode Stop  Elapsed:20000  CurrentCmds:0
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.UI.Rapid.Commands.RapidStop.<OnExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.UI.Controller.Commands.ControllerCommandHandlerBaseAsync.<OnExecuteCommand>d__2.MoveNext()




And every now and then it won't let you warmstart, you have to restart the station....

RobotStudio .NET exception: One or more errors occurred.
============================================
Base exception: AggregateException
One or more errors occurred.
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.Services.Controller.ControllerService.<>c__DisplayClass33_0.<<RestartAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.Services.RobApi.RobMastership.<>c__DisplayClass8_0.<<ExecuteWithResourceAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.Services.RobApi.RobMastership.<ExecuteWithResourceAsync>d__9`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at RobotStudio.Services.RobApi.RobMastership.<ExecuteWithResourceAsync>d__9`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.Services.RobApi.RobMastership.<ExecuteWithResourceAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.Services.Controller.ControllerService.<RestartAsync>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.Services.Controller.ControllerService.<StartAsync>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.Services.Controller.ControllerService.<Start>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ABBInternal.Controller.ControllerCommandHandler.<RestartHandler_RestartStationController>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.UI.Controller.Commands.RestartHandler.<OnRestartStationController>d__11.MoveNext()
Inner exception: AggregateException
One or more errors occurred.
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at RobotStudio.Services.RobApi.RobControllerConnection.<>c__DisplayClass141_0.<Restart>b__0()
   at RobotStudio.Services.RobApi.RobControllerConnection.<>c__DisplayClass178_0.<RunOnActionQueue>b__0()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RobotStudio.Services.RobApi.RobControllerConnection.<Restart>d__141.MoveNext()
Inner exception: RobApiException
C0049007 : Operation is illegal in current execution state.
ERROR: rdh_controller.cpp[9275]: org_code: -4503 new_code: 0xc0049007; 
Url:  Cmd:Set  Prop:Restart  Args:WARM  Elapsed:1  CurrentCmds:0
History:
-00:05:12.4214525 [77154] SendCommand url:/EVENTLOGS/0 cmd:Get prop:Log arg:-GTSeqNo 232 -MaxNoMess -1 -Mode FIFO
-00:05:12.4059813 [77154] status:294912 data:-NoMess,All 4,1        -SQN 23...
-00:05:12.4059813 [77155] SendCommand url:/EVENTLOGS/10 cmd:Get prop:Log arg:-GTSeqNo 232 -MaxNoMess -1 -Mode FIFO
-00:05:12.4059813 [77155] status:294912 data:-NoMess,All 0,1       
-00:05:12.4059813 [77156] SendCommand url:/EVENTLOGS/12 cmd:Get prop:Log arg:-GTSeqNo 232 -MaxNoMess -1 -Mode FIFO
-00:05:12.3903558 [77156] status:294912 data:-NoMess,All 0,1       
-00:04:27.6818789 [77157] SendCommand url:/RAPID cmd:SET prop:Stop arg:-StopMode Stop
-00:04:07.6703672 [77157] status:-1073478653 data: TIMEOUT
-00:00:21.5408506 [77158] SendCommand url:/RAPID cmd:SET prop:Stop arg:-StopMode Stop
-00:00:21.5308527 [77158] status:-1073445881 data:
-00:00:14.1053735 [77159] SendCommand url:/RAPID cmd:SET prop:Stop arg:-StopMode Stop -AllTasksByTSP
-00:00:14.1053735 [77159] status:-1073445881 data:
-00:00:00.0312714 [77160] SendCommand url: cmd:Get prop:State arg:
-00:00:00.0156517 [77160] status:294912 data:RUN
-00:00:00.0156517 [77161] SendCommand url: cmd:Set prop:RequestMaster2 arg:-Domain RAPID -Uid 11
-00:00:00.0156517 [77161] status:294912 data:
-00:00:00.0156517 [77162] SendCommand url: cmd:Set prop:RequestMaster2 arg:-Domain CFG -Uid 11
00:00:00 [77162] status:294912 data:
00:00:00 [77163] SendCommand url: cmd:Set prop:Restart arg:WARM
00:00:00 [77163] status:-1073442809 data:ERROR: rdh_controller.cpp[9275...


Comments

  • Hello,

    For assistance with this issue, please contact your local ABB (you can find contact information here 'http://www.abb.com/contacts') to report the problem. If you could please create and provide them with a RobotStudio Report (Start menu - All Programs - ABB Industrial IT - Robotics IT - RobotStudio 6.06 - RobotStudio 6.06 Support Tool), a Pack&Go file for a station that you've experienced this issue in and if possible, a screen recording showing the steps taken to reproduce the issue (you can use the 'Record Application' button in the Simulation tab to create this), this can be used to identify and fix the cause of the problem.

    BR,
    Liam