I want to make interfacing of Modbus RTU to the 8051 via rs232. I am new to this project, so please anyone help me.....
I have made serial communication hardware and simple code for communication of 8051 to PC hyper-terminal. Now i want to make C code for 8051 to communicate with MODBUS RTU protocol...... Can anyone please help me to write code...
I guess, you'll want to read the documents Modbus_Application_Protocol and Modbus_over_serial_line from modbus.org.
Needless to say that there are tons of MODBUS example codes on the internet. But it might be reasonable to write your own code from the scratch. It's easy and will give you a better understanding.
->I want to interface Microcontroller 8051 with AC drive via RS-485 Protocol. And i didn't get reply when i am sending request to Drive.. I had made a Packet frame used to request to get response from drive.....
->I want to show only decimal data Stored in Holding Register of Drive on my 16x2 LCD attached to 8051.
Either your PC MODBUS interface is wrong or you misunderstand the required MODBUS setup of your drive (address, supported register numbers, baud rate, framing, bus wiring).