Hello for All!
I know that some industrial devices (for example Omron camera) can send data directly to KRL.
But I can't do that. I have my own program that sends information to Windows on KUKA controller. On Windows I have the second program that transfers data to KRL. I think that I can send data without program on Windows.
I can configure KRL as client and send data directly to external PC.
But if I try to configure KRL as server and send data from external PC directly to KRL - I have troubles. KRL don't see data ($FLAG[1]=FALSE). If I send data to Windows on KUKA controller and then transfer it to KRL - it's OK.
What should I do to solve this problem?
.xml file:
QuoteDisplay More<ETHERNETKRL>
<CONFIGURATION>
<EXTERNAL>
<TYPE>Client</TYPE>
</EXTERNAL>
<INTERNAL>
<IP>172.31.1.147</IP>
<PORT>54601</PORT>
</INTERNAL>
</CONFIGURATION>
<RECEIVE>
<RAW>
<ELEMENT Tag="Buffer" Type="STREAM" Set_Flag="1" Size="64" EOS="13,10" />
</RAW>
</RECEIVE>
<SEND />
</ETHERNETKRL>
.src file
QuoteDisplay More...
RET=EKI_Init("REC_DATA")
RET=EKI_Open("REC_DATA")
WAIT FOR $FLAG[1]
RET=Eki_GetString("REC_DATA","Buffer",Bytes[])
RET=EKI_Close("REC_DATA")
RET=EKI_Clear("REC_DATA")
...