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

Receiving and transmitting control method in half-duplex communication

A half-duplex communication, transceiver control technology, applied in the field of URAT asynchronous communication, can solve problems such as bus clamping, bus failure, communication process influence, etc.

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

AI Technical Summary

Problems solved by technology

When the CPU fails, the control line that controls the communication receiving and sending directions may make the RS485 drive interface always in the sending state, causing the bus to be clamped, causing the bus to fail, and then seriously affecting the entire communication process.

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
  • Receiving and transmitting control method in half-duplex communication
  • Receiving and transmitting control method in half-duplex communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] A preferred embodiment of the present invention is figure 1 As shown in , the specific control process is as follows:

[0013] Step 101, during half-duplex communication, during the initialization process, the driver port is set to be in an idle state;

[0014] Steps 102 and 103, after initialization, check whether the drive communication port signal is a frame receiving signal or a frame sending signal, if it is a frame receiving signal, then go to step 104, if it is a frame sending signal, then go to step 107;

[0015] Step 104, setting the frame receiving status flag, and simultaneously receiving the data frame;

[0016] Step 105, check whether the frame has been received. In this process, when 3 characters have not received data, it means that the received frame is over. If the received data is completed, then go to step 106, otherwise continue to repeatedly check whether the frame has been received;

[0017] Step 106, reset the frame receiving status flag of the ...

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 URAT (universal asynchronous receiver & transmitter) asynchronous communication, in particular to a receiving and transmitting control method in half-duplex communication. The method comprises the following steps of: setting a driving port to be in a receiving state or a transmmitting state; checking, if the driving port is the start of receiving frame, setting a frame receiving state mark to receive data frames, and after finishing receiving, resetting the frame receiving state mark; and checking, if the driving port is the start of transmitting frame, setting a frame transmitting state mark to send the data frames, and after finishing transmitting, resetting the frame transmitting state mark. The method adopts the two main processes of cyclically checking and executing under a half-duplex working condition. The direction control signals TRCTRL (transmitting / receiving control) of the half-duplex communication can be controlled according to the transmitting and receiving state marks without interventions of a CPU (Central Processing Unit), and receiving and transmitting directions can be automatically controlled so as to ensure that a communication driving interface has simplified design, safety and high efficiency.

Description

technical field [0001] The invention relates to the field of URAT asynchronous communication, in particular to a method for controlling transmission and reception in half-duplex communication. 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. The existing asynchronous communication is applied in the multi-computer communication network with RS485 interface, and the direction control of RS485 receiving and sending requires CPU control. When the CPU fails, the control line that controls the communication receiving and sending directions ma...

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): H04L5/16
Inventor 刘渝新
Owner CHONGQING CHUANYI AUTOMATION