PLC Ethernet communication improvement method

By introducing communication requirements conditions and chronological execution mechanisms, the saturation problem of traditional PLC Ethernet communication methods during data exchange between multiple devices is solved, the number of communication objects is expanded and communication runs is reduced, and a cleaner network communication is achieved.

CN118921385APending Publication Date: 2024-11-08HUNAN AEROSPACE MAGNETOELECTRIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410960694.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Traditional PLC Ethernet communication methods have saturation problems when data exchange between multiple devices, which cannot effectively solve the communication needs between multiple devices, especially in the semi-finished product library inlet and outgoing distribution system, resulting in communication runs and alarms.

Method used

Introduce communication requirements conditions, control communication execution in chronological order, ensure that communication tasks are performed in chronological order when the number of communications reaches the upper limit, and manage the writing and reading of communication data through intermediate relays and registers to avoid communication runs.

Benefits of technology

The number of communication objects has been greatly expanded, the communication runs of network nodes have been reduced, and communication alarms have been almost eliminated. Unless it is a network cable hardware problem, the communication process is smoother.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921385A_ABST
    Figure CN118921385A_ABST
Patent Text Reader

Abstract

The invention discloses a PLC Ethernet communication improvement method, relates to the technical field of communication, is applied to application systems with distributed control, such as a semi-finished product warehouse feeding and discharging distribution system, and solves the technical problem that a CP1H type network read-write instruction can only be used among four PLCs and is easy to saturate in traditional PLC Ethernet communication. Comprising the following steps: introducing a communication demand condition after front / rear procedure equipment PLC (Programmable Logic Controller) processing is completed, controlling the execution of communication according to the condition, executing communication tasks according to a time sequence when the number of simultaneous communication equipment reaches an upper limit, and changing and resetting the communication condition by reading the data of a certain address (namely the last position of a response address) of a communicated object PLC so as to confirm that the communication is completed; under the condition that 1-200 PLC devices work at the same time, few three or four devices have communication requirements at the same time, the number of communication objects can be greatly increased, and the network is even cleaner; and almost no communication alarm exists unless the network cable hardware problem exists.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of communication, and in particular to a method for improving PLC Ethernet communication. Background Art

[0002] Industrial automation is developing faster and faster. In the field of automation, we will encounter more and more problems that need to be solved. A production line needs to consist of multiple devices, each of which needs to be able to operate independently. When forming a production line, the PLC controllers of each device need to exchange data;

[0003] In the traditional PLC Ethernet communication method, the network read and write instructions of CP1H type can only be used between four PLCs. Even if the PLC itself does not use the network read and write instructions, as long as it is accessed by the other four PLCs using the network read and write instructions, it is considered saturated; NJ and NX are 9 units, and the excess units cannot communicate; if multiple devices produce semi-finished products and enter one or more warehouses, and multiple semi-finished products in one or more warehouses are classified and sent to different subsequent processing equipment, etc., it cannot be solved by traditional Ethernet communication; based on the above shortcomings, the present invention proposes a PLC Ethernet communication improvement method. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a PLC Ethernet communication improvement method.

[0005] To achieve the above object, the first aspect of the present invention provides a PLC Ethernet communication improvement method, which is applied to a semi-finished product warehouse inlet and outlet distribution system, comprising the following steps:

[0006] Step 1: After the PLC processing of the front-end equipment is completed, the communication requirement condition is introduced to control the execution of communication. When the number of units communicating at the same time reaches the upper limit, the communication task will be executed in chronological order;

[0007] Among them, the front-end process equipment PLC includes a front-end process single device PLC1, a front-end process single device PLC2, ..., a front-end process single device PLCn, where n is less than 100; it can accommodate the communication needs of less than 100 front-end process equipment PLCs;

[0008] Step 2: After the PLC processing of the downstream equipment is completed, the communication requirement condition is introduced to control the execution of communication. When the number of units communicating at the same time reaches the upper limit, the communication task will be executed in chronological order;

[0009] The back-end process equipment PLC includes a back-end process single device PLC201, a back-end process single device PLC202, ..., a back-end process single device PLC20n, wherein n is less than 100; and can accommodate the communication needs of less than 100 back-end process equipment PLCs.

[0010] Furthermore, the execution steps of the communication requirements of the single device PLC1 in the front process are as follows:

