May 26, 2019, 09:27:01 PM
Robotforum | Industrial Robots Community

 Help with communication (Ethernet KRL) between robot (KRC4) and server(C# app)

normal_post Author Topic:  Help with communication (Ethernet KRL) between robot (KRC4) and server(C# app)  (Read 828 times)

0 Members and 2 Guests are viewing this topic.

November 09, 2018, 04:08:48 PM
Read 828 times



I'm working on a project where I need to communicate with a kuka robot (KRC4 controller). TCP/IP programming by exchanging xml data is what I'm aiming at (C# application acting as server and robot as client). Unfortunately, I don't have access to the KRC4 yet so my team and I need to be prepared as much as possible (using our time effectively) until the robot arrives. I'm having a very hard time differentiate an XML configuration, xml data, .src files ... and so on.

Can anybody can clear this up for me. Keep in mind that I don't have direct access to the robot yet and thank you for reading.   

Today at 09:27:01 PM
Reply #1



November 09, 2018, 04:48:08 PM
Reply #1

panic mode

Global Moderator
you can use example server application that is delivered with EKI and putty.exe as a client.
this will allow you to exchange data between two nodes.

once this part is working, you can use c# to replicate functionality of either of the two sides.

2) if you want reply about robot, post it in forum
3) read 1 and 2

November 09, 2018, 05:01:26 PM
Reply #2


The C# replication is already done on my part (where I exchange XML file between C# server application and C# client application). However, I'm not sure what to send or what I'm suppose to receive exactly (point of view of C# server application). Am I receiving:

1. An entire XML configuration file?
2. One line of data?, example: <Nmb>8</Nmb>
3. Just the value inside? 8 for example
4. Something else

Thank you

November 09, 2018, 06:40:55 PM
Reply #3

panic mode

Global Moderator
configuration file (an XML file) is used to provide network setup and data structure but transferred data block (could be also an XML structure) is not the configuration file itself, it is string that is formed according to configuration file and populated with data values..

November 10, 2018, 10:36:43 PM
Reply #4


You should get the documentation and the sample server / client application for "Ethernet KRL", and everything will be clear. Not sure wether it is ok to post that here (the manual can be found here, but the example server/client?)

« Last Edit: November 10, 2018, 10:39:52 PM by hermann »

November 15, 2018, 04:53:47 PM
Reply #5


Unfortunately, I don't have the robot yet so no "sample server / client application for Ethernet KRL"

I attached an example of configuration file, data block (sent and what I expect to receive from the robot). Tell me if anything is wrong.

Thank you.

Today at 09:27:01 PM
Reply #7



Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

KUKA KRC4 OPC Server communication

Started by Kōkaku kidōtai on KUKA Robot Forum

0 Replies
Last post October 21, 2013, 08:43:52 AM
by Kōkaku kidōtai
KicVarGateway - KRC4 Server App and Client SDK for TCP communication

Started by irobot on KUKA Robot Forum

1 Replies
Last post October 30, 2017, 01:30:21 AM
by irobot
KRC4 with Ethernet XML: communication loss

Started by epi4 on KUKA Robot Forum

3 Replies
Last post September 05, 2016, 08:41:14 AM
by epi4
Tag priority - Ethernet communication on KRC4

Started by MaHo on KUKA Robot Forum

1 Replies
Last post December 06, 2016, 03:53:44 PM
by SkyeFire