Reading and creating a target from file
Hello All,
I see that with RAPID I am able to read data from a file. I have an external program that will process some data and return a target in terms of (X, Y, Z) coordinates. From the RAPID reference manual, it is possible to read data from a file, but unfortunately I cannot find how to create a target directly in code, by specifying the coordinates. At the moment all my targets are manually created using the "Create Target" menu item.
I will greatly appreciate any help, or direction to a site/ressource where I can find more info on how to do this.
Thank you
I see that with RAPID I am able to read data from a file. I have an external program that will process some data and return a target in terms of (X, Y, Z) coordinates. From the RAPID reference manual, it is possible to read data from a file, but unfortunately I cannot find how to create a target directly in code, by specifying the coordinates. At the moment all my targets are manually created using the "Create Target" menu item.
I will greatly appreciate any help, or direction to a site/ressource where I can find more info on how to do this.
Thank you
Yanik N.
0
Comments
-
Interesting question. On which device you want to create the module file with the targets? On the controller, or on a PC? And when do you want it to be created? During production time, or during programming / planning / preparation time?
Henrik Berlin
ABB0 -
Hello Henrik,Thank you for your reply. The module/external program that will be processing my data will run on a pc. The operation will happen in three folds, first I will create inside Robotstudio a simple path, the robot will scan a specific mechanical part and save some data to the disc. In a separate operation, I will use the data generated to perform some operation (matlab n C++), the result of my algorithm is a expected coordinates (X, Y, Z) which will be saved in a text file. In the last part, I want the robot to then read this coordinates from a file on the PC, and move to the specified coordinates.I saw a section in the Rapid manual where you can directly specify these coordinates, so I am looking at it at the moment. But if you have any other suggestions please do let me know, I am very open to all help.Thank You.Yanik N.0
-
I recommend you to try the coordinate file import add-in for RobotStudio available at RobotApps, see https://robotapps.robotstudio.com/Details.aspx?fileId=432
Then you need to import the coordinate file in RobotStudio and generate the robot program by synchronizing your imported robtargets to RAPID. When you have verified the program in RobotStudio using the VC you can transfer the module to the real robot.
Henrik Berlin
ABB0 -
Hello, i have the same question but not for targets, i am trying to read data from a file into rapid ( on the PC) and i want them to be created so i can read them by another instructionany help is really appreciated0
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
- 60 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 797 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings