My touchpanel(HMI) is programmed with SQL and visual studio. here the error msgs, msgs, sensors status, Etc ar stored in sql data base and programmed in c# in visual studio. I have connected the sql and visual studio.
Now, Can you please tell me how to connect KUKA Krc2 with visual studio????????????????
Thank you
connecting visual studio with KRC2
-
knowledgesharing -
October 1, 2014 at 2:41 PM -
Thread is marked as Resolved.
-
-
You can't connect things to Visual Studio -- it's a development environment. I assume you mean that you want to connect your KRC2 to an C# application which you wrote in Visual Studio?
Is your C# application running on the robot, or on another PC?
Probably the only way you can do this is to buy the EKX Tech Package. OPC-Server might also work. The only other option is probably to use the COM port and RS232.
-
yes C# in visual studio
It is running on a industrial PC which is connected to the robot -
in your C# application you use software (driver/activeX,opc...) that can communicate with target platform (robot in this case). for example you can use Kuka.OPC
of course OPC need to be installed -
I don't think so.
But the customer said. he is writing a prot number and adapter setting in c#. and calling the robot by its ip address.
Do u have some idea???? how it it??? -
The only options I know of for communcating with a KRC2 via TCP/IP are either OPCServer, or EKX. Which Tech Packages does this robot have installed?
-
I don't think so.
But the customer said. he is writing a prot number and adapter setting in c#. and calling the robot by its ip address.
Do u have some idea???? how it it???you don't think so?
well ok, why don't you talk to your customer?
over the years I have done many projects using various programming languages (VB6, VB.NET, C#, etc - whatever company or client requested) to communicate with wide range of devices (various ECUs, PLCs, vision systems, sensors, laser scanners...).
on occasion I was reverse engineering protocols and making my own comms (this can take from few days to few weeks). since this is time consuming, it is only used when no other option was available. it is MUCH easier to get of the shelf product (ActiveX, OPC, whatever), integrate it into your application and you can be sending and receiving data within an hour.
if I was in your shoes, I would be contacting Kuka and asking what do you have that will let me read/write robot variables.
today (KRC4) common approach is to use Ethernet KRL or OPC. in time of KRC2, there ware similar products. why don't you go to source? -
This maybe can hlep to you.
It's about listening to byte streams in the communication process and
be able to analyze the format of the message.It is written in C++.
Maybe we can compile it into a dll and it can be referenced in c#. -
Have anybody tested the kukavarproxy.exe could works at KRC2? I only tested it at KRC4 ( KSS8.2 and KSS8.3) .
But I have my opinion about the kukavarproxy.exe : this app should only used for the purpose of researching , not for the production environment. Otherwise , if some errors unexpected happens, you will not get the official supports of KUKA.
other ways communication with KRC are:
1. use KUKA's software: Ethernet KRL , OPC, but must pay extra money .
2. KRC communicates with PLC, then PC communicates with PLC. -
Have anybody tested the kukavarproxy.exe could works at KRC2? I only tested it at KRC4 ( KSS8.2 and KSS8.3) .But I have my opinion about the kukavarproxy.exe : this app should only used for the purpose of researching , not for the production environment. Otherwise , if some errors unexpected happens, you will not get the official supports of KUKA.
other ways communication with KRC are:
1. use KUKA's software: Ethernet KRL , OPC, but must pay extra money .
2. KRC communicates with PLC, then PC communicates with PLC.I have tested on krc2 1 hour ago and there is no any problem
-
-
1 - connect robot to your Plc
2 -install visul stdio and simatic net in your pc
3 - you can use simatic net in VS and send data to plc
4 - connect pc to plc with Profibus or Eternet
you can by this way do send and receive data with robot and VS