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
Now, do you REALLY believe anybody except yourself has the knowledge to address this issue?
hello sir, thanks for reply. i just want help. if anyone have impelented the complete protocol then they will reply. i have given problem as this is the forum for solving doubts, right? so if anyone has faced such problem then i would like to know the answer as i may go wrong. my protocol is working well for other function code. only in this protocol i m having problem. so if you can guide me then that will be appreciated. thank you
But MODBUS is very application specific usually - the fact that you are getting the wrong reply indicates that you have sent the wrong reply. I don't see directly how anybody without thorough knowledge of your product can help you.
No - this is a forum for discussing Keil products:
http://www.keil.com/forum/
"The Keil Discussion Forum is an open forum where you may post questions and comments about Keil products"
Your post seems to have nothing specifically to do with Keil products.
And, as Tamir says, your question seems to relate to the specific details of your particular implementation - which nobody else is going to know about!