Home  >  Article  >  What are the 5 industrial communication protocols?

What are the 5 industrial communication protocols?

青灯夜游
青灯夜游Original
2022-09-28 11:52:0422999browse

5 kinds of industrial communication protocols: 1. Modbus protocol, which is a universal language used in electronic controllers; 2. RS-232 protocol, which is a serial physical interface standard; 3. RS- 485 protocol is developed on the basis of RS232; 4. HART protocol is a communication protocol used between on-site intelligent instruments and control room equipment; 5. MPI protocol is a cross-language communication protocol, used for writing parallel computers.

What are the 5 industrial communication protocols?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

Industrial communication protocols refer to the rules and agreements that both entities in the industrial control field must follow to complete communications or services.

5 kinds of industrial communication protocols: modbus communication protocol, RS-232 communication protocol, RS-485 communication protocol, HART communication protocol, MPI communication

Modbus Communication Protocol

The Modbus protocol was originally developed by Modicon. In late 1979, the company became part of the Schneider Automation Department. Now Modbus is the most popular protocol in the industrial field in the world. This protocol supports traditional RS-232, RS-422, RS-485 and Ethernet devices.

Because the Modbus protocol is completely open and transparent, and the required software and hardware are very simple, it has become a universal industry standard. Many industrial equipment, including PLC, DCS, smart meters, etc., are using the Modbus protocol as the communication standard between them. With it, control equipment produced by different manufacturers can be connected into an industrial network for centralized monitoring.

Features

Modbus protocol is a universal language applied to electronic controllers. Through this protocol, controllers can communicate with each other, with controllers and other devices via a network (such as Ethernet). It has become a common industry standard. This protocol defines a message structure that controllers understand to use, regardless of the network over which they communicate.

Modbus communication protocol is a master-slave asynchronous half-duplex communication protocol. It adopts a master-slave communication structure, which allows one master station to communicate with multiple slave stations for two-way communication. It describes the process by which a controller requests access to other devices, how to respond to requests from other devices, and how to detect and log errors. It establishes a common format for message domain layout and content.

The Modbus protocol includes ASCII, RTU and other communication methods, but does not specify the physical layer. This protocol defines the message structure that controllers can understand and use regardless of the network over which they communicate. The standard Modicon controller uses RS232C to implement serial Modbus. The ASCII and RTU protocols of Modbus stipulate the structure of messages, data, commands and response methods. Data communication adopts the master-slave mode. The master station sends a data request message, and the slave station can send data to the master station after receiving the correct message. To respond to the request; the master station can also directly send messages to modify the data of the slave station to achieve bidirectional reading and writing.

What are the 5 industrial communication protocols?

When communicating on a Modbus network, this protocol determines that each controller needs to know their device address, identify messages sent by address, and determine what should occur. What kind of action. If a response is required, the controller will generate feedback information and send it using the Modbus protocol. On other networks, messages containing the Modbus protocol are converted into the frame or packet structure used on that network. This transformation also extends the method of resolving stanza addresses, routing paths, and error detection on a specific network basis.

When communicating on the network, the Modbus protocol determines that each controller needs to know their device address, identify messages sent by address, and decide what actions to take. If a response is required, the controller will generate a reply and send it to the interrogating party using the Modbus protocol.

Modbus protocol requires data verification. In addition to parity check, the serial protocol uses LRC verification in ASCII mode and 16-bit CRC verification in RTU mode. In addition, Modbus uses a master-slave mode to regularly send and receive data. In actual use, if a slave station is disconnected (such as failure or shutdown), the master can diagnose it, and when the fault is repaired, the network can be automatically connected again. Therefore, the Modbus protocol has better reliability.

Modbus and OSI reference model
What are the 5 industrial communication protocols?

ASCII communication method of Modbus
What are the 5 industrial communication protocols?

What are the 5 industrial communication protocols?

What are the 5 industrial communication protocols?

What are the 5 industrial communication protocols?

What are the 5 industrial communication protocols?

RS-232 communication protocol

RS-232 is developed by the Electronic Industry Association EIA (Electronic Industry Association) A serial physical interface standard. RS is the abbreviation of "Recommended Standard" in English, and 232 is usually the identification number. The RS-232 interface appears in the form of 9 pins (DB-9) or 25 pins (DB-25). Generally, there are two sets of RS-232 interfaces on personal computers, called COM1 and COM2 respectively.

RS-232 interface

The RS-232 standard has 25 signal lines and 9 signal lines, including a main channel and an auxiliary channel. In most cases, the main channel is mainly used. For general duplex communication, only a few signal lines can be implemented, such as a transmitting line, a receiving line and a ground line.

Transmission rate

The data transmission rates specified by the RS-232 standard are 50, 75, 100, 150, 300, 600, 1200, 2400, 4800 , 9600, 19200 baud rate.

