Good afternoon.
We have to connect a RS485 8n1 half duplex to our logger.
We know that it´s possible to connect it by comport C5/C6.
Our device is a MODBUS slave. wich the following directions
MASTER QUERY FRAME:
Byte1(slave_adddress),Byte2(0x03),Byte3(0x00),Byte4(0x00),Byte5(0x00),Byte6(0x06),Byte7(CRC16_Lo),Byte8(CRC16_HIO).
That string can be "010300000001840a"
SLAVE RESPONSE FRAME
The response string has the following configuration in 17Bytes and We dont know how to read it.
Byte1(Slave address),Byte20x03),Byte3(0x0C), the rest of Bytes are in words, grouped by pairs, the first byte ofd the pair is the Hi value and the second is the LO value.
How we could make the proggram read it?
Thanks in advice.