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

How is $ROBRUNTIME evaluated internally ?

  • lionpeloux
  • April 9, 2019 at 5:56 PM
  • Thread is Resolved
  • lionpeloux
    Reactions Received
    1
    Trophies
    3
    Posts
    47
    • April 9, 2019 at 5:56 PM
    • #1

    Hello,

    KRC2 / KRR5.6

    The manual states that $ROBRUNTIME gives the cumulated amount of time when drives are switched on.

    But I could not find how to determine when drives are effectively switched on in the manual.
    I've looked at $DRIVES_ON (pulse) and $PERI_RDY but it does not seem to be correlated as $PERI_RDY could be true while $ROBRUNTIME counter is stopped.

    Can someone explain precisely how is $ROBRUNTIME computed ?
    Would the time when PRO_STATE1 = P_ACTIVE be a good approximation ?


    Nota : my goal is to compute a weighted value of $ROBRUNTIME (weighted by $OV_PRO).

    Thanks,
    Lionel

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • April 9, 2019 at 6:21 PM
    • #2

    drives are on when "I" in "SIR" is green....

    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

  • lionpeloux
    Reactions Received
    1
    Trophies
    3
    Posts
    47
    • April 10, 2019 at 8:25 AM
    • #3

    Ok,

    So "I" in "SRI" is green when $PERI_RDY = true ... and the question remains fully open.

    Indeed when $PERI_RDY is true the $ROBRUNTIME counter can be stopped (for instance if no program is selected).
    So the manual (KSS 5.6 END V1 en p67/185) is possibly misleading :

    Quote


    Operating hours. The operating hours meter is running as long as
    the drives are switched on. Alternatively, the operating hours can
    also be displayed via the variable $ROBRUNTIME.

    So what is the condition that makes $ROBRUNTIME count or not ? Could it be :

    Code
    PRO_STATE1 == #P_ACTIVE && $PERI_RDY == true
  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • April 10, 2019 at 2:10 PM
    • #4

    no.... program state does not matter. time is accumulated whenever drives are on - regardless if robot is stationary or not, regardless if running program or not, regardless if jogged or not. the only condition is - drives are on. when "I" is green, 'odometer' is running....

    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

  • lionpeloux
    Reactions Received
    1
    Trophies
    3
    Posts
    47
    • April 10, 2019 at 2:53 PM
    • #5

    Well, I still don't fully understand what you are saying.

    See my screenshots : the "I" is green (PERI_RDY = true), no program is selected by the robot interpreter, and $Robruntime is idle (at 55809).

    So you said "I is green" <=> "drives are on" <=> "$ROBRUNTIME is counting".
    But I see that in some cases "$ROBRUNTIME is NOT counting" when "I is green" ...
    What am I missing there ?

    I am on KSS5.6 / KRC2ed2005

    Images

    • A.png
      • 239.85 kB
      • 1,164 × 1,032
      • 37
    • B.png
      • 239.39 kB
      • 1,164 × 1,032
      • 29
    • C.png
      • 239.97 kB
      • 1,164 × 1,032
      • 19
    • D.png
      • 239.9 kB
      • 1,164 × 1,032
      • 21

    Files

    A.png_thumb 19.52 kB – 140 Downloads B.png_thumb 19.56 kB – 135 Downloads C.png_thumb 19.56 kB – 132 Downloads D.png_thumb 19.55 kB – 131 Downloads
  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • April 10, 2019 at 3:00 PM
    • #6

    in that case not sure... would need real KRC2 to try.
    but - why is this important?

    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

  • lionpeloux
    Reactions Received
    1
    Trophies
    3
    Posts
    47
    • April 10, 2019 at 3:28 PM
    • #7

    1) I am working on a maintenance plan so it's good to know what is precisely behind $ROBRUNTIME and the manual is visibly misleading.

    2) I am developing a service that sends notifications when a src program is about to finished. The src programs are generated with Powermill and I get an expected simulation time from it. This simulation time is hard coded in the program when it is exported (postprocessing). My service reads this value when the src program is started and tracks the progress time of the program. The progress time must be 'normalized/weighted' to take into account the current $OV_PRO. When the progress time is about to reach the simulation time (lets say 5 minutes before) a notification is send to the operator.

    => So I was looking how to build an accurate progress time. I was thinking of $ROBRUNTIME but now I think I would better write my own counter timing when PRO_STATE1 == #P_ACTIVE.

    => So the question is still open :icon_wink: What is the condition for $ROBRUNTIME to count ?!

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • April 10, 2019 at 3:42 PM
    • #8

    i would not bother with this variable, i would use timer.

    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

  • the leg
    Reactions Received
    4
    Trophies
    4
    Posts
    643
    • April 10, 2019 at 8:23 PM
    • #9

    i thought robruntime was moving time only ??

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • April 10, 2019 at 9:32 PM
    • #10

    my info is that, that would tell use of gearboxes but not controller, brake circuits etc.
    either way, displayed value is rounded which makes it hard to do a direct comparison without writing some code.
    if one wants to use time in program - there are timers for that.

    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

  • the leg
    Reactions Received
    4
    Trophies
    4
    Posts
    643
    • April 10, 2019 at 9:55 PM
    • #11

    Might have a little test in the morning ?

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • April 10, 2019 at 10:43 PM
    • #12

    please share what you discover... :yesyesyes:

    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

  • hiimtom
    Reactions Received
    5
    Trophies
    3
    Posts
    19
    • April 11, 2019 at 5:59 AM
    • #13

    I do not believe this value is linked to any readable variable (PERI_RDY etc).
    The 'I' symbol can be green even if there is no power to the drives.


      • When you are in T1 and hold in dead man switch; the I turns green, but the brakes will only release once press a jog key.

      • When in operation, if the robot is stationary for >30s while waiting for an input etc.., the drives will switch off and the robot will close the brakes. The robot could theoretically be sitting in this state for hours/days while waiting for product. This timeout value can be modified somewhere i believe...

  • the leg
    Reactions Received
    4
    Trophies
    4
    Posts
    643
    • April 11, 2019 at 9:05 AM
    • #14

    So after testing this I have found that the run time is linked to the brakes lifted .

    It's not movement time only that the the brakes are off


    ? ?

  • javaman
    Reactions Received
    5
    Trophies
    4
    Posts
    309
    • April 11, 2019 at 10:44 AM
    • #15

    Where robotruntime is stored ? in hdd of krc2 pc ?
    Iam asking that because i have connected on the same krc2 2 different robots
    and is shows me for each robot different runtime..

  • the leg
    Reactions Received
    4
    Trophies
    4
    Posts
    643
    • April 11, 2019 at 10:59 AM
    • #16

    Pc and the RDW

  • javaman
    Reactions Received
    5
    Trophies
    4
    Posts
    309
    • April 11, 2019 at 11:14 AM
    • #17

    PC or RDW ?
    Has RDW eeprom chip that stores robotruntime so if you change completely krc2 runtime of robot is correct ?

  • the leg
    Reactions Received
    4
    Trophies
    4
    Posts
    643
    • April 11, 2019 at 11:16 AM
    • #18

    It's stored in both hence why you can get a mismatch and have to select the correct one if for example you change the RDW

  • javaman
    Reactions Received
    5
    Trophies
    4
    Posts
    309
    • April 11, 2019 at 12:15 PM
    • #19

    I want to know the RDW runtime value how to can find this value ?
    (i think is more accurate because to replace someone the RDW has less changes than modify value in hdd)
    Also where in hdd stored runtime?

  • the leg
    Reactions Received
    4
    Trophies
    4
    Posts
    643
    • April 11, 2019 at 12:30 PM
    • #20

    The values are the same and if they are not it asks you which one to use

    The runtime is not user changeable

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