BiancoRoyal/node-red-contrib-modbus

Queue and message request

thalesmaoa opened this issue · 1 comments

Which node-red-contrib-modbus version are you using?

5.25.0

What happened?

I'm using NodeRed with modbus node to request data from 36 inverters using RS485. After reading the documentation, I've noticed that, enabling buffer serial, messages were queued.
Since each one has a different node id, I've built a flow to serialize the messages as shown bellow.

image

The problem is, if I define the delay node bellow 10ms, only some messages arrive. I'm not sure if this is a problem with modbus node, or if my output messages are overwritten (modbus answer so fast that before the function node act, it receives another inout).

Server

Modbus-Server Node

How can this be reproduced?

Using serial, 19200, create 36 clients and request them all at once.

What did you expect to happen?

All messages to be received.

Other Information

No response

Not sure if was the last update, but I can send messages and they are being queued correctly.