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

Motion Stops Between Points

  • Joan Mifsud
  • October 31, 2024 at 8:23 AM
  • Thread is Resolved
  • Joan Mifsud
    Reactions Received
    1
    Trophies
    3
    Posts
    12
    • October 31, 2024 at 8:23 AM
    • #1

    Good morning, I'm programming a KUKA kr 470-2 PA e¡with KR C5 and KSS 8.7.6.

    I see stops between points when I trigger some programs. I use trigger when distance = 1 or when path = -200 depending on ptp or lin.

    The programs have no INIT. If I activate a signal or have waits I have a Continue on the previous line. I tried to set the conditions of the waits to true with the plc before evaluating them. $APO.CDIS=200 $ADVANCE=3. I activated $STOPNOAPROX to true in automatic and I don't see any change in the flow nor messages.

    Few experience programming Kuka but research done, so any advice will be well received. Thanks.

  • Go to Best Answer
  • Fubini
    Reactions Received
    278
    Trophies
    9
    Posts
    1,886
    • October 31, 2024 at 8:38 AM
    • #2
    Quote from Joan Mifsud

    I activated $STOPNOAPROX to true in automatic

    So no advance run problem. Otherwise the robot would have stopped.

    Since you did not share your program everything here is guess work:
    My guess with your geometry and programmed data simply no faster velocities at some points are possible. Did you consider increasing accelerations (also for orientation)? People always tend to look at the Cartesian x,y,z path and not thinking about the orientational path a,b,c. Load data is set correct?


    Fubini

  • hermann
    Reactions Received
    406
    Trophies
    9
    Posts
    2,610
    • November 1, 2024 at 10:31 AM
    • #3

    Many times robot must stop a very short time due to direction change of one axis

  • Joan Mifsud
    Reactions Received
    1
    Trophies
    3
    Posts
    12
    • November 1, 2024 at 4:11 PM
    • #4

    There is no direction nor orientation change, as it is a palletizing application where the robot travels to the access point (axis defined) then it lowers its position changing only z coord (but also axis defined also ptp, where the triggers are thrown and I see the stop : point P_ACCESS_PICK_AXIS ) and if permissions are ok it continues lowering to pick position by changing only z coordinate but since there LIN.

    Pick and place program:

    Code
    DEF PICK_AND_PLACE ()
    
          ; Interrupts 
          INTERRUPT DECL 1 WHEN $CYCFLAG[1] DO GET_HEIGHT()
          INTERRUPT DECL 3 WHEN $CYCFLAG[3] DO GET_HEIGHT()
          WATCH(#W_OFF,1)
          WATCH(#W_OFF,3)
          SET_LIN_VEL(FAST_VEL)
          $APO.CDIS = CONTOUR       
          
          ; Tool config    
          TOOL(#POS_SPACER_PICK) ; Start the sequence to postion the spacer at target postion and continue executing the program          
       
       ;----------------------------------------------------------------------------------
       ;PICK 
       ; Compute trajectory points
       P_ENT_PICK_CART = Set_Point_Z(P_ACCESS_PICK_CART,PickEntryPointCoordZ)
       P_PICK_CART = Set_Point_Z(P_ACCESS_PICK_CART,PickOffset_Z)
       
    
       BAS(#BASE,SOURCE_BASE) ;Frame Id of Table 
       PTP P_ACCESS_PICK_AUX_AXIS C_DIS    
       
       ; Check if the spacer its at the requested position ; 28/10/2024 cambiado de acccion directa a trigger 
       TRIGGER WHEN DISTANCE = 1 DELAY = 0 DO TOOL(#CHK_SPACER_POS_OK) PRIO =-1 
    
       ; Wait for permission to enter 
       TRIGGER WHEN DISTANCE = 1  DELAY = 0 DO ROBOT(#CHK_ACCESS_PERM,SOURCE_BASE) PRIO =-1  
      
       PTP P_ACCESS_PICK_AXIS C_DIS 
       TRIGGER WHEN PATH = 60 ONSTART DELAY = 0 DO ROBOT(#BLOCK_ZONE,SOURCE_BASE) PRIO=-1;
    
       IF I_Spacer_Test_Mode == TRUE THEN 
          $APO.CDIS = 20
          LIN P_ENT_PICK_CART ; 
          TOOL(#TEST_MODE_SPACER_POS)  
       ENDIF
          
       ;Define the collision sensivity (150% default)
       SET_TQ_VALUES (150,160,160,150,160,150)
       
    
       SET_LIN_VEL(SLOW_VEL)
       LIN P_PICK_CART  
       SET_LIN_VEL(FAST_VEL)        
       
       TOOL(#CLS) ; Close Tool 
       .
       .
       . (continues but out of scope)
    Display More

    Thanks in advance,

    Edited once, last by Joan Mifsud (November 11, 2024 at 11:28 AM).

  • Joan Mifsud
    Reactions Received
    1
    Trophies
    3
    Posts
    12
    • November 2, 2024 at 12:19 PM
    • #5
    Quote from Fubini

    Load data is set correct?

    I "guess so" - used values that mechanical department sent to me (mass, cog, intertia..) - I don't know how reliable are they as the LoadDataDetermination was not purchased.

  • Hes
    Reactions Received
    41
    Trophies
    2
    Posts
    243
    • November 2, 2024 at 5:32 PM
    • #6

    Which motions do not approximate? Some motions do not have any approximation assigned to them. I did not see the open or close tool programs, they surely interact with i/o which would stop arp unless handled.

    I have seen a few really odd cases that gave no warning and should have been approximated. But these have been ptp motions with incomplete instructions eg SPTP {A1 90, A2 120} c_spl.

    Btw trigger when path works with both SLIN & SPTP. I did not know trigger when path wotked with legacy ptp motions, maybe this has something to do with the problem you are experiencing?

    Do you have any mix of new and legacy motions that might be the culprit?

    Do you absolutely get no messages when running the program? Approximation not possible messages are suppressed in EXT, but show up in T1 & T2

  • Joan Mifsud
    Reactions Received
    1
    Trophies
    3
    Posts
    12
    • November 4, 2024 at 8:09 AM
    • #7
    Quote from Hes

    Which motions do not approximate? Some motions do not have any approximation assigned to them.

    I`m talking about PTP P_ACCESS_PICK_AXIS C_DIS (in line 30 of pick and place program), that stops instead continuing smoothly with LIN P_PICK_CART (in line 44).

    Quote from Hes

    Btw trigger when path works with both SLIN & SPTP. I did not know trigger when path wotked with legacy ptp motions, maybe this has something to do with the problem you are experiencing?

    Trigger When Path on my program is intended to work with the LIN P_PICK_CART line 44.

    Quote from Hes

    Do you have any mix of new and legacy motions that might be the culprit?

    As far as I know, they are not always intended for the same, so there shold be no probelm with using one or other in the same application, nevertheless in that part I don't use any Smotion.

    Quote from Hes

    Do you absolutely get no messages when running the program? Approximation not possible messages are suppressed in EXT, but show up in T1 & T2

    So they were suppressed, as I was executing in EXT. Didn't know about that fact. The program has routines that don't let to execute the application in T1 or T2, I can try to block them temporarly.

    Thanks,

  • Hes
    Reactions Received
    41
    Trophies
    2
    Posts
    243
    • November 4, 2024 at 12:37 PM
    • Best Answer
    • #8

    Try putting a continue before the if block on line 33. Uncertain if set_tq_values on line 40 is possible to do on the fly, i expect it would cause and advance run stop. Can you comment it out to test and verify. I believe there is a note about this in the si manual.

    Mixing new and legacy motion commands will cause an advance run stop. Sptp and ptp for example. But that is not the case here.

  • Joan Mifsud
    Reactions Received
    1
    Trophies
    3
    Posts
    12
    • November 4, 2024 at 4:27 PM
    • #9
    Quote from Hes

    Try putting a continue before the if block on line 33. Uncertain if set_tq_values on line 40 is possible to do on the fly, i expect it would cause and advance run stop. Can you comment it out to test and verify.

    Done both and problem solved! Thanks a lot, I will individualize the actions done to know which was the culprit when the the production stops. Then I will comment on here.

  • Joan Mifsud November 4, 2024 at 4:32 PM

    Selected a post as the best answer.
  • Joan Mifsud
    Reactions Received
    1
    Trophies
    3
    Posts
    12
    • November 11, 2024 at 11:35 AM
    • #10

    Checked and it was the setting of torque values for the collision detection. SET_TQ_VALUES() causes ARP to stop. As I noticed during this test, the update of that values can only be done when robot stop its motions.

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 run slow

    • Evan94
    • August 9, 2023 at 1:10 PM
    • KUKA Robot Forum
  • Tool rotation in movel bugged?

    • aknezevi.proton
    • May 17, 2023 at 2:42 PM
    • Stäubli & Bosch Robot Forum
  • Programing interrupt

    • hossein fallah
    • May 23, 2023 at 12:37 PM
    • KUKA Robot Forum
  • Interpolation cycle timeout when moving E1

    • mudanda
    • May 6, 2023 at 6:58 PM
    • KUKA Robot Forum
  • PTP and SPTP difference

    • Andres
    • December 7, 2021 at 1:40 AM
    • KUKA Robot Forum
  • Linear velocity reduction

    • Vlad222
    • December 19, 2022 at 12:51 PM
    • Fanuc Robot Forum
  • Precise continuous movement for laser cutting

    • bokodimate
    • September 15, 2022 at 10:24 AM
    • Fanuc Robot Forum
  • KUKA Not moving!

    • Maverick
    • June 13, 2022 at 6:06 PM
    • KUKA Robot Forum
  • LIN motion Velocity Profile with Approximation

    • Ardeshir Talaei
    • July 6, 2021 at 4:07 PM
    • KUKA Robot Forum
  • SPTP_REL problem

    • ALUCAST
    • January 26, 2021 at 11:27 AM
    • KUKA Robot Forum

Tags

  • KUKA
  • motion
  • trigger
  • krc5
  • KSS8.7
  • $STOPNOAPROX
  • $advance
  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