Hello Guys, This my first experience with Node red. My project aim is to collect data from Schneider PLC using Modbus node. Whenever I connect my plc with Node red, Only I got wrong data from modbus. Like if my plc data is 52 modbus output is 43445 in array.
What data are you expecting?
What is the PLC data type you are requesting?
NOTE: Modbus is a 16 bit Integer based protocol. The answer will likely be to use the buffer
it outputs and do byte conversions. There is a helper node build for this: node-red-contrib-buffer-parser
Here are some examples of use: Search results for 'modbus node-red-contrib-buffer-parser' - Node-RED Forum
I need to collect data from LVDT.
PLC data type is real.
I don't know how to do a byte conversion.
That does not answer the questions I asked...
Did you review the search results?
Have you installed node-red-contrib-buffer-parser
Have you tried anything?
Also, there are built in demos in the node-red-contrib-buffer-parser
(Use CTRL+I > examples > node-red-contrib-buffer-parser) to import them
Also, the node-red-contrib-buffer-parser README has good details
Lastly, the built in help for node-red-contrib-buffer-parser is quite extensive.
Thank you Steve. Now I can read data from PLC using that buffer parser node...
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.