Changing Array Dimension with PCSDK
Slokko
✭
Hello, again...
I'm now trying to add items to a Rapid array with PCSDK.
Setting length to an ArrayData is not possible.
Adding Items directly to RapidData is not possible.
Setting the dimension through a constant in rapid and then changing the value of the constant from PC SDK is not possible.
Is it possible at all?
Thank you in advance.
I'm now trying to add items to a Rapid array with PCSDK.
Setting length to an ArrayData is not possible.
Adding Items directly to RapidData is not possible.
Setting the dimension through a constant in rapid and then changing the value of the constant from PC SDK is not possible.
Is it possible at all?
Thank you in advance.
0
Comments
-
Hi
One solution could be to generate a simple MOdule file, where you only have the aforementioned array. Then using either the PC SDK or rapid code to load this module. Arrays in the robot controller has to be fixed in size - apparently it is difficult to implement dynamic arrays
regards, LarsLars Glud
Danrob A/S0 -
My workaround was to delete the array and then create the same array with a different length.0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 783 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings