JPS6111811A - Robot control device - Google Patents

Robot control device

Info

Publication number
JPS6111811A
JPS6111811A JP59131855A JP13185584A JPS6111811A JP S6111811 A JPS6111811 A JP S6111811A JP 59131855 A JP59131855 A JP 59131855A JP 13185584 A JP13185584 A JP 13185584A JP S6111811 A JPS6111811 A JP S6111811A
Authority
JP
Japan
Prior art keywords
data
robot
variable
control device
command
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
JP59131855A
Other languages
Japanese (ja)
Inventor
Hidemi Ando
安藤 秀美
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59131855A priority Critical patent/JPS6111811A/en
Publication of JPS6111811A publication Critical patent/JPS6111811A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • G05B19/40931Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of geometry
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • G05B19/425Teaching successive positions by numerical control, i.e. commands being entered to control the positioning servo of the tool head or end effector
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/45Nc applications
    • G05B2219/45083Manipulators, robot
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Robotics (AREA)
  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To improve interactive efficiency and to allow a robot body to execute safe and flexible work by adding a function for the input/output of data to/from a peripheral device to robot languages. CONSTITUTION:The whole robot control device is constituted of a robot control device 1, a peripheral device 2 having a data I/O function, a robot body 3, and an external apparatus 4 and processing is executed by a CPU21 in the device 1 to control the robot body 3 or the like. In the device 1, a variable storage part 24 for storing variables included in a working program is formed. The woking program stored in a working program storage part 23 is executed successively from address ''1'', whether a variable LA in an operand part exists in the variable storage part 24 or not is checked and if the variable LA is normal, the variable LA is outputted to the peripheral device 2 such as a personal computer. The variable LA is displayed on a display device, the positional and posture data of the robot 3 are inputted and stored in the variable storage part 24, and after completing the execution of a GETL instruction, the working of the robot 3 is executed.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、ロボット制御装置に関するもの℃特にこの
発明は作業プログラム実行時におけるロボット外部周辺
装置とのデータの入力出方に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a robot control device. In particular, the present invention relates to a method of inputting and outputting data to and from external peripheral devices of a robot during execution of a work program.

〔従来技術〕[Prior art]

従来のこの種口ボット制御装置は、ロボット言語で記述
されたプログラム(以下これ乞作業プログラムと呼ぶ)
から、ロボット制御装置に内蔵されたCR,T表示装置
等の表示装置にメツセージ乞出力する命令(例えば印E
MJ I?lR,INTJなと)があり。
This conventional bot control device uses a program written in a robot language (hereinafter referred to as a work program).
command to output a message to a display device such as a CR or T display device built into the robot control device (for example, an E mark).
MJ I? IR, INTJ).

作業プログラムの実行時に、このようなメツセージを表
示装置に出力することはできたが、たとえば、「パソコ
ン」等の外部周辺装置からのデータ入力機能や、入力し
たデータをロボット言語で使用可能な変数領域に格納す
る機能は備えていなかった。
Although it was possible to output such messages to a display device when a work program was executed, for example, there is no data input function from an external peripheral device such as a "personal computer", or a variable that allows input data to be used in the robot language. It did not have the ability to store data in an area.

〔発明の概要〕[Summary of the invention]

