Hi,
I am trying to send and receive packets from my PC using Ethernet KRL. I have been using TCP to do this but want to change to UDP connection. I have modified my XML file but not able to establish a connection with my controller.
Code: XML
<ETHERNETKRL>
<CONFIGURATION>
<EXTERNAL>
<TYPE>Client</TYPE>
</EXTERNAL>
<INTERNAL>
<ENVIRONMENT>Program</ENVIRONMENT>
<BUFFERING Limit="512"/>
<IP>192.168.0.100</IP>
<PORT>54601</PORT>
<ALIVE Set_Flag="8" Ping="10"/>
<PROTOCOL>UDP</PROTOCOL>
</INTERNAL>
</CONFIGURATION>
<RECEIVE>
<XML>
<ELEMENT Tag="Sensor/Message" Type="STRING"/>
<ELEMENT Tag="Sensor/Message/@I" Set_Flag="10" Type="STRING"/>
<ELEMENT Tag="Sensor/A" Type="BOOL"/>
<ELEMENT Tag="Sensor" Set_Flag="7" />
</XML>
</RECEIVE>
<SEND>
<XML>
<ELEMENT Tag="Robot/B"/>
<ELEMENT Tag="Robot/Mode"/>
</XML>
</SEND>
</ETHERNETKRL>
Display More
Please advise on what could be the issue
Regards