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

External Linear Axis Compensation

  • loctran96
  • March 20, 2023 at 2:45 AM
  • Thread is Unresolved
  • loctran96
    Trophies
    1
    Posts
    8
    • March 20, 2023 at 2:45 AM
    • #1

    Hi everyone,

    I'm currently using a KR100-2P with KL1500-2 linear axis, KRC 2 Ed05 (V5.6.9) and we do CNC works on SprutCAM12.

    The linear exenternal axis is running along a 25-meter track, and currently the track is not even (some spots are lower/higher than others) while the carriage itself still works fine.

    I've heard that the previous engineer used "mapping" to compensate for the uneven of the track, but I have no idea where that information is stored. The system was set up by the previous engineer who left no document and I have no way to contact him.

    I have looked through the manuals and no specific information about this "mapping", only for "external kinematics calibration" (which I'm assumed is the calibration of the relative position/orientation of an external kinematics to the robot, not of the straightness of the track). I'm trying to find out whether this "mapping" would be in the KUKA systems or would be in the SprutCAM processor. Or is there any keyword that could help me learn some information on this.

    Thank you so much.

  • HawkME March 20, 2023 at 3:59 AM

    Approved the thread.
  • Online
    Fubini
    Reactions Received
    278
    Trophies
    9
    Posts
    1,886
    • March 20, 2023 at 11:09 AM
    • #2

    KUKA does not offer support for such a feature directly. You would need to do the adaptions and corrections yourself using e.g. RSI if realtime correction on the path would be necessary.

    So where exactly would you need to apply corrections. Only at programmed positions or arbitrarily in between taught in positions?

    Fubini

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,423
    • March 21, 2023 at 12:51 AM
    • #3

    Two ways the previous engineer might have done this:

    1. Added some kind of correction to the SprutCAM postprocessor, using something that adjusted the Z value of the output position based on the E1 position.

    2. Created some kind of "live" offset in the robot. You can check this by looking at the extant robot programs. If they look like:

    LIN P1 C_DIS

    then the offset is probably not being generated in the robot. OTOH, if you see something like:

    PTEMP=P1

    IF PTEMP.E1>5000 AND PTEMP.E1<6000 THEN

    PTEMP.E1 = PTEMP.E1 + 1

    ENDIF

    LIN PTEMP C_DIS

    Then that would be a smoking gun indicating that the robot is offsetting Z relative to E1, while the SprutCAM output is assuming an "ideal" linear axis.

    I suppose one other possibility exists. If SprutCAM supports creating the virtual linear axis in a non-linear fashion, that might put the "correction" into the kinematic model, upstream of the postprocessor.

  • Online
    panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • March 21, 2023 at 1:27 AM
    • #4

    why not install rail properly? make it level and even. then no compensation is needed.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • loctran96
    Trophies
    1
    Posts
    8
    • March 21, 2023 at 3:22 AM
    • #5
    Quote from panic mode

    why not install rail properly? make it level and even. then no compensation is needed.

    That would be ideal and what I want to do, instead of adding compensation. However the higher ups don't want to spend too much time re-leveling the rail and they told me that "the previous engineer made it works", so that's why im looking into it.
    But it still would be best if I can just re-level the whole thing.

  • Online
    panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • March 21, 2023 at 2:30 PM
    • #6
    Quote from loctran96

    I've heard that the previous engineer used "mapping" to compensate for the uneven of the track, but I have no idea where that information is stored. The system was set up by the previous engineer who left no document and I have no way to contact him.

    take the archive and look for clues. optionally post it here.

    btw if the system was setup by a previous engineer, and it was working - what changed? did someone remove and lay down the linear rail again? was the system relocated?

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Hes
    Reactions Received
    41
    Trophies
    2
    Posts
    242
    • March 21, 2023 at 7:21 PM
    • #7

    Sounds like a robot roller coaster :nauseated_face:

  • Online
    panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • March 21, 2023 at 8:10 PM
    • #8

    got to love it when instead of doing proper hardware setup they pass the lopsided problem your way and want you to "fix it in software". so what if things are not level or robot goes through singularity or has no reach or no room to turn around...

    :face_with_rolling_eyes:

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • loctran96
    Trophies
    1
    Posts
    8
    • March 22, 2023 at 2:05 AM
    • #9
    Quote from panic mode

    take the archive and look for clues. optionally post it here.

    btw if the system was setup by a previous engineer, and it was working - what changed? did someone remove and lay down the linear rail again? was the system relocated?

    I'm suspecting that the data is stored in the configuration files on SprutCAM, where the previous engineer could've made modifications in the set-up. I've heard from the higher-ups that (1) the rail has always been uneven but the previous engineer made the "mapping" to compensate for it on software and (2) it has been used in production

    My problem is (1) I have no idea what specific file I'm looking for so I'm trying to dig through each config files. (2) The previous engineer saved the all the work-related files (2 year worth) without any organization whatsoever so everything is all over the place, some files are even lost.
    When I got the job, there was no real hand-over, I had to look at everything from scratch and figure out how to make things run using the most recent SprutCAM set-up (but it seems like this one has no "mapping" implemented). So I'm digging through years worth of previous set-up and comparing the differences to see which set-up actually had that compensation.

    I dont know if I'm making sense anymore. At this point, this "mapping" sounds like a myth that everyone keeps telling each other and no one to actually confirms it. I just want to up-root everything and re-level the track again.

  • Online
    panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • March 22, 2023 at 3:28 AM
    • #10

    have no experience with SprutCam and without knowing what the robot program looks like or if the compensation is done on the robot, one can only guess.

    All KUKA guides on linear rail installation that i encountered insisted on making the rail level. then theoretical model in CAD/CAM and reality are easier to match. but it is also conceivable that someone did measure the rail and number of points, fed them into a table and have script that interpolates E1 position and corrects the Z value (or also X and Y or rotations too).

    it is also possible that someone simply stated that compensation does exist but it is not really there. maybe it is not even necessary for the particular process tolerances. have you tried taking any measurements to quantify the differences? without knowing what data you are looking for, it will be much harder to find it.

    it also depends if this CNC a single 25m long machine (making giant shafts, or naval cannons for capital ships etc) that robot need to correctly track along the entire length.. OR the robot is used for loading bunch of CNCs that are lined up along the linear track. most CNCs are reasonably small with door opening that is maybe 1m wide or so. so for most scenarios robot E1 would need to come to a specific place and then robot would tend that machine, in this case, it would be sufficient to make single frame (base) to offset points at that one machine. one would need to do the same for others.

    so far there is no clear idea what the process is, what the deviations look like, what the CNC setup looks like etc. all we know is that SprutCam is used to generate code. that code may already contain compensation. or maybe compensation is done on a robot. since there is nothing for us to look at, this is all in your hands.

    and just to bring this up as well - maybe the compensation is real but it was done after export from SprutCam but before delivering programs to the robot. previous engineer could have simply created own program or script that does the corrections. and he may have decided to remove that program when he was leaving.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • loctran96
    Trophies
    1
    Posts
    8
    • March 22, 2023 at 3:41 AM
    • #11
    Quote from panic mode

    have no experience with SprutCam and without knowing what the robot program looks like or if the compensation is done on the robot, one can only guess.

    All KUKA guides on linear rail installation that i encountered insisted on making the rail level. then theoretical model in CAD/CAM and reality are easier to match. but it is also conceivable that someone did measure the rail and number of points, fed them into a table and have script that interpolates E1 position and corrects the Z value (or also X and Y or rotations too).

    it is also possible that someone simply stated that compensation does exist but it is not really there. maybe it is not even necessary for the particular process tolerances. have you tried taking any measurements to quantify the differences? without knowing what data you are looking for, it will be much harder to find it.

    it also depends if this CNC a single 25m long machine (making giant shafts, or naval cannons for capital ships etc) that robot need to correctly track along the entire length.. OR the robot is used for loading bunch of CNCs that are lined up along the linear track. most CNCs are reasonably small with door opening that is maybe 1m wide or so. so for most scenarios robot E1 would need to come to a specific place and then robot would tend that machine, in this case, it would be sufficient to make single frame (base) to offset points at that one machine. one would need to do the same for others.

    so far there is no clear idea what the process is, what the deviations look like, what the CNC setup looks like etc. all we know is that SprutCam is used to generate code. that code may already contain compensation. or maybe compensation is done on a robot. since there is nothing for us to look at, this is all in your hands.

    and just to bring this up as well - maybe the compensation is real but it was done after export from SprutCam but before delivering programs to the robot. previous engineer could have simply created own program or script that does the corrections. and he may have decided to remove that program when he was leaving.

    Display More

    Understandable. I just wanna narrow down where to look, whether the "mapping" would be in KUKA system or from SprutCAM. It seems like these data would more likely come from SprutCAM setup files or the scripts, I'll look more into that.
    Thank you guys so much.

  • Online
    panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • March 22, 2023 at 3:46 AM
    • #12

    you are welcome

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,423
    • March 22, 2023 at 4:49 PM
    • #13
    Quote from loctran96

    I just wanna narrow down where to look, whether the "mapping" would be in KUKA system or from SprutCAM.

    If you could post a snippet from one of the existing robot programs (2-3 moves), that would help.

    There is another option for "mapping". New River Kinematics (the makers of Spatial Analyzer) offer a product called SARCA that is available for many brands of robot. The SARCA module can be "taught" the robot accuracy error through its entire envelope using a laser tracker. To use the SARCA, you make a special function call instead of a standard LIN or PTP motion. The SARCA function call takes the desired motion, massages it using the error model, and passes back an adjusted E6POS value that corrects for the robot error. I've seen it used, and it improves the accuracy of a typical robot quite a bit.

    It's possible that the previous engineer used that, or a competing product, instead of "hand-mapping" everything in SprutCAM or in a robot-side error-correction file. Alternatively, you could price one out (don't forget the setup and laser-tracker rental time), and use it to scare the bosses into just fixing the rail properly. :pfeif:

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

Tags

  • KUKA
  • Sprutcam
  • Linear Axis
  • External axes

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