I need help to respond back from a Modbus Slave with a value into holding register, so that i can publish certain values like temperature ,pressure etc from our PLC (Arduino) to third party systems like Modscan or BMS software. Please Help
I need help to respond back from a Modbus Slave with a value into holding register, so that i can publish certain values like temperature ,pressure etc from our PLC (Arduino) to third party systems like Modscan or BMS software. Please Help
Hi Sunil, we’re probably going to need a little more information to go on, including an idea of how much you know and understand about MODBUS, and how much experience you’ve got with this.
For starters, is this MODBUS ASCII, RTU or TCP/IP?
Is your hardware ok, and is your Arduino code receiving the message at all, and is it understanding it correctly?
Have you got yourselves a copy of the MODBUS protocol documents?
Finally, is this a commercial project? It sounds a lot like it is, in which case we’ll done for winning it, now you’re on a steep but worthwhile learning curve!
A
i am using modbus RTU , Hardware is good and my arduino receiving the message, i am a fresher not an expierienced...it is a commercial project.
i am using modbus RTU , Hardware is good and my arduino receiving the message, i am a fresher not an expierienced...it is a commercial project.
Ok, thanks Sunil - can you post some examples of the messages you’re receiving, and your Arduino code?
We can then work on decoding the incoming message sensibly, and working out how you ought to respond.
A