toString in b&r

It seems that byReadData is an array of UDINT or DINT.
The conversion brsitoa is correct.
If you want to add the newline $n to the generated string, you could use an additional brsstrcat.

See also:
https://help.br-automation.com/#/en/4/programming%2Fprograms%2Fprogrammingmodel_programs_literalsiniec.html