Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for detecting communication state of rs485 serial device

A state detection device and RS485 technology, applied in the field of communication, can solve problems such as slow speed, inability to determine the cause of communication failure failure, etc., to achieve the effect of improving detection efficiency and improving determination efficiency

Active Publication Date: 2019-12-31
HNAC TECH
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current detection of the communication status of the equipment is to count the number of communication failures of the equipment connected to the serial port. When the number of communication failures of each equipment reaches the preset value, an alarm event will be generated for the corresponding equipment to connect Take M(a1, a2...am) devices on the same serial port as an example, when the number of communication failures of a1 reaches the preset value, an alarm of "communication interruption of a1 device" is generated; when the number of communication failures of a2 reaches the preset value , generate an alarm of "a2 device communication interruption", and so on, when the number of am communication failures reaches the preset value, an alarm of "am device communication interruption" will be generated. This detection method can only know that the communication of the device is interrupted. Moreover, the speed of the alarm is slow, and it is impossible to determine the cause of the failure when the communication failure occurs

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
  • Method and device for detecting communication state of rs485 serial device
  • Method and device for detecting communication state of rs485 serial device
  • Method and device for detecting communication state of rs485 serial device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0015] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0016] Such as figure 1 As shown, in one embodiment, a method for detecting the communication state of an RS485 ser...

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 provides an RS485 serial device communication state detecting method. The method comprises: acquiring communication failure times in one communication process of a to-be-detected serial device; judging whether the communication failure times is larger than a preset value; when the communication failure times is larger than the first preset value, determining device faults and generating device alarm events; when the communication failure times is smaller than the first preset value, judging whether the communication failure times is larger than a second preset value which is smaller than the first preset value; when the communication failure times is larger than the second preset value, judging whether the communication failure times of another device connected with the same serial port is larger than the second preset value; and when the communication failure times of another device is larger than the second preset value, determining the serial port fault and generating a serial port alarm event. The invention further provides an RS485 serial device communication state detecting device. By comparing the communication failure times with different preset values, fault event can be quickly determined, and fault reasons can be reflected.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a communication state detection method and device of RS485 serial communication equipment. Background technique [0002] Thanks to the development of communication technology, various communication devices are becoming more and more popular. These communication devices are usually connected to the same serial port such as RS-485 serial port. During the use of communication devices, communication failures may occur. In order to quickly To find the cause of the communication failure, it is necessary to detect the communication status. [0003] The current detection of the communication status of the equipment is to count the number of communication failures of the equipment connected to the serial port. When the number of communication failures of each equipment reaches the preset value, an alarm event will be generated for the corresponding equipment to connect Take M(a1, a...

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 Patents(China)
IPC IPC(8): H04L12/24H04L12/26
CPCH04L41/0677H04L43/50
Inventor 曾涛苗洪雷陈晓吴凌云
Owner HNAC TECH