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. Kawasaki 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

Sending live pose data from Kawasaki E02 controller to Beckhoff IPC via EtherCAT

  • westysaki
  • February 2, 2024 at 10:33 PM
  • Thread is Unresolved
  • westysaki
    Reactions Received
    4
    Trophies
    1
    Posts
    12
    • February 2, 2024 at 10:33 PM
    • #1

    Hi RobotForum!

    I need to send my Kawasaki BX130X's live TCP coordinates to a Beckhoff PLC. I have the EtherCAT communications card installed and am successfully communicating with the PLC. Requirements:

    -Max delay: 500ms

    -Precision: +-1mm, +-0.1 degrees

    My plan is to map the TCP coordinates to 75 IOs (2^13=8192 digits each to represent +- 3000mm for X,Y,Z axes and 2^12=4096 digits each to represent +- 180.0deg for OAT). I would update these IOs in a PC program running constantly in the background once the robot boots.

    Before I spend too much time implementing this (I am relatively new to AS programming so it might take a few days), I'm wondering if anyone knows of any easier way to do this, or if you think that this plan is fundamentally flawed? I wasn't able to find any pre-built functions in the AS manual.

    Many thanks,

    Mykal

  • westysaki
    Reactions Received
    4
    Trophies
    1
    Posts
    12
    • February 3, 2024 at 12:57 AM
    • #2

    Update: only took 30 minutes and it works! Let me know if anyone has a more elegant solution

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • February 3, 2024 at 9:36 AM
    • #3

    What is it with people wanting more elegant solutions.

    If it works and ticks all your boxes........why is elegance so important.... :hmmm:

    KISS it...........Keep it Stupid Simple.

    Good to hear, simple IO exchange when you have the fieldbus correctly configured and allocated is always the simplest method, but has it's limitations when it comes range values.

    You could always try TCP/IP instead if you have a server setup for communicating that way, but that would take more than 30 minutes to get going but would work just as effectively.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • ShAdOwDrAgOnS
    Reactions Received
    37
    Trophies
    3
    Posts
    65
    • February 14, 2024 at 12:40 AM
    • #4

    I agree with keep it simple stupid approach.

    My only comment would be that it's using allot of I/O. If you were constrained and had limited I/O, you can make your code more elegant by multiplexing the signals by using the same 13 bits for the data and say 4 bits to identify which data is being sent and then finally 1 input and 1 output to do a 3 way handshake for the data exchange.

    So basically you'll end up with the same result using 18 outputs and 1 input on the robot side.

    You would have to verify that you can do the data exchange within 500ms but with a fast enough RPI on PLC and robot side in the order of 1-2ms or less, I highly doubt it would take longer than 500ms to multiplex the data.

  • westysaki
    Reactions Received
    4
    Trophies
    1
    Posts
    12
    • February 15, 2024 at 5:31 PM
    • #5

    I'm not limited by IOs on this project, but thank you for the suggestion!

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
  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