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 EthernetKRL and OfficeLite Communication issue with External App

  • s2007.ravi
  • July 3, 2023 at 11:52 AM
  • Thread is Resolved
  • s2007.ravi
    Reactions Received
    14
    Trophies
    4
    Posts
    585
    • July 3, 2023 at 11:52 AM
    • #1

    Hi All

    I'm trying to establish the connection between Ethernet KRL v3.1.3 inside KUKA OL with KSS 8.6.2 and a C# Application (written by me) but not being successful.

    vxWork IP: 192.168.0.1/255.255.255.0

    KUKA OL IP: 172.31.1.147/255.255.0.0

    Host PC IP: 172.31.1.100/255.255.0.0

    The EthernetKRL is configured as a server and the external C# App is a client. I went through almost all the posts on the forum describing the functionality of EthernetKRL with KUKA OL. Almost all the topics talk about getting successful with KUKA being Client and external App being Server but none talk about other way around.

    I configured KUKA Router and got the success in using the Server Application supplied with the EthernetKRL package. I tried example codes on the robot such as BinaryFixed.src, BinaryStream.src, XmlCallback.src and XmlTransmit and got the successful data transmission with the example server application. However, I have not got any success with XmlServer.src program with my C# App (cannot use Server Example App because it won't work). I tried various configurations in KUKARouter but could not make it work.

    Can someone guide me how can I configure KUKA Router so that the communication between the robot (EthernetKRL Server) and the C# App (Client) can be established.

    Here is the configuration (xml), I'm using on the robot.

    Code
    <ETHERNETKRL>
      <CONFIGURATION>
        <EXTERNAL>
          <TYPE>Client</TYPE>
        </EXTERNAL>
        <INTERNAL>
          <ENVIRONMENT>Submit</ENVIRONMENT>
          <BUFFERING Mode="FIFO" Limit="512" />
          <BUFFSIZE Limit="65534" />
          <!-- <TIMEOUT Connect="60000" /> -->
          <ALIVE Set_Flag="501" Ping="1" />
          <IP>172.31.1.147</IP>
          <PORT>54600</PORT>
          <PROTOCOL>TCP(vxsock)</PROTOCOL>
          <MESSAGES Display="warning" Logging="warning" />
        </INTERNAL>
      </CONFIGURATION>
    
      <RECEIVE>
        <XML>
          <ELEMENT Tag="BRIDGE/MESSAGE" Type="STRING" Set_Flag="701" />
        </XML>
      </RECEIVE>
    
      <SEND>
        <XML>
          <ELEMENT Tag="ROBOT/NAME" Type="STRING" />
          <ELEMENT Tag="ROBOT/TIMESTAMP" Type="REAL" />
          <ELEMENT Tag="ROBOT/MODE" Type="STRING" />
          <ELEMENT Tag="ROBOT/ACTPOS/@X" Type="REAL" />
          <ELEMENT Tag="ROBOT/ACTPOS/@Y" Type="REAL" />
          <ELEMENT Tag="ROBOT/ACTPOS/@Z" Type="REAL" />
          <ELEMENT Tag="ROBOT/ACTPOS/@A" Type="REAL" />
          <ELEMENT Tag="ROBOT/ACTPOS/@B" Type="REAL" />
          <ELEMENT Tag="ROBOT/ACTPOS/@C" Type="REAL" />
          <ELEMENT Tag="ROBOT/AXISACT/@A1" Type="REAL" />
          <ELEMENT Tag="ROBOT/AXISACT/@A2" Type="REAL" />
          <ELEMENT Tag="ROBOT/AXISACT/@A3" Type="REAL" />
          <ELEMENT Tag="ROBOT/AXISACT/@A4" Type="REAL" />
          <ELEMENT Tag="ROBOT/AXISACT/@A5" Type="REAL" />
          <ELEMENT Tag="ROBOT/AXISACT/@A6" Type="REAL" />
          <ELEMENT Tag="ROBOT/AXISACT/@E1" Type="REAL" />
          <ELEMENT Tag="ROBOT/AXISACT/@E2" Type="REAL" />
        </XML>
      </SEND>
    </ETHERNETKRL>
    Display More

    Please also find attached the screenshot showing the KUKA Router configuration.

    Regards

    Images

    • Screenshot 2023-07-03 151150.png
      • 10.53 kB
      • 575 × 352
      • 9
  • s2007.ravi
    Reactions Received
    14
    Trophies
    4
    Posts
    585
    • July 5, 2023 at 10:06 AM
    • Best Answer
    • #2

    Hi All

    I finally made it working for me. I changed the configuration in the KUKA Router as shown in the picture.

    The EthernetKRL configs are as follows.

    KUKA as Client:

    Code
    <ETHERNETKRL>
      <CONFIGURATION>
        <EXTERNAL>
          <IP>192.168.0.1</IP>
          <PORT>59152</PORT>
        </EXTERNAL>
        <INTERNAL>
          <ALIVE Set_Flag="2" />
        </INTERNAL>
      </CONFIGURATION>
      <RECEIVE>
        <!-- Put receive config here -->
      </RECEIVE>
      <SEND>
        <!-- Put send config here -->
      </SEND>
    </ETHERNETKRL>
    Display More

    KUKA as Server:

    Code
    <ETHERNETKRL>
      <CONFIGURATION>
        <EXTERNAL>
          <TYPE>Client</TYPE>
        </EXTERNAL>
        <INTERNAL>
          <ENVIRONMENT>Submit</ENVIRONMENT>
          <BUFFERING Mode="FIFO" Limit="512" />
          <BUFFSIZE Limit="65534" />
          <ALIVE Set_Flag="501" Ping="1" />
          <IP>x.x.x.x</IP>
          <PORT>54600</PORT>
          <MESSAGES Display="warning" Logging="warning" />
        </INTERNAL>
      </CONFIGURATION>
      <RECEIVE>
        <!-- Put receive config here -->
      </RECEIVE>
      <SEND>
        <!-- Put send config here -->
      </SEND>
    </ETHERNETKRL>
    Display More

    If someone does not have KUKA Router software available then he/she can use the attached zip containing bat files to achieve the similar functionality.

    Regards

    Files

    port_proxy.zip 1.07 kB – 24 Downloads

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

  • Communication
  • OfficeLite
  • Ethernet KRL
  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