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

Robot speed monitoring

  • AD3MIN
  • July 31, 2023 at 4:11 PM
  • Thread is Resolved
  • AD3MIN
    Trophies
    1
    Posts
    57
    • July 31, 2023 at 4:11 PM
    • #1

    Hi all,

    I have KUKA KRC2 with Version V5.5.16.

    Inverters (variable frequency drive) - Hitachi makes

    We are trying to achieve a simultaneous speed change between the robot and the inverter.

    Condition:

    A Rockwell PLC is used to control the process using a KUKA robot and 3 inverters. Considering we are increasing the override speed from 30% to 50% in the robot, we need this change to increase the speed of inverters proportionally and simultaneously.

    Alternatively, is it possible to use the PLC to control and alter the robot's speed, i.e., to alter the robot's speed concurrently by increasing the inverter speed?

    Is this a condition that can be attained? Which one, if any, would be a wise decision?

    Please offer your thoughts and recommendations.

    cheers .:beerchug:

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • July 31, 2023 at 5:52 PM
    • Best Answer
    • #2

    if i understand correctly, PLC controls three Hitachi drives and at the same time it is connected to KRC.

    you wish to make adjustments of the robot speed override and want PLC to know the value of the override so that it can do the same speed correction with the Hitachi drives.

    to do that, map override to robot outputs that PLC can read, then do whatever you need in the PLC end.

    the override range is 0-100 so 7bit would be sufficient (for example outputs 151-157 if they are free to use and in range that PLC can read).

    so in the KRC\R1\$CONFIG.DAT declare signal

    Code
    SIGNAL OV_TO_PLC $OUT[151] TO $OUT[157] 

    and in Submit program (KRC\R1\SPS.SUB), in the user fold (inside LOOP/ENDLOOP) add line such as

    Code
    OV_TO_PLC = $OV_PRO

    on the PLC side do the same but the other way - copy value of those 7 PLC inputs into a variable and use it any way you like (scale it etc.).

    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

  • AD3MIN
    Trophies
    1
    Posts
    57
    • August 1, 2023 at 3:15 PM
    • #3

    Thanks Panic mode for the detailed reply.

    Quote

    map override to robot outputs that PLC can read, then do whatever you need in the PLC end.

    the override range is 0-100 so 7bit would be sufficient (for example outputs 151-157 if they are free to use and in range that PLC can read).

    I followed the steps you provided and successfully mapped the override to robot output.

    I got another thought that,

    Is it possible to change and control the speed of the robot using the plc ? ( just the opposite of what we have discussed )

    ie,

    I wish to make adjustments to the Hitachi drives using PLC and want robot to know the value of the speed changed so that it can do the same speed correction.

    Please share your thoughts

    cheers

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • August 1, 2023 at 9:57 PM
    • #4

    Sure .. pretty much the same thing, just in reverse.

    Scale velocity of drives to 0-100 percent and copy the result to PLC outputs that robot can read. On the robot side declare suitable signal with correct range of inputs. In the submit, copy received value from that signal to suitable variable like $OV_PRO. Personally i am really really not fan of that. User should always be able to reduce speed... Of course there is always an e-stop but that is too brute imho

    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

  • AD3MIN
    Trophies
    1
    Posts
    57
    • August 2, 2023 at 5:52 PM
    • #5

    Thanks Panic mode for the valuable feedback.

    Quote

    Personally i am really really not fan of that. User should always be able to reduce speed

    I understood the safety issue due to that. I just asked out of my curiosity and I tried reversing the commands as you said. It works fine.

    Thanks again and have a great day.

  • LamNguyen
    Reactions Received
    1
    Trophies
    2
    Posts
    38
    • October 11, 2023 at 2:30 AM
    • #6
    Quote from panic mode

    if i understand correctly, PLC controls three Hitachi drives and at the same time it is connected to KRC.

    you wish to make adjustments of the robot speed override and want PLC to know the value of the override so that it can do the same speed correction with the Hitachi drives.

    to do that, map override to robot outputs that PLC can read, then do whatever you need in the PLC end.

    the override range is 0-100 so 7bit would be sufficient (for example outputs 151-157 if they are free to use and in range that PLC can read).

    so in the KRC\R1\$CONFIG.DAT declare signal

    Code
    SIGNAL OV_TO_PLC $OUT[151] TO $OUT[157] 

    and in KRC\R1\SUBMIT.SUB, in the user fold (inside LOOP/ENDLOOP) add line such as

    Code
    OV_TO_PLC = $OV_PRO

    on the PLC side do the same but the other way - copy value of those 7 PLC inputs into a variable and use it any way you like (scale it etc.).

    Display More

    So sorry I cant find the link "KRC\R1\SUBMIT.SUB"

    I check the program and in KRC\R1\System\$CONFIG.DAT, i see that the declare

    INT DEF_OV_PRO=100

    SIGNAL go_297_Override $OUT[297]  TO $OUT[303]

    And in KRC\R1\System\sps.sub like the picture

    Robot not output the Speed Override via Output

    go_297_Override

    Pleae help!

    Thanks

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • October 11, 2023 at 4:53 AM
    • #7

    That was typo.

    Should be:

    .... and in Submit program (KRC\R1\SPS.SUB), in the user fold (inside LOOP/ENDLOOP) add line such as

    Code

    Code
    OV_TO_PLC = $OV_PRO

    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
    407
    Trophies
    9
    Posts
    2,612
    • October 11, 2023 at 8:47 AM
    • #8

    You must write the line

    Code
    go_297_override =... 

    Outside of the

    Code
    If not $T1...
    ENDIF

    Otherwise it is updated only when override is higher than your default override.

  • LamNguyen
    Reactions Received
    1
    Trophies
    2
    Posts
    38
    • October 12, 2023 at 4:08 PM
    • #9
    Quote from hermann

    You must write the line

    Code
    go_297_override =... 

    Outside of the

    Code
    If not $T1...
    ENDIF

    Otherwise it is updated only when override is higher than your default override.

    Thanks bro! Let's me try

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

  • KUKA KRC4 and X11

    • NoobAtWork
    • February 11, 2020 at 3:15 PM
    • KUKA Robot Forum
  • TO find robot speed in VAL3

    • Rahulsajeev0909
    • March 14, 2022 at 9:14 AM
    • Stäubli & Bosch Robot Forum
  • Kuka SafeOperation 3.5

    • SBDP_4.0
    • January 10, 2022 at 1:49 PM
    • KUKA Robot Forum
  • interpreting trace values in wov

    • Serpantinas
    • March 17, 2021 at 4:28 PM
    • KUKA Robot Forum
  • SafeMove2 speed limit

    • egor
    • July 16, 2020 at 11:13 AM
    • ABB Robot Forum
  • synchronize motion

    • Robotmei
    • May 29, 2020 at 1:23 PM
    • ABB Robot Forum
  • Fanuc Override adjust

    • jariuscs
    • August 5, 2019 at 11:52 PM
    • Fanuc Robot Forum
  • Changing the robot speed on the fly, mid-movement

    • buontempone
    • July 24, 2019 at 6:01 PM
    • Kawasaki Robot Forum

Users Viewing This Thread

  • 1 Guest
  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