This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

modbus

hello all,
i am implementing HMI touchscreen communication with LPC2148 i.e ARM7 using MODBUS RTU HEX ADDRESS(master). i am writing multiple register using function code=0x10

so query which i receive from HMI is as follows for address=0001 and writing 2 words.

01 10 00 01 00 02 04 1a 85 26 94 3f 5d

and i give response:

01 10 00 01 00 02 10 08

but after this HMI again gives me another string:

01 00 00 04 85 94 5d

i you notice this string is alternate display of query string where

10 02 03 1a 26 3f are eliminated.

pls explain me where is the problem.

to confirm above i entered again another address

query from HMI
01 10 8d ef 00 02 04 1a 85 26 94 89 cf

response from ARM
01 10 8d ef 00 02 5b 51

and i get string from HMI
01 8d 00 04 85 94 cf

pls guide me.
thanks