Im looking for a way to control Fanuc robots offline other than Roboguide or paid additions. Programming using the Teach Pendant interface is slow and not the most user-friendly for getting code out quickly. My company uses several versions of Fanuc robots but i have a R-2000ic connected to a R-30iB controller for testing. Ideally i would like to be able to program something like a Python or C++ or some other file format and upload the code after generation for testing. If i could access the robot online via a command line interface (CLI) as well, that would be awesome too. If anyone has any suggestions, that is what this post is here for. Thanks in advance
Offline Programming Techniques
-
MADog2023 -
May 23, 2024 at 3:47 PM -
Thread is Unresolved
-
-
panic mode
May 23, 2024 at 4:00 PM Approved the thread. -
panic mode
May 23, 2024 at 4:01 PM Moved the thread from forum General Discussion of Industrial Robots Only to forum Fanuc Robot Forum. -
For off line Programming, I generally use FTP to pull out the .LS program files, and use Notepad++ to edit the programs, and then FTP them back in.
OneRobotics explains simple FTP commands.
This thread has a nice file that makes Notepad++ color the file similarly to what you would see in a teach pendant.
OneRobotics has a decent intro to the Syntax for the LS file.
-
For off line Programming, I generally use FTP to pull out the .LS program files, and use Notepad++ to edit the programs, and then FTP them back in.
That requires having the ASCII Upload option purchased and installed, though.
Im looking for a way to control Fanuc robots offline other than Roboguide or paid additions.
"Control", or "program"? I don' think there's any way to write TP code and load it into the robot without either RoboGuide, or the ASCII Upload option.
-
That requires having the ASCII Upload option purchased and installed, though.
I'm not sure that's entirely true. I have done this on several robots, that do not have the ASCII Upload Option. I don't think I can upload a .LS from a USB though.
-
I'm not sure that's entirely true. I have done this on several robots, that do not have the ASCII Upload Option. I don't think I can upload a .LS from a USB though.
I'm going to have to find a way to test this out. I can't recall ever getting an LS load to work without ASCII Upload, but I'm not sure I've tried it via FTP.
-
You need Ascii upload or use offline software to compile the ls file to tp.
-
Honestly guys, I just tested it on a robot we have going out to a customer, you can see my powershell window attached. I pulled a program, saved it as a different name, and loaded it back into the robot.
This robot does not have ASCII upload.
-
Honestly guys, I just tested it
What version OS is that robot running?
-
V9.40348
-
That would be cool if it is built in now. I'll have to try on a newer robot.
-
Put the .LS to Roboguide,and then Roboguide will creat .TP auto, so u can backup those .TP and load to your Robot. We do it all the time.
-
Put the .LS to Roboguide,and then Roboguide will creat .TP auto, so u can backup those .TP and load to your Robot. We do it all the time.
Sure. If you have RoboGuide. You know what that costs? The vast majority of programmers don't have RG, or easy access to it.
So, I've been playing with this in RG a bit, with V9.4. So far, I can de-select R507, but RG won't let me de-select R796:
I've tried it on a fresh-build robot (default HandlingTool config), and re-serializing a robot from an existing project, and have the same result. On a new-build, R796 (and also R461, "PC Interface") come up pre-checked and can't be unchecked. Interesting.
-
SkyeFire, that is how all RoboGuide cells have worked for at least the past decade. At least, that is what I have noticed.
-
Yeah, I asked around and it looks like this is a RG thing, to support the RG internal LS->TP conversion. So it's not a good indicator of the situation with real-world robots.
Unfortunately, I don't have any real-world robots without the ASCII Upload option (we standardize on it) to try doing more testing with.
-
So I asked FANUC and was directed to the Internet Options Setup and Operations manual, section 3.3
"FTP copies files of type .CF, .KL, and .LS, as ASCII files. All other file types are transferred as binary files."
That line seemed sufficient enough to who I spoke with to confirm that the ASCII Upload option wouldn't be needed to transfer via FTP.
I've gone back through manuals (all the way back to V6.11) and they all have that same line word for word. I don't have any older robots to test with, but I feel like we all would have been doing FTP transfers way sooner if it were possible "back then".
-
EnergyAddict Are they cobots, or using the tablet pendant? If so, I've experienced the same thing. No ASCII upload, but it would take .ls files over FTP.
Oddly enough, it would not load them in via a .usb stick.
-
No, 'my' robots are typically Yellow, with a traditional TP, minus the occasional special request.
Specifically, the one I snipped the earlier Powershell Screen from was an LR-Mate regular TP.
I want to say I remember the same as you, FTP works, but USB loading does not.
-
Wow. That would have been awfully handy to know on robots where I had neither RG or ASCII Upload to work with. I wonder why it's not more common knowledge?
-
On newer robots, ASCII upload is included by dafault, no extra-option, at least in Europe.