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

Tool offset with external axis (linear)

  • kast1337
  • April 23, 2025 at 12:27 PM
  • Thread is Resolved
  • kast1337
    Trophies
    1
    Posts
    11
    • April 23, 2025 at 12:27 PM
    • #1

    Hello,
    I would like to approach the pick point with an offset in the tool axis. So far I have done it this way.

    Code
    DECL E6POS TOffset
    TOffset= {X 0,Y 0,Z -200,A 0,B 0,C 0,E1 0,E2 0,E3 0,E4 0,E5 0,E6 0}
    
    SPTP XP1 : TOffset
    SLIN P1

    But currently I have an additional linear axis and when the robot is out of range in this axis I am not able to reach it using the given method. Then I have to use the notation:

    Code
    DECL E6POS TOffset
    TOffset= {X 0,Y 0,Z -200,A 0,B 0,C 0,E1 0,E2 0,E3 0,E4 0,E5 0,E6 0}
    TOffset.E1 = XP1.E1
    
    SPTP XP1 : TOffset
    SLIN P1

    Could someone explain to me why I have to do it this way and make an additional record of rewriting the E1 axis value?

    Thank you in advance and best regards

    Kamil

  • MOM April 23, 2025 at 12:43 PM

    Approved the thread.
  • hermann
    Reactions Received
    411
    Trophies
    9
    Posts
    2,622
    • April 23, 2025 at 2:02 PM
    • #2

    You are using XP1 an P1, is this just a typo?

    The reason probably is: because Kuka engineers have programmed it this way. 😉

  • kast1337
    Trophies
    1
    Posts
    11
    • April 23, 2025 at 2:19 PM
    • #3

    This is how you refer to point P1 outside of the movement form. I was hoping for an explanation of why it has to be done this way :grinning_squinting_face:

  • hermann
    Reactions Received
    411
    Trophies
    9
    Posts
    2,622
    • April 23, 2025 at 2:50 PM
    • #4
    Quote from glowny_automatyk

    This is how you refer to point P1 outside of the movement form.

    Don't see a movement form. Therefore the question.

    There is no logical explanation, except the mentioned. May be it is a bug, that noone cares about.

  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • April 23, 2025 at 6:04 PM
    • #5
    Quote from glowny_automatyk

    But currently I have an additional linear axis

    And this axis is... where? Going by the rest of your post, I'm guessing that the robot is mounted on E1, which is probably a rail?

    Regardless: it's possible for the robot to reach a given XYZABC position in space from multiple different positions on the rail. Too many for the KRC to simply guess at. As such, it's up to the programmer to positively control all 7 DsOF.

    For a PTP move, an out-of-reach condition would be predicted before the motion began. But any LIN-stype motion consists of many, many tiny PTP motions daisy-chained together, and that reach prediction only looks one PTP motion ahead. So a LIN motion with a destination 5km distant will try to make that move, right up until it hits a joint or reach limit. This is something inherited from the original version of KRL/KSS back in the 1980s, and KUKA has probably never had any strong motive to change it.

    The FORWARD and REVERSE functions can be used in your program to try and pre-calculate this kind of problem.

  • Online
    Fubini
    Reactions Received
    283
    Trophies
    9
    Posts
    1,904
    • April 23, 2025 at 6:22 PM
    • #6
    Quote from SkyeFire

    REVERSE

    Should be INVERSE.

    Or you use external offset driver to passively drag along external axis. The external offset driver offers a different redundancy solution than standard which simply is program desired external rail axis position.

    Post

    Re: Interpolation of robot mounted on external axis

    Hi,

    with the current KSS XYZABC and external axis path planning are partially independent. The external axis moves only time synched from its programmed initial positions to the target position. With the upcoming release bundle KSSV8.5/WorkVisual 5.0 there will be the new feature called External Offsets.

    If you know ABB there is also a feature called External Offsets (EOffsSet) but as far as I know this only allows statically shifting an additional axis its zero reference point. In KUKAs solution…
    Fubini
    January 2, 2018 at 12:11 PM
  • kast1337
    Trophies
    1
    Posts
    11
    • April 24, 2025 at 6:07 AM
    • #7

    Yes, it is a linear axis on which the robot is mounted and moves along with it.

    Quote

    "For a PTP move, an out-of-reach condition would be predicted before the motion began."

    So the robot controller should handle the "SPTP XP1 : TOffset" movement without completing the additional "AAA.E1 = XP1.E1" entry. The movement is from one end of the linear module to the other. After removing the above line of code, I get the message: "KR 150 R2700-2: RRS OP 118 (GetNextStep) message: Work envelope exceeded."

    In my opinion, as a programmer, I define the value of the E1 axis. To point P1, which already has some value of the E1 axis, I add 0 from my offset, so the old value should be preserved. Just like with the Z coordinate, which understands my offset.

    Is it simply that the value of the secondary axis is not offset and is treated as an absolute value?

    Thanks for your answers.

    Edited once, last by kast1337 (April 24, 2025 at 6:13 AM).

  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • April 24, 2025 at 2:16 PM
    • #8

    The input to the Geometric Operator can be FRAME, POS, or E6POS, but the output is only ever FRAME -- XYZABC, no S, T, or Ex.

    So applying an offset to Ex as you are with TOffset won't have any effect.

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

Similar Threads

  • Generating spline motion with 7th axis external axis.

    • ConnorL
    • September 26, 2024 at 2:30 AM
    • KUKA simulation software
  • Activating External Kinematic Base Frame

    • dave tripp
    • August 11, 2021 at 5:50 PM
    • KUKA Robot Forum

Tags

  • KUKA
  • ToolOffset

Users Viewing This Thread

  • 1 Guest
  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