A PLC intelligent fog cannon method, PLC communication module and fog cannon
Through the PLC intelligent fog cannon method, the PLC communication module is used to communicate with PCs and smartphones to realize the automation and batch control of fog cannons, which solves the problem of inability to automatically control and batch control in the existing technology, and improves the speed and speed of control. efficiency.
Patent Information
- Application Number
- CN202211234054.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-10
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-10-10
AI Technical Summary
Existing fog cannon machines cannot be automatically controlled and cannot be controlled in batches. They are inconvenient to use and cannot be adjusted according to on-site conditions.
Through the PLC intelligent fog cannon method, the PLC communication module is used to communicate with PCs and smartphones to achieve remote control. The control instructions are sent to multiple fog cannons through the Get/Put command, and the sensors are used to detect the status of the fog cannon and make adjustments to achieve multiple Centralized control of fog cannons.
It realizes automatic control and batch control of fog cannons, simplifies the operation process, and can control multiple fog cannons at one time through PC and smartphones, detect the working status of each fog cannon, and improve the speed and efficiency of control.
Smart Images

Figure CN115599034B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cannon fog, and in particular, to a PLC intelligent fog cannon method, a PLC communication module and a fog cannon. Background Art
[0002] Industrial and mining enterprises have always been the hardest hit areas of dust pollution. With people's increasing concern about environmental issues and the introduction of environmental protection policies by government departments, fog cannons have been widely used in construction environments such as coal yards, quarries, and buildings, mainly for dust reduction and removal.
[0003] The current fog cannons need to be manually controlled during use, and the control process cannot be adjusted according to the on-site usage conditions, which is inconvenient to use and cannot be controlled in batches. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a PLC intelligent fog cannon method, a PLC communication module and a fog cannon, which can solve the technical problem of being unable to automatically control and batch control.
[0005] The present application embodiment provides a PLC intelligent fog cannon method, comprising the following steps:
[0006] Step 1: Connect the PLC communication network card of the fog cannon to the communication network card of the slave PLC via a network cable;
[0007] Step 2: Communicate with the main PLC through the PC, upload information to the web page through the PC, and log in to the relevant web page with a smart phone to remotely control the main PLC;
[0008] Step 3: Send instructions to multiple slave PLC local area networks through the master PLC, convert multiple IO points of the slave PLC into IO points of the master PLC through Get / Put instructions, and send control instructions to multiple fog cannons controlled by multiple slave PLCs;
[0009] Step 4: Use multiple sensors on the fog cannon to detect whether the fog cannon is working, and multiple sensors send the detected data to the slave PLC within a preset time. The slave PLC determines the response of the fog cannon to the control command from the received signal, and can observe the status of each fog cannon and make relevant adjustments.
[0010] Preferably, the IO conversion step of the master-slave PLC is:
[0011] Step 1: Multiple fog cannon PLCs are connected to slave PLCs, and each slave PLC is a group;
[0012] Step 2: Set multiple groups of LAN server addresses from PLCs;
[0013] Step 3: Set the GET wizard function of the master PLC, set the input point to be transmitted, transmit the input point information of the slave PLC to the master PLC, select the IP address corresponding to the slave PLC, and the master PLC will modify the input point information read;
[0014] Or step 4, set the Put wizard function of the master PLC, set the input point to be transmitted, transmit the output point information of the slave PLC to the master PLC, select the IP address corresponding to the slave PLC, and the master PLC will modify the read output point information;
[0015] Step 5, the master PLC sets the T0 time sequence to start multiple groups of slave PLC fog cannons, and multiple fog cannon PLCs are set to start the water pump first, then the fan, and finally the motor to drive the fan to rotate left and right;
[0016] Step 6: The main PLC communicates with the PC, which uploads the information to the Internet, and the smart phone can control the fog cannon through the web page.
[0017] Preferably, in step 2, open the GetPut wizard in the PLC program, select 1P (Put type), transfer byte size 1-6, read VB10 information from the local CPU (S7-200PLC) and transfer it to the remote CPU (S7-200 SMARTPIC), select the corresponding communication area network IP address, and change the read information to MB5.
[0018] As a preference, in step 4, open the GetPut wizard in the PLC program, select 1G (ie, Get type), transfer byte size 1-6, read VB10 information from the local CPU (S7-200PLC) and transfer it to the remote CPU (S7-200 SMARTPIC), select the corresponding communication area network IP address, and change the read information to MB5.
[0019] Preferably, the control instruction is a control instruction for any one of the fog cannons or a batch control instruction for multiple fog cannons.
[0020] Preferably, the control instructions include any one or more combinations of starting and stopping the fog cannon's water pump, up and down of the oil pump, fan switch, and left and right rotation of the motor. The oil pump controls the fog cannon to rotate up and down through a solenoid valve.
[0021] A PLC communication module comprises a memory, a communicator, a converter and a processor, wherein the memory is used to store set instruction content; the communicator is used to communicate with a fog cannon, a PC and a smart phone; the processor converts the IO format in the slave PLC into IO points in the main PLC, and the processor runs computer instructions to implement any of the above methods applied to the PLC communication module.
[0022] A fog cannon comprises a barrel, wherein mounting seats are rotatably connected to both sides of the middle of the barrel, a fan is fixedly arranged in the barrel, an atomizer nozzle is arranged in front of the fan, the atomizer nozzle is fixedly connected to the barrel, and the barrel, the atomizer nozzle and the atomizer nozzle are all arranged concentrically; a motor is fixedly connected to the mounting seat, the mounting seat is rotatably connected to a cabinet, the motor is fixedly connected to the cabinet, a caster with a brake is fixedly connected to each of the four corners of the cabinet, and a button control panel is arranged on one side of the cabinet; a telescopic rod is fixedly connected to the middle of the barrel, the other end of the telescopic rod is rotatably connected to the cabinet, an oil pump is connected to the telescopic rod pipeline, the oil pump is connected to an electromagnetic valve, the barrel is provided with a communication network card for PLC communication, the communication network card for PLC communication is connected to the communication network card of the slave PLC through a network cable, and the communication network card for PLC communication is electrically connected to the water pump, the electromagnetic valve, the motor, the fan and the oil pump.
[0023] Beneficial effects of the present invention:
[0024] The present invention provides a PLC intelligent fog cannon method. The present invention uses the communication between a PC and a main PLC, uploads information to a webpage through the PC, and a smart phone logs in to a related webpage to remotely control the upper PLC; sends instructions to a plurality of slave PLC local area networks below through the main PLC, converts a plurality of IO points of the slave PLCs into IO points of the main PLC through Get / Put instructions, and sends control instructions to a plurality of fog cannons controlled by the plurality of slave PLCs; detects whether the fog cannon is working through a plurality of sensors on the fog cannon, and the plurality of sensors send the detected data to the slave PLC within a preset time, and the slave PLC judges the response of the fog cannon to the control instruction from the received signal, and the state of each fog cannon can be observed and related adjustments can be made. The present invention can control a plurality of fog cannons to work at one time through a PC and a smart phone, and the control method is simple and fast. In addition, the control method can also detect the working state of each fog cannon through sensor detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 is a control flow chart of the present invention;
[0027] Figure 2It is the IO conversion flow chart of the master-slave PLC of the present invention;
[0028] Figure 3 A topological diagram of a PLC intelligent fog cannon method of the present invention;
[0029] Figure 4 A master-slave IO conversion table in a PLC intelligent fog cannon method of the present invention;
[0030] Figure 5 A network topology diagram of nodes in the PLC intelligent lighting control system of the present invention working in an adaptive communication frequency band;
[0031] Figure 6 It is a three-dimensional view of the fog cannon of the present invention.
[0032] The reference numerals are:
[0033] 1. Smart phone; 2. Mist cannon--2; 3. Cannon body; 4. Mounting base; 5. Cabinet 6. Casters with brakes; 7. Button control panel; 8. Fan; 9. Telescopic rod. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0035] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0036] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0037] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the application is usually placed when in use. They are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0038] In addition, the terms "horizontal", "vertical", "overhanging" and the like do not mean that the components are required to be absolutely horizontal or overhanging, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0039] In the description of this application, it should also be noted that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0040] Embodiment 1
[0041] like Figure 1-6 As shown, the embodiment of the present application provides a PLC intelligent fog cannon 2 method, comprising the following steps:
[0042] Step 1: Connect the PLC communication network card of fog cannon 2 to the communication network card of slave PLC via a network cable;
[0043] Step 2: Communicate with the main PLC through the PC, upload information to the web page through the PC, and the smart phone 1 can remotely control the main PLC by logging into the relevant web page;
[0044] Step 3: Send instructions to multiple slave PLC local area networks through the master PLC, convert multiple IO points of the slave PLC into IO points of the master PLC through Get / Put instructions, and send control instructions to multiple fog cannons 2 controlled by multiple slave PLCs;
[0045] Step 4: Use multiple sensors on the fog cannon 2 to detect whether the fog cannon 2 is working, and multiple sensors send the detected data to the slave PLC within a preset time. The slave PLC determines the response of the fog cannon 2 to the control command from the received signal, and can observe the status of each fog cannon 2 and make relevant adjustments.
[0046] The present invention can control a plurality of fog cannons 2 to work at one time through a PC and a smart phone 1, and the control method is simple and fast. In addition, the control method can also detect the working state of each fog cannon 2 through sensor detection.
[0047] In this embodiment, the IO conversion steps of the master-slave PLC are as follows:
[0048] Step 1: Multiple fog cannon 2PLCs are connected to slave PLCs, and each slave PLC is a group;
[0049] Step 2: Set multiple groups of LAN server addresses from PLCs;
[0050] Step 3: Set the GET wizard function of the master PLC, set the input point to be transmitted, transmit the input point information of the slave PLC to the master PLC, select the IP address corresponding to the slave PLC, and the master PLC will modify the input point information read;
[0051] Or step 4, set the Put wizard function of the master PLC, set the input point to be transmitted, transmit the output point information of the slave PLC to the master PLC, select the IP address corresponding to the slave PLC, and the master PLC will modify the read output point information;
[0052] Step 5, the master PLC sets the T0 time sequence to start multiple groups of slave PLC fog cannons 2, and multiple fog cannons 2 PLCs are set to start the water pump first, then start the fan 8, and finally start the motor to drive the fan 8 to rotate left and right;
[0053] Step 6: The main PLC communicates with the PC, and the PC uploads the information to the Internet. The smart phone 1 can control the fog cannon 2 through the web page.
[0054] In this embodiment, in step 2, the GetPut wizard in the PLC program is opened, 1P (i.e., the Put type) is selected, the byte size is 1-6, the VB10 information is read from the local CPU (S7-200PLC) and transmitted to the remote CPU (S7-200 SMARTPIC), the corresponding communication area network IP address is selected, and the read information is changed to MB5; in step 4, the GetPut wizard in the PLC program is opened, 1G (i.e., the Get type) is selected, the byte size is 1-6, the VB10 information is read from the local CPU (S7-200PLC) and transmitted to the remote CPU (S7-200 SMART PIC), the corresponding communication area network IP address is selected, and the read information is changed to MB5.
[0055] In this embodiment, the control instruction is a control instruction for any one of the fog cannon 2 or a batch control instruction for multiple fog cannons 2; the control instruction includes: any one or more combinations of starting and stopping the water pump of the fog cannon 2, up and down of the oil pump, switch of the fan 8, and left and right rotation of the motor. The oil pump controls the fog cannon 2 to rotate up and down through the solenoid valve.
[0056] Embodiment 2
[0057] A PLC communication module includes a memory, a communicator, a converter and a processor, wherein the memory is used to store set instruction content; the communicator is used to communicate with a fog cannon 2, a PC end and a smart phone 1 end; the processor converts the IO format in the slave PLC into an IO point in the main PLC, and the processor runs computer instructions to implement the method applied to the PLC communication module in the above embodiment 1.
[0058] Embodiment 3
[0059] like Figure 6As shown, a fog cannon 2 comprises a barrel 3, a mounting seat 4 is rotatably connected to both sides of the middle of the barrel 3, a fan is fixedly arranged in the barrel 3, an atomizer nozzle is arranged in front of the fan, the atomizer nozzle is fixedly connected to the barrel 3, and the barrel 3, the atomizer nozzle and the atomizer nozzle are all arranged concentrically; the mounting seat 4 is fixedly connected to a motor, the mounting seat 4 is rotatably connected to a cabinet 5, the motor is fixedly connected to the cabinet 5, the cabinet 5 is fixedly connected to a caster 6 with a brake at each corner, and a button control panel 7 is arranged on one side of the cabinet 5; a telescopic rod 9 is fixedly connected to the middle of the barrel 3, the other end of the telescopic rod 9 is rotatably connected to the cabinet 5, the telescopic rod pipeline is connected to an oil pump, the oil pump is connected to a solenoid valve, the barrel 3 is provided with a communication network card for PLC communication, the communication network card for PLC communication is connected to the communication network card from the PLC through a network cable, and the communication network card for PLC communication is electrically connected to the water pump, the solenoid valve, the motor, the fan 8, and the oil pump.
[0060] like Figure 3-6 As shown, the fog cannon 2 of the present invention is equipped with a communication network card for PLC communication, and can be directly connected to the slave PLC. Then, instructions are sent to multiple slave PLC local area networks through the master PLC, and multiple IO points of the slave PLC are converted into IO points of the master PLC through Get / Put instructions, and control instructions are issued to multiple fog cannons 2 controlled by multiple slave PLCs.
[0061] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A PLC intelligent fog cannon method, characterized in that: The following steps are involved: Step 1: Connect the PLC communication network card of the fog cannon to the communication network card of the slave PLC via a network cable; Step 2: Communicate with the main PLC through the PC, upload information to the web page through the PC, and log in to the relevant web page with a smart phone to remotely control the main PLC; Step 3: Send instructions to multiple slave PLC local area networks through the master PLC, convert multiple IO points of the slave PLC into IO points of the master PLC through Get / Put instructions, and send control instructions to multiple fog cannons controlled by multiple slave PLCs; Step 4: Use multiple sensors on the fog cannon to detect whether the fog cannon is working, and the multiple sensors send the detected data to the slave PLC within a preset time. The slave PLC determines the response of the fog cannon to the control command from the received signal, and can observe the status of each fog cannon and make relevant adjustments; IO conversion steps of master-slave PLC: Step 1: Multiple fog cannon PLCs are connected to slave PLCs, and each slave PLC is a group; Step 2: Set multiple groups of LAN server addresses from PLCs; Step 3: Set the GET wizard function of the master PLC, set the input point to be transmitted, transmit the input point information of the slave PLC to the master PLC, select the IP address corresponding to the slave PLC, and the master PLC will modify the input point information read; Or step 4, set the Put wizard function of the master PLC, set the input point to be transmitted, transmit the output point information of the slave PLC to the master PLC, select the IP address corresponding to the slave PLC, and the master PLC will modify the read output point information; Step 5: The master PLC sets the T0 time sequence to start multiple groups of fog cannons from the slave PLCs. The multiple fog cannon PLCs are set to start the water pump first, then the fan, and finally the motor to drive the fan to rotate left and right; Step 6: The main PLC communicates with the PC, which uploads the information to the Internet, and the smart phone can control the fog cannon through the web page; In step 2, open the GetPut wizard in the PLC program, select 1P, transfer byte size 1-6, read VB10 information from the local CPU and transfer it to the remote CPU, select the corresponding communication area network IP address, and change the read information to MB5.
2. A PLC intelligent fog cannon method according to claim 1, characterized in that: In step 4, open the GetPut wizard in the PLC program, select 1G, transfer byte size 1-6, read VB10 information from the local CPU and transfer it to the remote CPU, select the corresponding communication area network IP address, and change the read information to MB5.
3. A PLC intelligent fog cannon method according to claim 1, characterized in that: The control instruction is a control instruction for any one of the fog cannons or a batch control instruction for multiple fog cannons.
4. A PLC intelligent fog cannon method according to claim 3, characterized in that: The control instructions include any one or more combinations of starting and stopping the water pump of the fog cannon, moving the oil pump up and down, switching the fan, and rotating the motor left and right. The oil pump controls the fog cannon to rotate up and down through a solenoid valve.
5. A fog cannon used in the PLC intelligent fog cannon method according to any one of claims 1 to 4, comprising a barrel, characterized in that: The two sides in the middle of the barrel are rotatably connected with mounting seats, a fan is fixedly arranged in the barrel, an atomizer nozzle is arranged in front of the fan, the atomizer nozzle is fixedly connected to the barrel, and the barrel, the atomizer nozzle and the atomizer nozzle are all concentrically arranged; the mounting seat is fixedly connected to a motor, the mounting seat is rotatably connected to a cabinet, the motor is fixedly connected to the cabinet, the four corners of the cabinet are fixedly connected to a caster with a brake, and a button control panel is arranged on one side of the cabinet; a telescopic rod is fixedly connected to the middle of the barrel, the other end of the telescopic rod is rotatably connected to the cabinet, the telescopic rod pipeline is connected to an oil pump, the oil pump is connected to a solenoid valve, the barrel is provided with a communication network card for PLC communication, the communication network card for PLC communication is connected to the communication network card of the slave PLC through a network cable, and the communication network card for PLC communication is electrically connected to the water pump, the solenoid valve, the motor, the fan and the oil pump.
