Array in Robotstudio
Hi there
Can I take up this concern again:
https://forums.robotstudio.com/discussion/7118/array-of-robtargets
How it's formats when insert a array from snipet:
Can I take up this concern again:
https://forums.robotstudio.com/discussion/7118/array-of-robtargets
I also like working with arrays, but Robotstudio doesn't support them. In my opinion, arrays are the easiest way to implement things like a magazine that isn't precise enough to be calculated. They are also useful when dealing with multiple "previous points" and "post points."
If you look at Stäubli, it is almost impossible to program without arrays.
However, there are two pain points with arrays in Robotstudio:
- Firstly, the array points do not synchronize down to the station. So, if you have an array and need to adjust or check the position, you have to save every position to a "normal" robtarget, create a move instruction, download it, make the adjustment, upload it, and copy the new position to the array. This process is not really practical. The same issue arises if you have offsets and relative tooling in your move instruction.
- Secondly, the arrays are not displayed very well in the editor. (Unfortunately, I am unable to insert screenshots anymore.)
How it's formats when insert a array from snipet:
VAR num myNumArray2x4{2,4}:=[[11,12,13,14],
[21,22,23,24]];
VAR num myNumArray2x4x2{2,4,2}:=[[[1,1],[2,2],[3,3],[4,4]],[[1,1],[2,2],[3,3],[4,4]]];
VAR num myNumArray4x2{4,2}:=[[11,12],
[21,22],
[31,32],
[41,42]];
And how it could look like more interpretable:
(Unfortunately it is not displayed as I imagined it, the "[" and "," should be vertically below each other and always the same size, so that you can clearly see which value is which array element.)
And how it could look like more interpretable:
(Unfortunately it is not displayed as I imagined it, the "[" and "," should be vertically below each other and always the same size, so that you can clearly see which value is which array element.)
VAR num myNumArray2x4{2,4}:=[[1211, 12, 13, 14],
[ 21, 22, 2223, 24]];
VAR num myNumArray2x4x2{2,4,2}:=[[[1,100], [2,2], [ 3,3], [4,4]],
[[1, 1], [2,2], [1003,3], [4,4]]];
[[1, 1], [2,2], [1003,3], [4,4]]];
VAR num myNumArray4x2{4,2}:=[[11,12],
[21,22],
[31,32],
[41,42]];
I would also have liked to show a screenshot of the panel, because there the array is shown very clearly!
Kind regards,
Nils
I would also have liked to show a screenshot of the panel, because there the array is shown very clearly!
Kind regards,
Nils
Tagged:
1
Comments
-
Hello @anderer
Thank you for this suggestion. I will speak to RS R&D and see what's possible to implement and not.
Regarding screenshots. It is possible to attach images that are hosted elsewhere. For example if you upload to imgur.com, then from there click the image and then right-click it and copy image address. Then simply attach image button and paste the url (that ends with .png).
Here's an example:
—Maxim RiabichevPC Software Support Engineer0 -
Thanks for explanation!
Here are the screenshots:
(Unfortunately, the arrays at Omnicore don't look quite as good anymore either.)
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)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings