AmazingNoob
Member
Hi there,
I have a scenario and wonder how it would work. Or how udp work in general.
I have a plc , and many pcs (100) that multicast to the plc through udp at a 1400 bytes each. my plc rpi is every 50ms.
This is how I think it work, please correct me if I'm wrong.
The plc will listen for a connection to each of these pc within a scan, and if there is a connection, the next scan it will read out the packet from each pc. With each packet is about 1400 bytes, if the plc cannot finish reading the packet within the scan time, does the nic on the plc queue the packet and receive it within next scan? Does the packet get lost, and the pc will have to retransmit it again? Do I need to do some data handling (merging) if the fragment is read in the next scan?
I have a scenario and wonder how it would work. Or how udp work in general.
I have a plc , and many pcs (100) that multicast to the plc through udp at a 1400 bytes each. my plc rpi is every 50ms.
This is how I think it work, please correct me if I'm wrong.
The plc will listen for a connection to each of these pc within a scan, and if there is a connection, the next scan it will read out the packet from each pc. With each packet is about 1400 bytes, if the plc cannot finish reading the packet within the scan time, does the nic on the plc queue the packet and receive it within next scan? Does the packet get lost, and the pc will have to retransmit it again? Do I need to do some data handling (merging) if the fragment is read in the next scan?