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

Standard way of transferring KRL modules between KUKA and PC

  • ravi.joshi53
  • June 17, 2014 at 1:51 PM
  • Thread is Resolved
  • ravi.joshi53
    Trophies
    3
    Posts
    62
    • June 17, 2014 at 1:51 PM
    • #1

    Hi,

    I have written some code in KUKA. For some purpose, I moved it to my pen drive and then to PC. I did lots of modification in the PC using notepad. Then I though of copying these files to KUKA. Now KUKA is not showing them as a module and I had to create a new module and copied the code into it. This makes me very irritating since I want to do lots of offline modification then transfer it to KUKA.

    Please tell me the standard way of transferring KRL modules between KUKA and PC.


    -
    Thanks

  • SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • June 17, 2014 at 2:58 PM
    • #2

    Modifying modules offline with a text editor is perfectly fine, as long as you do not tamper with the file names, the DEFDAT, or the first DEF in the .SRC file -- that one has to match the name of the module. Also, do not tamper with any of the header lines prefixed with &.

    The free OrangeEdit program is very helpful with things like this.

  • benjamin.lundgreen
    Trophies
    3
    Posts
    48
    • June 17, 2014 at 3:14 PM
    • #3

    You can also use workvisual to transfer the whole project and edit the program files over network.

    But many prefer to use orangeedit, where you can import archives, edit, export and load onto controller with backup -> restore.

  • Leon
    Reactions Received
    35
    Trophies
    5
    Posts
    471
    • June 17, 2014 at 3:52 PM
    • #4

    The problem you describe can be fixed by just rebooting the controller. when you ad a new program to the robot folder it won't be loaded in until the robot is rebooted. Someone from kuka explained to me that the kuka software only works from the RAM memory not the hard drive, so during start up everything is loaded in to the RAM memory. This problem always occurs when you make changes outside of the Kuka software.

    Every problem has a solution, that isn't the problem. The problem is the solution.

  • Alex2070
    Trophies
    3
    Posts
    30
    • June 17, 2014 at 5:02 PM
    • #5
    Quote from Leon


    The problem you describe can be fixed by just rebooting the controller. when you ad a new program to the robot folder it won't be loaded in until the robot is rebooted. Someone from kuka explained to me that the kuka software only works from the RAM memory not the hard drive, so during start up everything is loaded in to the RAM memory. This problem always occurs when you make changes outside of the Kuka software.

    Hello,

    Same kind of advice, you can copy the file from the pc to the D drive of the robot, then copy from the D drive to the program folder on the smartpad. That will force the controller to read the file. It's quicker than to reboot the controller.

    Alex

  • SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • June 17, 2014 at 5:09 PM
    • #6

    Untrue -- if you copy&paste a module into the /R1 directory on the teach pendant navigator, that is the RAM drive. The module will be subjected to an immediate syntax and compile check, and if it passes, everything will be fine. No reboot is required. A reboot would only be necessary if you copy your modules directly to the /R1 directory on the hard drive -- then you would have to perform a cold boot to force the RAM drive to be reloaded from the hard drive.
    There can be issues when copying multiple modules at once, especially if they have interdependencies with each other. Then it might be necessary to load in a certain order, or perform small edits on them to force a re-compile if they have linking errors.

  • JonHopper
    Reactions Received
    2
    Trophies
    3
    Posts
    150
    • June 19, 2014 at 2:53 PM
    • #7
    Quote from SkyeFire


    Untrue -- if you copy&paste a module into the /R1 directory on the teach pendant navigator, that is the RAM drive. The module will be subjected to an immediate syntax and compile check, and if it passes, everything will be fine. No reboot is required. A reboot would only be necessary if you copy your modules directly to the /R1 directory on the hard drive -- then you would have to perform a cold boot to force the RAM drive to be reloaded from the hard drive.
    There can be issues when copying multiple modules at once, especially if they have interdependencies with each other. Then it might be necessary to load in a certain order, or perform small edits on them to force a re-compile if they have linking errors.

    I've encountered a few situations in my experience where modules that have a lot of subroutine calls (specific example, I had a switch with 12 subroutine calls) will not pass the syntax/compile check UNTIL the robot is rebooted.

  • neranol
    Trophies
    3
    Posts
    33
    • June 21, 2014 at 12:47 AM
    • #8

    Hi all,
    An advice, at least, in krc4 do not put the programs in the work directory. If the file doesn't exist the controller doesn't recognize as a program, if it's already in there, the controller will replace your changed file by the last file that was working there.
    Regards


    Neranol

  • SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • June 21, 2014 at 1:48 PM
    • #9

    "work" directory? What is this? The robot's directory tree generally goes /R1/Programs/, or /R1/SYSTEM, or R1/TP, or R1/MADA. I don't recall a directory called "Work" anywhere in that tree.

  • neranol
    Trophies
    3
    Posts
    33
    • June 23, 2014 at 10:04 PM
    • #10

    Hi,
    When i say work directory is R1. For several time times i had the problem this.
    I'm trying to save your time. But if any of you want to try go ahead.
    Regards


    Neranol

  • SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • June 24, 2014 at 1:13 AM
    • #11

    I copy&paste modules into /R1/ on a regular basis without any trouble, as long as I don't create linking errors by the paste sequence. I've never had a new file overwritten by the older one. There will be paste failures if the file being replaced is linked to the SPS, or if the new file does not have a fully valid syntax structure.

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