JP2018055211A - Numerical control device - Google Patents

Numerical control device Download PDF

Info

Publication number
JP2018055211A
JP2018055211A JP2016187765A JP2016187765A JP2018055211A JP 2018055211 A JP2018055211 A JP 2018055211A JP 2016187765 A JP2016187765 A JP 2016187765A JP 2016187765 A JP2016187765 A JP 2016187765A JP 2018055211 A JP2018055211 A JP 2018055211A
Authority
JP
Japan
Prior art keywords
version
update
function
control program
cpu
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.)
Granted
Application number
JP2016187765A
Other languages
Japanese (ja)
Other versions
JP6696383B2 (en
Inventor
大士 堀岡
Taishi Horioka
大士 堀岡
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016187765A priority Critical patent/JP6696383B2/en
Publication of JP2018055211A publication Critical patent/JP2018055211A/en
Application granted granted Critical
Publication of JP6696383B2 publication Critical patent/JP6696383B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a numerical control device capable of easily executing management of a control program.SOLUTION: The numerical control device stores, in a flush memory, a control program, and a version including a first version showing a mounting function mounted on the control program and a second version showing an effective function being effective among mounting functions mounted on the control program. The numerical control device receives a command (S53). The numerical control device determines whether or not processing corresponding to the received command can be executed by the effective function on the basis of the second version (S59). The numerical control device executes processing on the basis of the effective function (S61) when it is determined that the processing can be executed by the effective function (S59: YES).SELECTED DRAWING: Figure 6

Description

本発明は数値制御装置に関する。   The present invention relates to a numerical controller.

数値制御装置の制御プログラムのバージョンを管理する様々な方向が提案されている。特許文献1は、制御器の制御プログラムの更新方法を開示する。配信サーバは、制御プログラムのバージョン毎に更新プログラムを複数記憶する。更新プログラムは、機能が追加及び修正されたモジュールを含む。配信サーバは、制御器の制御プログラムのバージョン情報を、集中管理装置から受信する。配信サーバは、受信したバージョン情報よりも新しく、且つ、制御器が実行するモジュールについて機能が追加及び修正された更新プログラムを特定し、集中管理装置に送信する。集中管理装置は、受信した更新プログラムを制御器に送信する。制御器は、受信した更新プログラムに基づいて、機能が追加及び修正されたモジュールを実行する。   Various directions for managing the version of the control program of the numerical controller have been proposed. Patent Document 1 discloses a method for updating a control program of a controller. The distribution server stores a plurality of update programs for each version of the control program. The update program includes modules in which functions are added and modified. The distribution server receives the version information of the control program of the controller from the central management apparatus. The distribution server specifies an update program that is newer than the received version information and has a function added and modified for the module executed by the controller, and transmits the update program to the central management apparatus. The central management apparatus transmits the received update program to the controller. Based on the received update program, the controller executes the module with the added or modified function.

特許第4799114号公報Japanese Patent No. 4799114

配信サーバが集中管理装置を介して制御器に送信する更新プログラムのバージョンは、最新のバージョンに限らない。制御器が実行するモジュールによっては、古いバージョンの更新プログラムを配信サーバが送信する時もある。その理由は、最新のバージョンの更新プログラムにおいて機能が追加及び修正されたモジュールが、制御器が備えていない機器を使用して実行される時がある為である。このため配信サーバは、最新のバージョンの更新プログラムだけでなく、古いバージョンの更新プログラムも記憶する必要がある。従って、複数の更新プログラムを記憶することになるので、更新プログラムの管理が煩雑になる時がある。   The version of the update program that the distribution server transmits to the controller via the central management apparatus is not limited to the latest version. Depending on the module executed by the controller, the distribution server may send an old version update program. The reason is that there are times when a module whose function is added or modified in the latest version of the update program is executed using a device that the controller does not have. Therefore, the distribution server needs to store not only the latest version of the update program but also the old version of the update program. Therefore, since a plurality of update programs are stored, the management of the update programs may be complicated.

本発明の目的は、制御プログラムの管理を容易に実行できる数値制御装置を提供することである。   An object of the present invention is to provide a numerical control device that can easily manage a control program.

本発明に係る数値制御装置は、制御プログラムに基づいて駆動する数値制御装置であって、前記制御プログラムを記憶する第一記憶部と、前記制御プログラムに実装された実装機能を示す第一バージョン、及び、前記制御プログラムに実装された実装機能のうち有効な有効機能を示す第二バージョンを含むバージョンを記憶する第二記憶部と、指令を受け付ける第一受付手段と、前記第一受付手段によって受け付けられた前記指令に対応する処理を前記有効機能によって実行することが可能か否かを、前記第二バージョンに基づいて判定する第一判定手段と、前記第一判定手段によって、前記有効機能によって前記処理を実行することが可能と判定した時、前記有効機能に基づいて前記処理を実行する実行手段とを備えたことを特徴とする。   A numerical control device according to the present invention is a numerical control device that is driven based on a control program, a first storage unit that stores the control program, and a first version that indicates an implementation function implemented in the control program, And the 2nd storage part which memorizes the version containing the 2nd version which shows an effective function among the mounting functions mounted in the control program, the 1st reception part which receives directions, and the 1st reception part Whether or not the process corresponding to the given command can be executed by the effective function is determined by the effective function by the first determining means and the first determining means for determining based on the second version. And executing means for executing the process based on the effective function when it is determined that the process can be executed.

数値制御装置は、制御プログラム、第一バージョン、及び、第二バージョンを記憶部に記憶する。数値制御装置は、受け付けた指令に対応する処理を有効機能によって実行することが可能かを、第二バージョンに基づいて判定する。数値制御装置は、実行することが可能と判定した時、有効機能に基づいて処理を実行する。このように、数値制御装置は、一つの制御ブログラムのバージョンとして第一バージョン及び第二バージョンを記憶することによって、制御プログラムの実装機能のうち有効機能以外の機能の実行を制限できる。従って、数値制御装置は、制御プログラムを有効機能毎に複数記憶する必要がない。このため、数値制御装置は、制御プログラムを容易に管理できる。   The numerical controller stores the control program, the first version, and the second version in the storage unit. The numerical controller determines whether the process corresponding to the received command can be executed by the effective function based on the second version. When it is determined that the numerical control device can be executed, the numerical control device executes processing based on the effective function. As described above, the numerical control device stores the first version and the second version as the version of one control program, thereby restricting the execution of functions other than the effective functions among the implementation functions of the control program. Therefore, the numerical control device does not need to store a plurality of control programs for each effective function. For this reason, the numerical control device can easily manage the control program.

本発明において、前記第一判定手段によって、前記有効機能によって前記処理を実行することが不可能と判定した時、使用者に通知する通知手段を更に備えてもよい。該時、数値制御装置は、指令に対応する処理を有効機能によって実行できないことを、使用者に通知できる。   In the present invention, when the first determination unit determines that the process cannot be executed by the effective function, the first determination unit may further include a notification unit that notifies the user. At this time, the numerical control device can notify the user that the process corresponding to the command cannot be executed by the effective function.

本発明において、更新制御プログラムを受け付ける第二受付手段と、前記第二受付手段によって受け付けられた前記更新制御プログラムに実装された実装機能を示す第一更新バージョン、及び、前記更新制御プログラムに実装された前記実装機能のうち有効な有効機能を示す第二更新バージョンを取得する取得手段と、前記第二受付手段によって受け付けられた前記更新制御プログラムを、前記制御プログラムとして前記第一記憶部に記憶する制御手段と、前記第二記憶部に記憶した前記第一バージョンを、前記取得手段によって取得した前記第一更新バージョンに更新する第一更新手段と、前記第二記憶部に記憶した前記第二バージョンを更新する指示を受け付けたか判定する第二判定手段と、前記第二判定手段によって、前記第二バージョンを更新する指示を受け付けたと判定した時、前記第二記憶部に記憶した前記第二バージョンを、前記取得手段によって取得した前記第二更新バージョンに更新する第二更新手段と、前記第二受付手段によって、前記第二バージョンを更新する指示を受け付けないと判定した時、前記第二記憶部に記憶した前記第二バージョンの更新を禁止する禁止手段とを備えてもよい。該時、数値制御装置は、制御プログラムを更新制御プログラムに更新する時、第二バージョンを更新するか選択できる。数値制御装置は、第二バージョンを更新する指示を受け付けたと判定した時、更新制御プログラムの第二更新バージョンによって、第二バージョンを更新する。一方、数値制御装置は、第二バージョンを更新する指示を受け付けないと判定した時、第二バージョンの更新を禁止する。これによって、数値制御装置は、実装機能が追加された更新制御プログラムによって制御プログラムを更新する時でも、有効機能を元のまま維持できる。   In the present invention, a second receiving means for receiving an update control program, a first update version indicating a mounting function implemented in the update control program received by the second receiving means, and implemented in the update control program The acquisition means for acquiring a second updated version indicating an effective function among the implemented functions and the update control program received by the second reception means are stored as the control program in the first storage unit. Control means, first update means for updating the first version stored in the second storage section to the first update version acquired by the acquisition means, and the second version stored in the second storage section A second determination means for determining whether or not an instruction to update is received, and the second determination means Second update means for updating the second version stored in the second storage unit to the second update version acquired by the acquisition means when it is determined that an instruction to update the application has been received, and the second reception And means for prohibiting updating of the second version stored in the second storage unit when it is determined that the instruction to update the second version is not accepted by the means. At this time, the numerical controller can select whether to update the second version when updating the control program to the update control program. When it is determined that the instruction to update the second version has been received, the numerical control device updates the second version with the second update version of the update control program. On the other hand, when the numerical controller determines that it does not accept the instruction to update the second version, the numerical controller prohibits the update of the second version. Thereby, the numerical control device can maintain the effective function as it is even when the control program is updated by the update control program to which the mounting function is added.

本発明において、前記第二記憶部に記憶した前記第二バージョンを前記第一バージョンに更新する指示を受け付ける第三受付手段と、前記第三受付手段によって前記指示を受け付けた時、前記第二記憶部に記憶した前記第二バージョンを前記第一バージョンに更新する第三更新手段とを備えてもよい。該時、数値制御装置は、実装機能と有効機能とを一致させることができる。従って、使用者は、実装機能を全て用いて数値制御装置に処理を実行させることができる。   In the present invention, a third receiving unit that receives an instruction to update the second version stored in the second storage unit to the first version, and when the instruction is received by the third receiving unit, And third update means for updating the second version stored in the section to the first version. At this time, the numerical control device can match the mounting function with the effective function. Therefore, the user can cause the numerical control device to execute processing using all the mounting functions.

本発明において、前記バージョンは、前記実装機能に対応する値であって、前記実装機能の追加に伴い昇順で増加する第一値で示される前記第一バージョンと、前記第一値以下の第二値で示される前記第二バージョンとを含み、前記第一判定手段は、前記第二値の第一バージョンに対応する前記実装機能を、前記第二バージョンによって示される前記有効機能として特定し、特定された前記有効機能によって前記処理を実行することが可能か判定してもよい。該時、数値制御装置は、第一バージョン及び第二バージョンを簡易な方法で管理できる。   In the present invention, the version is a value corresponding to the mounting function, the first version indicated by a first value increasing in ascending order with the addition of the mounting function, and a second less than or equal to the first value. The second version indicated by a value, wherein the first determination means specifies the implementation function corresponding to the first version of the second value as the effective function indicated by the second version, and specifies It may be determined whether the process can be executed by the effective function. At this time, the numerical controller can manage the first version and the second version by a simple method.

工作機械1の斜視図。1 is a perspective view of a machine tool 1. 数値制御装置40と工作機械1の電気的構成を示すブロック図。FIG. 2 is a block diagram showing an electrical configuration of the numerical control device 40 and the machine tool 1. バージョン及びテーブル44Aを説明する図。The figure explaining the version and table 44A. バージョン設定処理のフローチャート。The flowchart of a version setting process. バージョン変更処理のフローチャート。The flowchart of a version change process. 指令実行処理のフローチャート。The flowchart of command execution processing.

本発明の実施形態を図面を参照し説明する。以下説明は、図中に矢印で示す左右、前後、上下を使用する。工作機械1の左右方向、前後方向、上下方向は夫々、工作機械1のX軸方向、Y軸方向、Z軸方向である。図1に示す工作機械1は、被削材(図示略)の切削加工と旋削加工ができる複合機である。   Embodiments of the present invention will be described with reference to the drawings. In the following description, left, right, front, back, and top and bottom indicated by arrows in the figure are used. The left-right direction, the front-rear direction, and the up-down direction of the machine tool 1 are the X-axis direction, the Y-axis direction, and the Z-axis direction of the machine tool 1, respectively. A machine tool 1 shown in FIG. 1 is a composite machine capable of cutting and turning a work material (not shown).

<工作機械1の構造>
図1を参照し、工作機械1の構造を説明する。工作機械1は基台2、Y軸移動機構(図示略)、X軸移動機構(図示略)、Z軸移動機構(図示略)、移動体15、立柱5、主軸ヘッド6、主軸(図示略)、被削材支持装置8、数値制御装置40(図2参照)等を備える。基台2は架台11、主軸基台12、右側基台13、左側基台14等を備える。架台11は前後方向に長い略直方体状の構造体である。主軸基台12は前後方向に長い略直方体状に形成し、架台11上面後方に設ける。右側基台13は架台11上面右前方に設ける。左側基台14は架台11上面左前方に設ける。右側基台13と左側基台14は夫々、上面に被削材支持装置8を支持する。
<Structure of machine tool 1>
The structure of the machine tool 1 will be described with reference to FIG. The machine tool 1 includes a base 2, a Y-axis moving mechanism (not shown), an X-axis moving mechanism (not shown), a Z-axis moving mechanism (not shown), a moving body 15, a standing column 5, a spindle head 6, and a spindle (not shown). ), A work material support device 8, a numerical control device 40 (see FIG. 2), and the like. The base 2 includes a gantry 11, a spindle base 12, a right base 13, a left base 14, and the like. The gantry 11 is a substantially rectangular parallelepiped structure that is long in the front-rear direction. The spindle base 12 is formed in a substantially rectangular parallelepiped shape that is long in the front-rear direction, and is provided behind the upper surface of the gantry 11. The right base 13 is provided on the top right of the top surface of the gantry 11. The left base 14 is provided on the upper left side of the top surface of the gantry 11. The right base 13 and the left base 14 each support the work material support device 8 on the upper surface.

Y軸移動機構は主軸基台12上面に設け、Y軸モータ62(図2参照)等を備える。Y軸移動機構はY軸モータ62の駆動により、略平板状の移動体15をY軸方向に移動する。X軸移動機構は移動体15上面に設け、X軸モータ61(図2参照)等を備える。X軸移動機構はX軸モータ61の駆動により、立柱5をX軸方向に移動する。立柱5は、Y軸移動機構、移動体15、X軸移動機構により、基台2上をX軸方向とY軸方向に移動可能である。Z軸移動機構は立柱5前面に設け、Z軸モータ63(図2参照)等を備える。Z軸移動機構はZ軸モータ63の駆動により、主軸ヘッド6をZ軸方向に移動する。主軸(図示略)は主軸ヘッド6内部に設け、主軸下部に工具装着穴(図示略)を備える。工具装着穴は工具を装着する。故に、X軸移動機構、Y軸移動機構、Z軸移動機構は夫々、主軸に装着した工具を、X軸方向、Y軸方向、Z軸方向に移動できる。主軸は主軸ヘッド6上部に設けた主軸モータ66(図2参照)で回転する。   The Y-axis moving mechanism is provided on the upper surface of the spindle base 12 and includes a Y-axis motor 62 (see FIG. 2). The Y-axis moving mechanism moves the substantially flat moving body 15 in the Y-axis direction by driving the Y-axis motor 62. The X-axis moving mechanism is provided on the upper surface of the moving body 15 and includes an X-axis motor 61 (see FIG. 2). The X-axis moving mechanism moves the upright column 5 in the X-axis direction by driving the X-axis motor 61. The upright 5 is movable on the base 2 in the X-axis direction and the Y-axis direction by the Y-axis moving mechanism, the moving body 15 and the X-axis moving mechanism. The Z-axis moving mechanism is provided on the front surface of the upright column 5 and includes a Z-axis motor 63 (see FIG. 2). The Z-axis moving mechanism moves the spindle head 6 in the Z-axis direction by driving the Z-axis motor 63. The spindle (not shown) is provided inside the spindle head 6 and has a tool mounting hole (not shown) in the lower part of the spindle. A tool is mounted in the tool mounting hole. Therefore, the X-axis moving mechanism, the Y-axis moving mechanism, and the Z-axis moving mechanism can move the tool mounted on the main shaft in the X-axis direction, the Y-axis direction, and the Z-axis direction, respectively. The spindle is rotated by a spindle motor 66 (see FIG. 2) provided on the spindle head 6.

数値制御装置40(図2参照)は制御箱の内側に格納する。数値制御装置40はNCプログラムに基づき工作機械1の動作を制御する。NCプログラムはGコード、Mコードの指令で構成する行を複数行有する。工作機械1を覆うカバーは外壁面に操作盤10(図2参照)を備える。操作盤10は操作部17、表示部18、接続口19(図2参照)を備える。操作部17は数値制御装置40の各種設定を行う。表示部18は各種画面、メッセージ、アラーム等を表示する。接続口19は外部記憶媒体46A(図2参照)を装着する端子を含む。外部記憶媒体46Aの一例はUSBメモリである。   The numerical controller 40 (see FIG. 2) is stored inside the control box. The numerical controller 40 controls the operation of the machine tool 1 based on the NC program. The NC program has a plurality of lines composed of G code and M code commands. The cover that covers the machine tool 1 includes an operation panel 10 (see FIG. 2) on the outer wall surface. The operation panel 10 includes an operation unit 17, a display unit 18, and a connection port 19 (see FIG. 2). The operation unit 17 performs various settings of the numerical control device 40. The display unit 18 displays various screens, messages, alarms, and the like. The connection port 19 includes a terminal for mounting the external storage medium 46A (see FIG. 2). An example of the external storage medium 46A is a USB memory.

被削材支持装置8は右側基台13と左側基台14の上面に固定する。被削材支持装置8はA軸台20、左側支持台27、右側駆動機構部28、回転台29、C軸駆動部50等を備える。A軸台20は、傾斜角度が0度で上面が水平面となる平面視略長方形状の板状部である。左側支持台27は、X軸方向に対して平行な支軸(図示略)を回転可能に支持する。左側支持台27の底部は、左側基台14の上面に固定する。   The work material support device 8 is fixed to the upper surfaces of the right base 13 and the left base 14. The work material support device 8 includes an A-axis base 20, a left-side support base 27, a right-side drive mechanism section 28, a rotary base 29, a C-axis drive section 50, and the like. The A-shaft 20 is a plate-like portion having a substantially rectangular shape in plan view with an inclination angle of 0 degree and an upper surface being a horizontal plane. The left support base 27 rotatably supports a support shaft (not shown) parallel to the X-axis direction. The bottom of the left support base 27 is fixed to the upper surface of the left base 14.

右側駆動機構部28はA軸台20右側に位置する。右側駆動機構部28は内側にA軸モータ64(図2参照)等を格納する。A軸モータ64が回転すると、A軸台20は支軸を中心に回転する。A軸台20を回転する軸はA軸である。右側駆動機構部28は工具に対して被削材を、A軸を中心として回転できる。A軸台20はA軸回りに任意角度で傾くことで、主軸に装着する工具に対して被削材を任意方向に傾けることができる。   The right drive mechanism 28 is located on the right side of the A-shaft 20. The right drive mechanism 28 stores an A-axis motor 64 (see FIG. 2) and the like inside. When the A-axis motor 64 rotates, the A-shaft 20 rotates around the support shaft. The axis that rotates the A-axis base 20 is the A-axis. The right drive mechanism 28 can rotate the work material about the A axis with respect to the tool. By tilting the A-shaft 20 at an arbitrary angle around the A-axis, the work material can be tilted in an arbitrary direction with respect to the tool mounted on the main shaft.

回転台29はA軸台20上面略中央に回転可能に設ける。回転台29は円盤状を有する。C軸駆動部50はA軸台20下面に設け且つA軸台20の略中央に設けた穴(図示略)を介して回転台29と連結する。C軸駆動部50は内部に回転軸(図示略)、C軸モータ65(図2参照)等を備える。回転軸は回転台29に対して直交する方向に延びる。回転軸は回転台29に固定する。C軸モータ65は回転軸に固定する。故に、C軸モータ65が回転軸を回転すると、回転台29はZ軸方向に平行な軸を中心に回転可能である。回転台29を回転する軸はC軸である。回転台29上面の冶具200は、被削材を固定する。C軸駆動部50は工具に対して被削材を、C軸を中心として回転できる。   The turntable 29 is rotatably provided at the approximate center of the upper surface of the A-shaft 20. The turntable 29 has a disk shape. The C-axis drive unit 50 is connected to the turntable 29 through a hole (not shown) provided on the lower surface of the A-axis base 20 and provided in the approximate center of the A-axis base 20. The C-axis drive unit 50 includes a rotation shaft (not shown), a C-axis motor 65 (see FIG. 2), and the like. The rotation axis extends in a direction orthogonal to the turntable 29. The rotating shaft is fixed to the turntable 29. The C-axis motor 65 is fixed to the rotating shaft. Therefore, when the C-axis motor 65 rotates the rotation shaft, the turntable 29 can rotate around an axis parallel to the Z-axis direction. The axis that rotates the turntable 29 is the C axis. The jig 200 on the upper surface of the turntable 29 fixes the work material. The C-axis drive unit 50 can rotate the workpiece with respect to the tool about the C-axis.

<電気的構成>
図2を参照し数値制御装置40と工作機械1の電気的構成を説明する。数値制御装置40はCPU41、ROM42、RAM43、フラッシュメモリ44、入出力部45、外部インタフェース(I/F)46、駆動回路51〜56を備える。工作機械1はX軸モータ61、Y軸モータ62、Z軸モータ63、A軸モータ64、C軸モータ65、主軸モータ66を備える。
<Electrical configuration>
The electrical configuration of the numerical controller 40 and the machine tool 1 will be described with reference to FIG. The numerical control device 40 includes a CPU 41, a ROM 42, a RAM 43, a flash memory 44, an input / output unit 45, an external interface (I / F) 46, and drive circuits 51 to 56. The machine tool 1 includes an X-axis motor 61, a Y-axis motor 62, a Z-axis motor 63, an A-axis motor 64, a C-axis motor 65, and a main shaft motor 66.

CPU41は工作機械1の動作を制御する。CPU41はフラッシュメモリ44に記憶した制御プログラムを実行する。ROM42は各種設定情報を記憶する。RAM43は各種処理実行中に発生する各種データを記憶する。フラッシュメモリ44は、ブートプログラム、制御プログラム、バージョン、NCプログラム、テーブル44A(図3参照、後述)を記憶する。ブートプログラムは、数値制御装置40の電源投入時に起動する。バージョンは、制御プログラムの版数を示す文字列である。バージョンの詳細は後述する。入出力部45は駆動回路51〜56、操作部17、表示部18との間で各種信号の入出力を行う。駆動回路51とX軸モータ61、駆動回路52とY軸モータ62、駆動回路53とZ軸モータ63、駆動回路54とA軸モータ64、駆動回路55とC軸モータ65、駆動回路56と主軸モータ66は夫々接続する。駆動回路51〜56はCPU41が出力するパルス信号を、モータ61〜66に出力する。モータ61〜66は何れもサーボモータである。外部I/F46は、接続口19に装着した外部記憶媒体46Aから情報を読み出す為のインタフェース素子である。例えばCPU41は、外部記憶媒体46Aに記憶した制御プログラムとバージョンを、外部I/F46により読み出す。   The CPU 41 controls the operation of the machine tool 1. The CPU 41 executes a control program stored in the flash memory 44. The ROM 42 stores various setting information. The RAM 43 stores various data generated during execution of various processes. The flash memory 44 stores a boot program, a control program, a version, an NC program, and a table 44A (see FIG. 3, which will be described later). The boot program is activated when the numerical controller 40 is powered on. The version is a character string indicating the version number of the control program. Details of the version will be described later. The input / output unit 45 inputs / outputs various signals to / from the drive circuits 51 to 56, the operation unit 17, and the display unit 18. Drive circuit 51 and X-axis motor 61, drive circuit 52 and Y-axis motor 62, drive circuit 53 and Z-axis motor 63, drive circuit 54 and A-axis motor 64, drive circuit 55 and C-axis motor 65, drive circuit 56 and spindle The motors 66 are connected to each other. The drive circuits 51 to 56 output pulse signals output from the CPU 41 to the motors 61 to 66. The motors 61 to 66 are all servo motors. The external I / F 46 is an interface element for reading information from the external storage medium 46 </ b> A attached to the connection port 19. For example, the CPU 41 reads out the control program and version stored in the external storage medium 46 </ b> A by the external I / F 46.

以下、フラッシュメモリ44に記憶した制御プログラム、バージョンを「導入済プログラム」「導入済バージョン」という。外部記憶媒体46Aに記憶した制御プログラム、バージョンを「更新プログラム」「更新バージョン」という。   Hereinafter, the control program and version stored in the flash memory 44 are referred to as “installed program” and “installed version”. The control program and version stored in the external storage medium 46A are referred to as “update program” and “update version”.

<バージョン>
図3を参照し、バージョンについて具体例を挙げて説明する。図3のバージョン「WB00.05.001F03.000」は、第一共通識別子「WB00.」、第一バージョン「05.001」、第二共通識別子「F」、第二バージョン「03.000」が順番に配列した文字列である。
<Version>
With reference to FIG. 3, the version will be described with a specific example. The version “WB00.05.001F03.000” in FIG. 3 includes the first common identifier “WB00.”, The first version “05.001”, the second common identifier “F”, and the second version “03.000”. It is a character string arranged in order.

第一共通識別子は、制御ブログラムの種別を識別する文字列である。第一共通識別子は、種別毎に共通の文字列(例えば、「WA00.」「WA01.」「WB00.」「WB01.」「WC00.」等)を有する。第二共通識別子は、後述する第一バージョンと第二バージョンとの境界位置を明示する為の文字である。第二共通識別子は全てのバージョンで共通である。   The first common identifier is a character string that identifies the type of control program. The first common identifier has a common character string (for example, “WA00.”, “WA01.”, “WB00.”, “WB01.”, “WC00.”, Etc.) for each type. The second common identifier is a character for clearly indicating a boundary position between a first version and a second version described later. The second common identifier is common to all versions.

第一バージョンは、制御プログラムに実装された機能(以下、「実装機能」という。)を示す。第一バージョンは、実装機能の追加に伴い昇順で増加する。第一バージョンは、第一メインバージョン、ピリオド「.」、第一サブバージョンが、左から順番に配列した文字列である。第一メインバージョンは、ピリオド「.」に対して左側の二桁の数字である。第一メインバージョンは、相対的に大きい規模の機能の追加に伴い、昇順で増加する。第一サブバージョンは、ピリオド「.」に対して右側の三桁の数字である。第一サブバージョンは、相対的に小さい規模の機能の追加に伴い、昇順で増加する。第一サブバージョンは、第一メインバージョンが更新した時にリセットし、「000」に戻る。   The first version indicates a function implemented in the control program (hereinafter referred to as “implemented function”). The first version increases in ascending order with the addition of implementation functions. The first version is a character string in which a first main version, a period “.”, And a first subversion are arranged in order from the left. The first main version is a two-digit number on the left side of the period “.”. The first main version increases in ascending order with the addition of relatively large scale functions. The first subversion is a three digit number to the right of the period “.”. The first sub-version increases in ascending order with the addition of relatively small scale functions. The first subversion is reset when the first main version is updated, and returns to “000”.

具体例を挙げて説明する。バージョン「WB00.05.001F03.000」の第一バージョンは「05.001」である。第一メインバージョンは「05」であり、第一サブバージョンは「001」である。第一バージョン「05.001」の制御プログラムには、実装機能「機能1〜機能5、機能5−1」が実装されている。該時、制御プログラムは、機能1〜機能5、機能5−1を実行するためのプログラムコードを含む。   A specific example will be described. The first version of the version “WB0.00.0001F03.000” is “05.001”. The first main version is “05”, and the first subversion is “001”. In the control program of the first version “05.001”, the implementation functions “function 1 to function 5, function 5-1” are implemented. At this time, the control program includes program codes for executing the functions 1 to 5 and 5-1.

図3において、第一バージョンは「05.001」となる前に次のように複数回更新されている。第一バージョン「01.000」〜「03.000」間の更新の詳細は省略する。実装機能「機能1〜機能3」が実装された第一バージョン「03.000」の制御プログラムに対し、規模の大きい「機能4」を追加で実装したものが第一バージョン「04.000」である(S1)。実装機能「機能1〜機能4」が実装された第一バージョン「04.000」の制御プログラムに対し、規模の大きい「機能5」を追加で実装したものが第一バージョン「05.000」である(S2)。実装機能「機能1〜機能5」が実装された第一バージョン「05.000」の制御プログラムに対し、規模の小さい「機能5−1」を追加で実装したものが第一バージョン「05.001」である(S3)。   In FIG. 3, the first version is updated a plurality of times as follows before becoming “05.001”. Details of the update between the first versions “01.000” to “03.000” are omitted. The first version “04.000” is a control program of the first version “03.000” in which the implementation functions “function 1 to function 3” are implemented, and a larger “function 4” is additionally implemented. Yes (S1). The first version “05.000” is an implementation in which a large-scale “function 5” is added to the control program of the first version “04.000” in which the implementation functions “function 1 to function 4” are implemented. Yes (S2). The first version “05.001” is the first version “05.000” control program in which the implementation functions “function 1 to function 5” are installed, and a smaller “function 5-1” is additionally installed. (S3).

上記の各実装機能は、例えば、工作機械1において駆動可能な軸の種類が夫々相違する。具体的には次の通りである。機能1は、X軸方向の早送り指令を実行する機能を示す。機能2は、Y軸方向の早送り指令を実行する機能を示す。機能3は、Z軸方向の早送り指令を実行する機能を示す。機能4は、A軸方向の早送り指令を実行する機能を示す。機能5は、C軸方向の早送り指令を実行する機能を示す。機能5−1は、早送り指令と切削送り指令を実行する機能を示す。上記において、早送り指令とは、工具の移動経路に関係無く軸毎に最高速で目的位置まで移動する指令である。切削送り指令とは、正確な切削経路をたどりながら移動する指令である。   Each of the mounting functions described above is different in, for example, the types of axes that can be driven in the machine tool 1. Specifically, it is as follows. Function 1 indicates a function for executing a fast-forward command in the X-axis direction. Function 2 indicates a function for executing a fast-forward command in the Y-axis direction. Function 3 indicates a function for executing a fast-forward command in the Z-axis direction. Function 4 indicates a function for executing a fast-forward command in the A-axis direction. Function 5 indicates a function for executing a fast-forward command in the C-axis direction. Function 5-1 shows a function of executing a fast feed command and a cutting feed command. In the above, the fast-forward command is a command to move to the target position at the highest speed for each axis regardless of the movement path of the tool. The cutting feed command is a command to move while following an accurate cutting path.

各実装機能を上記のように定義した時、例えば第一バージョン「05.001」の制御プログラムは、X軸(機能1)、Y軸(機能2)、Z軸(機能3)、A軸(機能4)、C軸(機能5)のそれぞれの早送り送り指令及び切削送り指令(機能5−1)を実行するためのプログラムコードを含む。   When each mounted function is defined as described above, for example, the control program of the first version “05.001” is the X axis (function 1), the Y axis (function 2), the Z axis (function 3), the A axis ( Program codes for executing the fast feed command and the cutting feed command (function 5-1) of each of the function 4) and the C axis (function 5) are included.

フラッシュメモリ44は、バージョンの更新時に追加した機能(以下、「追加機能」という。)を第一バージョン毎に示すテーブル44Aを記憶する。CPU41は、テーブル44Aに基づいて、第一バージョンから追加機能、実装機能を特定できる。   The flash memory 44 stores a table 44A indicating functions added at the time of version update (hereinafter referred to as “additional functions”) for each first version. Based on the table 44A, the CPU 41 can specify an additional function and a mounted function from the first version.

第二バージョンは、制御プログラムに実装された実装機能のうち有効な機能(以下、「有効機能」という。)を示す。第二バージョンは、第二メインバージョン、ピリオド「.」、及び、第二サブバージョンが、左から順番に配列した文字列である。第二メインバージョンは、ピリオド「.」に対して左側の二桁の数字である。第二サブバージョンは、ピリオド「.」に対して右側の三桁の数字である。第二メインバージョンは、第一バージョンの第一メインバージョンに対応する。第二サブバージョンは、第一バージョンの第一サブバージョンに対応する。第二バージョンが示す有効機能は、同一の文字列を有する第一バージョンの実装機能に対応する。第二バージョンは、常に第一バージョン以下の値となる。   The second version indicates an effective function (hereinafter referred to as “effective function”) among the installed functions implemented in the control program. The second version is a character string in which the second main version, the period “.”, And the second subversion are arranged in order from the left. The second main version is a two-digit number on the left side of the period “.”. The second subversion is the three digits to the right of the period “.”. The second main version corresponds to the first main version of the first version. The second subversion corresponds to the first subversion of the first version. The effective function indicated by the second version corresponds to the implementation function of the first version having the same character string. The second version is always less than or equal to the first version.

具体例を挙げて説明する。バージョン「WB00.05.001F03.000」の第二バージョンは、「03.000」である。第二メインバージョンは「03」であり、第二サブバージョンは「000」である。「03.000」と同一の文字列を有する第一バージョンの実装機能は、機能1〜機能3である。このため、第二バージョン「03.000」が示す有効機能は、機能1〜機能3となる。つまり、バージョン「WB00.05.001F03.000」の制御プログラムは、機能1〜機能5、機能5−1を実行するためのプログラムコードを含んでいるにも関わらず、機能1〜機能3の実行のみに制限され、機能4、機能5、機能5−1の実行は禁止される。   A specific example will be described. The second version of the version “WB00.05.001F03.000” is “03.000”. The second main version is “03”, and the second subversion is “000”. The implementation functions of the first version having the same character string as “03.000” are function 1 to function 3. Therefore, the effective functions indicated by the second version “03.000” are the functions 1 to 3. That is, the control program of the version “WB00.05.001F03.000” includes the program code for executing the functions 1 to 5 and the function 5-1, but the functions 1 to 3 are executed. Execution of function 4, function 5, and function 5-1 is prohibited.

以下、図2に示すように、フラッシュメモリ44に記憶した導入済バージョンの第一バージョン及び第二バージョンを、「第一導入済バージョン」「第二導入済バージョン」という。外部記憶媒体46Aに記憶した更新バージョンの第一バージョン及び第二バージョンを、「第一更新バージョン」「第二更新バージョン」という。   Hereinafter, as illustrated in FIG. 2, the first version and the second version of the installed version stored in the flash memory 44 are referred to as “first installed version” and “second installed version”. The first version and the second version of the update version stored in the external storage medium 46A are referred to as “first update version” and “second update version”.

<制御プログラムの修正>
バージョンの更新の過程で、機能が追加で実装されると同時に、更新時点で判明している制御プログラムの不具合等が修正する時がある。例えば図3に示す例では、第一バージョンを「03.000」から「04.000」に更新する過程(S1)で、制御プログラムを修正する。以下、この修正を「修正1」という。第一バージョン「04.000」の制御プログラムには、修正1が含まれる。第一バージョンを「04.000」から「05.000」に更新する過程(S2)で、制御プログラムを修正する。以下、この修正を「修正2」という。第一バージョン「05.000」の制御プログラムには、修正1、修正2が含まれる。第一バージョンを「05.000」から「05.001」に更新する過程(S3)で、制御プログラムを修正する。以下、この修正を「修正3」「修正4」という。第一バージョン「05.001」の制御プログラムには、修正1〜修正4が含まれる。
<Correction of control program>
During the process of updating the version, there are times when additional functions are implemented and at the same time, defects in the control program that are known at the time of update are corrected. For example, in the example shown in FIG. 3, the control program is modified in the process of updating the first version from “03.000” to “04.000” (S1). Hereinafter, this correction is referred to as “correction 1”. The control program of the first version “04.000” includes correction 1. In the process of updating the first version from “04.000” to “05.000” (S2), the control program is modified. Hereinafter, this correction is referred to as “correction 2”. The control program of the first version “05.000” includes correction 1 and correction 2. In the process of updating the first version from “05.000” to “05.001” (S3), the control program is modified. Hereinafter, this modification is referred to as “modification 3” and “modification 4”. The control program of the first version “05.001” includes corrections 1 to 4.

なお、制御プログラムの実装機能のうち実行可能な機能を、第二バージョンが示す有効機能に制限した場合でも、上記の修正は制限されない。このため、例えばCPU41は、バージョン「WB00.05.001F03.000」の制御プログラムを、「修正1〜修正4」が修正された状態で実行する。   Even when the executable function among the functions implemented in the control program is limited to the effective function indicated by the second version, the above correction is not limited. For this reason, for example, the CPU 41 executes the control program of the version “WB00.05.001F03.000” in a state where “correction 1 to correction 4” are corrected.

<バージョン設定処理>
図4を参照しバージョン設定処理を説明する。CPU41は、接続口19(図2参照)に外部記憶媒体46Aを装着したことを検出した時、フラッシュメモリ44のうち、ブートプログラムから呼び出すプログラム開始番地のアドレスに記憶した導入済プログラムを実行することによりバージョン設定処理を開始する。
<Version setting process>
The version setting process will be described with reference to FIG. When the CPU 41 detects that the external storage medium 46A is attached to the connection port 19 (see FIG. 2), the CPU 41 executes the installed program stored in the address of the program start address called from the boot program in the flash memory 44. To start the version setting process.

CPU41は、フラッシュメモリ44に記憶した導入済バージョンを読み出す(S11)。以下、S11の処理により読み出した導入済バージョンの第一導入済バージョンを、「V1a」と表記する。S11の処理により読み出した導入済バージョンの第二導入済バージョンを、「V2a」と表記する。CPU41は、外部記憶媒体46Aに記憶した更新プログラムを読み出す(S13)。CPU41は、読み出した更新プログラムを、RAM43に一時的に記憶する。CPU41は、外部記憶媒体46Aに記憶した更新バージョンを読み出す(S15)。以下、S15の処理により読み出した更新バージョンの第一更新バージョンを、「V1b」と表記する。S15の処理により読み出した更新バージョンの第二更新バージョンを、「V2b」と表記する。   The CPU 41 reads the installed version stored in the flash memory 44 (S11). Hereinafter, the first installed version of the installed version read out in the process of S11 is referred to as “V1a”. The second installed version of the installed version read out in the process of S11 is denoted as “V2a”. The CPU 41 reads the update program stored in the external storage medium 46A (S13). The CPU 41 temporarily stores the read update program in the RAM 43. The CPU 41 reads the updated version stored in the external storage medium 46A (S15). Hereinafter, the first update version of the update version read out in the process of S15 is referred to as “V1b”. The second update version of the update version read out in the process of S15 is denoted as “V2b”.

CPU41は、S13の処理により読み出してRAM43に記憶した更新プログラムを、新たな導入済プログラムとして、フラッシュメモリ44に記憶する(S17)。この時、新たな導入済プログラムを上書きすると、実行中の導入済プログラムが制御不能となってしまうので、導入済プログラムとは異なる領域に記憶する。CPU41は、処理をS23に進める。この時、電源投入時に起動するブートプログラムから呼び出すプログラム開始番地のアドレスも新たな導入済プログラムの開始番地に変更する。   The CPU 41 stores the update program read out and stored in the RAM 43 in the process of S13 in the flash memory 44 as a new installed program (S17). At this time, if a new installed program is overwritten, the installed installed program becomes uncontrollable, and is stored in a different area from the installed program. CPU41 advances a process to S23. At this time, the address of the program start address to be called from the boot program that is started when the power is turned on is also changed to the start address of the newly installed program.

CPU41は、S11の処理により読み出した導入済バージョンの第一導入済バージョンV1aと、S15の処理により読み出した更新バージョンの第一更新バージョンV1bが相違すると判定した時(S23:YES)、処理をS25に進める。CPU41は、第一更新バージョンV1bを、新たな第一導入済バージョンとして、V1aの代わりにフラッシュメモリ44に記憶し、第一導入済バージョンを更新し、第二導入済バージョンを更新せず、V2aのまま維持する(S25)。CPU41は、処理をS29に進める。   When the CPU 41 determines that the first installed version V1a of the installed version read by the process of S11 is different from the first updated version V1b of the updated version read by the process of S15 (S23: YES), the process is performed in S25. Proceed to The CPU 41 stores the first updated version V1b as a new first installed version in the flash memory 44 instead of V1a, updates the first installed version, does not update the second installed version, and V2a It is maintained as it is (S25). CPU41 advances a process to S29.

CPU41は、第一導入済バージョンV1aと第一更新バージョンV1bが一致すると判定した時(S23:NO)、処理をS27に進める。CPU41は、第一導入済バージョンを更新せず、V1aのまま維持し、第二導入済バージョンを更新せず、V2aのまま維持する(S27)。CPU41は、処理をS29に進める。   When the CPU 41 determines that the first installed version V1a and the first updated version V1b match (S23: NO), the process proceeds to S27. The CPU 41 does not update the first installed version and maintains V1a, and does not update the second installed version and maintains V2a (S27). CPU41 advances a process to S29.

使用者は、第二導入済バージョンの更新を所望する時、操作部17を介して所定の第一操作を入力する。CPU41は、操作部17を介して第一操作を検出したか判定する(S29)。CPU41は、第一操作を検出したと判定した時(S29:YES)、処理をS35に進める。CPU41は、S11の処理により読み出した第二導入済バージョンV2aと第二更新バージョンV2bが相違するか判定する(S35)。第二導入済バージョンV2aと第二更新バージョンV2bが相違すると判定した時(S35:YES)、処理をS37に進める。CPU41は、第二更新バージョンV2bを、新たな第二導入済バージョンとして、V2aの代わりにフラッシュメモリ44に記憶し、第二導入済バージョンを更新し、第一導入済バージョンを更新せず、V1a又はV2aのまま維持する(S37)。CPU41は、バージョン設定処理を終了する。   The user inputs a predetermined first operation via the operation unit 17 when desiring to update the second installed version. The CPU 41 determines whether the first operation is detected via the operation unit 17 (S29). When it is determined that the first operation has been detected (S29: YES), the CPU 41 advances the process to S35. The CPU 41 determines whether the second installed version V2a and the second updated version V2b read out by the process of S11 are different (S35). When it is determined that the second installed version V2a and the second updated version V2b are different (S35: YES), the process proceeds to S37. The CPU 41 stores the second updated version V2b as a new second installed version in the flash memory 44 instead of V2a, updates the second installed version, does not update the first installed version, and V1a Alternatively, V2a is maintained (S37). The CPU 41 ends the version setting process.

CPU41は、操作部17を介して第一操作を検出しないと判定した時(S29:NO)、処理をS39に進める。CPU41は、第二導入済バージョンV2aと第二更新バージョンV2bが一致すると判定した時(S35:NO)、処理をS39に進める。CPU41は、第二導入済バージョンと第一導入済バージョンを更新せず、V1a又はV2aのまま維持する(S39)。CPU41は、バージョン設定処理を終了する。   When the CPU 41 determines that the first operation is not detected via the operation unit 17 (S29: NO), the process proceeds to S39. When the CPU 41 determines that the second installed version V2a and the second updated version V2b match (S35: NO), the process proceeds to S39. The CPU 41 does not update the second installed version and the first installed version and maintains V1a or V2a as it is (S39). The CPU 41 ends the version setting process.

<バージョン変更処理>
図5を参照し、バージョン変更処理を説明する。CPU41は、操作部17を介した操作を検出した時、フラッシュメモリ44に記憶した導入済プログラムを実行することによりバージョン変更処理を開始する。
<Version change processing>
The version change process will be described with reference to FIG. When the CPU 41 detects an operation via the operation unit 17, the CPU 41 starts the version change process by executing the installed program stored in the flash memory 44.

使用者は、導入済プログラムのバージョンの第二導入済バージョンを、第一導入済バージョンに更新することを所望する時、操作部17を介して所定の第二操作を入力する。CPU41は、操作部17を介して第二操作を検出したか判定する(S71)。CPU41は、第二操作を検出しないと判定した時(S71:NO)、バージョン変更処理を終了する。   When the user desires to update the second installed version of the installed program version to the first installed version, the user inputs a predetermined second operation via the operation unit 17. The CPU 41 determines whether a second operation has been detected via the operation unit 17 (S71). When determining that the second operation is not detected (S71: NO), the CPU 41 ends the version change process.

CPU41は、第二操作を検出したと判定した時(S71:YES)、処理をS73に進める。CPU41は、フラッシュメモリ44に記憶した導入済バージョンを読み出す(S73)。以下、S73の処理により読み出した導入済バージョンの第一導入済バージョン及び第二導入済バージョンを、夫々、バージョン設定処理(図4参照)の時と同様「V1a」「V2a」と表記する。CPU41は、第一導入済バージョンV1aを、新たな第二導入済バージョンとして、V2aの代わりにフラッシュメモリ44に記憶し、第二導入済バージョンを更新する(S75)。該時、第一導入済バージョンと第二導入済バージョンとは一致する。CPU41は、第一導入済バージョンを更新せず、V1aのまま維持する(S75)。CPU41はバージョン変更処理を終了する。   When it is determined that the second operation has been detected (S71: YES), the CPU 41 advances the process to S73. The CPU 41 reads the installed version stored in the flash memory 44 (S73). Hereinafter, the first installed version and the second installed version of the installed version read out in the process of S73 are respectively expressed as “V1a” and “V2a” as in the version setting process (see FIG. 4). The CPU 41 stores the first installed version V1a as a new second installed version in the flash memory 44 instead of V2a, and updates the second installed version (S75). At this time, the first installed version matches the second installed version. The CPU 41 does not update the first installed version and maintains it as V1a (S75). The CPU 41 ends the version change process.

<指令実行処理>
図6を参照し、指令実行処理を説明する。CPU41は、フラッシュメモリ44に記憶したNCプログラムに基づいてモータ61〜66を駆動する動作の開始指示を、操作部17を介して検出した時、フラッシュメモリ44に記憶した制御プログラムを実行することにより指令実行処理を開始する。NCプログラムに含まれる指令は、制御プログラムの実装機能により全て実行可能であることを前提とする。
<Command execution processing>
The command execution process will be described with reference to FIG. When the CPU 41 detects an operation start instruction for driving the motors 61 to 66 based on the NC program stored in the flash memory 44 via the operation unit 17, the CPU 41 executes the control program stored in the flash memory 44. Starts command execution processing. It is assumed that all commands included in the NC program can be executed by the implementation function of the control program.

CPU41は、フラッシュメモリ44に記憶した導入済バージョンを読み出す(S51)。以下、S51の処理により読み出した導入済バージョンの第一導入済バージョン及び第二導入済バージョンを、夫々、バージョン設定処理(図4参照)の時と同様「V1a」「V2a」と表記する。CPU41は、RAM43に記憶した変数n(nは整数)に1を設定する。CPU41は、フラッシュメモリ44に記憶したNCプログラムのn行目の指令を取得する(S53)。以下、NCプログラムのn行目の指令を、「X(n)」と表記する。CPU41は、S53の処理により取得した指令X(n)に基づき、指令に対応するモータ61〜66の駆動方法を解析する(S55)。   The CPU 41 reads the installed version stored in the flash memory 44 (S51). Hereinafter, the first installed version and the second installed version of the installed version read out in the process of S51 are respectively expressed as “V1a” and “V2a” as in the version setting process (see FIG. 4). The CPU 41 sets 1 to a variable n (n is an integer) stored in the RAM 43. The CPU 41 acquires a command on the nth line of the NC program stored in the flash memory 44 (S53). Hereinafter, the command in the nth line of the NC program is expressed as “X (n)”. The CPU 41 analyzes the driving method of the motors 61 to 66 corresponding to the command based on the command X (n) acquired by the processing of S53 (S55).

CPU41は、S51の処理により読み出した第一導入済バージョンV1aと第二導入済バージョンV2aが一致するか判定する(S57)。V1aとV2aが一致する時、第一導入済バージョンが示す実装機能と第二導入済バージョンが示す有効機能とは一致するので、制御プログラムに実装された実装機能は全て実行可能である。CPU41は、V1aとV2aが一致すると判定した時(S57:YES)、処理をS61に進める。   The CPU 41 determines whether or not the first installed version V1a and the second installed version V2a read by the processing of S51 match (S57). When V1a and V2a match, the mounting function indicated by the first installed version matches the valid function indicated by the second installed version, so that all the mounting functions implemented in the control program can be executed. When the CPU 41 determines that V1a and V2a match (S57: YES), the CPU 41 advances the process to S61.

S57にてV1aとV2aが一致しない時、制御プログラムの実装機能に有効機能以外の機能が含まれるので、実行が禁止された実装機能が存在する。CPU41は、V1aとV2aが一致しないと判定した時(S57:NO)、処理をS59に進める。   When V1a and V2a do not match in S57, since the functions other than the valid functions are included in the control program mounting functions, there are mounting functions whose execution is prohibited. When the CPU 41 determines that V1a and V2a do not match (S57: NO), the process proceeds to S59.

CPU41は、第二導入済バージョンが示す有効機能を、テーブル44A(図3参照)に基づいて特定する。具体的には次の通りである。CPU41は、テーブル44Aのうち、第二導入済バージョンV2a以下の値の第一バージョンの夫々に対応する追加機能を累積する。累積した追加機能は、第二導入済バージョンと同値の第一導入済バージョンに対応する実装機能を示す。CPU41は、累積した追加機能を、第二導入済バージョンが示す有効機能として特定する。つまり、CPU41は、第二導入済バージョンと同値の第一導入済バージョンの実装機能を、第二導入済バージョンが示す有効機能として特定する。例えば、図3に示す例において、第二導入済バージョンが「03.000」の時、テーブル44Aにおいて「03.000」以下の第一バージョン「01.000」「02.000」「03.000」に対応する追加機能「機能1」(第一バージョン「01.000」)、「機能2」(第一バージョン「02.000」)、「機能3」(第一バージョン「03.000」)を、有効機能として特定する。   CPU41 specifies the effective function which a 2nd installed version shows based on table 44A (refer FIG. 3). Specifically, it is as follows. The CPU 41 accumulates additional functions corresponding to each of the first versions having a value equal to or lower than the second installed version V2a in the table 44A. The accumulated additional function indicates an implementation function corresponding to the first installed version having the same value as the second installed version. The CPU 41 identifies the accumulated additional function as an effective function indicated by the second installed version. In other words, the CPU 41 identifies the implementation function of the first installed version having the same value as the second installed version as an effective function indicated by the second installed version. For example, in the example shown in FIG. 3, when the second installed version is “03.000”, the first versions “01.000”, “02.000”, “03.000” below “03.000” in the table 44A. "Function 1" (first version "01.000"), "function 2" (first version "02.000"), "function 3" (first version "03.000") Are identified as effective functions.

CPU41は、指令X(n)が特定した有効機能に該当するか否か判断する(S59)。CPU41は、指令X(n)が特定した有効機能であると判定した時(S59:YES)、処理をS61に進める。CPU41は、指令X(n)に対応する駆動方法でモータ61〜66を駆動し(S61)、処理をS65に進める。   The CPU 41 determines whether or not the command X (n) corresponds to the specified effective function (S59). When the CPU 41 determines that the command X (n) is the specified effective function (S59: YES), the process proceeds to S61. CPU41 drives motors 61-66 by the drive method corresponding to instruction | command X (n) (S61), and advances a process to S65.

CPU41は、指令X(n)が特定した有効機能ではないと判定した時(S59:NO)、処理をS63に進める。CPU41は、指令X(n)は実行できない旨を使用者に通知するアラーム画面を、表示部18に表示する(S63)。CPU41は処理をS65に進める。   When the CPU 41 determines that the command X (n) is not the effective function specified (S59: NO), the process proceeds to S63. CPU41 displays the alarm screen which notifies a user that instruction | command X (n) cannot be performed on the display part 18 (S63). CPU41 advances a process to S65.

CPU41は、NCプログラムの全ての指令に対してS61又はS63の処理を実行したか判定する(S65)。CPU41は、処理を実行していない指令が残存すると判定した時(S65:NO)、nに1を加算し更新する(S67)。CPU41は処理をS53に戻す。CPU41は、更新したnに応じた指令X(n)を取得し(S53)、処理を繰り返す。CPU41は、NCプログラムの全ての指令に対応する処理を実行したと判定した時(S65:YES)、指令実行処理を終了する。   The CPU 41 determines whether the process of S61 or S63 has been executed for all the commands of the NC program (S65). When the CPU 41 determines that a command that has not been processed remains (S65: NO), the CPU 41 updates n by adding 1 (S67). The CPU 41 returns the process to S53. The CPU 41 acquires a command X (n) corresponding to the updated n (S53), and repeats the process. When the CPU 41 determines that the processing corresponding to all the commands of the NC program has been executed (S65: YES), the command execution processing ends.

<本実施形態の主たる作用、効果>
数値制御装置40のCPU41は、導入済プログラム、及び、導入済バージョン(第一導入済バージョン及び第二導入済バージョン)をフラッシュメモリ44に記憶する。CPU41は、NCプログラムの指令X(n)に対応する処理(モータ61〜66の駆動)を、第二導入済バージョンが示す有効機能により実行することが可能か判定する(S59)。CPU41は、実行可能と判定した時(S59:YES)、指令X(n)に対応する処理を実行する(S61)。このように、CPU41は、一つの導入済ブログラムの導入済バージョンとして、第一導入済バージョンと第二導入済バージョンを記憶することにより、制御プログラムに実装された実装機能のうち有効機能以外の機能を禁止できる。従って、更新プログラムを有効機能毎に複数保持する必要がない。このため、工作機械製造メーカは、制御プログラムを容易に管理できる。
<Main functions and effects of this embodiment>
The CPU 41 of the numerical controller 40 stores the installed program and the installed version (first installed version and second installed version) in the flash memory 44. The CPU 41 determines whether the process corresponding to the NC program command X (n) (driving the motors 61 to 66) can be executed by the effective function indicated by the second installed version (S59). When the CPU 41 determines that execution is possible (S59: YES), the CPU 41 executes processing corresponding to the command X (n) (S61). Thus, CPU41 memorize | stores a 1st installed version and a 2nd installed version as an installed version of one installed program, and it is except an effective function among the mounted functions mounted in the control program. Function can be prohibited. Therefore, it is not necessary to hold a plurality of update programs for each effective function. For this reason, the machine tool manufacturer can easily manage the control program.

なお、CPU41は、制御プログラムに実装された実装機能のうち有効機能以外の機能を禁止しても、制御プログラムに対する修正は全て有効とする。このため、CPU41は、不具合等を修正した最新の制御プログラムを実行しつつ、実装機能のうち有効機能以外の機能を禁止できる。   Note that even if the CPU 41 prohibits functions other than the effective functions among the functions implemented in the control program, all modifications to the control program are valid. For this reason, CPU41 can prohibit functions other than an effective function among mounted functions, running the latest control program which corrected the malfunction etc.

CPU41は、第二導入済バージョンが示す有効機能により、指令X(n)を実行できないと判定した時(S59:NO)、アラーム画面を表示部18に表示する(S63)。該時、CPU41は、指令に対応する処理を有効機能により実行できないことを、使用者に通知できる。   When it is determined that the command X (n) cannot be executed by the effective function indicated by the second installed version (S59: NO), the CPU 41 displays an alarm screen on the display unit 18 (S63). At this time, the CPU 41 can notify the user that the process corresponding to the command cannot be executed by the effective function.

CPU41は、外部記憶媒体46Aに記憶した更新プログラムを読み出し(S13)、新たな導入済プログラムとしてフラッシュメモリ44に記憶する(S17)。CPU41は、第一操作を検出したと判定した時(S29:YES)、導入済バージョンと更新バージョンの夫々の第二バージョン(V2a、V2b)を比較する。CPU41は、第二導入済バージョンV2aと第二更新バージョンV2bが相違すると判定した時(S35:YES)、第二更新バージョンV2bを、新たな第二導入済バージョンとして、V2aの代わりにフラッシュメモリ44に記憶し、第二導入済バージョンを更新する(S37)。このため、使用者は、第一操作を入力することにより、第二導入済バージョンの更新を数値制御装置40に指示できる。CPU41は、第一操作を検出しないと判定した時(S29:NO)、第二導入済バージョンを更新せず維持する(S39)。このため、CPU41は、機能が追加で実装された更新プログラムにより導入済プログラムを更新する時でも、有効機能を元のまま維持できる。   The CPU 41 reads the update program stored in the external storage medium 46A (S13) and stores it in the flash memory 44 as a new installed program (S17). When it is determined that the first operation has been detected (S29: YES), the CPU 41 compares the installed version and the updated version of each second version (V2a, V2b). When the CPU 41 determines that the second installed version V2a and the second updated version V2b are different (S35: YES), the second updated version V2b is used as a new second installed version instead of the V2a. And the second installed version is updated (S37). For this reason, the user can instruct the numerical controller 40 to update the second installed version by inputting the first operation. When it is determined that the first operation is not detected (S29: NO), the CPU 41 maintains the second installed version without updating it (S39). Therefore, the CPU 41 can maintain the effective function as it is even when the installed program is updated by the update program in which the function is additionally installed.

CPU41は、第二操作を検出したと判定した時(S71:YES)、第一導入済バージョンを、新たな第二導入済バージョンとしてフラッシュメモリ44に記憶し、第二導入済バージョンを更新する(S75)。該時、CPU41は、実装機能と有効機能とを一致させることができる。従って、使用者は、実装機能を全て用いて数値制御装置40に処理を実行させることができる。   When it is determined that the second operation has been detected (S71: YES), the CPU 41 stores the first installed version in the flash memory 44 as a new second installed version and updates the second installed version ( S75). At this time, the CPU 41 can match the mounting function with the effective function. Therefore, the user can cause the numerical control device 40 to execute processing using all the mounting functions.

第一バージョンは、制御プログラムの実装機能を示す。第一バージョンは、実装機能の追加に伴い昇順で増加する。第二バージョンは、制御プログラムの実装機能のうち有効機能を示す。CPU41は、第二導入済バージョンと同値の第一導入済バージョンの実装機能を、第二導入済バージョンが示す有効機能として特定する。該時、CPU41は、第一バージョン及び第二バージョンを簡易な方法で管理できる。   The first version shows the implementation function of the control program. The first version increases in ascending order with the addition of implementation functions. The second version indicates an effective function among the functions implemented by the control program. CPU41 specifies the implementation function of the 1st installed version equivalent to a 2nd installed version as an effective function which a 2nd installed version shows. At this time, the CPU 41 can manage the first version and the second version by a simple method.

<変形例>
本発明は上記実施形態に限らない。数値制御装置40は、導入済プログラムと導入済バージョン(第一導入済バージョン及び第二導入済バージョン)を、異なる記憶媒体に記憶してもよい。例えば数値制御装置40は、複数のフラッシュメモリ44を備えてもよい。数値制御装置40は、導入済プログラムと導入済バージョンとを、別のフラッシュメモリ44に記憶してもよい。CPU41は、NCプログラムの指令X(n)を順番に実行するのでなく、操作部17を介して使用者が入力した指令を、指令を検出する度に実行してもよい。
<Modification>
The present invention is not limited to the above embodiment. The numerical controller 40 may store the installed program and the installed version (first installed version and second installed version) in different storage media. For example, the numerical controller 40 may include a plurality of flash memories 44. The numerical controller 40 may store the installed program and the installed version in another flash memory 44. The CPU 41 may execute the command input by the user via the operation unit 17 every time the command is detected, instead of sequentially executing the command X (n) of the NC program.

CPU41は、第二導入済バージョンが示す有効機能により、指令X(n)を実行できないと判定した時(S59:NO)、非図示のスピーカから警告音を出力してもよい。CPU41は、実行できない指令X(n)を表示部18に表示してもよい。CPU41は、指令X(n)が実行可能な第二バージョンを、表示部18に表示してもよい。   When it is determined that the command X (n) cannot be executed by the effective function indicated by the second installed version (S59: NO), the CPU 41 may output a warning sound from a speaker (not shown). The CPU 41 may display a command X (n) that cannot be executed on the display unit 18. The CPU 41 may display a second version on which the instruction X (n) can be executed on the display unit 18.

CPU41は、バージョン設定処理において、新たな導入済プログラムとして更新プログラムをフラッシュメモリ44に記憶した後(S17)、使用者が第一操作を入力した時(S29:YES)、第二導入済バージョンを更新する(S37)。これに対し、CPU41は、第二導入済バージョンの更新を、バージョン設定処理と異なる処理により実行してもよい。例えば、CPU41は、通常動作時において使用者が所定の第三操作を入力した時、第二導入済バージョンを更新してもよい。   In the version setting process, the CPU 41 stores the update program as a new installed program in the flash memory 44 (S17), and then when the user inputs the first operation (S29: YES), the second installed version is displayed. Update (S37). On the other hand, the CPU 41 may execute the update of the second installed version by a process different from the version setting process. For example, the CPU 41 may update the second installed version when the user inputs a predetermined third operation during normal operation.

CPU41は、第二操作を検出したと判定した時(S71:YES)、新たな第二導入済バージョンとして第一導入済バージョンをフラッシュメモリ44に記憶する(S75)。これに対し、使用者は、第二操作の入力と同時に、所望する第二導入済バージョンを入力してもよい。CPU41は、新たな第二導入済バージョンとして、検出した第二導入バージョンをフラッシュメモリ44に記憶してもよい。これにより、使用者は、第二導入済バージョンを任意の値に変更できる。   When determining that the second operation has been detected (S71: YES), the CPU 41 stores the first installed version in the flash memory 44 as a new second installed version (S75). On the other hand, the user may input the desired second installed version simultaneously with the input of the second operation. The CPU 41 may store the detected second installed version in the flash memory 44 as a new second installed version. Thereby, the user can change the second installed version to an arbitrary value.

バージョンを構成する文字列(「第一共通識別子」「第一バージョン」「第二共通識別子」「第二バージョン」)の構成は、上記実施形態に限定されないことはいうまでもない。例えば、バージョンは、第一共通識別子及び第二共通識別子を含まず、第一バージョン及び第二バージョンのみの構成でもよい。   Needless to say, the configuration of the character strings constituting the version (“first common identifier”, “first version”, “second common identifier”, “second version”) is not limited to the above embodiment. For example, the version may include only the first version and the second version without including the first common identifier and the second common identifier.

テーブル44Aは、第一バージョン毎に実装機能を示してもよい。具体的には、図3において、第一バージョン「05.001」に実装機能「機能1」〜「機能5」「機能5−1」を対応付けてテーブル44に記憶してもよい。第一バージョン「01・000」〜「05.000」についての具体的な説明は省略する。尚、各実装機能は他に、使用する時に代金を支払う有料オプション機能であってもよい。   The table 44A may indicate the implementation function for each first version. Specifically, in FIG. 3, the implementation functions “function 1” to “function 5” and “function 5-1” may be associated with the first version “05.001” and stored in the table 44. A detailed description of the first versions “01.000” to “05.000” will be omitted. In addition, each mounted function may be a paid optional function that pays a price when used.

<その他>
導入済プログラム及び導入済バージョンを記憶するフラッシュメモリ44は本発明の「第一記憶部」「第二記憶部」の一例である。S53の処理を行うCPU41は本発明の「第一受付手段」の一例である。S59の処理を行うCPU41は本発明の「第一判定手段」の一例である。S61の処理を行うCPU41は本発明の「実行手段」の一例である。
S63の処理を行うCPU41は本発明の「通知手段」の一例である。S13の処理を行うCPU41は本発明の「第二受付手段」の一例である。S15の処理を行うCPU41は本発明の「取得手段」の一例である。S17の処理を行うCPU41は本発明の「制御手段」の一例である。S25の処理を行うCPU41は本発明の「第一更新手段」の一例である。S29の処理を行うCPU41は本発明の「第二判定手段」の一例である。S37の処理を行うCPU41は本発明の「第二更新手段」の一例である。S39の処理を行うCPU41は本発明の「禁止手段」の一例である。S71の処理を行うCPU41は本発明の「第三受付手段」の一例である。S75の処理を行うCPU41は本発明の「第三更新手段」の一例である。
<Others>
The flash memory 44 that stores the installed program and the installed version is an example of the “first storage unit” or “second storage unit” in the present invention. The CPU 41 that performs the process of S53 is an example of the “first receiving unit” in the present invention. The CPU 41 that performs the process of S59 is an example of the “first determination unit” in the present invention. The CPU 41 that performs the process of S61 is an example of the “execution unit” in the present invention.
The CPU 41 that performs the process of S63 is an example of the “notification means” in the present invention. The CPU 41 that performs the process of S13 is an example of the “second receiving unit” in the present invention. The CPU 41 that performs the process of S15 is an example of the “acquiring means” in the present invention. The CPU 41 that performs the process of S17 is an example of the “control unit” in the present invention. The CPU 41 that performs the process of S25 is an example of the “first update unit” in the present invention. The CPU 41 that performs the process of S29 is an example of the “second determination unit” in the present invention. The CPU 41 that performs the process of S37 is an example of the “second updating unit” in the present invention. The CPU 41 that performs the process of S39 is an example of the “prohibiting means” in the present invention. The CPU 41 that performs the process of S71 is an example of the “third receiving unit” in the present invention. The CPU 41 that performs the process of S75 is an example of the “third updating unit” in the present invention.

1 :工作機械
40 :数値制御装置
41 :CPU
44 :フラッシュメモリ
44A :テーブル
V1a :第一導入済バージョン
V1b :第一更新バージョン
V2a :第二導入済バージョン
V2b :第二更新バージョン
X(n) :指令
1: Machine tool 40: Numerical control device 41: CPU
44: Flash memory 44A: Table V1a: First installed version V1b: First updated version V2a: Second installed version V2b: Second updated version X (n): Command

Claims (5)

制御プログラムに基づいて駆動する数値制御装置であって、
前記制御プログラムを記憶する第一記憶部と、
前記制御プログラムに実装された実装機能を示す第一バージョン、及び、前記制御プログラムに実装された実装機能のうち有効な有効機能を示す第二バージョンを含むバージョンを記憶する第二記憶部と、
指令を受け付ける第一受付手段と、
前記第一受付手段によって受け付けられた前記指令に対応する処理を前記有効機能によって実行することが可能か否かを、前記第二バージョンに基づいて判定する第一判定手段と、
前記第一判定手段によって、前記有効機能によって前記処理を実行することが可能と判定した時、前記有効機能に基づいて前記処理を実行する実行手段と
を備えたことを特徴とする数値制御装置。
A numerical control device that is driven based on a control program,
A first storage unit for storing the control program;
A second storage unit that stores a version including a first version indicating an implemented function implemented in the control program, and a second version indicating an effective function among the implemented functions implemented in the control program;
First receiving means for receiving a command;
First determination means for determining whether the process corresponding to the command received by the first reception means can be executed by the effective function, based on the second version;
A numerical control apparatus comprising: an execution means for executing the process based on the effective function when the first determination means determines that the process can be executed by the effective function.
前記第一判定手段によって、前記有効機能によって前記処理を実行することが不可能と判定した時、使用者に通知する通知手段を更に備えたことを特徴とする請求項1に記載の数値制御装置。   The numerical control apparatus according to claim 1, further comprising a notification unit that notifies the user when the first determination unit determines that the process cannot be executed by the effective function. . 更新制御プログラムを受け付ける第二受付手段と、
前記第二受付手段によって受け付けられた前記更新制御プログラムに実装された実装機能を示す第一更新バージョン、及び、前記更新制御プログラムに実装された前記実装機能のうち有効な有効機能を示す第二更新バージョンを取得する取得手段と、
前記第二受付手段によって受け付けられた前記更新制御プログラムを、前記制御プログラムとして前記第一記憶部に記憶する制御手段と、
前記第二記憶部に記憶した前記第一バージョンを、前記取得手段によって取得した前記第一更新バージョンに更新する第一更新手段と、
前記第二記憶部に記憶した前記第二バージョンを更新する指示を受け付けたか判定する第二判定手段と、
前記第二判定手段によって、前記第二バージョンを更新する指示を受け付けたと判定した時、前記第二記憶部に記憶した前記第二バージョンを、前記取得手段によって取得した前記第二更新バージョンに更新する第二更新手段と、
前記第二受付手段によって、前記第二バージョンを更新する指示を受け付けないと判定した時、前記第二記憶部に記憶した前記第二バージョンの更新を禁止する禁止手段と
を備えたことを特徴とする請求項1又は2に記載の数値制御装置。
Second receiving means for receiving an update control program;
A first update version indicating an implemented function implemented in the update control program received by the second accepting unit, and a second update indicating an effective function among the implemented functions implemented in the update control program; An acquisition means for acquiring a version;
Control means for storing the update control program received by the second receiving means in the first storage unit as the control program;
First update means for updating the first version stored in the second storage unit to the first update version acquired by the acquisition means;
Second determination means for determining whether an instruction to update the second version stored in the second storage unit is received;
When it is determined by the second determination means that an instruction to update the second version has been received, the second version stored in the second storage unit is updated to the second update version acquired by the acquisition means. A second update means;
And a prohibiting unit that prohibits updating of the second version stored in the second storage unit when it is determined by the second receiving unit that an instruction to update the second version is not received. The numerical control apparatus according to claim 1 or 2.
前記第二記憶部に記憶した前記第二バージョンを前記第一バージョンに更新する指示を受け付ける第三受付手段と、
前記第三受付手段によって前記指示を受け付けた時、前記第二記憶部に記憶した前記第二バージョンを前記第一バージョンに更新する第三更新手段と
を備えたことを特徴とする請求項1から3の何れかに記載の数値制御装置。
Third receiving means for receiving an instruction to update the second version stored in the second storage unit to the first version;
3. The apparatus according to claim 1, further comprising: a third updating unit that updates the second version stored in the second storage unit to the first version when the instruction is received by the third receiving unit. 4. The numerical control device according to any one of 3.
前記バージョンは、
前記実装機能に対応する値であって、前記実装機能の追加に伴い昇順で増加する第一値で示される前記第一バージョンと、
前記第一値以下の第二値で示される前記第二バージョンと
を含み、
前記第一判定手段は、
前記第二値の第一バージョンに対応する前記実装機能を、前記第二バージョンによって示される前記有効機能として特定し、特定された前記有効機能によって前記処理を実行することが可能か判定することを特徴とする請求項1から4の何れかに記載の数値制御装置。
The version is
The first version indicated by a first value that corresponds to the implemented function and increases in ascending order with the addition of the implemented function;
The second version indicated by a second value less than or equal to the first value,
The first determination means includes
The implementation function corresponding to the first version of the second value is specified as the effective function indicated by the second version, and it is determined whether the process can be executed by the specified effective function. The numerical control apparatus according to claim 1, wherein the numerical control apparatus is characterized in that:
JP2016187765A 2016-09-27 2016-09-27 Numerical control device Active JP6696383B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016187765A JP6696383B2 (en) 2016-09-27 2016-09-27 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016187765A JP6696383B2 (en) 2016-09-27 2016-09-27 Numerical control device

Publications (2)

Publication Number Publication Date
JP2018055211A true JP2018055211A (en) 2018-04-05
JP6696383B2 JP6696383B2 (en) 2020-05-20

Family

ID=61835764

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016187765A Active JP6696383B2 (en) 2016-09-27 2016-09-27 Numerical control device

Country Status (1)

Country Link
JP (1) JP6696383B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023195108A1 (en) * 2022-04-06 2023-10-12 ファナック株式会社 Industrial machine control device and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253875A (en) * 1994-03-14 1995-10-03 Toshiba Corp Programmable controller and its program tool
JPH08137535A (en) * 1994-11-08 1996-05-31 Mitsubishi Electric Corp Numerical controller and option management system therefor
JPH11161479A (en) * 1997-11-28 1999-06-18 Brother Ind Ltd Device and method for processing data and recording medium
JP2006260607A (en) * 2003-09-26 2006-09-28 Omron Corp Programmable controller, cpu unit, and method of starting duplexed operation
JP2007102625A (en) * 2005-10-06 2007-04-19 Nakamura Tome Precision Ind Co Ltd Method and device for updating control program of nc machine tool
JP2010176517A (en) * 2009-01-30 2010-08-12 Brother Ind Ltd Information processing apparatus and control program
WO2012043008A1 (en) * 2010-09-29 2012-04-05 三菱電機株式会社 Method, system, and program for upgrading runtime environment of programmable logic controller
WO2015011896A1 (en) * 2013-07-23 2015-01-29 パナソニックIpマネジメント株式会社 Function setting method
JP2015138362A (en) * 2014-01-22 2015-07-30 ブラザー工業株式会社 Numerical controller
JP2017037466A (en) * 2015-08-10 2017-02-16 オムロン株式会社 Support device and support program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253875A (en) * 1994-03-14 1995-10-03 Toshiba Corp Programmable controller and its program tool
JPH08137535A (en) * 1994-11-08 1996-05-31 Mitsubishi Electric Corp Numerical controller and option management system therefor
JPH11161479A (en) * 1997-11-28 1999-06-18 Brother Ind Ltd Device and method for processing data and recording medium
JP2006260607A (en) * 2003-09-26 2006-09-28 Omron Corp Programmable controller, cpu unit, and method of starting duplexed operation
JP2007102625A (en) * 2005-10-06 2007-04-19 Nakamura Tome Precision Ind Co Ltd Method and device for updating control program of nc machine tool
JP2010176517A (en) * 2009-01-30 2010-08-12 Brother Ind Ltd Information processing apparatus and control program
WO2012043008A1 (en) * 2010-09-29 2012-04-05 三菱電機株式会社 Method, system, and program for upgrading runtime environment of programmable logic controller
WO2015011896A1 (en) * 2013-07-23 2015-01-29 パナソニックIpマネジメント株式会社 Function setting method
JP2015138362A (en) * 2014-01-22 2015-07-30 ブラザー工業株式会社 Numerical controller
JP2017037466A (en) * 2015-08-10 2017-02-16 オムロン株式会社 Support device and support program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023195108A1 (en) * 2022-04-06 2023-10-12 ファナック株式会社 Industrial machine control device and computer-readable storage medium

Also Published As

Publication number Publication date
JP6696383B2 (en) 2020-05-20

Similar Documents

Publication Publication Date Title
CN100464266C (en) NC machine tool
JP6254153B2 (en) Offset number setting device
US20180065220A1 (en) Position compensation system and position compensation method for tool changer
JP2016051249A (en) Numerical control device, and control method
JP6696383B2 (en) Numerical control device
JP6252198B2 (en) Numerical controller
CN112805638B (en) NC program conversion processing method and conversion computer
JP2009531756A (en) Control unit with built-in machine model
JP2015041221A (en) Control device for machine tool
JP2006313559A (en) Operation method of numerical control machine tool equipment
JP7448377B2 (en) Processing program management device, management system, and management method
CN100567608C (en) Sewing machines driving control device and Sewing machines drive controlling method
JP2022117393A (en) Control device, control method, control program, and recording medium
JP2012011492A (en) Tool arrangement computing device, tool arrangement computing program, and storage medium
US6690983B2 (en) Numerical control data creating device and numerical control data creating method
JPH0772789A (en) Method and device for sequence control over automatic machine, and information medium for the same
EP4006664A1 (en) Tool information setting device and machine tool
JP3956281B2 (en) Memory card mounted embroidery controller
JP2670148B2 (en) Numerical control unit
US5740748A (en) Embroidery stitching device capable of simultaneously performing stitching a computation of stitching time
JP2024039745A (en) Numerical control equipment, machine tools, numerical control methods, and numerical control programs
JP6881380B2 (en) Machine tools, control methods and computer programs
JP2023013593A (en) Control device, control method, control program, and storage medium
JP6729078B2 (en) Numerical control device
JP2007233575A (en) Numerical controller and control method for machine tool

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200316

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200324

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200406

R150 Certificate of patent or registration of utility model

Ref document number: 6696383

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150