Guys can you help me how to have communication from C# to Kuka KR10, for the simulator project and all the script there is C# , and i want to get the value of that and send to kr10.... if you have any sample code oor idea how to do that can u help us....... jarlobelledo@gmail.com
KUKA to C# Communication
-
jarlobelledo -
July 11, 2016 at 11:58 AM -
Thread is marked as Resolved.
-
-
What communications bus? There are dozens to choose from.
-
I was told by our Local KUKA Customer Support Manager that the latest release of MxAutomation can handle C# and C++ applications that run from a PC (previous MxAutomation versions required a PLC). I found this our only 1 week ago, and I have asked for more details but I have not heard anything back yet.
SkyeFire, do you know how to communicate and control a KUKA robot from a PC?. The only product I know is EthernetKRL, but it is quite "rudimentary" and it does not allow C#, C++.
-
Hi conetag,
if you do find out any information on the new MxAutomation can you post your findings? I'd be interested to find out also.
Thanks!
-
HI SkyeFire,
The communication between kr10 to C#... bcos i have here communication from java to robot using jopenshowvar and kukavarproxy, i send some value to robot using java.. and i want a communication form c# to robot , thanks
-
I was told by our Local KUKA Customer Support Manager that the latest release of MxAutomation can handle C# and C++ applications that run from a PC (previous MxAutomation versions required a PLC). I found this our only 1 week ago, and I have asked for more details but I have not heard anything back yet.SkyeFire, do you know how to communicate and control a KUKA robot from a PC?. The only product I know is EthernetKRL, but it is quite "rudimentary" and it does not allow C#, C++.
"Does not allow"? EKI is a communications protocol channel -- it will exchange data with any application, in any programming language, that performs standard port-based ASCII or binary data exchanges. And since this standard has existed since the dawn of ARPANET, there's hardly a programming language on Earth that doesn't support it natively.
-
"Does not allow"? EKI is a communications protocol channel -- it will exchange data with any application, in any programming language, that performs standard port-based ASCII or binary data exchanges. And since this standard has existed since the dawn of ARPANET, there's hardly a programming language on Earth that doesn't support it natively.
Thanks for highlighting this . my choice of words was poor.
What I wanted to get at, is that I am not aware of a way to control the robot directly with C# or C++. KUKA told me that KRC 4 allows 3 types of controlling the robot:
1) PLC sending a command to execute a particular program (which runs in the controller)
2) PLC using MxAutomation, which allows a full control of the robot by implementing the code at the PLC side
3) EthernetKRL. This allows sending a file (in binary or XML) that the KRC4 processes to execute some predefined motions (in the template) and allows some modification to variables. This XML or binary file could be created using C#/C++ or other programming languages. However (As I was told) the controlling of the robot is still via a binary/XML file being transferred to the robot via the EthernetKRL technology package, and not via direct C++/C# commands.My impression from the original question is that they want to control the robot with direct C++/C# commands - which I do not know how is done. I might have misinterpreted the original question
My particular situation, is that I need full control of the robot and my current design is using a PLC with MxAutomation (where I can combine Function Block with Structured Text programming). However, the ideal would be to NOT use a PLC and instead control the robot from a PC, with a level of control of the robot similar to the one MxAutomation allows.
-
Well, "running the robot on C# commands" would be a neat trick, since the robot doesn't run C.
It sounds as if someone wants to achieve MxAutomations' level of sophistication and polish without paying for it. The results will be predictable -- they're either going to end up with something cheap and clunky, or they're going to end up re-inventing MxAutomation from scratch, which I can guarantee will be a long, expensive process.
If they can settle for a "middle of the road" solution, a fair number of people have implemented "Slave" programs in KRL that listen for EKI commands and carry them out. But it's a "chunky", non-realtime process. If they need realtime, then probably their only option is to resort to RSI, which will also involve a substantial amount of programming on both ends.
-
Hi,
I got an answer from the KUKA person and he told me that they have the latest MxAutomation version in their lab and they can control a KRC4 robot from a PC with a C# client, using a UDP interface.
I will be visiting their office in 1 week so I will be able to understand how well it works.
-
Just to let you know that I went to KUKA's lab and the demo worked well.
The demo was quite simple. From the PC client application, I could command the axis position of the robot.
Of course we need other type of functionality for our application, but the demo showed us that you can run the robot from a PC, using C#. We'll be working in developing our functionality over the next months
-
conesag
Does the demo is using "MxAutomation", and which kind of PLC ? -
The demo is with latest version of MxAutomation (V2.1)
there is no PLC involved, just a PC. This is why we are so interested in this version, since we do not currently have a PLC and our control system is PC based.
-
sounds great. I checked the MxAutomation (V2.1) docs, it said :
variants
•special systems
LabVIEW
Industrial PC systems
•none field bus systems
UDP (Ethernet)for the other systems is C++ library available
-
I know that there is C++ and C# libraries. KUKA showed me a demo with C#.
Please note, that the C# demo is not officially release and it is Beta version. Nevertheless, I can tell you that it worked well
-
Hi Conesag,
Do you know if the demo c# is available now?
What is MxAutomation? Can this be downloaded on PC and use to control robot position using c# or c++ -
refer to this message format , you may use C# to implement it
http://davidrobot.com/2016/04/kukava…g_format_2.html
Hi, iRobot,
the like to message format is gone, do you have a copy of that? Thanks -
Hi, iRobot,
the like to message format is gone, do you have a copy of that? Thanksi'd like to take a look at that as well
-
hello people, for the academical work, i try communication kuka with C# but get the error mesage
"An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
Additional information: The requested address is not valid in its context"
The example i run is this
https://github.com/erensezener/ku…rApplication.cs
What could be the problem?
thanksPS: I changed correctly ip and port
-
Awesome.
Possible to share both the codesys and C# code?
-