C
Hi,
question question. How to construct a modbus rtu message ready to be sent over the Ethernet.
The problem is I know it consist of a slave address, a function code, starting address, registers to be read and followed by the CRC, a eight byte message.
The problem is when i connect to the ip address over the port I specified, it sends the bytes but the network echoes back my query.
i.e.using function code 4, I generate a 8 byte message consisting of 0A 04 00 00 0A 71 76 and it over, it replies back the same bytes to me.
i would appreciate if you could help as I am having a big headache over this asap.
Thanks in advance
question question. How to construct a modbus rtu message ready to be sent over the Ethernet.
The problem is I know it consist of a slave address, a function code, starting address, registers to be read and followed by the CRC, a eight byte message.
The problem is when i connect to the ip address over the port I specified, it sends the bytes but the network echoes back my query.
i.e.using function code 4, I generate a 8 byte message consisting of 0A 04 00 00 0A 71 76 and it over, it replies back the same bytes to me.
i would appreciate if you could help as I am having a big headache over this asap.
Thanks in advance