[0011] S1: After the processing of the single device PLC1 in the previous process is completed, the intermediate relay W100.00 is set to 1, and the network write instruction to the semi-finished product warehouse PLC100 is executed based on W100.00, and the semi-finished product batch, shift, and raw material quantity information are written into D101-D110 of PLC100, and the timing PLC1-T1 is set at the same time;

[0012] S2: PLC100 receives new D101-D110 data and transmits it to D3101-D3110 for PLC100 to calculate and transfer to the corresponding position of the sub-warehouse area. When PLC100 receives new D101-D110 data, it transmits D101-D110 to D3101-D3110 on the condition that D101-D110 is not equal to D3101-D3110; at the same time, the end position of D119 is set to 0, and the timing PLC100-T1 is set. When the time is up, the end position of D119 is set to 1;

[0013] S3: Write the storage status into register D111-D118. When the PLC1-T1 time is reached, the network read instruction to the semi-finished product warehouse PLC100 is executed with W100.00=1 as the condition, and the value of D111-D119 is read. If the last bit of D119=0, reset the intermediate relay W100.00. At this point, the communication and timing are completed;

[0014] S4: By analogy, it can meet the communication needs of less than 100 PLCs of front-end process equipment.

[0015] Furthermore, the setting time of PLC1-T1 is 0.1 to 0.5 seconds; the setting time of PLC100-T1 is 5 seconds; PLC100-D119 is the storage status register of PLC1, and the last bit is used for response and cannot be used to store other information.

[0016] Further, step S3 also includes: if the last bit of D119 = 1, it means that the first step of network writing is unsuccessful, and the network writing and reading are executed again until the last bit of D119 = 0, and the completion is completed; the timing from the start of reading to the completion is PLC1-T2; wherein, PLC1-T2 is set to 2-4 seconds, and (PLC1-T1+PLC1-T2)<PLC100-T1; if it exceeds the range, a communication timeout alarm is generated.

[0017] Furthermore, the execution steps of the communication requirements of a single device PLC201 in the downstream process are as follows:

[0018] SS1: After the processing of a single device PLC201 in the back-end process is completed, the intermediate relay W100.00 is set to 1, and the network write instruction to the semi-finished product warehouse PLC100 is executed based on W100.00, and the information of the batch of semi-finished products that can be processed, the shift, and the required quantity of raw materials are written into D5101-D5110 of PLC100, and the timing PLC201-T1 is also performed;

[0019] SS2: Then PLC100 receives the new D5101-D5110 data and transmits it to D7101-D7110, which is used by PLC100 to calculate and transfer the data to the corresponding position of the sub-warehouse area. When PLC100 receives the new D5101-D5110 data, it transmits the D5101-D5110 data to D7101-D7110 on the condition that D5101-D5110 is not equal to D7101-D7110; at the same time, the end position of D5119 is set to 0, and the timing PLC100-T101 is started. When the time is up, the end position of PLC100-D5119 is set to 1;

[0020] SS3: At the same time, the storage status is written into register D5111-5118. When the PLC201-T1 time is reached, the network read instruction to the semi-finished product warehouse PLC100 is executed with W100.00=1 as the condition, and the value of PLC100-D5111-5119 is read. If the last bit of D5119=0, the intermediate relay W100.00 is reset; at this point, the communication and timing are completed;

[0021] SS4: By analogy, it can meet the communication needs of less than 100 PLCs of post-process equipment.

[0022] Furthermore, the setting time of PLC201-T1 is 0.1 to 0.5 seconds, the setting time of PLC100-T101 is 5 seconds, and PLC100-D5119 is the warehousing status register. The last digit is for response and cannot be used to store other information.

[0023] Further, step SS3 also includes: if the last bit of PLC100-D5119=1, it means that the first step of network writing is unsuccessful, and the network writing and reading are performed again; until the last bit of PLC100-D5119=0, it is completed;

[0024] PLC201-T2 is used to time the reading from the beginning to the completion; PLC201-T2 is set to 2-4 seconds, and (PLC201-T1+PLC201-T2)<PLC100-T101. If it exceeds the range, a communication timeout alarm is generated.

[0025] Compared with the prior art, the present invention has the following beneficial effects:

[0026] The present invention introduces communication demand conditions, and uses these conditions to control the execution of communication. When the number of units communicating at the same time reaches the upper limit (such as four CP1H units, nine NJ and NX units), the communication tasks will be executed in chronological order. Especially in the semi-finished product warehouse inlet and outlet material distribution system, a single device in the front and back processes takes several minutes or even tens of minutes to complete a processing task, while a single communication takes milliseconds. Therefore, when 1-200 PLC devices are working at the same time, it is rare that three or four devices have communication needs at the same time. This method can greatly expand the number of communication objects, and each network node will not be squeezed by communication, and the network will be even cleaner. Unless there is a problem with the network cable hardware, there will be almost no communication alarm. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 The present invention is a principle block diagram of a method for improving PLC Ethernet communication.

[0029] Figure 2 This is a flow chart for realizing the PLC communication requirements of the front-end and back-end process equipment in the present invention. DETAILED DESCRIPTION

[0030] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] First, the terms involved in this application are explained:

[0032] CP1H type: Omron CP1H type PLC;

[0033] NJ, NX: Omron NJ, NX and other general industrial control PLCs;

[0034] D101-D110, D3101-D3110, D121-D130, D3121-D3130, D5101-D5110, D7101-D7110, D5111-D5119, D7121-D7130: registers;

[0035] See also Figure 1 The first embodiment of the present invention provides a PLC Ethernet communication improvement method, which is applied to a distributed control application system such as a semi-finished product warehouse inlet and outlet distribution system, and includes the following steps:

[0036] Step 1: After the PLC processing of the front-end process equipment is completed, the communication demand condition is introduced to control the execution of communication. When the number of units communicating at the same time reaches the upper limit (such as four units for CP1H type, nine units for NJ and NX), the communication task will be executed in chronological order, which can accommodate the communication needs of less than 100 PLCs of the front-end process equipment;

[0037] Step 2: After the PLC processing of the downstream process equipment is completed, the communication demand condition is introduced to control the execution of communication. When the number of units communicating at the same time reaches the upper limit, the communication task will be executed in chronological order, which can accommodate the communication needs of less than 100 PLCs of downstream process equipment;

[0038] like Figure 2 As shown, when there is a communication demand between the front and back process equipment PLCs, when the number of units communicating at the same time reaches the upper limit (such as 4 units for CP1H type, 9 units for NJ and NX), the communication task will be executed in chronological order, and the communication condition will be reset by reading the data change of a certain address (i.e. the last bit of the response address) of the communicating object PLC to confirm the completion of communication;

[0039] In this embodiment, the front-end process equipment PLC includes a front-end process single device PLC1, a front-end process single device PLC2, ..., a front-end process single device PLCn; wherein n < 100; this application can accommodate the communication needs of less than 100 front-end process equipment PLCs;

[0040] Among them, the execution steps of the communication requirements of the single device PLC1 in the front-end process are as follows:

[0041] S1: After the processing of the single device PLC1 in the previous process is completed, the intermediate relay W100.00 is set to 1, and the network write instruction to the semi-finished product warehouse PLC100 is executed based on W100.00, and the information such as the semi-finished product batch, shift, and raw material batch is written into D101-D110 of PLC100, and the timing is also started (PLC1-T1 is set to 0.1 to 0.5 seconds);

[0042] S2: PLC100 receives new D101-D110 data and transmits it to D3101-D3110 for PLC100 to calculate and transfer to the corresponding position of the sub-warehouse area. When PLC100 receives new D101-D110 data, it transmits D101-D110 to D3101-D3110 under the condition that D101-D110 <> (not equal to) D3101-D3110; at the same time, the last bit of D119 is set to 0 (PLC100-D119 is the storage status register of PLC1, the last bit is used for response and cannot be used to store other information), and counts (PLC100-T1 sets the time to 5 seconds). When the time is up, the last bit of D119 is set to 1;

[0043] S3: Write the storage status into register D111-D118. When the PLC1-T1 (set time 0.1 to 0.5 seconds) time is reached, the network read instruction to the semi-finished product warehouse PLC100 is executed with W100.00 = 1 as the condition, and the value of D111-D119 is read. If the last bit of D119 = 0, reset the intermediate relay W100.00. At this point, the communication and timing are completed;

