Crusher communication networking method and system based on PROFINET, terminal and storage medium
By adopting PROFINET and TCP communication links in the crusher control system, monitoring communication status and enabling redundant links, the safety hazards and hardware burden caused by the modification of existing technologies have been solved, and stable communication between the crusher and the main PLC has been achieved.
Patent Information
- Application Number
- CN202311827743.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2043-12-28
AI Technical Summary
Existing technologies require significant modifications to the Siemens 1500 system when adding control systems for vertical impact crushers and toothed roll crushers, which can easily lead to safety hazards and increase the burden on hardware operation.
A PROFINET communication link is used to establish communication between the main PLC and the crusher. A TCP link is used to connect to the host computer. The communication status between the main PLC and the host computer is monitored. Clock query requests and difference calculations are used to determine communication link abnormalities. Redundant links are enabled to ensure communication stability.
Without increasing the hardware burden on the main PLC, stable communication between the crusher and the main PLC is achieved, reducing the risk of modification and hardware burden, and ensuring the reliability and security of communication.
Smart Images

Figure CN117943192B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of industrial communication technology, specifically relating to a crusher communication networking method, system, terminal, and storage medium based on PROFINET. Background Technology
[0002] Due to technological needs, the mine is adding a vertical impact crusher and a toothed roll crusher. The control systems for both crushers are implemented through SMART200 PLCs. The main PLC of the original main system control system is Siemens 1500, and the HMI is WINCC. The two added devices are monitored and operated through the existing WINCC HMI. To achieve this function, the two added SMART200 PLCs need to be integrated into the Siemens 1500 system.
[0003] This approach requires significant modifications to the Siemens 1500 system, which could easily create security risks and increase the operational burden on the hardware. Summary of the Invention
[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides a crusher communication networking method, system, terminal and storage medium based on PROFINET to solve the above-mentioned technical problems.
[0005] In a first aspect, the present invention provides a crusher communication networking method based on PROFINET, comprising:
[0006] Establish a PROFINET communication link between the main PLC and the crusher;
[0007] A TCP communication link is connected between the main PLC and the host computer, and the host computer is connected to the crusher via a cable.
[0008] The main PLC monitors the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends a command to the host computer to obtain information about the crusher.
[0009] In an optional implementation, a PROFINET communication link is established between the main PLC and the crusher, including:
[0010] The main PLC's first network port establishes a communication connection with the crusher through the first network segment.
[0011] In an optional implementation, a TCP communication link is established between the main PLC and the host computer, including:
[0012] The main PLC's second network port is connected to the host computer via the second network segment.
[0013] In an optional implementation, the main PLC monitors the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends a command to the host computer to obtain crusher information, including:
[0014] The main PLC periodically sends a clock query request to the crusher via the PROFINET communication link to obtain the system time of the crusher.
[0015] The main PLC calculates the difference between the local system time and the acquired system time of the crusher, and saves the difference to the log.
[0016] The main PLC calculates the fluctuation value of the difference in the log. If the fluctuation value exceeds the set threshold, the PROFINET communication link is determined to be abnormal.
[0017] The main PLC sends identity authorization information to the host computer so that the host computer can obtain the authority to control the crusher;
[0018] The main PLC sends the target data item to the host computer, and the host computer obtains the parameter value of the target data item from the crusher and feeds back the parameter value to the main PLC.
[0019] Secondly, the present invention provides a crusher communication networking system based on PROFINET, comprising:
[0020] The first communication module is used to establish a PROFINET communication link between the main PLC and the crusher;
[0021] The second communication module is used to connect a TCP communication link between the main PLC and the host computer, wherein the host computer and the crusher are connected by a cable.
[0022] The communication management module is used by the main PLC to monitor the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends an instruction to the host computer to obtain crusher information.
[0023] In an optional implementation, the first communication module includes:
[0024] The main PLC's first network port establishes a communication connection with the crusher through the first network segment.
[0025] In an optional implementation, the second communication module includes:
[0026] The main PLC's second network port is connected to the host computer via the second network segment.
[0027] In an optional implementation, the communication management module includes:
[0028] The main PLC periodically sends a clock query request to the crusher via the PROFINET communication link to obtain the system time of the crusher.
[0029] The main PLC calculates the difference between the local system time and the acquired system time of the crusher, and saves the difference to the log.
[0030] The main PLC calculates the fluctuation value of the difference in the log. If the fluctuation value exceeds the set threshold, the PROFINET communication link is determined to be abnormal.
[0031] The main PLC sends identity authorization information to the host computer so that the host computer can obtain the authority to control the crusher;
[0032] The main PLC sends the target data item to the host computer, and the host computer obtains the parameter value of the target data item from the crusher and feeds back the parameter value to the main PLC.
[0033] Thirdly, a terminal is provided, including:
[0034] Processor, memory, among which,
[0035] This memory is used to store computer programs.
[0036] The processor is used to retrieve and run the computer program from memory, causing the terminal to perform the terminal method described above.
[0037] Fourthly, a computer storage medium is provided, wherein instructions are stored therein, which, when executed on a computer, cause the computer to perform the methods described in the above aspects.
[0038] The beneficial effects of the present invention are that the crusher communication networking method, system, terminal and storage medium based on PROFINET provided by the present invention connect the main PLC to the crusher from different network segments, so as not to increase the hardware burden on the main PLC or occupy the main PLC interface, and can realize communication between the main PLC and the crusher. In addition, the main PLC can also build a redundant link through the host computer to ensure the stability of communication.
[0039] Furthermore, the design principle of this invention is reliable, the structure is simple, and it has a very wide range of application prospects. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a schematic flowchart of a method according to an embodiment of the present invention.
[0042] Figure 2 This is a schematic architecture diagram of a method according to an embodiment of the present invention.
[0043] Figure 3 This is a schematic diagram of the structure of a terminal provided in an embodiment of the present invention. Detailed Implementation
[0044] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this invention.
[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
[0046] The crusher communication networking method based on PROFINET provided in this embodiment of the invention is executed by a computer device, and correspondingly, the crusher communication networking system based on PROFINET runs in the computer device.
[0047] Figure 1 This is a schematic flowchart illustrating a method according to an embodiment of the present invention. Wherein, Figure 1 The executing entity can be a PROFINET-based crusher communication network system. Depending on different requirements, the order of the steps in this flowchart can be changed, and some can be omitted.
[0048] like Figure 1 As shown, the method includes:
[0049] Step 110: Establish a PROFINET communication link between the main PLC and the crusher;
[0050] Step 120: Connect a TCP communication link between the main PLC and the host computer, wherein the host computer and the crusher are connected by a cable;
[0051] Step 130: The main PLC monitors the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends a command to the host computer to obtain information about the crusher.
[0052] To facilitate understanding of the present invention, the following description further illustrates the crusher communication networking method based on PROFINET provided by the present invention, using the principle of the crusher communication networking method based on PROFINET and the communication construction process in the embodiments.
[0053] For details, please refer to Figure 2 The PROFINET-based crusher communication networking method includes:
[0054] S1. Establish a communication link.
[0055] Establish a PROFINET communication link between the main PLC and the crusher; connect a TCP communication link between the main PLC and the host computer, wherein the host computer and the crusher are connected by a cable.
[0056] The main PLC's first network port establishes a communication connection with the crusher through the first network segment. The main PLC's second network port connects to the host computer through the second network segment.
[0057] Communication between SMART200 and Siemens 1500 via PROFINET eliminates the need for CPU resources, allowing for direct input / output mapping and communication. Furthermore, the added SMART200 system is placed on a separate network segment, isolated from the original 1500 system's slave stations, ensuring system security, reducing CPU load, and avoiding potential risks associated with the modification.
[0058] Specifically, the SMART200 and main PLC1500 systems of the two devices are controlled via Ethernet. Only two network cables need to be laid from the control cabinets of the two crushers to the main PLC1500 in the PLC room. The configuration and programming of the program can be carried out on the host computer. This solution can avoid the risk of damage to the main PLC module caused by the introduction of high voltage through hard wiring. The construction is simple and quick, requires less material, and has low cost.
[0059] S2, Communication Management.
[0060] The main PLC monitors the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends a command to the host computer to obtain information about the crusher.
[0061] The main PLC periodically sends clock query requests to the crusher via the PROFINET communication link to obtain the crusher's system time. The main PLC calculates the difference between its local system time and the obtained crusher system time and saves the difference to a log. The main PLC calculates the fluctuation value of the difference in the log; if the fluctuation value exceeds a set threshold, the PROFINET communication link is deemed abnormal. The main PLC sends authentication information to the host computer to grant the host computer control over the crusher. The main PLC sends a target data item to the host computer, which obtains the parameter value of the target data item from the crusher and feeds the parameter value back to the main PLC.
[0062] Specifically, the average of multiple differences in the log is calculated, the difference between the latest generated difference and the average is calculated, and the percentage of this difference to the average is calculated to obtain the fluctuation value. If the fluctuation value exceeds 20%, the communication link is considered abnormal, indicating a high risk. Redundant links are then enabled, and the main PLC authorizes the host computer to gain control over the crusher. The main PLC then uses the host computer to acquire data from the crusher and issue control commands.
[0063] In some embodiments, the PROFINET-based crusher communication network system may include multiple functional modules composed of computer program segments. The computer programs for each program segment in the PROFINET-based crusher communication network system may be stored in the memory of a computer device and executed by at least one processor to perform (see details). Figure 1 (Description) Functionality of crusher communication networking based on PROFINET.
[0064] In this embodiment, the PROFINET-based crusher communication networking system can be divided into multiple functional modules according to the functions it performs. A module, as referred to in this invention, is a series of computer program segments that can be executed by at least one processor and perform a fixed function, stored in memory. In this embodiment, the functions of each module will be detailed in subsequent embodiments.
[0065] The first communication module is used to establish a PROFINET communication link between the main PLC and the crusher;
[0066] The second communication module is used to connect a TCP communication link between the main PLC and the host computer, wherein the host computer and the crusher are connected by a cable.
[0067] The communication management module is used by the main PLC to monitor the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends an instruction to the host computer to obtain crusher information.
[0068] Optionally, as an embodiment of the present invention, the first communication module includes:
[0069] The main PLC's first network port establishes a communication connection with the crusher through the first network segment.
[0070] Optionally, as an embodiment of the present invention, the second communication module includes:
[0071] The main PLC's second network port is connected to the host computer via the second network segment.
[0072] Optionally, as an embodiment of the present invention, the communication management module includes:
[0073] The main PLC periodically sends a clock query request to the crusher via the PROFINET communication link to obtain the system time of the crusher.
[0074] The main PLC calculates the difference between the local system time and the acquired system time of the crusher, and saves the difference to the log.
[0075] The main PLC calculates the fluctuation value of the difference in the log. If the fluctuation value exceeds the set threshold, the PROFINET communication link is determined to be abnormal.
[0076] The main PLC sends identity authorization information to the host computer so that the host computer can obtain the authority to control the crusher;
[0077] The main PLC sends the target data item to the host computer, and the host computer obtains the parameter value of the target data item from the crusher and feeds back the parameter value to the main PLC.
[0078] Figure 3 This is a schematic diagram of the structure of a terminal 400 provided in an embodiment of the present invention. The terminal 400 can be used to execute the crusher communication networking method based on PROFINET provided in the embodiment of the present invention.
[0079] The terminal 400 may include a processor 410, a memory 420, and a communication unit 430. These components communicate via one or more buses. Those skilled in the art will understand that the server structure shown in the figure does not constitute a limitation of the present invention. It may be a bus topology or a star topology, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0080] The memory 420 can be used to store the execution instructions of the processor 410. The memory 420 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. When the execution instructions in the memory 420 are executed by the processor 410, the terminal 400 is able to perform some or all of the steps in the above method embodiments.
[0081] The processor 410 serves as the control center of the storage terminal, connecting various parts of the electronic terminal via various interfaces and lines. It executes software programs and / or modules stored in the memory 420, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of integrated circuits (ICs), such as a single packaged IC or multiple packaged ICs with the same or different functions connected together. For example, the processor 410 may consist only of a central processing unit (CPU). In this embodiment of the invention, the CPU may have a single processing core or include multiple processing cores.
[0082] The communication unit 430 is used to establish a communication channel, enabling the storage terminal to communicate with other terminals. It can receive user data sent by other terminals or send user data to other terminals.
[0083] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, which, when executed, may include some or all of the steps provided in the embodiments of the present invention. The storage medium may be a magnetic disk, an optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0084] Therefore, this invention connects the main PLC to the crusher from different network segments, thus avoiding increasing the hardware burden on the main PLC and occupying its interfaces. Moreover, it enables communication between the main PLC and the crusher. In addition, the main PLC can also build a redundant link through the host computer to ensure communication stability. The technical effects achieved by this embodiment can be found in the description above, and will not be repeated here.
[0085] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium such as a USB flash drive, mobile hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, or other media capable of storing program code. It includes several instructions to cause a computer terminal (which may be a personal computer, server, or a second terminal, network terminal, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0086] The same or similar parts between the various embodiments in this specification can be referred to mutually. In particular, the terminal embodiments are basically similar to the method embodiments, so the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.
[0087] In the embodiments provided by this invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or modules may be electrical, mechanical, or other forms.
[0088] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0089] In addition, the functional modules in the various embodiments of the present invention can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.
[0090] Although the present invention has been described in detail with reference to the accompanying drawings and preferred embodiments, the invention is not limited thereto. Various equivalent modifications or substitutions can be made to the embodiments of the invention by those skilled in the art without departing from the spirit and essence of the invention, and such modifications or substitutions should all be within the scope of the invention. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the invention should also be covered within the protection scope of the invention. Therefore, the protection scope of the invention should be determined by the scope of the claims.
Claims
1. A communication networking method for crushers based on PROFINET, characterized in that, include: Establish a PROFINET communication link between the main PLC and the crusher; A TCP communication link is connected between the main PLC and the host computer, and the host computer is connected to the crusher via a cable. The main PLC monitors the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends a command to the host computer to obtain information about the crusher.
2. The method according to claim 1, characterized in that, Establish a PROFINET communication link between the main PLC and the crusher, including: The main PLC's first network port establishes a communication connection with the crusher through the first network segment.
3. The method according to claim 1, characterized in that, Establish a TCP communication link between the main PLC and the host computer, including: The main PLC's second network port is connected to the host computer via the second network segment.
4. The method according to claim 1, characterized in that, The main PLC monitors the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends a command to the host computer to obtain crusher information, including: The main PLC periodically sends a clock query request to the crusher via the PROFINET communication link to obtain the system time of the crusher. The main PLC calculates the difference between the local system time and the acquired system time of the crusher, and saves the difference to the log. The main PLC calculates the fluctuation value of the difference in the log. If the fluctuation value exceeds the set threshold, the PROFINET communication link is determined to be abnormal. The main PLC sends identity authorization information to the host computer so that the host computer can obtain the authority to control the crusher; The main PLC sends the target data item to the host computer, and the host computer obtains the parameter value of the target data item from the crusher and feeds back the parameter value to the main PLC.
5. A crusher communication networking system based on PROFINET, characterized in that, include: The first communication module is used to establish a PROFINET communication link between the main PLC and the crusher; The second communication module is used to connect a TCP communication link between the main PLC and the host computer, wherein the host computer and the crusher are connected by a cable. The communication management module is used by the main PLC to monitor the communication status of the PROFINET communication link. If the communication status of the PROFINET communication link is abnormal, it sends an instruction to the host computer to obtain crusher information.
6. The system according to claim 5, characterized in that, The first communication module includes: The main PLC's first network port establishes a communication connection with the crusher through the first network segment.
7. The system according to claim 5, characterized in that, The second communication module includes: The main PLC's second network port is connected to the host computer via the second network segment.
8. The system according to claim 5, characterized in that, The communication management module includes: The main PLC periodically sends a clock query request to the crusher via the PROFINET communication link to obtain the system time of the crusher. The main PLC calculates the difference between the local system time and the acquired system time of the crusher, and saves the difference to the log. The main PLC calculates the fluctuation value of the difference in the log. If the fluctuation value exceeds the set threshold, the PROFINET communication link is determined to be abnormal. The main PLC sends identity authorization information to the host computer so that the host computer can obtain the authority to control the crusher; The main PLC sends the target data item to the host computer, and the host computer obtains the parameter value of the target data item from the crusher and feeds back the parameter value to the main PLC.
9. A terminal, characterized in that, include: Memory, used to store the PROFINET-based crusher communication networking program; A processor, configured to implement the steps of the PROFINET-based crusher communication networking method as described in any one of claims 1-4 when executing the PROFINET-based crusher communication networking program.
10. A computer-readable storage medium storing a computer program, characterized in that, The readable storage medium stores a PROFINET-based crusher communication networking program, which, when executed by a processor, implements the steps of the PROFINET-based crusher communication networking method as described in any one of claims 1-4.
Citation Information
Patent Citations
Dual-mode communication method and device based on HPLC (High Performance Liquid Chromatography) and micropower
CN116827493A
Garbage disposal station's redundant control system
CN206619012U