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

Kawasaki Backup Script

  • Aga_k2
  • November 29, 2022 at 8:53 AM
  • Thread is Unresolved
  • Aga_k2
    Reactions Received
    3
    Trophies
    3
    Posts
    43
    • November 29, 2022 at 8:53 AM
    • #1

    Hey guys!

    I've seen inthe Kawasaki documentation commands to save files viatelnet. I am thinking of preparing a script ( in python or sth) to do regular backup (e.g. 1 per day) for my robots. I will be working with E and F controllers. Currently I only have KROSET simulator. There are SAVE commands in AS documentation, but to use them I have to add name of the program I want to save, as in the screenshot.
    But, what if I don't know which program is "main" program? What name I should enter on this command? I tested on KROSET and KRTERM simple "SAVE test" and it saves a file "test" but I'm not sure if there is everything. I wonder if this file is enough to recover whole project?

    Or should I use SAVE/P, read the program names on the controller and download every one of them by SAVE file_name = received_name1, received_name2...,

    Once I have, I will try to calculate a checksum of the file to check if anything has changed in project, and then overwrite the stored file.


    Has anybody done something like this?

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • November 29, 2022 at 10:05 PM
    • #2

    SAVE/FULL 'filename' (E/F controller not earlier) - backup is a full save of all data (includes logging information) .

    SAVE 'filename' - backup is a full save of all data (excluding logging information and non critical).

    Both file saves can be used to recover the robot from worse case scenario:

    - CPU board failure/replacement.

    - CF card failure/replacement (assuming CF card is prepared already with OS/AS/SV).

    Program names are programmers' privilege just like variable names, so can/more than likely will differ from robot to robot.

    If variables are used, then they are likely to ALWAYS differ if they are being dynamically/programmatically changed during execution time so backups are rarely identical.

    You can do 'time' based file dumps using the autosave function too.

    You can of course create 'image' files of the entire CF card (E and F controllers) for backup purposes too.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Aga_k2
    Reactions Received
    3
    Trophies
    3
    Posts
    43
    • November 30, 2022 at 11:48 AM
    • #3

    Thank you! SAVE command looks like what I need. What "non-critical information" means?

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • November 30, 2022 at 12:55 PM
    • #4
    Quote from Aga_k2

    What "non-critical information" means?

    Data like error logs etc.

    A backup contains ALL the necessary information to restore the robot settings and user data to the time it was produced if used correctly **

    ** Warning **

    There are always possibilities of introducing problems when overwriting data with replacement data.

    Do not load a backup from a different robot onto another expecting to 'clone' it, you will experience a world of pain if you do.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Aga_k2
    Reactions Received
    3
    Trophies
    3
    Posts
    43
    • December 1, 2022 at 1:45 PM
    • #5

    Thank you!

  • Dinakaran G.
    Posts
    4
    • January 10, 2025 at 12:42 PM
    • #6
    Quote from Aga_k2

    Hey guys!

    I've seen inthe Kawasaki documentation commands to save files viatelnet. I am thinking of preparing a script ( in python or sth) to do regular backup (e.g. 1 per day) for my robots. I will be working with E and F controllers. Currently I only have KROSET simulator. There are SAVE commands in AS documentation, but to use them I have to add name of the program I want to save, as in the screenshot.
    But, what if I don't know which program is "main" program? What name I should enter on this command? I tested on KROSET and KRTERM simple "SAVE test" and it saves a file "test" but I'm not sure if there is everything. I wonder if this file is enough to recover whole project?

    Or should I use SAVE/P, read the program names on the controller and download every one of them by SAVE file_name = received_name1, received_name2...,

    Once I have, I will try to calculate a checksum of the file to check if anything has changed in project, and then overwrite the stored file.


    Has anybody done something like this?

    Display More

    Is it possible to share your script for Backup the Robot Program automatically?

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

Similar Threads

  • KSCADA

    • sindromePoissy
    • July 22, 2021 at 4:59 PM
    • Kawasaki Robot Forum

Tags

  • kawasaki
  • Backup
  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