SerafinTech / node-red-contrib-cip-st-ethernet-ip

A Node-RED node to interact with Allen Bradley / Rockwell PLCs. SerafinTech Version
GNU General Public License v3.0
2 stars 3 forks source link

Not all data are written when a lot of messages are sent to eth-ip out #13

Open bombjackit opened 4 months ago

bombjackit commented 4 months ago

Describe the bug

I have an array of objects (about 40 elements) : each object contain the name of variable and the value to write (value is a string like 'AA01').

If I use split, to divide array in one message per object, and use a eth-ip out to write data (before write I set variable and payload correctly), only a part of 40 elements are really write (about 30%).

To solve the problem I find a workround : I inserted a delay object to limit rate to1 message every 2 seconds.

To Reproduce

Create an array as described and see what happen when each element is send to eth-ip out

Expected behavior

All messages must be written correctly without insert rate limit.

Environment