Endless rope winch control method
Technical field
The present invention relates to the control method of endless rope winch, relate in particular to Programmable Logic Controller (PLC) control method of endless rope winch.
Background technology
Coal mine fully-mechanized mining working is generally used puffer and storage battery car intermodel transportation, needs a large amount of man power and materials, and 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 that a kind of development of auxiliary transport in coal mines novel and that promoted rapidly occurring is in recent years equipped, and endless rope winch is at home and abroad used widely under coal mine at present.Relevant utility model patent has: a kind of mine endless rope transportation control desk, and Granted publication CN 203065084 U, relate to the physical construction of endless rope haulage control desk; Mine endless rope winch comprehensive electric control device, Granted publication CN 203021239 U, relate to electrical controller.
With up-to-date technology, stepless rope winch system is realized to monitoring and integrated protection, 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 detailed, the concrete control method of endless rope winch control system and flow process.
Summary of the invention
The technical requirements that the present invention reaches is: realize the control to the forward and reverse operation of endless rope winch and forward and reverse some flowing mode operation, by data acquisition, and the data and the signal that gather are processed, realize running state omnidistance, that monitor in real time winch.
Make it have the functions such as winch position and speed show in real time, language report, failure record, its operational process is exceeded the speed limit, owed speed along the line, surpasses setpoint distance, urgency is closed down lock, head pulleying, tail pulleying and sew the anxious integrated protection that stops.
The technical scheme that stepless rope winch system control method of the present invention adopts is: by input media, mouth control setup, LCDs and voice playing device, connect to form endless rope winch control monitor unit respectively with PLC; The control core of stepless rope winch system is PLC, and stepless rope winch system overhead control method comprises winch progress control method, Picture switch 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 and HSC0 stage control method; Described Picture switch time stage control method also comprises parameter selection lamp secondary stage control method, parameter plus-minus secondary stage control method.
The endless rope winch control monitor unit being 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 operation button, inverted running button, forward inching button, oppositely inching button, stop button, button be set, reduce button, increase button, proofread button and rotary encoder zero point, mouth control setup comprises relay, the voice control end points of controlling winch forward, reversion, and PLC is by the demonstration of serial communication line control LCDs.
Due to PLC have reliability high, be widely used, the feature such as multiple functional, thereby the shortcoming that has overcome the poor reliability of the system existence that former employing discrete component or micro controller system are control core, easy et out of order and be difficult for debugging and safeguard, is more suitable for the use in colliery conditions down-hole.
Stepless rope winch system overhead control method comprises winch progress control method, Picture switch 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 and HSC0 stage control method; Described Picture switch time stage control method also comprises parameter selection lamp secondary stage control method, parameter plus-minus secondary stage control method.
The effect of winch progress control method is the operation of controlling winch, and loads time stage control method, and winch progress control method comprises the following steps:
Step 1: control beginning, proofread inferior stage control method at loading Picture switch time stage control method, emergent stopping time stage control method, voice time stage control method, parameter stage control method, zero point; PLC scans the operational factor of HSC0 stage control method of loading and setting first;
If step 2:i presses forward inching button, inlet point flowing mode; If again press forward inching button, PLC forward output point is closed;
If ii presses forward operation button, start early warning sound and play, trigger timing simultaneously, delay time arrives, and stops playing early warning sound, and PLC forward output point is closed;
If iii presses inverted running button, start early warning sound and play, trigger timing simultaneously, delay time arrives, and stops playing early warning sound, and PLC reversion output point is closed;
If iv presses reverse inching button, inlet point flowing mode; If again press reverse inching button, PLC reversion output point is closed;
Step 3: start another time delay timing, delay time arrives, and power-transfer clutch closes;
Step 4: in step 2,, in the situation of i, ii, winch starts just to march forward; In step 2, in the situation of iii, iv, winch starts oppositely to return;
If step 5:i unclamps forward inching button or unclamps reverse inching button or press stop button, winch is out of service, turns back to step 2 simultaneously, restarts circulation; Ii, if there is washout, winch is out of service;
Step 6: in the step I i in step 5, occur washout, play corresponding alarm sound, eject warning subpanel simultaneously, and record and be stored to the memory device in LCDs; If washout is eliminated, proceed to step 7;
Step 7: if press reset button, turn back to step 2, restart circulation;
Step 8: finish whole winch operation.
The effect of Picture switch time stage control method is that control interface arranges the switching between picture and historical warning picture in key frame, parameter, and in parameter, the parameter item of choosing need to arrange in picture is set.Picture switch time stage control method comprises the following steps:
Step 301:PLC scans or presses reset button first, proceeds to step 302;
Step 302: open key frame;
Step 303: if pressed, key button is set, proceeds to step 304;
Step 304: enter parameter picture is set,
If step 305:i presses, key button is set, proceeds to step 306; If ii presses reset button, turn back to step 301, restart circulation;
Step 306: call parameters is selected lamp secondary time stage control method;
If the historical warning button of step 307:i is not chosen, press and increase key button or press and reduce key button, call parameters plus-minus secondary time stage control method; If the historical warning button of ii is chosen, proceed to step 308;
Step 308: press stop button;
Step 309: enter historical warning picture;
Step 310: if press reset button, turn back to step 301, restart circulation;
Step 311: return to winch progress control method.
It is by the method for circulation that parameter in step 306 is selected the effect of lamp secondary stage control method, chooses relevant parameter item.Parameter selects lamp secondary stage control method 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, enter step 4305;
Step 4305: do not arrive if pin the increase button time, return to step 4304; If pin the increase button time, arrive, enter step 4306;
Step 4306: indicator lamp number adds 1
Step 4307: arrive if pin the automatic turnoff time of increase button, return to step 4305; If turnoff time does not arrive automatically, enter step 4308;
Step 4308: if indicator lamp number > indicator lamp quantity, indicator lamp number becomes 1, returns to step 4304;
Step 4309: if indicator lamp number≤indicator lamp quantity is returned to Picture switch time stage control method.
The effect of the parameter plus-minus secondary stage control method in step 307 is that the parameter size to choosing is set, and comprises successively and pressing, and after arriving, automatically adds and subtracts fast parameter by step-length plus-minus and the 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: if pin increase the button time not to or pin and reduce the button time and do not arrive, return to the inferior stage control method of Picture switch; If pin the increase button time, arrive, proceed to step 5304; If pin the minimizing button time, arrive, proceed to step 5314;
Step 5304: parameter currency adds that step-length is sent to parameter currency register;
Step 5305: do not arrive if automatically add and subtract the time opening, return to Picture switch time stage control method; If automatically add and subtract the time opening, arrive, proceed to step 5306;
Step 5306: do not arrive if automatically add and subtract interval time, return to Picture switch time stage control method; If the automatic spacing time opening arrives, proceed to step 5307;
Step 5307: parameter currency adds that step-length is sent to parameter currency register;
Step 5308: if currency≤setting maxim proceeds to step 5303, restart circulation; If currency > sets maxim, proceed to step 5309;
Step 5309: minimum value is sent into parameter currency register;
Step 5310: return to step 5303, restart circulation;
Step 5314: parameter currency deducts step-length and is sent to parameter currency register;
Step 5315: do not arrive if automatically add and subtract the time opening, return to Picture switch time stage control method; If automatically add and subtract the time opening, arrive, proceed to step 5316;
Step 5316: do not arrive if automatically add and subtract interval time, return to Picture switch time stage control method; If the automatic spacing time opening arrives, proceed to step 5317;
Step 5317: parameter currency deducts step-length and is sent to parameter currency register;
Step 5318: if currency >=setting maxim proceeds to step 5303, restart circulation; If currency < sets maxim, proceed to step 5319;
Step 5319: maxim is sent into parameter currency register;
Step 5320: return to step 5303, restart circulation;
The effect of emergent stopping time stage control method be to its operational process exceed the speed limit, owe speed along the line, surpass 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, be hypervelocity fault; If not, proceed to step 602;
Step 602: if winch speed is less than or equal to the fast benchmark of owing of setting, for owing fast fault; If not, proceed to step 603;
Step 603: if the distance of winch current location operation is more than or equal to the total length of setting, for surpassing distance fault; If not, proceed to step 604;
Step 604: if head pulleying switch connection is head pulleying fault; If not, proceed to step 605;
Step 605: if tail pulleying switch connection is tail pulleying fault; If not, proceed to step 606;
Step 606: connect if sew emergency stop switch, for sewing the anxious fault of stopping; If not, proceed to step 607;
Step 607: total urgency of hoister system is stopped number for N, stops 1 to suddenly stopping to have at least an emergency stop switch to connect between N if anxious, be the anxious fault of stopping; If not, return to winch progress control method, wait for that next scanning period calls again;
Step 608: if the fault that exceeds the speed limit, owe fast fault, surpass distance fault, head pulleying fault, tail pulleying fault, sew and suddenly stop fault and suddenly stop at least occurring one between fault, show and suddenly stops guard mode, proceed to step 609;
Step 609: if press reset button, remove suddenly and stop guard mode, proceed to step 601, restart circulation.
The effect of voice time stage control method is to control 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 operation button, broadcasting starts the broadcasting of early warning sound, trigger timing simultaneously, delay time arrives, and stops playing startup early warning sound; If not, proceed to step 702;
Step 702: if press inverted running button, play and start the broadcasting of early warning sound, trigger timing simultaneously, delay time arrives, and stops broadcasting and starts early warning sound; If not, proceed to step 703;
Step 703: if there is hypervelocity fault, play overspeed alarming sound; If not, proceed to step 704;
Step 704: if there is owing fast fault, play and owe fast alarm sound; If not, proceed to step 705;
Step 705: if there is head pulleying fault, play head pulleying alarm sound; If not, proceed to step 706;
Step 706: if there is tail pulleying fault, play tail pulleying alarm sound; If not, proceed to step 707;
Step 707: if there is sewing the anxious fault of stopping, play and sew urgent-stop alarm sound; If not, proceed to step 708;
Step 708: stop fault if there is anxious, play urgent-stop alarm sound; If not, proceed to step 709; If not, return to main program, wait for that next scanning period 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, proceed to step 710;
Step 710: if press reset button, disconnect alarm sound, proceed to step 701, restart circulation.
The effect Shi Jiang rotating speed unit rev/min of parameter stage control method, is converted into m/min.
The effect of check and correction at zero point time stage control method is when winch arrives pulleying at zero point switch, and current location and pulse count are set to 0.
The effect of HSC0 stage control method is through the first input end mouth of PLC, to gather the pulse count of rotary encoder, and calculates range ability, rotating speed (m/min) and range ability data through serial communication line, be input in LCDs and show.
Comprising the following steps of HSC0 stage control method:
Step 801: HSC0 stage control method of initialization;
Step 802: accumulative frequency sets to 0;
Step 803: cumulative data sets to 0;
Step 804: the control byte=16#F8 that puts high-speed counter HC0;
Step 805: mode of operation=0 of putting HC0;
Step 806: initial value register=0 of putting HC0;
Step 807: carry out 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 to cumulative data sends into cumulative data register;
Step 813: accumulative frequency register is sent into in accumulative frequency+1;
Step 814: carry out HSC instruction;
Step 815: if accumulative frequency is not equal to setting numerical value, turn back to step 813, restart circulation; If accumulative frequency equals to set numerical value, proceed to step 817;
Step 816: cumulative data is sent into data aviation value register divided by the value of accumulative frequency;
Step 817: by data aviation value divided by the value of Interruption duration send into rotating speed (rev/min) register;
Step 818: put accumulative frequency=0;
Step 819: put cumulative data=0;
Step 820: close and interrupt;
Step 821: call stage control method parameter time, rotating speed (rev/min) be converted to (m/min), and calculate range ability;
Step 822: rotating speed (m/min) and range ability data through serial communication line, be input in LCDs and show.
The invention has the beneficial effects as follows, realize the monitoring to endless rope winch, monitor in real time the running state of endless rope winch, there is the functions such as winch position and speed show in real time, language report, failure record, its operational process is carried out to integrated protection.Control method project organization is clear, uses stage control method a plurality of times, modular design, and convenient modification 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 that parameter of the present invention arranges picture.
Fig. 5 is historical warning picture of the present invention.
Fig. 6 is winch operation control PLC program 1 of the present invention.
Fig. 7 is winch operation control PLC program 2 of the present invention.
Fig. 8 is winch operation control PLC program 3 of the present invention.
Fig. 9 is endless rope winch control system overhead control method block diagram of the present invention.
Figure 10 is endless rope winch control system Picture switch of the present invention time stage control method block diagram.
Figure 11 is winch progress control method diagram of circuit of the present invention.
Figure 12 is Picture switch of the present invention time stage control method diagram of circuit.
Figure 13 is that parameter of the present invention is selected lamp secondary stage control method diagram of circuit.
Figure 14 is parameter plus-minus secondary stage control method diagram of circuit of the present invention.
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.
The specific embodiment
In Fig. 1, the PLC adopting is the S7-200CN CPU226 type PLC that Siemens is produced.
Q1.1~Q1.7 output port of PLC connects respectively the D1~D7 terminal on speech chip, the Q0.1 of PLC and Q0.2 output port connect respectively endless rope winch winch forward relay, winch reversion relay,
The I0.0 input port of PLC connects the pulse output end of speed sensor, I0.2~I0.3 pick a pulleying switch, tail pulleying switch, I1.0~I1.7 connect reset button, forward operation button, inverted running button, forward inching button, oppositely inching button, stop button, button be set, reduce button, I2.1 connects and increases that button, I2.1 connecting to neutral point are proofreaded button, I2.2~I2.6 meets 4 emergency stop switch buttons, I2.7 and 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 to PLC is all added with its model of photoelectrical coupler.
Guidance panel be provided with reset button, forward operation button, inverted running button, forward inching button, oppositely inching button, stop button, button be set, reduce button, increase button, proofread button zero point, by above-mentioned push button control endless rope winch, by button is set, reduce button, increase button operational factor is arranged.
LCDs selects the MCGS of the Kunlun, Beijing on-state Automation Co., Ltd production to embed the LCDs of 10.2 inches of versions.LCDs is electrically connected to 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, the output signal that collect, by be connected serial communication line with LCDs, by the real time operation state of Real time dynamic display interface display endless rope winch, the Real time dynamic display of endless rope winch comprises that animation and word show operation scheme, running velocity, service direction, the run location of endless rope winch.By being set, button on LCDs, switches the different pages.
LCDs is when there is various fault in endless rope winch, in monitoring homepage, play in real time out of order warning window, in warning window, fault title, time and the current faulty condition of endless rope winch will be shown, current faulty condition demonstration comprises replying of the generation of fault, the end of fault and fault, and can in historical alarm logging, check.
Speech chip is the HSTAPL03 type speech chip that Shenzhen Hua Shi communication apparatus Co., Ltd produces, complete function, sound clarity.Record has the operation of startup 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+, the SP-port on speech chip, play-over sound.By the connection number of times of the VOL port on speech chip and the end of the GND on it, circulation arranges four output volume sizes that grade is different.
The input termination mine of the 24V power supply of non-intrinsic safety and intrinsic safety 12V power supply exchange 127V power supply, the power input of the output termination LCDs of the 24V power supply of non-intrinsic safety, winch forward relay, winch reversion relay, and each input end of PLC, the power input of the output termination speed sensor of intrinsic safety 12V power supply and the power input of speech chip.
The concrete control program step of stepless rope winch system control method of the present invention 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 switch 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 and HSC0 stage control method; Described Picture switch time stage control method also comprises parameter selection lamp secondary stage control method, parameter plus-minus secondary stage control method.
Winch progress control method comprises the following steps:
Step 1: control beginning, proofread inferior stage control method at loading Picture switch time stage control method, emergent stopping time stage control method, voice time stage control method, parameter stage control method, zero point; PLC scans the operational factor of HSC0 stage control method of loading and setting first;
If step 2:i presses forward inching button, inlet point flowing mode; If again press forward inching button, PLC forward output point is closed;
If ii presses forward operation button, start early warning sound and play, trigger timing simultaneously, delay time arrives, and stops playing early warning sound, and PLC forward output point is closed;
If iii presses inverted running button, start early warning sound and play, trigger timing simultaneously, delay time arrives, and stops playing early warning sound, and PLC reversion output point is closed;
If iv presses reverse inching button, inlet point flowing mode; If again press reverse inching button, PLC reversion output point is closed;
Step 3: start another time delay timing, delay time arrives, and power-transfer clutch closes;
Step 4: in step 2,, in the situation of i, ii, winch starts just to march forward; In step 2, in the situation of iii, iv, winch starts oppositely to return;
If step 5:i unclamps forward inching button or unclamps reverse inching button or press stop button, winch is out of service, turns back to step 2 simultaneously, restarts circulation; Ii, if there is washout, winch is out of service;
Step 6: in the step I i in step 5, occur washout, play corresponding alarm sound, eject warning subpanel simultaneously, and record and be stored to the memory device in LCDs; If washout is eliminated, proceed to step 7;
Step 7: if press reset button, turn back to step 2, restart circulation;
Step 8: finish whole winch operation.
Picture switch time stage control method comprises the following steps:
Step 301:PLC scans or presses reset button first, proceeds to step 302;
Step 302: open key frame;
Step 303: if pressed, key button is set, proceeds to step 304;
Step 304: enter parameter picture is set,
If step 305:i presses, key button is set, proceeds to step 306; If ii presses reset button, turn back to step 301, restart circulation;
Step 306: call parameters is selected lamp secondary time stage control method;
If the historical warning button of step 307:i is not chosen, press and increase key button or press and reduce key button, call parameters plus-minus secondary time stage control method; If the historical warning button of ii is chosen, proceed to step 308;
Step 308: press stop button;
Step 309: enter historical warning picture;
Step 310: if press reset button, turn back to step 301, restart circulation;
Step 311: return to winch progress control method.
Parameter selects lamp secondary stage control method 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, enter step 4305;
Step 4305: do not arrive if pin the increase button time, return to step 4304; If pin the increase button time, arrive, enter step 4306;
Step 4306: indicator lamp number adds 1
Step 4307: arrive if pin the automatic turnoff time of increase button, return to step 4305; If turnoff time does not arrive automatically, enter step 4308;
Step 4308: if indicator lamp number > indicator lamp quantity, indicator lamp number becomes 1, returns to step 4304;
Step 4309: if indicator lamp number≤indicator lamp quantity is returned to Picture 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: if pin increase the button time not to or pin and reduce the button time and do not arrive, return to the inferior stage control method of Picture switch; If pin the increase button time, arrive, proceed to step 5304; If pin the minimizing button time, arrive, proceed to step 5314;
Step 5304: parameter currency adds that step-length is sent to parameter currency register;
Step 5305: do not arrive if automatically add and subtract the time opening, return to Picture switch time stage control method; If automatically add and subtract the time opening, arrive, proceed to step 5306;
Step 5306: do not arrive if automatically add and subtract interval time, return to Picture switch time stage control method; If the automatic spacing time opening arrives, proceed to step 5307;
Step 5307: parameter currency adds that step-length is sent to parameter currency register;
Step 5308: if currency≤setting maxim proceeds to step 5303, restart circulation; If currency > sets maxim, proceed to step 5309;
Step 5309: minimum value is sent into parameter currency register;
Step 5310: return to step 5303, restart circulation;
Step 5314: parameter currency deducts step-length and is sent to parameter currency register;
Step 5315: do not arrive if automatically add and subtract the time opening, return to Picture switch time stage control method; If automatically add and subtract the time opening, arrive, proceed to step 5316;
Step 5316: do not arrive if automatically add and subtract interval time, return to Picture switch time stage control method; If the automatic spacing time opening arrives, proceed to step 5317;
Step 5317: parameter currency deducts step-length and is sent to parameter currency register;
Step 5318: if currency >=setting maxim proceeds to step 5303, restart circulation; If currency < sets maxim, proceed to step 5319;
Step 5319: maxim is sent into parameter currency register;
Step 5320: return to step 5303, restart 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, be hypervelocity fault; If not, proceed to step 602;
Step 602: if winch speed is less than or equal to the fast benchmark of owing of setting, for owing fast fault; If not, proceed to step 603;
Step 603: if the distance of winch current location operation is more than or equal to the total length of setting, for surpassing distance fault; If not, proceed to step 604;
Step 604: if head pulleying switch connection is head pulleying fault; If not, proceed to step 605;
Step 605: if tail pulleying switch connection is tail pulleying fault; If not, proceed to step 606;
Step 606: connect if sew emergency stop switch, for sewing the anxious fault of stopping; If not, proceed to step 607;
Step 607: total urgency of hoister system is stopped number for N, stops 1 to suddenly stopping to have at least an emergency stop switch to connect between N if anxious, be the anxious fault of stopping; If not, return to winch progress control method, wait for that next scanning period calls again;
Step 608: if the fault that exceeds the speed limit, owe fast fault, surpass distance fault, head pulleying fault, tail pulleying fault, sew and suddenly stop fault and suddenly stop at least occurring one between fault, show and suddenly stops guard mode, proceed to step 609;
Step 609: if press reset button, remove suddenly and stop guard mode, proceed to step 601, restart circulation.
Comprising the following steps of voice time stage control method:
Step 701: if press forward operation button, broadcasting starts the broadcasting of early warning sound, trigger timing simultaneously, delay time arrives, and stops playing startup early warning sound; If not, proceed to step 702;
Step 702: if press inverted running button, play and start the broadcasting of early warning sound, trigger timing simultaneously, delay time arrives, and stops broadcasting and starts early warning sound; If not, proceed to step 703;
Step 703: if there is hypervelocity fault, play overspeed alarming sound; If not, proceed to step 704;
Step 704: if there is owing fast fault, play and owe fast alarm sound; If not, proceed to step 705;
Step 705: if there is head pulleying fault, play head pulleying alarm sound; If not, proceed to step 706;
Step 706: if there is tail pulleying fault, play tail pulleying alarm sound; If not, proceed to step 707;
Step 707: if there is sewing the anxious fault of stopping, play and sew urgent-stop alarm sound; If not, proceed to step 708;
Step 708: stop fault if there is anxious, play urgent-stop alarm sound; If not, proceed to step 709; If not, return to main program, wait for that next scanning period 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, proceed to step 710;
Step 710: if press reset button, disconnect alarm sound, proceed to step 701, restart circulation.
The effect Shi Jiang rotating speed unit rev/min of parameter stage control method, is converted into m/min.
The effect of check and correction at zero point time stage control method is when winch arrives pulleying at zero point switch, and current location and pulse count are set to 0.
Comprising the following steps of HSC0 stage control method:
Step 801: HSC0 stage control method of initialization;
Step 802: accumulative frequency sets to 0;
Step 803: cumulative data sets to 0;
Step 804: the control byte=16#F8 that puts high-speed counter HC0;
Step 805: mode of operation=0 of putting HC0;
Step 806: initial value register=0 of putting HC0;
Step 807: carry out 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 to cumulative data sends into cumulative data register;
Step 813: accumulative frequency register is sent into in accumulative frequency+1;
Step 814: carry out HSC instruction;
Step 815: if accumulative frequency is not equal to setting numerical value, turn back to step 813, restart circulation; If accumulative frequency equals to set numerical value, proceed to step 817;
Step 816: cumulative data is sent into data aviation value register divided by the value of accumulative frequency;
Step 817: by data aviation value divided by the value of Interruption duration send into rotating speed (rev/min) register;
Step 818: put accumulative frequency=0;
Step 819: put cumulative data=0;
Step 820: close and interrupt;
Step 821: call stage control method parameter time, rotating speed (rev/min) be converted to (m/min), and calculate range ability;
Step 822: rotating speed (m/min) and range ability data through serial communication line, be input in LCDs and show.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any those of ordinary skill in the art are in the disclosed technical scope of the present invention; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain that claims were limited.