Hi everyone.
There are many robots with identical function in my company. When I create backup from these robots, I see the difference in Task folder names.
For example:
In robot program, there are 3 task: T_Rob1, T_Vision, T_Server. The names of folder of Tasks in backup folders are different.
In some robot, T_Vision folder is named TASK2, in some robots T_Vision folder is named TASK3, despite that their contents are identical.
This makes it impossible to compare 2 backups with Robot Studio.
Does anyne know how to change Task folder names in backup folder? and which decides these name (TASK1, TASK2, TASK3,…)?
Thank you.
This is from the Technical reference manual, System Parameters, for RW6:
3.14.2 Task
Parent
Task belongs to the type Tasks, in the topic Controller.
Cfg name
Name
Description
The name of the task.
Usage
This is the public identity of the task.
Allowed values
A string with maximum 30 characters. The first character may not be a digit.
Limitations
Editing the task entry in the configuration editor and changing the task name will remove the old task and add a new one. This means that any program or module in the task will disappear after a restart with these kind of changes.
I have this exact issue with RW6.16.02. T_ROB1 is saved in Task 2 on a backup rather than Task 1.
If you would like to manually change it, you need to know internal oranization of bacup files a bit deeper. Here are some tips.
Have a look at parameters in ..\SYSPAR\SYS.cfg file:
CAB_TASKS:
-Name "T_ROB1" -Type "NORMAL" -UseMechanicalUnitGroup "rob1" -MotionTask
-Name "T_ROB2" -Type "NORMAL" -UseMechanicalUnitGroup "rob2" -MotionTask
MECHANICAL_UNIT_GROUP:
-Name "rob1" -Robot "ROB_1" -UseMotionPlanner "motion_planner_1"
-Name "rob2" -Robot "ROB_2" -UseMotionPlanner "motion_planner_2"
Then you have to organize also all you program modules correctly in ..\RAPID folder.
To tell robot contloller how backup has to be loaded during Restore operation, you need to manually modify also ..\BACKINFO\backinfo.txt file:
….
>>TASK1: (T_ROB1,)
PROGMOD/MyRob1Module1.mod @
PROGMOD/MyRob1Module2.mod @
SYSMOD/MyRob1SysModule1.sys @
SYSMOD/MyRob1SysModule2.sys @
….
>>TASK2: (T_ROB2,)
PROGMOD/MyRob2Module1.mod @
PROGMOD/MyRob2Module2.mod @
SYSMOD/MyRob2SysModule1.sys @
SYSMOD/MyRob2SysModule2.sys @
….
But be careful and keep original backups - it is easy way to mess up all system.
Fritz.
You may need to make an initial restart I-Start after changing your backup.
Thank you to everyone who replied! This is very helpful. I will add a comment after I fix the problem.