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

Easiest way to handle multiple set of points for same cycle

  • Cavernicolo
  • December 6, 2023 at 8:47 AM
  • Thread is Unresolved
  • Cavernicolo
    Trophies
    1
    Posts
    2
    • December 6, 2023 at 8:47 AM
    • #1

    Good morning everyone,


    I'm new to robotic in general and to kuka robots in particular,

    I just took the KUKA college course and I'm now working on my first project:

    KUKA KSS 8.7.6

    It's a simple pick and place cycle,

    the robot needs to load a CNC machine with raw pieces and unload finished ones,

    divided in simple operation i.e. pickPiece, openDoor...

    I'm now using a set of global points (gXpickingTable, gXloadSpindle, gXdoorHandle, ...)

    Here's my problem: I would like this programs to work for different types of pieces (let say 100).

    The PLC will pass me an INT which represents the type of piece to work.

    The operator needs to be able to touch up a new set of points each time he creates a new CNC program,

    but without losing thew previous sets.

    I'm wondering if it's possible to do so without copypasting the entire program and changing the name of the points every time.

    Pints need to be created and touched up with inline forms.

    I'm thinking of initializing the global points in an custom SPS:

    Code
    SWITCH  giJobSelectionCNC
       CASE 1
        gXpickingTable = gXpickingTableProg1
       ...
       CASE 2
        gXpickingTable = gXpickingTableProg2
    ...

    but I'm not convinced because the operator would have to modify the SPS too, every time he wants to create a new piece.

    This can't be a new problem, so I'm asking you, is there a "canonical" way to solve it?

  • MOM December 6, 2023 at 9:52 AM

    Approved the thread.
  • Mentat
    Reactions Received
    61
    Trophies
    5
    Posts
    243
    • December 8, 2023 at 4:02 PM
    • Best Answer
    • #2

    Hi,

    I am merely an uneducated pleb and so don't know of any canonical ways. I do like setting things up in way that requires least work/effort.

    If I understood correctly, the amount of points, their order and respective motions should not change. A subset of points will need to have different positions depending on the parts being worked on. If these assumptions are correct, I would do something like this:

    1. Initialize and define the points that should not change in some public dat file as consts.

    2. Make a file that is going to be copied for every new loading program with the points that need changing. Protect them with a flag to avoid unintended execution (something like _TouchUpOn and $T1). This is the module where the operator will touch up the points.

    3. At the end of the program above have a call to a function in a different module that is going to actually execute the desired motions with the touched up points as parameters (better as pos array).

    4. Profit immensely as now all the operator has to do is duplicate a program, give it a name, enable _TouchUpOn flag, turn on $T1 and touch up the needed points. Afterwards just run the program every time it's needed.

    This seems so simple that I probably misunderstood the problem.

  • Cavernicolo
    Trophies
    1
    Posts
    2
    • December 12, 2023 at 12:29 PM
    • #3

    Hi Mentat,

    thank you for your reply,

    it is for sure a solution,

    you gave me some new idea,

    I'll go work on it now.

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
  • Programming
  • KRL
  • krc5

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