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

Selection of default Tool and Base after powerOn/Restart

  • Sar92
  • November 10, 2020 at 4:40 PM
  • Thread is Unresolved
  • Sar92
    Trophies
    3
    Posts
    1
    • November 10, 2020 at 4:40 PM
    • #1

    Hi

    I have a question: Is there a setting or a menu where i can select default tool and base after power on/ restart?

    I have KUKA KRC4 - 8.3.17, and i work on workvisual 5.0

    Robot: KUKA Roboter KR 340 R3330

    Cabinet: KRC4 SC2 EA1x X11 X51 X66 X33 NL

    I tried adding a one time bas command in the sps.sub, but that resulted with error which said that BAS command is not allowed in the SPS.

    It is strange because it worked fine previously (after restart default tool 0, base 0), but after redeployment of the project because of corrupted drive, now when KRC restarts it sets up the tool and base into ?. I tried comparing the projects but it looks like nothing has changed in the config.dat or machine.dat.

    According to our customer, the operator was annoyed that he needs to manually switch tool /base from ? to 0 on every power cycle :face_with_rolling_eyes:

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • November 10, 2020 at 5:01 PM
    • #2

    variables used by motion planner cannot be modified by submit. you can still read them but not write to them.

    that includes tool, base, advance run, programmed speed etc. SPS can modify override speed but not programmed speed.

    solution to your problem is to make a robot program that initializes desired parameters. such program cannot be run in SPS but it could be selected by SPS (and deselected by SPS after execution completes).

    but, why bother.... just tell operators that they do not need to do this. they just need to select and run program.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • hermann
    Reactions Received
    404
    Trophies
    9
    Posts
    2,595
    • November 11, 2020 at 2:39 PM
    • #3
    Quote from Sar92

    .. It is strange because it worked fine previously (after restart default tool 0, base 0), but after redeployment of the project because of corrupted drive, now when KRC restarts it sets up the tool and base into ?.....

    Nearly can't believe that. The only possibility may be if warm boot is active, never checked that, I always use cold boot, warm boot is source of many issues.

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • November 11, 2020 at 6:05 PM
    • #4

    i would like to see the code that used BAS() in the SPS and worked...

    i am quite certain that it never did... or at least it was not detected. most likely it was just an assumption of mistaken observation...

    perhaps using multisubmit and assuming that all submits are running because S was still green, even though one of them was failing to compile and run

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • hermann
    Reactions Received
    404
    Trophies
    9
    Posts
    2,595
    • November 11, 2020 at 6:56 PM
    • #5

    Don't think that Sar92 meant that the code in the sps.sub worked but it worked that after a boot there was selected a tool and base (it's magic :winking_face:).

    He tried to solve the 'problem' with the statements in sps.sub, without knowing how it was realized in the system before.

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • November 11, 2020 at 7:23 PM
    • #6

    i know, but that's not what he wrote... so i just answered accordingly:winking_face:

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Damalux
    Trophies
    2
    Posts
    9
    • February 1, 2022 at 3:00 PM
    • #7

    Greetings dear moderators

    I have the same problem as Sar92.

    When the robot does a startup after being shutdown, Tool and Base stay on "?"

    When I check the system variable $ACT_TOOL_C it shows me that the Tool and Current Base are at -1.

    And it also shows me an error message.

    Is there a way that when the robot restarts it stays in Tool and Base 0?

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • February 1, 2022 at 3:33 PM
    • #8

    The answer is the same. You can do whatever you like.

    The default is that tool and base are not selected using value -1 which on HMI may be shown as "?" for 'unknown'. There are seasons for that and for example one may be the workspace monitoring after program is deselected.

    And if you want to use some tool and base, you need to select it either by program or manually (for jogging for example when no program is selected). the fact is that robot can have many programs and each program can be using different tool and base


    KUKA has no idea which tool or base you want to use as a default. Neither KUKA nor we know that the error message you see on your teach pendant. If you would like some comments on that, you may want to tell or show what the message is really about.

    If you want that YOUR default tool and base are always in every program you make on your robot, feel free to modify program template (Vorlage).

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Damalux
    Trophies
    2
    Posts
    9
    • February 1, 2022 at 4:20 PM
    • #9
    Quote from panic mode

    The answer is the same. You can do whatever you like.

    The default is that tool and base are not selected using value -1 which on HMI may be shown as "?" for 'unknown'. There are seasons for that and for example one may be the workspace monitoring after program is deselected.

    And if you want to use some tool and base, you need to select it either by program or manually (for jogging for example when no program is selected). the fact is that robot can have many programs and each program can be using different tool and base


    KUKA has no idea which tool or base you want to use as a default. Neither KUKA nor we know that the error message you see on your teach pendant. If you would like some comments on that, you may want to tell or show what the message is really about.

    If you want that YOUR default tool and base are always in every program you make on your robot, feel free to modify program template (Vorlage).

    Thanks Panic Mode

    As always, you save the day.

    I owe you a beer :winking_face:

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,033
    • February 1, 2022 at 4:26 PM
    • #10

    .. or two :grinning_squinting_face:

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

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

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