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

Problems with controlling robots using EKI

  • mr.Sakura
  • August 12, 2024 at 1:57 PM
  • Thread is Unresolved
  • mr.Sakura
    Posts
    5
    • August 12, 2024 at 1:57 PM
    • #1

    Hello everyone, I am developing a KRL program that allows robots to be controlled via a remote computer using Ethernet.

    At present, based on the official example (XmlTransmit.src) has achieved the effect, but in the process of controlling the robot movement, the Ethernet data can not be read in real time for control, resulting in control lag, is there any way to receive the Ethernet data in the movement? And the motion trajectory is not smooth, I think it should be related to the motion command (PTP) I use. thank you.:smiling_face:

  • SkyeFire August 12, 2024 at 2:15 PM

    Approved the thread.
  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • August 12, 2024 at 2:20 PM
    • #2

    If you want motions to be blended/approximated, you need to get familiar with how advance run pointer works...

    Advance run pointer need to read at least one next point before current motion is complete. This means you need to buffer received data. If you run out of position data while program is running, there will be stop(s).

    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,052
    Trophies
    12
    Posts
    9,429
    • August 12, 2024 at 2:31 PM
    • #3

    1. EKI is not a realtime control system. You want RSI for that

    2. If you just want to send a list of points and execute them normally, EKI can do that, but you have to study the Advance Run Pointer and Continous type motions (C_DIS, C_PTP, etc), as Panic said. You will need to buffer several points ahead on the robot (based on $ADVANCE) in order for the motion planner to be able to calculate blended/approximated motions.

    3. EKI is a blocking function. That is, calling an EKI function will usually break the ARP, causing the robot to stop at each point (similarly, WAIT commands, setting Outputs, etc). There are ways around that (calling EKI from a TRIGGER, running EKI loop in the SPS, etc) -- which one you use will depend on the details of your process.

  • mr.Sakura
    Posts
    5
    • August 13, 2024 at 3:38 AM
    • #4
    Quote from SkyeFire

    1. EKI is not a realtime control system. You want RSI for that

    2. If you just want to send a list of points and execute them normally, EKI can do that, but you have to study the Advance Run Pointer and Continous type motions (C_DIS, C_PTP, etc), as Panic said. You will need to buffer several points ahead on the robot (based on $ADVANCE) in order for the motion planner to be able to calculate blended/approximated motions.

    3. EKI is a blocking function. That is, calling an EKI function will usually break the ARP, causing the robot to stop at each point (similarly, WAIT commands, setting Outputs, etc). There are ways around that (calling EKI from a TRIGGER, running EKI loop in the SPS, etc) -- which one you use will depend on the details of your process.

    Thanks to Panic and Skye, I still plan to try using EKI first, but I do not find C_PTP and other instructions in the official documentation and how to use it. Is there any documentation or reference material for this? Thank you very much.

  • Fubini
    Reactions Received
    278
    Trophies
    9
    Posts
    1,889
    • August 13, 2024 at 4:52 AM
    • #5

    Lookup system integrators manual for C_PTP.

    Fubini

  • Online
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • August 13, 2024 at 2:54 PM
    • #6

    C_DIS, C_PTP, C_ORI, etc, are modifiers on motion commands (LIN, PTP, etc), that activate and control approximated/blended motion. The manuals describe this in detail.

    PTP XP1 ; robot comes to a complete stop momentarily at XP1

    PTP XP1 C_PTP ; robot "cuts the corner" past XP1 based on multiple factors, including the distance between XP1 and the previous/next motions, the settings of $APO.

    The C_xxx tags also interact strongly with the Advance Run Pointer, so you'll need to study that too.

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

  • TCP/IP
  • 库卡
  • 埃基
  • 放射科
  • 控制
  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