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

MODEBUS RTU WITH 8051 CODE

HEY GUYS, i need some example code of modbus rtu with 8051 controller

Parents
  • yeah i know sir, but actually i have some sensor code with 8051 controller. i want to use MODBUS RTU interface with RS485 in that sensor code so i said modbus code with 8051 controller. By the way i have MODBUS code in pic controller but i need this code in 8051 controller.

Reply
  • yeah i know sir, but actually i have some sensor code with 8051 controller. i want to use MODBUS RTU interface with RS485 in that sensor code so i said modbus code with 8051 controller. By the way i have MODBUS code in pic controller but i need this code in 8051 controller.

Children
  • So just use that as your example, then!

    Again, the MODBUS protocol remains the same whether you are using a PIC or an 8051 or anything else.

    The only bit that's going to be different is the bit that directly talks to the 8051 UART hardware - but that bit has nothing to do with MODBUS.