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

Approximation between LIN and PTP

  • anthonyk123
  • May 4, 2022 at 7:41 PM
  • Thread is Unresolved
  • anthonyk123
    Trophies
    3
    Posts
    13
    • May 4, 2022 at 7:41 PM
    • #1

    Hello guys,

    I am trying to do a continuous movement between a linear and PTP movements, however, I am noticing that the motion of the robot is not completely continuous. The robot is decelerating at the end of the LIN movement and barely stopping before continuing the PTP movement. I tried to do some troubleshooting, by enabling the $STOPNOAPROX to true but there's no sign of not doing an approximation. Here is part of the code that include the LIN and PTP movement:

    Code
    LIN temp_pos6 C_DIS; to try ptp
    ;Waiting Zone Free
    CONTINUE
    WAIT FOR $IN[194]
    PTP DPoint[LayerIndexAMD_01_NOROT, PickIndexAMD_01_NOROT, 6] C_PTP

    The $advance run is 5 and I am able to do an approximation between 2 PTP however it is not working well between LIN-PTP movement. In addition to that, C_PTP and C_DIS approximation values are equal to 100 for both.

    Could someone give me more tips on what can be the cause of not doing a continuous movement?

    Thank you for your support.

    Best regards,

  • dudz
    Reactions Received
    13
    Trophies
    2
    Posts
    74
    • May 4, 2022 at 7:52 PM
    • #2

    The "wait for $IN[194]" before the PTP could be a problem.

    Try put "WAIT FOR $IN[194] CONT

  • Fubini
    Reactions Received
    283
    Trophies
    9
    Posts
    1,904
    • May 4, 2022 at 8:12 PM
    • #3

    If stopnoaprox is showing nothing you are definitely blending only maybe with a very low velocity looking nearly as if robot stopps.

    You are aware that c_ptp is a percentage value referring to an axis angle and c_dis a cartesian distance value. Hence like this the blending area might be very assymetric. Does it get better when using c_dis on both sides by using lin ... c_dis c_dis. Also in mixed blending it's always a bit difficult if accelerations on both sides are very different. Therfore it often helps a bit playing around with accelerations on lin and/ or ptp side.

    Fubini

  • anthonyk123
    Trophies
    3
    Posts
    13
    • May 4, 2022 at 9:32 PM
    • #4
    Quote from Fubini

    If stopnoaprox is showing nothing you are definitely blending only maybe with a very low velocity looking nearly as if robot stopps.

    You are aware that c_ptp is a percentage value referring to an axis angle and c_dis a cartesian distance value. Hence like this the blending area might be very assymetric. Does it get better when using c_dis on both sides by using lin ... c_dis c_dis. Also in mixed blending it's always a bit difficult if accelerations on both sides are very different. Therfore it often helps a bit playing around with accelerations on lin and/ or ptp side.

    Fubini

    Hello Fubini,

    Yes I tried c_dis c_dis next to LIN instruction and didn't work. The acceleration for both sides is equal to100. Do you suggest to change one of the accelerations?

  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • May 5, 2022 at 8:20 PM
    • #5
    Quote from dudz

    The "wait for $IN[194]" before the PTP could be a problem.

    Try put "WAIT FOR $IN[194] CONT

    No, that's not correct KRL syntax. He has the CONTINUE command precedding the WAIT, which causes the WAIT to be evaluated $ADVANCE moves ahead and prevents the WAIT from breaking the advance run pointer.

    Quote from anthonyk123

    Hello Fubini,

    Yes I tried c_dis c_dis next to LIN instruction and didn't work. The acceleration for both sides is equal to100. Do you suggest to change one of the accelerations?

    Approximation, not acceleration.

    Quote from anthonyk123

    C_PTP and C_DIS approximation values are equal to 100 for both.

    What does this mean? C_PTP and C_DIS are command suffixes, not values. Which variables have you set the approximations in?

    If you've set the linear approximation value to 100, then it's only 100mm. You can set the approximation distance to anything up to 50% of the distance between the two points.

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

Tags

  • KUKA
  • PTP MOVE
  • linear motion
  • approximation
  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