CN108762185A - A kind of color steel tile fixed length cutting algorithm based on PLC program control - Google Patents

A kind of color steel tile fixed length cutting algorithm based on PLC program control Download PDF

Info

Publication number
CN108762185A
CN108762185A CN201810472104.0A CN201810472104A CN108762185A CN 108762185 A CN108762185 A CN 108762185A CN 201810472104 A CN201810472104 A CN 201810472104A CN 108762185 A CN108762185 A CN 108762185A
Authority
CN
China
Prior art keywords
length
pulse
color steel
steel tile
speed
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.)
Granted
Application number
CN201810472104.0A
Other languages
Chinese (zh)
Other versions
CN108762185B (en
Inventor
刘雨
杨宏磊
王占领
郭玉钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henan Weihua Special Vehicle Co Ltd
Original Assignee
Henan Weihua Special Vehicle Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Henan Weihua Special Vehicle Co Ltd filed Critical Henan Weihua Special Vehicle Co Ltd
Priority to CN201810472104.0A priority Critical patent/CN108762185B/en
Publication of CN108762185A publication Critical patent/CN108762185A/en
Application granted granted Critical
Publication of CN108762185B publication Critical patent/CN108762185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1105I-O

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)
  • Control Of Metal Rolling (AREA)

Abstract

The invention discloses a kind of color steel tile fixed length cutting algorithms based on PLC program control, it acquires high-speed pulse signal by high-speed counter, carry out high-speed computation interrupt output, it can realize the batch cutting production of color steel tile different length, and using the method for measured length error rate, efficiently solve the accumulated error in color steel tile cutting process, setting length is inputted by man-machine interface, cut the information such as number, by actual test and gauge length, ensure the stability of continuous cutting color steel tile, the Cutting Length of color steel tile can be efficiently controlled, number and precision, the accurate fixed-length batch for realizing roofing color steel tile random length is cut.

Description

A kind of color steel tile fixed length cutting algorithm based on PLC program control
Technical field
The invention belongs to color steel tile cutting technique fields, fixed more particularly to a kind of color steel tile based on PLC program control Long cutting algorithm.
Background technology
During factory building, needed to carry out caping using color steel tile according to construction criteria and requirement, it is common to make Industry method is the color steel tile in ground die mould at required length by color spring tape, then is manually delivered to roofing from ground, this side Method needs to arrange for more people and coordinates, and surfaceman and roofer must skillfully coordinate tacitly, color steel tile could be passed It is delivered to relative stations to be laid with, causes labor intensity high, low production efficiency, there are security risks for worker's working at height.Tradition System watt equipment cannot effectively to the output length of color steel tile carry out accurate measurement, cause cutting after color steel tile length not Unanimously, it need to be constantly adjusted in color steel tile process of deployment, and then largely effect on the laying efficiency of color steel tile, therefore be badly in need of one Kind improves the cutting method of color steel tile cutting accuracy.
Invention content
To solve the above-mentioned problems, the present invention provides it is a kind of based on PLC program control color steel tile fixed length cutting algorithm, It acquires high-speed pulse signal by high-speed counter, carries out high-speed computation interrupt output, can realize color steel tile different length Batch cutting production, and ensure cutting accuracy.
To achieve the goals above, the technical solution used in the present invention is:
A kind of color steel tile fixed length cutting algorithm based on PLC program control, including following procedure:
1)The calculating of PLC intermediate parameters:According to encoder pulse P, coding perimeter C, setting length L1, measured length L2 and deceleration Distance L4, calculating wheel footpath original coefficient C1=P/C, high speed segment length L5=L1-L4, fixed length error rate E=L1/L2 and wheel footpath is newly Number C2=E*C1;
2)Set the calculating of length pulse P1:As measured length error rate E=1, length pulse P1=L1*C1 is set;Work as measured length When error rate E ≠ 1, length pulse P1=L1*C2 is set;
3)The calculating of high speed length pulse P2:As measured length error rate E=1, high speed length pulse P2=L5*C1;Work as measured length When error rate E ≠ 1, high speed length pulse P2=L5*C2;
4)The process that fixed length is cut for the first time:Pass through man-machine interface(HMI)Input coding device pulse P, coding perimeter C, setting length L1 and deceleration distance L4, initialization measured length L2 is setting length L1, according to step 1)-3)Setting length pulse is calculated P1 and high speed length pulse P2 is simultaneously respectively transmitted to high-speed counter, and initialization current length pulse P3 is zero and is transmitted to high speed Counter;After PLC program operation, current length pulse P3 constantly increases with the increase of color steel tile Cutting Length, and in real time Current length pulse P3 is made comparisons with setting length pulse P1 and high speed length pulse P2 respectively:
If current length pulse P3 is less than high speed length pulse P2, then high-speed counter exports high-speed cruising, high-speed cutting coloured silk steel Watt;If current length pulse P3 is more than or equal to high speed length pulse P2, then the operation of high-speed counter output low speed, low speed cutting are color Steel watt;If current length pulse P3 is more than or equal to setting length pulse P1, then high-speed counter output is out of service, stops cutting Color steel tile;
After the fixed length that PLC program completes color steel tile is cut for the first time, the length by measuring the color steel tile under first cutting obtains Measured length L2;
5)The process that fixed length is subsequently cut:It is identical as the process that fixed length is cut for the first time, differs only in initialization measured length L2 is the measured length L2 obtained after fixed length is cut for the first time.
Further, the algorithm further includes inputting setting number N2 by man-machine interface, and initializing current number N1 is Zero, when high-speed counter output is out of service, current number N1=N1+1, until current number N1 is more than or equal to setting number When N2, batch cuts color steel tile and completes.
Further, the man-machine interface also can display real-time current length L3=P3/C1 and current number N1.
The method that the color steel tile fixed length cutting algorithm based on PLC program control of the present invention uses measured length error rate, has Effect solves the accumulated error in color steel tile cutting process, and the information such as setting length, cutting number, warp are inputted by man-machine interface Actual test and gauge length are crossed, ensures that the stability of continuous cutting color steel tile, the cutting that can efficiently control color steel tile are grown Degree, number and precision realize that the accurate fixed-length batch of roofing color steel tile random length is cut.
Description of the drawings
Fig. 1 is the calculation flow chart of the PLC intermediate parameters of the present invention;
Fig. 2 is the calculation flow chart of the setting length pulse P1 of the present invention;
Fig. 3 is the calculation flow chart of the high speed length pulse P2 of the present invention;
Fig. 4 is the flow chart of the fixed length cutting of the present invention;
Fig. 5 is the flow chart of the batch cutting of the present invention.
Specific implementation mode
In order to deepen the understanding to technical solution of the present invention, the present invention is further explained below in conjunction with Figure of description It states.
As shown in Figs. 1-5, the present invention provides a kind of color steel tile fixed length cutting algorithm controlled based on PLC program, including with Lower process:
1)The calculating of PLC intermediate parameters:According to encoder pulse P, coding perimeter C, setting length L1, measured length L2 and deceleration Distance L4, calculating wheel footpath original coefficient C1=P/C, high speed segment length L5=L1-L4, fixed length error rate E=L1/L2 and wheel footpath is newly Number C2=E*C1;
2)Set the calculating of length pulse P1:As measured length error rate E=1, length pulse P1=L1*C1 is set, is passed through REAL_TO_DINT is converted into double integer by length pulse is set, then sends the %HSC0.S1D of high-speed counter to;Work as measured length When error rate E ≠ 1, length pulse P1=L1*C2 is set, it is in pairs whole to set length pulse conversion by REAL_TO_DINT Number, then send the %HSC0.S1D of high-speed counter to;
3)The calculating of high speed length pulse P2:As measured length error rate E=1, high speed length pulse P2=L5*C1 passes through High speed length pulse is converted into double integer by REAL_TO_DINT, then sends the %HSC0.S0D of high-speed counter to;Work as measured length When error rate E ≠ 1, high speed length pulse P2=L5*C2 is in pairs whole by the conversion of high speed length pulse by REAL_TO_DINT Number, then send the %HSC0.S0D of high-speed counter to;
4)The process that fixed length is cut for the first time:Pass through man-machine interface(HMI)Input coding device pulse P, coding perimeter C, setting length L1 and deceleration distance L4, initialization measured length L2 is setting length L1, according to step 1)-3)Setting length pulse is calculated P1 simultaneously sends the %HSC0.S1D and high speed length pulse P2 of high-speed counter and the %HSC0.S0D for sending high-speed counter to, Initialization current length pulse P3 is zero and is transmitted to the %HSC0.VD of high-speed counter;After PLC program operation, current length arteries and veins The %HSC0.VD values of punching constantly increase with the increase of color steel tile Cutting Length, and in real time by the % of current length pulse HSC0.VD values are made comparisons with the %HSC0.S0D values of the %HSC0.S1D values of setting length pulse and high speed length pulse respectively:
If the %HSC0.VD values of current length pulse are less than the %HSC0.S0D values of high speed length pulse, then high-speed counter exports High-speed cruising, high-speed cutting color steel tile;As the %HSC0.VD values of current length pulse are more than or equal to the % of high speed length pulse HSC0.S0D values, then high-speed counter output low speed operation, low speed cutting color steel tile;Such as the %HSC0.VD values of current length pulse More than or equal to the %HSC0.S1D values of setting length pulse, then high-speed counter output is out of service, stops cutting color steel tile;
After the fixed length that PLC program completes color steel tile is cut for the first time, the length by measuring the color steel tile under first cutting obtains Measured length L2;
5)The process that fixed length is subsequently cut:It is identical as the process that fixed length is cut for the first time, differs only in initialization measured length L2 is the measured length L2 obtained after fixed length is cut for the first time.
Algorithm further includes inputting setting number N2 by man-machine interface, and it is zero to initialize current number N1, works as high-speed counting When device output is out of service, current number N1=N1+1, when current number N1 is more than or equal to setting number N2, batch is cut Color steel tile is completed, and man-machine interface also can display real-time current length L3=P3/C1 and current number N1.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, made by all any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention.

Claims (3)

1. a kind of color steel tile fixed length cutting algorithm based on PLC program control, it is characterised in that:Including following procedure:
1)The calculating of PLC intermediate parameters:According to encoder pulse P, coding perimeter C, setting length L1, measured length L2 and deceleration Distance L4, calculating wheel footpath original coefficient C1=P/C, high speed segment length L5=L1-L4, fixed length error rate E=L1/L2 and wheel footpath is newly Number C2=E*C1;
2)Set the calculating of length pulse P1:As measured length error rate E=1, length pulse P1=L1*C1 is set;Work as measured length When error rate E ≠ 1, length pulse P1=L1*C2 is set;
3)The calculating of high speed length pulse P2:As measured length error rate E=1, high speed length pulse P2=L5*C1;Work as measured length When error rate E ≠ 1, high speed length pulse P2=L5*C2;
4)The process that fixed length is cut for the first time:By man-machine interface input coding device pulse P, coding perimeter C, setting length L1 and subtract Speed distance L4, initialization measured length L2 is setting length L1, according to step 1)-3)Setting length pulse P1 and height is calculated Fast length pulse P2 is simultaneously respectively transmitted to high-speed counter, and initialization current length pulse P3 is zero and is transmitted to high-speed counting Device;After PLC program operation, current length pulse P3 constantly increases with the increase of color steel tile Cutting Length, and will work as in real time Preceding length pulse P3 makes comparisons with setting length pulse P1 and high speed length pulse P2 respectively:
If current length pulse P3 is less than high speed length pulse P2, then high-speed counter exports high-speed cruising, high-speed cutting coloured silk steel Watt;If current length pulse P3 is more than or equal to high speed length pulse P2, then the operation of high-speed counter output low speed, low speed cutting are color Steel watt;If current length pulse P3 is more than or equal to setting length pulse P1, then high-speed counter output is out of service, stops cutting Color steel tile;
After the fixed length that PLC program completes color steel tile is cut for the first time, the length by measuring the color steel tile under first cutting obtains Measured length L2;
5)The process that fixed length is subsequently cut:It is identical as the process that fixed length is cut for the first time, differs only in initialization measured length L2 is the measured length L2 obtained after fixed length is cut for the first time.
2. a kind of color steel tile fixed length cutting algorithm based on PLC program control according to claim 1, it is characterised in that: The algorithm further includes inputting setting number N2 by man-machine interface, and it is zero to initialize current number N1, when high-speed counter is defeated When going out out of service, current number N1=N1+1, when current number N1 is more than or equal to setting number N2, batch cuts color steel Watt complete.
3. a kind of color steel tile fixed length cutting algorithm based on PLC program control according to claim 2, it is characterised in that: The man-machine interface also can display real-time current length L3=P3/C1 and current number N1.
CN201810472104.0A 2018-05-17 2018-05-17 Color steel tile fixed-length cutting algorithm based on PLC program control Active CN108762185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810472104.0A CN108762185B (en) 2018-05-17 2018-05-17 Color steel tile fixed-length cutting algorithm based on PLC program control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810472104.0A CN108762185B (en) 2018-05-17 2018-05-17 Color steel tile fixed-length cutting algorithm based on PLC program control

