CN115848968A - Cotton swab machine variable-pitch synchronous control method based on PLC control platform - Google Patents
Cotton swab machine variable-pitch synchronous control method based on PLC control platform Download PDFInfo
- Publication number
- CN115848968A CN115848968A CN202211690954.0A CN202211690954A CN115848968A CN 115848968 A CN115848968 A CN 115848968A CN 202211690954 A CN202211690954 A CN 202211690954A CN 115848968 A CN115848968 A CN 115848968A
- Authority
- CN
- China
- Prior art keywords
- transmission line
- variable
- pitch
- cotton swab
- continuous
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention discloses a cotton swab machine variable-pitch synchronous control method based on a PLC control platform, which comprises the following steps: the method comprises the following steps: setting the distance from the first placing groove to the second placing groove of the same cotton swab as n by taking the first placing groove as a number reference; step two: counting the number of the cotton swabs on the feeding transmission line by the sensor detection device, and judging for n times, wherein the number of the continuous materials is K1; when no material is judged, the judgment is switched to no material judgment, and n times of judgment are carried out, wherein the continuous no material quantity K2 is obtained; step three: controlling a variable pitch motor to control a variable pitch transmission line to move, when the continuous material quantity is K1, enabling a feeding transmission line and the variable pitch transmission line to move synchronously, and moving at an interval of K1, and when the continuous material quantity is judged to be K2, enabling the variable pitch transmission line not to move, enabling the feeding transmission line to move by a distance of K2, and then returning to the step II. The problem of synchronous variable pitch of the cotton swab machine is well solved.
Description
Technical Field
The invention relates to the field of synchronous control algorithms, in particular to a cotton swab machine variable-pitch synchronous control method based on a PLC control platform.
Background
For solving cotton swab machine equipment displacement and leaking, the synchronous problem of equipment, the producer often will leak the artifical feed supplement that carries out of cotton swab of putting, perhaps will not put the material that fills and carry out the sensor and detect to carry out the feed supplement through the mechanism, but in this kind of mode, if artifical feed supplement then need shut down the operation, if carry out the feed supplement of outside manipulator, then need install extra equipment additional, increase the loaded down with trivial details degree of control of procedure simultaneously, consequently, have the structure complicacy, the shortcoming of inefficiency.
Disclosure of Invention
The invention aims to provide a cotton swab machine variable-pitch synchronous control method based on a PLC control platform, which improves the working efficiency and reduces the labor cost.
The technical scheme adopted by the invention for solving the technical problems is as follows: the cotton swab machine variable pitch synchronous control method based on the PLC control platform is characterized in that: including pay-off transmission line and displacement transmission line, still including drive pay-off transmission line pivoted pay-off motor and the driven displacement motor of drive displacement transmission line, be covered with the first standing groove that is used for placing the cotton swab on the pay-off transmission line, be covered with the second standing groove that is used for placing the cotton swab on the displacement transmission line, pay-off transmission line top is provided with the sensor detection device who is used for detecting whether there is the cotton swab in the first standing groove, the front end of displacement transmission line is located the tail end below of pay-off transmission line, and its control method is:
the method comprises the following steps: setting the distance from the first placing groove to the second placing groove of the same cotton swab as n by taking the first placing groove as a number reference;
step two: counting the number of the cotton swabs on the feeding transmission line by the sensor detection device, and judging n times, wherein the number of the continuous materials is K1; when no material is judged, the judgment is changed into no material judgment, and n times of judgment are carried out, wherein the continuous no material quantity is K2;
step three: and controlling a variable pitch motor to control the variable pitch transmission line to move, when the continuous material quantity is K1, enabling the feeding transmission line and the variable pitch transmission line to move synchronously, and moving at an interval of K1, when the continuous material quantity is judged to be K2, enabling the variable pitch transmission line not to move, enabling the feeding transmission line to move by the distance of K2, and then returning to the step two.
Further, the method comprises the following steps: in the first step, the width m1 of the second placing groove is set, the width m2 of the first placing groove is set, the material traveling distance L1 of the feeding transmission line is provided, the material traveling distance L1 of the feeding transmission line is not provided, and the material traveling distance L3 of the variable-pitch transmission line is provided;
wherein, in the third step, when the continuous material quantity is K1, the movement distance of the feeding transmission line is as follows: l1= m2 × K1, and the distance of movement of the variable pitch transmission line L3= m1 × K1;
when the continuous no-material quantity K2 is obtained, the movement distance of the feeding transmission line is as follows: l2= m2 × K2, the distance of movement of the pitch transmission line is 0.
Further, the method comprises the following steps: the sensor detection device may be a photosensor or a laser sensor.
Further, the method comprises the following steps: in the second step, i1 and i2 are set as intermediate variables;
when a material is detected, when the material is arranged at the position where detection is started, adding 1 to i1 until no material is detected, wherein i1 is less than n, K1= i1, and if the position where detection is started is no material, K1=0, and converting into no material detection;
when no material is detected and no material is detected at the detection starting position, starting to circularly count and add 1 to i2 until no material is detected, wherein i2 is less than n, K1= i1, and if the detection starting position is material, K2=0 is converted into material detection.
The invention has the beneficial effects that: according to the invention, the variable pitch synchronous algorithm module is added to the PLC program, the variable pitch synchronous control program can be automatically generated, and a client only needs to set an actual variable pitch distance according to an actually installed detection material position and then sets a wire feeding distance according to the set wire feeding distance; the order of execution before and after is calculated. The invention is simple and convenient, improves the working efficiency and reduces the labor cost; the problem of synchronous pitch variation of the cotton swab machine is well solved.
Drawings
Fig. 1 is a schematic diagram of a cotton swab machine pitch-changing synchronous control method based on a PLC control platform according to an embodiment of the present application.
Fig. 2 is a side view of the cotton swab machine pitch-changing synchronous control method based on the PLC control platform according to the embodiment of the present application.
Fig. 3 is an algorithm enumeration diagram of a cotton swab machine pitch-changing synchronous control method based on a PLC control platform according to the embodiment of the present application.
Labeled as: the device comprises a feeding transmission line 1, a variable-pitch transmission line 2, a feeding motor 3, a variable-pitch motor 4, a first placing groove 5, a second placing groove 6 and a sensor detection device 7.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
As shown in fig. 1, the embodiment of the application discloses a cotton swab machine variable pitch synchronous control method based on a PLC control platform, which is characterized in that: including pay-off transmission line 1 and displacement transmission line 2, still including drive pay-off transmission line 1 pivoted pay-off motor 3 and drive displacement transmission line 2 driven displacement motor 4, be covered with the first standing groove 5 that is used for placing the cotton swab on the pay-off transmission line 1, be covered with the second standing groove 6 that is used for placing the cotton swab on the displacement transmission line 2, pay-off transmission line 1 top is provided with the sensor detection device 7 that is used for detecting whether there is the cotton swab in the first standing groove 5, the front end of displacement transmission line is located pay-off transmission line 1's tail end below, and its control method is:
the method comprises the following steps: setting the distance of the same cotton swab from the first placing groove 5 to the second placing groove 6 as n by taking the first placing groove 5 as a number reference, wherein n is set according to the situation of specific equipment, such as n =6, n =7, n =8 and the like;
step two: the sensor detection device 7 counts the number of the cotton swabs on the feeding transmission line 1, and judges n times, wherein the number of the continuous materials is K1; when no material is judged, the judgment is switched to no material judgment, and n times of judgment are carried out, wherein the number of the continuous no material is counted as K2;
step three: and controlling the variable pitch motor 4 to control the variable pitch transmission line 2 to move, when the continuous material quantity is K1, synchronously moving the feeding transmission line 1 and the variable pitch transmission line 2 at an interval K1, when the continuous material quantity is judged to be K2, not moving the variable pitch transmission line 2, moving the feeding transmission line 1 by the distance of the K2 quantity, and then returning to the step two.
Specifically, the sensor detection device 7 may be a photoelectric sensor or a laser sensor.
The control method can ensure that the feeding motor 3 and the variable-pitch motor 4 simultaneously control the feeding transmission line 1 and the variable-pitch transmission line 2 to move when materials exist, only the feeding transmission line 1 moves when materials are empty, and the variable-pitch transmission line 2 waits for subsequent incoming materials, so that synchronous material receiving of the variable-pitch transmission line 2 is realized, the labor cost of manual material supplementing or the equipment cost of external device material supplementing is reduced, and the method has the advantages of simplicity, convenience, improvement on working efficiency and less labor cost.
In this embodiment, in the first step, the width m1 of the second placing groove 6 is set, the width m2 of the first placing groove 5 is set, the material conveying line 1 has a material traveling distance L1, the material conveying line 1 has no material traveling distance L1, and the variable-pitch conveying line 2 has a material traveling distance L3;
wherein, in step three, when the continuous material quantity is K1, the movement distance of pay-off transmission line 1 is: l1= m2 × K1, and the movement distance L3= m1 × K1 of the variable pitch transmission line 2;
when the continuous material-free quantity K2 exists, the movement distance of the feeding transmission line 1 is as follows: l2= m2 × K2, and the distance of movement of the variable pitch transmission line 2 is 0.
In the structure, the movement distance is calculated, so that the movement distance of the feeding transmission line 1 and the movement distance of the variable-pitch transmission line 2 are controlled, the first placing groove 5 for placing the cotton swabs can correspond to the second placing groove 6 one to one, the cotton swabs are guaranteed to fall into the second placing groove 6, the empty groove condition cannot occur in the second placing groove 6, and the control method is simple and effective.
In the second step, i1 and i2 are set as intermediate variables;
when a material is detected, when the material is arranged at the position where detection is started, adding 1 to i1 until no material is detected, wherein i1 is less than n, K1= i1, and if the position where detection is started is no material, K1=0, and converting into no material detection;
when no material is detected and no material is detected at the detection starting position, starting to circularly count and add 1 to i2 until no material is detected, wherein i2 is less than n, K1= i1, and if the detection starting position is material, K2=0 is converted into material detection.
The counting method can realize continuous material counting and continuous material-free counting, thereby providing a basis for the control of the subsequent feeding transmission line 1 and the variable-pitch transmission line 2.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present invention, and should not be construed as limiting the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (4)
1. A cotton swab machine variable pitch synchronous control method based on a PLC control platform is characterized in that: including pay-off transmission line (1) and displacement transmission line (2), still including drive pay-off transmission line (1) pivoted pay-off motor (3) and drive displacement transmission line (2) driven displacement motor (4), be covered with first standing groove (5) that are used for placing the cotton swab on pay-off transmission line (1), be covered with second standing groove (6) that are used for placing the cotton swab on displacement transmission line (2), pay-off transmission line (1) top is provided with sensor detection device (7) that are used for detecting whether have the cotton swab in first standing groove (5), the front end of displacement transmission line is located the tail end below of pay-off transmission line (1), and its control method is:
the method comprises the following steps: setting the distance from the first placing groove (5) to the second placing groove (6) of the same cotton swab as n by taking the first placing groove (5) as the number reference;
step two: the sensor detection device (7) counts the number of the cotton swabs on the feeding transmission line (1), and judges n times, wherein the number of the continuous materials is K1; when no material is judged, the judgment is switched to no material judgment, and n times of judgment are carried out, wherein the continuous no material quantity K2 is obtained;
step three: and (2) controlling a variable-pitch motor (4) to control the variable-pitch transmission line (2) to move, when the continuous material quantity is K1, synchronously moving the feeding transmission line (1) and the variable-pitch transmission line (2) at an interval of K1, when the continuous material quantity is judged to be K2, not moving the variable-pitch transmission line (2), moving the feeding transmission line (1) by the distance of K2 quantity, and then returning to the step two.
2. The cotton swab machine variable-pitch synchronous control method based on the PLC control platform as claimed in claim 1, wherein: in the first step, the width m1 of the second placing groove (6) is set, the width m2 of the first placing groove (5) is set, the material feeding transmission line (1) has a material traveling distance L1, the material feeding transmission line (1) has no material traveling distance L1, and the variable-pitch transmission line (2) has a material traveling distance L3;
wherein, in the third step, when the continuous material quantity is K1, the movement distance of the feeding transmission line (1) is as follows: l1= m2 × K1, the movement distance L3= m1 × K1 of the variable-pitch transmission line (2);
when the continuous non-material quantity K2 exists, the movement distance of the feeding transmission line (1) is as follows: l2= m2 × K2, the distance of movement of the variable pitch transmission line (2) is 0.
3. The cotton swab machine variable-pitch synchronous control method based on the PLC control platform as claimed in claim 1, wherein: the sensor detection device (7) can be a photoelectric sensor or a laser sensor.
4. The cotton swab machine variable-pitch synchronous control method based on the PLC control platform as claimed in claim 1, wherein:
in the second step, i1 and i2 are set as intermediate variables;
when a material is detected, when the material is arranged at the position where detection is started, adding 1 to i1 until no material is detected, wherein i1 is less than n, K1= i1, and if the position where detection is started is no material, K1=0, and converting into no material detection;
when no material is detected and no material is detected at the detection starting position, starting to circularly count and add 1 to i2 until no material is detected, wherein i2 is less than n, K1= i1, and if the detection starting position is material, K2=0 is converted into material detection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211690954.0A CN115848968A (en) | 2022-12-28 | 2022-12-28 | Cotton swab machine variable-pitch synchronous control method based on PLC control platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211690954.0A CN115848968A (en) | 2022-12-28 | 2022-12-28 | Cotton swab machine variable-pitch synchronous control method based on PLC control platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115848968A true CN115848968A (en) | 2023-03-28 |
Family
ID=85655202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211690954.0A Pending CN115848968A (en) | 2022-12-28 | 2022-12-28 | Cotton swab machine variable-pitch synchronous control method based on PLC control platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115848968A (en) |
-
2022
- 2022-12-28 CN CN202211690954.0A patent/CN115848968A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109606813B (en) | Method for realizing accurate positioning and accurate pushing of materials | |
CN104853908A (en) | Intelligent automatic transport arrangement for package manufacturing | |
CN101340165A (en) | Synchronous control system for multiple motors | |
CN207001596U (en) | Conveyer automatic start-stop device | |
CN115848968A (en) | Cotton swab machine variable-pitch synchronous control method based on PLC control platform | |
CN111620100B (en) | Control method for material transfer, pickup system and storage medium | |
CN101322970A (en) | Automatic sorting device, and method and system | |
CN205000096U (en) | Sewing machine pay -off control system | |
CN102556438A (en) | Not-full packing method and system of electric energy meter workbin | |
CN209367229U (en) | A kind of jacking turnover device for feeding | |
CN106494669A (en) | A kind of automatic boxing blanking system based on servo techniques | |
CN106628951A (en) | Tissue production line conveying device and tissue production line system | |
CN103272978A (en) | Automatic feeding device and full-automatic thread-rolling machine | |
CN206679792U (en) | Tobacco cutting blade premixes cabinet discharging control device and control system | |
CN102745486B (en) | Servo control distribution system of battery weighing machine | |
CN105668187A (en) | Automatic control system for gypsum board feeding | |
CN103911670A (en) | Cocoon cooking machine | |
CN204643328U (en) | For the intelligent loading device of panel production line | |
CN211594051U (en) | Automatic sorting and framing system | |
CN204211011U (en) | Parcel automatic withdrawing shunt lead | |
CN202575382U (en) | Automatic magnetic shoe unloading device | |
CN103594405B (en) | After a kind of axial diode automation gluing, solidify conveying device | |
CN203631520U (en) | Novel automatic conveying device for sizing post curing process of axial diodes | |
CN216685020U (en) | Material conveying device | |
CN219238377U (en) | Cigarette blanking regulating and controlling device of tray loader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |