Modbus Serial In Test File

Hi All,

So I`ve been reading data through the serial modbus node. I then connected it directly to a write text file node hoping that I could use the data later. Only issue is - the data comes through as a raw format like this ----

í~ 9Ì•èB@B¾€ 9“7 ? DšàÈC|HC ¬ Q ?šõ`BêÉ 9Ì•èAüÓ€Bº€ 9“7 ? " H™¡ÈC|HC ¬ Q ?š^\BeY 9Ì•èAùG B
uÀ 9“7 > D“älC|HC ¬ Q ?›ÀÞB ž• 9Ì•èAö< B r 9“7 ? B”$ÔC|HC ¬ Q ?œóñB
­è 9Ì•èAó³ B Q€ 9“7 ? ! F—¤C|HC ¬ Q ?œ[


How do I convert this into something I can use from the text notepad document?

Thank you in advance.

apologies as I know nothing about modbus - but that looks more like serial data received at the wrong speed / baud rate - does modbus have a fixed baud rate ?

In addition (or alternatively) is not modbus data binary rather than human readable?
I would start by feeding the output of the modbus into a debug node and make sure you get sensible data.

The modbus response reads it as a buffer but I dont know what the initial decoder is doing , ie what the serial modbus node reads it as before its changed into something else

The question is, what is in the buffer. Is it binary data or some human readable form? If it is binary then what are you expecting to see in the file?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.