Publications (2)

Publication Number Publication Date
CN108762185A true CN108762185A (en) 2018-11-06
CN108762185B CN108762185B (en) 2021-02-02

Family

ID=64008207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810472104.0A Active CN108762185B (en) 2018-05-17 2018-05-17 Color steel tile fixed-length cutting algorithm based on PLC program control

Country Status (1)

Country Link
CN (1) CN108762185B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010009189A (en) * 2008-06-25 2010-01-14 Nippon Steel & Sumikin Metal Products Co Ltd Method for managing steel pipe product information
CN102063085A (en) * 2010-10-15 2011-05-18 深圳市伟创电气有限公司 Fixed-length cutting control device and method
CN206819143U (en) * 2017-06-15 2017-12-29 河南卫华特种车辆有限公司 A kind of color steel tile fixed-length cutting control device based on PLC controls
CN107599036A (en) * 2017-08-17 2018-01-19 唐山三友集团兴达化纤有限公司 A kind of guipure silk customized cut-off control method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010009189A (en) * 2008-06-25 2010-01-14 Nippon Steel & Sumikin Metal Products Co Ltd Method for managing steel pipe product information
CN102063085A (en) * 2010-10-15 2011-05-18 深圳市伟创电气有限公司 Fixed-length cutting control device and method
CN206819143U (en) * 2017-06-15 2017-12-29 河南卫华特种车辆有限公司 A kind of color steel tile fixed-length cutting control device based on PLC controls
CN107599036A (en) * 2017-08-17 2018-01-19 唐山三友集团兴达化纤有限公司 A kind of guipure silk customized cut-off control method, apparatus and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴仑: "型材定长切割***研究与设计", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》 *

Also Published As

Publication number Publication date
CN108762185B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN104950351B (en) The horizontal methods of exhibiting of many meteorological elements compound based on meteorology and system
CN105328154B (en) A kind of strand cutting localization method and system
CN108762185A (en) A kind of color steel tile fixed length cutting algorithm based on PLC program control
CN104991517B (en) 3D printing method and control system based on the modeling of APP big datas
CN117057513A (en) Intelligent park is with control management system based on internet
CN112135103A (en) Unmanned aerial vehicle safety monitoring system and method based on big data
CN107186359A (en) A kind of intelligent high-speed laser cutting machine control system
CN115816164B (en) Pipe fitting fixed length cutting system of pipe fitting assembly machine
CN105235160A (en) Remote low-pressure injection molding apparatus control method and system based on Internet and configuration software
CN104259217B (en) A kind of control method for rolling based on Ribbed Bar rolling groove base radius
CN103521830B (en) The control method of a kind of mode fling shear and control device
CN206819143U (en) A kind of color steel tile fixed-length cutting control device based on PLC controls
CN110979397B (en) Real-time monitoring and early warning system and method for high-speed rail crossing inverted arch floating area in operation period
CN109446716A (en) Based on BIM platform shield machine VMT and correction scheme three-dimensional display method
CN213195610U (en) Automatic control device for steelmaking converter buggy ladle
CN108628268A (en) Mechanically moving precision address detection system
CN104268348B (en) Visual logistics monitoring system and its implementation based on Intouch
CN104354606B (en) Complete dropper prefabrication platform for high speed railway overhead line system
CN206021067U (en) Production line based on many module coordinate transforms
CN106907995A (en) A kind of cutter automatic detection system
CN208805133U (en) A kind of high-precision flexible measuring ruler
CN209304766U (en) Lime kiln wireless telecommunications distributing trolley
CN110328823A (en) Auxiliaries control system for Dual-pipe foaming pipe production line
CN204630567U (en) A kind of bridge deformation monitoring system based on CORS base station
CN204790534U (en) Cement plant production state control system

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
GR01 Patent grant
GR01 Patent grant