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

FTP Overwrite Files

  • ovoyevoda
  • August 27, 2014 at 4:48 PM
  • Thread is Resolved
  • ovoyevoda
    Trophies
    3
    Posts
    12
    • August 27, 2014 at 4:48 PM
    • #1

    Good morning,

    I am hoping someone can help me out. I am trying to send an .ls file to the robot controller via ftp. It works great, but only if the file name does not exist already. If it exists, it does not overwrite the file, it just fails the transfer. Is there a setting that I have to change to make it overwrite the file every time? Robot controller is R30iB and robot is M70iC. Thank you.

  • Sergei Troizky
    Reactions Received
    70
    Trophies
    6
    Posts
    658
    • August 27, 2014 at 8:38 PM
    • #2

    Typically, you cannot write a .ls file to robot.
    A .tp file must be written, and the .ls is the human readable copy of it, created by the robot.

    There is a software option for ASCII file load, but even then I am not sure about direct copying via FTP.

    Do it well right away. It will become bad by itself.

  • ovoyevoda
    Trophies
    3
    Posts
    12
    • August 27, 2014 at 8:49 PM
    • #3

    Sergei,

    Yea that's what I mean. I am using Robotmaster to generate an ls file and then sending that ls file to the robot controller via ftp. The robot controller then uses ASCII to convert the ls file to a tp file. I have all of that working fine. The issue is, every time I am sending the file over, it has the same program name (example: blast1.ls which is then converted to blast1.tp). So what happens is I have to manually go into the teach pendant and delete the file before sending the new file over. If I delete the file, it gets sent over just fine, but if I do not delete the file, the transfer fails. What I need it to do is when I send the file over, I need it to overwrite the existing file with the new file I am sending. Thanks in advance for your help.

  • ovoyevoda
    Trophies
    3
    Posts
    12
    • August 27, 2014 at 10:19 PM
    • #4

    I figured this issue out. Just for everyone's knowledge, you have to be out of the program for it to overwrite.

  • ravitejagali
    Trophies
    3
    Posts
    143
    • September 14, 2018 at 9:01 AM
    • #5

    hallo ovoyevoda,

    using ftp how did you convert .ls file to .tp file without uisng robguide or other softwares.? what batch commands?

  • jrv5207
    Reactions Received
    1
    Trophies
    3
    Posts
    94
    • September 14, 2018 at 6:00 PM
    • #6

    The robot needs the ASCII upload option installed to accept .ls files and then it converts it to .TP.

  • bagged2drag
    Trophies
    3
    Posts
    79
    • September 14, 2018 at 11:29 PM
    • #7

    I see you solved it. Yes, you must exit out of the active .tp you would like to overwrite.

    I like to set up a user alarm that exits ALL programs (I believe 43 is the severity to use) and create a tp macro that instructs that user alarm. This way I can make sure the robot has completely exited ALL programs in the event I need to do something as such, or just for the sake of making sure all tp programs have exited.

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • September 19, 2018 at 7:14 PM
    • #8

    If you have ascii upload then you will be sending the .ls file, not the .tp file. If you are just sending a program to the robot then you will "put", not "get". "Get" is to get a file from the robot to your computer.

    So to put an .ls file, with the ascii upload option:

    >>ftp ip address from Robot
    >>lcd \Dir
    >>anon
    >>put roby_prg.ls
    >>quit

    The anon command just tells the robot you are an anonymous user, not using a user name and password.

    Edited once, last by HawkME (September 19, 2018 at 7:16 PM).

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • September 20, 2018 at 12:51 PM
    • #9

    The answer has been given a couple times already in this post, please read carefully.

    You don't convert the file. The robot will convert it automatically if you have paid for and installed Ascii upload onto the robot.

    Sent from my SM-G930V using Tapatalk

  • ravitejagali
    Trophies
    3
    Posts
    143
    • September 21, 2018 at 10:45 AM
    • #10

    I tested it in Simulation, it works but software package j507 ASCII Uploader must be installed

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