Modbus Protocol design

A

Thread Starter

Amit dhoke

I am trying to communicate PLC and raspberry Pi (Embeded controller) through Modbus. prior I communicated Raspberry pi with Laptop (macbook pro) by connecting ethernet cable to ethernet port of Raspberry pi and laptop and given static IP address to both and got the Linux image.

Now I wanted to Read/Write action to GPIO pins of Raspberry Pi, and so I am developing a Modbus protocol in c with libmodbus library. Do anyone know How to do it? and I wanted to know What type of protocol this will be (either modbus RTU, or TCP/IP or Ethernet).
 
Top