Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic slave station address acquisition method through Modbus RTU and slave station

A technology of automatic acquisition and station address, applied in the direction of data exchange, electrical components, transmission system, etc. through path configuration, can solve the problem of unable to automatically acquire station address, etc., to achieve the effect of enhancing utilization, reducing load, and enhancing flexibility

Active Publication Date: 2014-06-11
SOUTHWEST UNIVERSITY
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a method and the slave station for automatically obtaining the station address in a Modbus RTU, which is used to solve the problem that the slave station cannot automatically obtain the station address, so that the slave station can realize plug and play, and improve the Modbus RTU flexibility and scalability

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
  • Automatic slave station address acquisition method through Modbus RTU and slave station
  • Automatic slave station address acquisition method through Modbus RTU and slave station
  • Automatic slave station address acquisition method through Modbus RTU and slave station

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] like figure 1 As shown, it is the topology diagram of the Modbus RTU network, which is mainly composed of a Modbus RTU master station and several Modbus RTU slave stations, among which the stations are connected through the RS-485 bus, and connected to 120Ω at both ends of the 485 bus the terminal resistance. The communication between stations in the Modbus RTU network is transmitted by this bus, and each correct communication message conforms to the Modbus RTU transmission protocol standard.

[0038] According to the standard of the Modbus RTU transmission protocol: the communication is first initiated by the master station to the slave station, and the master station of Modbus RTU can only initiate one communication transaction at a time, all the slave stations in the network will receive the request message, and then pass Analyze the content of the address field of the message to determine whether the content is the address of the station, and if so, make a correspo...

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 an automatic slave station address acquisition method through Modbus RTU and a slave station. The method includes the step that the slave station sends an address reuse detection packet to a communication link of a Modbus RTU network where the slave station is located, wherein the address reuse detection packet comprises a temporary station address and is used for detecting whether the temporary station address is occupied by other slave stations in the Modbus RTU network, and if the detection result shows that the temporary station address is not occupied by other slave stations in the Modbus RTU network, the slave station uses the temporary station address as a fixed communication address of the slave station. According to the method, the problem that the slave station can not obtain the station address automatically can be solved, so plug and play of the slave station can be achieved, and the flexibility and the expandability of the Modbus RTU can be improved.

Description

technical field [0001] The invention relates to the technical field of industrial network control, in particular to a method for automatically obtaining a station address by a slave station in Modbus RTU and the slave station. Background technique [0002] Modbus (a bus) was invented by Modicon in 1979. It is the world's first real bus protocol for industrial field. After several years of development, it has been widely used and can be used in serial communication or Ethernet Realize online. Among them, Modbus is mainly divided into ASCII (American Standard Code for Information Interchange, American Standard Code for Information Interchange) mode or RTU (Remote Terminal Unit, remote terminal unit) mode according to the transmission mode. Called "Modbus ASCII" and "Modbus RTU". [0003] For Modbus RTU, its link protocol is a master-slave protocol, that is, at the same time, the bus can have at least one slave station, but only one master station, and the communication is in...

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
IPC IPC(8): H04L29/12H04L12/40
Inventor 黄伟吴小军刘娟吕跃跃李建勇杨国东
Owner SOUTHWEST UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products