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

Method for identifying frame address in asynchronous communication control

A technology of address identification and asynchronous communication, which is applied in the field of URAT asynchronous communication, can solve problems such as the impact of equipment efficiency, achieve good versatility, and improve operating efficiency

Inactive Publication Date: 2010-06-30
CHONGQING CHUANYI AUTOMATION
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the communication with timeout as the end of the frame, in order to judge whether to respond to the data frame, the CPU needs to set a timer to judge the end and start position of the frame, and judge whether the address of the information frame is the local address, and decide whether to give Response, so that the CPU is frequently interrupted, causing the efficiency of the slave device to be affected

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 for identifying frame address in asynchronous communication control
  • Method for identifying frame address in asynchronous communication control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] A preferred embodiment of the present invention is figure 1 As shown in , take the first byte of the information frame as the address information, and the specific control process is as follows:

[0014] Step 101, the step of setting the receiving state of the information frame to the closed state, at this time only the address information is received, and the information frame is not received;

[0015] Step 102, receiving the address information of the first byte, and judging whether the first byte has been received;

[0016] Step 103, judging whether the above-mentioned received address information is the same as the current local address information, and proceed to step 104 when identical, otherwise proceed to step 105;

[0017] Step 104, setting the information frame receiving state to open state, allowing to receive the next information frame;

[0018] Step 105, setting the receiving state of the information frame to the closed state, and not allowing the next in...

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 the field of asynchronous communication of a universal asynchronous receiver / transmitter (URAT), in particular to a method for identifying a frame address in asynchronous communication control, comprising the following steps of: first receiving the first byte of an information frame by using the first byte of the information frame as address information; and receiving the information frame when judging whether the address information is as same as the address information of a computer or not. Through adopting the method, when the first byte of the transmitted information frame is the address, the automatic identification of the frame address can be realized. The information frame is received when the address of the information frame is as same as the address of the computer, the finish breakage is automatically generated after the reception of the information frame is finished, and then a Central Processing Unit (CPU) is notified that the reception of the information frame of the equipment is finished. In the communication (such as MODBUS-radio teletypewriter communication (RTC)) adopting the time to judge whether the frame is finished or not, a timer need not to be arranged in the CPU to judge whether the reception of the information frame is finished overtime or not so that the automatic identification function and the frame finish breakage control of eight-byte address hardware are realized, the URAT has good universality, and meanwhile, the running efficiency of the CPU is greatly enhanced.

Description

technical field [0001] The invention relates to the field of URAT asynchronous communication, in particular to a frame address identification method in asynchronous communication control. Background technique [0002] Common control chips for general asynchronous communication include 16C450, 16C550, 16C750, etc. 3-bit address bus, 8-bit address bus, read-write control bus and other interfaces can realize baud rate setting, stop bit number setting, data bit number setting, and various error reporting functions. The communication rate of the universal asynchronous communication control chip has reached several megabits per second, which can realize high-speed communication. [0003] Existing asynchronous communication is applied in a multi-machine communication network with RS485 interface, and the CPU of the slave device needs to judge whether it is the address of the device, and then determine whether to respond. In the communication with timeout as the end of the frame, ...

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
IPC IPC(8): H04L29/06
Inventor 刘渝新
Owner CHONGQING CHUANYI AUTOMATION
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