Dynamic networking method and communication method based on RS-485
A technology of RS-485 and communication method, which is applied in the field of communication, can solve the problems such as the inability to dynamically add or delete nodes, and achieve the effect of expanding application scenarios
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] In a dynamic networking method based on RS-485 provided in this embodiment, a point-to-multipoint bus mode is used for dynamic networking between the master and the slave, such as figure 1 As shown, a host is connected to multiple slaves through the RS-485 bus, and the host communicates with the slaves in a specified frame format, and each communication is initiated by the host.
[0036] Specifically, as figure 2 As shown, the dynamic networking method based on RS-485 includes the following steps:
[0037] S1. The host has a heartbeat time T every interval a Send query frames to all slaves through the RS-485 bus;
[0038] S2. After all slaves on the RS-485 bus receive the query frame, in the first time period T w The query response frame is sent to the host by means of time-sharing response. The current slave address and slave ID of the slave are recorded in the query response frame; when the newly mounted slave in the network generates the query response frame, an...
Embodiment 2
[0046] This embodiment proposes a communication method based on RS-485. On the basis of the existing technology, the dynamic networking method based on RS-485 described in Embodiment 1 is integrated into the communication process. When using RS-485 When the bus is networked, nodes can be dynamically added or deleted, and the efficient and stable communication can be ensured.
[0047] Specifically, the design of the RS-485 communication protocol generally adopts a typical hierarchical structure, which mainly includes a physical layer and a data link layer. The physical layer mainly completes the following functions: when sending data, the data sent by the data link layer is converted into serial-to-parallel bytes, and the corresponding start bit, check bit and stop bit are added, and then the converted signal is sent. On the physical channel; when receiving data, serially receive the level signal from the physical channel, then perform level conversion, check, serial-to-paralle...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com