この発明は、かかる点に着目してなされたもので、従来
の機能に加えて外部周辺装置からのデータ入力の機能と
、その入力を起動するロボット言語ヲ有し、かつその入
力したデータをロボット言語で使用可能な変数領域に格
納することができるロボット制御装置を提供しようとす
るものであ&〔発明の実施例〕 第1図〜第6図は伺れもこの発明の一実施例を示すもの
である。まず、第1図に示すこの発明のロボット制御装
置の全体構成゛ブロック図におい℃(1)はロボット制
御装置、(2)はデータ入出力機能を有する周辺装置、
(3)はハンド装置を有するロボット水体、(4)は外
部機能、(11)は上記ロボット制御装置(1)内の命
令実行部、  (12)は作業プログラム記憶部、 (
13)は変数記憶部、(14N′i周辺装置制御部であ
れ 次に、第2図の上記ロボット制御装置(1)ヲ更に具体
的に構成した場合のブロック図において、■)はマイク
ロプロセッサなどのCPU (中央処理装置)。
This invention was made with attention to this point, and in addition to the conventional functions, it has a function of inputting data from an external peripheral device, a robot language that activates the input, and a robot language that activates the input data. The purpose is to provide a robot control device that can store data in a variable area that can be used in language. It is something. First, in the block diagram of the overall configuration of the robot control device of the present invention shown in FIG. 1, (1) is the robot control device, (2) is a peripheral device having a data input/output function,
(3) is a robot water body having a hand device, (4) is an external function, (11) is a command execution unit in the robot control device (1), (12) is a work program storage unit, (
13) is a variable storage section, (14N'i peripheral device control section) Next, in the block diagram of a more specific configuration of the robot control device (1) in FIG. 2, ■) is a microprocessor, etc. CPU (Central Processing Unit).

(22)は上記第1図における命令実行部(11)の処
理手順をプログラムとして記憶する制御プログラム記憶
部、(23)は作業プログラム記憶部、(24)は作業
プログラムに付帯する変数記憶部、(25)はCPU世
線、(26)はロボット本体(3)?位置決めする位置
決め制御部、(2万はコンベア等ロボット本体と連動し
て作業を行なう外部機器制御部、  (28)はデータ
入出f!機能な有する周辺装置(2)に対する周辺装置
制御部である。
(22) is a control program storage unit that stores the processing procedure of the instruction execution unit (11) in FIG. 1 as a program; (23) is a work program storage unit; (24) is a variable storage unit attached to the work program; (25) is the CPU line, (26) is the robot body (3)? (2000) is a positioning control unit that performs positioning, (20,000 is an external device control unit such as a conveyor that performs work in conjunction with the robot body, and (28) is a peripheral device control unit for the peripheral device (2) that has a data input/output f! function.

次に、第3図は第2図における作業プログラム記憶部(
23)と変数記憶部(24)のプ・ログラムの一例を示
す説明図、第4図はたとえばパソコン等の周辺装置(2
1の一実施例な示すブロック図で、(31)はキャラク
タディスプレイ装置等の表示装置−<32)はJisc
ii  等のフルキーボードである。
Next, FIG. 3 shows the work program storage section (
23) and a variable storage unit (24), FIG.
In the block diagram showing one embodiment of 1, (31) is a display device such as a character display device - <32) is a Jisc
It is a full keyboard such as ii.

次に、第5図に示す(61)は、この発明にかかるロボ
ット制御装置における制御プログラム記憶部(22)の
一部を機能別に示すブロック図で、(51)は第3図に
示す作業プログラム記憶部(23)の命令を判断する命
令判断部、 (52)は命令側に必要なデータ?作成す
るコマンドデータ・テキストデータ作成部+  (53
)はこのコマンドデータ・テキストデータ作成部(52
)で作成されたデータを周辺装置(2)に送信するデー
タ送信部、 (54)12周辺装置(2)からデータを
読み込むデータ受信部、(55)は受信1.たデータが
「正規」か「エラー」かな判断するエラー判定部、(5
6)は命令の完了処理を行なう終了処理部である。、(
62)は周辺装置(2)の制御プログラムを機能別に示
すブロック図で、(57)はデータ入力されるまで待ち
状態とをるデータ入力待ち部、  (58)は入力され
たコマンドデータから命令を判断する命令判断部、(5
9)は命令側に必要処理を行なう命令処理部m  (6
0)はこの命令処理部(59)で作成またデータをロボ
ット制御装置(11に送信するデータ送信部である。
Next, (61) shown in FIG. 5 is a block diagram showing a part of the control program storage unit (22) in the robot control device according to the present invention by function, and (51) is a block diagram showing the work program shown in FIG. An instruction judgment section that judges the instruction in the storage section (23). Is (52) data necessary for the instruction side? Command data/text data creation section + (53
) is this command data/text data creation section (52
) is a data transmitter that transmits the data created in the peripheral device (2), (54) a data receiver that reads data from the peripheral device (2), and (55) is a receiver 1. An error determination unit (5) determines whether the received data is “normal” or “error”.
6) is an end processing unit that performs instruction completion processing. ,(
62) is a block diagram showing the control program of the peripheral device (2) by function, (57) is a data input waiting section that waits until data is input, and (58) is a block diagram that reads instructions from input command data. A command judgment unit that makes a judgment (5
9) is an instruction processing unit m (6
Reference numeral 0) is a data transmitting unit that creates data in this command processing unit (59) and transmits data to the robot control device (11).

次に、第6図はロボット制御@ [111と、周辺装置
(2)間で実際に授受されるデータの具体例ケ示すもの
である6(61)、(62)I(63)は何れもコマン
ドデータで、  (61)はPR,iNT命令、(62
)はGETI命令−(63)はGETL命令なそれぞれ
示してt、Nる。また、 (64)、(65)は周辺装
置(2)からの応答データで、 (64)はAC,’に
データ、(65)はNACKデータである。さらに、 
 (66)は変数データで、整変数の場合は、整変数デ
ーA67)が必要軸数分だけ挿入され、また位置−数の
場合は1位置変数データ(68)が必要軸数分だけ挿入
されて、整数データな構成するL12になされていも次
に、−第2図における作業プログラム記憶値5】のプロ
グラム(第3図)について駅明すると次の通りである。
Next, Figure 6 shows a specific example of data actually exchanged between the robot control @ [111 and the peripheral device (2). 6 (61), (62) and I (63) are all In the command data, (61) is the PR, iNT command, (62
) indicates the GETI command and (63) indicates the GETL command, respectively. Further, (64) and (65) are response data from the peripheral device (2), (64) is data for AC,', and (65) is NACK data. moreover,
(66) is variable data; if it is an integer variable, integer variable data A67) is inserted for the required number of axes, and if it is a position-number, 1 position variable data (68) is inserted for the required number of axes. Next, the program (FIG. 3) for the working program storage value 5 in FIG. 2 is as follows.

「番地1」・・・この作業プログラムの開始を宣言する
"Address 1"...Declares the start of this work program.

「番地2」・・・周辺装置として第4図に示すパソコン
を選択することを官営する0 、 「番地3」・・・パンコン−TEST PROGR
AM″、「番地4」は” lNPr71’ C0rJN
TER,”とい)A田IIデータ文字列を出力する、 「番地5j・・・パフ =t y iC” IC0NT
?”とイ’r A8CII文字列を出力し、パソコンか
らのデ ータ入力を待ち、正常なデータが入 力されたらIC0NTの変数記憶部「番地100」に格
納する。
"Address 2": 0 for selecting the personal computer shown in Figure 4 as a peripheral device, "Address 3": Pancon-TEST PROGR
AM", "Address 4" is "lNPr71' C0rJN
TER," Output Ada II data character string, "Address 5j...Puff = t y iC" IC0NT
? ” Outputs the A8CII character string, waits for data input from the computer, and when normal data is input, stores it in the IC0NT variable storage unit “address 100”.

「番地6」・・・演算結果が「番地22」の時に分岐し
てくるもので%L00P/とい5ラベルを宜言する。
"Address 6": Branches when the calculation result is "Address 22", and has a label of %L00P/5.

「番地7 J−ハフ ニア ン、R: ”INP[]T
 LOCATiONA’ (!:い’5 ASCII文
字列を出力する。
``Address 7 J-Haf Nian, R: ``INP[]T
LOCATiONA'(!:i'5 Outputs an ASCII character string.

「番地8」・・・パンコンに“誌?”というASCII
文字列を出力し、パソコンからの位置 データと姿勢データの入力を待ち。
"Address 8"... ASCII with "magazine?" in the pancon
Outputs a character string and waits for position and orientation data to be input from the computer.

正常なデータが入力されたらMの変 数記憶部[番地10月に格納する。If normal data is input, change M. Number storage unit [Stored at address October.

「番#!9〜12J・・・処理1とい50ボツトの作業
な行なう。
``Number #! 9-12J... Process 1, 50 bots will be processed.

r番地13 J −ハフ :lllンlc ” IMP
T’PI” LOCATiON B”というASCII
文字列な出力する。゛ r番地1.4J・・・パソコンに” LB?“とい’l
 ASCII文字列を出力し、パソコンからの位置 データと、姿勢データの入力を待ち。
r address 13 J-Huff:llllnlc” IMP
ASCII "T'PI" LOCATiON B"
Outputs a string.゛r address 1.4J...to the computer "LB?"
Outputs an ASCII character string and waits for position data and orientation data to be input from the computer.

正常なデータが入力されたらLBの変 数記憶部「番地1021に格納する。If normal data is input, change LB. Number storage unit “Stored at address 1021.

「瞥地15−20J・・・処理2というロボットの作業
な行な)。
``Betchi 15-20J...The robot called Processing 2 is doing the work.''

「番地21」・・・変数IC0NTの内容から1を減じ
結果Y IC0NT ノ変数記憶部番地100ic格納
する。
“Address 21”: Subtract 1 from the contents of variable IC0NT and store the result Y IC0NT at variable storage unit address 100ic.

「番地22」・・・演算の結果、変数Ic0NTが°0
”でないからLOOP/’の番地すなわち「番地6」へ
分岐する。。
"Address 22"... As a result of the calculation, the variable Ic0NT is °0
Since it is not ``, it branches to the address of LOOP/', that is, ``address 6''. .

「番地23」・・・このプログラムの処理完了を宜言す
る。
“Address 23”: Indicates the completion of processing of this program.

次に、上記作業プログラム記憶部(23)の作業プログ
ラムの実行動作例について第3図によりV!明する。ま
ず1作業プログラムの実行は、「番地1」から順次行な
われる。すなわち、  rsTRff’Pj rAf3
(MPCJ rPR,iNT ”TEST PROGR
AM’J テロ ル。コC1) 発514.0)狙いと
するところの[株]TL命令の動作は、l’−GETL
LAJを命令実行部が取り込んだ時、そのオペラン゛ド
iにある変数INが変数記憶部に存在してご・ることを
確認flk、正常であればパンコンに”M?”と出〃す
る。そしてパソコン側は、”LA?”とキャラクタディ
スプレイ装置の表示装置(31)に表示し、オペレータ
に位置データと、姿勢データの入力tうながす。そして
、オペレータは、ステーションごとにあらかじめわかっ
ているロボットの位置データと、姿勢データを入力する
。この時、 GETL命令の実行部に入力さ、れた位置
データと姿勢データは、変数島の変数記憶部(24)に
格納し、 GETL命令の実行な完了し、次の変数Mに
おいてのロボットの作業処理1の実行にかかる。この工
うにして、ロボットの作業位置が、マン・マシンインタ
ーフェイスの一櫨であるパソコンを通じてオペレータと
対話しながら変えることができる°わけである。
Next, an example of the execution operation of the work program in the work program storage section (23) will be described with reference to FIG. I will clarify. First, one work program is executed sequentially starting from "address 1". That is, rsTRff'Pj rAf3
(MPCJ rPR, iNT ”TEST PROGR
AM'J Terror. C1) Issue 514.0) The intended operation of the TL command is l'-GETL
When the instruction execution section takes in LAJ, it is checked that the variable IN in the operand i exists in the variable storage section flk, and if it is normal, "M?" is displayed on the pan controller. Then, the personal computer side displays "LA?" on the display device (31) of the character display device, and prompts the operator to input position data and posture data. Then, the operator inputs the robot's position data and posture data, which are known in advance for each station. At this time, the position data and posture data input to the execution part of the GETL command are stored in the variable memory part (24) of the variable island, the execution of the GETL command is completed, and the robot is moved to the next variable M. This involves the execution of work process 1. In this way, the robot's working position can be changed while interacting with the operator through a personal computer, which is part of the man-machine interface.

次に、ロボット制御装置(1)と、周辺装置(2)間の
データの授受動作について訳明する。いま、第1図に示
す命令−打部(11)が、第3図に示す「番地3」のP
E、INT命令なフェッチすると、第・2@に示すCP
U Z+は、第5図に示す命令判断部(51)から処理
Y始める。ここでは、現在の命令がPR,INT命令で
あることを判断し、次のコマンドデータ・テキストデー
タ作成部(52xこおいて、第6図に示すPR,INT
 命令のコマンドデータ(61)を作成し、第5図に示
すデータ送信部(53)で周辺装置(2)へ送信すると
、この周辺装置(2)は第5図に示すデータ入力待ち部
(57)での待ち状態からぬけ出し、次の命令判断部(
58)で送られてきたコマンドデータ〔第6図の(61
))の3 byte目が門であることに工り。
Next, the data exchange operation between the robot control device (1) and the peripheral device (2) will be explained. Now, the command-printing unit (11) shown in FIG.
E, When fetching an INT instruction, the CP shown in the second @
UZ+ starts processing Y from the command determining section (51) shown in FIG. Here, it is determined that the current command is a PR, INT command, and the next command data/text data creation unit (52x) is set to the PR, INT command shown in FIG.
When the command data (61) of the instruction is created and sent to the peripheral device (2) by the data transmitter (53) shown in FIG. ) and exits from the waiting state at the next command judgment section (
Command data sent in (58) [(61 in Figure 6)
)), the 3rd byte is the gate.

現在の命令がPRINT命令であることを知る。一方、
第5図に示す命令処理部(59)においては、コマンド
データに続けて送られてきたコマンドデータ〔第6図の
(69)) ’&第4図に示す表示装置(4)に表示す
る処理な行ない、処理が正常に終了したなら第6図に示
すACKデータ(64)V作成し、第5図に示すデータ
送信部(60)において、そのA(、’にデータなロボ
ット制御装置(1)へ送信し、再びデータ入力待ち部(
5万へもどってエンドレス処理をする。そして。
Know that the current instruction is a PRINT instruction. on the other hand,
In the command processing unit (59) shown in FIG. 5, the command data sent following the command data [(69) in FIG. When the process is completed normally, the ACK data (64) V shown in FIG. 6 is created, and the data transmitter (60) shown in FIG. ) and returns to the data input waiting section (
Go back to 50,000 and do endless processing. and.

−ロボツ) 制御装置(11側においては、第5−に示
すデータ受信部(54)において周辺装置(2)から送
られてきたデータを読みとし、エラー判定部(55)に
おいてエラー判定を行ないエラーならば終了処理部(5
6)でエラー終了処理な、そして正常ならば終了処理部
(56)で正常終了処理な行ない命令の実行を完了する
ようになさねている。
-Robots) On the control device (11 side), the data receiving unit (54) shown in No. 5- reads the data sent from the peripheral device (2), and the error determining unit (55) performs an error determination to detect an error. Then, the termination processing section (5
6) performs error termination processing, and if normal, the termination processing unit (56) performs normal termination processing to complete execution of the instruction.

なお、第1図に示す命令実行部(11)が第3図に示す
「番地4」のPRJNT命令をフェッチした場合も、上
述【、た動作と同様の動作な行なうことはいへまでもな
い。
Note that when the instruction execution unit (11) shown in FIG. 1 fetches the PRJNT instruction at "address 4" shown in FIG.

次に、「番地5」のGETI命令を7エツチすると。Next, execute 7 GETI commands at "address 5".

第5図に示す命令判断部(51)において現在の命令が
GETI命令であることを判断し、次のコマンドデータ
・テキストデータ作成部(52)において第6図に示す
GETI命令のコマンドデータ(62)’に作成し、デ
ータ送信部(53)から周辺装置(2)へ送信すると、
この周辺装置(2+においては、第5図に示すデータ入
力待ち部(57)は入力待ち状態からぬけ出し、次の命
令判断部(58)において現在の命令が(9)TI命令
であることがわかる。一方、命令処理部(59Mごおい
ては、オペレータに整変数のデータ入力をうながずメツ
セージを第4図に示す表示装置(31)に表示し、キー
ボード(32)からのデータ入力待ちとをる。そして、
データが入力されると、命令処理部・(59)こおいて
は第6図に示す変数データ(66)を作成し、データ送
信部(60)からロボット制御装置゛(1)・\送信す
る。そしてニロボット制御装置(1)においてはデータ
受信部(54)によって送られてきたデータを読みと腔
、エラー判定部(55)においてエラー判定をして、以
下上述した場合と同様の処理部して命令の実行を完了す
る。なお、第3図に示T播地7」の命令の場合の作用も
上記「番地3」の場合と同様であり、また「番地8」の
GETL命令の場合も、第5図に示すコマンドデータ・
テキストデータ作成部(52)において第6図に示すG
ETLOj :!マントデータ(66)を作成し、第5
図に示す命令処理部(59)において位置データの入力
待ちとをる以外は、第3図に示す「番地5」のGETI
命令の作用とよく同様である。さらにまた、上記ロボッ
ト制御装置(1)はもちろん、周辺装置(21において
も、送られ5てきたデータ中のチェックサムを調べるこ
とにより、転送エラーが検出でき、周辺装置(2)にお
いて発生したエラーは、送られてぎたNA(Xデータ〔
第6図の(65))中のエラー陽?調べる9とにより、
エラー発生原因をロボット制御装置(1)において検出
できる。
The command determination unit (51) shown in FIG. 5 determines that the current command is a GETI command, and the next command data/text data creation unit (52) uses the command data (62) of the GETI command shown in FIG. )' and send it from the data transmitter (53) to the peripheral device (2),
In this peripheral device (2+), the data input waiting section (57) shown in FIG. On the other hand, the command processing unit (59M) displays a message on the display device (31) shown in Figure 4 without prompting the operator to input data of integer variables, and waits for data input from the keyboard (32). Tooru. And,
When the data is input, the command processing unit (59) creates the variable data (66) shown in FIG. 6, and transmits it from the data transmission unit (60) to the robot control device (1). . The robot control device (1) then reads the data sent by the data receiving unit (54), makes an error determination in the error determining unit (55), and performs the same processing as described above. completes instruction execution. Note that the operation in the case of the instruction of "T sowing location 7" shown in FIG.・
In the text data creation section (52), G shown in FIG.
ETLOj:! Create cloak data (66) and
The command processing unit (59) shown in the figure waits for the input of position data.
This is very similar to the effect of commands. Furthermore, transfer errors can be detected not only in the robot control device (1) but also in the peripheral device (21) by checking the checksum in the sent data. is the NA (X data) that was sent.
Is there an error in (65) in Figure 6? By examining 9,
The cause of the error occurrence can be detected in the robot control device (1).

なお、上述した一実施例においては、位置データ、およ
び姿勢データのパソコンへの入力はオペレータによって
行な)場合について述べたが、たとえばパンコンに簡易
センサーな接続し、それを制御する制御プログラムをパ
ソコン上で実行させれば、簡単なセンサーシステムを作
ることができるばかりでなく、ロボット側゛からパンコ
ンに対してデータを出力し1%パソコン側のデータとす
るこ」も可能であること龜いうまでもない。
In the above-mentioned embodiment, the position data and orientation data are input into the personal computer by the operator. If you run it on the above, you can not only create a simple sensor system, but also be able to output data from the robot side to the pan controller and convert it into 1% data on the computer side. Nor.

〔発明の効果〕〔Effect of the invention〕

以上述べた工5にこの発明によれば、ロボット言語の中
に周辺装置とのデータの入力、お工び出力の機能を付加
するよ)にしたので5、ロボット作業プログラムと、オ
ペレータとの対話性が向上し。
According to the present invention, functions for inputting data with peripheral devices and outputting operations are added to the robot language (to the above-mentioned process 5), so that the robot work program and the interaction with the operator are Improved sex.

安全でかつ桑門な作業なロボット本体に行なわせること
が可′能とをる優れた効果を有するものである。
This has the excellent effect of allowing the robot body to carry out safe and efficient work.

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

第1図〜第6図は何れもこの発明の一実施例を示すもの
で、第1図はロボット制御装置の全体構 、成ブロック
図、第2図はロボット制御装置の具体的構成ブロック図
、第3図は作業プログラム記憶部と変数記憶部のプログ
ラムの一例を示す駁明図、第4図はパソコン等の周辺装
置な示すブロック図、第5図は制御プロゲラ°ム記憶部
を機能別に示すブロック図、第6図はロボット制御装置
と周辺装置間で授受されるデータの具体1例を示す駅明
図である。 図において%(1)はロボット制御装置、(2)は周辺
装置、〔3)はロボット本体、C4)は外部機器、  
(21)はCPU、(22)は制御プログラム記憶部、
 (23)は作業プロ夛ラム記憶部+  C24)は変
数記憶部−(26)はロボット位置決め制御部、  (
27)は外部機器制御部。 (28)は周辺装置制御部である。なお1図中同一符号
は同一部分を示す。
Figures 1 to 6 all show an embodiment of the present invention. Figure 1 shows the overall configuration and block diagram of the robot control device, and Figure 2 shows the specific configuration block diagram of the robot control device. Fig. 3 is a schematic diagram showing an example of a program in the work program storage section and variable storage section, Fig. 4 is a block diagram showing peripheral devices such as a personal computer, and Fig. 5 shows the control program storage section by function. The block diagram in FIG. 6 is a diagram showing a specific example of data exchanged between the robot control device and peripheral devices. In the figure, % (1) is the robot control device, (2) is the peripheral device, [3) is the robot body, C4) is the external device,
(21) is a CPU, (22) is a control program storage unit,
(23) is the work program storage section + C24) is the variable storage section - (26) is the robot positioning control section, (
27) is an external device control section. (28) is a peripheral device control section. Note that the same reference numerals in Figure 1 indicate the same parts.

Claims (3)

【特許請求の範囲】[Claims] (1)ロボット言語で記述された作業プログラムの実行
時に、この作業プログラムから制御装置に内蔵された表
示装置にメッセージを出力するようにしたものにおいて
、外部周辺装置からデータを入出力する機能を有する手
段と、その入力を起動するロボット言語を有し、かつそ
の入力したデータをロボット言語で使用可能な変数領域
に格納する機能を有する手段とを付加したことを特徴と
するロボット制御装置。
(1) When a work program written in a robot language is executed, a message is output from the work program to a display device built into the control device, and the work program has the function of inputting and outputting data from an external peripheral device. What is claimed is: 1. A robot control device comprising: a means for controlling a robot;
(2)外部周辺装置がパソコンであることを特徴とする
特許請求の範囲第1項記載のロボット制御装置。
(2) The robot control device according to claim 1, wherein the external peripheral device is a personal computer.
(3)制御装置を、CPUと、制御プログラム記憶部と
、作業プログラム記憶部と、変数記憶部と、周辺装置制
御部と、外部機器制御部と、ロボット位置決め制御部と
によつて構成されていることを特徴とする特許請求の範
囲第1項記載のロボット制御装置。
(3) The control device is composed of a CPU, a control program storage section, a work program storage section, a variable storage section, a peripheral device control section, an external device control section, and a robot positioning control section. The robot control device according to claim 1, characterized in that:
JP59131855A 1984-06-28 1984-06-28 Robot control device Pending JPS6111811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59131855A JPS6111811A (en) 1984-06-28 1984-06-28 Robot control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59131855A JPS6111811A (en) 1984-06-28 1984-06-28 Robot control device

Publications (1)

Publication Number Publication Date
JPS6111811A true JPS6111811A (en) 1986-01-20

Family

ID=15067696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59131855A Pending JPS6111811A (en) 1984-06-28 1984-06-28 Robot control device

Country Status (1)

Country Link
JP (1) JPS6111811A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62274402A (en) * 1986-05-23 1987-11-28 Okuma Mach Works Ltd Operation management system for numerical controller
JPS63184106A (en) * 1987-01-27 1988-07-29 Mitsubishi Electric Corp Numerical controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62274402A (en) * 1986-05-23 1987-11-28 Okuma Mach Works Ltd Operation management system for numerical controller
JPS63184106A (en) * 1987-01-27 1988-07-29 Mitsubishi Electric Corp Numerical controller

Similar Documents

Publication Publication Date Title
CN107562504A (en) A kind of serial port implementing method of DSP program segmentings loading
US5038348A (en) Apparatus for debugging a data flow program
JP2772604B2 (en) Data processing system
JPS6111811A (en) Robot control device
JPS59201154A (en) Method and apparatus for adjusting execution of instruction by joint processor
US5121351A (en) Floating point arithmetic system
CN112166409B (en) Control system, control method of control system, and recording medium
JPS59191614A (en) Controller of robot
JPH04149658A (en) Information processor
JPS6177948A (en) Data processor
WO2022242332A1 (en) Method and apparatus for designing serial robotic arm, and computer readable storage medium
JP2776443B2 (en) Programmable controller
JPH02109101A (en) Monitoring device
JPS6041102A (en) Sequence control device
JPS61217840A (en) Developing device for incorporated microcomputer
JPS6333181B2 (en)
JPS60179847A (en) Matching check system between real array and virtual array
CN118269108A (en) Method and system for detecting collision of mechanical arm of surgical robot and storage medium
JPS63104148A (en) Developing device for microcomputer device
JPS63138436A (en) Test method for crt control program
JP2000215079A (en) Cpu debugger
JPS62200945A (en) Communication control system
JPH0656288B2 (en) Three-dimensional measurement method by spherical mapping
JPS62282338A (en) Retrial system for transfer instruction in data processor
JPS63276682A (en) Character reader