You are currently viewing Basic difference between can bus vs modbus protocol | communication
Basic difference between can bus vs modbus protocol | communication

Basic difference between can bus vs modbus protocol | communication

Spread the love

We know that in embedded sector mostly used protocol is Can and modbus so In this article we will see Basic difference between can bus vs modbus protocol | communication.

Basic CAN bus communication protocol

  1. ●CAN stands for controller area network.
  2. ●It was developed by BOSCH in1986.
  3. ●It does not require a host (master device) to communicate.
  4. ●It is a broadcast type of bus.
  5. ●It is a message based protocol.
  6. ●It has a serial half-duplex asynchronous communication.
  7. ●It is widely used in cars for communication between devices like airbag,headlight sensor,seatbelt sensor etc.
  8. ●Device are controlled based on priority (device address)
Basic CAN bus communication protocol
Basic CAN bus communication protocol

Basic of MODBUS communication :

  1. ●Oldest and popular automation protocol in process automation SCADA (supervisory control and data acquisition).
  2. ●Modbus was published by Modicon in 1979.
  3. ●It requires a host.
  4. ●It is not a broadcast type of bus.
  5. ●It has both half-duplex and full-duplex.
  6. ●It is use in ethernet ,RS-232,RS-485,RS-422.
  7. ●It is used in IOT ,PC,human machine interface

Some important point about MODBUS protocol

●Oldest and popular automation protocol in process automation SCADA (supervisory control and data acquisition).
●Modbus was published by Modicon in 1979.
●It requires a host.
●It is not a broadcast type of bus.
●It has both half-duplex and full-duplex.
●It is open standard and most of the devices are compatible,many companies use this protocol for communication.
●In the modbus network there exist a master and upto 247 slaves.
● Modbus master is the device which requests and writes information.
●Modbus slave is the device connected to the bus having a master to supply information.
●Each slave is assigned a unique address from 1 to 247.

Some important point about MODBUS protocol
Some important point about MODBUS protocol

●Start byte shows the start of the frame.
●Slave id is the unique id given to slave devices.
●Function code is the bits which tell operations to be performed by a master device like read,write etc.it is user defined.
●Data is user defined.
●CRC is a cyclic redundancy check for error while data transmission.
●Stop byte shows the end of the frame.

Summary:

In this article we saw some basic concept about modbus and CAN protocol so about this article you have any question then free to ask me.

Credit : Rohan Raj

I am Mr. Sachin pagar Embedded system engineer, the founder of Pythonslearning, a Passionate Educational Blogger and Author, who love to share the informative content on educational resources.

sachin Pagar

I am Mr. Sachin pagar Embedded system engineer, the founder of Pythonslearning, a Passionate Educational Blogger and Author, who love to share the informative content on educational resources.

Leave a Reply