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

Start Program not enabled during debug session in WorkVisual

  • crookies
  • April 15, 2020 at 11:33 AM
  • Thread is Unresolved
  • crookies
    Reactions Received
    1
    Trophies
    3
    Posts
    5
    • April 15, 2020 at 11:33 AM
    • #1

    Hello,

    I have a question concerning WorkVisual debug session on a KR90, I have a KSS with version 8.5.5 (8.5.337) and WorkVisual version 6.0.6 (B542).

    The system is in T1 (o T2) I have established the connection and selected my program.

    1. When I want to start the program, I need to use the start button on the SmartPad, the "Start Program" button in WorkVisual is always disabled

    2. When I run the program (in T1 or T2), it does not seem to stop on breakpoints.

    REM: I see the program pointer moving during debugging, and I can monitor variables and inspect them, but I have to interact with the program/robot via the SmartPad only

    Do you have an idea why this "Start Program" button is always disabled.

    Pierre

    PS: thank you for all the precious information on your forum, it has already saved my day a couple of time.

  • Go to Best Answer
  • HawkME April 15, 2020 at 11:41 AM

    Moved the thread from forum For discussion of ROBOTS ONLY --- Forum rules and informations. to forum KUKA Robot Forum.
  • crookies
    Reactions Received
    1
    Trophies
    3
    Posts
    5
    • April 17, 2020 at 11:08 AM
    • #2

    Hello again everyone,

    I did not receive feedback here.

    My question seems maybe obvious, but I do not have much experience with the Kuka environment, and I do not manage to use breakpoints and start the execution from WorkVisual.

    From the SmartPad I can select "Step by step", then I can step in the program from the SmartPad and follow the exection synchronousely on WorkVisual (and monitor variables), but this process is very slow as it steps on every line of the program.

    As shown on the picture in my post above, the "Start Program" icon is disabled, even though in the WorkVisual manual they show it as enabled and say it is possible to start the program from there. I must be doing something wrong, maybe a confirguration or something, but I don't understand what.

    Pierre

  • Mentat
    Reactions Received
    61
    Trophies
    5
    Posts
    243
    • April 17, 2020 at 11:52 AM
    • #3

    Hi,

    This is just my biased opinion, but usually members of this forum respond only when they are relatively sure about their solution to a presented problem. You won't find many replies in a form of "Yeah, me too".

    What you have so far described in terms of working with WV is the extent that I use. I haven't seen anyone who figured out breakpoints, thought that would be a very helpful feature. Personally, I use a global bool with a conditional halt in lieu of a breakpoint. Then when I am done debugging- just regex them out.

    Even at version 6, WorkVisual is not quite bug free and feature complete. When it comes to software, Kuka is not the leading robot manufacturer :\

  • Online
    panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,026
    • April 17, 2020 at 2:36 PM
    • #4

    you need to describe how to REPRODUCE the problem...

    not just 'this is the situation' but how YOU get there, step by step.

    then someone may pinpoint something you are doing differently.

    by the way KUKA released videos on this subject.

    don't have access to controller at the moment but just tried it using WoV 5.0.10 and OL_8.5.8 (user level can be operator, does not matter):

    1. start WoV then use menu VIEW > 2 Programming and Diagnosis, new perspective is loaded (perspective is a set of windows)

    2. refresh cell tree and place checkmark next to controller you want to use

    3. in the KRC Explorer, right click on controller and ESTABLISH CONTROLLER STATE. This transfers files from controller to a temporary repository on your computer (Ctrl+Shift+D)

    4. in the KRC Explorer, right click on controller and choose START DEBUGGING (F5)

    5. in the KRC Explorer, right click on SRC file and choose SELECT PROGRAM. pay attention to DEBUGGING window. it shows message, program state etc.

    6. optionally - if you want to see the code, open that SRC file (you can run program without seeing it)

    7. in the KRC Explorer, right click on program and use START PROGRAM (F10), RESET PROGRAM (Alt+Up) as you please or click on equivalent icons in the menu bar.

    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

  • crookies
    Reactions Received
    1
    Trophies
    3
    Posts
    5
    • April 17, 2020 at 3:06 PM
    • #5

    Thank you Mentat and Panic Mode for your replies.

    Panic mode, I was following the same steps you describe. I just followed them once again in the same order to make sure (here I select a program called probe_tst2.src. The problem I have is that when I reach your step 7, I do not have the "START PROGRAM" option in the menu (and in the tool bar, the button is grayed out).

    In the messages I have the "Start key required" message, but that is always the case when you want to start the program, isn't it?


  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,370
    • April 17, 2020 at 3:36 PM
    • Best Answer
    • #6

    I'm a bit chary about using this feature, though. I learned the hard way that, if WV crashes while a debug session is running, the robot keeps going. The good news there is that at least the remote debug only works in T1 (and T2! :astonished_face:), so you still have the deadman.

    Also, when WV crashed on me with a live debug session running, the "save report and restart" function ended up trying to open an infinite number of Explorer windows and WV sessions on my computer -- I had to forcibly task-kill them. So, I would suggest unchecking the "save crash report" and "restart WV" options in the "WV Has Crashed!" error window.

  • crookies
    Reactions Received
    1
    Trophies
    3
    Posts
    5
    • April 17, 2020 at 4:24 PM
    • #7

    Thank you SkyeFire, I will remember this "Save crash", because I also have a few crashs per day.

    I think I found the reason for my problem in the manual, they mention that "Start Program" is only available in Offline PC (I suppose this is when WoV is connected to OfficeLite)

    Also I received a reply from the KUKA support and they said this:

    "You can’t start the robot with WorkVisual.

    You need to upload the project and run it with the Smartpad.

    In Workvisual you can follow the active programs that are running."

    I think it closes the subject. Thanks to you all for the support!

  • massula
    Reactions Received
    200
    Trophies
    8
    Posts
    1,426
    • April 18, 2020 at 5:59 PM
    • #8
    Quote from crookies

    I think I found the reason for my problem in the manual, they mention that "Start Program" is only available in Offline PC (I suppose this is when WoV is connected to OfficeLite)

    Never tried the debug function before, but this makes sense, at all.

    I imagine that people trying to start a program with movement instructions from WoV while holding the Smarpad and pressing deadman button would cause several unpleasant situations.

  • more
    Reactions Received
    4
    Trophies
    2
    Posts
    5
    • August 26, 2021 at 5:45 PM
    • #9
    Quote from crookies

    Hello,

    I have a question concerning WorkVisual debug session on a KR90, I have a KSS with version 8.5.5 (8.5.337) and WorkVisual version 6.0.6 (B542).

    The system is in T1 (o T2) I have established the connection and selected my program.

    1. When I want to start the program, I need to use the start button on the SmartPad, the "Start Program" button in WorkVisual is always disabled

    2. When I run the program (in T1 or T2), it does not seem to stop on breakpoints.

    REM: I see the program pointer moving during debugging, and I can monitor variables and inspect them, but I have to interact with the program/robot via the SmartPad only

    Do you have an idea why this "Start Program" button is always disabled.

    Pierre

    PS: thank you for all the precious information on your forum, it has already saved my day a couple of time.

    Display More

    Hi! I need to understand if I'm the only one having problems with the debugger. Thanks for the clarification about point 1.

    What about point 2. ? I'm setting breakpoints in my code but the execution doesn't stop at them..
    I'm basically new to Kuka programming, but I think that I've used it in the recent past succesfully, but now they are not working anymore.
    Also in my case I see the program pointer moving during debugging and I can monitor variables and inspect them.

    KSS 8.7.2
    KS V8.7.390


    Any suggestions?

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

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