I would like to ask you about some help with Node-red. As you can see, my node-red’s project below. I want to read .txt file and send it to codesys using a modbus. My problem is, that I don’t know how to convert it to get it in codesys as an array of words. I have found this Topic, on the forum, but it’s not clear to me.
Yes, Codesys can write to files directly. Here are some file utility example projects FileUtilities.zip (265.9 KB)
And here is a nice Youtube video demoing this as well.
One thing to keep in mind in codesys when writing to the unsecured location, you may need to use " home/codesys/unsecured" . Codesys access to “home/dev/unsecured” was added in 3.4.1.