Automatic station address obtaining method of Modbus ASCII slave station and slave station

A technology for automatically obtaining station addresses, which is applied in data exchange through path configuration, electrical components, transmission systems, etc., can solve problems such as inability to automatically obtain station addresses, and achieve the effects of enhancing utilization, enhancing flexibility, and reducing load

Inactive Publication Date: 2014-04-09
SOUTHWEST UNIV
View PDF12 Cites 15 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 kind of method and slave station that slave station automatically obtains station address in Modbus ASCII, is used to solve the problem that slave station can't automatically obtain station address, makes slave station can realize plug and play, improves Modbus The flexibility and scalability of ASCII

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 station address obtaining method of Modbus ASCII slave station and slave station
  • Automatic station address obtaining method of Modbus ASCII slave station and slave station
  • Automatic station address obtaining method of Modbus ASCII slave station and slave station

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Such as figure 1 Shown is the topology diagram of the Modbus ASCII network, which is mainly composed of a Modbus ASCII master station and several Modbus ASCII 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 ASCII network is transmitted by this bus, and each correct communication message conforms to the Modbus ASCII transmission protocol standard.

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

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 station address obtaining method of a Modbus ASCII slave station and the slave station. The method comprises the steps: the slave station sends an address multiplexing explorer packet to a communication link of a Modbus ASCII network where the slave station is located, the address multiplexing explorer packet includes temporary station addresses and is used for detecting whether the temporary station addresses are occupied by other slave stations in the Modbus ASCII network or not; the slave station occupies the temporary station addresses and uses the addresses as fixed communication addresses when a detection result is that the temporary station addresses are not occupied by other slave stations in the Modbus ASCII network. By adopting the automatic station address obtaining method of the Modbus ASCII slave station, the problem that the slave station cannot atomically obtain the station addresses can be solved, the slave station can be plug and play, and the flexibility and the expansion capability of the Modbus ASCII network are 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 ASCII 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 implemented on Ethernet. 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. Known as "Modbus ASCII" and "Modbus RTU". [0003] For Modbus ASCII, 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...

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 Applications(China)
IPC IPC(8): H04L29/12H04L12/40
Inventor 赵亦欣吴小军刘静彭正福杨智苏晓贝
Owner SOUTHWEST UNIV
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