Good morning,
how can you send a string using modbus to arduino?
It would be possible ?
Thank you, Alberto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2017-12-02
Originally created by: scott_cunningham
I donβt think you can - at least Iβve never seen it. Modbus registers are WORDs. When I need to send a message, I create an enumeration on the logic side. Of course this means I am only sending a number, but I then take the enumeration and make a look up function on the visualization side that takes the number and assigns a string based off of the enumeration text.
The other option would be to block off say 10 WORDs on Modbus to pack in 20 chars. A bit of work to create the FB on both devices...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good morning,
how can you send a string using modbus to arduino?
It would be possible ?
Thank you, Alberto
Originally created by: scott_cunningham
I donβt think you can - at least Iβve never seen it. Modbus registers are WORDs. When I need to send a message, I create an enumeration on the logic side. Of course this means I am only sending a number, but I then take the enumeration and make a look up function on the visualization side that takes the number and assigns a string based off of the enumeration text.
The other option would be to block off say 10 WORDs on Modbus to pack in 20 chars. A bit of work to create the FB on both devices...