[0044] Generally, the process takes less than 0.5 seconds. If the last bit of D119 = 1, it means that the first step of network writing is unsuccessful. Execute network writing and reading again until the last bit of D119 = 0, and it is completed. The timing from the start of reading to completion (PLC1-T2) can be set as needed. PLC1-T2 = 2-4 seconds; Among them, (PLC1-T1+PLC1-T2) < PLC100-T1 set time 5 seconds, if it exceeds the range, a communication timeout alarm is generated;

[0045] Among them, the execution steps of the communication requirements of the single device PLC2 in the front-end process are as follows:

[0046] V1: After the processing of a single device PLC2 in the previous process is completed, an intermediate relay W100.00 is triggered, and W100.00 is used as a condition to execute a write instruction to the semi-finished product warehouse PLC100 network, and the semi-finished product batch, shift, raw material batch and other information are written into D121-D130 of PLC100, and the timing is also started (PLC2-T1 sets the time 0.1 to 0.5 seconds);

[0047] V2: PLC100 receives new D121-D130 data and transmits it to D3121-D3130 for PLC100 to calculate and transfer to the corresponding position of the sub-warehouse area. When PLC100 receives new D121-D130 data, it transmits D121-D130 to D3121-D3130 on the condition that D121-D130 <> (not equal to) D3121-D3130; sets the last bit of D139 to 0 (PLC100-D139 is the storage status register of PLC2, the last bit is for response and cannot be used to store other information), and starts timing (PLC100-T2 sets the time to 5 seconds). When the time is up, sets the last bit of D119 to 1;

[0048] V3: write the storage status into register D131-138 at the same time; when the PLC2-T1 time is reached, the network read instruction to the semi-finished product warehouse PLC100 is executed with W100.00=1 as the condition, and the value of D131-139 is read. If the last bit of D139=0, reset the intermediate relay W100.00; at this point, the communication and timing are over;

[0049] Generally, the process takes less than 0.5 seconds. The last bit of D139 = 1, indicating that the first step of network writing is unsuccessful. Execute network writing and reading again until the last bit of D139 = 0, which is completed. The time from the start of reading to completion is (PLC2-T2). PLC2-T2 can be set to 2-4 seconds as needed. Among them, (PLC2-T1+PLC2-T2)<PLC100-T2 setting time is 5 seconds. If it exceeds the range, a communication timeout alarm is generated.

[0050] By analogy, this application can accommodate the communication needs of less than 100 PLCs of front-end process equipment;

[0051] In this embodiment, the back-end process equipment PLC includes a back-end process single device PLC201, a back-end process single device PLC202, ..., a back-end process single device PLC20n; wherein n < 100; this application can accommodate the communication needs of less than 100 back-end process equipment PLCs;

[0052] Among them, the execution steps of the communication requirements of a single device PLC201 in the back-end process are as follows:

[0053] SS1: After the processing of a single device PLC201 in the back-end process is completed, the intermediate relay W100.00 is set to 1, and the network write instruction to the semi-finished product warehouse PLC100 is executed based on W100.00, and the information such as the batch of semi-finished products that can be processed by this machine, the shift, the required amount of raw materials, etc. is written into D5101-D5110 of PLC100, and the timing is started at the same time (PLC201-T1 sets the time 0.1 to 0.5 seconds);

[0054] SS2: Then, PLC100 receives the new D5101-D5110 data and transmits it to D7101-D7110 for PLC100 to calculate and transfer to the corresponding position of the sub-warehouse area. When PLC100 receives the new D5101-D5110 data, it transmits the D5101-D5110 data to D7101-D7110 under the condition that D5101-D5110 <> (not equal to) D7101-D7110; at the same time, the last bit of D5119 is set to 0, and the timing is started (PLC100-T101 is set to 5 seconds). When the time is up, the last bit of PLC100-D5119 is set to 1 (PLC100-D5119 is a storage status register, and the last bit is used for response and cannot be used to store other information);

[0055] SS3: At the same time, the storage status is written into register D5111-5118. When the PLC201-T1 time is reached, the network read instruction to the semi-finished product warehouse PLC100 is executed with W100.00=1 as the condition, and the value of PLC100-D5111-5119 is read. If the last bit of D5119=0, the intermediate relay W100.00 is reset; at this point, the communication and timing are completed;

[0056] Generally, the process takes less than 0.5 seconds. If the last bit of PLC100-D5119 = 1, it means that the first step of network writing is unsuccessful, and the network writing and reading are performed again; until the last bit of PLC100-D5119 = 0, it is completed; the timing from the start of reading to the completion (PLC201-T2), PLC201-T2 can be set to 2-4 seconds as needed;

