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

RS485-bus-based intelligent cabinet communication method and system

A communication method and smart cabinet technology, applied in the field of smart cabinet communication, can solve problems such as inability to distinguish data, inability to distinguish successive data, inability to automatically obtain addresses, etc., to achieve the effect of avoiding conflicts

Inactive Publication Date: 2017-09-19
SHENZHEN PRAFLY TECH
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the compact frame format, it is impossible to distinguish the data in a specific state. This technology cannot automatically obtain the address of the slave device. In addition, it cannot distinguish the successive data returned by the same slave device.

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
  • RS485-bus-based intelligent cabinet communication method and system
  • RS485-bus-based intelligent cabinet communication method and system
  • RS485-bus-based intelligent cabinet communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation manners of the present invention will now be described in detail with reference to the accompanying drawings.

[0040] refer to figure 1 , is a schematic structural diagram of the intelligent cabinet communication system based on the RS485 bus of the present invention.

[0041] The system includes a master device and at least one slave device. The master device is connected to all slave devices through the RS485 bus. Each slave device has a different address number and all address numbers are continuous. The address numbers can be represented by Addr0~AddrN, for example If there are 24 slave devices, you can use 0-23 to represent the address numbers of each slave device in turn. Of course, when actually sending through the protocol packet, it is expressed in binary or hexadecimal, such as 0x00~0x17.

[0042] The systems communicat...

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 relates to an RS485-bus-based intelligent cabinet communication method and system communication between master and slave devices. The master device is connected to at least one slave device by the RS485 bus and slave devices have different address numbers. The method comprises: S1, self definition of a communication protocol format and a command format in a communication protocol is carried out, wherein a preset field expresses a timestamp / user data; and S2, the master device obtains identity information of all the slave devices by following steps: the master device sends broadcast commands to all the slave devices, wherein the timestamps / user data in the broadcast commands at this time are used for identifying unit delay time; the slave devices determine the delay time of the slave devices based on the address numbers and the unit delay time and send return commands including the identity information of the slave devices after waiting with the local delay time after receiving the broadcast commands. Therefore, a conflict problem can be solved; and the master device can obtain addresses of all slave devices automatically without designation.

Description

technical field [0001] The invention relates to the field of intelligent cabinet communication, in particular to a communication method and system for an intelligent cabinet based on an RS485 bus. Background technique [0002] With the widespread popularization and use of smart devices, more and more different types of smart devices are required to communicate with the host in the single-chip system. Due to the limitation of the number of physical ports of the host, and to facilitate the design of upper-layer software, there are usually Multiple devices of the same type or similar functions will be connected to the same port of the host in some way, so as to facilitate the unified access and control of them by the host. [0003] Smart instruments are developed with the maturity of single-chip microcomputer technology. One of the necessary conditions for enterprises to select instruments is to have a network communication interface. The RS232 interface can realize full-duple...

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/403
CPCH04L12/403
Inventor 阮仕涛
Owner SHENZHEN PRAFLY TECH
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