The lower cutter control method of CNC machine and device
Technical field
The invention relates to the control technology field of CNC machine, be specifically related to a kind of lower cutter control method of CNC machine, the method is by setting up functional module construction, come by computer program instructions computer for controlling system, these computer program instructions store in a computer-readable storage medium.
Background technology
The cutter of CNC machine (Computer numerical control, Digit Control Machine Tool) is before processing workpiece, and need to accelerate to rotating speed of target, the cutter of CNC machine and the rotating shaft of lathe are fixed, and are rotated by rotating shaft carry its tools.In prior art, CNC machine is only after its cutter accelerates to rotating speed of target, just can start cutter to shift to Working position (cutter shift to Working position process be called lower cutter), that is, in the process that cutter accelerates, namely before cutter does not accelerate to rotating speed of target, CNC machine is failure to actuate, and is in the state of wait, and this time waited for is wasted, thus extend the process time of CNC machine, reduce working (machining) efficiency.
Summary of the invention
For the problems referred to above that prior art exists, the invention provides a kind of lower cutter control method of CNC machine, and it can shorten the process time of CNC machine, improves working (machining) efficiency.
For achieving the above object, the invention provides following technical scheme.
The lower cutter control method of CNC machine, in the process that the cutter of described lathe accelerates, when the acceleration time of described cutter reaches Preset Time or accelerates to the preset rotation speed being less than rotating speed of target, described machine tool action starts to shift to Working position to make described cutter, and when described cutter moves to Working position, its rotating speed reaches rotating speed of target.
Wherein, when described cutter moves to Working position, its rotating speed reaches rotating speed of target just.
Or its rotating speed reaches rotating speed of target before described cutter moves to Working position.
Wherein, described rotating speed refers to angular speed.
The beneficial effect of the invention is: in the process that cutter accelerates, when cutter accelerate to one be less than the preset rotation speed of rotating speed of target time, CNC machine just starts lower cutter, also the time is needed because cutter moves to Working position from initial position, in the process of lower cutter, cutter continues to accelerate, and so allows lower cutter and cutter accelerate to carry out simultaneously, thus shortens the time waiting for that cutter accelerates, also just shorten the process time of CNC machine, improve working (machining) efficiency.
Detailed description of the invention
Below in conjunction with specific embodiment, the invention is elaborated.
Cutter due to CNC machine is driven by the rotating shaft of lathe and rotates, the rotating speed of cutter is identical with the rotating speed of rotating speed, rotating speed herein refers to angular speed, the lower cutter control method of the CNC machine of the present embodiment is specially, the angular speed of the rotating shaft of monitoring lathe, in the process that the rotating shaft of lathe is accelerated, meet lower tool section part below, just cutter under control CNC lathe:
The angular speed of rotating shaft reaches preset rotation speed.
The process shaft of lower cutter continues to accelerate, as long as the size of preset rotation speed is suitable, when cutter just can be allowed to move to Working position, the rotating speed of cutter reaches rotating speed of target just, therefore just can process workpiece at once.Certainly, also rotating speed of target is not accelerated in order to prevent cutter time error causes cutter to move to Working position, suitably can adjust preset rotation speed, cutter is made just to accelerate to destination apparatus before moving to Working position, even if there is error like this, when also can ensure that cutter moves to Working position, its rotating speed reaches rotating speed of target.
As another embodiment, above-mentioned lower tool section part is: the acceleration time of cutter reaches Preset Time.Such as, if the cutter of certain CNC machine lasts 5 seconds from the static process accelerating to rotating speed of target, under this cutter, the process of cutter lasts 3 seconds, and so above-mentioned Preset Time is just set to 2 seconds.Therefore, cutter accelerates from static, starts timing simultaneously, and when timing reaches 2 seconds, just control CNC machine and start lower cutter, time cutter moves to Working position, the acceleration time of cutter is 5 seconds just, and now cutter also just accelerates to rotating speed of target just.Also not accelerating to rotating speed of target to prevent cutter time error causes cutter to move to Working position, suitably can adjust above-mentioned Preset Time, such as, being set to 2.5 seconds, thus when ensureing that cutter moves to Working position, its rotating speed reaches rotating speed of target.
The method provided herein, all or part of step wherein by setting up functional module construction, can have been come by computer program instructions computer for controlling system.These computer program instructions store in a computer-readable storage medium.
Finally should be noted that; above embodiment is only in order to illustrate the technical scheme of the invention; but not the restriction to the invention protection domain; although done to explain to the invention with reference to preferred embodiment; those of ordinary skill in the art is to be understood that; can modify to the technical scheme of the invention or equivalent replacement, and not depart from essence and the scope of the invention technical scheme.