Error sync to station
Klaus
✭✭
in RobotStudio
I get this exeption when trying to sync to station. and found out the problem.
**********************exeption*****************************************
RobotStudio .NET exception: Another RAPID symbol with the name 'T_EmneGriber' already exists
============================================
Base exception: ArgumentException
Another RAPID symbol with the name 'T_EmneGriber' already exists
at RobotStudio.API.Internal.TaskHelper.CheckRapidNameInScope(RsTask task, String moduleName, Boolean local, String declarationName)
at ABB.Robotics.RobotStudio.Stations.RsDataDeclarationCollection.Add(RsDataDeclaration dataDeclaration)
at RobotStudio.Services.RapidSerializerRS.LgRasRsDataSeries.InsertSentence(LgRasSentence newSentence)
at RobotStudio.Services.RapidSync.LgRasEngine.ReplaceSentences(ILgRasSeries targetSeries, LgRasSentenceCollection targetSentences, LgRasSentenceCollection masterSentences, Int32[] tar2mas)
at RobotStudio.Services.RapidSync.LgRasEngine.SyncData(ILgRasDataSeries targetSeries, ILgRasDataSeries masterSeries)
at RobotStudio.Services.RapidSync.LgRasEngine.SyncRoutine(LgRasRoutineClauseId routine, Boolean cmIsMaster, LgRasLogMessageCollection logMessages, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
at ABB.Robotics.RobotStudio.Stations.RsTask.SyncPathProcedure(String pathProcedureId, SyncDirection direction, ArrayList logMessageList, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
at ABBInternal.Controller.SynchHelper.DoSynch(ExtendedListView tree, ArrayList syncLogMessageList)
============================================
Base exception: ArgumentException
Another RAPID symbol with the name 'T_EmneGriber' already exists
at RobotStudio.API.Internal.TaskHelper.CheckRapidNameInScope(RsTask task, String moduleName, Boolean local, String declarationName)
at ABB.Robotics.RobotStudio.Stations.RsDataDeclarationCollection.Add(RsDataDeclaration dataDeclaration)
at RobotStudio.Services.RapidSerializerRS.LgRasRsDataSeries.InsertSentence(LgRasSentence newSentence)
at RobotStudio.Services.RapidSync.LgRasEngine.ReplaceSentences(ILgRasSeries targetSeries, LgRasSentenceCollection targetSentences, LgRasSentenceCollection masterSentences, Int32[] tar2mas)
at RobotStudio.Services.RapidSync.LgRasEngine.SyncData(ILgRasDataSeries targetSeries, ILgRasDataSeries masterSeries)
at RobotStudio.Services.RapidSync.LgRasEngine.SyncRoutine(LgRasRoutineClauseId routine, Boolean cmIsMaster, LgRasLogMessageCollection logMessages, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
at ABB.Robotics.RobotStudio.Stations.RsTask.SyncPathProcedure(String pathProcedureId, SyncDirection direction, ArrayList logMessageList, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
at ABBInternal.Controller.SynchHelper.DoSynch(ExtendedListView tree, ArrayList syncLogMessageList)
****************** exeption end ***********************************'
I have found out that if i have a TASK PERS tool in my station and i have changed it in my rapid code to be a PERS i get this exeption.
After change the tooldata in my station to be only a PERS i can sync my rutine to station with out exeption.
Best Regards
Klaus Soenderhegn
www.cadalysator.dk
Klaus Soenderhegn
www.cadalysator.dk
0
Comments
-
What if you change it in the "Synchronization" dialog? Do you get the same message?
What result would you expect? Would you expect the old tooldata to be overwritten without notification?
If only the value of an identifier changes, then it is overwritten. I will investigate why this change is handled differently.
Henrik Berlin
ABB0 -
stranged. now i can not reproduce the problem.I have tried to change the decleration in the station to TASK PERS and my rapid is still just a PERS and now it will sync proberly.Best Regards
Klaus Soenderhegn
www.cadalysator.dk0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings