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.
<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