BiancoRoyal / node-red-contrib-modbus

maintained by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-modbus
BSD 3-Clause "New" or "Revised" License
278 stars 107 forks source link

modbus node error. #419

Closed colin0031 closed 5 months ago

colin0031 commented 8 months ago

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

5.26

What happened?

My usecase I am using node red and modbus node for communication between mobile robots and Automatic gates. When a robot is near the door it should open automatically. I am using modbus node to activate a relay in MOXA box.

Issue The problem is weird, When Robot sends a boolean value to modbus write node and the modbus write node doesn't receive it at the first time and a second push is necessary for modbus node to activate/deactivate the relay. I have tried it manually also using inject node. 90 percent time it receives but sometimes signal is being lost.

Server

Modbus-Server Node

How can this be reproduced?

create an inject node in node red and a modbus(modbus node should be connected to an IO device- I use moxa)

Try injecting boolean: true/false to modbus node. switch between true and false for 20 times and you will see at least some signals are being lost. modbuss

What did you expect to happen?

More testing required

Other Information

..

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 60 days with no activity. It will be closed in 30 days, but can be saved by removing the stale label or commenting.