A multi-device ring structure communication method and system
A technology of ring structure and communication method, applied in transmission systems, ring networks, digital transmission systems, etc., can solve the problems that affect the normal communication of other equipment at the subsequent level, and it is impossible to know whether the communication is normal or not.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0084] Please refer to Figure 1 to Figure 12 , Embodiment 1 of the present invention is:
[0085] A multi-device ring structure communication method, comprising the steps of:
[0086] S1. The master control device sends the control data to slave device No. 1. The control data includes data frame and confirmation frame. The data frame includes the start bit START, the total data segment, and the stop bit END. The confirmation frame includes the confirmation bit ACK and the stop bit END. , where the confirmation frame is immediately behind the data frame, and the confirmation bit ACK is located between two stop bits END, such as Figure 7 , At this time, the total data segment includes all data from No. 1 data segment to No. N data segment, such as Figure 11 As shown, at this time, the confirmation frame has only one end mark, that is, the stop bit END, without any response field, that is, there is no confirmation bit;
[0087] S2, No. 1 slave device receives the control da...
Embodiment 2
[0094] Please refer to Figure 1 to Figure 12 , the second embodiment of the present invention is:
[0095] Embodiment 2 is based on the above-mentioned embodiment 1. The difference from the above-mentioned embodiment 1 is that the inserted response field in the above-mentioned embodiment 1 is a preset length, such as 1 byte, 2 bits bits and the like, in the second embodiment, the length of the inserted response field is set according to the length of the data segment obtained from the device, and the specific slave device No. 1 is described as follows:
[0096] No. 1 slave device receives the control data, intercepts the No. 1 data segment from the total data segment according to the preset interception length after the start bit START, obtains the character length of the No. 1 data segment, and attaches a The response field with the same length as the character length of the No. 1 data segment generates the next data. At this time, the confirmation frame of the next data co...
Embodiment 3
[0099] Please refer to Figure 1 to Figure 10 , Embodiment three of the present invention is:
[0100] Embodiment 3 is based on the above-mentioned embodiment 1, and differs from the above-mentioned embodiment 1 in that the confirmation frame in the above-mentioned embodiment 1 requires each slave device to insert a response field to obtain a confirmation bit, and the master control device Judging according to the confirmation bit in the confirmation frame, the confirmation frame in the third embodiment of the present invention has a confirmation bit in the data frame sent by the main control device, and the confirmation bit can be placed in the total data segment in the data frame At the very end of the data frame, that is, in front of the stop bit END in the data frame, the confirmation bit is equivalent to the confirmation frame at this time, and the format of the entire data frame becomes START, total data segment, confirmation bit ACK, and stop bit END: it can also be pla...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


