Please if any one give me an example program in C++ of how to send / receive xml data to / from Kuka controller
thanks
Please if any one give me an example program in C++ of how to send / receive xml data to / from Kuka controller
thanks
If you have EKI installed, the D:\KUKA_OPT directory on the robot will include example programs. If you don't have EKI, then you can't use XML data transfer anyway.
If you have EKI installed, the D:\KUKA_OPT directory on the robot will include example programs. If you don't have EKI, then you can't use XML data transfer anyway.
we are using KST_Ethernet_KRL_22 ... are there any examples inside it
Thanks
Yes. Inside D:\KUKA_OPT, there will be a subdirectory for EtherNetKRL. Inside that directory, there will be sub-directories for the install files and documentation. Inside one of those sub-directories (probably Documentation), will be a directory containing example programs for the robot and for a remote PC, that will work together.
hi
I found only files with .src Extension but what I want is to program the connection in c++
if there is any c++ example it will be very helpful
the robot is industrial robot not LBR so we can't use FRI
thanks
I guess there is a misunderstanding here.
You will not get a source code of program in C++.
There .exe file that you can run in Doc\Example\Application directory.
yes that's what I found there
what I need is a way to send and receive data between my C++ project and the robot controler
I am not C+ programmer but based on documentation (EKI documentation) and robot example files you should be able to put something together relatively quickly.
There are probably ready to use libraries to do most of the work (file send/receive, XML parsing)
You will need to customize it to your own needs.
I guess there is a misunderstanding here.
You will not get a source code of program in C++.
There .exe file that you can run in Doc\Example\Application directory.
...Huh!
Well, I looked, and the old EKI versions for KSS 5.x came with C# source code for the PC-side server program. But it looks like the newer versions only include the .EXE. Not cool, Augsburg.
Going by what I can see, it looks like a fairly simple program -- it's only about 75 lines long. It uses System.Net.Sockets and System.Threading.Thread to establish a thread that "listens" on one socket for data packets from the robot, and then replies with its own data.
please go to youtube and search for tutorial how to open tcp socket or create chat program using whatever programming language you use.
once you have two instances exchanging data, all you need to do is format content, and use robot instead of second instance. about data formatting - any programming course goes over things like string manipulation. if you are using certain software like VisualStudio, it will have string builder, XML builder etc.
You need to be a member in order to leave a comment