RAPID: copy file to USB
in RobotStudio
Using the CopyFile command to copy from the controller temp to a more permanent/accessible location.
CopyFile disktemp+"file.txt", diskhome+"file.txt";
This code works, but I would like to copy the file to the USB drive instead.
When I change the code to reflect that, I get an error that it is unable to access the file on the USB drive. I've had the same issue in trying to create the file on the USB.
CopyFile disktemp+"file.txt", usbdisk1+"file.txt";
^^^ This SHOULD work, but doesn't. I get file access errors from the robot.
I've tried two different USB drives now, and neither of them works with the robot. I am able to manually load/save modules and manually copy/move files within FlexPendant explorer, but the RAPID code does not work.
Alyssa Wells2013-02-25 20:52:58 0
Comments
-
Ask your local ABB Robotics Service representative for a list of supported USB sticks.
Have you tried using the File Transfer tool in RobotStudio? To connect RobotStudio to the controller via the LAN you need to have the RobotWare option PC-interface. The option is not required when connecting to the service port.
Henrik Berlin
ABB0
Categories
- All Categories
- 5.5K RobotStudio
- 396 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