Background
The application control of the conventional dispenser is generally based on a single control mode, such as a dispensing control system based on a motion control card. However, when multiple sets of controllers are often required to be nested with each other or multiple different types of controllers are often required to be coordinated with each other when multiple sets of controllers are required to be combined or the whole line is automated, for example, in a combined application of a motion control card + a PLC, the following situations often occur:
the conventional glue dispenser cannot rapidly meet the working requirements of automatic feeding and discharging or other glue dispensing processes, and when the equipment process only comprises a glue dispensing process, the conventional glue dispenser cannot meet the relevant performance requirements of the equipment.
By adopting a mode of combining the dispenser and the PLC (or other controllers), the complex processing of interactive signals often occurs, or the situation of temporarily increasing signals or increasing the actions of equipment in the debugging production process is caused, so that the manufacturing period of the equipment is greatly prolonged.
The device with multiple controllers combined, especially when the types of the controllers are not consistent, usually needs multiple software projects to design the software, the interactive cooperation of the multiple controllers often causes problems, when the problems occur, multiple engineers are required to simultaneously appear on the field of the device to perform the optimized upgrading treatment of the software, and the time cost is obviously increased.
When the whole-line automation needs to be realized, for example, the intelligent automation of a factory needs to be realized, the data integration difficulty of the multiple controllers is very high, and the real-time performance is not high.
The combination of multiple controllers directly increases the hardware cost, the assembly cost and the debugging cost.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a control system is glued to multistation point based on PLC bus motion control to solve the problem of proposing among the above-mentioned background art. In order to achieve the above purpose, the utility model adopts the following technical scheme: the multi-station dispensing control system based on PLC bus motion control comprises a PLC controller, a driving module connected with the PLC controller, and an IO module connected with the PLC controller through an Ethernet; the drive module including respectively with first motor drive module, second motor drive module, the third motor drive module that the PLC controller is connected, the IO module include the switch, and with the image processing unit, human-computer interaction system, the MES system that the switch passes through the net twine and connects, the switch pass through the ethernet with the PLC controller is connected.
Preferably, the human-computer interaction system comprises at least two human-computer interaction operation screens, and the at least two human-computer interaction operation screens are connected with the switch through network cables.
Preferably, the image processing unit includes an industrial computer and a CCD camera, the CCD camera is connected to the industrial computer through an ethernet, and the industrial computer is connected to the switch through a network cable.
Preferably, the first motor driving module includes an X1 axis motor driver, a Y1 axis motor driver, and a Z1 axis motor driver respectively connected to the PLC controller.
Preferably, the second motor driving module includes an X2 axis motor driver, a Y2 axis motor driver, and a Z2 axis motor driver respectively connected to the PLC controller.
Preferably, the third motor driving module includes a Y3-axis motor driver, a Y4-axis motor driver, and a CCD detection-axis motor driver respectively connected to the PLC controller.
Preferably, the PLC controller is further connected with a code scanning gun, and the code scanning gun is used for sending the serial number of the product code scanning to the image processing unit and the MES system.
Compared with the prior art, the utility model has the advantages that the utility model only comprises one controller, realizes the functions of automatic feeding and discharging, dispensing control, image processing, MES and the like, and has high equipment integration level and good system compatibility; the system can realize simultaneous control of double-layer automatic feeding and discharging and multi-axis dispensing motion;
the dispensing control system uses a control mode of 'PLC + human-computer interaction', comprises common basic functions of a dispensing process, and integrates a code scanning function, an AOI visual detection function, an MES function and common PLC basic application functions;
the dispensing control system is simple and rapid to operate, is relatively stable, can realize 24-hour continuous and stable production, is relatively superior in general type, can quickly modify track parameters to update dispensing actions according to different product types or different glue paths, adopts a control mode of 'X + Y + Z' double-triaxial dispensing, and has greatly improved dispensing efficiency and stability compared with the traditional dispensing equipment.
Drawings
Fig. 1 is a frame diagram of a multi-station dispensing control system based on PLC bus motion control according to the present invention;
fig. 2 is a frame diagram of a first motor drive module according to the embodiment of fig. 1 of the present invention;
fig. 3 is a frame diagram of a second motor drive module according to the embodiment of fig. 1 of the present invention;
fig. 4 is a frame diagram of a third motor drive module according to the embodiment of fig. 1 of the present invention;
fig. 5 is a block diagram of the image processing unit according to the embodiment of fig. 1 of the present invention;
fig. 6 is a frame diagram of the human-computer interaction system of the embodiment of fig. 1 of the present invention;
the figures above show: the system comprises a PLC (programmable logic controller) 1, a switch 2, a first motor driving module 11, a second motor driving module 12, a third motor driving module 13, an image processing unit 5, a man-machine interaction system 6, an MES (manufacturing execution system) 4, a man-machine interaction system 6, a first man-machine interaction operation screen 7, a second man-machine interaction operation screen 8, an industrial computer 51, a CCD (charge coupled device) camera 52, an X1 shaft motor driver 21, a Y1 shaft motor driver 22, a Z1 shaft motor driver 23, an X2 shaft motor driver 31, a dispensing Y2 shaft motor driver 32, a dispensing Z2 shaft motor driver 33, a Y3 shaft motor driver 41, a Y4 shaft motor driver 42, a CCD (charge coupled device) detection shaft motor driver 43 and a code scanning gun 9.
Detailed Description
In order to facilitate understanding of the present invention, the present invention will be described in more detail with reference to the accompanying drawings and specific embodiments. Preferred embodiments of the present invention are shown in the drawings. The invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," "front," "rear," and the like as used herein are for descriptive purposes only.
Unless defined otherwise, 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 belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
As shown in fig. 1-6, an embodiment of the present invention is a multi-station dispensing control system based on PLC bus motion control, including a PLC controller 1, a driving module connected to the PLC controller, and an IO module connected to the PLC controller through an ethernet; the drive module include respectively with first motor drive module 11, second motor drive module 12, the third motor drive module 13 that PLC controller 1 is connected, the IO module include switch 2, and with image processing unit 5, human-computer interaction system 6, MES system 4 that switch 2 passes through the net twine and connects, the switch pass through the ethernet with PLC controller 1 connects.
The PLC controller 1 is connected to the first motor driving module 11 and the second motor driving module 12, used for realizing glue dispensing at multiple stations simultaneously and different glue dispensing at multiple stations simultaneously, the PLC 11 is connected with the third motor driving module 13, used for controlling the loading and unloading of products, the image processing unit 5 is connected with the PLC controller 1 through the exchanger, used for controlling a CCD camera 52 to photograph products and visually analyze a glue path, the human-computer interaction system 6 is connected with the PLC controller 1 through the exchanger 2, for adjusting the dispensing parameters, the MES system 4 is connected with the PLC controller 1 through the switch 2, the system is used for summarizing the running state of the equipment, the current state of the product and the data of product detection, and uploading the data to the client terminal for storage and monitoring.
Preferably, the human-computer interaction system 6 includes a first human-computer interaction operation screen 7 and a second human-computer interaction operation screen 8, and both the first human-computer interaction operation screen 7 and the second human-computer interaction operation screen 8 are connected to the switch 2 through network cables. The man-machine interaction mode of one machine with multiple screens can be realized.
The human-computer interaction system is provided with the planning design of the dispensing path (including dispensing type, advance valve opening and closing, dispensing speed and the like), so that the free programming and design of the dispensing track can be realized; the setting of the switch valve in advance can reduce the unstable situation of glue output at the glue dispensing starting section; the multipoint positions can be set with different dispensing speeds so as to realize the widths and weights of different glue paths.
Preferably, the image processing unit comprises an industrial computer 51 and a CCD camera 52, the CCD camera 52 is connected to the industrial computer 51 through an ethernet, and the industrial computer 51 is connected to the switch 2 through a network cable.
The image processing unit mainly comprises the steps of detecting the length, the width and the area of the dispensed product, storing the detected result data to the corresponding picture position, storing all the detected data in an excel data table format, and uploading the data in real time by an MES system.
Preferably, the first motor driving module 11 includes an X1 axis motor driver 21, a Y1 axis motor driver 22, and a Z1 axis motor driver 23 respectively connected to the PLC controller.
The PLC is connected with the first motor driving module and used for sending pulse signals to respectively drive the X1 axis servo motor, the Y1 axis servo motor and the Z1 axis servo motor to rotate so as to finish a series of dispensing actions.
Preferably, the second motor driving module 12 includes a dispensing X2 axis motor driver 31, a dispensing Y2 axis motor driver 32, and a dispensing Z2 axis motor driver 33 respectively connected to the PLC controller 1.
The PLC is connected with the second motor driving module and used for sending pulse signals to respectively drive the X2 axis servo motor, the Y2 axis servo motor and the Z2 axis servo motor to rotate so as to finish a series of dispensing actions.
Preferably, the third motor driving module 13 includes a Y3-axis motor driver 41, a Y4-axis motor driver 42, and a CCD detection-axis motor driver 43 respectively connected to the PLC controller 1.
The PLC is connected with the third motor driving module and is used for sending pulse signals to respectively drive the Y3-axis servo motor, the Y4-axis servo motor and the CCD detection shaft motor driver to rotate, and respectively drives the upper carrier and the lower carrier to move and drives the CCD detection shaft servo motor to move.
Preferably, the PLC controller 1 is further connected to a code scanning gun 9, and the code scanning gun 9 is configured to send the serial number of the product code scanning to the image processing unit 5 and the MES system 4.
Preferably, the communication protocol of the PLC controller 1, the first motor driving module 11, the second motor driving module 12, and the third motor driving module is an EtherCAT communication protocol.
Preferably, the PLC controller is preferably an EtherCAT bus motion controller, the specific model is AMC832E, and the motor driver is preferably an EtherCAT bus stepping driver, the specific model is NCM 57-EC.
The utility model discloses specific work flow is as follows: the whole automatic flow of the glue-dropping control system mainly comprises an automatic feeding and discharging flow, an automatic glue-dropping flow, a visual inspection flow and an MES information interaction flow, after starting up, parameter setting is carried out in a man-machine interaction system, the parameter setting comprises a glue-dropping parameter, a non-glue-dropping parameter, a communication parameter, other parameters and the like, the automatic flow is confirmed to start, a PLC controller controls a Y3 shaft motor driver to drive a Y3 shaft servo motor to rotate and drive an upper carrier to a feeding position, a worker uses a code-sweeping gun to sweep codes and feed a product, the feeding is completed, the PLC controller controls a Y3 shaft motor driver to drive a Y3 shaft servo motor to rotate and drive an upper carrier product to go to a feeding position, the PLC controller controls a first motor driving module to drive an X1 shaft servo motor, a Y1 shaft servo motor and a Z1 shaft servo motor to rotate and carry out glue-dropping on the upper carrier product, after glue-dropping is completed, the PLC controller controls a Y3 shaft servo motor, driving the upper carrier product to move to a detection station, controlling a CCD detection shaft servo motor to move to the detection station by a PLC (programmable logic controller), photographing the product by a CCD camera, detecting the product by an industrial computer, transmitting data to an MES (manufacturing execution system) system, uploading, finishing detection, controlling a Y3 shaft servo motor to send the upper carrier product to a blanking station by the PLC controller, prompting manual blanking, scanning codes again and loading; meanwhile, a PLC controller controls a Y4 shaft motor driver to drive a Y4 shaft servo motor to rotate to drive a lower layer carrier to a loading position, a worker uses a code scanning gun to scan and load a product, the loading is completed, the PLC controller controls a Y4 shaft motor driver to drive a Y4 shaft servo motor to rotate and drive a lower layer carrier product to remove a glue dispensing position, a PLC controller controls a second motor driving module to drive an X2 shaft servo motor, a Y2 shaft servo motor and a Z2 shaft servo motor to rotate to dispense the lower layer carrier product, after the glue dispensing is completed, the PLC controller controls a Y4 shaft servo motor to drive the lower layer carrier product to remove a detection position, the PLC controller controls a CCD detection shaft servo motor to move to the detection position, a CCD camera carries out the product shooting, an industrial computer detects the product and transmits data to an MES system for uploading, the detection is completed, the PLC controller controls a Y4 shaft servo motor to send the upper layer carrier product to a discharging position, prompting the manual blanking, and scanning the code again for feeding; and the MES system is responsible for human-computer interaction data acquisition, PLC controller flow data acquisition and product state data acquisition.
It should be noted that the above technical features are continuously combined with each other to form various embodiments which are not listed above, and all the embodiments are regarded as the scope of the present invention described in the specification; moreover, modifications and variations will occur to those skilled in the art in light of the foregoing description, and it is intended to cover all such modifications and variations as fall within the true spirit and scope of the invention as defined by the appended claims.