Agreed It's not "locking up", it just seems unable to successfully respond to further ModBusTCP request.
I have in fact tested giving the PLC a "rest" in order to allow it to recover, to no avail.
It seems that in order to reproduce this issue, I have to bombard the PLC with way too much traffic.
I'm not sure what is causing multiple modbus requests for a given TCP packet, but it's agreed that that issue is on my side.
6) A TCP frame must transport only one MODBUS ADU. It is advised against sending multiple MODBUS requests or responses on the same TCP PDU
as per MODBUS MESSAGING ON TCP/IP IMPLEMENTATION GUIDE V1.0b
I can easily change my test program to not send so much at one time or put a pause in there after each packet send and/or figure out what is combining my individual packets... In fact add a 10ms pause after I do my packet send, seems to have corrected this issue easily.
My overall concern is the ability of the PLC to recover from an "illegal" request.
IMHO the ECOM100 should be armored to ignore illegal requests, not go on vacation when an illegal request occurs.
so I started to type this up then you had your second reply...
we are both on the same page and thank you for your efforts