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

Delete write-protected karel file

  • hoitzing
  • September 14, 2023 at 12:32 PM
  • Thread is Unresolved
  • hoitzing
    Reactions Received
    24
    Trophies
    1
    Posts
    128
    • September 14, 2023 at 12:32 PM
    • #1

    The robot that I'm using still has several KAREL programs from an old discontinued project that I would like to delete since I am running into some memory issues on TEMP. Some of these programs are write-protected, and since they're KAREL programs I can't just turn off the write protection. Any ideas on how to get rid of these programs?

    What I've tried without success:

    - delete via a karel program (DELETE_FILE), gives write protection error

    - delete via KCL (DELETE FILE), gives write protection error

    - create a new karel program with the same name, only without any protection error. This won't let me compile and overwrite in roboguide

  • PnsStarter
    Reactions Received
    92
    Trophies
    6
    Posts
    330
    • September 14, 2023 at 1:03 PM
    • #2

    Hi hoitzing,

    don't struggle with that!

    Do a INIT start !! (and maybe upgrade software)

    This way you'll avoid a lot of problems!

    (you have to know what to do after init start!)

    For me it turns out that this is the easiest and shortest way to get an old robot running, because you don't have to care about old sysvar settings and progs!

    Best

    Backdate/TP-Tools: A small collection of tools that simplify the commissioning and programming of Fanuc robots. (github.com)

  • hoitzing
    Reactions Received
    24
    Trophies
    1
    Posts
    128
    • September 14, 2023 at 1:38 PM
    • #3
    Quote from PnsStarter

    Do a INIT start !!

    What is an INIT start and how do I perform it?

  • PnsStarter
    Reactions Received
    92
    Trophies
    6
    Posts
    330
    • September 14, 2023 at 3:00 PM
    • #4

    Hi hoitzing,

    the INIT start will do a "factory reset"!

    This comes in handy when one is in situations like yours.

    First:

    AOA and IMAGE backup of your system to return back to.

    At startup press [PREV]+[NEXT] or [F1]+[F5](depends on controller version) to access boot/config menu.

    choose INIT start

    When done load/restore you're saved "sysmast.sv" because the robot won't be mastered anymore.


    Since this topic is more advanced please check posts and manuals for this!

    best

    Backdate/TP-Tools: A small collection of tools that simplify the commissioning and programming of Fanuc robots. (github.com)

  • hoitzing
    Reactions Received
    24
    Trophies
    1
    Posts
    128
    • September 14, 2023 at 4:18 PM
    • #5

    Hmm a factory reset sounds a little overkill but without any alternatives I might go for it. Thanks!

  • pdl
    Reactions Received
    269
    Trophies
    9
    Posts
    1,530
    • September 14, 2023 at 5:39 PM
    • #6

    I agree, an Init start seems like overkill. It sounds like you have lot's of stuff already setup on this robot that would be a real waste to just throw away.

    Have you tried deleting the files from a controlled start?

    You could also try to use the COPY_FILE command with the overwrite switch enabled.

    KCL commands can be debugged pretty easily through the Telnet interface. Just set a password for the KCL user from the teach pendant and login through your favorite terminal.

  • PnsStarter
    Reactions Received
    92
    Trophies
    6
    Posts
    330
    • September 15, 2023 at 11:25 AM
    • #7

    Hi pdl Hi hoitzing,

    too much overkill? I agree with you in part!

    I have "re commissioned" at least 15 old robots in the past.

    Some of them had some system variables set so, that the strangest things happened!

    One notices this only later. And in the end you have to make an INIT start.


    The most curious and at the same time most dangerous happened on a LRMATE100::

    CODE:

    Code
    L P[1] 250mm/s FINE
    L P[2] 250mm/s FINE

    But the robot behaved as if the following code was executed:

    Code
    R[1] = 250
    LBL[1]
    R[1] = R[1]+100
    L P[1] R[1]mm/s FINE
    L P[2] R[1]mm/s FINE
    JMP LBL[1]

    This is not a joke! He got faster and faster in T1(!) until he got off with an OVC alarm!

    ---

    If you get a used Windows PC (from wherever) you would reset it too right?

    ---

    So maybe:

    Make AOA

    Perform INIT start

    restore/perfom mastering (sysmast.sv)

    restore backup except system/sysvar.sv

    ----


    Best regards

    Backdate/TP-Tools: A small collection of tools that simplify the commissioning and programming of Fanuc robots. (github.com)

  • Shellmer
    Reactions Received
    52
    Trophies
    5
    Posts
    161
    • September 15, 2023 at 1:42 PM
    • #8
    Quote from PnsStarter

    Hi pdl Hi hoitzing,

    too much overkill? I agree with you in part!

    I have "re commissioned" at least 15 old robots in the past.

    Some of them had some system variables set so, that the strangest things happened!

    One notices this only later. And in the end you have to make an INIT start.


    The most curious and at the same time most dangerous happened on a LRMATE100::

    CODE:

    Code
    L P[1] 250mm/s FINE
    L P[2] 250mm/s FINE

    But the robot behaved as if the following code was executed:

    Code
    R[1] = 250
    LBL[1]
    R[1] = R[1]+100
    L P[1] R[1]mm/s FINE
    L P[2] R[1]mm/s FINE
    JMP LBL[1]

    This is not a joke! He got faster and faster in T1(!) until he got off with an OVC alarm!

    ---

    If you get a used Windows PC (from wherever) you would reset it too right?

    ---

    So maybe:

    Make AOA

    Perform INIT start

    restore/perfom mastering (sysmast.sv)

    restore backup except system/sysvar.sv

    ----


    Best regards

    Display More

    I've seen a fanuc robot moving at automatic speed being in T1... (not T2, T1, I ensured of that) people called me crazy, but nope, it was real... that was with one robot with a Rj3 controller, the ones that trimmed the path a lot on automatic.

    Also seen robots that gave collisions mid air because someone loaded the sysvars.sv from another controller with same mechanical unit and firmware version, I had to restore the original image and do all config from scratch, after doing it it worked perfectly... it seems that inside the sysvar file is the info about the maximum amperage a motor should draw, also the coll detect configuration.

    I've needed to restore original images on various ocassions, and that solved much issues... tgats what you do when you are desperate and cannot find any other solution, and it often works.

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

Tags

  • Write protect
  • File
  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