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

pauses between LIN/CIRC moves

  • mikaelcecchin
  • March 21, 2023 at 8:35 PM
  • Thread is Unresolved
  • mikaelcecchin
    Trophies
    1
    Posts
    7
    • March 21, 2023 at 8:35 PM
    • #1

    Hi everyone!

    I'm new here

    I would like to fix a problem with linear and circular movements.

    This movements are generated by a software CAM (Sprutcam) and upload in Kuka robot (KR C2).

    The movements are something like this...

    ...

    LIN {X 460.459, Y -90.397, Z 208.034, A -37.354, B 50.352, C -134.015} C_DIS

    CIRC {X 461.292, Y -88.808, Z 201.706, A -37.354, B 50.352, C -134.015},{X 461.958, Y -85.961, Z 195.815, A -37.354, B 50.352, C -134.015} C_DIS

    CIRC {X 460.714, Y -82.636, Z 194.563, A -37.354, B 50.352, C -134.015},{X 458.72, Y -81.113, Z 197.37, A -37.354, B 50.352, C -134.015} C_DIS

    LIN {X 458.657, Y -81.243, Z 197.598, A -37.354, B 50.352, C -134.015} C_DIS

    ...

    But between movements we can see little pouses and decelerations.

    In link below you can see what happens

    https://drive.google.com/file/d/1TD6-vg_SWIYfV65N3cdkqu4vXQTxwIRv/view?usp=share_link

    Someone can help me please?

    Thank you

  • kwakisaki March 21, 2023 at 9:06 PM

    Approved the thread.
  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • March 21, 2023 at 9:13 PM
    • #2

    To me it looks like working properly

    More informations are welcome

    BTW:

    a vacuum cleaner would also be helpful. To me it looks like a big mess

  • Mentat
    Reactions Received
    61
    Trophies
    5
    Posts
    243
    • March 22, 2023 at 8:36 AM
    • #3

    Could be that $apo.Cdis is too small?

  • mikaelcecchin
    Trophies
    1
    Posts
    7
    • March 22, 2023 at 1:14 PM
    • #4

    Thank you for answer Mentat

    But if I use a large APO.CDIS I start to have imprecision in the cornes of my geometries.

  • Mentat
    Reactions Received
    61
    Trophies
    5
    Posts
    243
    • March 22, 2023 at 1:49 PM
    • #5
    Quote from mikaelcecchin

    Thank you for answer Mentat

    But if I use a large APO.CDIS I start to have imprecision in the cornes of my geometries.

    That's true.

    The only way I can think of to have smooth and precise motion is to convert those motions into splines, that is, if that Kr C2 controller supports them.

  • panic mode
    Reactions Received
    1,296
    Trophies
    11
    Posts
    13,136
    • March 22, 2023 at 2:20 PM
    • #6

    code snippet in original post only shows few motion points but skips the most important part - how and what motion parameters are initialized. what is value of $ADVANCE?

    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

  • mikaelcecchin
    Trophies
    1
    Posts
    7
    • March 22, 2023 at 3:55 PM
    • #7
    Quote from panic mode

    code snippet in original post only shows few motion points but skips the most important part - how and what motion parameters are initialized. what is value of $ADVANCE?

    thank you

    $ADVANCE is set to 5

    this is my initial parameters ...


    $VEL.CP = 1

    $VEL.ORI1 = 100

    $VEL.ORI2 = 100

    $ACC.CP = 1

    $ACC.ORI1 = 100

    $ACC.ORI2 = 100

    $ADVANCE = 5

    $APO.CDIS = 1

    $ORI_TYPE = #VAR

    $TOOL = {X 432.967, Y 0.558, Z 207.046, A -89.24, B 66.306, C -89.305}

    $BASE = {X 2516.382, Y 17.498, Z 1205.042, A 45.325, B -0.585, C -0.518}

    PTP {A1 0.000, A2 -140.000, A3 90.000, A4 0.000, A5 50.000, A6 0.000}

    PTP {A1 -0.343, A2 -106.973, A3 105.049, A4 -15.628, A5 75.600, A6 136.874}

    $VEL.CP = 0.5

    LIN {X -560.396, Y 284.76, Z 346.441, A 0, B -88.205, C 90} C_DIS

    LIN {X -560.396, Y 250, Z 346.441, A 0, B -88.205, C 90} C_DIS

    LIN {X -560.396, Y 150, Z 346.441, A 0, B -88.205, C 90} C_DIS

    LIN {X -560.062, Y 150, Z 346.161, A 0, B -88.199, C 90} C_DIS

    CIRC {X -559.52, Y 150, Z 340.535, A 0, B -87.979, C 90},{X -553.894, Y 150, Z 341.077, A 0, B -88.093, C 90} C_DIS

    CIRC {X -554.436, Y 150, Z 346.703, A 0, B -88.312, C 90},{X -560.062, Y 150, Z 346.161, A 0, B -88.199, C 90} C_DIS

    LIN {X -558.133, Y 150.1, Z 348.655, A 0, B -88.332, C 90} C_DIS

    ...

  • panic mode
    Reactions Received
    1,296
    Trophies
    11
    Posts
    13,136
    • March 22, 2023 at 4:35 PM
    • #8

    increase this value

    $APO.CDIS = 1

    don't be afraid to make it generous - motion planner will automatically reduce actually used approximation distance when points are close.

    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

  • mikaelcecchin
    Trophies
    1
    Posts
    7
    • March 22, 2023 at 6:03 PM
    • #9
    Quote from panic mode

    increase this value

    $APO.CDIS = 1

    don't be afraid to make it generous - motion planner will automatically reduce actually used approximation distance when points are close.

    Thanks for help but if i increase this value i have problems with some geometries like a simple square when i have to keep the sharp corners for example.

    There is some parameter that I can control the deceleration between LIN/CIRC movements?

    In advantage, I have doubts about the ACC.CP parameter.

    I noticed that we can adjust between 1 and 10, but I don't understand how it actually works :frowning_face:

    Maybe this parameter is related to my problem.

  • panic mode
    Reactions Received
    1,296
    Trophies
    11
    Posts
    13,136
    • March 22, 2023 at 6:56 PM
    • #10

    you cannot bend the laws of nature. robot cannot change direction instantly without decelerating or stopping. so when well defined corners are needed, approximation is not going to work there.

    $ACC.CP is a system variable. it is documented - read the system variable manual.

    its value is not limited to integers in range 1-10. this is a REAL and values 0-10 are possible, such as 0.0125 m/s2 or 9.75 m/s2

    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
    Leon
    Reactions Received
    35
    Trophies
    5
    Posts
    473
    • March 23, 2023 at 12:27 PM
    • #11

    If it helps, you can also use C_VEL instead of C_DIS. C_DIS sets smoothing at a certain distance of the point. C_VEL try's to keep a certain speed through a point.

    This is not a miracle worker, like Panic mode said you can not bend the laws of nature. but during some milling operations i find it easier to use. C_DIS I only use when i need a specific radius.

    Every problem has a solution, that isn't the problem. The problem is the solution.

  • mikaelcecchin
    Trophies
    1
    Posts
    7
    • March 23, 2023 at 3:34 PM
    • #12
    Quote from Leon

    If it helps, you can also use C_VEL instead of C_DIS. C_DIS sets smoothing at a certain distance of the point. C_VEL try's to keep a certain speed through a point.

    This is not a miracle worker, like Panic mode said you can not bend the laws of nature. but during some milling operations i find it easier to use. C_DIS I only use when i need a specific radius.

    Hmmmm, it sound good Leon.

    I'll try this and if it works well I'll let you know.

    Thank you very much!!!

  • mikaelcecchin
    Trophies
    1
    Posts
    7
    • April 27, 2023 at 7:52 PM
    • #13

    Hi everyone

    I would like to report the results of my tests change parameter APO.CDIS and C_DIS per APO.CVEL and C_VEL.

    The moves are much more smooth and the pouses between movements almost disappeared.

    Thank you so much Leon, it really helped me

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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