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. Fanuc 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

Fanuc slows down on a straight line with large number of points

  • Vlad222
  • November 6, 2018 at 11:49 AM
  • Thread is Resolved
  • Vlad222
    Reactions Received
    2
    Trophies
    4
    Posts
    161
    • November 6, 2018 at 11:49 AM
    • #1

    Hi, all!

    I have 2 linear paths: with 2 points and with 100 points. Start and goal points are equal. Velocity is 800 mm/sec. Distance between start and goal - 800 mm.

    1-th path. 2 points (start and goal). Time is 1.0 - 1.1 sec. It's normal because of acceleration / deceleration.
    2-nd path. 100 points - (start and goal are the same as in previous path) + intermediate points on a straight line with const orientation. Distance between points is 800 / 100 ~= 8 mm. Time of program execution is 1.55 sec. It is 1.5 time slower. Why? 8 mm between points is not very big distance. Smoothing is CNT100.

    Fragment from program:

    Code
    ...
    
    
      46:L P[34] 800mm/sec CNT 100    ;
      47:L P[35] 800mm/sec CNT 100    ;
      48:L P[36] 800mm/sec CNT 100    ;
      49:L P[37] 800mm/sec CNT 100    ;
      50:L P[38] 800mm/sec CNT 100    ;
      51:L P[39] 800mm/sec CNT 100    ;
      52:L P[40] 800mm/sec CNT 100    ;
    
    
    ...
    
    
    P[35]{
       GP1:
    	UF : 0, UT : 1,		CONFIG : 'F U T, 0, 0, 0',
    	X =  -504.536  mm,	Y =  1505.755  mm,	Z =  1391.905  mm,
    	W =   103.564 deg,	P =   -19.290 deg,	R =   175.131 deg
    };
    P[36]{
       GP1:
    	UF : 0, UT : 1,		CONFIG : 'F U T, 0, 0, 0',
    	X =  -504.536  mm,	Y =  1504.201  mm,	Z =  1383.438  mm,
    	W =   103.564 deg,	P =   -19.290 deg,	R =   175.131 deg
    };
    P[37]{
       GP1:
    	UF : 0, UT : 1,		CONFIG : 'F U T, 0, 0, 0',
    	X =  -504.536  mm,	Y =  1503.049  mm,	Z =  1373.416  mm,
    	W =   103.564 deg,	P =   -19.291 deg,	R =   175.131 deg
    };
    P[38]{
       GP1:
    	UF : 0, UT : 1,		CONFIG : 'F U T, 0, 0, 0',
    	X =  -504.536  mm,	Y =  1501.321  mm,	Z =  1362.011  mm,
    	W =   103.564 deg,	P =   -19.291 deg,	R =   175.131 deg
    };
    P[39]{
       GP1:
    	UF : 0, UT : 1,		CONFIG : 'F U T, 0, 0, 0',
    	X =  -504.536  mm,	Y =  1499.766  mm,	Z =  1353.198  mm,
    	W =   103.564 deg,	P =   -19.291 deg,	R =   175.131 deg
    };
    
    
    ...
    Display More
  • ownagebyh4x
    Reactions Received
    2
    Trophies
    3
    Posts
    120
    • November 6, 2018 at 2:07 PM
    • #2

    Well I would assume it's because of number of calculations that CPU needs to perform during this task.

    For every point it has to calculate speed, that's possible to achieve between the points and CNT (even though it's a straight line)

  • Vlad222
    Reactions Received
    2
    Trophies
    4
    Posts
    161
    • November 6, 2018 at 3:11 PM
    • #3
    Quote from ownagebyh4x


    Well I would assume it's because of number of calculations that CPU needs to perform during this task.

    For every point it has to calculate speed, that's possible to achieve between the points and CNT (even though it's a straight line)

    It is interesting. How much time is needed for point calculation?
    Now is 8 / 800 = 0.01 sec.

  • sborchshev
    Reactions Received
    4
    Trophies
    2
    Posts
    39
    • October 3, 2024 at 7:32 PM
    • #4

    Do not think calculation is the reason of slower motion. Calculating the pass consider total distance to calculate acceleration/deceleration. With many points even with CNT100 total distance for calculation is one extra point ahead and so on. So the acceleration/deceleration curve is different and so the speed over all. My thinking...

  • Shellmer
    Reactions Received
    52
    Trophies
    5
    Posts
    161
    • October 5, 2024 at 6:32 AM
    • #5
    Quote from sborchshev

    Do not think calculation is the reason of slower motion. Calculating the pass consider total distance to calculate acceleration/deceleration. With many points even with CNT100 total distance for calculation is one extra point ahead and so on. So the acceleration/deceleration curve is different and so the speed over all. My thinking...

    I think it is more a thing of the motion planner, think about this... what would happen if you put a condition betwheen two of these points like wait DI[1]=ON while moving at 800mm/s (assuming it reached that speed) seperated 8mm each point?

    It would not be able to stop in case that input was off. If the read ahead instructions are set to 3 instructions, this will limit the processing speed as it needs to also take into account the program pointer being stopped mid motion.

    I know, someone would say that if you need to check a signal, you should put a fine behind it, but this is not really needed and slows down the robot a lot if you do that for every condition.

    As a rule of thumb, I always avoid adding more points than needed on paths, as since a lot of time some other guy demonstrated me that if you want the robots to run and be fast, the less points, the better, and this applies to abb, fanuc, kuka and more brands.

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