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

Kuka LIN Motion Dynamic Speed

  • Mahmut ERKEN
  • June 28, 2021 at 3:19 PM
  • Thread is Unresolved
  • Mahmut ERKEN
    Reactions Received
    1
    Trophies
    2
    Posts
    17
    • June 28, 2021 at 3:19 PM
    • #1

    Hello everyone,

    I have used to LIN Motion for going to Z 600 to Z 0 . My ordinary speed is 2 m/s .

    For example, When the robot goes to Z 0 point and it reaches Z 300 , Can I update my speed dynamically 0.2 m/s without stopping the LIN command?

    If not done, how can I do this ?

    In brief, Can LIN Movement's speed be changed on the fly in transition without $OV_PRO ?

    Thanks.

    Edited once, last by Mahmut ERKEN (June 28, 2021 at 3:32 PM).

  • Online
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,431
    • June 28, 2021 at 4:19 PM
    • #2

    Not in KRL. Once a motion command has been loaded into the motion planner, it's values (endpoint, speed, accel, etc) cannot be changed.

    Without controlling $OV_PRO from the SPS, or installing RSI and using superposed motion, your options are:

    1. Use an Interrupt with RESUME to terminate the active motion and start a new motion to the same endpoint with a lower speed. Will cause a stop&go, however -- it won't work on the fly.

    2. Create a subroutine that divides the entire motion into a series of continuous small motions, and adjusts the VEL parameter on the fly.

    Code
    DECL FRAME _fShiftFrame
    DECL E6POS _pStartPos
    ....
    _pStartPos = $POS_ACT_MES
    FOR _nI = 0 TO 600
      _fShiftFrame = $NULLFRAME
      _fShiftFrame.Z = _nI
      IF $IN[1] THEN
        $VEL.CP = 0.2
      ELSE
       $VEL.CP = 2.0
      ENDIF
      LIN _pStartPos : _fShiftFrame C_DIS
    ENDFOR
    Display More

    Due to the Advance Run Pointer, this approach will always have some "lag" between the Input and the speed change. The steps need to be small enough to minimize this, but still large enough that the path planner doesn't have issues approximating between them. That size needs to be worked out experimentally.

  • Mahmut ERKEN
    Reactions Received
    1
    Trophies
    2
    Posts
    17
    • June 28, 2021 at 4:34 PM
    • #3

    Thanks for reply SkyeFire .

    If I assign my speed value to a variable and I change this value via using this variable , still not ?

    For example, my LIN Motion Speed is iMySpeedValue.

    IF $IN[255] THEN

    iMySpeedValue = 2

    ELSE

    iMySpeedValue = 0.2

    ENDIF

    Does not work ?

  • panic mode
    Reactions Received
    1,281
    Trophies
    11
    Posts
    13,091
    • June 28, 2021 at 4:48 PM
    • #4

    motion planner needs to know ALL motion settings BEFORE initiating motion.

    if you do what SkyeFire proposed, you would need to generate set of short LIN segments and use approximation.

    but this also means you need get familiar with advance run. that IF statement is reading an input so that would cause advance run stop.

    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

  • Online
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,431
    • June 28, 2021 at 7:07 PM
    • #5
    Quote from panic mode

    but this also means you need get familiar with advance run. that IF statement is reading an input so that would cause advance run stop.

    I knew I was forgetting something! Yes, the Input check would need to have a CONTINUE or be part of a TRIGGER command.

    Quote from Mahmut ERKEN

    If I assign my speed value to a variable and I change this value via using this variable , still not ?

    Doesn't make any difference. Whether you're assigning it to a numeric value, or a variable, the path planning and look-ahead still work the same.

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

  • Linear 2-axis XY system configuration in Catalog Editor

    • Turugor
    • May 5, 2021 at 9:30 PM
    • KUKA Robot Forum
  • Tracing a circular path with variable speed

    • Anirudh
    • June 24, 2021 at 11:44 AM
    • KUKA Robot Forum
  • how to skip KRL and send command to motors directly

    • ArthurWong
    • April 20, 2021 at 12:07 AM
    • KUKA Robot Forum
  • LOAD DETERMINATION AND KUKA.LOAD IN KUKA ROBOT

    • Counterspeller
    • May 14, 2020 at 1:52 PM
    • KUKA Robot Forum
  • KUKA KR10 R1100 Dynamic Limits

    • Hariharan
    • December 15, 2018 at 1:36 AM
    • KUKA Robot Forum
  • Kuka Acceleration setting and values

    • callumq
    • April 19, 2018 at 4:23 PM
    • KUKA Robot Forum

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