Remote communication connection data terminal

The RS-232 standard was originally developed for remote communication connection data terminal equipment (DTE) data communication equipment (DCE). Therefore, the formulation of this standard did not consider the application requirements of computer systems. But now it is widely used as a near-end connection standard between computers (more precisely, computer interfaces) and terminals or peripherals. Obviously, some provisions of this standard are inconsistent with or even contradictory to computer systems. With this background understanding, it is not difficult to understand why the RS-232C standard is incompatible with computers.

RS-232 Disadvantages:

(1) The signal level of the interface is relatively high, which easily damages the chip of the interface circuit, and is incompatible with TTL levels. Therefore, a level conversion circuit is required to connect to the TTL circuit.

 (2) The transmission rate is low. During asynchronous transmission, the baud rate is ≤20Kbps.

 (3) The interface uses a signal line and a signal return line to form a common ground transmission form. This type of common ground transmission is prone to common mode interference, so its immunity to noise interference is weak.

  (4) The transmission distance is limited, and the standard maximum transmission distance is 50 feet (actual ≤ 15 meters).

RS-485 Communication Protocol

The RS-485 standard is developed on the basis of RS232, adding multi-point and two-way communication capability, which allows multiple transmitters to be connected to the same bus, while increasing the drive capability and conflict protection features of the transmitter, expanding the common mode range of the bus, and was later named the TIA/EIA-485-A standard.

Electrical characteristics of RS-485:

Logic "1" is represented by the voltage difference between the two lines being (2-6) V; logic "1" 0" is expressed by the voltage difference between the two lines being - (2-6) V. The interface signal level is lower than that of RS-232, which makes it less likely to damage the chip of the interface circuit. Moreover, the level is compatible with the TTL level and can be easily connected to the TTL circuit.

Transmission rate:

The maximum data transmission rate of RS-485 is 10Mbps

RS-485 interface:

It uses a combination of balanced driver and differential receiver, which has enhanced anti-common mode interference capability, that is, good anti-noise interference.

Baud rate:

1200bps, 2400bps, 4800bps, 9600bps, 19200bps, 38400bps, 125K

Communication interface mode :

## RS485 interface: asynchronous, half-duplex, serial

Disadvantages:

In many cases, connecting RS -485 communication link simply uses a pair of twisted pairs to connect the "A" and "B" ends of each interface. The connection to the signal ground is ignored. This connection method can work normally in many situations, but it buries a great hidden danger of common mode interference: the RS-485 interface uses a differential signal transmission method and does not require relative To detect the signal at a certain reference point, the system only needs to detect the potential difference between the two lines. But people often ignore that the transceiver has a certain common-mode voltage range. The common-mode voltage range of the RS-485 transceiver is -7~12V. Only when the above conditions are met, the entire network can work normally. When the common-mode voltage in the network line exceeds this range, it will affect the stability and reliability of communication, and even damage the interface.

HART protocol

HART (HighwayAddressable Remote Transducer), an open communication protocol for addressable remote sensor high-speed channels, is a product of the American ROSEMOUNT company. A communication protocol introduced in 1985 for use between field smart instruments and control room equipment. HART devices provide communication with relatively low bandwidth and moderate response time. After more than 10 years of development, HART technology has become very mature abroad and has become the industry standard for global smart instruments.

The HART protocol uses the FSK frequency shift keying signal based on the Bell202 standard, superimposing an audio digital signal with an amplitude of 0.5mA on the low-frequency 4-20mA analog signal for two-way digital communication, with a data transmission rate of 1.2Mbps. Since the average value of the FSK signal is 0, it does not affect the size of the analog signal transmitted to the control system, ensuring compatibility with existing analog systems. In the HART protocol communication the main variables and control information are transmitted by 4-20mA. If necessary, additional measurements, process parameters, device configuration, calibration and diagnostic information are accessed through the HART protocol.

Communication model:

What are the 5 industrial communication protocols?

##MPI communication protocol

MPI is a cross-language communication protocol for writing parallel computers. Supports point-to-point and broadcast. The goals of MPI are high performance, large scale, and portability. MPI remains the main model for high-performance computing today.

MPI protocol, its full English name is MulTI-point-Interface. Master/master protocol or master/slave protocol can be configured between PLCs. How to operate depends on the device type: If the control stations are all s7-300/400 series PLCs, then establish a master/master connection relationship. Because the MPI protocol supports multi-master communication, all s7-300 CPUs can be configured as network masters. Station, data exchange between PLCs can be realized through the master/master protocol. If some control stations are s7-200 series PLCs, a master/slave connection relationship can be established. Because the s7-200 CPU is a slave station, the user can realize the data reading and writing operations of the s7-300 CPU on the s7200 CPU through network instructions.

For more related knowledge, please visit the

FAQ column!

The above is the detailed content of What are the 5 industrial communication protocols?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn