JPH03182907A - Numerical controller of robot - Google Patents

Numerical controller of robot

Info

Publication number
JPH03182907A
JPH03182907A JP32167889A JP32167889A JPH03182907A JP H03182907 A JPH03182907 A JP H03182907A JP 32167889 A JP32167889 A JP 32167889A JP 32167889 A JP32167889 A JP 32167889A JP H03182907 A JPH03182907 A JP H03182907A
Authority
JP
Japan
Prior art keywords
robot
command
instruction
temporary storage
writing
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
JP32167889A
Other languages
Japanese (ja)
Inventor
Tadanori Harada
忠則 原田
Keiichi Nakamachi
啓一 中町
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP32167889A priority Critical patent/JPH03182907A/en
Publication of JPH03182907A publication Critical patent/JPH03182907A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need of inserting a special command into a program for a parallel processing and to reduce a burden on the program by providing a write enable/inhibit designation means and instruction temporary storage parts. CONSTITUTION:Data showing the write permission of a subsequent instruction into the temporary storage part 3i or data of effect prohibiting writing is stored in the write enable/inhibit storage part 5. An instruction write control part 2 refers to information in the write enable/inhibit storage part and executes the write processing of the instruction based on said information. An instruction read part 6 collectively reads the instructions from the temporary storage part 3i in an order which an order storage part 4i gives and transfers them to an execution part 7 when the subsequent instruction comes to a write prohibition state. Thus, troublesome inserting the special command into the program for the parallel processing is eliminated and the burden on the program can be reduced.

Description

【発明の詳細な説明】 本発明ロボットの数値制御装置を以下の項目に従って説
明する。
DETAILED DESCRIPTION OF THE INVENTION A numerical control device for a robot according to the present invention will be explained according to the following items.

A、産業上の利用分野 B1発明の概要 C9従来技術[第8図、第9図] a、−数的背景 す、従来例[第8図、第9図] D9発明が解決しようとする課題 E0課題を解決するための手段 F、実施例[第1図乃至第7図] a、基本構成[第1図、第2図コ b、動作[第3図乃至第5図] C1構成例[第6図、第7図コ G8発明の効果 (A、産業上の利用分野) 本発明は新規なロボットの数値制御装置に関する。詳し
くはロボット言語による命令と周辺装置の制御命令との
並行処理や、ロボットの動作に係る複数の命令に関して
の同時動作に際して、命令の書き込みや実行手順に一定
の条件を課することによって統一的かつ簡易に処理する
ことができるようにした新規なロボットの数値制御装置
を提供しようとするものである。
A. Industrial field of application B1 Overview of the invention C9 Prior art [Figs. 8 and 9] a. Numerical background Prior art [Figs. 8 and 9] D9 Problems to be solved by the invention E0 Means for solving the problem F, Example [Figures 1 to 7] a. Basic configuration [Figures 1 and 2 b, Operation [Figures 3 to 5] C1 Configuration example [ FIGS. 6 and 7 G8 Effects of the invention (A. Field of industrial application) The present invention relates to a novel numerical control device for robots. In detail, when parallel processing of commands in robot language and peripheral device control commands, or simultaneous operation of multiple commands related to robot operation, it is possible to uniformly and efficiently execute commands by imposing certain conditions on the instruction writing and execution procedure. The purpose of this invention is to provide a new robot numerical control device that can be easily processed.

(B、発明の概要) 本発明ロボットの数値制御装置は命令を記憶するための
複数の一時記憶部と、命令の書込要求を受けると一定の
条件の下で該命令を一時記憶部に書き込む書込手段と、
書込手段によって一時記憶部に書き込まれた命令の種類
に応じて次に行なうべき命令に関する一時記憶部への書
込を許可し又は禁止する書込許否指定手段と、−時記憶
部に記憶された命令を読み出す読出手段と、読出手段に
より読み出された命令を実行する実行手段とを備えたロ
ボットの数値制御装置であって、−時記憶部に書込まれ
た命令の種類に応じて書込許否指定手段が次の命令につ
いて一時記憶部への書込を許可するか、あるいは禁止す
るかを命令の書込時又は実行時に書込手段に対して指定
し、書込許可指令手段が一時記憶部への書込許可を出さ
ない場合には次の命令は一時記憶部に書込まれず、この
時点までに一時記憶部に記憶されている全ての命令が読
み出されて実行手段の並行処理により略同時に実行され
るようにしたものであり、ロボット言語による命令と周
辺装置の制御命令との並行処理や、ロボットの動作に係
る複数の命令に関する同時動作に際して複雑な通信処理
を要したり、プログラムの煩雑化を招くことなく、しか
も、これらの並行処理を統一化された手続きで実現でき
るようにしたものである。
(B. Summary of the Invention) The numerical control device of the robot of the present invention has a plurality of temporary storage units for storing instructions, and upon receiving a request to write an instruction, writes the instruction to the temporary storage unit under certain conditions. writing means;
write permission/disapproval designation means for permitting or prohibiting writing of the next instruction to be performed in the temporary storage section according to the type of instruction written in the temporary storage section by the writing means; A numerical control device for a robot comprising a reading means for reading out a command read out by the reading means and an execution means for executing the command read out by the reading means, wherein The write permission/deny designation means specifies whether to permit or prohibit the next command from being written into the temporary storage unit, to the writing means at the time of writing or executing the command, and the write permission command means temporarily If permission to write to the storage section is not given, the next instruction will not be written to the temporary storage section, and all instructions stored in the temporary storage section up to this point will be read out and the execution means will perform parallel processing. It is designed to be executed almost simultaneously, and requires complex communication processing when processing commands in the robot language in parallel with peripheral device control commands, or when simultaneously operating multiple commands related to robot motion. This allows these parallel processes to be realized using unified procedures without complicating the program.

(C,従来技術)[第8図、第9図] (a、−数的背景) 産業用ロボットは、それ自身に備わる柔軟性によって多
品種少量生産との相性か良く、近年種々の生産工程に広
く用いられるようになり、また、計算機のソフトウェア
技術の向上によって、計算機による総合生産システムの
中で動作するロボットが求められるようになり、かつロ
ボットコントローラ自体もI10制御等のシーケンサ−
としての機能が必要となってきた。
(C, Prior Art) [Figures 8 and 9] (a, - Numerical Background) Due to their inherent flexibility, industrial robots are well suited for high-mix, low-volume production, and have recently been used in various production processes. In addition, as computer software technology improved, there was a need for robots that operated within a comprehensive production system using computers, and the robot controller itself also became a sequencer such as I10 control.
This function has become necessary.

(b、従来例)[第8図、第9図] 従来はこれらの機能の実現には2つの手法があった。ひ
とつはマルチプロセッサーによって実現する手法であり
、もうひとつはマルチタスクの計算機管理プログラムに
よって見かけ上、マルチプロセッサーとして動作させる
方法である。これらの手法はほぼ同じ効果を得るので、
マルチプロセッサーによる場合について述べる。双方と
もシーケンサ−機能記述言語とロボット言語とは切り放
した処理として独立に実現していたため、言語間の同期
はユーザーによってとることが基本となっている。
(b, Conventional Example) [Figs. 8 and 9] Conventionally, there have been two methods for realizing these functions. One method is to use multiprocessors, and the other is to use a multitasking computer management program to make it appear to operate as a multiprocessor. These methods achieve almost the same effect, so
We will discuss the case using multiple processors. In both cases, the sequencer function description language and the robot language were realized independently as separate processes, so synchronization between the languages was basically done by the user.

第8図は前記手法を用いたm個aを示すものである。FIG. 8 shows m pieces a using the above method.

図中−点鎖線で囲まれた部分すはシーケンサ−であり、
プログラム記憶領域Cに格納されているシーケンサ−用
プログラムか読み出され解釈部dにおいて解釈され低次
の実行命令に分解された後実行部eに送られる。実行部
eは各種の周辺装置f、f、・・・の制御のために必要
な信号を生成し、これを各々の周辺装置f、f、・・・
に送出する。
In the figure, the part surrounded by the dotted chain line is the sequencer.
The sequencer program stored in the program storage area C is read out, interpreted by the interpreter d, decomposed into low-order execution instructions, and then sent to the execution unit e. The execution unit e generates signals necessary for controlling various peripheral devices f, f, . . . and transmits the signals to each peripheral device f, f, .
Send to.

また、図中二点鎖線で囲まれた部分gはロボット制御部
であり、やはりプログラム記憶領域りに格納されている
ロボット用プログラムが解釈部iに読み出された後解釈
されて、低次の実行命令に分解された後実行部jに送ら
れる。実行部jはロボットkを動作させるためにサーボ
モータ等に制御信号を送出し、また、ロボットにの内部
に組み込まれた位置検出機等の検出手段からの情報を受
は取って、これに応じてロボットにの位置制御等を行な
うようになっている。
In addition, the part g surrounded by the two-dot chain line in the figure is the robot control part, in which the robot program stored in the program storage area is read out by the interpretation part i and interpreted, and the low-order After being decomposed into execution instructions, they are sent to execution unit j. The execution unit j sends control signals to servo motors, etc. to operate the robot k, and also receives information from detection means such as a position detector built into the robot, and performs operations accordingly. It is designed to control the position of the robot.

シーケンサ−やロボットのプログラムを記述する各々の
言語は遂次解釈(インタープリタ−)方式や一括解釈(
コンパイル)方式、あるいはこれらを合成した方式(中
間言語方式)等に従ってCPUにより解釈されるが、通
常はシーケンサ−bにおける処理とロボット制御部gに
おける処理は各々別のCPUによって処理されるか、あ
るいはマルチタスクによる管理プログラムの場合には2
つの処理が−のCPUによって行なわれることになる。
Each language used to write sequencer and robot programs can be interpreted using a sequential interpretation (interpreter) method or a batch interpretation method (
However, normally, the processing in sequencer b and the processing in robot control unit g are processed by separate CPUs, or 2 for multitasking management programs
One process will be performed by the - CPU.

ところで、ロボットにや周辺装置f、f、  ・・・の
制御に関する複数の命令の同時的な処理を要する例とし
ては次に挙げるような場合がある。
Incidentally, the following is an example of a case in which a plurality of commands related to the control of a robot or peripheral devices f, f, . . . need to be simultaneously processed.

その一つはロボットkに関する命令と周辺装置f、f、
・・・に関する命令との並行処理であり、例えば、生産
ライン・上のワークがロボットにの作業範囲内に入り、
ロボットkがワークの加工を行なうに際して、シーケン
サ−bがワークの到着を監視したり、ワークを停止させ
たりといった処理を行ない、ロボットにはシーケンサ−
bからの信号によってワークの到着が知らされ、その後
にワークの加工が行なわれるといった場合である。
One of them is instructions regarding robot k and peripheral devices f, f,
This is parallel processing with instructions related to... For example, if a workpiece on a production line comes within the robot's work range,
When robot k processes a workpiece, sequencer b monitors the arrival of the workpiece and stops the workpiece.
In this case, the arrival of the workpiece is notified by a signal from b, and the workpiece is then processed.

このような場合、上記した装置aにあってはシーケンサ
−bの実行部eとロボット制御部gの実行部jとの間で
通信による同期とりが必要となる。
In such a case, in the above-described apparatus a, it is necessary to synchronize through communication between the execution section e of the sequencer b and the execution section j of the robot control section g.

また、もう一つの場合とはロボットの動作に係る命令を
並行処理するような状況である。
Another case is a situation where commands related to robot operations are processed in parallel.

例えば、第9図のようにロボットハンドLが最初退避位
置(これを「点P+Jとする)にあるものとし、その稜
点P2にある部品mを掴んで、その上方に位置する点P
3迄持ち上げ、その後ロボットハンド℃が水平に移動さ
れて点P3と同じ高さの点P4を通ってワークn上の挿
着点P5に移動される場合を想定する。
For example, as shown in FIG. 9, suppose the robot hand L is initially at the retracted position (this is referred to as "point P+J"), grabs the part m located at the ridge point P2, and moves to the point P located above it.
3, and then the robot hand C is moved horizontally to the insertion point P5 on the workpiece n through a point P4 which is at the same height as the point P3.

この時ロボットハンドAを実線で示す経路0のように直
線的に選ぶ必要なく、同図に破線で示すような曲線的な
経路0′を選び、ロボットハンド立が点P3や点P4を
実際には通らないようにしても良い。これは、物を取り
出して移動し、別の物に取り付けるような作業では、単
に経路間にある障害物を避けて移動すれば済むような場
合になされ、組み立て作業工程での標準的な作業である
At this time, the robot hand A does not need to choose a linear path 0 as shown by the solid line, but instead chooses a curved path 0' as shown by the broken line in the figure, so that the robot hand A does not have to choose a linear path 0 as shown by the solid line. You may choose not to let it pass. This is done when an object is taken out, moved, and attached to another object, where it is simply a matter of avoiding obstacles in the path, and is a standard task in the assembly process. be.

このような動作を行なう場合には、ロボットハンド立を
、点P2から点P3へと移動させる第1の動作か終了す
る前にロボットハンド℃を点P4へ向って移動させる第
2の動作が開始されるようにする手法がとられ、これに
よって第1および第2の動作が重複的に行なわれる(以
下では、このように並行処理によってなされるロボット
の動作を「重畳動作」と呼ぶ。)。
When performing such an operation, the second operation of moving the robot hand toward point P4 is started before the first operation of moving the robot hand stand from point P2 to point P3 is completed. In this way, the first and second motions are performed redundantly (hereinafter, the robot motions performed in parallel in this manner will be referred to as "superimposed motions").

(D、発明が解決しようとする課M) ところで、上記した例では、ロボットや周辺装置の制御
に関する命令の並行処理については、これを個別的に処
理していたため、限られた命令の並行処理ができるたけ
であり、各種の命令に関しての並行処理を統一的に行な
うことが簡単にはできないという問題がある。
(D, Problem M to be solved by the invention) By the way, in the above example, the parallel processing of commands related to the control of the robot and peripheral devices was processed individually, so the parallel processing of limited commands was limited. However, there is a problem in that it is not easy to uniformly perform parallel processing for various instructions.

例えば、ロボットの動作とシーケンサ−による周辺装置
の制御とを同時に処理しようとすると、実行部間ての同
期合わせのための通信が必要てあったり、また、マルチ
タスクのO3(Operating System)の
ようにタスク間が独立している場合に重複動作に関する
%埋を行なおうとするとタスク間での非常に複雑な通信
を要することになる。さらに、ロボットの重畳動作に加
えてシーケンサ−の制御に関する命令をも同時に実行し
ようとするとこのための特別なプログラム処理が必要と
なり、プログラムの複雑化を招き、ロボットの暴走等を
惹き起こす危険性も高まることになる。
For example, if you try to process the robot's movement and the control of peripheral devices by a sequencer at the same time, communication is required to synchronize the execution parts, and there is also a need for communication such as a multitasking O3 (Operating System). In the case where tasks are independent, if one attempts to compensate for overlapping operations, very complicated communication between the tasks is required. Furthermore, if you try to simultaneously execute commands related to sequencer control in addition to the robot's superimposed movements, special program processing will be required for this purpose, which will lead to program complexity and the risk of causing the robot to run out of control. It will increase.

そこで、ある命令についてこれを単独に動作させるか、
あるいは他の命令との並行動作を行なうかを指示するた
めの特別な指令を設けて、これをプログラム中に記述す
る方法も知られているが、特別な命令が増える分だけプ
ログラミング上の負担が増し、プログラムミスの可能性
が高まってしまうことにもなりかねない。
So, either run this independently for a certain instruction, or
Alternatively, it is known to create a special command to instruct whether to perform parallel operations with other commands and write this in the program, but this increases the programming burden as the number of special commands increases. This may also increase the possibility of programming errors.

(E、課題を解決するための手段) 本発明ロボットの数値制御装置は上記した課題を解決す
るために、命令を記憶するための複数の一時記憶部と、
命令の書込要求を受けると一定の条件の下で該命令を一
時記憶部に書き込む書込手段と、書込手段によって一時
記憶部に書き込まれた命令の種類に応じて次に行なうべ
き命令に関する一時記憶部への書き込みを許可し又は禁
止する書込許否指定手段と、−時記憶部に記憶された命
令を読み出す読出手段と、読出手段により読み出された
命令を実行する実行手段とを備えたロボットの数値制御
装置であって、−時記憶部に書込まれた命令の種類に応
して書込許否指定手段が次の命令について一時記憶部へ
の書き込みを許可するか、あるいは禁止するかを命令の
書込時又は実行時に書込手段に対して指定し、書込許可
指令手段が一時記憶部への書込許可を出さない場合には
次の命令は一時記憶部に書き込まれず、この時点までに
一時記憶部に記憶されている全ての命令か読み出されて
実行手段の並行処理により略同時に実行されるようにし
たものである。
(E. Means for Solving the Problems) In order to solve the above-mentioned problems, the numerical control device for the robot of the present invention includes a plurality of temporary storage units for storing instructions;
A writing means for writing the instruction into a temporary storage section under certain conditions upon receiving a request to write an instruction, and a command to be performed next depending on the type of instruction written to the temporary storage section by the writing means. A writing permission specifying means for permitting or prohibiting writing to the temporary storage section, a reading means for reading out the command stored in the temporary storage section, and an execution means for executing the command read by the reading means. A numerical control device for a robot according to the present invention, wherein the write permission/disapproval designation means allows or prohibits writing of the next command to the temporary storage unit depending on the type of command written to the temporary storage unit. is specified to the writing means at the time of writing or executing the command, and if the write permission command means does not issue write permission to the temporary storage section, the next command will not be written to the temporary storage section, All the instructions stored in the temporary storage unit up to this point are read out and executed almost simultaneously by the parallel processing of the execution means.

従って、本発明によれば、命令の書き込みや実行に際し
て、該命令の種類に応じて書込許可指定手段が次の命令
を一時記憶部に書き込んで良いかどうかを決定し、書込
許否指定手段による次の命令の書き込みが禁止される迄
の間に一時記憶部内に格納された全命令が読出手段によ
って一括して読み出された後実行手段により並行IA埋
されるという統一化された手続によって、ロボット言語
による命令と周辺装置の制御命令との並行処理や、ロボ
ットの動作に係る複数の命令に関しての同時動作を行な
うことができ、ロボットの制御命令や周辺装置の制御命
令を同じ処理系に載せることができるので、ロボット制
御装置や周辺装置間あるいはロボット動作に関するタス
ク間の複雑な通信処理から解放され、また、並行処理の
ために特別な指令をプログラム中に挿入するといった煩
わしさかなくプログラム上の負担が軽減され、プログ ラムミスの増加を招くこともない。
Therefore, according to the present invention, when writing or executing an instruction, the write permission specifying means determines whether or not the next instruction can be written to the temporary storage section according to the type of the instruction, and the write permission specifying means A unified procedure is adopted in which all instructions stored in the temporary storage unit are read out at once by the reading means until writing of the next instruction is prohibited by the execution means, and then buried in the parallel IA by the execution means. , it is possible to perform parallel processing of commands in the robot language and control commands for peripheral devices, and simultaneous operation of multiple commands related to robot operation, and it is possible to execute robot control commands and peripheral device control commands in the same processing system. This frees you from complex communication processing between robot control devices and peripheral devices, or between tasks related to robot motion, and allows you to easily program programs without the hassle of inserting special instructions into programs for parallel processing. This reduces the burden on users and prevents an increase in programming errors.

(F、実施例)[第1図乃至第7図] 以下に、本発明ロボットの数値制御装置の詳細を図示し
た実施例1に従って説明する。
(F. Embodiment) [FIGS. 1 to 7] The details of the numerical control device for the robot of the present invention will be described below according to the illustrated embodiment 1.

(a、基本構成)[第1図、第2図] 2は命令書込制御部であり、該書込制御部に外部から書
き込み要求(以下、「WreQ」と記す。)が入力され
ると、書き込みの対象となる命令(これを「C1」と記
す。)を−時記憶部3゜(i−1,2,3,4)に記憶
させるようになっている。尚、書き込み要求はプログラ
ムが終了するまで発せられる。
(a. Basic configuration) [Figures 1 and 2] 2 is an instruction write control unit, and when a write request (hereinafter referred to as “WreQ”) is input to the write control unit from the outside, , an instruction to be written (hereinafter referred to as "C1") is stored in the -time storage unit 3° (i-1, 2, 3, 4). Note that write requests are issued until the program ends.

41  (i=1.2.3.4)は順序記憶部てあり、
−時記憶部3Iに記憶された情報に対する順序イ」けを
与えるために設けられており、添字ri、によって区別
される順序記憶部4Iが一時記憶部31のうち同じ添字
をもつものに1対1に対応している。
41 (i=1.2.3.4) has an order storage section,
- It is provided to give an order index to the information stored in the time storage section 3I, and the order storage section 4I, which is distinguished by the subscript ri, is paired with the temporary storage section 31 that has the same subscript. It corresponds to 1.

5は書込許否記憶部であり、後続の命令の一時記憶部3
.への書き込み許可を示すデータ(以下、rALWJと
記す。)か、あるいは書き込みを禁止する旨のデータ(
以下、rlNHJと記す。)が記憶されるようになって
おり、命令書込制御部2はこの書込許否記憶部5内の情
報を参照して、これに基づいて命令の@き込み処理を行
なうようになっている。
5 is a write permission storage unit, which is a temporary storage unit 3 for subsequent instructions.
.. Data indicating permission to write to (hereinafter referred to as rALWJ) or data indicating prohibition of writing (hereinafter referred to as rALWJ).
Hereinafter, it will be referred to as rlNHJ. ) is stored, and the instruction write control unit 2 refers to the information in the write permission/denial storage unit 5 and performs @write processing of the instruction based on this information. .

6は命令読出部であり、後続の命令が書き込み禁止の状
態となった時(つまり、書込許否記憶部5内に書き込み
禁止データrINHJが記憶されている時)や−時記憶
部31の全てに命令が記憶されて空きがなくなった時に
、順序記憶部4Iによって順序付けられた順番で一時記
憶部31から命令を一括して読み出して、これを後述す
る実行部に転送するようになっている。ここで、−時記
憶部3Iに記憶された順に命令を読み出す理由は、プロ
グラム通りの実行順序を常に保つことができるようにす
るためであるが、その必要がなければ、順序記憶部4.
は不要となる。つまり、順序記憶部4Iは周辺装置に関
する制御命令等のようにその実行が瞬時に終了するよう
な命令を同時実行させない場合に、順次に実行させるた
めにのみ使用されるものである。
Reference numeral 6 denotes an instruction reading section, which reads all of the information in the storage section 31 when the subsequent instruction becomes write-inhibited (that is, when the write-inhibited data rINHJ is stored in the write permission/denial storage section 5). When the instructions are stored and there is no more space, the instructions are read out all at once from the temporary storage part 31 in the order ordered by the order storage part 4I and transferred to an execution part to be described later. Here, the reason why the instructions are read out in the order stored in the -time storage section 3I is to always maintain the execution order according to the program, but if this is not necessary, the instructions are read out in the order stored in the order storage section 3I.
becomes unnecessary. In other words, the order storage unit 4I is used only to sequentially execute instructions that are not executed simultaneously, such as control instructions related to peripheral devices, whose execution ends instantly.

7は実行部であり、命令読出部6からの命令を実行した
り、命令に応したデータを位置設定用レジスタ部8に設
定してロボットのサーボ制御系への目標値とするように
なっている。即ち、位置設定レジスタ部8は第2図(A
)に示すように基準位置レジスタ8aと偏位レジスタ8
bとを有し、基準位置レジスタ8aの基準位置情報と偏
位レジスタ8bの偏位(オフセット)情報とが加算部9
によって加算されるようになっている。
7 is an execution unit which executes the command from the command reading unit 6 and sets data corresponding to the command in the position setting register unit 8 to be used as a target value for the robot's servo control system. There is. That is, the position setting register section 8 is as shown in FIG.
), the reference position register 8a and the deviation register 8
b, and the reference position information of the reference position register 8a and the deviation (offset) information of the deviation register 8b are added to the adder 9.
It is added by .

第2図(B)に示すように、ある単純なロボット動作命
令(例えば、2点間でFTP動作等)について考える。
As shown in FIG. 2(B), consider a simple robot operation command (for example, FTP operation between two points).

この場合、先ず基準位置レジスタ8aに基準位置(これ
をA点とする)の座標データを設定する。この時の偏位
レジスタ8bに何の値も設定されていない(つまり、偏
位量を「ΔX」とするとΔx=0)とすると加算部19
の出力としては起点位置A点の座標を示す信号が出力さ
れたままなのでロボットアームの先端は点Aに静止して
いる。
In this case, first, coordinate data of a reference position (this is defined as point A) is set in the reference position register 8a. If no value is set in the deviation register 8b at this time (that is, if the amount of deviation is "ΔX", Δx=0), then the addition unit 19
The tip of the robot arm remains stationary at point A because the signal indicating the coordinates of the starting point A is still output.

今ここで、ロボットアームを最終到達位置(これをB点
とする)へ移動させるためのロボット動作命令が命令書
込制御部2によって一時記憶部3Iに記憶され、その後
に命令読出部6によって実行部7に移送されると、実行
部7は基準位置A点からの偏位量ΔXを出力するように
なる。この偏位量ΔXが偏位レジスタ8bに加算される
At this point, a robot operation command for moving the robot arm to the final destination position (this is referred to as point B) is stored in the temporary storage unit 3I by the command writing control unit 2, and then executed by the command reading unit 6. When transferred to the section 7, the execution section 7 outputs the amount of deviation ΔX from the reference position A point. This deviation amount ΔX is added to the deviation register 8b.

書込許否記憶部5によって次の命令の一時記憶部31へ
の書き込みが禁止された時点で一時記憶部3I内に格納
されている全ての命令が命令読出部6によって一括的に
読み出されることになるが、その読み出しが開始される
前に偏位レジスタ8bの内容がゼロにリセットされるよ
うになっているため、偏位レジスタ8bにおける加算結
果は、基準位置からの偏差に相当している。つまリ、ロ
ボットアームか単に直線的に移動するのであれば偏位レ
ジスタ8b内のデータ値は時間経過につれて加算されて
行き、最終的には基準位置A点と最終到達位置B点との
距離の差に相当した値となる。
At the time when writing of the next instruction to the temporary storage section 31 is prohibited by the write permission storage section 5, all the instructions stored in the temporary storage section 3I are read out at once by the instruction reading section 6. However, since the contents of the displacement register 8b are reset to zero before the readout is started, the addition result in the displacement register 8b corresponds to the deviation from the reference position. In other words, if the robot arm simply moves linearly, the data values in the displacement register 8b will be added over time, and eventually the distance between the reference position A and the final reached position B will be calculated. The value corresponds to the difference.

そして、ロボット動作命令が終了した後詰命令が一時命
令記憶部3.から消去される時に命令の実行による最終
到達位置の座標データが実行部7によって基準位置レジ
スタ8aに設定されるようになっている。
After the robot operation command is completed, the post-filling command is stored in the temporary command storage section 3. The coordinate data of the final position reached by the execution of the instruction is set in the reference position register 8a by the execution unit 7 when the command is deleted.

このようにロボットの動きに関する命令の実行が終了す
る度に基準位置レジスタ8aの内容の更新を行なうこと
によって、実行部7における偏位量計算時の誤差が累積
するのを防止することができ、ロボットの正確な位置決
め制御を行なうことができる。
In this way, by updating the contents of the reference position register 8a every time the execution of a command related to the movement of the robot is completed, it is possible to prevent errors from accumulating when calculating the amount of deviation in the execution unit 7. Accurate positioning control of the robot can be performed.

こうして、加算部9の出力する制御値が図示しないロボ
ットのサーボ制御装置によって参照されて実際のロボッ
ト動作制御か行なわれる。
In this way, the control value outputted by the adder 9 is referred to by the robot's servo control device (not shown) to perform actual robot operation control.

尚、この時、実行部7の動作中は位置設定用しジスタ部
8の内容が変化する惧れかあるので、それを防ぐために
は命令読出部6の読み出し動作か開始する前に位置設定
用レジスタ部8の内容をラッチして使用すると良い。
At this time, there is a risk that the contents of the position setting register section 8 may change while the execution section 7 is operating, so in order to prevent this, the position setting register section 8 may be changed before starting the reading operation of the instruction reading section 6. It is preferable to use the contents of the register section 8 by latching them.

上記した命令書込制御部2や実行部7の行なう処理には
下記に示すような条件(1)〜(5)が課されている。
The following conditions (1) to (5) are imposed on the processing performed by the instruction write control section 2 and the execution section 7 described above.

条件(1):ロボットの動作に直接関係する命令(以下
、「ロボット動作命令」と言 う。)や特別に指定された処理の実 行終了を待たなければ次の命令を実 行することができない命令(以下、 「実行終了待ち命令」と言う。)を 時記憶部3Iに書き込んた直後に は、その次の命令が一時記憶部 3Iに書き込まれないように書込許 否記憶部5には書込禁止データ rlNHJを設定する。
Condition (1): Instructions that are directly related to robot operation (hereinafter referred to as "robot operation instructions") or instructions that require the completion of a specially designated process before the next instruction can be executed ( Immediately after writing the instruction (hereinafter referred to as "execution end wait instruction") to the time storage section 3I, writing is prohibited to the write permission storage section 5 so that the next instruction is not written to the temporary storage section 3I. Set data rlNHJ.

条件(2) ロボット動作命令のうち、ロボットの動作
中でも次の命令の実行が特別 に許可された命令(以下、「特別許 可命令」と言う。)については、書 き込みを許可した時点において書込 許否記憶部5に書込許可データ rA LWJを設定する。
Condition (2) Among robot operation commands, for commands that are specially permitted to execute the next command even while the robot is in motion (hereinafter referred to as "special permission commands"), writing permission is determined at the time when writing is permitted. Write permission data rA_LWJ is set in the storage unit 5.

条件(3)ニー時記憶部3Iに書き込まれた命令は、該
命令の実行が完全に終了した 時点でその一時記憶部31から抹消 する。尚、このとき書込許否記憶部 5の内容は変更しない。
Condition (3) An instruction written in the knee storage section 3I is deleted from the temporary storage section 31 when the execution of the instruction is completely completed. Incidentally, at this time, the contents of the write permission storage section 5 are not changed.

一時記憶部3Iから全ての命令が消 去された時には書込許否記憶部5に 書込許可データr A j W Jを設定する。All commands are deleted from temporary storage section 3I. When the data is deleted, it is stored in the write permission storage unit 5. Set write permission data r A j W J.

:ロボット動作命令や実行終了待ち命 令以外の命令は直ちにその実行が可 能であり(以下、「即時実行命令」 と言う。)、この場合は命令の書き 込み時や実行終了時において書込許 否記憶部5の内容は変更しない。: Robot movement commands and execution completion wait orders Orders other than orders can be executed immediately. (hereinafter referred to as "immediate execution command") Say. ), in this case the instruction Write permission is enabled when writing or at the end of execution. The contents of the negative storage section 5 are not changed.

条件(4) 条件(5) 上記した条件(1)〜(5)は次に示すような趣旨に基
づいて採択されたものである。
Condition (4) Condition (5) Conditions (1) to (5) above were adopted based on the following objectives.

即ち、条件(1)に関しては、ロボット動作命令(但し
、特別許可命令を除く)の場合その動作が終了する迄に
比較的長い時間がかかり、プログラム処理の時系列性(
時間的な前後関係)を守るためににはその動作の終了を
待たないと次の命令を実行することができないからであ
る。
That is, regarding condition (1), in the case of robot movement commands (excluding special permission commands), it takes a relatively long time to complete the movement, and the chronological nature of program processing (
This is because, in order to preserve the temporal context, the next command cannot be executed until the end of the previous command.

条件(2)に関しては、ロボット動作命令のうちでも重
畳動作に係る命令の場合には、その動作か完了しなくと
も他の命令を一時記憶部3.に追加登録することにより
他の動作との重複した動作が可能となるからである。
Regarding condition (2), among the robot motion commands, in the case of a command related to a superimposed motion, other commands are stored in the temporary storage unit 3. even if that motion is not completed. This is because by additionally registering an action, it becomes possible to perform an action that overlaps with another action.

条件(3)に関しては、命令の実行が終了した場合にい
つでも命令を記憶しておく必要はないという理由による
。そこで、−時記憶部3Iには次に実行すべき命令を記
憶することができるように実行を終了した命令は消去す
る。
Regarding condition (3), the reason is that there is no need to store the instruction at any time when the execution of the instruction is finished. Therefore, the instruction that has finished execution is deleted in the -time storage section 3I so that the next instruction to be executed can be stored.

条件(4)に関しては、−時記憶部に3夏記憶されてい
た全ての命令の実行が終了した場合、いつまても書き込
み禁止にしておく必要がないという理由による。この場
合−時記憶部3Iには次に実行すべき命令を記憶するこ
とができるように書込許否記憶部5には書込許可データ
rALWJが記憶され、命令の書き込みか許可される。
The reason for condition (4) is that if execution of all instructions stored in the -time storage unit for three summers has been completed, there is no need to keep write-protected forever. In this case, write permission data rALWJ is stored in the write permission/denial storage unit 5 so that the next instruction to be executed can be stored in the -time storage unit 3I, and writing of the command is permitted.

条件(5)に関してはロボット動作命令や実行終了待ち
命令以外の命令(例えば、周辺装置のオン−オフ動作を
行なうような命令)の場合には、その実行に際して高々
数パルスの信号を発生するのみであり、瞬時に命令の実
行が終了するためてあり、他の命令の実行中にこのよう
な即時実行命令を実行しても問題はないからである。
Regarding condition (5), in the case of an instruction other than a robot movement instruction or an instruction to wait for execution completion (for example, an instruction to turn on/off a peripheral device), a signal of at most several pulses is generated when the instruction is executed. This is because execution of the instruction ends instantly, and there is no problem even if such an immediate execution instruction is executed while other instructions are being executed.

まk、実行部7は上記条件に関連して下記に示すような
処理を行なう。
The execution unit 7 performs the following processing in relation to the above conditions.

処理(1):即時実行命令はそのまま実行し、その実行
終了後には一時記憶部3゜ から当該命令を抹消する(条件 (3)、(5)参照)。
Process (1): The immediate execution command is executed as is, and after the execution is completed, the command is deleted from the temporary storage unit 3° (see conditions (3) and (5)).

処理(2):ロボット動作命令に関してはアーム等を移
動すべき位置の演算のみを行 ない、次の瞬間に制御すべき目標位 置(基準位置+偏位量)を位置設定 用レジスタ部8に設定する。
Processing (2): Regarding the robot movement command, only calculate the position to which the arm, etc. should be moved, and set the target position (reference position + deviation amount) to be controlled at the next moment in the position setting register unit 8. .

そして、ロボット動作命令の実行 が完了したら一時記憶部3Iから当 該命令を抹消する(条件(1)、 (2)、(3)参照)。and execution of robot movement commands When the process is completed, the current Delete the order (condition (1), (2), (3)).

即ち、処理(2)によれば実行部7が実際のロボットの
サーボ制御処理を行なっている訳でなく位置制御のため
の計算を行なうのみであり、その処理時間は計算能力の
みにかかっており、大抵の場合には瞬時に算出すること
ができる。
That is, according to process (2), the execution unit 7 does not actually perform servo control processing for the robot, but only performs calculations for position control, and the processing time depends only on the calculation capacity. , can be calculated instantly in most cases.

よって、ロボット動作命令の実行に時間を要するという
ことの具体的な意味は実際のロボットの動作が終了する
迄に時間がかかるということであり、そのための処理に
時間を要することてはないので、条件(2)に示したよ
うな特別許可命令の5重fi理が可能となる。即ち、重
畳動作のような場合には2つのロボット動作命令に対応
した位置を合成した指令位置によって位置制御され、こ
れによって複数のロボット動作命令の並行処理が可能と
なる。
Therefore, the concrete meaning of the fact that it takes time to execute a robot motion command is that it takes time for the actual robot motion to finish, and the processing for that purpose does not require time. The fivefold principle of special permission commands as shown in condition (2) becomes possible. That is, in the case of superimposed motions, the position is controlled by a commanded position that is a composite of the positions corresponding to two robot motion commands, thereby making it possible to process a plurality of robot motion commands in parallel.

(b、動作)[第3図乃至第5図コ 次に、上記したロボットの数値制御装置1における処理
の流れを第3図乃至第5図や表1に示すプログラムを例
にして説明する。
(b. Operation) [FIGS. 3 to 5] Next, the flow of processing in the robot numerical control device 1 described above will be explained using the programs shown in FIGS. 3 to 5 and Table 1 as examples.

第3図中10はロボットの数値制御装置1に相当する制
御装置であり、マン−マシンインターフェース11を介
して人力される書き込み要求W req及び命令01に
応じてサーボ制御部12に位置情報を与えロボット13
の動作制御を行なったり、あるいはインターフェース1
4に制御信号を送りその1番ボート(以下、rOP、J
と記す)を用いてロボット13のハンド13aの開閉を
制御したり、2番ボート(以下、rOP、Jと記す)を
用いてコンベア15上を流れてくるワーク16.16、
・・・の停止制御を行なうようになっている。尚、図中
17は部品供給パレットであり、部品18.18、・・
・が整列されている。
In FIG. 3, reference numeral 10 denotes a control device corresponding to the numerical control device 1 of the robot, which provides position information to the servo control unit 12 in response to a write request Wreq and command 01 input manually via the man-machine interface 11. robot 13
or interface 1
4 and sends a control signal to the 1st boat (rOP, J
) is used to control the opening and closing of the hand 13a of the robot 13, and the second boat (hereinafter referred to as rOP, J) is used to control the workpieces 16.16 flowing on the conveyor 15,
It is designed to perform stop control for... In addition, 17 in the figure is a parts supply pallet, and parts 18, 18,...
・are arranged.

このような構成においてロボット13が部品18.18
、・・・を部品供給パレット17からワーク16に移送
して装着する作業(所謂Pick&Place)に関す
るプログラムの一例を下表1に示す。
In such a configuration, the robot 13
.

表 1 表1中、rOUTJ命令は出力ボートOP、、O20に
対する命令であり、命令rOUTON、IJにより1番
ボートOP1をオンするとハント13aは閉し、命令r
OUT  OF F 。
Table 1 In Table 1, the rOUTJ command is a command for the output ports OP, O20, and when the first boat OP1 is turned on by the commands rOUTON and IJ, the hunt 13a is closed and the command r
OUT OF F.

1」によって1番ボートOPIをオフするとハント13
aか開かれる。また、命令rOUTON、2Jにより2
番ボー1− OP 2をオンさせるとコンヘア15上の
ワーク16が停止し、命令rOUT OFF、2Jによ
って2番ボートOP2をオフするとワーク16の停止か
解除され、該ワーク16が次の工程に移される。このr
OUT、l命令は即時実行命令に属している。
Hunt 13 when the number 1 boat OPI is turned off by "1"
A will be opened. Also, the command rOUTON, 2J causes 2
When the No. 1 boat OP 2 is turned on, the workpiece 16 on the conhair 15 is stopped, and when the No. 2 boat OP2 is turned off by the command rOUT OFF, 2J, the stoppage of the workpiece 16 is canceled, and the workpiece 16 is moved to the next process. It will be done. This r
The OUT and l instructions belong to immediate execution instructions.

また、命令rMOVE  P  、  J  は目標点
「Pl」にロボットアームのツール先端を移動させる命
令であり、ロボット動作命令に属している。尚、点p、
(i=1.2.3.4.5)の意味については前述した
通りてり、点P8は点P5の上方に位置する退避点であ
る。
Further, the commands rMOVE P, J are commands for moving the tool tip of the robot arm to the target point "Pl", and belong to robot operation commands. Furthermore, point p,
The meaning of (i=1.2.3.4.5) is as described above, and point P8 is a retreat point located above point P5.

さらに、命令rMOVE : x  PHJは重畳動作
に関する移動命令であり特別許可命令に属している。こ
の場合点「Pl」はロボットアームか実際に移動する経
路上の点ではなく、経路を指定する上での仮想的な基準
点てあり、また、指標x”は移動開始点から仮想的な基
準点p、迄の全工程を1としたときにおける工程の完了
比率を意味しており、この完了比率X%分の動作が終了
すれば、次の命令の実行が開始されること(条件(2)
参照)を意味している。
Furthermore, the command rMOVE:xPHJ is a movement command related to a superimposing operation and belongs to a special permission command. In this case, the point "Pl" is not a point on the path that the robot arm actually moves, but is a virtual reference point for specifying the path, and the index x'' is a virtual reference point from the movement start point. It means the completion ratio of a process when all the processes up to point p are set to 1, and when the operation corresponding to this completion ratio X% is completed, the execution of the next instruction starts (condition (2) )
).

このように仮想的な基準点を命令の中に含めて明示でき
るようにするとプログラミングに際してのエラーが発見
し易くなる。
By including the virtual reference point in the instruction and explicitly indicating it in this way, it becomes easier to discover errors during programming.

先ず、初期状態では第4図(A)に示すような時記憶部
31のいずれにも命令が記憶されておらず(このことを
記号「φ」で表わす。)、また、書込許否記憶部5には
書込許否データrA LWJが記憶されているものとす
る。
First, in the initial state, no command is stored in any of the time storage units 31 as shown in FIG. It is assumed that write permission data rA_LWJ is stored in 5.

ステップ1)の命令rOUT  ON、2Jに関する書
き込み要求がなされると命令書込制御部2は空いている
一時記憶部、例えば、3□に命令を記憶させ、これに対
応した順序記憶部4□には順位「1」を書き込む(第4
図(B)参照)。
When a write request regarding the command rOUT ON, 2J in step 1) is made, the command write control unit 2 stores the command in a vacant temporary storage unit, for example, 3□, and stores the command in the corresponding order storage unit 4□. writes the rank “1” (4th
(See figure (B)).

前述したようにrQUTJ命令は即時実行命令に属して
いるので、条件(5)に従って書込許否記憶部5の内容
は変らないので次のステップ2)の書き込みが許可され
る。
As described above, since the rQUTJ instruction belongs to the immediate execution instruction, the contents of the write permission storage unit 5 do not change according to condition (5), so that writing in the next step 2) is permitted.

ステップ2)の命令もrOUTJ命令てあり、第4図(
B)に示すように一時記憶部の一つ、例えば、32に記
憶され、その順序記憶部42には順位「2」が書き込ま
れ、このときにもやはり書込許否記憶部5の内容に変更
はなく rALW」のままである。よって、次のステッ
プ3)の命令に関する書き込みは許可されている。
The instruction in step 2) is also an rOUTJ instruction, as shown in Figure 4 (
As shown in B), it is stored in one of the temporary storage units, for example, 32, and a rank “2” is written in the order storage unit 42, and at this time, the contents of the write permission storage unit 5 are also changed. It remains "rALW" instead. Therefore, writing regarding the next step 3) instruction is permitted.

ステップ3)のrMOVEJ命令は一時記憶部の一つ、
例えば、33に記憶され、これに対応した順序記憶部4
Iには順位「3」が書き込まれる。rMOVEJ命令は
前述したようにロボット動作命令であるため条件(1)
に従って、後続の命令の書き込みが禁止される。即ち、
書込許否記憶部5には書込禁止データrINHJが書き
込まれる(第4図(C)参照)。
The rMOVEJ command in step 3) is one of the temporary storage units,
For example, the order storage unit 4 corresponding to this is stored in 33.
Rank "3" is written in I. As mentioned above, the rMOVEJ command is a robot movement command, so condition (1) is met.
Accordingly, writing of subsequent instructions is prohibited. That is,
Write prohibition data rINHJ is written into the write permission storage section 5 (see FIG. 4(C)).

こうして、残りの一時記憶部34は未登録のまま保留さ
れた状態で、後続の命令の書き込みが禁止される。
In this way, the remaining temporary storage units 34 remain unregistered and suspended, and writing of subsequent instructions is prohibited.

その後、−時記憶部31.32に記憶されているrOU
TJ命令は命令読出部6によって順次読み出される。
After that, the rOU stored in the − hour storage unit 31.32
The TJ instructions are sequentially read out by the instruction reading unit 6.

そして、ステップ1)のrOUTJ命令は実行部7によ
り瞬時に実行され、これによってコンベア15上のワー
ク16が停止される。そして、命令の実行終了後には条
件(3)に従って当該命令が一時記憶部3.から抹消さ
れる。但し、書込許否記憶部5の内容は変更されないの
でステップ4)の命令の書き込みは未た禁止されたまま
である。
Then, the rOUTJ command in step 1) is instantaneously executed by the execution unit 7, thereby stopping the workpiece 16 on the conveyor 15. After the execution of the instruction is completed, the instruction is stored in the temporary storage section 3. according to condition (3). will be deleted from However, since the contents of the write permission storage section 5 are not changed, writing of the command in step 4) remains prohibited.

続いてステップ2)の命令も同様に処理され、該命令の
実行によってロボットハンド13aが閉じられる。実行
部7による命令の実行終了後には時記憶部32から抹消
されるが、このときにはやはり書込許否記憶部5の内容
に変更はない(第4図(D)参照)。
Subsequently, the command in step 2) is processed in the same manner, and the robot hand 13a is closed by executing the command. After the execution unit 7 finishes executing the command, it is deleted from the time storage unit 32, but at this time, the contents of the write permission storage unit 5 remain unchanged (see FIG. 4(D)).

次にステップ3)のrM’0VEJ命令が読み出されて
実行部7により実行されるとロボットアームか第5図(
A)に示すように退避位置P、に移動される。この動作
が終了するとrMOVEj命令が前記した条件(3)に
従って一時記憶部記憶33から抹消され、その結果−時
記憶部3皇から全ての命令が消去されることになるため
、条件(4)に従って次の命令の書き込みが許可される
(書込許否記憶部5′ICは書込許可データ「ALW」
が書き込まれ第4図(A)と同じ状態になる)。
Next, when the rM'0VEJ command in step 3) is read out and executed by the execution unit 7, the robot arm or
It is moved to the evacuation position P as shown in A). When this operation is completed, the rMOVEj command will be deleted from the temporary storage unit memory 33 according to the condition (3) described above, and as a result, all commands will be deleted from the time storage unit 33, so according to the condition (4). Writing of the next command is permitted (write permission storage unit 5'IC stores write permission data "ALW").
is written, resulting in the same state as in FIG. 4(A)).

そして、ステップ4)、s)の命令も以上と同様に処理
される。即ち、ステップ4)のrOUTJ命令が一時記
憶部3Iに記憶された後ひき続きステップ5)のrMO
VEJ命令が一時記憶部に登録されると、それ以後の命
令の一時記憶部31への書き込みが禁止される。そして
、ステップ6)の実行によってロボットハンド13aか
部品18を掴む動作か終ると一時記憶部3Iは全て空き
状態となり次ステツプの命令の書き込みが許可される。
The instructions in steps 4) and s) are also processed in the same manner as above. That is, after the rOUTJ command in step 4) is stored in the temporary storage unit 3I, the rMO in step 5)
Once the VEJ instruction is registered in the temporary storage section, writing of subsequent instructions to the temporary storage section 31 is prohibited. When the operation of grasping the robot hand 13a or the component 18 is completed by executing step 6), the temporary storage section 3I becomes completely empty and writing of the command for the next step is permitted.

第4図(E)はステップ7)の命令が一時記憶部32に
格納された後の状態を示している。ステップ7)(II
)rMOVE :、50J命令は前述したように特別許
可命令であり、条件(2)に従って該命令が一時記憶部
32に記憶された時点では次の命令の書き込みが許可さ
れない。
FIG. 4(E) shows the state after the instruction in step 7) is stored in the temporary storage section 32. Step 7) (II
)rMOVE:, 50J instruction is a special permission instruction as described above, and writing of the next instruction is not permitted at the time the instruction is stored in the temporary storage unit 32 according to condition (2).

しかし、この命令にはr:50Jという属性がイ」いて
いるため、該命令の動作、つまり、ロボットアームの仮
想目標点(こ、の場合点P3への移動行程)の半分のと
ころにきた時点で、条件(2)に従って次のステップ8
)、”の命令についての書き込みが許可される。即ち、
第4図(F)に示すように、実行部7はrMOVE :
 50J命令に対応した動作の半分が終了した時点で書
込許否記憶部5内に書込許可データrALWJが書き込
まれるように信号を送出する。
However, since this command has the attribute r:50J, the action of the command, that is, the point at which the robot arm reaches the halfway point of the virtual target point (in this case, the movement distance to point P3) Then, according to condition (2), perform the next step 8.
), ” are allowed to be written. In other words,
As shown in FIG. 4(F), the execution unit 7 performs rMOVE:
When half of the operations corresponding to the 50J command are completed, a signal is sent so that the write permission data rALWJ is written into the write permission storage section 5.

これによって、第4図(G)に示すようにステップ8)
のrMOVE・30J命令が一時記憶部、例えば、3、
に記憶されると共に、その順序記憶部41には順位「2
」が書き込まれる( rMOVE : 50J命令が記
憶されている一時記憶部32に対応した順序記憶部32
の順位はステップ6)のroUTJ命令の実行後に「1
」に繰り上がっていることに注意)。
This results in step 8) as shown in Figure 4(G).
The rMOVE・30J instruction of the temporary storage section, e.g.
At the same time, the order storage unit 41 stores the rank "2".
" is written (rMOVE: order storage section 32 corresponding to the temporary storage section 32 in which the 50J instruction is stored.
The order of ``1'' is determined after executing the roUTJ instruction in step 6).
).

そして、rMOVE : 30J命令が命令読出部6に
よって読み出され実行部7に移送され、これら2つの特
別許可命令による重畳動作が行なわれることになるが、
このときの状況を第5図に示す。
Then, the rMOVE: 30J instruction is read by the instruction reading section 6 and transferred to the execution section 7, and a superimposed operation by these two special permission instructions is performed.
The situation at this time is shown in FIG.

即ち、ロボットアームの先端はステップ5)の命令の実
行終了時に点P2に来ており、ステップ6)の後ではロ
ボットハンド13aが部品18を掴んだ状態になってい
る。この点P2を第1基準点とすると、ステップ7)の
rMOVE : 50J命令の実行開始によって基準位
置レジスタ8aには第1基準点P2の座標が設定され、
偏位レジスタ8bには第1基準点P2からの偏差が時間
経過に伴って加算されていく。
That is, the tip of the robot arm is at point P2 at the end of the execution of the command in step 5), and after step 6), the robot hand 13a is in a state where it grips the component 18. Assuming that this point P2 is the first reference point, the coordinates of the first reference point P2 are set in the reference position register 8a by the start of execution of the rMOVE:50J instruction in step 7).
The deviation from the first reference point P2 is added to the deviation register 8b over time.

よって、ロボットアームは最初rMOVE:50J命令
の仮想目標点P3に向って移動して行くことになるが、
ロボットアームが第1基準点P2と仮想目標点P3との
中点Qに達すると次ステツプ8)のrMOVE : 3
0J命令による動作が開始される。この時、基準位置レ
ジスタ8a内のデータは変更されず、偏位レジスタ8b
においてはrMOVE : 50J命令に関する偏位量
とrMOVE : 30J命令に関する偏位量とが加算
され、その結果が加算部9て基準位置レジスタ8aのデ
ータと加算されて最終的にサーボ制御部12に読み取ら
れることになる。
Therefore, the robot arm will initially move toward the virtual target point P3 of the rMOVE:50J command, but
When the robot arm reaches the midpoint Q between the first reference point P2 and the virtual target point P3, the next step 8) rMOVE: 3
The operation based on the 0J instruction is started. At this time, the data in the reference position register 8a is not changed, and the data in the deviation register 8b is unchanged.
In this case, the deviation amount related to the rMOVE: 50J instruction and the deviation amount related to the rMOVE: 30J instruction are added, and the result is added to the data in the reference position register 8a by the adding section 9 and finally read by the servo control section 12. It will be done.

これによって、仮想目標点P3に向っていたロボットア
ームは仮想目標点P4をも目ざして破線で示す経路19
に示すように曲線的に進んでいき、経路19上の点Rに
達するとさらに次のステップ9)の命令についての書き
込みが許可される。つまり、点P3と点P4とを結ぶ軸
に対する点Rの位置の射影成分が点p3−p4間の距離
を3ニアに内分する点に対応しており、点RではrMO
VE : 30J命令の完了比率(30%)分の動作が
なされたことになるのて、条件(2)に従って次ステツ
プ9)のrMOVEJ命令の書き込みが許可され、例え
は、第4図(H)に示すように一時記憶部33にrMO
VEJ命令が格納され、その順序記憶部43には順位「
3」が書き込まれる。そして、このrMOVEJ命令は
ロボット動作命令に属するので条件(1)に従って次ス
テツプ10)の命令の書き込みは禁止される。
As a result, the robot arm, which was heading towards the virtual target point P3, also aims at the virtual target point P4, taking the path 19 shown by the broken line.
The process progresses in a curved manner as shown in FIG. 1, and when it reaches point R on path 19, writing of the next step 9) is permitted. In other words, the projected component of the position of point R with respect to the axis connecting points P3 and P4 corresponds to a point that internally divides the distance between points p3 and p4 into 3, and at point R, rMO
VE: Since the operation corresponding to the completion ratio (30%) of the 30J instruction has been completed, writing of the rMOVEJ instruction in the next step 9) is permitted according to condition (2), and for example, as shown in FIG. 4(H) rMO is stored in the temporary storage unit 33 as shown in
A VEJ instruction is stored, and its order storage unit 43 has a rank "
3" is written. Since this rMOVEJ command belongs to the robot movement command, writing of the next step 10) command is prohibited according to condition (1).

こうしてステップ7)、8)、9)の命令による3つの
動作が重複して実現され、ロボットアームは点P5を目
ざして進んで行く。この時の状況を概念的に示したもの
が第5図(B)であり、各命令に対応した動作が完了し
た時点を100%とした線分上の点によって刻々の達成
度が表現されている。尚、これらの命令が全て終了する
逐次の命令の書き込みが禁止されている。
In this way, the three operations according to the instructions in steps 7), 8), and 9) are realized in duplicate, and the robot arm moves toward point P5. Figure 5 (B) conceptually shows the situation at this time, and the moment-by-moment achievement level is expressed by points on a line segment with 100% at the time when the action corresponding to each command is completed. There is. Note that sequential writing of instructions until all of these instructions are completed is prohibited.

上記重畳動作か終了した時点ては、ロボットハント13
aはワーク16への部品の装置位置に来ており、また、
−時記憶部3.は全て空き状態になっているのて次のス
テップ10)、11)の命令が順次書き込まれる。
When the above superimposition operation is completed, Robot Hunt 13
a is at the device position of the part to the workpiece 16, and
-Time storage section 3. are all empty, so the instructions in the next steps 10) and 11) are sequentially written.

そして、これらの命令によってロボットハント13aが
開かれた後にアームが点P6に退避すると、ステップ1
2)のrOUTJ命令によってワーク16の停止が解除
されて次の工程に渡されることになる。
Then, when the arm retreats to point P6 after the robot hunt 13a is opened by these commands, step 1 is executed.
The stoppage of the workpiece 16 is canceled by the rOUTJ command in 2), and the workpiece 16 is passed to the next process.

(c、構成例)[第6図、第7図コ 第6図は上記ロボットの数値制御装置1を用いて制御シ
ステムを構築した例20を示している。
(c. Configuration Example) [Figs. 6 and 7] Fig. 6 shows an example 20 in which a control system is constructed using the numerical control device 1 for a robot.

図中21はキーホード等の入力部であり、入力部21を
介して入力されてプログラムはプログラム書込部22を
介して人力されてプログラム記憶部23に記憶される。
In the figure, reference numeral 21 denotes an input unit such as a keyboard, and the program input through the input unit 21 is manually written through the program writing unit 22 and stored in the program storage unit 23.

プログラム書込部22はプログラム記憶部23へのプロ
グラムの書き込みにあたっての領域管理等の処理を受は
持っている。
The program writing section 22 has processing such as area management when writing a program to the program storage section 23.

24はプログラム解釈部であり、プログラム記憶部23
内のプログラムが高級(レベル)言語で記述されている
ような場合に、これを解釈して低次の単純化された命令
に分解する。
24 is a program interpretation section, and a program storage section 23
When a program is written in a high-level language, it is interpreted and broken down into low-order simplified instructions.

例えば、表2に示すような高級言語で記述されたプログ
ラムを解釈して、表3のようなロボットやIlo等に直
接送ることのてきる命令に変換する作業を行なっている
For example, a program written in a high-level language as shown in Table 2 is interpreted and converted into instructions that can be sent directly to a robot, Ilo, etc. as shown in Table 3.

表2 (高級言語によるプログラム例) 表3 (解釈後のプログラム) このように低級(レベル)言語に変換されたプログラム
を構成する個々の命令はプログラム解釈部24がロボッ
トの数値制御装置1の命令書込制御部2に書き込みの要
求W 、、9を行なうことで交番づ渡される。
Table 2 (Example of a program in a high-level language) Table 3 (Program after interpretation) The individual instructions that make up the program converted into a low-level (level) language as described above are processed by the program interpreter 24 as instructions for the robot's numerical control device 1. By making a write request W, 9 to the write control unit 2, the alternation is passed.

そして、−時記憶部3Iに記憶された命令か命令読出部
6により読み出されて実行部7に転送されると、実行部
7が位置設定用レジスタ部8に目標位置を設定し、これ
をサーボ制御部25が参照することでロボット26の動
作がなされ、また、実行部7からインターフェース27
を介して周辺装置28.28、・・・に制御信号が送出
されることによってロボット26に対する補助的な作業
が行なわれる。尚、周辺機器の制御用プログラムとロボ
ット用プログラムとの間の同期の確保はプログラム解釈
部24内で行なう方が操作性の点て望ましい。
Then, when the instruction stored in the -time storage section 3I is read out by the instruction reading section 6 and transferred to the execution section 7, the execution section 7 sets the target position in the position setting register section 8. The servo control unit 25 refers to the robot 26, and the execution unit 7 and the interface 27
Auxiliary work for the robot 26 is performed by sending control signals to the peripheral devices 28, 28, . Note that it is preferable from the viewpoint of operability that synchronization between the peripheral device control program and the robot program is ensured within the program interpreter 24.

第7図はロボットの数値制御装置1を用いた別の例29
を示しており、前記した例2oではロボットに関するプ
ログラムと周辺装置に関するプログラムとか混在した形
式で−のプログラムとして記述されていたか、この例2
9では各々の制御用プログラムか独立した形式とされて
いる。
Figure 7 is another example 29 using the robot numerical control device 1.
In the example 2o mentioned above, the program related to the robot and the program related to the peripheral devices were written in a mixed format as a - program.
In 9, each control program is an independent format.

この場合、記憶部30内の周辺制御用プログラムが解釈
部31によって解釈され単純制御命令に分解される。
In this case, the peripheral control program in the storage section 30 is interpreted by the interpretation section 31 and decomposed into simple control instructions.

また、記憶部32内のロボット用プログラムが解釈部3
3によってやはり単純動作命令に分解される。
Also, the robot program in the storage unit 32 is stored in the interpretation unit 3.
3, it is also decomposed into simple action instructions.

そして解釈部31や33の出力する時系列的な命令は混
合部34に次々と入力される。そして、混合部34は命
令が到着すると、ロボットの数値制御装置1の命令書込
制御部2に対する書き込み要求を命令の先着順に行う。
The time-series instructions output from the interpreters 31 and 33 are input one after another to the mixer 34. When the command arrives, the mixing unit 34 issues a write request to the command writing control unit 2 of the numerical control device 1 of the robot on a first-come, first-served basis.

こうして、ロボットの数値制御装置1では前述したよう
な命令の処理が行なわれ、位置設定用レジスタ部8の情
報がサーボ制御部35によって読み取られてロボット3
6の制御がなされ、また、インターフェース37を介し
て周辺装置38.38、・・・の制御が行なわれる。
In this way, the robot's numerical control device 1 processes the instructions as described above, and the information in the position setting register section 8 is read by the servo control section 35 and the robot 3
6 is controlled, and peripheral devices 38, 38, . . . are controlled via the interface 37.

このように、プログラムが個別に記述されていても複数
の命令の並行処理が可能となる。
In this way, multiple instructions can be processed in parallel even if the programs are written individually.

(G 発明の効果) 以上に記載したところから明らかなように、本発明ロボ
ットの数値制御装置の第1のものは、命令を記憶するた
めの複数の一時記憶部と、命令の書込要求を受けると一
定の条件の下で該命令を時記憶部に書き込む書込手段と
、書込手段によって一時記憶部に書き込まれた命令の種
類に応じて次に行なうべき命令に関する一時記憶部への
書き込みを許可し又は禁止する書込許否指定手段と、−
時記憶部に記憶された命令を読み出す続出手段と、読出
手段により読み出された命令を実行する実行手段とを備
えたロボットの数値制御装置であって、−時記憶部に書
き込まれた命令の種類に応じて書込許否指定手段が次の
命令について一時記憶部への書き込みを許可するか、あ
るいは禁止するかを命令の書込時又は実行時に書込手段
に対して指定し、書込許可指令手段か一時記憶部への書
込許可を出さない場合には次の命令は一時記憶部に書き
込まれず、この時点まてに一時記憶部に記憶されている
全ての命令が読み出されて実行手段の並行処理により略
同時に実行されるようにしたことを特徴とする。
(G Effect of the Invention) As is clear from the above description, the first numerical control device for the robot of the present invention includes a plurality of temporary storage units for storing commands and a request for writing commands. a writing means for writing the command into the time storage section under certain conditions when received, and writing into the temporary storage section regarding the next command to be executed according to the type of the instruction written into the temporary storage section by the writing means. writing permission designation means for permitting or prohibiting writing;
A numerical control device for a robot, comprising: a serialization means for reading out an instruction stored in a time storage section; and an execution means for executing the instruction read out by the reading means; Depending on the type, the write permission/denial designation means specifies whether to permit or prohibit writing to the temporary storage unit for the next instruction at the time of writing or executing the command, and allows writing. If the command means does not give permission to write to the temporary storage unit, the next command will not be written to the temporary storage unit, and all commands stored in the temporary storage unit up to this point will be read and executed. It is characterized in that it is executed almost simultaneously by means of parallel processing of the means.

従って、これによれは、命令の書き込みや実行に際して
、該命令の種類に応じて書込許可指定手段が次の命令を
一時記憶部に書き込んで良いかどうかを決定し、書込許
否指定手段による次の命令の書き込みが禁止される迄の
間に一時記憶部内に格納された全命令が読出手段によっ
て一括して読み出された後実行手段により並行処理され
るという統一化された手続によってロボット言語による
命令と周辺装置の制御命令との並行処理や、ロボットの
動作に係る複数の命令に関しての同時動作を行なうこと
かでき、ロボットの制御命令や周辺装置の制御命令を同
じ処理系に載せることができるので、ロボット制御装置
や周辺装置間あるいはロボット動作に関するタスク間の
複雑な通信処理から開放され、また、並行処理のために
特別な指令をプログラム中に押入するといった必要がな
くプログラム上の負担が軽減され、プログラムミスの増
加を招くこともない。
Accordingly, when writing or executing an instruction, the write permission designation means determines whether or not the next instruction can be written to the temporary storage section according to the type of the instruction, and the write permission designation means The robot language is developed using a unified procedure in which all instructions stored in the temporary storage unit are read out at once by the reading means until writing of the next instruction is prohibited, and then processed in parallel by the execution means. It is possible to perform parallel processing of commands and peripheral device control commands, and to perform simultaneous operations on multiple commands related to robot motion, and it is possible to load robot control commands and peripheral device control commands on the same processing system. This eliminates the need for complex communication processing between robot control devices and peripheral devices, or between tasks related to robot motion, and eliminates the need to insert special commands into programs for parallel processing, reducing the burden on programs. This reduces the number of program errors and does not cause an increase in program errors.

また、本発明ロボットの数値制御装置の第2のものは、
第1の発明の構成要素に加えてさらに、ロボット言語で
記述されたプログラムを遂次解釈して個々の単純動作命
令に分解する第1の言語解釈部と、周辺装置に関する制
御用言語で記述されたプログラムを遂次解釈して個々の
単純制御命令に分解する第2の言語解釈部と、第1及び
第2の言語解釈部によって得られた命令を混合する混合
部とを備え、該混合部が書込手段に対して命令の書込要
求を行なうようにしたことを特徴とする。
Moreover, the second numerical control device for the robot of the present invention is
In addition to the components of the first invention, it further includes a first language interpreter that successively interprets a program written in a robot language and decomposes it into individual simple operation instructions, and a first language interpreter that sequentially interprets a program written in a robot language and breaks it down into individual simple operation instructions; a second language interpreter that successively interprets and decomposes a program into individual simple control instructions; and a mixer that mixes the instructions obtained by the first and second language interpreters; The present invention is characterized in that the controller requests the writing means to write an instruction.

従って、これによれは、ロボットや周辺装置の制御用プ
ログラムが独立した形式として別個に作成されていても
、ロボットや周辺装置に関する複数の命令の並処理によ
り同時動作が可能となる。
Therefore, even if the program for controlling the robot or peripheral device is created separately in an independent format, simultaneous operation is possible by parallel processing of a plurality of commands related to the robot or peripheral device.

さらに本発明ロボットの数値制御装置の第3のものは、
第1又は第2の発明において、実行手段によってロボッ
トの動作に関する指令位置が設定される指令位置設定手
段を設け、該指令位置設定手段か、指令位置についての
基準位置を設定するための基準位置設定部と、基準位置
からの偏位量が加算される偏位量設定部と、基準位置設
定部の基準位置情報と偏位量設定部の偏位情報とを加算
する加算部とからなり、書込許否指定手段によって次の
命令についての一時記憶部への書き込みが禁止され、読
出手段により一時記憶部の命令についての一連の読み出
し動作が開始される前に実行手段が偏位量設定部の内容
を初期化し、読み出された命令かロボットの動きを伴う
命令である場合には、実行手段が指令位置についての基
準位置情報を基準位置設定部に設定すると共に、時々の
偏位量を計算して、該計算結果を偏位量設定部の偏位情
報に加算して行き、加算部による基準位置情報と偏位情
報の加算結果に基づいてロボットの動きか制御され、命
令の実行終了後に該命令が一時記憶部から消去される時
に該命令による最終到達位置情報か実行手段によって基
準位置設定部に設定されるようにしたことを特徴とする
Furthermore, the third numerical control device for the robot of the present invention is:
In the first or second invention, a command position setting means is provided in which a command position regarding the operation of the robot is set by the execution means, and the command position setting means sets a reference position for setting a reference position for the command position. a deviation amount setting section to which the amount of deviation from the reference position is added; and an addition section to add the reference position information of the reference position setting section and the deviation information of the deviation amount setting section; Writing of the next instruction to the temporary storage section is prohibited by the write permission/denial designation means, and the execution means writes the contents of the deviation amount setting section before the reading means starts a series of reading operations for the instructions from the temporary storage section. If the command is read out or the command involves movement of the robot, the execution means sets reference position information regarding the command position in the reference position setting section and calculates the amount of deviation from time to time. Then, the calculation result is added to the deviation information of the deviation amount setting section, and the movement of the robot is controlled based on the addition result of the reference position information and deviation information by the addition section, and after the execution of the command is completed, the corresponding The present invention is characterized in that when an instruction is deleted from the temporary storage section, the final position information according to the instruction is set in the reference position setting section by the execution means.

従って、これによれば書込許否指定手段によって次の命
令についての一時記憶部への書き込みか禁止され、読出
手段により一時記憶部の命令についての一連の読み出し
動作が開始される前に実行手段が偏位量設定部の内容を
初期化することて、実行手段による偏位量の計算時の誤
差が累積しないようにし、誤差の拡大を防止することが
できる。
Therefore, according to this, writing of the next instruction to the temporary storage section is prohibited by the write permission/denial designation means, and the execution means is executed before the reading means starts a series of read operations for the instructions from the temporary storage section. By initializing the contents of the deviation amount setting section, it is possible to prevent errors from accumulating when calculating the deviation amount by the execution means, and to prevent the errors from increasing.

尚、前記した実施例はあくまで本発明ロボットの数値制
御装置の実施の一例を示すものであり、本発明の技術的
範囲がこれらのものにのみ狭く解釈される訳ではなく、
例えば、−時記憶部の最大数を4個とする必要はなく、
記憶容量の許す範囲で適宜選定すれば良く、このような
本発明の技術的範囲を逸脱しない限りにおける各種態様
での実施が可能である。
It should be noted that the above-mentioned embodiments are merely examples of implementation of the numerical control device for the robot of the present invention, and the technical scope of the present invention should not be interpreted narrowly only to these embodiments.
For example, it is not necessary to set the maximum number of − hour storage units to 4,
It may be selected as appropriate within the range permitted by the storage capacity, and the present invention can be implemented in various forms without departing from the technical scope of the present invention.

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

第1図乃至第7図は本発明ロボットの数値制御装置の実
施の一例を示すものであり、第1図は基本構成を示すブ
ロック図、第2図は位置設定用レジスタ部について説明
するための図であり、(A)は構成を示すブロック図、
(B)は動作の説明図、第3図はロボットの数値制御装
置を用いた制御の一例を概略的に示すブロック図、第4
図は処理の流わの一例を(A)から(H)へ順を追って
示す説明図、第5図は重畳動作に関する説明図であり、
(A)はロボットの動きを簡略化して示す概略図、(B
)は動作命令の並行処理の状況を概念的に示す説明図、
第6図はロボットの数値制御装置を用いた構成例を示す
ブロック図、第7図は別の構成例を示すブロック図、第
8図は従来のロボットの数値制御装置の一例を示すブロ
ック図、第9図は重畳動作の概要を説明するための概略
図である。 符号の説明 1・・・ロボットの数値制御装置、 2・・・書込手段、 31  (i=1.2.3.4)・・・−時記憶部、 5・・・書込許否指定手段、 6・・・読出手段、  7・・・実行手段、8・・・指
令位置設定手段、 8a・・・基準位置設定部、 8b・・・偏位量設定部、 9・・・加算部、13・・
・ロボット、  26・・・ロボット、31・・・第2
の言語解釈部、 33・・・第1の言語解釈部、 34・・・混合部、  36・・・ロボット出 願 人
 ソニー株式会社
1 to 7 show an example of the implementation of the numerical control device of the robot of the present invention, FIG. 1 is a block diagram showing the basic configuration, and FIG. 2 is a block diagram for explaining the position setting register section. FIG. 3A is a block diagram showing the configuration;
(B) is an explanatory diagram of the operation, Fig. 3 is a block diagram schematically showing an example of control using a robot numerical control device, and Fig. 4 is an explanatory diagram of the operation.
The figure is an explanatory diagram showing an example of the flow of processing in order from (A) to (H), and FIG. 5 is an explanatory diagram regarding the superimposition operation,
(A) is a schematic diagram showing the robot's movement in a simplified manner; (B)
) is an explanatory diagram conceptually showing the situation of parallel processing of operation commands,
FIG. 6 is a block diagram showing a configuration example using a robot numerical control device, FIG. 7 is a block diagram showing another configuration example, and FIG. 8 is a block diagram showing an example of a conventional robot numerical control device. FIG. 9 is a schematic diagram for explaining the outline of the superimposing operation. Explanation of symbols 1... Robot numerical control device, 2... Writing means, 31 (i=1.2.3.4)...-time storage unit, 5... Writing permission/denial designation means , 6... Reading means, 7... Executing means, 8... Command position setting means, 8a... Reference position setting section, 8b... Deviation amount setting section, 9... Adding section, 13...
・Robot, 26...Robot, 31...Second
33...First language interpretation unit, 34...Mixing unit, 36...Robot applicant Sony Corporation

Claims (3)

【特許請求の範囲】[Claims] (1)命令を記憶するための複数の一時記憶部と、命令
の書込要求を受けると一定の条件の下で該命令を一時記
憶部に書き込む書込手段と、書込手段によって一時記憶
部に書き込まれた命令の種類に応じて次に行なうべき命
令に関する一時記憶部への書込を許可し又は禁止する書
込許否指定手段と、一時記憶部に記憶された命令を読み
出す読出手段と、 読出手段により読み出された命令を実行する実行手段と
を備えたロボットの数値制御装置であって、一時記憶部
に書込まれた命令の種類に応じて書込許否指定手段が次
の命令について一時記憶部への書き込みを許可するか、
あるいは禁止するかを命令の書込時又は実行時に書込手
段に対して指定し、書込許可指令手段が一時記憶部への
書込許可を出さない場合には次の命令は一時記憶部に書
き込まれず、この時点までに一時記憶部に記憶されてい
る全ての命令が読み出されて実行手段の並行処理により
略同時に実行されるようにしたことを特徴とするロボッ
トの数値制御装置
(1) A plurality of temporary storage units for storing instructions, a writing means for writing the instructions into the temporary storage unit under certain conditions upon receiving a write request for an instruction, and a temporary storage unit by the writing means. writing permission/disapproval designating means for permitting or prohibiting writing of the next instruction to be performed in the temporary storage section according to the type of instruction written in the instruction; and reading means for reading out the instruction stored in the temporary storage section; A numerical control device for a robot comprising execution means for executing the command read by the reading means, wherein the writing permission/disapproval designation means is configured to perform the next command according to the type of the command written in the temporary storage unit. Allow writing to temporary storage, or
If the writing permission command means does not issue permission to write to the temporary storage unit, the next command will be written to the temporary storage unit. A numerical control device for a robot, characterized in that all instructions stored in a temporary storage unit up to this point without being written are read out and executed almost simultaneously by parallel processing of an execution means.
(2)ロボット言語で記述されたプログラムを遂次解釈
して個々の単純動作命令に分解する第1の言語解釈部と
、周辺装置に関する制御用言語で記述されたプログラム
を遂次解釈して個々の単純制御命令に分解する第2の言
語解釈部と、第1及び第2の言語解釈部によって得られ
た命令を混合する混合部とを備え、該混合部が書込手段
に対して命令の書込要求を行なうようにしたことを特徴
とする特許請求の範囲第1項記載のロボットの数値制御
装置
(2) A first language interpreter that sequentially interprets a program written in a robot language and breaks it down into individual simple operation commands; a second language interpreter that decomposes the instructions into simple control instructions; and a mixer that mixes the instructions obtained by the first and second language interpreters, and the mixer sends the instructions to the writing means. A numerical control device for a robot according to claim 1, characterized in that it makes a write request.
(3)実行手段によってロボットの動作に関する指令位
置が設定される指令位置設定手段を設け、該指令位置設
定手段が、指令位置についての基準位置を設定するため
の基準位置設定部と、基準位置からの偏位量が加算され
る偏位量設定部と、基準位置設定部の基準位置情報と偏
位量設定部の偏位情報とを加算する加算部とからなり、
書込許否指定手段によって次の命令についての一時記憶
部への書き込みが禁止され、読出手段により一時記憶部
の命令についての一連の読み出し動作が開始される前に
実行手段が偏位量設定部の内容を初期化し、 読み出された命令がロボットの動きを伴う命令である場
合には、実行手段が指令位置についての基準位置情報を
基準位置設定部に設定すると共に、時々の偏位量を計算
して該計算結果を偏位量設定部の偏位情報に加算して行
き、加算部による基準位置情報と偏位情報の加算結果に
基づいてロボットの動きが制御され、命令の実行終了後
に該命令が一時記憶部から消去される時に該命令による
最終到達位置情報が実行手段によって基準位置設定部に
設定されるようにしたことを特徴とする特許請求第1項
又は第2項記載のロボットの数値制御装置
(3) A command position setting means is provided in which a command position related to the robot's operation is set by the execution means, and the command position setting means includes a reference position setting unit for setting a reference position for the command position, and a reference position setting unit for setting a reference position for the command position. It consists of a deviation amount setting part to which the deviation amount of is added, and an addition part to add the reference position information of the reference position setting part and the deviation information of the deviation amount setting part,
The write permission designation means prohibits writing of the next instruction to the temporary storage section, and the execution means sets the deviation amount setting section before the reading means starts a series of reading operations for the instructions from the temporary storage section. The content is initialized, and if the read command is a command that involves movement of the robot, the execution means sets reference position information regarding the command position in the reference position setting section and calculates occasional deviation amounts. The calculation result is added to the deviation information of the deviation amount setting section, and the movement of the robot is controlled based on the addition result of the reference position information and deviation information by the addition section. The robot according to claim 1 or 2, characterized in that when the instruction is deleted from the temporary storage section, the final arrival position information according to the instruction is set in the reference position setting section by the execution means. numerical control device
JP32167889A 1989-12-12 1989-12-12 Numerical controller of robot Pending JPH03182907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32167889A JPH03182907A (en) 1989-12-12 1989-12-12 Numerical controller of robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32167889A JPH03182907A (en) 1989-12-12 1989-12-12 Numerical controller of robot

Publications (1)

Publication Number Publication Date
JPH03182907A true JPH03182907A (en) 1991-08-08

Family

ID=18135198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32167889A Pending JPH03182907A (en) 1989-12-12 1989-12-12 Numerical controller of robot

Country Status (1)

Country Link
JP (1) JPH03182907A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016021119A (en) * 2014-07-14 2016-02-04 ファナック株式会社 Numerical controller with function of automatically reconstructing settings and function of preventing erroneous settings

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016021119A (en) * 2014-07-14 2016-02-04 ファナック株式会社 Numerical controller with function of automatically reconstructing settings and function of preventing erroneous settings
US9891615B2 (en) 2014-07-14 2018-02-13 Fanuc Corporation Numerical controller with function of automatically reconstructing settings and function of preventing incorrect settings

Similar Documents

Publication Publication Date Title
US4803613A (en) Decentralized master-slave control apparatus
US6092124A (en) Method and apparatus for accelerating the rendering of images
Saridis Intelligent robotic control
Lloyd et al. Extending the RCCL programming environment to multiple robots and processors
US5204942A (en) Robot control system for controlling a set of industrial robots for cooperative operation
US6345212B1 (en) Automatic variable linkage mechanism for integrating third party software components
US4021651A (en) Programmed manipulator
US5984499A (en) Method and apparatus for a numerical control system for processing multiple job streams
US4555590A (en) Method and apparatus for entering graphics
WO2022034848A1 (en) Numerical control system and robot control method
Lloyd et al. Multi-rccl user’s guide
JPH03182907A (en) Numerical controller of robot
US5060133A (en) Transputer CNC processor
CN113534744A (en) Software architecture and hardware architecture for forming numerical control system
EP3822719A1 (en) Program development device and controller
Hohmeyer CDC 1700 FORTRAN for process control
JP2672217B2 (en) Servo motor control method and device
JPS60168206A (en) Numerical control device
JPH01195505A (en) Numerical controller
JPH0883110A (en) Controller
KR0161003B1 (en) Dual robot control method
Kirćanski et al. Multiprocessor control system for industrial robots
JPH02214938A (en) Data processor
Kazanzides et al. SIERA: A multiprocessor system for robotics
JPS6220007A (en) Instruction adding system for numerical controller