[0057] Among them, (PLC201-T1+PLC201-T2)<PLC100-T101 set time 5 seconds, if it exceeds the range, a communication timeout alarm will be generated;

[0058] Among them, the execution steps of the communication requirements of a single device PLC202 in the back-end process are as follows:

[0059] VV1: After the processing of a single device PLC202 in the previous process is completed, an intermediate relay W100.00 is triggered, and W100.00 is used as a condition to execute a write instruction to the semi-finished product warehouse PLC100 network, and the information such as the batch of semi-finished products that can be processed by this machine, the shift, the required amount of raw materials, etc. are written into D5111-D5119 of PLC100, and the timing is also started (PLC202-T1 sets the time 0.1 to 0.5 seconds);

[0060] VV2: Then, PLC100 receives the new D5121-D5130 data and transmits it to D7121-D7130, which is used by PLC100 to calculate and transfer to the corresponding position of the sub-warehouse area. When PLC100 receives the new D5121-D5130 data, it transmits the D5121-D5130 data to D7121-D7130 based on the condition that D5121-D5130 <> (not equal to) D7121-D7130, and sets the end position of D5139 to 0 (PLC00-D5139 storage status register, the end position is for response and cannot be used to store other information), and starts timing (PLC100-T102 sets the time to 5 seconds). When the time is up, the end position of D5139 is set to 1;

[0061] VV3: At the same time, the storage status is written into registers D5131-5138; when the PLC1-T1 time is reached, the network read instruction to the semi-finished product warehouse PLC100 is executed with W100.00=1 as the condition, and the value of D5131-5139 is read. If the last bit of D5139=0, the intermediate relay W100.00 is reset; at this point, the communication and timing are completed;

[0062] Generally, the process takes less than 0.5 seconds. If the last bit of PLC100-D5139 = 1, it means that the first step of network writing is unsuccessful, and the network writing and reading are performed again; until the last bit of PLC100-D5139 = 0, it is completed; the timing from the start of reading to the completion (PLC202-T2), PLC202-T2 can be set to 2-4 seconds as needed;

[0063] Among them, (PLC202-T1+PLC202-T2)<PLC100-T102 set time 5 seconds, if it exceeds the range, a communication timeout alarm will be generated;

[0064] By analogy, this application can accommodate the communication needs of less than 100 PLCs of post-process equipment;

[0065] This application introduces communication demand conditions, which are used to control the execution of communication. When the number of units communicating at the same time reaches the upper limit (such as four CP1H units, nine NJ and NX units), the communication tasks will be executed in chronological order; especially in the semi-finished product warehouse inlet and outlet material distribution system, the front and back process single equipment speed can complete a processing task in several minutes or even dozens of minutes, and the communication time is milliseconds; so when 1-200 PLC devices are working at the same time, it is rare that three or four devices have communication needs at the same time; this method can greatly expand the number of communication objects, and each network node will not be squeezed by communication, and the network will be even cleaner; unless there is a problem with the network cable hardware, there will be almost no communication alarm.

[0066] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0067] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A PLC Ethernet communication improvement method, applied to the semi-finished product warehouse inlet and outlet distribution system, It is characterized in that The steps include: Step 1: After the PLC processing of the front-end process equipment is completed, the communication requirement condition is introduced to control the execution of communication. When the number of units communicating at the same time reaches the upper limit, the communication task will be executed in chronological order; Among them, the front-end process equipment PLC includes a front-end process single device PLC1, a front-end process single device PLC2, ..., a front-end process single device PLCn, where n is less than 100; it can accommodate the communication needs of less than 100 front-end process equipment PLCs; Step 2: After the PLC processing of the downstream equipment is completed, the communication requirement condition is introduced to control the execution of communication. When the number of units communicating at the same time reaches the upper limit, the communication task will be executed in chronological order; The back-end process equipment PLC includes a back-end process single device PLC201, a back-end process single device PLC202, ..., a back-end process single device PLC20n, wherein n is less than 100; and can accommodate the communication needs of less than 100 back-end process equipment PLCs.

