JPH05250026A - Numerical controller with interference preventing barrier - Google Patents

Numerical controller with interference preventing barrier

Info

Publication number
JPH05250026A
JPH05250026A JP4048872A JP4887292A JPH05250026A JP H05250026 A JPH05250026 A JP H05250026A JP 4048872 A JP4048872 A JP 4048872A JP 4887292 A JP4887292 A JP 4887292A JP H05250026 A JPH05250026 A JP H05250026A
Authority
JP
Japan
Prior art keywords
boundary line
axis
interference
barrier
command value
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
JP4048872A
Other languages
Japanese (ja)
Inventor
Fumio Suzuki
文男 鈴木
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP4048872A priority Critical patent/JPH05250026A/en
Publication of JPH05250026A publication Critical patent/JPH05250026A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To utilize the working region of two control axes effectively by defining necessary part only as interference preventing barrier. CONSTITUTION:On the plane composed of two control axes, a boundary line calculation part 6 is provided to calculate a straight line crossing two arbitrary points as the boundary line of the interference preventing barrier and an interference check part 3 is provided to control the movable region of the two control axes in accordance with the target value which is read into by a command value reading part 1 and the boundary line which the boundary line calculation part 6 calculates. The interference check part 3 reads the command value of axes A and B into variable ACOM and a BCOM from the command value reading part 1, and the boundary line calculation part 6 reads barrier data into variable AH, AG, BH and BG respectively from a barrier data memory 2, and calculates data B for interference check using the data read into and a first formula. The data B and the command value BCOM of B axis are compared, and axis moving command is instructed in the case of B>BCOM and alarm generation is instructed in the case of B<BCOM.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、2つの制御軸の合成動
作により2次元の加工領域を得る工作機械において、そ
の制御軸可動領域を規制する干渉防止バリアを有する数
値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control apparatus having an interference prevention barrier for restricting a control axis movable area in a machine tool which obtains a two-dimensional processing area by combining two control axes.

【0002】[0002]

【従来の技術】従来、2つの制御軸の合成動作により2
次元の加工領域を得る工作機械があり、この工作機械の
制御軸可動領域を規制すべく干渉防止バリアを有する数
値制御装置が知られている。この数値制御装置は、図4
に示すように、A軸及びB軸の指令値を読み込む指令値
読込み部1を有しており、かつ予め設定されているバリ
アデータを記憶するバリアデータメモリ2を有してい
る。指令値読込み部1とバリアデータメモリ2には、指
令値読込み部1により読み込んだ目標値がバリアデータ
メモリ2に予め設定されているバリアデータに規定され
ている干渉領域に入っているか否か判断する干渉チェッ
ク部3が接続されており、指令値読込み部1と干渉チェ
ック部3には、干渉チェック部3からの軸移動指令を受
け指令値読込み部1で読み込んだ指令値に従い軸移動を
行う軸移動部5が接続されている。また、干渉チェック
部3には、指令値読込み部1により読み込んだ目標値が
バリアデータメモリ2に予め設定されているバリアデー
タに規定されている干渉領域に入っている場合にアラー
ムを表示を行うアラーム発生部4が接続されている。
2. Description of the Related Art Conventionally, two control axes are combined into two
There is a machine tool that obtains a dimensional machining area, and a numerical control device having an interference prevention barrier is known to regulate the control axis movable area of the machine tool. This numerical controller is shown in FIG.
As shown in (1), it has a command value reading unit 1 that reads the command values of the A axis and the B axis, and also has a barrier data memory 2 that stores preset barrier data. The command value reading unit 1 and the barrier data memory 2 determine whether or not the target value read by the command value reading unit 1 is within the interference area defined by the barrier data preset in the barrier data memory 2. The interference check unit 3 is connected, and the command value reading unit 1 and the interference check unit 3 perform axis movement according to the command value read by the command value reading unit 1 upon receiving the axis movement command from the interference check unit 3. The axis moving unit 5 is connected. Further, the interference check unit 3 displays an alarm when the target value read by the command value reading unit 1 is in the interference region defined by the barrier data preset in the barrier data memory 2. The alarm generator 4 is connected.

【0003】図5は、干渉防止バリアを示す図であり、
A軸とB軸のプラスストロークリミット(+LMT)、
マイナスストロークリミット(−LMT)によって可動
範囲abcdが規定されている。可動範囲abcdに対
して破線で示される干渉物10がある場合、干渉バリア
として点e、点fを対角線とする4角形degfを進入
禁止領域(干渉防止バリア)としている。
FIG. 5 is a diagram showing an interference prevention barrier.
A-axis and B-axis positive stroke limit (+ LMT),
The movable range abcd is defined by the minus stroke limit (-LMT). When there is an interfering object 10 indicated by a broken line with respect to the movable range abcd, a quadrangle degf having diagonal points e and f as an interference barrier is used as an entry prohibition region (interference prevention barrier).

【0004】次に動作を図6のフロチャートに沿って説
明する。干渉チェック部3は、指令値読込み部1よりA
軸及びB軸の指令値を変数ACOM、BCOMに読み込
み(ステップ1)、バリアデータメモリ2よりバリアデ
ータAf、Beをそれぞれ変数AF、BEに読み込む
(ステップ2)。さらに、読み込んだデータに基づき、
A軸の指令値ACOMが変数AFより大きいか否か比較
判断し(ステップ3)、A軸の指令値ACOMが変数A
Fより大きいと判断した場合、B軸の指令値BCOMが
変数BEより大きいか否か比較判断する(ステップ
4)。B軸の指令値BCOMが変数BEより大きいと判
断した場合、アラーム発生部4へアラーム発生を指示す
る(ステップ5)。また、前述ステップ3において、A
軸の指令値ACOMが変数AFより小さいと判断した場
合、および前述ステップ4において、B軸の指令値BC
OMが変数BEより小さいと判断した場合、軸移動部5
へ軸移動指令を指示し(ステップ6)、軸移動部5は、
干渉チェック部3からの軸移動指令を受けて指令値読込
み部1で読み込んだ指令値に従い軸移動を行う。
Next, the operation will be described with reference to the flowchart of FIG. The interference check unit 3 reads A from the command value reading unit 1.
Axis and B axis command values are read into variables ACOM and BCOM (step 1), and barrier data Af and Be are read into variables AF and BE from the barrier data memory 2 (step 2). Furthermore, based on the read data,
It is judged whether or not the command value ACOM of the A axis is larger than the variable AF (step 3), and the command value ACOM of the A axis is set to the variable A.
When it is determined that the value is larger than F, it is compared and judged whether the command value BCOM of the B axis is larger than the variable BE (step 4). When it is determined that the B-axis command value BCOM is larger than the variable BE, the alarm generation unit 4 is instructed to generate an alarm (step 5). In step 3 above, A
When it is determined that the command value ACOM of the axis is smaller than the variable AF, and in the step 4 described above, the command value BC of the B axis is
When it is determined that OM is smaller than the variable BE, the axis moving unit 5
To the axis movement command (step 6), and the axis movement unit 5
Upon receiving the axis movement command from the interference check section 3, the axis movement is performed according to the command value read by the command value reading section 1.

【0005】また、特開昭63−118808号公報に
は、3次元の干渉領域における動作を禁止している数値
制御装置が提案されている。この装置においては、三次
元の干渉領域を記憶手段の各ビットのオン/オフによっ
て任意形状に設定記憶し、加工時にこのビットのオン/
オフに応じて干渉領域に進入しないように工具を移動さ
せるようにしている。
Further, Japanese Patent Laid-Open No. 63-118808 proposes a numerical control device which prohibits operation in a three-dimensional interference region. In this device, the three-dimensional interference area is set and stored in an arbitrary shape by turning on / off each bit of the storage means, and this bit is turned on / off during processing.
Depending on the off state, the tool is moved so as not to enter the interference area.

【0006】[0006]

【発明が解決しようとする課題】従来の干渉防止バリア
を有する数値制御装置は、以上のように構成されている
ため、バリアチェックを行う場合、干渉物10の形状に
関係なく進入禁止領域(干渉防止バリア)における動作
を禁止しているため、干渉物の形状(例えば可動範囲に
対して斜めに交差するような干渉物)によっては実際に
干渉が発生しない領域までバリアをかけており、2つの
制御軸の加工領域が狭くなるという問題点があった。
Since the conventional numerical control apparatus having the interference prevention barrier is configured as described above, when the barrier check is performed, regardless of the shape of the interfering object 10, the entry prohibiting area (interference is prevented). Since the operation in the prevention barrier is prohibited, the barrier is applied to a region where interference does not actually occur depending on the shape of the interferer (for example, an interferer that obliquely intersects the movable range). There is a problem that the machining area of the control axis becomes narrow.

【0007】この発明は、上記のような課題を解消する
ためになされたもので、必要な部分のみを干渉防止バリ
アとすることにより2つの制御軸の加工領域を有効に利
用し得る数値制御装置を提供することを目的とする。
The present invention has been made in order to solve the above problems, and a numerical controller capable of effectively utilizing the machining areas of two control axes by making only a necessary portion an interference prevention barrier. The purpose is to provide.

【0008】[0008]

【課題を解決するための手段】本発明は、上述事情に鑑
みなされたもので、本発明に係る干渉防止バリアを有す
る数値制御装置は、2つの制御軸により形成される平面
上において任意の2点の座標を設定し記憶する設定記憶
部と、上記任意の2点を通る直線を干渉防止バリアの境
界線として算出する境界線算出部と、この境界線に従っ
て2つの制御軸の可動領域を規制する規制手段と、を備
えることを特徴とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and a numerical controller having an interference prevention barrier according to the present invention has an arbitrary two positions on a plane formed by two control axes. A setting storage unit that sets and stores the coordinates of points, a boundary line calculation unit that calculates a straight line that passes through the arbitrary two points as a boundary line of the interference prevention barrier, and a movable area of two control axes is regulated according to this boundary line. It is characterized by comprising:

【0009】[0009]

【作用】本発明に係る数値制御装置は、2つの制御軸に
より形成される平面において任意の2点の座標を設定し
て設定記憶部に記憶し、任意の2点を通る直線を干渉防
止バリアの境界線として境界線算出部により算出する。
さらに、境界線算出部により算出され境界線に従って2
つの制御軸の可動領域が規制手段により規制され、必要
な部分のみが干渉防止バリアとされるため、2つの制御
軸の加工領域を有効に利用できる。
The numerical controller according to the present invention sets the coordinates of any two points on the plane formed by two control axes and stores them in the setting storage unit, and a straight line passing through any two points is used as an interference prevention barrier. The boundary line is calculated by the boundary line calculation unit.
Further, according to the boundary line calculated by the boundary line calculation unit, 2
The movable regions of the two control shafts are regulated by the regulation means, and only the necessary portions serve as the interference prevention barrier, so that the machining regions of the two control shafts can be effectively used.

【0010】[0010]

【実施例】以下、この発明の一実施例を図を用いて説明
する。図1は、本発明の一実施例に係る数値制御装置の
構成を示すブロック図である。この数値制御装置は、A
軸及びB軸の指令値を読み込む指令値読込み部1を有し
ており、かつ2つの制御軸により形成される平面上の任
意の2点の座標を設定して記憶するバリアデータメモリ
2を有している。バリアデータメモリ2には、任意の2
点を通る直線を干渉防止バリアの境界線として算出する
境界線算出部6が接続されており、指令値読込み部1と
境界線算出部6には、指令値読込み部1により読み込ん
だ目標値と境界線算出部6が算出する境界線とに従って
2つの制御軸の可動領域を規制する干渉チェック部3が
接続されている。指令値読込み部1と干渉チェック部3
には、干渉チェック部3からの軸移動指令を受けて指令
値読込み部1で読み込んだ指令値に従い軸移動を行う軸
移動部5が接続されている。また、干渉チェック部3に
は、指令値読込み部1により読み込んだ目標値がバリア
データメモリ2に予め設定されているバリアデータに規
定されている干渉領域に入っている場合にアラームの表
示を行うアラーム発生部4が接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a numerical controller according to an embodiment of the present invention. This numerical control device
It has a command value reading unit 1 for reading command values of the axes and the B-axis, and a barrier data memory 2 for setting and storing coordinates of arbitrary two points on a plane formed by two control axes. is doing. The barrier data memory 2 has an arbitrary 2
A boundary line calculation unit 6 that calculates a straight line passing through the points as a boundary line of the interference prevention barrier is connected, and the command value reading unit 1 and the boundary line calculation unit 6 include the target value read by the command value reading unit 1 and the target value. The interference check unit 3 that restricts the movable regions of the two control axes according to the boundary line calculated by the boundary line calculation unit 6 is connected. Command value reading unit 1 and interference check unit 3
An axis moving unit 5 that receives an axis moving command from the interference checking unit 3 and moves the axis according to the command value read by the command value reading unit 1 is connected to the. Further, the interference check unit 3 displays an alarm when the target value read by the command value reading unit 1 is in the interference area defined by the barrier data preset in the barrier data memory 2. The alarm generator 4 is connected.

【0011】図2は、干渉防止バリアを示す図である。
この図では、A軸とB軸のプラスストロークリミット
(+LMT)、マイナスストロークリミット(−LM
T)によって可動範囲abcdが規定されている。可動
範囲abcdに対して3角形defで干渉が発生するも
のとするとき、可動範囲abcdは、A軸とB軸のスト
ロークリミットにより決まる。Ahはh点を通りB軸に
平行な直線とA軸との交点のA軸座標を示し、Agはg
点を通りB軸に平行な直線とA軸との交点のA軸座標を
示す。Bhはh点を通りA軸に平行な直線とB軸との交
点のB軸座標を示し、Bgはg点を通りA軸に平行な直
線とB軸との交点のB軸座標を示す。なお、10は干渉
物を示すものとする。
FIG. 2 is a diagram showing an interference prevention barrier.
In this figure, the plus stroke limit (+ LMT) and minus stroke limit (-LM) of the A and B axes are shown.
The movable range abcd is defined by T). When interference occurs in the movable range abcd in the triangle def, the movable range abcd is determined by the stroke limits of the A axis and the B axis. Ah indicates the A-axis coordinates of the intersection of the A-axis and a straight line passing through the h-point and parallel to the B-axis, and Ag is g
A-axis coordinates of an intersection of a straight line passing through a point and parallel to the B-axis and the A-axis are shown. Bh indicates the B-axis coordinates of the intersection of the straight line passing through the h point and parallel to the A axis and the B axis, and Bg indicates the B axis coordinates of the intersection of the straight line passing through the g point and parallel to the A axis and the B axis. It should be noted that 10 indicates an interfering substance.

【0012】軸移動指令が与えられ、干渉バリアチェッ
クとして点g、点hを通る直線を境界線として指令点が
境界線を越えて干渉領域に入っている場合はアラーム指
令を行い、指令点が境界線を越えず非干渉領域の場合は
軸移動指令を行う。なお、境界線に対して干渉領域か否
かの判定は、点g、点hにより作られる境界線の式(次
式) B=(Bg−Bh)/(Ag−Ah)・(A−Ag)+Bg…(1) に対し指令点のA軸位置を代入し、求められたB軸位置
が指令点のB軸座標よりも小さい場合は干渉領域に指令
されているものとし、指令点のB軸座標よりも大きい場
合は非干渉領域内に指令されているものとみなす。
When an axis movement command is given and a line passing through points g and h is used as a boundary line for the interference barrier check and the command point exceeds the boundary line and enters the interference area, an alarm command is issued and the command point is changed. If it is in the non-interference area without crossing the boundary line, an axis movement command is issued. It should be noted that whether or not the boundary line is in the interference region is determined by the boundary line formula (next formula) B = (Bg−Bh) / (Ag−Ah) · (A−Ag) ) + Bg ... Substituting the A-axis position of the command point for (1), if the calculated B-axis position is smaller than the B-axis coordinate of the command point, it is considered that the command is in the interference area, and the B of the command point is If it is larger than the axis coordinate, it is regarded as being commanded in the non-interference area.

【0013】次に、本実施例の動作を図3のフローチャ
ートに沿って説明する。干渉チェック部3は、指令値読
込み部1よりA軸及びB軸の指令値を変数ACOM、B
COMに読み込む(ステップ11)。また、境界線算出
部6は、バリアデータメモリ2よりバリアデータAh、
Ag、Bh、Bgをそれぞれ変数AH、AG、BH、B
Gに読み込み(ステップ12)、読み込んだデータと第
1式を用いて干渉チェック比較用のデータBを算出する
(ステップ13)。干渉チェック部3は、境界線算出部
6が算出した干渉チェック比較用のデータBとB軸の指
令値BCOMとを比較し(ステップ14)、B>BCO
Mの場合、軸移動部5へ軸移動指令を指示し、軸移動部
5は、干渉チェック部3からの軸移動指令を受けて指令
値読込み部1で読み込んだ指令値に従い軸移動を行う
(ステップ15)。また、B<BCOMの場合、アラー
ム発生部4へアラーム発生を指示する(ステップ1
6)。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. The interference check unit 3 outputs the command values of the A axis and the B axis from the command value reading unit 1 to the variables ACOM and B.
Read into COM (step 11). In addition, the boundary line calculation unit 6 uses the barrier data memory 2 to store the barrier data Ah,
Ag, Bh, and Bg are variables AH, AG, BH, and B, respectively.
Data is read into G (step 12), and the data B for interference check comparison is calculated using the read data and the first equation (step 13). The interference check unit 3 compares the interference check comparison data B calculated by the boundary line calculation unit 6 with the B-axis command value BCOM (step 14), and B> BCO
In the case of M, the axis movement command is given to the axis movement unit 5, and the axis movement unit 5 receives the axis movement command from the interference check unit 3 and moves the axis according to the command value read by the command value reading unit 1 ( Step 15). When B <BCOM, the alarm generation unit 4 is instructed to generate an alarm (step 1
6).

【0014】[0014]

【発明の効果】以上説明したように、本発明によれば、
2つの制御軸により形成される平面上の任意の2点の座
標を設定し、任意の2点を通る直線を干渉防止バリアの
境界線として算出し、算出される境界線に従って2つの
制御軸の可動領域を規制するように構成したので、必要
な部分のみを干渉防止バリアとし、2つの制御軸の加工
領域を有効に利用することができる。
As described above, according to the present invention,
The coordinates of any two points on the plane formed by the two control axes are set, a straight line passing through the two arbitrary points is calculated as the boundary line of the interference prevention barrier, and the two control axes of the two control axes are calculated according to the calculated boundary line. Since the movable area is regulated, only the necessary portion can be used as the interference prevention barrier, and the processing areas of the two control axes can be effectively used.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例に係る数値制御装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a numerical control device according to an embodiment of the present invention.

【図2】本実施例に係る干渉防止バリアを示す図であ
る。
FIG. 2 is a diagram showing an interference prevention barrier according to the present embodiment.

【図3】本実施例の動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of this embodiment.

【図4】従来の数値制御装置の構成を示すブロック図で
ある。
FIG. 4 is a block diagram showing a configuration of a conventional numerical control device.

【図5】従来の干渉防止バリアを示す図である。FIG. 5 is a diagram showing a conventional interference prevention barrier.

【図6】従来例の動作を示すフローチャートである。FIG. 6 is a flowchart showing an operation of a conventional example.

【符号の説明】[Explanation of symbols]

1 指令値読込み部 2 バリアデータメモリ 3 干渉チェック部 4 アラーム発生部 5 軸移動部 6 境界線算出部 10 干渉物 1 Command value reading unit 2 Barrier data memory 3 Interference check unit 4 Alarm generation unit 5 Axis movement unit 6 Boundary line calculation unit 10 Interfering objects

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 2つの制御軸の合成動作により2次元の
加工領域を得る工作機械の制御軸可動領域を干渉防止バ
リアにより規制する数値制御装置において、 2つの制御軸により形成される平面上において任意の2
点の座標を設定し記憶する設定記憶部と、 上記任意の2点を通る直線を干渉防止バリアの境界線と
して算出する境界線算出部と、 この境界線に従って2つの制御軸の可動領域を規制する
規制手段と、 を備えることを特徴とする数値制御装置。
1. A numerical controller for controlling a movable range of a control axis of a machine tool, which obtains a two-dimensional machining area by a synthetic operation of two control axes, by an interference prevention barrier, on a plane formed by the two control axes. Any 2
A setting storage unit that sets and stores the coordinates of points, a boundary line calculation unit that calculates a straight line that passes through the arbitrary two points as a boundary line of the interference prevention barrier, and a movable area of two control axes is regulated according to this boundary line. A numerical control device comprising:
JP4048872A 1992-03-05 1992-03-05 Numerical controller with interference preventing barrier Pending JPH05250026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4048872A JPH05250026A (en) 1992-03-05 1992-03-05 Numerical controller with interference preventing barrier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4048872A JPH05250026A (en) 1992-03-05 1992-03-05 Numerical controller with interference preventing barrier

Publications (1)

Publication Number Publication Date
JPH05250026A true JPH05250026A (en) 1993-09-28

Family

ID=12815384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4048872A Pending JPH05250026A (en) 1992-03-05 1992-03-05 Numerical controller with interference preventing barrier

Country Status (1)

Country Link
JP (1) JPH05250026A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020192613A (en) * 2019-05-24 2020-12-03 京セラドキュメントソリューションズ株式会社 Electronic device, robotic system, and virtual area setting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020192613A (en) * 2019-05-24 2020-12-03 京セラドキュメントソリューションズ株式会社 Electronic device, robotic system, and virtual area setting method

Similar Documents

Publication Publication Date Title
US6604015B2 (en) Numerically controlled system and numerical control method
CN102713775B (en) The machine tool system with automatic safe reorientation controls
JPH0384604A (en) Feed speed control method for numerical controller
US5218281A (en) Acceleration/deceleration control method for a numerical control device
JPH01102604A (en) Nc data generation system
Makhanov et al. Optimal sequencing of rotation angles for five-axis machining
US4706201A (en) Area cutting method
US4980627A (en) Numerically controlled apparatus
Yamazaki et al. Real-time model reference adaptive control of 3-D sculptured surface machining
EP0282599B1 (en) Method of preparing nc part program for laser machining
US7239938B2 (en) Interference checking for a numerical control device
EP0137047A1 (en) Method of determining three-dimensional tool path
JPH05250026A (en) Numerical controller with interference preventing barrier
EP0229190A1 (en) Region machining method
JP2701022B2 (en) Numerical controller with programmable mirror image function
JPH09230918A (en) Numerical controller
JPH0366525A (en) Electric discharge machining device
US20190391556A1 (en) Numerical controller
US4823273A (en) Area cutting method
JPS5916008A (en) Numerical control system
US4823275A (en) Area cutting method
CN105911961A (en) Numerical controller performing speed control that suppresses excessive positioning deviation
KR100397979B1 (en) Method of making a zigzag tool path
JP2624174B2 (en) Automatic operation method of numerical controller
US11513501B2 (en) Numerical controller, CNC machine tool, numerical control method and non-transitory computer readable medium recording a numerical control program