OWEN.DAVID
Member
800 byte UDP packets are too large to be handled by the compact logix 5370 controllers.
The processor sockets buffer is in the region of 470bytes. If it receives a larger message my understanding is that we cannot even access the first bytes of the truncated message. In other words if we overflow the buffer then all bytes are inaccessible.
Given the UDP data source in our system is a black box and we cannot modify the incoming packet size or structure what options are there for getting the data into the controller?
So far I have come up with,
*Anybus / ProSoft module with compatible networks - any ideas what the UDP sockets network would be called or a standard protocol that could work with raw UDP packets?
*Using a c or python script to intercept the long packets and retransmit the data in UDP shorter packets that the 5370 controller can access (via a network PC)
*Using the excellent pylogix python library to act as a gateway from UDP to CIP in place of a hardware module.
Are there any other sensible options that I am missing? Thanks
The processor sockets buffer is in the region of 470bytes. If it receives a larger message my understanding is that we cannot even access the first bytes of the truncated message. In other words if we overflow the buffer then all bytes are inaccessible.
Given the UDP data source in our system is a black box and we cannot modify the incoming packet size or structure what options are there for getting the data into the controller?
So far I have come up with,
*Anybus / ProSoft module with compatible networks - any ideas what the UDP sockets network would be called or a standard protocol that could work with raw UDP packets?
*Using a c or python script to intercept the long packets and retransmit the data in UDP shorter packets that the 5370 controller can access (via a network PC)
*Using the excellent pylogix python library to act as a gateway from UDP to CIP in place of a hardware module.
Are there any other sensible options that I am missing? Thanks