Backup array of robtarget robotstudio
in RobotStudio
Dear all,
I need to create an array of robtarget (i would like to generate it)
The problem is
WHEN I DO the backup, i cannot found the declaration of the array with all values
WHY ?
Thanks for answer
I need to create an array of robtarget (i would like to generate it)
MODULE Module1 !*********************************************************** PERS robtarget myRobtarget:=[[100,200,300],[1,0,0,0],[0,0,0,0],[9E9,9E9,9E9,9E9,9E9,9E9]]; PERS robtarget myRobtarget2{100}; !*********************************************************** ! ! Procédure principale ! ! Ceci est le point d'entrée de votre programme ! !*********************************************************** PROC main() FOR i FROM 1 TO 100 DO myRobtarget2{i}:=myRobtarget; ENDFOR ENDPROC ENDMODULEI just load it in an empty station, apply the code and then when i go to the flexpendant i could see in data => robtarget => my array of 100 values.
The problem is
WHEN I DO the backup, i cannot found the declaration of the array with all values
WHY ?
Thanks for answer
0
Comments
-
Hello,You have to declare them before:
PERS robtarget myRobtarget2{100}:=[[[100,200,300],[1,0,0,0],[0,0,0,0],[9E9,9E9,9E9,9E9,9E9,9E9]]<br> ,[[100,200,300],[1,0,0,0],[0,0,0,0],[9E9,9E9,9E9,9E9,9E9,9E9]]<br> ,[[100,200,300],[1,0,0,0],[0,0,0,0],[9E9,9E9,9E9,9E9,9E9,9E9]]<br> ...<br> ,[[100,200,300],[1,0,0,0],[0,0,0,0],[9E9,9E9,9E9,9E9,9E9,9E9]]<br> ];
0 -
The goal is to be able to decalre array of 2500 values, i would like to avoid to copy it by hands0
-
If you use the FlexPendant (or virtual FlexPendant if a virtual controller), to declare the array it will preload blank robtargets for you.
But here is a limit to the size of the array you can declare via the pendant (can not remember the limit and it is not mentioned in the manuals) - but you can make bigger arrays via RobotStudio.
To preload the targets I copied (in RobotStudio) the maximum that I could declare via the pendant and pasted it (to double the number), then copied the resultant (doubled array) and pasted - you get a very big array quickly this way.
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 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)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings