[go: up one dir, main page]

CN102117056A - Numerically Controlled Corner Motion Method - Google Patents

Numerically Controlled Corner Motion Method Download PDF

Info

Publication number
CN102117056A
CN102117056A CN2009102660908A CN200910266090A CN102117056A CN 102117056 A CN102117056 A CN 102117056A CN 2009102660908 A CN2009102660908 A CN 2009102660908A CN 200910266090 A CN200910266090 A CN 200910266090A CN 102117056 A CN102117056 A CN 102117056A
Authority
CN
China
Prior art keywords
motion
numerical control
control device
fast moving
moving positioning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009102660908A
Other languages
Chinese (zh)
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.)
Syntec Inc
Original Assignee
Syntec Inc
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 Syntec Inc filed Critical Syntec Inc
Priority to CN2009102660908A priority Critical patent/CN102117056A/en
Publication of CN102117056A publication Critical patent/CN102117056A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

本发明公开了一种数值控制的转角运动方法,改善在需要要求速度的加工,如攻牙、车牙、钻孔等,通常在此类加工中每一加工循环之间常以快速移动定位指令来做连接,本发明即是可由使用者依需要设定,使得两快速指令间的转角可以做动程重叠,达到更为节省加工时间的目的。

Figure 200910266090

The present invention discloses a numerically controlled angular motion method, which improves processing that requires speed, such as tapping, thread turning, drilling, etc. Usually, each processing cycle in this type of processing is connected by a rapid movement positioning instruction. The present invention can be set by the user as needed, so that the angle between two rapid instructions can overlap the movement range, thereby achieving the purpose of saving more processing time.

Figure 200910266090

Description

数值控制的转角运动方法Numerically Controlled Corner Motion Method

技术领域technical field

本发明涉及数值控制的装置及其方法,特别是有关一种具有动程重叠的数值控制的装置及其方法,其针对机械装置的快速移动定位指令间的转角行为的改良,此控制方法用于机械设备的数值控制装置,例如CNC车床的数值控制装置、CNC铣床的数值控制装置、攻牙机的数值控制装置或是钻孔机的数值控制等。The present invention relates to a numerical control device and its method, in particular to a numerical control device and its method with stroke overlap, which is aimed at the improvement of the corner behavior between the fast moving and positioning instructions of the mechanical device. This control method is used for Numerical control devices for mechanical equipment, such as numerical control devices for CNC lathes, numerical control devices for CNC milling machines, numerical control devices for tapping machines, or numerical control devices for drilling machines, etc.

背景技术Background technique

在自动化数值控制,常会有需要执行多个快速移动定位指令来定位每次切削起始位置的状况,如车牙、攻牙、钻孔等;而传统因为有刀具、工件干涉的疑虑,所以快速移动定位指令间不若切削指令,是没有做动程重叠的。以一钻孔机的钻孔过程为例来说明,如图1所示,一开始,钻孔刀在1a的位置,接着,由一快速移动定位指令1b驱动钻孔刀在X轴负方向轴运动,然后,钻孔刀依据快速移动定位指令1c在X轴负方向轴进行钻孔;待钻孔完成后,再由一快速移动定位指令2b驱动钻孔刀在X轴正方向轴运动;待钻孔刀完成X轴的运动后,紧接着,由另一快速移动定位指令3b驱动钻孔刀在Y轴正方向轴方向移动至下一钻孔位置;当到达Y轴的下一钻孔位置后,随即依据快速移动定位指令2c在X轴负方向轴进行钻孔;于钻孔完成后,再由一快速移动定位指令4b驱动钻孔刀在X轴正方向轴运动;由另一快速移动定位指令5b驱动钻孔刀在Y轴正方向轴方向移动至下一钻孔位置;如此重复地进行钻孔(如3c及6b)。很明显地,在X轴及Y轴运动是没有做动程重叠的,使得快速指令所构成的路经为不平滑的。此外,这样的作法会在各快速移动定位指令转换的过程中产生过多的加、减速动作,不但造成机具的振动而产生精度上的问题,同时还会浪费很多时间。In automatic numerical control, it is often necessary to execute multiple fast-moving positioning instructions to locate the starting position of each cutting, such as turning, tapping, drilling, etc.; traditionally, because of the doubts about tool and workpiece interference, so fast If there is no cutting command between the moving and positioning commands, there is no stroke overlap. Take the drilling process of a drilling machine as an example. As shown in Figure 1, at the beginning, the drilling tool is at the position of 1a, and then, a fast moving positioning command 1b drives the drilling tool to move in the negative direction of the X axis. Then, the drilling tool drills in the negative direction of the X axis according to the rapid movement positioning command 1c; after the drilling is completed, the drilling knife is driven to move in the positive direction of the X axis by a rapid movement positioning command 2b; After the drilling tool completes the movement of the X-axis, the drilling tool is driven by another rapid movement positioning command 3b to move to the next drilling position in the positive direction of the Y-axis; when it reaches the next drilling position of the Y-axis Then, according to the rapid movement positioning command 2c, the hole is drilled in the negative direction of the X axis; after the drilling is completed, a rapid movement positioning command 4b is used to drive the drilling tool to move in the positive direction of the X axis; another rapid movement The positioning command 5b drives the drilling tool to move to the next drilling position in the positive direction of the Y axis; drilling is repeated in this way (such as 3c and 6b). Obviously, there is no stroke overlap between the X-axis and Y-axis movement, so that the path formed by the fast command is not smooth. In addition, such an approach will generate excessive acceleration and deceleration actions during the conversion of each rapid movement positioning command, which will not only cause vibration of the machine tool and cause accuracy problems, but also waste a lot of time.

另外,为解决上述的问题,在一篇美国专利US5888037,其揭露一种在快速移动的路径上作动程重叠的处理,故使得运动路径在1d及2d处能产生一个平滑的曲线,如图2所示。但这样作法的缺点是加工程序的撰写变得不自然,而且也没办法确实的控制动程重叠的多寡,有可能会造成路径本身太长,使得加工时间没有达到预期节省的效果。In addition, in order to solve the above-mentioned problems, in an American patent US5888037, it discloses a process of overlapping strokes on a fast-moving path, so that the motion path can generate a smooth curve at 1d and 2d, as shown in the figure 2. But the disadvantage of this method is that the writing of the processing program becomes unnatural, and there is no way to accurately control the amount of stroke overlap, which may cause the path itself to be too long, so that the expected saving effect of processing time cannot be achieved.

再者,为了解决上述两项问题,目前尚有一作法,是使用者只需撰写原来不平滑、但是直观的快速移动定位路径,而使用者可以指定快速移动定位指令间的动程重叠的速度重叠百分比。请参考图3,是表示一钻孔机于钻孔完成后并准备移动至下一钻孔位置的一段控制状态示意图,其中X轴速度与Y轴速度为控制器的动程所产生。钻孔刀接受快速移动定位指令“G00 X10.”(例如:X10.表示向X轴正方向轴移动10mm)后,先在X轴正方向轴做快速的等速运动,然后逐渐减速至停止,其中从开始减速至停止的时间称为总减速时间;当X轴尚未减速至停止前,可以选择一个重叠时间,用以使得Y轴接受快速移动定位指令“G00 Y10.”(例如:Y10.表示向Y轴正方向轴移动10mm)开始加速运动。在这过程中,操作者可以输入一个速度重叠百分比率,使得在重叠速度期间,X轴与Y轴均在进行速度。而此一重叠百分比率定义为:Furthermore, in order to solve the above two problems, there is still a method at present, that is, the user only needs to write the original unsmooth but intuitive rapid movement positioning path, and the user can specify the stroke overlap and speed overlap between the rapid movement positioning commands percentage. Please refer to FIG. 3 , which is a schematic diagram showing a control state of a drilling machine ready to move to the next drilling position after drilling, wherein the X-axis speed and Y-axis speed are generated by the stroke of the controller. After the drilling tool receives the rapid movement positioning command "G00 X10." (for example: X10. means moving 10mm to the positive direction of the X-axis), it first performs a fast constant-speed movement in the positive direction of the X-axis, and then gradually decelerates to a stop. The time from deceleration to stop is called the total deceleration time; before the X-axis decelerates to a stop, you can choose an overlapping time to make the Y-axis accept the rapid movement positioning command "G00 Y10." (for example: Y10. Move 10mm to the positive direction of the Y axis) to start accelerating. During this process, the operator can input a speed overlap percentage, so that during the overlapping speed, both the X-axis and the Y-axis are running at speed. And this overlap percentage is defined as:

重叠百分比率=重叠时间/总减速时间x100%Overlap percentage rate = overlap time / total deceleration time x 100%

这样以重叠百分比率来控制X轴与Y轴的运动速度,虽然可以精确地指定出能够节省时间的部分。但此方法仍有一缺点,即使用者无法确知前一快速移动定位指令移动到什么位置时,而下一快速移动定位指令才开始移动,这样会造成无法拿捏此百分比要设定多少,设定太大可能会使得刀具还未逃脱干涉位置即开始移动而造成撞机。In this way, the movement speed of the X-axis and the Y-axis is controlled by the overlapping percentage, although the part that can save time can be precisely specified. However, this method still has a shortcoming, that is, the user cannot know exactly where the previous rapid movement positioning command moves, and the next rapid movement positioning command starts to move, which will cause it to be difficult to determine how much the percentage should be set. Too large may cause the tool to move before it escapes the interference position and cause a collision.

发明内容Contents of the invention

为解决现有技术的问题及缺点,本发明的主要目的是提供一种具有转角控制的数值控制装置,其在执行快速移动定位指令间的动程重叠的手段是以指定一长度d,使得前一快速移动定位指令到达终点前距离d的同时,下一快速移动定位指令即可同时开始动作,特别要强调的是,距离d是以运动轴的实际速度来计算的。故本发明的主优点包括:In order to solve the problems and shortcomings of the prior art, the main purpose of the present invention is to provide a numerical control device with rotation angle control. The method of overlapping strokes between the execution of rapid movement and positioning instructions is to specify a length d, so that the front When a rapid movement positioning command reaches the distance d before the end point, the next rapid movement positioning command can start to act at the same time. It should be emphasized that the distance d is calculated based on the actual speed of the motion axis. Therefore main advantage of the present invention comprises:

1.可使快速移动定位指令作动程重叠,避免浪费快速移动定位指令间的加、减速时间。1. The strokes of rapid movement and positioning commands can be overlapped to avoid wasting the acceleration and deceleration time between rapid movement and positioning commands.

2.使用者只需直观的在加工程序中作直线快速定位指令的撰写,不须写出平滑的快速移动定位动作。2. The user only needs to intuitively write the linear rapid positioning command in the processing program, and does not need to write the smooth rapid movement positioning action.

3.使用者可明确的以距离裕度设定动程重叠的时机,而不会因估计错误造成刀具干涉的结果。3. The user can clearly set the timing of stroke overlap with the distance margin, so that the result of tool interference will not be caused by estimation errors.

本发明基于上述目的提供一种具有转角控制的数值控制装置,以第一快速移动定位指令及第二快速移动定位指令来控制机械设备的第一轴运动及第二轴运动,其中该数值控制装置的特征在于:设定一距离参数d并当第一快速移动定位指令驱动第一轴运动至第一轴运动路径的终点前的该距离d时,其第二快速移动定位指令即同时驱动第二轴运动,使得第一轴及第二轴同时运动的期间产生动程重叠,以达到节省该机械设备总定位时间的目的。Based on the above purpose, the present invention provides a numerical control device with rotation angle control, which uses the first rapid movement positioning command and the second rapid movement positioning command to control the first axis movement and the second axis movement of the mechanical equipment, wherein the numerical control device The feature is that: a distance parameter d is set and when the first rapid movement positioning command drives the first axis to move to the distance d before the end point of the first axis movement path, the second rapid movement positioning command drives the second axis at the same time. Axis movement, so that the first axis and the second axis move at the same time during the stroke overlap, so as to save the total positioning time of the mechanical equipment.

本发明接着提供一种数值控制系统,包括一可控制的机械装置及一数值控制装置,数值控制装置以第一快速移动定位指令及第二快速移动定位指令来控制机械设备的第一轴运动及第二轴运动,其中数值控制系统的特征在于:于数值控制装置中设定一距离参数d,并当第一快速移动定位指令驱动第一轴运动至第一轴运动路径的终点前的距离参数d时,第二快速移动定位指令即同时驱动第二轴运动,使得第一轴及第二轴同时运动的期间产生动程重叠,以达到节省该机械设备总定位时间的目的。The present invention then provides a numerical control system, including a controllable mechanical device and a numerical control device, the numerical control device uses the first rapid movement positioning command and the second rapid movement positioning command to control the movement of the first axis of the mechanical equipment and The second axis moves, wherein the numerical control system is characterized in that: a distance parameter d is set in the numerical control device, and when the first rapid movement positioning command drives the first axis to move to the distance parameter before the end of the first axis motion path When d, the second rapid movement positioning command drives the second axis to move at the same time, so that the stroke overlap occurs during the simultaneous movement of the first axis and the second axis, so as to save the total positioning time of the mechanical equipment.

本发明接着提供控制机械装置执行转角运动的方法,包括提供一机械装置,此机械装置至少包括一第一轴及一第二轴;提供一数值控制装置,此数值控制装置至少输出一第一快速移动定位指令及一第二快速移动定位指令,以使第一快速移动定位指令及第二快速移动定位指令来驱动第一轴及第二轴;提供一设定的距离参数d至数值控制装置中,而距离参数d由数值控制装置依据第一轴实际的运动速度所包含的面积来判断;其中当第一快速移动定位指令驱动该第一轴运动至第一轴运动路径的终点前的距离参数d时,第二快速移动定位指令即同时驱动第二轴运动,使得第一轴及第二轴同时运动的期间产生动程重叠,以达到节省该机械设备总定位时间的目的。The present invention then provides a method for controlling a mechanical device to perform angular movement, including providing a mechanical device, the mechanical device at least including a first axis and a second axis; providing a numerical control device, the numerical control device outputs at least a first fast A moving positioning command and a second rapid moving positioning command, so that the first rapid moving positioning command and the second rapid moving positioning command drive the first axis and the second axis; provide a set distance parameter d to the numerical control device , and the distance parameter d is judged by the numerical control device according to the area covered by the actual movement speed of the first axis; wherein when the first rapid movement positioning command drives the first axis to move to the end point of the first axis motion path, the distance parameter When d, the second rapid movement positioning command drives the second axis to move at the same time, so that the stroke overlap occurs during the simultaneous movement of the first axis and the second axis, so as to save the total positioning time of the mechanical equipment.

附图说明Description of drawings

图1为一般钻孔动作示意图;Figure 1 is a schematic diagram of the general drilling action;

图2为钻孔动作使用US5888037专利方法示意图;Figure 2 is a schematic diagram of the drilling action using the US5888037 patent method;

图3为一种使用设定百分比达成快速移动定位指令示意图;FIG. 3 is a schematic diagram of a fast moving positioning command achieved by using a set percentage;

图4为本发明的钻孔动作示意图;Fig. 4 is the drilling action schematic diagram of the present invention;

图5为本发明的具有动程重叠的快速移动定位指令示意图。FIG. 5 is a schematic diagram of a fast-moving positioning command with stroke overlap according to the present invention.

【主要元件符号说明】[Description of main component symbols]

1a:钻孔刀示意图示1a: Schematic illustration of the drilling tool

1b、2b、3b、4b、5b、6b:一般钻孔动作所用的快速移动定位指令1b, 2b, 3b, 4b, 5b, 6b: rapid movement positioning instructions for general drilling operations

1c、2c、3c:钻孔动作1c, 2c, 3c: drilling action

1d、2d:使用US5888037专利方法钻孔动作所用的平滑快速移动定位指令1d, 2d: use the US5888037 patented method to drill the smooth and fast moving positioning command used in the action

d:当连续有两个快速移动定位指令时,前一快速移动定位指令到达终点前d的距离,下一快速移动定位指令即开始动作d: When there are two consecutive rapid movement positioning instructions, the previous rapid movement positioning instruction reaches the distance d before the end point, and the next rapid movement positioning instruction starts to act

G00:快速移动定位指令G00: Rapid movement positioning command

X10.:X轴定位点10mmX10.: X-axis positioning point 10mm

Y10.:Y轴定位点10mmY10.: Y-axis positioning point 10mm

X6.:X轴定位点6mmX6.: X-axis positioning point 6mm

Y6.:Y轴定位点6mmY6.: Y-axis positioning point 6mm

具体实施方式Detailed ways

由于本发明揭露一种数值控制的转角运动方法,因此,在以下的说明中,将详细说明数值控制的转角运动方法,而对于被此数值控制的转角运动方法控制的机械装置(例如CNC车床的数值控制装置、攻牙机的数值控制装置、钻孔机的数值控制等),则不作完整描述。此外,在下述说明中的各种说明为本发明的实施例,并非用以限制本发明。Because the present invention discloses a kind of numerically controlled corner motion method, therefore, in the following description, the numerically controlled corner motion method will be described in detail, and for the mechanical device (such as the CNC lathe) controlled by the numerically controlled corner motion method Numerical control devices, numerical control devices for tapping machines, numerical control devices for drilling machines, etc.), will not be fully described. In addition, various descriptions in the following descriptions are examples of the present invention, and are not intended to limit the present invention.

本发明是一种使用数值控制装置来控制机械装置运动的控制方法,是针对在同一直线运动路径上做往返运动的机械所做的控制方法。由于,机械装置每次所要执行加工的路程并不相同,因此,数值控制装置必须针对不同行程长短的路径以最快的速度完成所要执行加工的路程。使用数值控制装置(例如CNC车床的数值控制装置、攻牙机的数值控制装置或是钻孔机的数值控制等)来控制机械装置运动时,机械装置(例如CNC车床、攻牙机或是钻孔机等)的冲量最大值已知;而驱动机械装置运动的马达所能提供的加速度最大值也是已知。当机械装置为一钻孔机时,可以将所要加工的程序(例如要钻5mini-meter深度的孔)输入至数值控制装置,然后再将已知机械装置的冲量最大值设定为预设的冲量绝对值的最大值Jmax,以及已知的马达加速度最大值设定为预设的加速度绝对值的最大值Amax也一并输入至数值控制装置中,以产生一相应的速度与时间的动程规画。很明显地,机械装置的冲量最大值以及马达所能提供的加速度最大值均是已知并且固定的,因此,数值控制装置所产生的动程规画会依据所要加工的行程而有不同的速度与时间的动程规画。此外,为了能够缩短钻孔机的加工路程,本发明提供一种数值控制的转角运动方法,在数值控制装置的动程规划中,以指定一个长度d,使得当前一快速移动定位指令(例如控制X轴)到达终点前距离d的同时,下一快速移动定位指令(例如控制Y轴)即开始动作,故可达到作动程重叠的效果。特别要强调的是,距离d是以运动轴的实际速度来计算的。The invention is a control method using a numerical control device to control the motion of a mechanical device, and it is a control method for a machine that performs reciprocating motion on the same linear motion path. Since the distance to be processed by the mechanical device is different each time, the numerical control device must complete the distance to be processed at the fastest speed for paths with different stroke lengths. When using a numerical control device (such as a numerical control device for a CNC lathe, a numerical control device for a tapping machine, or a numerical control for a drilling machine, etc.) Hole machine, etc.) the maximum value of the impulse is known; and the maximum acceleration that the motor that drives the mechanical device can provide is also known. When the mechanical device is a drilling machine, the program to be processed (for example, to drill a hole with a depth of 5mini-meter) can be input to the numerical control device, and then the maximum impulse of the known mechanical device is set to the preset value The maximum value J max of the absolute value of the impulse, and the maximum value A max of the known maximum value of the motor acceleration set as the preset maximum value of the absolute value of the acceleration are also input into the numerical control device to generate a corresponding speed and time Motion planning. Obviously, the maximum value of the impulse of the mechanical device and the maximum value of the acceleration that the motor can provide are known and fixed. Therefore, the stroke planning generated by the numerical control device will have different speeds depending on the stroke to be processed Motion planning versus time. In addition, in order to be able to shorten the processing distance of the drilling machine, the present invention provides a numerically controlled angular movement method. In the stroke planning of the numerical control device, a length d is specified so that a current rapid movement positioning command (such as control When the X-axis) reaches the distance d before the end point, the next rapid movement positioning command (such as controlling the Y-axis) will start to move, so the effect of overlapping action ranges can be achieved. In particular, it should be emphasized that the distance d is calculated based on the actual speed of the moving axis.

接着,以一钻孔机的钻孔过程为例来说明,请同时参考图4及图5的说明。特别要说明的是,钻孔机的控制器已将机械装置的冲量最大值设定为预设的冲量绝对值的最大值Jmax,以及将已知的马达加速度最大值设定为预设的加速度绝对值的最大值Amax,也将所要加工的程序(例如要钻5mini-meter深度的孔)输入至数值控制装置,以产生一相应的速度与时间的动程规画的动程规划;同时,也于加工程序中再设定一个长度d(例如:0.5mm),以做为动程重叠的控制。如图4所示,一开始,钻孔刀在1a的位置,接着,由一快速移动定位指令1b驱动钻孔刀在X轴负方向轴运动,然后,钻孔刀依据快速移动定位指令1c在X轴负方向轴进行钻孔;待钻孔完成后,再由一快速移动定位指令2b(例如:“G00 X6.”,表示向X轴正方向轴移动6mm)驱动钻孔刀在X轴正方向轴运动;由于加工程序中已设定一个长度d(例如:0.5mm),因此,当数值控制装置依据X轴马达实际的速度判断出钻孔刀具离基准平面0.5mm时(即到达X轴终点的基准平面的距离为0.5mm),紧接着,由另一快速移动定位指令3b驱动钻孔刀在Y轴正方向轴方向移动至下一钻孔位置,在此过程中,产生X轴(减速)与Y轴(加速)同时运动,故使得钻孔机产生动程重叠而形成类似转角的运作路径,如图4的3b线段所示的路径;很明显地,此动程重叠所产生的3b线段所示的路径较图1及图2中的路径短。接着,当X轴停止且Y轴到达下一钻孔位置后,随即依据快速移动定位指令2c在X轴负方向轴进行钻孔;于钻孔完成后,再由一快速移动定位指令4b(例如:“G00 X6.”,表示向X轴正方向轴移动6mm)驱动钻孔刀在X轴正方向轴运动;由于加工程序中已设定一个长度d(例如:0.5mm),故当数值控制装置依据实际的马达速度判断出钻孔刀具离基准平面0.5mm时(即到达X轴终点的基准平面的距离为0.5mm),紧接着,由另一快速移动定位指令5b驱动钻孔刀在Y轴正方向轴方向移动至下一钻孔位置,在此过程中,产生X轴与Y轴同时运动,故使得钻孔机产生动程重叠而形成类似转角的运作路径,如图4的长短虚线所示的路径;很明显地,此动程重叠所产生的长短虚线所示的路径较图1及图2中的路径短;如此重复地进行钻孔(如3c及6b)。Next, the drilling process of a drilling machine is taken as an example for illustration, please refer to the explanations of FIG. 4 and FIG. 5 at the same time. In particular, the controller of the drilling machine has set the maximum value of the impulse of the mechanical device to the maximum value J max of the preset absolute value of the impulse, and set the known maximum value of the motor acceleration to the preset value The maximum value A max of the absolute value of the acceleration is also input to the numerical control device for the program to be processed (for example, to drill a hole with a depth of 5mini-meter), so as to generate a stroke planning of a corresponding speed and time stroke planning; At the same time, a length d (for example: 0.5mm) is also set in the processing program to control stroke overlap. As shown in Figure 4, at the beginning, the drilling tool is at the position of 1a, then, the drilling tool is driven to move in the negative direction of the X axis by a rapid movement positioning command 1b, and then the drilling knife is positioned at the position according to the rapid movement positioning command 1c Drill in the negative direction of the X-axis; after the drilling is completed, a rapid movement positioning command 2b (for example: "G00 X6.", which means moving 6mm in the positive direction of the X-axis) drives the drilling tool in the positive direction of the X-axis. Direction axis movement; since a length d (for example: 0.5mm) has been set in the processing program, when the numerical control device judges that the drilling tool is 0.5mm away from the reference plane according to the actual speed of the X-axis motor (that is, it reaches the X-axis The distance between the datum plane of the end point is 0.5mm), and then another rapid movement positioning command 3b drives the drilling tool to move to the next drilling position in the positive direction of the Y axis. During this process, the X axis ( deceleration) and Y axis (acceleration) move at the same time, so that the drilling machine produces stroke overlap to form an operating path similar to a corner, as shown in the 3b line segment of Figure 4; obviously, the stroke overlap generated The path shown by the line segment 3b is shorter than the paths in Figures 1 and 2. Then, when the X-axis stops and the Y-axis reaches the next drilling position, the hole is drilled in the negative direction of the X-axis according to the rapid movement positioning command 2c; after the drilling is completed, a rapid movement positioning command 4b (such as : "G00 X6.", means to move 6mm to the positive direction of the X-axis) to drive the drilling tool to move in the positive direction of the X-axis; since a length d (for example: 0.5mm) has been set in the processing program, when the numerical control According to the actual motor speed, the device judges that when the drilling tool is 0.5mm away from the reference plane (that is, the distance to the reference plane at the end point of the X axis is 0.5mm), and then, another rapid movement positioning command 5b drives the drilling tool in the Y position. The positive direction of the axis moves to the next drilling position. During this process, the X-axis and the Y-axis move simultaneously, so that the drilling machine produces stroke overlap and forms an operating path similar to a corner, as shown in the long and short dashed lines in Figure 4. The path shown; obviously, the path shown by the long and short dotted lines produced by the overlap of strokes is shorter than the path in Fig. 1 and Fig. 2; so repeated drilling (as 3c and 6b).

本发明通过在数值控制装置的加工程序中设定一长度d的控制参数,使得X轴及Y轴产生动程重叠的运动。而在数值控制装置中对长度d的控制参数的判断,请参考图5所示。图5中的实直线与虚直线为数值控制装置的X轴及Y轴动程规画,而实曲线为X轴马达实际的速度;因此,当在数值控制装置的加工程序中设定一长度d后,数值控制装置即依据X轴马达实际的速度计算到达终点时所占的面积来判断,如图5中的斜线面积。很明显地,本发明的动程重叠除了使得加工路径所短外,也由于判断设定控制参数(即长度d)依据马达实际的速度,故可以确知前一快速移动定位指令(例如X轴)移动到什么位置,而不会产生错误的设定。In the present invention, a control parameter of length d is set in the processing program of the numerical control device, so that the X-axis and the Y-axis produce motions with overlapping strokes. For the judgment of the control parameter of the length d in the numerical control device, please refer to FIG. 5 . The solid straight line and dotted straight line in Fig. 5 are the X-axis and Y-axis stroke planning of the numerical control device, and the solid curve is the actual speed of the X-axis motor; therefore, when a length is set in the machining program of the numerical control device After d, the numerical control device calculates the area occupied by the end point based on the actual speed of the X-axis motor, as shown in the area of the oblique line in FIG. 5 . Obviously, in addition to shortening the machining path, the overlap of strokes in the present invention also makes it possible to know the previous fast-moving positioning command (such as the X axis) because the judgment setting control parameter (that is, the length d) depends on the actual speed of the motor. ) to what position to move without generating wrong settings.

此外,在加工程序中设定控制参数(即长度d)后,即可以用指令来启动此转角运动,而启动后即依照控制参数设定的长度d来做快速移动定位指令间的动程重叠;另一方面亦可以在数值控制装置的加工程序中修改d的值,使得不论是由控制参数或是加工程序启动此数值控制的转角运动,在快速移动定位指令间均用此修改过后的d来做动程重叠。In addition, after setting the control parameter (that is, the length d) in the processing program, the command can be used to start the corner movement, and after the start, the stroke overlap between the rapid movement and positioning commands will be performed according to the length d set by the control parameter ; On the other hand, the value of d can also be modified in the processing program of the numerical control device, so that no matter whether the numerically controlled corner motion is started by the control parameter or the processing program, the modified d is used in the rapid movement positioning command to do stroke overlap.

以上针对本发明较佳实施例的说明为阐明的目的,而无意限定本发明的精确应用形式,由以上的教导或由本发明的实施例学习而作某种程度修改是可能的。因此,本发明的技术思想将由以下的申请专利范围及其均等来决定的。The above descriptions of the preferred embodiments of the present invention are for the purpose of illustration, and are not intended to limit the precise application form of the present invention. It is possible to make certain modifications from the above teachings or from the examples of the present invention. Therefore, the technical idea of the present invention will be determined by the following claims and their equivalents.

Claims (10)

1. one kind has the numerical control device that corner is controlled, and controls one first motion and one second motion, wherein being characterised in that of this numerical control device of a plant equipment with one first fast moving positioning instruction and one second fast moving positioning instruction:
In this numerical control device, set a distance parameter d, and before this first fast moving positioning instruction drives this first terminal point that moves to this first motion path this is during apart from d, this second fast moving positioning instruction promptly drives this second motion simultaneously, make this first and this second motion simultaneously during to produce traverse overlapping, and then make this plant equipment carry out corner motion.
2. numerical control device as claimed in claim 1 is characterized in that, shared area was judged when this before the terminal point of this first motion path reached home according to the speed calculation of this first reality apart from d.
3. numerical control device as claimed in claim 1 is characterized in that, this distance parameter d can be by the value of processing instruction appointment d in job sequence.
4. numerical control system, comprise a controllable mechanical hook-up and a numerical control device, this numerical control device is controlled one first motion and one second motion, wherein being characterised in that of this numerical control system of this plant equipment with one first fast moving positioning instruction and one second fast moving positioning instruction:
In this numerical control device, set a distance parameter d, before this first fast moving positioning instruction drives this first terminal point that moves to this first motion path this is during apart from d, this second fast moving positioning instruction promptly drives this second motion simultaneously, make this first and this second motion simultaneously during to produce traverse overlapping, and then make this mechanical hook-up carry out corner motion.
5. numerical control system as claimed in claim 4 is characterized in that, shared area was judged when this before the terminal point of this first motion path reached home according to the speed calculation of this first reality apart from d.
6. numerical control system as claimed in claim 4 is characterized in that, this distance parameter d can be by the value of processing instruction appointment d in job sequence.
7. numerical control system as claimed in claim 4 is characterized in that, this mechanical hook-up is by selecting in the following combination: CNC lathe, tapping machine or drilling machine.
8. method of carrying out the corner motion with the numerical value control device controls mechanical hook-up, system controls first of one of mechanical hook-up and one second motion with a numerical control device, and wherein this numerical value control device controls mechanical hook-up method of carrying out corner motion comprises:
One first fast moving positioning instruction is provided, carries out motion so that this first fast moving positioning instruction is controlled this first;
One second fast moving positioning instruction is provided, carries out motion so that this second fast moving positioning instruction is controlled this second; And
The distance parameter (d) that one setting is provided is to this numerical control device, and this distance parameter (d) is to be judged according to the area that movement velocity comprised of this first reality by this numerical control device; Wherein
When this first fast moving positioning instruction is controlled this first this distance parameter (d) before the terminal point that moves to this first motion path, this second fast moving positioning instruction is promptly controlled this second motion simultaneously, overlap by producing traverse during this first and this second motion simultaneously, and then make this mechanical hook-up carry out the corner motion.
9. the method for corner motion as claimed in claim 8 is characterized in that, this distance parameter d can be by the value of processing instruction appointment d in job sequence.
10. the method for corner motion as claimed in claim 8 is characterized in that this mechanical hook-up is by selecting in the following combination: CNC lathe, tapping machine or drilling machine.
CN2009102660908A 2009-12-31 2009-12-31 Numerically Controlled Corner Motion Method Pending CN102117056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102660908A CN102117056A (en) 2009-12-31 2009-12-31 Numerically Controlled Corner Motion Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102660908A CN102117056A (en) 2009-12-31 2009-12-31 Numerically Controlled Corner Motion Method

Publications (1)

Publication Number Publication Date
CN102117056A true CN102117056A (en) 2011-07-06

Family

ID=44215863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102660908A Pending CN102117056A (en) 2009-12-31 2009-12-31 Numerically Controlled Corner Motion Method

Country Status (1)

Country Link
CN (1) CN102117056A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116315A (en) * 2013-02-17 2013-05-22 上海维宏电子科技股份有限公司 Control method for achieving cutting tool radius compensation overall interference in numerical control system
CN112170903A (en) * 2019-07-05 2021-01-05 发那科株式会社 Machine tool and machine tool control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116315A (en) * 2013-02-17 2013-05-22 上海维宏电子科技股份有限公司 Control method for achieving cutting tool radius compensation overall interference in numerical control system
CN103116315B (en) * 2013-02-17 2015-03-11 上海维宏电子科技股份有限公司 Control method for achieving cutting tool radius compensation overall interference in numerical control system
CN112170903A (en) * 2019-07-05 2021-01-05 发那科株式会社 Machine tool and machine tool control method
CN112170903B (en) * 2019-07-05 2024-07-23 发那科株式会社 Machine tool and control method for machine tool

Similar Documents

Publication Publication Date Title
JP6209392B2 (en) Interference confirmation device
JP6140130B2 (en) Numerical control device for protecting tools and workpieces
WO1997015874A1 (en) Method of axis movement numeric control machine tool and apparatus therefor
KR102154010B1 (en) Machine tool control unit, machine tool
JP2661422B2 (en) Processing device and processing method
JP6740199B2 (en) Numerical control device, CNC machine tool, numerical control method, and numerical control program
US20160274560A1 (en) Numerical controller performing reciprocal turning in complex fixed cycle
JP2017001103A (en) Machine tool control device and machine tool control method for controlling synchronous operation of spindle and feed shaft
US20100138018A1 (en) Method for producing a parts program
JP2020192647A (en) Machine tool and control device for this machine tool
CN109960221B (en) Numerical controller
WO2008053601A1 (en) Working control device, and its program
JP5523875B2 (en) Thread cutting control method
TWI401553B (en) Control method of numerical control device
JP2006059187A (en) Numerical controller
KR100898034B1 (en) How to modify toolpath
JP6444923B2 (en) Numerical controller
CN102117056A (en) Numerically Controlled Corner Motion Method
JP2007179314A (en) Machine tool and program conversion method therefor
JP2021012522A (en) Machine tool and control method for machine tool
TWI409601B (en) Numerical control device and system of controlling corner motion and method of controlling the corner motion
JP2007319971A (en) Threading method and machine tool
CN112008485B (en) Numerical controller and machine tool
CN103240613A (en) Machine tool workbench motion control method
JP2009282625A (en) Machine tool, and control method of machine tool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110706