1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Offline Programming Techniques

  • MADog2023
  • May 23, 2024 at 3:47 PM
  • Thread is Unresolved
  • MADog2023
    Posts
    4
    • May 23, 2024 at 3:47 PM
    • #1

    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

  • 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.
  • EnergyAddict
    Reactions Received
    45
    Trophies
    4
    Posts
    133
    • May 23, 2024 at 7:01 PM
    • #2

    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.

  • SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,426
    • May 23, 2024 at 9:11 PM
    • #3
    Quote from EnergyAddict

    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.

    Quote from MADog2023

    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.

  • EnergyAddict
    Reactions Received
    45
    Trophies
    4
    Posts
    133
    • May 23, 2024 at 10:05 PM
    • #4
    Quote from SkyeFire

    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.

  • SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,426
    • May 23, 2024 at 11:42 PM
    • #5
    Quote from EnergyAddict

    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.

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • May 24, 2024 at 3:47 PM
    • #6

    You need Ascii upload or use offline software to compile the ls file to tp.

  • EnergyAddict
    Reactions Received
    45
    Trophies
    4
    Posts
    133
    • May 24, 2024 at 5:05 PM
    • #7

    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.

    Images

    • ftp.png
      • 23.57 kB
      • 716 × 491
      • 41
  • SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,426
    • May 24, 2024 at 5:25 PM
    • #8
    Quote from EnergyAddict

    Honestly guys, I just tested it

    What version OS is that robot running?

  • EnergyAddict
    Reactions Received
    45
    Trophies
    4
    Posts
    133
    • May 24, 2024 at 5:31 PM
    • #9

    V9.40348

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • May 26, 2024 at 3:09 PM
    • #10

    That would be cool if it is built in now. I'll have to try on a newer robot.

  • RobcadSim
    Reactions Received
    9
    Trophies
    2
    Posts
    63
    • May 27, 2024 at 3:49 AM
    • #11

    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.

    Nice day~!

  • SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,426
    • May 28, 2024 at 4:27 PM
    • #12
    Quote from RobcadSim

    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:

    image.png

    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.

  • pdl
    Reactions Received
    269
    Trophies
    9
    Posts
    1,530
    • May 28, 2024 at 5:08 PM
    • #13

    SkyeFire, that is how all RoboGuide cells have worked for at least the past decade. At least, that is what I have noticed.

  • SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,426
    • May 28, 2024 at 5:10 PM
    • #14

    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.

  • EnergyAddict
    Reactions Received
    45
    Trophies
    4
    Posts
    133
    • May 28, 2024 at 7:20 PM
    • #15

    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".

  • Nation
    Typical Robot Error
    Reactions Received
    538
    Trophies
    9
    Posts
    1,919
    • May 28, 2024 at 9:18 PM
    • #16

    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.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • EnergyAddict
    Reactions Received
    45
    Trophies
    4
    Posts
    133
    • May 28, 2024 at 9:49 PM
    • #17

    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.

  • SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,426
    • May 28, 2024 at 10:18 PM
    • #18

    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?

  • andreic
    Reactions Received
    24
    Trophies
    4
    Posts
    282
    • May 30, 2024 at 5:44 PM
    • #19

    On newer robots, ASCII upload is included by dafault, no extra-option, at least in Europe.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download