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

CIRC motion is not getting faster than T1 speeds

  • Koppel
  • November 6, 2020 at 2:02 PM
  • Thread is Unresolved
  • Koppel
    Reactions Received
    19
    Trophies
    3
    Posts
    132
    • November 6, 2020 at 2:02 PM
    • #1

    Hi,

    What is the limiting factor if I cannot get the CIRC motion (probably LIN aswell) to be faster than seemingly T1 speeds.


    At the beginning of my program I have.

    BAS (#INITMOV, 0)

    SPTP xHOME

    BAS (#VEL_PTP, 20)

    BAS (#ACC_PTP,10)

    BAS (#VEL_CP,1)

    VAS (#ACC_CP,1)

    Playing with the VEL_CP and ACC_CP values makes a difference but it seems to hit a limit... It will not go faster... I can set VEL_CP to be 10m/s (36 kmh) and ACC_CP to 2 m/s^2...
    The thing should go like a rocket... but its still super slow.
    All the PTP motions react to VEL_PTP and ACC_PTP changes as expected.


    What are the hidden limiting factors here?

  • Go to Best Answer
  • Fubini
    Reactions Received
    271
    Trophies
    9
    Posts
    1,871
    • November 6, 2020 at 2:31 PM
    • #2

    What CIRC? Spline, non spline?

    Checked Safety configuration?

    SPLINE does not look for Cartesian limitations (apart velocity) but on axis acceleration.

    Re: Acceleration and Velocity for CP and PTP

  • hermann
    Reactions Received
    404
    Trophies
    9
    Posts
    2,595
    • November 6, 2020 at 2:41 PM
    • #3

    There are many possibilities, you should provide more informations about your system: versions, options, see READ FIRST...

    For example, if you have safe operation there is an input that limits the speed.

  • Koppel
    Reactions Received
    19
    Trophies
    3
    Posts
    132
    • November 6, 2020 at 3:22 PM
    • #4

    I do not have SafeOperation.


    The same limitation applied for SPLINES... (SLIN) faster than 1m/s seems impossible... I can increase the value but the speed does not increase.

    I use an Agilus 2 KR10 R1100 robot with a KRC4 compact controller.

    Is there perhaps a limit for the ability of the Controller / Encoders... that cannot assure a perfectly linear or circular motion if the speed is increased.
    The robot has to move all of its 6-axes in degrees... and the sum of them all must assure the linearity of the tool center point. Not a simple task at all.

  • panic mode
    Reactions Received
    1,264
    Trophies
    11
    Posts
    13,031
    • November 6, 2020 at 3:44 PM
    • #5

    replace

    VAS (#ACC_CP,1)

    with

    BAS (#ACC_CP,100)

    it is not VAS, it is BAS, and unit here is % and not m/sec2 so value you specified is only 1%, not 1m/sec2.

    if you are going to use BAS() make sure to read it. or at least test it. every single instruction or line of code you plan on using always need to be tested independently to become familiar and you find about any side effects or unexpected behavior early... only then you should consider using it... (when programming, don't assume anything). this also means trying wide range of values for parameters ( including invalid values... like: -7492.8). if you don't test it sufficiently, you will find out eventually but... by then it may be too late or very expensive.

    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 6, 2020 at 4:01 PM
    • #6
    Quote from Koppel

    ... The robot has to move all of its 6-axes in degrees... and the sum of them all must assure the linearity of the tool center point. Not a simple task at all.

    This is the normal "work" a robot has to do. That is a essential ability of robots, nothing special.

    Of course there are physical limitations like maximal acceleration and speed but the robot should be able to make circles and linear motions faster than in T1.

    Now you say that you don't get the robot faster than 1m/s, That speed will not be possible in T1, Think this movement is slower in T1 than in AUT?

    You have to note the accelerations that are needed to reach the 1 m/s. The robot is a small one, so he has not much time to accelerate, until he has to decelerate for reaching the endpoint. For me the 1 m/s seems to be ok: in the datasheet there are given 140 cycles/minute for a movement 25mm up 305mm horizontal and 25mm down. This results in a speed of 0.8 m/s.

    There are some special limitations if the robot has to move through his singularity f.e.: when axis 4 and 6 are near a straight line. This limits the velocity very strong.

  • Koppel
    Reactions Received
    19
    Trophies
    3
    Posts
    132
    • November 6, 2020 at 4:21 PM
    • #7

    I don't think you guys are getting what I try to communicate.
    I will make a better attempt.

    BAS (#VEL_CP,0.1)

    BAS (#ACC_CP,1)

    RESULT: Robot is moving slowly

    BAS (#VEL_CP,0.5)

    BAS (#ACC_CP,1)

    RESULT: Robot is moving faster than before

    BAS (#VEL_CP,1)

    BAS (#ACC_CP,1)

    RESULT: Robot is moving faster than before

    BAS (#VEL_CP,2)

    BAS (#ACC_CP,2)

    RESULT: Robot is not moving faster than before

    BAS (#VEL_CP,20)

    BAS (#ACC_CP,20)

    RESULT: Robot is not moving faster than before

    So changing the values work... but it seems to hit a limit. There seems to be a difference between BAS (#VEL_CP,1) and BAS (#VEL_CP,2) but I am not sure.

    There definitely is no difference between BAS (#VEL_CP,2) and BAS (#VEL_CP,20) even If I increase the acceleration aswell...

    The question is... What could possibly limit this that I am not aware of? It was not the acceleration. I started doubling both the speed and the acceleration with no apparent effects. I increased the length of the linear trajectory to give the robot more time to accelerate... still no difference.

  • Fubini
    Reactions Received
    271
    Trophies
    9
    Posts
    1,871
    • November 6, 2020 at 4:25 PM
    • #8

    Def_vel_cp in $config.dat. Looking in Bas.src should reveal this. Def_acc_cp for acceleration, ...

    Also $acc_ma and $vel_ma are limitations in machine data. You should not change these without consulting KUKA.

  • Koppel
    Reactions Received
    19
    Trophies
    3
    Posts
    132
    • November 6, 2020 at 4:37 PM
    • #9

    Hi...

    In the $CONFIG.DAT file:

    • DEF_VEL_CP=2.0 [m/sec]
    • DEF_ACC_CP=2.3 [m/sec^2]

    These must be the default values from the factory.

    Can we conclude that this was my limiting factor and no matter what I set with BAS (#VEL_CP, ????? ) it will not go higher than the limit set in config.dat?

    Thank you Fubini !

  • Fubini
    Reactions Received
    271
    Trophies
    9
    Posts
    1,871
    • November 6, 2020 at 4:39 PM
    • #10

    Probably. Open bas.src and look for yourself. It is only plain KRL in there so it should be readable for you. If you set bas.src visible and use incremental step you can step through it and look up what's happening.

    Might also be you reach maximal orientation velocities or accelerations. It is totally analog to my previous comment.

    What happens when you directly set $vel.cp and $acc.cp? That is not using bas.src.

  • hermann
    Reactions Received
    404
    Trophies
    9
    Posts
    2,595
    • November 6, 2020 at 4:44 PM
    • #11
    Quote from Koppel

    BAS (#VEL_CP,1)

    BAS (#ACC_CP,1)

    RESULT: Robot is moving faster than before


    BAS (#VEL_CP,2)

    BAS (#ACC_CP,2)

    RESULT: Robot is not moving faster than before

    Display More

    Both values are lower than the limits DEF_VEL_CP and DEF_ACC_CP, so this is not a problem.

    Quote from Koppel

    I increased the length of the linear trajectory to give the robot more time to accelerate.

    How long is your trajectory? Increasing says nothing in this context.

  • panic mode
    Reactions Received
    1,264
    Trophies
    11
    Posts
    13,031
    • November 6, 2020 at 5:46 PM
    • #12

    it went from 0.5mm to 0.75mm

    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

  • panic mode
    Reactions Received
    1,264
    Trophies
    11
    Posts
    13,031
    • November 6, 2020 at 6:09 PM
    • Best Answer
    • #13
    Quote from Koppel

    I don't think you guys are getting what I try to communicate.

    that is correct, you still did not explain how you are testing it:

    1. what is the operating mode?

    2. what is the override setting?

    3. what are the points?

    4. are you having problem with your code only or the issue is present even if you create new program and use standard inline form motions?

    etc.

    this is why you were asked to check READ FIRST and share the details that are relevant.

    Code
    I will make a better attempt.
    
    BAS (#VEL_CP,0.1) ; 0.1% of 2m/s^2 is only 0.002 m/s^2, but you want 1000x more (2m/s^2)
    BAS (#ACC_CP,1)
    RESULT: Robot is moving slowly
    
    ;....
    
    BAS (#VEL_CP,20)
    BAS (#ACC_CP,20)

    that is not better at all...

    you still did not do one thing i told you to try - set CP acceleration at 100%.

    and you are not changing ONE thing, you keep making changes to multiple settings (both speed and acceleration) and try to corelate results from only 4 tests? should we guess how is that working out? that can work if you have lots of measurements and if you know how to process results.

    if you want to test something, try changing one thing and change it in different increments (big and small).

    but you did try changing CP velocity to 20... this parameter is not in percent, it is in m/s so values exceeding max will trimmed it down to 2-2.3m/s.

    in fact KUKA made it confusing here:

    BAS(#VEL_PTP, 100) ; unit is % - just like $VEL_AX[]

    BAS(#ACC_PTP, 100) ; unit is % - just like $ACC_AX[]

    BAS(#VEL_CP, 2.0) ; unit is m/s - just like $VEL.CP

    BAS(#ACC_CP, 100) ; unit is % - unlike $ACC.CP which is in m/s2

    do you now see the point about making changes to one thing only when trying to see how it behaves through experiments?

    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

  • Koppel
    Reactions Received
    19
    Trophies
    3
    Posts
    132
    • November 6, 2020 at 9:23 PM
    • #14

    Most of my confusion came from mixing up the units.... % and m/s2 like panic mode pointed out.

    Quote from panic mode

    BAS(#ACC_CP, 100) ; unit is % - unlike $ACC.CP which is in m/s2

    I was absolutely sure that I was dealing with m/s2 ... and bumping up the numbers was such a small change that I perceived nothing.

    I tried CIRC, SLIN, LIN ... everything seemed to not get faster than some limit.

    Ok. I made a little speed test with timers. Code below.

    Basically a linear race for 1600mm... Y -800 to Y 800... back-and-forth with three speeds.

    1m/s = 2148 ms

    2m/s = 1788 ms

    3m/s = 1788 ms

    We can clearly see that the speed limit in CONFIG.DAT (2 m/s) is kicking in - a limit that I was not aware of before and am happy to have learned about.

    And even with 50% acceleration the results are almost the same:

    1m/s = 2580 ms

    2m/s = 2472 ms

    3m/s = 2472 ms

    And that was at a 1600mm track. Easy to make the conclusion that changing the speed numbers made no difference. And also changing the acceleration at very low values made no noticeable difference.

    Once again... Thank you "panic mode" for pointing out my noob mistake.


    Code
    DEF LIN_SpeedTest( )
    
      BAS (#INITMOV,0 )
    
    SPTP xHOME
    BAS (#VEL_PTP, 20)
    BAS (#ACC_PTP, 10)
    BAS (#VEL_CP,1)
    BAS (#ACC_CP,100)
    $ADVANCE = 0
    $TIMER[1]=0
    $TIMER[2]=0
    $TIMER[3]=0
    
    PTP {X 400, Y 800, Z 200, A 0, B 0, C -180}
    BAS (#VEL_CP,1)
    $TIMER_STOP[1]=FALSE
    LIN {X 400, Y -800, Z 200, A 0, B 0, C -180}
    $TIMER_STOP[1]=TRUE
    
    BAS (#VEL_CP,2)
    $TIMER_STOP[2]=FALSE
    LIN {X 400, Y 800, Z 200, A 0, B 0, C -180}
    $TIMER_STOP[2]=TRUE
    
    BAS (#VEL_CP,3)
    $TIMER_STOP[3]=FALSE
    LIN {X 400, Y -800, Z 200, A 0, B 0, C -180}
    $TIMER_STOP[3]=TRUE
    
    SPTP xHOME
    END
    Display More

    Edited 2 times, last by Koppel (November 6, 2020 at 9:37 PM).

  • panic mode
    Reactions Received
    1,264
    Trophies
    11
    Posts
    13,031
    • November 6, 2020 at 9:29 PM
    • #15

    good:thumbs_up:

    units matter, NASA learned that when trying to land probe on Mars :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

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