If you enjoyed this video you will also find my free newsletter valuable. Join 2500+ subscribers to get weekly actionable tips on the architecture and development of IIoT solutions. → SUBSCRIBE HERE: www.industry40.tv
In your example you read out 4 bytes, you convert these 4 bytes into a float number. How to do if you send a 2-byte request. How can you intercept 2 bytes and convert them into a float number?
Hello. I have a qeustion about using this modbus lib. When I disconnect (physically) slave device from hardware where Node-red server runs, whole Node-red server goes down. In console window I see next message: "Error: Writing to COM port (GetOverlappedResult): Operation aborted". To solve this problem I should restart Node-red server. What wrong I do? Any ideas?