M340 communication problem

K

Thread Starter

Kenny

hello,

I'm trying out the M340 ethernet messaging mode to communicate with 100 different devices. I'm using a M340 2020 CPU with 2 NOE100, the cpu is HMI dedicated while the NOEs handle the devices.

The results at first are promising, i get very few to no errors at all. After time passes the error count rises and after about 2 hours i'm getting 100% errors on some of the devices. The errors im receiving are transmission errors (code 7 at read_var parameter register).

Because only 16 connections can be opened when the NOE functions as a client, i'm sending 16 requests at a time (using the READ_VAR function). every time i get a reply (activity bit drops to "0") i switch the IP address and send a new request.

The delay between each read is about 1 second, i've raised that to 5/20 seconds and it doesn't solve the problem.

any advice will be welcomed
thanks
 
Top