A communication method for a slave station to adapt to two communication protocols

A technology of a communication protocol and a communication method, which is applied in the field of communication where a slave station adapts to two communication protocols, can solve the problems of increasing stability, reducing and increasing equipment costs and construction costs, and achieves low cost, high stability, and The effect of flexibility and adaptability

Active Publication Date: 2019-05-10
HUNAN SUPER INFORMATION
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This increases the equipment cost and construction cost, and adds an intermediate link, which also reduces the stability of the system.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A communication method for a slave station to adapt to two communication protocols
  • A communication method for a slave station to adapt to two communication protocols
  • A communication method for a slave station to adapt to two communication protocols

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] A communication method in which a slave station adapts to two communication protocols, the two communication protocols refer to the PROFIBUS-DP communication protocol and the MODBUS-RTU communication protocol, comprising the following steps:

[0042] Step 1: serial port initialization;

[0043] Including the data bit configuration of the initialized serial port and the baud rate of the communication;

[0044] Step 2: Synchronize the communication baud rate of the master station;

[0045] Use the current baud rate to receive the serial port message and perform an even check on the received serial port message. If there are N consecutive check errors, poll the baud rate in the baud rate table in turn to reset the baud rate of the serial port. To receive the data message, N is an integer greater than 2; until the even parity is passed, the baud rate matching between the slave station and the master station is completed, and the serial port message is received according to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a communication method for a slave station adapting to two communication protocols, comprising the following steps: step 1: serial port initialization; including initializing the data bit configuration of the serial port and the baud rate of communication; step 2: synchronizing the communication wave of the master station Baud rate; Step 3: Automatically identify the communication mode and process the serial port data; check the first two bytes of the received serial port message data, if the first two bytes are OXFF and OXFF, it is determined that the current communication is using PROFIBUS‑ DP communication protocol, calling the PROFIBUS-DP processing module to process the received data message; otherwise, calling the MODBUS-RTU processing module to process the received data message; the communication method of the slave station adapting to the two communication protocols is easy to implement , can automatically adapt to two kinds of communication protocols for communication.

Description

technical field [0001] The invention relates to a communication method for a slave station to adapt to two communication protocols. Background technique [0002] PROFIBUS field bus is the most widely used field bus technology in the world. PROFIBUS is not only suitable for communication between automation systems and field signal units, but also can be used to directly connect transmitters, actuators, transmissions and other field instruments with interfaces. and equipment to collect and monitor on-site signals, and replace a large number of traditional transmission cables with a pair of twisted pairs, which saves a lot of cable costs, and correspondingly saves construction debugging and maintenance time and costs after the system is put into operation. . According to statistics, the use of PROFIBUS can reduce the total project cost by 20-40%. There are as many as 250 automatic control manufacturers supporting PROFIBUS, more than 2,000 kinds of products, 200,000 applicatio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L1/00H04L12/403
CPCH04L1/004H04L1/0046H04L1/22H04L12/403
Inventor 周晓峰邓君
Owner HUNAN SUPER INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products