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

Kuka KRL library of useful functions

  • dddomodossola
  • June 21, 2023 at 3:04 PM
  • Thread is Unresolved
  • dddomodossola
    Reactions Received
    14
    Trophies
    3
    Posts
    25
    • June 21, 2023 at 3:04 PM
    • #1

    Hello friends,

    Here is a repository with some useful KRL functions I wrote in my spare time.

    GitHub - skilledAutomation/kuka_krl_wonderlibrary: A collection of useful functions for KUKA KRL language
    A collection of useful functions for KUKA KRL language - GitHub - skilledAutomation/kuka_krl_wonderlibrary: A collection of useful functions for KUKA KRL…
    github.com

    Consider to contrinube with your code if you find it interesting.

    Kind Regards,

    Davide Rosa

  • dddomodossola
    Reactions Received
    14
    Trophies
    3
    Posts
    25
    • June 22, 2023 at 11:02 AM
    • #2

    Hello panic mode ,

    I was hoping for a comment from you 😀

    Have you seen the library?

    I like your way to debug and comment, so what are your thoughts?

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,027
    • June 22, 2023 at 2:43 PM
    • #3

    just skimmed through... looks very similar to way i tend to do things. will try to do a closer check later.

    first impressions:

    there are not many people contributing so things like this are always welcome - clearly an effort went into this and for many users this could be a lifesaver. hope the others chime in, feedback is always precious. :thumbs_up:

    not sure if all code would compile as is. need to check with OL. so far i see missing dependency - in this case MSG() is not included.

    also not sure what MSG is supposed to do. does not seem to be displaying message since some of strings are way too long so they cannot fit into message buffer (maximum is 80 chars). perhaps just an oversight, for example text was changed just before sharing (maybe translation or formatting etc.)

    so for anyone trying to test it right now, maybe adding a dummy sub like this could help get by and focus on the rest.

    Code
    DEF MSG(txt[]:in)
      DECL CHAR txt[]
      ;MsgNotify(txt[])
    END

    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

  • dddomodossola
    Reactions Received
    14
    Trophies
    3
    Posts
    25
    • June 23, 2023 at 12:22 PM
    • #4

    Thank you for your comments panic mode .

    I added the missing MSG procedure.

    Added the geometric library. Actually it just contains LINE_2D, but I planned to write LINE_3D, PLANE, CIRCUMFERENCE... (I have some c++ code ready to be translated to KRL)

    The geometric library is untested. I kindly ask someone to test it, because I have not OfficeLite or Robots actually.

    Kind Regards.

  • dddomodossola
    Reactions Received
    14
    Trophies
    3
    Posts
    25
    • June 27, 2023 at 6:34 PM
    • #5

    Hello friends,

    Added 3D PLANE geomertry functions. (To be tested)

    Have a wonderful day.

    Davide

    Edited once, last by dddomodossola (June 27, 2023 at 6:42 PM).

  • dddomodossola
    Reactions Received
    14
    Trophies
    3
    Posts
    25
    • June 28, 2023 at 1:29 PM
    • #6

    Hello friends,

    Today added LINE 3D, VECTOR 3D and PLANE geometric data structures and functions.

    I made different syntax corrections using WoV, but it could be great if someone could test it with a robot or OfficeLite.

    Kind Regards

  • dddomodossola
    Reactions Received
    14
    Trophies
    3
    Posts
    25
    • June 30, 2023 at 10:36 AM
    • #7

    Hello friends,

    just to inform you that I added some other data structures and functions to the library. Now geometric library has to be tested, I will try to make a testing function.

    I will not write further updates here in the forum to avoid spamming. Just consider that libray is evolving, so when you will need it, use updated copy.

    Have a wonderful day.

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
  • KRL
  • library
  • wonderlibrary
  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