2. A PLC Ethernet communication improvement method according to claim 1, It is characterized in that in, The execution steps of the communication requirements of a single device PLC1 in the front-end process are as follows: S1: After the processing of the single device PLC1 in the previous process is completed, the intermediate relay W100.00 is set to 1, and the network write instruction to the semi-finished product warehouse PLC100 is executed based on W100.00, and the semi-finished product batch, shift, and raw material quantity information are written into D101-D110 of PLC100, and the timing PLC1-T1 is set at the same time; S2: PLC100 receives new D101-D110 data and transmits it to D3101-D3110 for PLC100 to calculate and transfer to the corresponding position of the sub-warehouse area. When PLC100 receives new D101-D110 data, it transmits D101-D110 to D3101-D3110 on the condition that D101-D110 is not equal to D3101-D3110; at the same time, the end position of D119 is set to 0, and the timing PLC100-T1 is set. When the time is up, the end position of D119 is set to 1; S3: Write the storage status into register D111-D118. When the PLC1-T1 time is reached, the network read instruction to the semi-finished product warehouse PLC100 is executed with W100.00=1 as the condition, and the value of D111-D119 is read. If the last bit of D119=0, reset the intermediate relay W100.

00. At this point, the communication and timing are completed; S4: By analogy, it can meet the communication needs of less than 100 PLCs of front-end process equipment.

3. A PLC Ethernet communication improvement method according to claim 2, It is characterized in that Among them, PLC1-T1 sets the time to 0.1 to 0.5 seconds; PLC100-T1 sets the time to 5 seconds; PLC100-D119 is the storage status register of PLC1, the last bit is for response and cannot be used to store other information.

4. A PLC Ethernet communication improvement method according to claim 3, It is characterized in that Step S3 also includes: if the last bit of D119 = 1, it means that the first step of network writing is unsuccessful, and the network writing and reading are performed again until the last bit of D119 = 0, and the process is completed; the time from the start of reading to the completion is PLC1-T2; Among them, PLC1-T2 is set to 2-4 seconds, and (PLC1-T1+PLC1-T2)<PLC100-T1; if it exceeds the range, a communication timeout alarm is generated.

5. A PLC Ethernet communication improvement method according to claim 1, It is characterized in that in, The implementation steps of the communication requirements of a single device PLC201 in the downstream process are as follows: SS1: After the processing of a single device PLC201 in the back-end process is completed, the intermediate relay W100.00 is set to 1, and the network write instruction to the semi-finished product warehouse PLC100 is executed based on W100.00, and the information of the batch of semi-finished products that can be processed, the shift, and the required quantity of raw materials are written into D5101-D5110 of PLC100, and the timing PLC201-T1 is also performed; SS2: Then PLC100 receives the new D5101-D5110 data and transmits it to D7101-D7110, which is used by PLC100 to calculate and transfer the data to the corresponding position of the sub-warehouse area. When PLC100 receives the new D5101-D5110 data, it transmits the D5101-D5110 data to D7101-D7110 on the condition that D5101-D5110 is not equal to D7101-D7110; at the same time, the end position of D5119 is set to 0, and the timing PLC100-T101 is started. When the time is up, the end position of PLC100-D5119 is set to 1; SS3: At the same time, the storage status is written into register D5111-5118. When the PLC201-T1 time is reached, the network read instruction to the semi-finished product warehouse PLC100 is executed with W100.00=1 as the condition, and the value of PLC100-D5111-5119 is read. If the last bit of D5119=0, the intermediate relay W100.00 is reset; at this point, the communication and timing are completed; SS4: By analogy, it can meet the communication needs of less than 100 PLCs of post-process equipment.

6. A PLC Ethernet communication improvement method according to claim 5, It is characterized in that The setting time of PLC201-T1 is 0.1~0.5 seconds, the setting time of PLC100-T101 is 5 seconds, PLC100-D5119 is the storage status register, the last bit is for response and cannot be used to store other information.

7. A PLC Ethernet communication improvement method according to claim 6, It is characterized in that Step SS3 also includes: if the last bit of PLC100-D5119 = 1, it means that the first step of network writing is unsuccessful, and the network writing and reading are executed again; until the last bit of PLC100-D5119 = 0, it is completed; the timing from the start of reading to the completion is PLC201-T2; among them, PLC201-T2 is set to 2-4 seconds, and (PLC201-T1+PLC201-T2)<PLC100-T101. If it exceeds the range, a communication timeout alarm is generated.