Free networking method of RS485 communication terminal

A 1. RS485, 2. RS485 technology, applied in the field of free networking of RS485 communication terminals, can solve the problems of serious time-consuming, affecting the communication efficiency of RS485 communication ports, inconvenient operation, etc., and achieve simple operation, efficient and convenient debugging, address non-repetitive effect

Active Publication Date: 2016-07-06
南京埃斯顿智能系统工程有限公司
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Obviously, the first three methods require manual intervention and are not convenient for on-site operation. The fourth method is time-consuming and seriously affects the communication efficiency of the RS485 communication port. The fifth method cannot place and replace the slave stations freely, which seriously affects Convenience of on-site operation

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
  • Free networking method of RS485 communication terminal
  • Free networking method of RS485 communication terminal
  • Free networking method of RS485 communication terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Embodiment 1. The method for free networking of RS485 communication terminals. The master station and each slave station adopt communication mode A to be connected in series to form a one-way semi-closed-loop communication topology. For example, a system consisting of 1 master and 4 slaves (refer to figure 1 ) The networking method is as follows (Note: The networking command is sent through communication mode A, and the response information is returned through RS485):

[0031] Step 1. The master station sends a networking command including the start address of the slave station to slave station A, and the master station starts timeout and waits for the response information from slave station A;

[0032] Step 2. After the slave station A receives the networking command, it takes the received slave station address as its own address, and returns the response information through RS485, and at the same time adds 1 to its own address and sends the networking command to the ...

Embodiment 2

[0043] Embodiment 2, the method for free networking of RS485 communication terminals, the master station and each slave station adopt communication mode A to form a closed-loop communication topology in series, send networking commands and return response information through communication mode A, and all response information is step by step Return, and finally forwarded by the slave station A to the master station. For example, a system consisting of 1 master and 4 slaves (refer to image 3 ) The networking method is as follows:

[0044] Step 1. The master station sends a networking command including the start address of the slave station to slave station A, starts timeout and waits for response information;

[0045] Step 2. After the slave station A receives the networking command, it takes the received slave station address as its own address, and returns the response information, adds 1 to its own address and sends it to the slave station B, and prepares to receive the res...

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 free networking method of an RS485 communication terminal. A master station is in unidirectional semi-closed-loop serial connection with slave stations; the master station sends a networking command to a first slave station, starts overtime timing and waits for response information; after the first slave station receives the networking command, the first slave station takes the received slave station address as its own address, returns the response information, and adds one to its own address and sends the address to a next slave station; if correct response information is received in the overtime range of the master station, the received slave station address is stored, timing is restarted, and the response information of the next slave station is waited; after the next slave station receives the networking command, the next slave station takes the received slave station address as its own address, returns the response information, adds one to its own address and sends the address to a next slave station until the master station is overtime, and a networking finishing command is sent through an RS485, thus finishing the networking process. According to the method, the wiring is simplified; moreover, the address of each slave station can be allocated automatically, accurately and rapidly without manual intervention; the positions of the slave stations can be freely placed or replaced; and the debugging is efficient and convenient.

Description

technical field [0001] The invention relates to a method for free networking of RS485 communication terminals. Background technique [0002] RS485 communication has been widely used in the field of industrial control due to its simple development, low cost and strong anti-interference ability. There are two wiring methods: two-wire system and four-wire system. Full duplex communication. In the RS485 communication network, the master-slave communication mode is generally adopted, that is, one master has multiple slaves. [0003] When the RS485 communication network adopts the half-duplex communication mode, only one terminal (master station or one of the slave stations) occupies the bus at a certain moment, that is, only one terminal can send information at a certain moment, and the other terminals can only receive information. When the addresses of the slave stations are the same, the information sent by the master station responds from multiple slave stations at the same...

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): H04L12/42H04L1/16
CPCH04L1/1657H04L12/42H04L2012/421
Inventor 罗禹叶伟中唐超
Owner 南京埃斯顿智能系统工程有限公司
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