Hello all,
I have an issue when trying to open connections using EthernetKRL (EKI_Init()). It throws an error saying "EKI02304 - Insufficient memory". The manual does not say anything about that error code. We had the communication working fine earlier, but during our testing we were not clearing the connection when we closed it using EKI_Clear(), which might have caused the memory to full up. We tried using the EKI_Clear(). EKI_ClearBuffer() as suggested in the manual, but none of them worked without having the connection open.
Krc4 - 8.5.4
EthernetKRL - 3.1
The configuration we have for the channel:
Code
<CONFIGURATION>
<EXTERNAL>
<TYPE>Server</TYPE>
<IP>172.31.1.100</IP>
<PORT>54612</PORT>
</EXTERNAL>
<INTERNAL>
<ENVIRONMENT>Program</ENVIRONMENT>
<BUFFERING Mode="FIFO" Limit="512"/>
<BUFFSIZE Limit="65534"/>
<ALIVE Set_Flag="1" Ping="200"/>
<MESSAGES Display="warning" Logging="warning" />
</INTERNAL>
</CONFIGURATION>
<SEND>
<XML>
<ELEMENT Tag="Neo/Connect" Type="REAL"/>
<ELEMENT Tag="Neo/Disconnect" Type="INT"/>
<ELEMENT Tag="Neo/RunJob" Type="INT"/>
<ELEMENT Tag="Neo/SendPosition/@X" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Y" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Z" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Roll" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Pitch" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Yaw" Type="REAL"/>
</XML>
</SEND>
<RECEIVE>
<XML>
<ELEMENT Tag="Neo/Connect" Type="INT"/>
<ELEMENT Tag="Neo/Disconnect" Type="INT"/>
<ELEMENT Tag="Neo/RunJob/PartID" Type="INT"/>
<ELEMENT Tag="Neo/RunJob/PickID" Type="INT"/>
<ELEMENT Tag="Neo/RunJob/ObjectType" Type="INT"/>
<ELEMENT Tag="Neo/RunJob/NumberOfParts" Type="INT"/>
<ELEMENT Tag="Neo/RunJob/ObjectCount" Type="INT"/>
<ELEMENT Tag="Neo/RunJob/PartStatus" Type="INT"/>
<ELEMENT Tag="Neo/RunJob/Pose/@X" Type="REAL"/>
<ELEMENT Tag="Neo/RunJob/Pose/@Y" Type="REAL"/>
<ELEMENT Tag="Neo/RunJob/Pose/@Z" Type="REAL"/>
<ELEMENT Tag="Neo/RunJob/Pose/@Roll" Type="REAL"/>
<ELEMENT Tag="Neo/RunJob/Pose/@Pitch" Type="REAL"/>
<ELEMENT Tag="Neo/RunJob/Pose/@Yaw" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@X" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Y" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Z" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Roll" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Pitch" Type="REAL"/>
<ELEMENT Tag="Neo/SendPosition/@Yaw" Type="REAL"/>
</XML>
</RECEIVE>
Display More
Attached the EthernetKRL log.
Any help is appreciated, thanks!