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

Extra rotations of toolhead being added?

  • neeboy74
  • December 11, 2013 at 10:04 PM
  • Thread is Resolved
  • neeboy74
    Trophies
    3
    Posts
    120
    • December 11, 2013 at 10:04 PM
    • #1

    >Sigh< One step forward, two steps back... :icon_rolleyes:

    I have my KR 30/2 milling on the plane I want, I've gotten rid of any/all collisions...but now I'm getting these goofy extra, seemingly unnecessary 180 degree "A" rotations of my toolhead (sixth axis).

    Here's the code:

    DEF TEST113013XZZX()
    BAS (#INITMOV,0)

    $BASE=BASE_DATA[1]
    $TOOL=TOOL_DATA[1]
    $VEL.CP=0.167
    PTP {A1 9.046, A2 -54.577, A3 96.635, A4 -180.000, A5 -47.942, A6 9.046}
    LIN {X -100, Y 31.64, Z 44.21, A 180, B -90, C 0} C_DIS
    LIN {X -80.8} C_DIS
    $VEL.CP=0.003
    LIN {X -50.8} C_DIS
    LIN {X -30.8} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 54.21} C_DIS
    LIN {Y 31.64} C_DIS
    LIN {Z 34.21} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 44.21} C_DIS
    LIN {Z 54.21} C_DIS
    LIN {Z 64.21} C_DIS
    LIN {Y 31.64} C_DIS
    LIN {Z 74.21} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 84.21} C_DIS
    LIN {Y 31.64} C_DIS
    LIN {Z 94.21} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 104.21} C_DIS
    LIN {Y 31.64} C_DIS
    LIN {Z 114.21} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 124.21} C_DIS
    LIN {Y 31.64} C_DIS
    LIN {Z 125.28} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 124.21} C_DIS
    $VEL.CP=0.167
    LIN {X -100, A -180} C_DIS
    LIN {Y 31.64, Z 84.21, A 180} C_DIS
    LIN {X -60.8} C_DIS
    $VEL.CP=0.003
    LIN {X -30.8} C_DIS
    LIN {X -15.8} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 94.21, A -180} C_DIS
    LIN {Y 31.64} C_DIS
    LIN {Z 74.21} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 64.21, A 180} C_DIS
    LIN {Y 31.64, A -180} C_DIS
    LIN {Z 54.21, A 180} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 44.21} C_DIS
    LIN {Y 31.64} C_DIS
    LIN {Z 34.21, A -180} C_DIS
    LIN {Y 122.1, A 180} C_DIS
    LIN {Z 44.21} C_DIS
    LIN {Z 94.21, A -180} C_DIS
    LIN {Z 104.21, A 180} C_DIS
    LIN {Y 31.64, A -180} C_DIS
    LIN {Z 114.21, A 180} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 124.21} C_DIS
    LIN {Y 31.64} C_DIS
    LIN {Z 125.28} C_DIS
    LIN {Y 122.1} C_DIS
    LIN {Z 124.21} C_DIS
    $VEL.CP=0.167
    LIN {X -100, A -180} C_DIS
    PTP {A1 0.000, A2 -90.000, A3 90.000, A4 0.000, A5 0.000, A6 0.000}
    END

    See the attached image; the simulation runs fine in SprutCAM, and it sure doesn't show any of those goofy extra rotations. I tried manually removing all of the extra rotations in the .SRC file in OrangeEdit, and now the toolpath runs fine on the physical robot. no problems whatsoever.

    I'm asking about this here first because I suspect that maybe there is some kind of "Kuka is playing it safe" factor that I'm not aware of. (?) :hmmm:

    I will definitely alert SprutCAM to this....but I trust the general robot knowledge here more. Thanks in advance! :icon_mrgreen:

    Images

    • simulation_of_toolpath.JPG
      • 129.83 kB
      • 1,781 × 850
      • 21

    Files

    simulation_of_toolpath.JPG_thumb 11.17 kB – 4 Downloads
  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,421
    • December 11, 2013 at 10:26 PM
    • #2

    Well, the first thing that jumps out at me is that you have A values of -180 and +180 in close proximity -- that sets off alarm bells. Since the robot never really achieves a perfect 180, you could easily be hitting a situation where the shortest route from +180 to -180 or vice versa is to rotate in the opposite direction you were expecting. Basically, if you command a 360 rotation, it's a crapshoot which way the robot goes.

  • neeboy74
    Trophies
    3
    Posts
    120
    • December 11, 2013 at 11:04 PM
    • #3

    This is interesting...I tried it with the default Kuka 150 model, and no rotations after post-processing. Time for some sleuthing...I think I know what may be going on here, will report back later.

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

Users Viewing This Thread

  • 2 Guests
  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