JP2000322245A - Programming device and storage medium - Google Patents

Programming device and storage medium

Info

Publication number
JP2000322245A
JP2000322245A JP11132153A JP13215399A JP2000322245A JP 2000322245 A JP2000322245 A JP 2000322245A JP 11132153 A JP11132153 A JP 11132153A JP 13215399 A JP13215399 A JP 13215399A JP 2000322245 A JP2000322245 A JP 2000322245A
Authority
JP
Japan
Prior art keywords
language
program
conversion
file
natural language
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
JP11132153A
Other languages
Japanese (ja)
Inventor
Hidetsugu Kawai
秀貢 河合
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP11132153A priority Critical patent/JP2000322245A/en
Publication of JP2000322245A publication Critical patent/JP2000322245A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable even a person, who does not know a program language, to easily generate or correct a program for machine control. SOLUTION: A conversion definition storage means 4 where arbitrary words W in a natural language which is the language for understanding between persons are set correspondingly to a command S in the program language is provided as a file 4a. A natural language file 12 where machine control operations are described in arbitrary words W in the natural language is prepared. A language conversion means 5 is provided which converts this natural language file 12 to a control program 3 in the program language in accordance with the conversion definition file 4a. A definition registration processing means 6 is provided which registers arbitrary word W in the conversion definition file 4a as the command S in the program language.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、各種の機械、例
えば加工機械や、加工機械にワークを搬入出するワーク
搬送装置等を制御するプログラムを一般人の言語等で作
成するプログラミング装置、およびこのプログラミング
装置を作成する記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programming device for creating a program for controlling various machines, for example, a processing machine, a work transfer device for loading and unloading a work into and out of the processing machine, in a general language, and the like. The present invention relates to a storage medium for creating an apparatus.

【0002】[0002]

【従来の技術と発明が解決しようとする課題】一般に、
自動機械の制御はNC(数値制御)プログラムで行われ
る。このNCプログラムは、機械の一連の動作がラダー
プログラムで示されるため、複雑かつ煩雑になる。ま
た、専用のNC言語を熟知していなければ、プログラム
の作成だけでなく、変更も容易に行うことができない。
2. Description of the Related Art In general,
The control of the automatic machine is performed by an NC (numerical control) program. This NC program is complicated and complicated because a series of operations of the machine is indicated by a ladder program. Further, unless the user is familiar with the dedicated NC language, not only the program creation but also the change cannot be easily performed.

【0003】この発明の目的は、プログラム言語を知ら
ない者であっても、機械を制御するためのプログラムを
作成したり、修正することが簡単にできるプログラミン
グ装置を提供することである。この発明の他の目的は、
この発明のプログラミング装置を簡単に構成することの
できる記憶媒体を提供することである。
[0003] An object of the present invention is to provide a programming device that allows a person who does not know a programming language to easily create or modify a program for controlling a machine. Another object of the present invention is
An object of the present invention is to provide a storage medium that can easily configure the programming device of the present invention.

【0004】[0004]

【課題を解決するための手段】この発明のプログラミン
グ装置を、実施形態に対応する図1と共に説明する。こ
のプログラミング装置(1)は、機械(2)を制御する
ためのプログラム(3)を生成するプログラミング装置
であって、プログラム言語による単独または一連の指令
(S)に対して、自然言語による任意の語句(W)が対
応して設定される変換定義記憶手段(4)と、前記自然
言語による任意の語句(W)で機械制御動作を記述した
自然言語ファイル(12)を、前記変換定義記憶手段
(4)の記憶内容に従って前記プログラム言語による指
令(S)のプログラム(3)に変換する言語変換手段
(5)とを備えたものである。なお、この明細書で、
「自然言語」とは、人間同士の意思疎通に用いられる図
る言語、例えば、日本語、英語、その他の外国語等を意
味する。この構成によると、自然言語ファイル(12)
に含まれる各語句(W)が、言語変換手段(5)によ
り、変換定義記憶手段(4)に記憶された定義内容に従
って、プログラム言語による指令(S)に変換される。
そのため、プログラム(3)の作成や修正が自然言語で
行え、プログラム言語を知らない者であっても、機械を
制御するためのプログラム(3)を作成したり、修正す
ることが容易に行える。
A programming device according to the present invention will be described with reference to FIG. 1 corresponding to an embodiment. This programming device (1) is a programming device for generating a program (3) for controlling a machine (2), and is responsive to a single or a series of commands (S) in a programming language, A conversion definition storage unit (4) in which a word (W) is set correspondingly, and a natural language file (12) in which a machine control operation is described with an arbitrary word (W) in the natural language, is stored in the conversion definition storage unit. Language conversion means (5) for converting the program (3) into the program (3) of the command (S) in accordance with the stored contents of (4). In this specification,
“Natural language” means a language used for communication between humans, such as Japanese, English, and other foreign languages. According to this configuration, the natural language file (12)
Are converted by the language conversion means (5) into instructions (S) in a programming language according to the definition contents stored in the conversion definition storage means (4).
Therefore, the program (3) can be created and modified in natural language, and even a person who does not know the programming language can easily create or modify the program (3) for controlling the machine.

【0005】この発明において、前記変換定義記憶手段
(4)に対して、前記自然言語による任意の語句(W)
を、前記プログラム言語による任意の単独または一連の
指令(S)に対応させて記憶させる定義登録処理手段
(6)を設けても良い。このように定義登録処理手段
(6)を設けることで、使用者の好みの任意の語句
(W)で機械制御プログラム(3)を作成することがで
きる。
In the present invention, an arbitrary word (W) in the natural language is stored in the conversion definition storage means (4).
May be provided in correspondence with an arbitrary or a series of instructions (S) in the program language. By providing the definition registration processing means (6) in this way, the machine control program (3) can be created with an arbitrary word (W) desired by the user.

【0006】この発明の記憶媒体は、コンピュータ装置
にインストールされることで、この発明のプログラミン
グ装置における前記変換定義記憶手段(4)、言語変換
手段(5)、および定義登録処理手段(6)を構成する
プログラムおよびデータが記憶されたものである。
When the storage medium of the present invention is installed in a computer, the conversion definition storage means (4), language conversion means (5), and definition registration processing means (6) of the programming device of the present invention are provided. The program and data to be configured are stored.

【0007】[0007]

【発明の実施の形態】この発明の一実施形態を図1ない
し図3に基づいて説明する。このプログラミング装置1
は、機械2を制御するためのプログラム3を生成するプ
ログラミング装置であって、変換定義記憶手段4、言語
変換手段5、定義登録処理手段6を備える。生成された
プログラム3は、機械1を制御する機械制御装置7にお
ける制御プログラム実行手段8で実行される。機械制御
装置7は、例えばシーケンサ、またはNC装置(数値制
御装置)等、プログラム制御を行う制御装置である。プ
ログラミング装置1は、機械制御装置7とは独立したパ
ーソナルコンピュータ等のコンピュータ装置に構成して
も、また機械制御装置7の一部として構成しても良い。
機械1は、パンチプレス等の加工機械や、旋盤等の工作
機械、あるいは他の種々の機械であっても良いが、この
例では、ワークQを加工機械(図示せず)に対して搬入
出するワーク搬送装置としてある。具体的には、機械1
は、レール9に沿って進退する走行体10に、ワーク把
持具11を昇降可能に設け、ワーク把持具11が把持お
よび把持解除動作をするものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described with reference to FIGS. This programming device 1
Is a programming device that generates a program 3 for controlling the machine 2 and includes a conversion definition storage unit 4, a language conversion unit 5, and a definition registration processing unit 6. The generated program 3 is executed by the control program execution means 8 in the machine control device 7 for controlling the machine 1. The machine control device 7 is a control device that performs program control, such as a sequencer or an NC device (numerical control device). The programming device 1 may be configured as a computer device such as a personal computer independent of the machine control device 7, or may be configured as a part of the machine control device 7.
The machine 1 may be a processing machine such as a punch press, a machine tool such as a lathe, or various other machines. In this example, the work Q is carried in and out of a processing machine (not shown). Work transfer device. Specifically, Machine 1
The work gripper 11 is provided on a traveling body 10 that moves forward and backward along the rail 9 so as to be able to move up and down, and the work gripper 11 performs a gripping and gripping release operation.

【0008】変換定義記憶手段4は、プログラム言語に
よる単独または一連の指令Sに対して、自然言語による
任意の語句Wが対応して設定される記憶手段であり、こ
の例では、記憶内容は定義変換ファイル4aを構成す
る。定義変換ファイル4aは、テーブル構造とされ、定
義変換テーブルとなる。「自然言語」は、前述のように
人間同士の意思疎通を図る言語を意味する。上記指令S
は、この例では、単独または一連の機械動作を行わせる
一連の指令をモジュール化した一つのモジュールを示す
指令とされる。例えば、各指令Sは、上昇処理モジュー
ルMa、下降処理モジュールMb、前進処理モジュール
Mc、把握処理モジュールMd等を示す指令とされる。
プログラム言語は、特に種類を問わないが、例えば、一
般のNC言語(数値制御言語)とされる。
The conversion definition storage means 4 is a storage means in which an arbitrary word or phrase W in a natural language is set corresponding to a single or a series of commands S in a program language. The conversion file 4a is configured. The definition conversion file 4a has a table structure and is a definition conversion table. “Natural language” means a language that allows humans to communicate as described above. The above command S
In this example, is a command indicating one module which is a module of a series of commands for performing a single or a series of machine operations. For example, each command S is a command indicating an ascent processing module Ma, a descent processing module Mb, a forward processing module Mc, a grasp processing module Md, and the like.
The programming language is not particularly limited, and is, for example, a general NC language (numerical control language).

【0009】言語変換手段5は、自然言語による任意の
語句Wで機械制御動作を記述した自然言語ファイル12
を、変換定義記憶手段4の記憶内容に従って制御プログ
ラム3に変換する手段である。制御プログラム3は、プ
ログラム言語による指令を並べて記述したファイルであ
る。また、この変換された制御プログラム3は、個別の
シーケンスコード等に変換するためのマクロ指令で記述
された中間ファイルであっても良い。言語変換手段5
は、自然言語ファイル12に含まれる各語句Wが、変換
定義記憶手段4に記憶された語句Wに該当するかを検索
し、該当する語句Wをその語句Wに対応する指令Sに変
換するものであり、変換定義記憶手段4に記憶されてい
ない語句が自然言語ファイル12に含まれていても無視
するものとすることが好ましい。これにより、自然言語
ファイル12の記載内容を、注釈的な記載を含む内容と
することができる。また、言語変換手段5は、自然言語
ファイル12を一括して変換するものであっても、機械
制御の実行に同期して変換するものであっても良い。
The language conversion means 5 includes a natural language file 12 which describes a machine control operation with an arbitrary word W in a natural language.
Is converted into the control program 3 in accordance with the contents stored in the conversion definition storage means 4. The control program 3 is a file in which instructions in a programming language are described side by side. Further, the converted control program 3 may be an intermediate file described by a macro command for converting into an individual sequence code or the like. Language conversion means 5
Retrieves whether each phrase W included in the natural language file 12 corresponds to the phrase W stored in the conversion definition storage unit 4, and converts the corresponding phrase W into a command S corresponding to the phrase W Therefore, it is preferable that even if a phrase not stored in the conversion definition storage unit 4 is included in the natural language file 12, the phrase is ignored. Thus, the description content of the natural language file 12 can be a content including a commentary description. Further, the language conversion means 5 may convert the natural language file 12 in a lump or may convert the natural language file 12 in synchronization with the execution of the machine control.

【0010】自然言語ファイル12は、自然言語による
任意の語句Wで機械制御動作を記述したファイルであ
り、例えば、「上昇」、「前進」、「下降」、「把握」
等の語句Wが制御指令Sに代わる語句として記述され
る。自然言語ファイル12は、例えばテキスト形式のフ
ァイルとされるが、他の種々の形式のファイルであって
も良い。
The natural language file 12 is a file in which a machine control operation is described with an arbitrary word W in a natural language, and includes, for example, “up”, “forward”, “down”, “grab”.
Is described as a phrase replacing the control command S. The natural language file 12 is, for example, a file in a text format, but may be a file in other various formats.

【0011】定義登録処理手段6は、変換定義記憶手段
4に対して、自然言語による任意の語句Wを、プログラ
ム言語による任意の単独または一連の指令Sに対応させ
て記憶させる手段であり、キーボードやその他の入力手
段13からの入力に従って登録処理を行う。定義登録処
理手段6は、自然言語による語句Wを対応させるべき指
令Sが予め設定されていて、その指令Sに対して希望の
語句Wを入力させる案内を表示手段14に表示させるも
のであることが好ましい。表示手段14は、CRTや液
晶パネルなど、画面表示できる手段である。
The definition registration processing means 6 is a means for causing the conversion definition storage means 4 to store an arbitrary word or phrase W in a natural language in correspondence with an arbitrary or a series of commands S in a programming language. The registration processing is performed according to the input from the input unit 13 and other input means. The definition registration processing means 6 has a command S to be associated with a word W in a natural language set in advance, and causes the display means 14 to display guidance for inputting a desired word W in response to the command S. Is preferred. The display unit 14 is a unit that can display a screen, such as a CRT or a liquid crystal panel.

【0012】ファイル管理手段15は、言語変換手段5
が制御の実行に同期して変換を行うものとする場合にプ
ログラミング装置1に設けられる手段である。このファ
イル管理手段15は、言語変換手段5で変換された制御
プログラム3の指令Sが制御プログラム実行手段8で実
行される都度、実行行をインクリメントし、言語変換手
段5に自然言語ファイル12における次の語句Wの変換
を行わせる指令を与える。
The file management means 15 is a language conversion means 5
Are means provided in the programming device 1 when the conversion is performed in synchronization with the execution of the control. Each time the command S of the control program 3 converted by the language conversion means 5 is executed by the control program execution means 8, the file management means 15 increments the executed line, and causes the language conversion means 5 to execute the next line in the natural language file 12. Is given.

【0013】この構成のプログラミング装置1による
と、テキスト形式ファイル等の自然言語ファイル12に
記述された語句Wが、言語変換手段5で変換定義記憶手
段4の記憶内容に従ってプログラム言語の指令Sに変換
される。例えば、自然言語ファイル12における「上
昇」という語句Wは、上昇処理のモジュールMaの指令
Sに変換される。また、「前進」という語句Wは、前進
処理のモジュールMcの指令Sに変換される。このよう
に、自然言語ファイル12と変換後の形式のルールを定
義変換ファイル4aに準備することにより、これまでは
専用のNC言語等を記述しなければ行えなかった機械制
御のプログラミングが、自然言語で行える。一連の機械
動作を従来のようにラダープログラムで構成すると、複
雑でかつ煩雑になるが、このプログラミング装置1によ
ると、シーケンス処理をモジュール化でき、シーケンス
プログラム等からなる制御プログラム3の作成や変更が
容易に行える。この場合に、機械2の実際の動作は自然
言語ファイル12に依存するため、動作順序を変更する
場合も、この自然言語ファイル12の中身を変更するだ
けで容易に変更することができる。
According to the programming device 1 having this configuration, the word / phrase W described in the natural language file 12 such as a text format file is converted into the program language command S by the language conversion unit 5 in accordance with the contents stored in the conversion definition storage unit 4. Is done. For example, the phrase “up” in the natural language file 12 is converted into a command S of the up processing module Ma. Also, the phrase “forward” is converted into a command S of the forward processing module Mc. As described above, by preparing the natural language file 12 and the rules of the format after conversion in the definition conversion file 4a, the programming of machine control, which could be performed only by writing a dedicated NC language or the like, can be performed in the natural language. Can be done with When a series of machine operations are configured by a ladder program as in the related art, it is complicated and complicated. However, according to the programming device 1, the sequence processing can be modularized, and the control program 3 including the sequence program can be created or changed. Easy to do. In this case, since the actual operation of the machine 2 depends on the natural language file 12, the operation order can be easily changed only by changing the contents of the natural language file 12.

【0014】さらに、定義登録処理手段6が設けられて
いて、各指令Sに任意の語句Wを対応づけることができ
るため、自然言語ファイル12の語句Wは、必ずしも機
械2の動作を表現した「上昇」やか「下降」等の語句に
限らず、使用者の覚え易い任意の語句Wをプログラム3
の指令に対応させて定義することができ、自由な表現を
自由なシーケンス動作に結びつけることができる。ま
た、その語句Wは、特に言葉としての意味を持たないも
のであっても良い。例えば、図2に示すように、定義変
換ファイル4aにおいて、人名「河島秀貢」をNC言語
の「G0」という指令に対応させ、人名「村田太郎」を
NC言語の「X軸移動」の指令に対応させて定義したと
する。この場合、自然言語ファイル12に記載された
「河島秀貢」という語句Wは制御プログラム3では「G
0」とい指令Sに、「村田太郎」という語句Wは「X軸
移動」の指令Sに変換される。このように、使用者が分
かり易い自由な表現でプログラミングが行える。
Furthermore, since the definition registration processing means 6 is provided and an arbitrary word W can be associated with each command S, the word W in the natural language file 12 necessarily expresses the operation of the machine 2. Not only words such as "up" and "down", but any words W that the user can easily remember are stored in the program 3.
Can be defined corresponding to the above-mentioned command, and free expression can be linked to free sequence operation. The phrase W may not have any particular meaning as words. For example, as shown in FIG. 2, in the definition conversion file 4a, the personal name "Hideko Kawashima" is made to correspond to the command "G0" in the NC language, and the personal name "Taro Murata" is made the command in the "X-axis movement" command in the NC language. Assume that they are defined in correspondence. In this case, the phrase W of “Kawashima Hidetsugu” described in the natural language file 12 is “G
The word S of “Taro Murata” is converted into the command S of “X-axis movement” in the command S of “0”. In this way, programming can be performed with a free expression that is easy for the user to understand.

【0015】言語変換手段手段5は、自然言語ファイル
12の中に数値の語句Wnがある場合は、その数値表現
された値で制御プログラム3の移動量等の量を表す指令
に変換するものとすることが好ましい。例えば、軸移動
を示す語句Wの後に数値の語句Wnがあると、数値の語
句Wnは、その軸移動の量を表す指令に変換するものと
するルールを定めておく。この数値に関する変換のルー
ルは、変換定義記憶手段4に記憶させておいても、また
言語変換手段5が有するものとしても良い。このように
数値に関する語句Wnの変換ルールを定めておくこと
で、シーケンス制御だけでなく、移動量や移動速度等の
数値に関する指令を含むプログラム3も生成可能とな
る。ただし、その場合、自然言語ファイル12におい
て、量を示す語句Wn以外の一般の語句Wは、数値の変
換に利用する語句で表現しないようにする必要がある。
When the natural language file 12 includes a numerical phrase Wn, the language converting means 5 converts the numerical expression into a command representing the amount of movement of the control program 3 by using the numerical value. Is preferred. For example, if there is a numeric word Wn after the phrase W indicating the axis movement, a rule is defined that converts the numeric word Wn into a command indicating the amount of the axis movement. The conversion rule for this numerical value may be stored in the conversion definition storage unit 4 or may be included in the language conversion unit 5. By defining the conversion rule of the phrase Wn relating to the numerical value in this way, it is possible to generate not only the sequence control but also the program 3 including a command relating to the numerical value such as the moving amount and the moving speed. However, in this case, in the natural language file 12, general words W other than the words Wn indicating the quantity need not be represented by the words used for converting the numerical values.

【0016】このプログラミング装置1における前記各
手段、例えば、変換定義記憶手段4、言語変換手段5、
および定義登録処理手段6は、図3に示すように記憶媒
体20に記憶されたデータをコンピュータ装置1aにイ
ンストールすることで、構成されるものとしても良い。
すなわち、記憶媒体20には、コンピュータ装置1aに
インストールすることで、定義登録処理手段6、変換定
義記憶手段4、および言語変換手段5を構成するプログ
ラムおよびデータとして、定義登録処理手段の形成デー
タ21、変換定義記憶手段の形成データ23、言語変換
手段の形成データ23と共に、インストール用プログラ
ム24を記憶させておく。このような記憶媒体20を準
備することで、このプログラミング装置1が簡単に構成
できる。
Each of the means in the programming device 1, for example, the conversion definition storage means 4, the language conversion means 5,
The definition registration processing means 6 may be configured by installing data stored in the storage medium 20 in the computer device 1a as shown in FIG.
That is, the storage medium 20 is installed in the computer device 1a, and as a program and data constituting the definition registration processing means 6, the conversion definition storage means 4, and the language conversion means 5, the formation data 21 of the definition registration processing means The installation program 24 is stored together with the formation data 23 of the conversion definition storage means and the formation data 23 of the language conversion means. By preparing such a storage medium 20, the programming device 1 can be easily configured.

【0017】図4は、図1の実施形態にかかるプログラ
ミング装置において、言語変換手段5が行う具体的処理
例を示す流れ図である。この流れ図による処理の場合、
言語変換手段5(図1)は、テキストプログラム(テキ
スト形式ファイル)からなる自然言語ファイル12から
1行の指令となる語句を取得し(ステップR1)、テキ
ストファイル実行ポインタを1だけインクリメントする
(R2)。このテキストファイル実行ポインタは、図1
の例のファイル管理手段15であっても良く、また言語
変換手段5に設けられた手段であっても良い。取得され
た1行の語句は、変換定義記憶手段4(詳しくは定義変
換テーブル)にあるか否かが探索され、ある場合は、そ
の語句がプログラム言語に変換され、その変換された指
令が機械制御手段7に与えられる(R3,R4)。上記
の判断プテップR3で、語句に対応する指令が変換定義
記憶手段4にない場合は、続行か否かが判断され(R
5)、続行と設定されている場合は、自然言語ファイル
12の次の1行が取得される(R1)。続行と設定され
ていない場合は、アラームが発生され、言語変換手段5
の処理、および必要な場合は制御対象機械1を停止す
る。上記の続行か否かの判断ステップ(R5)は、所定
のモード設定手段による続行と非続行の設定モードに従
って行われる。通常は、このモード設定手段は続行状態
に設定され、したがって、変換定義記憶手段4にない場
合は、その語句を無視して自然言語ファイル12の次の
1行の解析、つまり取得(R1)およびその以降の処理
を行う。なお、この流れ図の処理においても、言語変換
手段5は、自然言語ファイル12を1行ずつ解析して機
械制御手段7に実行させても良く、また最初に自然言語
ファイル12の全体を、プログラム言語による指令の制
御プログラム3に一括して変換しても良い。この制御プ
ログラム3は、例えば、一般にNCプログラムと呼ばれ
るプログラム、具体的には、例えばパーソナルコンピュ
ータのソフトウァアとなるプログラムである。
FIG. 4 is a flowchart showing a specific example of processing performed by the language conversion means 5 in the programming device according to the embodiment of FIG. In the case of processing according to this flowchart,
The language conversion means 5 (FIG. 1) acquires a phrase serving as a one-line command from the natural language file 12 composed of a text program (text format file) (step R1), and increments the text file execution pointer by one (R2). ). This text file execution pointer is shown in FIG.
Or the means provided in the language conversion means 5 may be used. The acquired one-line word is searched for in the conversion definition storage means 4 (specifically, the definition conversion table), and in some cases, the word is converted into a program language, and the converted command is transmitted to the machine language. It is provided to the control means 7 (R3, R4). In the above determination step R3, if there is no command corresponding to the word in the conversion definition storage means 4, it is determined whether or not to continue (R
5) If it is set to continue, the next one line of the natural language file 12 is obtained (R1). If it is not set to continue, an alarm is generated and the language conversion unit 5
And, if necessary, the controlled machine 1 is stopped. The determination step (R5) of whether or not to continue is performed in accordance with the setting mode of continuation and non-continuation by the predetermined mode setting means. Normally, this mode setting means is set to the continuation state. Therefore, when the mode is not present in the conversion definition storage means 4, the word is ignored and the analysis of the next one line of the natural language file 12, that is, acquisition (R1) and The subsequent processing is performed. Also in the processing of this flowchart, the language conversion means 5 may analyze the natural language file 12 line by line and cause the machine control means 7 to execute it. May be converted collectively into the control program 3 of the command according to. The control program 3 is, for example, a program generally called an NC program, specifically, for example, a program serving as software of a personal computer.

【0018】[0018]

【発明の効果】この発明のプログラミング装置は、プロ
グラム言語による指令に対して、自然言語による任意の
語句が対応して設定される変換定義記憶手段と、自然言
語ファイルを前記変換定義記憶手段の記憶内容に従って
プログラム言語による指令または指令群のファイルに変
換する言語変換手段とを備えたものであるため、プログ
ラム言語を知らない者であっても、機械を制御するため
のプログラムを作成したり、修正することが簡単にでき
る。また、定義登録処理手段を設けた場合は、使用者の
好みの任意の語句で機械制御プログラムを作成すること
ができる。この発明の記憶媒体によると、この発明のプ
ログラミング装置を簡単に構成することができる。
According to the programming apparatus of the present invention, a conversion definition storage means in which an arbitrary word in a natural language is set in response to a command in a program language, and a natural language file stored in the conversion definition storage means. It is provided with language conversion means for converting a command or a command group file in a programming language according to the contents, so that even a person who does not know the programming language can create or modify a program for controlling the machine. Can be easily done. Further, when the definition registration processing means is provided, the machine control program can be created with an arbitrary phrase desired by the user. According to the storage medium of the present invention, the programming device of the present invention can be easily configured.

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

【図1】この発明の一実施形態にかかるプログラミング
装置の概念構成を機械制御装置および機械と共に示すブ
ロック図である。
FIG. 1 is a block diagram showing a conceptual configuration of a programming device according to an embodiment of the present invention, together with a machine control device and a machine.

【図2】同プログラミング装置による変換処理の具体例
の説明図である。
FIG. 2 is an explanatory diagram of a specific example of conversion processing by the programming device.

【図3】この発明のプログラミング装置とこれを構成す
る記憶媒体との関係を示す説明図である。
FIG. 3 is an explanatory diagram showing a relationship between a programming device of the present invention and a storage medium constituting the programming device.

【図4】同プログラミング装置の処理を主に流れ図で示
す説明図である。
FIG. 4 is an explanatory diagram mainly showing a flow chart of a process of the programming device.

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

1…プログラミング装置 1a…コンピュータ 2…機械 3…プログラム 4…変換定義記憶手段 4a…定義変換ファイル 5…言語変換手段 6…定義登録処理手段 7…機械制御装置 8…制御プログラム実行手段 12…自然言語ファイル 13…入力手段 15…ファイル管理手段 20…記憶媒体 Ma〜Md…モジュール S…指令 W…語句 DESCRIPTION OF SYMBOLS 1 ... Programming apparatus 1a ... Computer 2 ... Machine 3 ... Program 4 ... Conversion definition storage means 4a ... Definition conversion file 5 ... Language conversion means 6 ... Definition registration processing means 7 ... Machine control device 8 ... Control program execution means 12 ... Natural language File 13 Input means 15 File management means 20 Storage medium Ma-Md Module S Command W Words

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 機械を制御するためのプログラムを生成
するプログラミング装置であって、プログラム言語によ
る単独または一連の指令に対して、人間同士の意思疎通
を図る言語である自然言語による任意の語句が対応して
設定される変換定義記憶手段と、前記自然言語による任
意の語句で機械制御動作を記述した自然言語ファイル
を、前記変換定義記憶手段の記憶内容に従って前記プロ
グラム言語による指令のプログラムに変換する言語変換
手段とを備えたプログラミング装置。
1. A programming device for generating a program for controlling a machine, wherein an arbitrary phrase in a natural language, which is a language for communicating with humans, in response to a single instruction or a series of instructions in a programming language. A conversion definition storage means set correspondingly and a natural language file in which a machine control operation is described by an arbitrary phrase in the natural language are converted into a program of instructions in the program language according to the storage contents of the conversion definition storage means. A programming device comprising language conversion means.
【請求項2】 前記変換定義記憶手段に対して、前記自
然言語による任意の語句を、前記プログラム言語による
任意の単独または一連の指令に対応させて記憶させる定
義登録処理手段を設けた請求項1記載のプログラミング
装置。
2. A definition registration processing means for storing, in the conversion definition storage means, an arbitrary phrase in the natural language corresponding to an arbitrary or a series of instructions in the program language. The described programming device.
【請求項3】 コンピュータ装置にインストールされる
ことで、前記コンピュータ装置に請求項2記載のプログ
ラミング装置における変換定義記憶手段、言語変換手
段、および定義登録処理手段を構成するプログラムおよ
びデータが記憶された記憶媒体。
3. A program and data constituting a conversion definition storage unit, a language conversion unit, and a definition registration processing unit in the programming device according to claim 2, which are installed in the computer device. Storage medium.
JP11132153A 1999-05-13 1999-05-13 Programming device and storage medium Pending JP2000322245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11132153A JP2000322245A (en) 1999-05-13 1999-05-13 Programming device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11132153A JP2000322245A (en) 1999-05-13 1999-05-13 Programming device and storage medium

Publications (1)

Publication Number Publication Date
JP2000322245A true JP2000322245A (en) 2000-11-24

Family

ID=15074609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11132153A Pending JP2000322245A (en) 1999-05-13 1999-05-13 Programming device and storage medium

Country Status (1)

Country Link
JP (1) JP2000322245A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9946710B2 (en) 2013-07-04 2018-04-17 Softbank Corp. Language conversion apparatus, language conversion method, and language conversion program
JP2019519870A (en) * 2016-04-28 2019-07-11 アムリ, マスードAMRI, Masoud Language controlled system
US10417347B2 (en) * 2016-06-14 2019-09-17 Microsoft Technology Licensing, Llc Computer messaging bot creation
US11217239B2 (en) 2016-06-14 2022-01-04 Microsoft Technology Licensing, Llc Computer proxy messaging bot

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9946710B2 (en) 2013-07-04 2018-04-17 Softbank Corp. Language conversion apparatus, language conversion method, and language conversion program
JP2019519870A (en) * 2016-04-28 2019-07-11 アムリ, マスードAMRI, Masoud Language controlled system
JP7023008B2 (en) 2016-04-28 2022-02-21 マスード アムリ, Language controlled system
US10417347B2 (en) * 2016-06-14 2019-09-17 Microsoft Technology Licensing, Llc Computer messaging bot creation
US11217239B2 (en) 2016-06-14 2022-01-04 Microsoft Technology Licensing, Llc Computer proxy messaging bot

Similar Documents

Publication Publication Date Title
CN113886362A (en) Data storage system and storage method based on workflow engine and low-code platform
US4994957A (en) System for simultaneously displaying all ladder diagram segments in which an operator designated relay appears as an input or output
JP2000322245A (en) Programming device and storage medium
WO1995029432A1 (en) Control system
KR100802483B1 (en) The integrated controller, motion and sequence control
JPH02310604A (en) Picture data display system
JPH0667709A (en) Method and device for generating sequence program and sequence controller
JP4443436B2 (en) Control system and control method
JPS63149705A (en) Nc data forming device
JP2533370B2 (en) Control program creation method
JP2672759B2 (en) Robot motion program generator
JPS6325706A (en) Output system for nc program list of automatic programming device
JPH11110029A (en) Nc program store management method and device
JPS62233880A (en) Sentence input device
JPH11194810A (en) Nc information editing device
JP2002183868A (en) Measuring system, external control macrofile preparation method of measuring equipment, and external control macrofile preparation program
JPH1195966A (en) Data settable electronic manual
JPS59151204A (en) Memory operating system of numerical control equipment
EP0414912A1 (en) Cnc screen layout method
JPH06103052A (en) Natural language operation supporting device
JP2003202904A (en) Input/output monitor device for programmable controller
JPH03147127A (en) Job design supporting system
JPH01306913A (en) Information processor
JP2001109508A (en) Comment display device
JPH061470B2 (en) Text processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041019

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070220

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070626