Endless rope winch control method
Technical field
The present invention relates to the control method of endless rope winch, particularly relate to Programmable Logic Controller (PLC) control method of endless rope winch.
Background technology
Coal mine fully-mechanized mining working generally uses puffer and storage battery car intermodel transportation, and need a large amount of man power and materials, its safety factor is low, and accident rate is high, and conveying efficiency is low, and over-the-road expense is high.Endless rope winch is a kind of occurred in recent years novel and is equipped by the development of auxiliary transport in coal mines promoted rapidly, and current endless rope winch at home and abroad underground coal mine is used widely.Relevant utility model patent has: a kind of mine endless rope transport control desk, and Granted publication CN203065084U, relates to the physical construction of endless rope haulage control desk; Mine endless rope winch comprehensive electric control device, Authorization Notice No. CN203021239U, relates to electrical controller.
With up-to-date technology, monitoring and integrated protection are realized to stepless rope winch system, set up that methodology is reasonable and practical, safe, multiple functional, the system of dependable performance, study its control method, become current urgent problem.
The technological core of endless rope winch is control method, the present invention relates to endless rope winch control system detailed, concrete control method and flow process.
Summary of the invention
The technical requirements that the present invention reaches is: realize the control run forward and reverse operation and the forward and reverse some flowing mode of endless rope winch, by data acquisition, and process the data gathered and signal, realizes running state that is omnidistance, monitoring winch in real time.
Make it have winch position and the function such as speed shows in real time, language report, failure record, its operational process exceeded the speed limit along the line, owe speed, exceed setpoint distance, anxious close down lock, head pulleying, tail pulleying and sew urgency and stop integrated protection.
The technical scheme that stepless rope winch system control method of the present invention adopts is: connect to form endless rope winch control monitor unit with PLC respectively by input media, mouth control setup, LCDs and voice playing device; The control core of stepless rope winch system is PLC, and stepless rope winch system overhead control method comprises winch progress control method, picture switching time stage control method, emergent stopping time stage control method, voice time stage control method, parameter stage control method, the secondary stage control method of check and correction at zero point and HSC0 stage control method; Described picture switches time stage control method and also comprises Selecting parameter lamp secondary stage control method, parameter plus-minus secondary stage control method.
The endless rope winch control monitor unit connected to form with PLC respectively by input media, mouth control setup, LCDs and voice playing device.Input media comprises head pulleying switch, tail pulleying switch, at least one emergency stop switch, sews emergency stop switch, reset button, forward run button, inverted running button, forward inching button, oppositely inching button, stop button, button be set, reduce button, increase button, zero point proofreads button and rotary encoder, mouth control setup comprises the relay, the Voice command end points that control winch and rotate forward, reverse, and PLC is by the display of serial communication line control LCDs.
Due to PLC have reliability high, be widely used, the feature such as multiple functional, thus overcome poor reliability, the easily et out of order and the shortcoming of not easily debugging and safeguarding that employing discrete component or micro controller system are in the past the system existence of control core, be more suitable for the use in underground coal mine condition.
Stepless rope winch system overhead control method comprises winch progress control method, picture switching time stage control method, emergent stopping time stage control method, voice time stage control method, parameter stage control method, the secondary stage control method of check and correction at zero point and HSC0 stage control method; Described picture switches time stage control method and also comprises Selecting parameter lamp secondary stage control method, parameter plus-minus secondary stage control method.
The effect of winch progress control method is the operation controlling winch, and loads time stage control method, and winch progress control method comprises the following steps:
Step 1: control to start, loads picture and switches time stage control method, emergent stopping time stage control method, voice time stage control method, parameter stage control method, check and correction at zero point time stage control method; PLC scans the operational factor loading HSC0 stage control method and setting first;
If step 2:i presses forward inching button, then inlet point flowing mode; If again press forward inching button, then PLC rotating forward output point closes;
If ii presses forward and runs button, then start early warning sound and play, trigger timing simultaneously, delay time arrives, then stop playing early warning sound, PLC rotates forward output point and closes;
If iii presses inverted running button, then startup early warning sound is play, simultaneously trigger timing, and delay time arrives, then stop playing early warning sound, and PLC reversion output point closes;
If iv presses reverse inching button, then inlet point flowing mode; If again press reverse inching button, PLC reversion output point closes;
Step 3: start another time delay timing, delay time arrives, and close power-transfer clutch;
Step 4: in step 2 when i, ii, winch starts just to march forward; In step 2 when iii, iv, winch starts oppositely to return;
If step 5:i unclamps forward inching button or unclamps reverse inching button or press stop button, then winch is out of service, turns back to step 2 simultaneously, restarts circulation; Ii, if there is washout, then winch is out of service;
Step 6: in the step I i in step 5, occur washout, then play corresponding alarm sound, ejects warning subpanel simultaneously, and the memory device recording and be stored in LCDs; If washout is eliminated, then proceed to step 7;
Step 7: if press reset button, then turn back to step 2, restarts circulation;
Step 8: terminate whole winch and run.
The effect that picture switches time stage control method is control interface in key frame, switching between optimum configurations picture and history alarm screen, and in optimum configurations picture, choose the parameter item that need arrange.Picture switches time stage control method and comprises the following steps:
Step 301:PLC scans first or presses reset button, proceeds to step 302;
Step 302: open key frame;
Step 303: key button is set if pressed, proceeds to step 304;
Step 304: enter optimum configurations picture,
If step 305:i presses arrange key button, proceed to step 306; If ii presses reset button, then turn back to step 301, restart circulation;
Step 306: call parameters selects lamp secondary time stage control method;
If step 307:i history alarm key is not chosen, press to increase key button or press and reduce key button, then call parameters plus-minus secondary time stage control method; If ii history alarm key is chosen, proceed to step 308;
Step 308: press stop button;
Step 309: enter history alarm screen;
Step 310: if press reset button, then turn back to step 301, restarts circulation;
Step 311: return winch progress control method.
The effect of the Selecting parameter lamp secondary stage control method in step 306 is the method by circulation, chooses relevant parameter item.Selecting parameter lamp secondary stage control method is further comprising the steps of:
Step 4301: read picture number;
Step 4302: loading positive rise initialization indicator lamp number is zero;
Step 4303: read indicator lamp quantity
Step 4304: if press increase button, then enter step 4305;
Step 4305: do not arrive if pin the increase button time, then return step 4304; If pin the increase button time to arrive, then enter step 4306;
Step 4306: indicator lamp number adds 1
Step 4307: arrive if pin the automatic turnoff time of increase button, then return step 4305; If turnoff time does not arrive automatically, then enter step 4308;
Step 4308: if indicator lamp number > indicator lamp quantity, then indicator lamp number becomes 1, returns step 4304;
Step 4309: if indicator lamp number≤indicator lamp quantity, then return picture and switch time stage control method.
The effect of the parameter plus-minus secondary stage control method in step 307 sets the parameter size chosen, and comprises and successively pressing, after arriving, automatically add and subtract parameter fast by step-length plus-minus and time of pinning.Parameter plus-minus secondary stage control method is further comprising the steps of:
Step 5301: read the picture page number;
Step 5302: read parameter currency;
Step 5303: increase the button time and arrive or pin if pinned and reduce the button time and do not arrive, then return picture and switch secondary stage control method; If pin the increase button time to arrive, then proceed to step 5304; If pin the minimizing button time to arrive, then proceed to step 5314;
Step 5304: parameter currency adds that step-length is sent to parameter currency register;
Step 5305: if the plus-minus time opening does not arrive automatically, then return picture and switch time stage control method; If the plus-minus time opening arrives automatically, then proceed to step 5306;
Step 5306: if plus-minus interval time does not arrive automatically, then return picture and switch time stage control method; If the automatic spacing time opening arrives, then proceed to step 5307;
Step 5307: parameter currency adds that step-length is sent to parameter currency register;
Step 5308: if currency≤setting maxim, then proceed to step 5303, restarts circulation; If currency > sets maxim, then proceed to step 5309;
Step 5309: minimum value sends into parameter currency register;
Step 5310: return step 5303, restarts circulation;
Step 5314: parameter currency deducts step-length and is sent to parameter currency register;
Step 5315: if the plus-minus time opening does not arrive automatically, then return picture and switch time stage control method; If the plus-minus time opening arrives automatically, then proceed to step 5316;
Step 5316: if plus-minus interval time does not arrive automatically, then return picture and switch time stage control method; If the automatic spacing time opening arrives, then proceed to step 5317;
Step 5317: parameter currency deducts step-length and is sent to parameter currency register;
Step 5318: if currency >=setting maxim, then proceed to step 5303, restarts circulation; If currency < sets maxim, then proceed to step 5319;
Step 5319: maxim sends into parameter currency register;
Step 5320: return step 5303, restarts circulation;
The effect of emergent stopping time stage control method be its operational process exceeded the speed limit along the line, owe speed, exceed setpoint distance, anxious lock, head pulleying, the tail pulleying and sewing of closing down suddenly stops etc. carries out integrated protection.Comprising the following steps of emergent stopping time stage control method:
Step 601: if winch speed is more than or equal to the hypervelocity benchmark of setting is then hypervelocity fault; If not, then step 602 is proceeded to;
Step 602: if winch speed is less than or equal to the deficient fast benchmark of setting, then for owing fast fault; If not, then step 603 is proceeded to;
Step 603: if the distance that winch current location is run is more than or equal to the total length of setting, then for exceeding distance fault; If not, then step 604 is proceeded to;
Step 604: if head pulleying switch connection is then head pulleying fault; If not, then step 605 is proceeded to;
Step 605: if tail pulleying switch connection is then tail pulleying fault; If not, then step 606 is proceeded to;
Step 606: connect if sew emergency stop switch, then suddenly stop fault for sewing; If not, then step 607 is proceeded to;
Step 607: it is N that total urgency of hoister system stops number, stops 1 and has at least an emergency stop switch to connect between N to anxious stopping, then stop fault for anxious if anxious; If not, return winch progress control method, wait for that lower scan cycle calls again;
Step 608: if hypervelocity fault, owe fast fault, exceed distance fault, head pulleying fault, tail pulleying fault, sew and anxious stop fault and suddenly stop at least occurring one between fault, then show and suddenly stop guard mode, proceed to step 609;
Step 609: if press reset button, then remove and suddenly stop guard mode, proceed to step 601, restart circulation.
The effect of voice time stage control method controls voice broadcast, comprises startup early warning sound, overspeed alarming sound, owes fast alarm sound, head pulleying alarm sound, tail pulleying alarm sound, sews urgent-stop alarm sound and urgent-stop alarm sound.Comprising the following steps of voice time stage control method:
Step 701: if press forward to run button, then play startup early warning sound and play, trigger timing simultaneously, delay time arrives, then stop playing startup early warning sound; If not, then step 702 is proceeded to;
Step 702: if press inverted running button, then play and start the broadcasting of early warning sound, simultaneously trigger timing, delay time arrives, then stop playing starting early warning sound; If not, then step 703 is proceeded to;
Step 703: if there is hypervelocity fault, then play overspeed alarming sound; If not, then step 704 is proceeded to;
Step 704: if there is deficient fast fault, then play and owe fast alarm sound; If not, then step 705 is proceeded to;
Step 705: if there is head pulleying fault, then play head pulleying alarm sound; If not, then step 706 is proceeded to;
Step 706: if there is tail pulleying fault, then play tail pulleying alarm sound; If not, then step 707 is proceeded to;
Step 707: suddenly stop fault if there is sewing, then play and sew urgent-stop alarm sound; If not, then step 708 is proceeded to;
Step 708: stop fault if there is anxious, then play urgent-stop alarm sound; If not, then step 709 is proceeded to; If not, return main program, wait for that lower scan cycle calls again;
Step 709: if overspeed alarming sound, owe fast alarm sound, head pulleying alarm sound, tail pulleying alarm sound, sew between urgent-stop alarm sound and urgent-stop alarm sound and have a broadcasting at least, then proceed to step 710;
Step 710: if press reset button, then disconnect alarm sound, proceed to step 701, restarts circulation.
The effect of parameter stage control method is by Speed unit rev/min, is converted into m/min.
The effect of check and correction at zero point time stage control method is when winch arrives pulleying switch at zero point, current location and pulse count is set to 0.
The effect of HSC0 stage control method is the pulse count of the first input end mouth collection rotary encoder through PLC, and calculates range ability, and rotating speed (m/min) and range ability data are input in LCDs through serial communication line and show.
Comprising the following steps of HSC0 stage control method:
Step 801: initialization HSC0 stage control method;
Step 802: accumulative frequency sets to 0;
Step 803: cumulative data sets to 0;
Step 804: the control byte=16#F8 putting high-speed counter HC0;
Step 805: mode of operation=0 of putting HC0;
Step 806: initial value register=0 of putting HC0;
Step 807: perform HSC instruction;
Step 808: the Interruption time is set;
Step 809: connect Interruption number and interrupt routine INT-0;
Step 810: open interruption;
The first input end mouth of step 811:PLC, gathers rotary encoder pulse count, and is sent to HC0 currency;
Step 812: HC0 currency is added cumulative data sends into cumulative data register;
Step 813: accumulative frequency+1 is sent into accumulative frequency register;
Step 814: perform HSC instruction;
Step 815: if accumulative frequency is not equal to setting numerical value, then turn back to step 813, restarts circulation; If accumulative frequency equals to set numerical value, then proceed to step 817;
Step 816: cumulative data is sent into statistical average register divided by the value of accumulative frequency;
Step 817: statistical average is sent into rotating speed (rev/min) register divided by the value of Interruption duration;
Step 818: put accumulative frequency=0;
Step 819: put cumulative data=0;
Step 820: close and interrupt;
Step 821: call parameter stage control method, rotating speed (rev/min) is converted to (m/min), and calculates range ability;
Step 822: rotating speed (m/min) and range ability data are input in LCDs through serial communication line and show.
The invention has the beneficial effects as follows, realize the monitoring to endless rope winch, in real time the running state of monitoring endless rope winch to there is winch position and the function such as speed shows in real time, language report, failure record, integrated protection is carried out to its operational process.Control method project organization is clear, uses multiple stage control methods, modular design, and convenient amendment and expansion, whole method is reasonable, practical, and safety is multiple functional, dependable performance.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the present invention is further described.
Fig. 1 is electrical schematic diagram of the present invention.
Fig. 2 is guidance panel figure of the present invention.
In Fig. 2,1. LCDs, 2. flame proof exocoel, 3. action button.
Fig. 3 is the main runnable interface of liquid crystal display of the present invention.
Fig. 4 is optimum configurations picture of the present invention.
Fig. 5 is history alarm screen of the present invention.
Fig. 6 is that winch of the present invention runs control PLC program 1.
Fig. 7 is that winch of the present invention runs control PLC program 2.
Fig. 8 is that winch of the present invention runs control PLC program 3.
Fig. 9 is endless rope winch control system overhead control method block diagram of the present invention.
Figure 10 is that endless rope winch control system picture of the present invention switches time stage control method block diagram.
Figure 11 is winch progress control method diagram of circuit of the present invention.
Figure 12 is that picture of the present invention switches time stage control method diagram of circuit.
Figure 13 is Selecting parameter lamp secondary stage control method diagram of circuit of the present invention.
Figure 14 is parameter of the present invention plus-minus secondary stage control method diagram of circuit.
Figure 15 is emergent stopping of the present invention time stage control method diagram of circuit.
Figure 16 is voice of the present invention time stage control method diagram of circuits.
Figure 17 is HSC0 stage control method diagram of circuit leading portion of the present invention.
Figure 18 is HSC0 stage control method diagram of circuit back segment of the present invention.
Detailed description of the invention
In FIG, the PLC adopted is the S7-200CNCPU226 type PLC that Siemens is produced.
Q1.1 ~ Q1.7 output port of PLC connects the D1 ~ D7 terminal on speech chip respectively, Q0.1 and the Q0.2 output port of PLC connects the winch rotating forward relay of endless rope winch respectively, winch reverses relay,
The I0.0 input port of PLC connects the pulse output end of speed sensor, I0.2 ~ I0.3 picks a pulleying switch, tail pulleying switch, I1.0 ~ I1.7 connects reset button, forward runs button, inverted running button, forward inching button, oppositely inching button, stop button, button be set, reduce button, I2.1 connects increases button, I2.1 connecting to neutral point check and correction button, I2.2 ~ I2.6 connect 4 emergency stop switch buttons, I2.7 connects leaky feeder communication emergency stop switch.
It is MOC3032 type that the centre that the control button of endless rope winch and running state collection signal are electrically connected with PLC is all added with its model of photoelectrical coupler.
Guidance panel is provided with reset button, forward runs button, inverted running button, forward inching button, oppositely inching button, stop button, button be set, reduce button, increase button, zero point proofreads button, by above-mentioned push button control endless rope winch, by arrange button, reduce button, increase button operational factor is arranged.
The MCGS that LCDs selects the Kunlun, Beijing on-state Automation Co., Ltd to produce embeds the LCDs of version 10.2 inches.LCDs is electrically connected by RS232 serial communication line with PLC, and LCDs is Real time dynamic display device, and the whole real-time status of endless rope winch control method is all presented in LCDs.PLC is according to the input collected, output signal, by being connected serial communication line with LCDs, by the instantaneous operating conditions of Real time dynamic display interface display endless rope winch, the Real time dynamic display of endless rope winch comprises operation scheme, running velocity, service direction, the run location of animation and text importing endless rope winch.On LCDs, the different pages is switched by arranging button.
LCDs is when there is various fault in endless rope winch, in monitoring homepage, the out of order warning window of real-time bullet, by the fault title of display endless rope winch, time and current failure state in warning window, the display of current failure state comprises the response of the generation of fault, the end of fault and fault, and can check in history alarm logging.
Speech chip is the HSTAPL03 type speech chip that Hua Shi communication apparatus Co., Ltd of Shenzhen produces, complete function, sound clarity.Record has startup optimization warning, head pulleying warning, tail pulleying warning, overspeed alarming, low speed warning, urgent-stop alarm, leaky feeder communication urgent-stop alarm totally 7 kinds of sound.
Loudspeaker connect SP+, SP-port on speech chip, play-over sound.By the connection number of times that the VOL port on speech chip and the GND on it hold, be circularly set the output volume size that four grades are different.
The 24V power supply of non-intrinsic safety exchanges 127V power supply with the input termination mine of intrinsic safety 12V power supply, the power input of the output termination LCDs of the 24V power supply of non-intrinsic safety, winch rotate forward relay, winch reversion relay, and each input end of PLC, the power input of output termination speed sensor of intrinsic safety 12V power supply and the power input of speech chip.
Stepless rope winch system control method of the present invention concrete control program step is as follows:
The control core of stepless rope winch system is PLC, and stepless rope winch system overhead control method comprises winch progress control method, picture switching time stage control method, emergent stopping time stage control method, voice time stage control method, parameter stage control method, the secondary stage control method of check and correction at zero point and HSC0 stage control method; Described picture switches time stage control method and also comprises Selecting parameter lamp secondary stage control method, parameter plus-minus secondary stage control method.
Winch progress control method comprises the following steps:
Step 1: control to start, loads picture and switches time stage control method, emergent stopping time stage control method, voice time stage control method, parameter stage control method, check and correction at zero point time stage control method; PLC scans the operational factor loading HSC0 stage control method and setting first;
If step 2:i presses forward inching button, then inlet point flowing mode; If again press forward inching button, then PLC rotating forward output point closes;
If ii presses forward and runs button, then start early warning sound and play, trigger timing simultaneously, delay time arrives, then stop playing early warning sound, PLC rotates forward output point and closes;
If iii presses inverted running button, then startup early warning sound is play, simultaneously trigger timing, and delay time arrives, then stop playing early warning sound, and PLC reversion output point closes;
If iv presses reverse inching button, then inlet point flowing mode; If again press reverse inching button, PLC reversion output point closes;
Step 3: start another time delay timing, delay time arrives, and close power-transfer clutch;
Step 4: in step 2 when i, ii, winch starts just to march forward; In step 2 when iii, iv, winch starts oppositely to return;
If step 5:i unclamps forward inching button or unclamps reverse inching button or press stop button, then winch is out of service, turns back to step 2 simultaneously, restarts circulation; Ii, if there is washout, then winch is out of service;
Step 6: in the step I i in step 5, occur washout, then play corresponding alarm sound, ejects warning subpanel simultaneously, and the memory device recording and be stored in LCDs; If washout is eliminated, then proceed to step 7;
Step 7: if press reset button, then turn back to step 2, restarts circulation;
Step 8: terminate whole winch and run.
Picture switches time stage control method and comprises the following steps:
Step 301:PLC scans first or presses reset button, proceeds to step 302;
Step 302: open key frame;
Step 303: key button is set if pressed, proceeds to step 304;
Step 304: enter optimum configurations picture,
If step 305:i presses arrange key button, proceed to step 306; If ii presses reset button, then turn back to step 301, restart circulation;
Step 306: call parameters selects lamp secondary time stage control method;
If step 307:i history alarm key is not chosen, press to increase key button or press and reduce key button, then call parameters plus-minus secondary time stage control method; If ii history alarm key is chosen, proceed to step 308;
Step 308: press stop button;
Step 309: enter history alarm screen;
Step 310: if press reset button, then turn back to step 301, restarts circulation;
Step 311: return winch progress control method.
Selecting parameter lamp secondary stage control method is further comprising the steps of:
Step 4301: read picture number;
Step 4302: loading positive rise initialization indicator lamp number is zero;
Step 4303: read indicator lamp quantity
Step 4304: if press increase button, then enter step 4305;
Step 4305: do not arrive if pin the increase button time, then return step 4304; If pin the increase button time to arrive, then enter step 4306;
Step 4306: indicator lamp number adds 1
Step 4307: arrive if pin the automatic turnoff time of increase button, then return step 4305; If turnoff time does not arrive automatically, then enter step 4308;
Step 4308: if indicator lamp number > indicator lamp quantity, then indicator lamp number becomes 1, returns step 4304;
Step 4309: if indicator lamp number≤indicator lamp quantity, then return picture and switch time stage control method.
Parameter plus-minus secondary stage control method is further comprising the steps of:
Step 5301: read the picture page number;
Step 5302: read parameter currency;
Step 5303: increase the button time and arrive or pin if pinned and reduce the button time and do not arrive, then return picture and switch secondary stage control method; If pin the increase button time to arrive, then proceed to step 5304; If pin the minimizing button time to arrive, then proceed to step 5314;
Step 5304: parameter currency adds that step-length is sent to parameter currency register;
Step 5305: if the plus-minus time opening does not arrive automatically, then return picture and switch time stage control method; If the plus-minus time opening arrives automatically, then proceed to step 5306;
Step 5306: if plus-minus interval time does not arrive automatically, then return picture and switch time stage control method; If the automatic spacing time opening arrives, then proceed to step 5307;
Step 5307: parameter currency adds that step-length is sent to parameter currency register;
Step 5308: if currency≤setting maxim, then proceed to step 5303, restarts circulation; If currency > sets maxim, then proceed to step 5309;
Step 5309: minimum value sends into parameter currency register;
Step 5310: return step 5303, restarts circulation;
Step 5314: parameter currency deducts step-length and is sent to parameter currency register;
Step 5315: if the plus-minus time opening does not arrive automatically, then return picture and switch time stage control method; If the plus-minus time opening arrives automatically, then proceed to step 5316;
Step 5316: if plus-minus interval time does not arrive automatically, then return picture and switch time stage control method; If the automatic spacing time opening arrives, then proceed to step 5317;
Step 5317: parameter currency deducts step-length and is sent to parameter currency register;
Step 5318: if currency >=setting maxim, then proceed to step 5303, restarts circulation; If currency < sets maxim, then proceed to step 5319;
Step 5319: maxim sends into parameter currency register;
Step 5320: return step 5303, restarts circulation;
Comprising the following steps of emergent stopping time stage control method:
Step 601: if winch speed is more than or equal to the hypervelocity benchmark of setting is then hypervelocity fault; If not, then step 602 is proceeded to;
Step 602: if winch speed is less than or equal to the deficient fast benchmark of setting, then for owing fast fault; If not, then step 603 is proceeded to;
Step 603: if the distance that winch current location is run is more than or equal to the total length of setting, then for exceeding distance fault; If not, then step 604 is proceeded to;
Step 604: if head pulleying switch connection is then head pulleying fault; If not, then step 605 is proceeded to;
Step 605: if tail pulleying switch connection is then tail pulleying fault; If not, then step 606 is proceeded to;
Step 606: connect if sew emergency stop switch, then suddenly stop fault for sewing; If not, then step 607 is proceeded to;
Step 607: it is N that total urgency of hoister system stops number, stops 1 and has at least an emergency stop switch to connect between N to anxious stopping, then stop fault for anxious if anxious; If not, return winch progress control method, wait for that lower scan cycle calls again;
Step 608: if hypervelocity fault, owe fast fault, exceed distance fault, head pulleying fault, tail pulleying fault, sew and anxious stop fault and suddenly stop at least occurring one between fault, then show and suddenly stop guard mode, proceed to step 609;
Step 609: if press reset button, then remove and suddenly stop guard mode, proceed to step 601, restart circulation.
Comprising the following steps of voice time stage control method:
Step 701: if press forward to run button, then play startup early warning sound and play, trigger timing simultaneously, delay time arrives, then stop playing startup early warning sound; If not, then step 702 is proceeded to;
Step 702: if press inverted running button, then play and start the broadcasting of early warning sound, simultaneously trigger timing, delay time arrives, then stop playing starting early warning sound; If not, then step 703 is proceeded to;
Step 703: if there is hypervelocity fault, then play overspeed alarming sound; If not, then step 704 is proceeded to;
Step 704: if there is deficient fast fault, then play and owe fast alarm sound; If not, then step 705 is proceeded to;
Step 705: if there is head pulleying fault, then play head pulleying alarm sound; If not, then step 706 is proceeded to;
Step 706: if there is tail pulleying fault, then play tail pulleying alarm sound; If not, then step 707 is proceeded to;
Step 707: suddenly stop fault if there is sewing, then play and sew urgent-stop alarm sound; If not, then step 708 is proceeded to;
Step 708: stop fault if there is anxious, then play urgent-stop alarm sound; If not, then step 709 is proceeded to; If not, return main program, wait for that lower scan cycle calls again;
Step 709: if overspeed alarming sound, owe fast alarm sound, head pulleying alarm sound, tail pulleying alarm sound, sew between urgent-stop alarm sound and urgent-stop alarm sound and have a broadcasting at least, then proceed to step 710;
Step 710: if press reset button, then disconnect alarm sound, proceed to step 701, restarts circulation.
The effect of parameter stage control method is by Speed unit rev/min, is converted into m/min.
The effect of check and correction at zero point time stage control method is when winch arrives pulleying switch at zero point, current location and pulse count is set to 0.
Comprising the following steps of HSC0 stage control method:
Step 801: initialization HSC0 stage control method;
Step 802: accumulative frequency sets to 0;
Step 803: cumulative data sets to 0;
Step 804: the control byte=16#F8 putting high-speed counter HC0;
Step 805: mode of operation=0 of putting HC0;
Step 806: initial value register=0 of putting HC0;
Step 807: perform HSC instruction;
Step 808: the Interruption time is set;
Step 809: connect Interruption number and interrupt routine INT-0;
Step 810: open interruption;
The first input end mouth of step 811:PLC, gathers rotary encoder pulse count, and is sent to HC0 currency;
Step 812: HC0 currency is added cumulative data sends into cumulative data register;
Step 813: accumulative frequency+1 is sent into accumulative frequency register;
Step 814: perform HSC instruction;
Step 815: if accumulative frequency is not equal to setting numerical value, then turn back to step 813, restarts circulation; If accumulative frequency equals to set numerical value, then proceed to step 817;
Step 816: cumulative data is sent into statistical average register divided by the value of accumulative frequency;
Step 817: statistical average is sent into rotating speed (rev/min) register divided by the value of Interruption duration;
Step 818: put accumulative frequency=0;
Step 819: put cumulative data=0;
Step 820: close and interrupt;
Step 821: call parameter stage control method, rotating speed (rev/min) is converted to (m/min), and calculates range ability;
Step 822: rotating speed (m/min) and range ability data are input in LCDs through serial communication line and show.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those of ordinary skill in the art are in the technical scope disclosed by the present invention; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, the protection domain that protection scope of the present invention should limit with claims is as the criterion.