Hello everyone,
I'm using Producer-Consumer model and everything works great but I'm confused about API. In programming manual to logix5000 I found that the RPI can be set in range from 0.2ms to 536870.9ms.
My project which is used to verify min RPI is very simple. Just one DINT is sent from producer to consumer, there is no program in controller. This is what i see in Wireshark:
For RPI=0.200ms ----> API_MAX=0.455ms ........... delay=0.255ms
For RPI=0.400ms ----> API_MAX=0.653ms ........... delay=0.253ms
For RPI=1ms ----> API_MAX=1.271ms ............... delay=0.271ms
The average 'extra' delay added to each packet is about 0.260ms and i don't understand why. With RPI=2ms that delay is only about 10% of RPI so it's not that bad but why I can't use the smallest values of RPI?
I'm using Producer-Consumer model and everything works great but I'm confused about API. In programming manual to logix5000 I found that the RPI can be set in range from 0.2ms to 536870.9ms.
My project which is used to verify min RPI is very simple. Just one DINT is sent from producer to consumer, there is no program in controller. This is what i see in Wireshark:
For RPI=0.200ms ----> API_MAX=0.455ms ........... delay=0.255ms
For RPI=0.400ms ----> API_MAX=0.653ms ........... delay=0.253ms
For RPI=1ms ----> API_MAX=1.271ms ............... delay=0.271ms
The average 'extra' delay added to each packet is about 0.260ms and i don't understand why. With RPI=2ms that delay is only about 10% of RPI so it's not that bad but why I can't use the smallest values of RPI?