JPH01287705A - Robot controller - Google Patents
Robot controllerInfo
- Publication number
- JPH01287705A JPH01287705A JP11758888A JP11758888A JPH01287705A JP H01287705 A JPH01287705 A JP H01287705A JP 11758888 A JP11758888 A JP 11758888A JP 11758888 A JP11758888 A JP 11758888A JP H01287705 A JPH01287705 A JP H01287705A
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- processing
- information
- robot
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Numerical Control (AREA)
- Manipulator (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は、特にロボットの運転、動作制御に係る外部信
号の入出力部にシーケンス制御機能を備えたロボットの
制御装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention particularly relates to a robot control device having a sequence control function in an input/output section for external signals related to robot operation and motion control.
一般に工業用ロボットの運転、動作制御に係る外部固有
信号入力として原点復帰、起動、作業開始等の指令情報
を入力し、マイコンがROM等に格納された予め定めら
れた手順に従うで判断処理を実行し,指令情報が入力さ
れたことを認識し運転が行われている。今、ねじ締ロボ
ソトの指令情報の一つである作業開始について見ると、
作業開始の条件として単にこの作業開始信号の入力によ
りねじ締作業が開始するのが通常であるが、例えばコン
ベアやプラテンの状態によっては、現地での据え付は試
運転の結果、ねじ締作業の信頼性を向上させるためにプ
ラテンに載置されて流れて来るワークの載置姿勢の良否
をセンサで検知し、載置姿勢OKのセンサ出力信号と作
業開始指令の外部固有人力信号の論理積をとりねじ締作
業を開始させる必要が生じる場合がある。In general, command information such as return to origin, startup, and work start is input as an external specific signal input related to the operation and motion control of industrial robots, and the microcontroller executes judgment processing according to predetermined procedures stored in ROM etc. However, the system recognizes that the command information has been input and starts operating. Now, if we look at the start of work, which is one of the command information of screw tightening robot soto,
Normally, screw tightening work is started simply by inputting this work start signal as a condition for starting work, but depending on the condition of the conveyor or platen, for example, the reliability of screw tightening work may vary depending on the condition of the conveyor or platen. In order to improve performance, a sensor detects whether the placement posture of the workpiece placed on the platen is good or bad, and the logical product of the sensor output signal indicating that the placement posture is OK and the external specific human power signal of the work start command is taken. It may be necessary to start the screw tightening operation.
この場合従来のこの種のロボット制御装置においては、
ロボット制御装置に前記2個の信号を別個に入力し、マ
イコンが実行するROM内の処理プログラムを変更し、
2個の信号の論理積をとる作業をソフトウェアで行わせ
るか、またはマイコンが実行する処理プログラムは変更
せずに、シーケンスコントローラを用いこれを介してロ
ボット制御装置の外部で2個の信号の論理積をとりその
結果を作業開始指令としてロボット制御装置に入力する
方法がある。前者の処理プログラムの変更は、ROM内
のマイコンコードの変更となりソフトウェア開発支援装
置を必要とするため現地での対応は困難であり、また後
者のシーケンスコントローラの利用は設置スペースを必
要とするため。In this case, in conventional robot control devices of this type,
inputting the two signals separately to the robot control device and changing the processing program in the ROM executed by the microcomputer;
You can either have software perform the logical product of the two signals, or you can use a sequence controller to calculate the logic of the two signals outside the robot control device without changing the processing program executed by the microcomputer. There is a method of calculating the product and inputting the result to the robot control device as a work start command. Changing the processing program in the former case involves changing the microcomputer code in the ROM and requires a software development support device, which is difficult to handle on-site, while the latter use of a sequence controller requires installation space.
設置スペースに制限があると設置不可能となることがあ
り、いずれの方法においても現地での迅速な対応が困難
であるという欠点があった。If the installation space is limited, installation may become impossible, and both methods have the drawback of being difficult to respond quickly on-site.
本発明の一つの目的は、上記した従来の欠点を排除し、
この種のロボットにおいてロボットの運転制御に関する
外部固有信号の入力条件の変更等の仕様変更に対して現
地で迅速、柔軟に対応可能な機能を備えたロボットの制
御装置を提供することである。One object of the present invention is to eliminate the above-mentioned conventional drawbacks and to
It is an object of the present invention to provide a robot control device for this type of robot, which has the ability to quickly and flexibly respond to changes in specifications, such as changes in the input conditions of external specific signals related to the operation control of the robot, on site.
本発明の他の目的は、例えば位置、ねじ締、その他のエ
ンドエフェクタの付勢等の動作の各段階を逐次進めてい
くステップ情報によるロボットの動作制御とは別個に、
これと並行し例えばネジフィーダ、コンベアステーショ
ン等の周辺機器の制御を同時に行う機能を備えたロボッ
トの制御装置を提供することである。Another object of the present invention is to control the operation of a robot using step information that sequentially advances each step of the operation, such as positioning, tightening screws, and energizing other end effectors.
In parallel with this, it is an object of the present invention to provide a robot control device having a function of simultaneously controlling peripheral devices such as a screw feeder and a conveyor station.
本発明は、ロボットの運転制御に関する外部固有信号の
入出力及びロボットの動作制御に関する動作の各段階を
逐次進めていくステップ情報によるねじ締ヘッドの上昇
・下降、ねじ締ドライバの運転等のエンドエフェクタの
付勢無勢信号の出力、リミットスイッチ、ネジ浮きセン
サ等の内界センサの信号の入力を実際に信号の入出力を
行う入出力インタフェイスを介して直接には入出力せず
、これらの信号の入出力はRAM内にアドレスされた内
部接点の読み出し、書き込みにより行う間接的な入出力
とし、一方、該内部接点の情報はシーケンス制御情報に
よるラダーシーケンスに従って常時スキャニング処理に
よる論理演算が行われて実際に入出力を行う入出力イン
タフェイスから入出力させ、前記ロボットの運転制御、
ステップ情報の処理の逐次進行とシーケンス情報のスキ
ャニング処理を同時に並行して実行するようにしたもの
である。The present invention provides an end effector for raising and lowering a screw head, operating a screw driver, etc., using input/output of external specific signals related to robot operation control and step information that sequentially advances each stage of operation related to robot operation control. The output of energized and unenergized signals, and the input of signals from internal sensors such as limit switches and screw floating sensors are not directly input/output through the input/output interface that actually inputs and outputs signals, and these signals are Input/output is indirect input/output performed by reading and writing internal contacts addressed in the RAM, while the information of the internal contacts is constantly subjected to logical operations by scanning processing according to a ladder sequence based on sequence control information. Controlling the operation of the robot by inputting and outputting from the input/output interface that actually performs input and output;
The sequential processing of step information and the scanning processing of sequence information are simultaneously executed in parallel.
本発明の具体的実施例を図面に就いて詳細に説明する。 Specific embodiments of the present invention will be described in detail with reference to the drawings.
第1図、第2図は本発明制御装置の被制御対象の好適な
一例として示したねじ締ロボット(以下ロボットという
)であり、該ロボット1はメインブロック2に水平に旋
回可能に取付けられた第1アーム3と該第1アーム3の
先端に水平に旋回可能に取付けられた第2アーム4の旋
回動作によって、第2アーム4の先端部に固定されたヘ
ッド5に設けられたねじ締ドライバ6(以下ドライバと
いう)をワーク80の所定ネジ穴位置に誘導させねじ締
を行う。第1アーム3は、該第1アーム3の旋回軸に設
けられたサーボモータフにより減速装置8を介して駆動
されて旋回され、第1アーム3の現在位置はサーボモー
タフの出力軸に直結されたエンコーダ9によって検出さ
れる。第2アーム4は、第1アーム3と同様に、第2ア
ーム4の旋回軸に設けられたサーボモータ10により減
速装置11を介して駆動されて旋回され、第2アーム4
の現在位置はサーボモータ10の出力軸に直結されたエ
ンコーダ12によって検出される。ドライバ6はヘッド
5に対して垂直方向に滑動可能なスライドユニット13
に固定され、スライドユニット13の上昇下降動作はヘ
ッド5に固定されたエアシリンダ14のピストン動作に
よって行われる。Figures 1 and 2 show a screw tightening robot (hereinafter referred to as robot) as a preferred example of the controlled object of the control device of the present invention. A screwdriver provided on a head 5 fixed to the tip of the second arm 4 by the pivoting action of the first arm 3 and the second arm 4 attached horizontally to the tip of the first arm 3 so as to be pivotable. 6 (hereinafter referred to as a driver) is guided to a predetermined screw hole position of the workpiece 80 to tighten the screw. The first arm 3 is driven and rotated by a servo motor provided on the rotation axis of the first arm 3 via a reduction gear 8, and the current position of the first arm 3 is determined by an encoder 9 directly connected to the output shaft of the servo motor. detected by. Like the first arm 3, the second arm 4 is driven and rotated by a servo motor 10 provided on the rotation axis of the second arm 4 via a reduction gear device 11.
The current position of is detected by an encoder 12 directly connected to the output shaft of the servo motor 10. The driver 6 includes a slide unit 13 that can slide vertically relative to the head 5.
The vertical movement of the slide unit 13 is performed by the piston movement of an air cylinder 14 fixed to the head 5.
前記ドライバ6がワーク80のネジ穴位置の直上に前記
アーム3.4の旋回動作によって誘導されると、ドライ
バ6が付勢されドライブビット(以下ビットという)1
5が回転すると同時にエアシリンダ14にエアバルブ1
6の開栓により下降方向に圧縮空気が導入され、スライ
ドユニット13はワーク80に向って下降し、ドライバ
6もワーク80に向って下降し、ドライバ6のビット1
5は、下降途上でビット15の通路に設けられたYパイ
プ17で、前回のねじ締動作終了後にエアパイプ53を
通して予め圧送されYパイプ17で姿勢保持されていた
ネジを得てワーク80にネジをねじ込む。ネジの頭部が
ワーク80の座面までねじ込まれると、ビット15の駆
動トルクが予め設定された所定のトルクに達し、トルク
リミッタ18が作動し、トルクリミット信号が制御装置
に入力される。この結果ドライバ6が停止すると共にエ
アバルブ16の開栓によりエアシリンダ14には上昇方
向に圧縮空気が導入され、スライドユニット13はワー
ク80から後退して上昇端に達し一回のねじ締作業が完
了する。スライドユニット13の上昇動作と並行して次
回のねじ締作業に備えてエアパイプ53を通してYパイ
プ17に1本のネジが圧送装填される。When the driver 6 is guided directly above the screw hole position of the workpiece 80 by the rotational movement of the arm 3.4, the driver 6 is energized and the drive bit (hereinafter referred to as bit) 1
At the same time as 5 rotates, air valve 1 is connected to air cylinder 14.
6 is opened, compressed air is introduced in the downward direction, the slide unit 13 descends toward the workpiece 80, the driver 6 also descends toward the workpiece 80, and the bit 1 of the driver 6
5 is a Y pipe 17 provided in the path of the bit 15 on the way down, and after the previous screw tightening operation is completed, a screw that has been pressure-fed in advance through an air pipe 53 and maintained in the Y pipe 17 is obtained, and the screw is screwed into a workpiece 80. Screw it. When the head of the screw is screwed into the seating surface of the workpiece 80, the driving torque of the bit 15 reaches a predetermined torque, the torque limiter 18 is activated, and a torque limit signal is input to the control device. As a result, the driver 6 stops, and compressed air is introduced into the air cylinder 14 in the upward direction by opening the air valve 16, and the slide unit 13 retreats from the workpiece 80 and reaches the rising end, completing one screw tightening operation. do. In parallel with the upward movement of the slide unit 13, one screw is loaded by pressure into the Y pipe 17 through the air pipe 53 in preparation for the next screw tightening operation.
第3図は前記ロボット1及びその周辺機器を制御するロ
ボット制御装置19のブロック図であり、CPU20か
らはアドレスバス、データバス、コントロール信号線等
から成るパスライン21が出されており、ROM 22
にはCPU20の処理手順が書込まれている。RAM2
3はCPU20のワークレジスタメモリとなるものであ
る。FIG. 3 is a block diagram of the robot control device 19 that controls the robot 1 and its peripheral devices. A path line 21 consisting of an address bus, a data bus, a control signal line, etc. is output from the CPU 20, and a ROM 22
The processing procedure of the CPU 20 is written in. RAM2
3 serves as a work register memory for the CPU 20.
外部固有入出力24は、原点復帰、起動、作業開始等の
ロボット1の運転制御に関する固有信号を入力し、位置
決め完了、ねじ締完了、作業完了等の固有信号を出力す
る入出力インタフェイス(以下インタフェイスをI/F
という)であり、周辺機器制御用入出力25は、ロボッ
ト1の動作とは別個にコンベアステーション等の周辺機
器の制御を行う入出力I/Fであり、エンドエフェクタ
制御用入出力26は、前記スライドユニット13上のエ
アバルブ16、ドライバ6の付勢無勢信号等を出力し、
トルクリミッタ18のトルクリミット信号、スライドユ
ニット13の上端センサの出力信号等を入力する入出力
I/Fであり、内界センサ入力27は第1、第2アーム
サーボ制御装置28.29の機械原点信号。The external specific input/output 24 is an input/output interface (hereinafter referred to as an input/output interface) that inputs specific signals related to operation control of the robot 1 such as return to origin, startup, and work start, and outputs specific signals such as positioning completion, screw tightening completion, work completion, etc. I/F the interface
The peripheral device control input/output 25 is an input/output I/F that controls peripheral devices such as a conveyor station separately from the operation of the robot 1, and the end effector control input/output 26 is an input/output I/F that controls peripheral devices such as a conveyor station separately from the operation of the robot 1. Outputs the air valve 16 on the slide unit 13, the energization/deenergization signal of the driver 6, etc.
It is an input/output I/F that inputs the torque limit signal of the torque limiter 18, the output signal of the upper end sensor of the slide unit 13, etc., and the internal sensor input 27 is the mechanical origin of the first and second arm servo control devices 28 and 29. signal.
フルリミット検出信号等のロボット1の内界センサの信
号入力を行う入力I/Fであり、これらの入出力I/F
全体を30で示す。This is an input I/F for inputting signals from the internal sensor of the robot 1, such as full limit detection signals, and these input/output I/Fs
The whole is indicated by 30.
例えば電気的に書き込み消去可能な読み出し専用記憶装
置(E E P ROM)等から成る記憶装置31には
、ロボット1の動作制御に関する動作の各段階を逐次進
行させる位置、ねじ締、その他条件分岐、入力、出力、
入力待ち等のステップ情報32が記憶格納されており、
動作の各段階においてCPU20は入出力I/F30を
直接アクセスせず、RAM33をアクセスし、RAM3
3の内部にアドレスされた内部接点34との間において
読み出し、書き込み動作により間接的に入出力I/F3
0のオンオフ情報を入出力する。EEPROM等から成
る記憶表に35には前記内部接点34と入出力I/F3
0を接続するいわゆるラダーシーケンスを定めるシーケ
ンス情報36が記憶格納されており、CPU20は記憶
装置35に書き込まれたマシンコード上をRUNし、常
時スキャニング処理動作により論理演算が行われ、内部
接点34と入出力I/F30はシーケンス情報36によ
り相互のオンオフ情報が伝達交換される。シーケンス情
報36は、前記内部接点34と入出力I/F30を接続
する他に、周辺機器制御用入出力25の入力部25aと
同出力部25bの間を接続するシーケンス情報も記憶し
、ロボット1の動作と並行してロボット1の動作とは別
個に周辺機器の制御も行い、更に外部固有入出力24、
エンドエフェクタ制御用入出力26、内界センサ入力2
7、内部接点34のオンオフ情報を参照することが可能
であり、周辺機器の制御をロボット1の動作状態に関連
づけて行うこともできる。For example, the storage device 31, which is an electrically programmable and erasable read-only storage device (EEPROM), stores information such as positions, screw tightening, and other conditional branches for sequentially advancing each step of the operation related to the operation control of the robot 1. Input Output,
Step information 32 such as waiting for input is stored,
At each stage of operation, the CPU 20 does not directly access the input/output I/F 30, but accesses the RAM 33.
The input/output I/F 3 is indirectly connected to the internal contact 34 addressed inside the input/output I/F 3 through read and write operations.
Inputs and outputs 0 on/off information. In the memory table 35 consisting of EEPROM etc., the internal contact 34 and the input/output I/F 3 are connected.
Sequence information 36 defining a so-called ladder sequence for connecting 0 is stored, and the CPU 20 runs the machine code written in the storage device 35, performs logical operations through constant scanning processing, and connects the internal contacts 34 and The input/output I/F 30 transmits and exchanges mutual on/off information using sequence information 36. In addition to connecting the internal contact 34 and the input/output I/F 30, the sequence information 36 also stores sequence information for connecting the input section 25a and the output section 25b of the peripheral device control input/output 25, and the robot 1 In parallel with the operation of the robot 1, peripheral devices are also controlled separately from the operation of the robot 1, and external specific input/output 24,
End effector control input/output 26, internal sensor input 2
7. It is possible to refer to the on/off information of the internal contact 34, and it is also possible to control peripheral devices in relation to the operating state of the robot 1.
以上のロボット1の運転制御、ステップ情報32の処理
の逐次進行とシーケンス情報36のスキャニング処理を
、−例としてCPU20の時分割処理動作によって同時
に並行して実行させるため1割込み信号発生器37から
例えば2m5ec周期の割込み信号38がCPU20の
割込み入力端に入力されており、CPU20は割込み信
号38が入力されると、実行途上にあるステップ情報処
理の逐次進行を中断し、その時のコンデイションコード
レジスタ、フラグ、プログラムカウンタ、スタックポイ
ンタ等の内容をRAM23に格納退避し、一方前回の割
込み信号38の入力によってシーケンス情報36のスキ
ャニング処理を中断してその時に退避格納させたコンデ
イションコードレジスタ、フラグ、プ。グラムカウンタ
、スタックポインタ等の内容をRAM23から復帰させ
、以後は再び割込み信号38が入力されるまでシーケン
ス情報36のスキャニング処理を実行し1割込み信号3
8が入力される毎に、ステップ情報32の逐次進行処理
とシーケンス情報36のスキャニング処理を交互に連続
して実行する。In order to simultaneously execute the above operation control of the robot 1, the sequential progress of the processing of the step information 32, and the scanning processing of the sequence information 36 by the time-sharing processing operation of the CPU 20, an interrupt signal generator 37, for example, An interrupt signal 38 with a period of 2m5ec is input to the interrupt input terminal of the CPU 20, and when the CPU 20 receives the interrupt signal 38, it interrupts the sequential progress of step information processing that is currently being executed, and stores the condition code register at that time. The contents of the flag, program counter, stack pointer, etc. are stored and saved in the RAM 23, while the scanning process of the sequence information 36 is interrupted by the input of the previous interrupt signal 38, and the condition code register, flag, and program that were saved and stored at that time are saved. . The contents of the gram counter, stack pointer, etc. are restored from the RAM 23, and thereafter, the scanning process of the sequence information 36 is executed until the interrupt signal 38 is input again.
Every time 8 is input, the sequential progress processing of the step information 32 and the scanning processing of the sequence information 36 are performed alternately and continuously.
割込み信号発生器39は、ステップ情報32の処理及び
シーケンス情報36の処理の内の定時制御処理に必要な
例えば20 m sec周期の割込み信号40を発生し
、該信号40を割込み信号38よりも優先度の高いCP
U20の割込み入力端に入力している。キーボードデイ
スプレィ(以下KDという)41は、夫々記憶装置31
.35にステップ情報32.シーケンス情報36をティ
ーチング、プログラムするためのものであり、ロボット
制御装置19が教示のモードにある時、KD41を操作
することにより、ステップ情報32.シーケンス情報3
6の内容を変更することができるようになっている。ま
たロボット制御装置19が自動モードにある時は、RA
M33の内部接点34、入出力インタフェイス30のオ
ンオフ状態を信号線のアドレスを指定することによりモ
ニタできるようになっている。The interrupt signal generator 39 generates an interrupt signal 40 with a period of, for example, 20 msec, which is necessary for the regular control processing of the processing of the step information 32 and the processing of the sequence information 36, and gives priority to the signal 40 over the interrupt signal 38. High degree of CP
It is input to the interrupt input terminal of U20. Each keyboard display (hereinafter referred to as KD) 41 has a storage device 31.
.. 35, step information 32. This is for teaching and programming the sequence information 36, and when the robot control device 19 is in the teaching mode, by operating the KD 41, the step information 32. Sequence information 3
6 can be changed. Also, when the robot control device 19 is in automatic mode, the RA
The on/off states of the internal contacts 34 and input/output interface 30 of the M33 can be monitored by specifying the address of the signal line.
第1、第2アームサーボ制御装置28.29は夫々双方
向I/F42.43を介してCPU20のパスライン2
1と接続されており、パスライン21から位置指令情報
が双方向I/F42,43に出力されると、第1、第2
アームサーボ制御装置28.29は指令された位置に位
置決め制御される。内界センサス力27の第1、第2ア
ーム3.4の機械原点信号、ゼロ、フルリミット信号は
、シーケンス情報36に従ったCPU20のスキャニン
グ処理による内界センサ入力27から内部接点34に転
送された情報により参照したのではスキャニングによる
若干のタイムラグのため例えば原点復帰制御時には正確
な機械原点への位置決めが行えないので、サーボ用内界
センサ信号入力線44を介して夫々第1、第2アームサ
ーボ制御装置28.29に入力されている。第1、第2
アームサーボ制御装置28.29の位置決めが完了する
と、夫々双方向I/F42.43を介してパスライン2
1に位置決め処理終了情報として状態コード。The first and second arm servo control devices 28 and 29 are connected to the path line 2 of the CPU 20 via bidirectional I/Fs 42 and 43, respectively.
1, and when position command information is output from the path line 21 to the bidirectional I/Fs 42 and 43, the first and second
The arm servo control devices 28 and 29 are controlled to position at the commanded position. The mechanical origin signals, zero, and full limit signals of the first and second arms 3.4 of the internal sensor force 27 are transferred from the internal sensor input 27 to the internal contact 34 by the scanning process of the CPU 20 according to the sequence information 36. If the information is referred to based on the servo internal sensor signal input line 44, accurate positioning to the machine origin cannot be performed due to a slight time lag caused by scanning, for example during origin return control. It is input to servo controllers 28 and 29. 1st, 2nd
When the positioning of the arm servo control devices 28 and 29 is completed, the path line 2
1 contains a status code as positioning processing completion information.
現在位置情報を出力し、CPU20に完了を知らせる。The current position information is output and the CPU 20 is notified of completion.
第4図はサーボ制御装置のブロック図を示したものであ
り、第3図と同一の部分には同一の符号が付しである。FIG. 4 shows a block diagram of the servo control device, and the same parts as in FIG. 3 are given the same reference numerals.
第1、第2アームサーボ制御装置28.29共に同様の
構成であり、第1アームサーボ制御装置28を代表して
説明する。エンコーダ9の2相パルス信号がカウンタ4
5に入力され、CPU46はROM47に記憶されてい
る予め定められた処理手順に従いカウンタ45から現在
位置情報を得、この現在位置情報から現在速度を計算し
、双方向I/F42からの位置指令情報と逐次比較し、
その都度最適なサーボモータ7のパルス幅制御のデユー
ティ指令値、励磁信号を算出し、夫々PWM変換器48
.励磁方向制御回路49に出力する。H形ブリッジトラ
ンジスタ回路によって構成されるモータライバ50は、
PWM変換器48と励磁方向制御回路49の出力信号に
従ってサーボモータ7を駆動制御し位置決めを行う。C
PtJ46のワークレジスタメモリであるRAM51及
び前記双方向I/F42.43、カウンタ45、ROM
47、PWM変換器48、励磁方向制御回路49は、C
P U46のアドレスバス、データバス、コントロール
信号線等から成るパスライン52と接続されている。Both the first and second arm servo control devices 28 and 29 have the same configuration, and the first arm servo control device 28 will be explained as a representative. The two-phase pulse signal of the encoder 9 is sent to the counter 4.
5, the CPU 46 obtains current position information from the counter 45 according to a predetermined processing procedure stored in the ROM 47, calculates the current speed from this current position information, and receives position command information from the bidirectional I/F 42. Do a successive comparison with
The optimum duty command value and excitation signal for pulse width control of the servo motor 7 are calculated each time, and the PWM converter 48
.. It is output to the excitation direction control circuit 49. The motor driver 50 constituted by an H-type bridge transistor circuit is
The servo motor 7 is driven and controlled according to the output signals of the PWM converter 48 and the excitation direction control circuit 49 to perform positioning. C
RAM 51 which is the work register memory of PtJ46, the bidirectional I/F 42.43, counter 45, ROM
47, PWM converter 48, excitation direction control circuit 49, C
It is connected to a path line 52 consisting of an address bus, a data bus, a control signal line, etc. of the PU 46.
第5図は入出力I/F30及び内部接点34の一部分の
具体的実施例を示した回路図であり、第3図と同一の部
分には同一の符号が付しである。CPU20はパスライ
ン21を介してRAM33及び夫々入力、出力I/Fを
構成するデータセレクタ60、アドレサブルラッチ61
に接続されており、RAM33の各バイトの内容のうち
D7ビツトが内部接点34のオンオフ状態を示し、デー
タセレクタ60、アドレサブルラッチ61で入出力I/
F30を構成している。なお、入出力I/F30の入出
力信号線が多数ある場合には、データセレクタ60、ア
ドレサブルラッチ61を増設してI/Fを構成すればよ
い。FIG. 5 is a circuit diagram showing a specific example of a part of the input/output I/F 30 and internal contacts 34, and the same parts as in FIG. 3 are given the same reference numerals. The CPU 20 connects to the RAM 33 via a pass line 21, a data selector 60, and an addressable latch 61 that constitute input and output I/Fs, respectively.
The D7 bit of the contents of each byte of the RAM 33 indicates the on/off state of the internal contact 34, and the data selector 60 and addressable latch 61 control the input/output I/O.
It constitutes F30. Note that if the input/output I/F 30 has a large number of input/output signal lines, the I/F may be configured by adding a data selector 60 and an addressable latch 61.
RAM33とCPU20は内部接点34の各々の接点を
アクセスするためのアドレスバス62、内部接点34の
オンオフ情報を読み出し書き込むためのデータラインの
一部D7ライン63と、リード信号64、ライト信号6
5が接続されており、内部接点34の番号は一例として
アドレスラインのアドレス番号で300番から399番
までの番号が割付けられている。The RAM 33 and the CPU 20 are connected to an address bus 62 for accessing each contact of the internal contacts 34, a part D7 line 63 of a data line for reading and writing on/off information of the internal contacts 34, a read signal 64, and a write signal 6.
5 is connected, and the internal contacts 34 are assigned numbers from 300 to 399 as address numbers of the address line, for example.
RAM33がパスライン21の信号の中で300番から
399番のアドレス指示信号で応答するためチップセレ
クト信号66はアドレスバス62の信号をデコーダ67
で解読されて出力される。同様にしてデータセレクタ6
0は一例としてアドレスラインのアドレス番号で100
番から107番に割付けられており、入力のオンオフ状
態を読み込むためにアドレスバス62の下位3ラインと
、リード信号64、D7データライン63、チップセレ
クト信号68が接続されており、アドレサブルラッチ6
1はアドレスラインのアドレス番号で200番から20
7番に割付けられており、オンオフ制御指令を出力する
と共に現在出力中のオンオフ内容が読み出せるようにア
ドレスバス62の下位3ラインとリード信号64.ライ
ト信号65、チップセレクト信号69が接続されている
。前記オンオフ情報はD7データライン63の夫々11
HI+レベル、′L”レベルに相当する。Since the RAM 33 responds with address instruction signals numbered 300 to 399 among the signals on the pass line 21, the chip select signal 66 converts the signal on the address bus 62 to the decoder 67.
is decoded and output. Similarly, data selector 6
For example, 0 is the address number of the address line and is 100.
The lower three lines of the address bus 62, the read signal 64, the D7 data line 63, and the chip select signal 68 are connected to read the on/off state of the input, and the addressable latch 6
1 is the address number of the address line, from 200 to 20
It is assigned to No. 7, and is used to output on/off control commands and to read the on/off contents currently being output by the lower three lines of the address bus 62 and the read signal 64. A write signal 65 and a chip select signal 69 are connected. The on/off information is transmitted to each 11 of the D7 data line 63.
This corresponds to the HI+ level and the 'L'' level.
第6図はロボット制御装置19の運転制御とステップ情
報32に基づく動作制御についての処理手順を示したフ
ローチャートである。この処理手順はROM22に書き
込まれており、ロボット制御装置19に電源を投入する
と、CPU20はROM22のマシンコードに従って処
理動作を開始し、まずRAM23に対して、スタックポ
インタ、フラグ等の内容の初期化を行い、次に後述のシ
ーケンス動作のRUN指令を与え、内部接点34のアド
レス300番の原点復帰指令のオン入力を待つ−。内部
接点34の300番はシーケンス情報36により外部固
有入出力24の原点復帰指令の100番の信号線と接続
されているから(第7図参照) 、 100番にオン指
令が入ると300番がオンとなり双方向I/F42.4
3を介して第1.第2アームサーボ制御装置28.29
に原点復帰指令が出力され、第1、第2アームサーボ制
御装@28.29は原点復帰動作を開始し、内界センサ
入力27の130番、131番からサーボ用内界センサ
信号入力線44を介して夫々第1アーム3.第2アーム
4の機械原点信号が入力され、機械原点で待機し、原点
復帰動作を完了する。次に内部接点34の起動指令のオ
ン入力を待ち、上記と同様にして内部接点の301番は
シーケンス情報36により外部固有入出力24の起動指
令の101番の信号線と接続されているから、101番
にオン指令が入ると301番がオンとなり、ロボット1
は起動状態となり、内部接点34の302番の作業開始
指令を待つ。今コンベアにおいて、ワーク80を載せた
プラテン82がロボット1のステーションに到着しねじ
締作業の準備が整うと、コンベアからの信号出力により
、外部固有入出力24の作業開始信号102番がオンす
ると、シーケンス情報36により内部接点34の作業開
始信号線302番がオンしねじ締作業が開始される。
第8図を参照すると、CPU20は先頭アドレスが80
00番地に割付けられた記憶装置31のステップ情報3
2のOOOステップの内容を読出し、KD41にその実
行内容を表示し、ソフトウェアのインタプリタによる内
容の解読により位置の命令であると判断する。−例とし
てステップ情報32は可変語長の構成となっており、第
1バイト目が命令の種類を意味し“AO”は位置、“A
3”はねじ締を表わし必要に応じて第2バイト目以後そ
の命令を実行するのに必要なデータが続き、インタプリ
タにより、第1バイト目のコードにより命令の種類と命
令の構成バイト数が解読判別されるようになっている。FIG. 6 is a flowchart showing the processing procedure for the operation control of the robot control device 19 and the operation control based on the step information 32. This processing procedure is written in the ROM 22, and when the robot control device 19 is powered on, the CPU 20 starts processing according to the machine code in the ROM 22, and first initializes the contents of the stack pointer, flags, etc. in the RAM 23. Then, it gives a RUN command for the sequence operation described later, and waits for the ON input of the origin return command at address 300 of the internal contact 34. Since the number 300 of the internal contact 34 is connected to the signal line 100 of the origin return command of the external specific input/output 24 according to the sequence information 36 (see Figure 7), when the ON command is input to the number 100, the number 300 turns on. Turns on and bidirectional I/F42.4
1 through 3. 2nd arm servo control device 28.29
A return-to-origin command is output to , the first and second arm servo control devices @28.29 start return-to-origin operations, and internal sensor signal input lines 44 for servo are sent from internal sensor inputs 27 Nos. 130 and 131. via the respective first arms 3. The mechanical origin signal of the second arm 4 is input, the second arm 4 waits at the mechanical origin, and completes the origin return operation. Next, wait for the ON input of the activation command of the internal contact 34, and in the same way as above, since the internal contact No. 301 is connected to the signal line No. 101 of the activation command of the external specific input/output 24 according to the sequence information 36, When No. 101 receives an on command, No. 301 turns on, and robot 1
enters the activated state and waits for a work start command from internal contact 34 No. 302. Now, on the conveyor, when the platen 82 carrying the work 80 arrives at the station of the robot 1 and is ready for screw tightening work, the work start signal No. 102 of the external specific input/output 24 is turned on by the signal output from the conveyor. The sequence information 36 turns on the work start signal line 302 of the internal contact 34, and the screw tightening work is started.
Referring to FIG. 8, the starting address of the CPU 20 is 80.
Step information 3 of storage device 31 allocated to address 00
The content of the OOO step 2 is read out, the execution content is displayed on the KD 41, and the content is decoded by the software interpreter and determined to be a position command. - For example, the step information 32 has a variable word length structure, the first byte means the type of instruction, "AO" is the position, and "A
3” indicates screw tightening, and if necessary, the data necessary to execute the command follows from the second byte, and the interpreter decodes the type of command and the number of bytes making up the command using the code of the first byte. It is now being determined.
000ステツプは、この場合7バイトの語長から成る位
置命令であり、その内容は第1、第2アーム3.4を夫
々123.45,321.09の最初のねじ締位置に移
動させることで、第9図の処理フローチャートで示す動
作が行われ、双方向1/F42.43から夫々第1、第
2アームサーボ制御装置28.29へ位置決め指令が発
せられ、指令された位置に移動する。位置決め動作が完
了すると第1、第2アームサーボ制御装置28.29か
ら現在の位置情報を含んだ位置決め完了の返答が夫々双
方向工/F42.43に出力され、CPU20は第1、
第2アーム3.4の現在位置と指令位置の誤差が許容範
囲内にあれば位置決め完了と判断し、位置決め完了限時
パルス信号を内部接点34の351番に出力し位置決め
命令の実行を終了する。内部接点351は外部固有入出
力24の201番と接続されており、周辺機器へ位置決
め完了信号として出力される。実行ステップのインクリ
メントが行われ、001ステツプの内容を読出しインタ
プリタによりねじ締命令であることが解読判別され、第
10図の処理フローチャートで示すねじ締作業を実行す
る。内部接点34の360番、361番は夫々エンドエ
フェクタ制御用入出力26の出力I/Fの220番のド
ライバ6の回転駆動信号出力、スライドユニット13の
下降用エアバルブ16の付勢無勢信号出力にシーケンス
情報36により接続されており、エンドエフェクタ制御
用入出力26の入力I/Fの120番のトルクリミット
検知入力信号は内部接点34の362番に、入力I/F
のエアシリンダ14の上昇リミットセンサの入力121
番は内部接点34の363番に接続されており。The 000 step is a position command consisting of a word length of 7 bytes in this case, and its content is to move the first and second arms 3.4 to the first screw tightening positions of 123.45 and 321.09, respectively. , the operations shown in the processing flowchart of FIG. 9 are performed, positioning commands are issued from the bidirectional 1/F 42.43 to the first and second arm servo control devices 28, 29, respectively, and the arms move to the commanded positions. When the positioning operation is completed, the first and second arm servo control devices 28 and 29 output positioning completion responses including current position information to the two-way machine/F42 and 43, respectively, and the CPU 20
If the error between the current position of the second arm 3.4 and the commanded position is within the allowable range, it is determined that the positioning is complete, and a positioning completion time limit pulse signal is output to No. 351 of the internal contact 34 to complete the execution of the positioning command. The internal contact 351 is connected to No. 201 of the external specific input/output 24, and is output as a positioning completion signal to peripheral equipment. The execution step is incremented, the contents of step 001 are read out, the interpreter decodes and determines that it is a screw tightening command, and executes the screw tightening operation shown in the processing flowchart of FIG. Nos. 360 and 361 of the internal contacts 34 are respectively used to output a rotational drive signal for the driver 6 at No. 220 of the output I/F of the end effector control input/output 26, and to output an energization/deactivation signal for the lowering air valve 16 of the slide unit 13. It is connected by the sequence information 36, and the torque limit detection input signal No. 120 of the input I/F of the end effector control input/output 26 is connected to No. 362 of the internal contact 34, and the input I/F
Input 121 of the rise limit sensor of the air cylinder 14 of
No. is connected to No. 363 of internal contact 34.
内部接点34の360番がオンするとドライバ6が駆動
され、内部接点34の361番がオンしエアバルブ16
が開栓するとスライドユニット13がワーク80に対し
て下降しねじ締作業が開始される。ネジがワーク80に
締め付けられると、トルクリミット検知入力信号120
番がオンし、CPU20は内部接点34の
360番をオフしドライバ6の駆動を停止する。続いて
エアバルブ16に対応する内部接点361番をオフする
とスライドユニット13が上昇し、上昇リミットセンサ
の入力121番がオンするとその内部接点363番がオ
ンし、最後にねじ締完了限時パルス信号が内部接点35
2番に出力され、一連のねじ締作業が終了する。更に実
行ステップのインクリメントが行われ002ステツプは
再び位置命令であり、上記と同様に、第1.第2アーム
3.4を夫々234.56.456.78の次のねじ締
位置へ移動する6003ステツプではねじ締命令により
上記で同様にしてねじ締作業が実行される。位置命令、
ねじ締命令の他に必要に応じて入力命令、出力命令、条
件分岐命令等も使用することができることは明らかであ
るが、特に入力命令、出力命令においては、その入出刃
先の線番を入出力I/F30の符号とし直接周辺機器制
御用入出力25をアクセスしこれらに接続された機器の
制御を行うこともできるし、また、その入出刃先の線番
を内部接点34の内に割付けられた線番とし、シーケン
ス情報36により入出力I/F30と接続させることも
できる。ステップ情報32の004ステツプはプログラ
ムの終了を示すコード“EE”が格納されており、イン
タプリタによりこのジョブのステップ終了であることが
解読判別され、作業完了限時パルスが内部接点34の3
50番に与えられ、この内容は外部固有入出力24の2
00番から実際に出力されステーションへ作業の完了を
知らせる。この後ロボット1はこのジョブの先頭のOO
Oステップの位置命令を実行し、次の001ステツプの
ねじ締命令で実行されるねじ締位置の直上に予め移動し
タクトタイムの短縮を図り、次の作業開始信号302番
のオン入力を待つ。When the number 360 of the internal contact 34 is turned on, the driver 6 is driven, and the number 361 of the internal contact 34 is turned on, and the air valve 16 is turned on.
When the screw is opened, the slide unit 13 is lowered relative to the workpiece 80 and the screw tightening operation is started. When the screw is tightened to the workpiece 80, the torque limit detection input signal 120
No. 360 turns on, and the CPU 20 turns off internal contact 34 No. 360 to stop driving the driver 6. Next, when the internal contact No. 361 corresponding to the air valve 16 is turned off, the slide unit 13 rises, and when the input No. 121 of the rise limit sensor is turned on, the internal contact No. 363 is turned on, and finally, the screw tightening completion time limit pulse signal is turned on internally. Contact point 35
It is output to number 2, and the series of screw tightening operations is completed. Furthermore, the execution step is incremented, and the 002 step is again a position command, and the 1st . In step 6003, in which the second arms 3.4 are moved to the next screw tightening position of 234.56.456.78, the screw tightening operation is carried out in the same manner as described above according to the screw tightening command. position command,
It is clear that in addition to screw tightening commands, input commands, output commands, conditional branch commands, etc. can also be used as necessary, but especially in input commands and output commands, the wire number of the input/output tip is input/output. It is also possible to directly access the peripheral device control input/output 25 as the code of the I/F 30 and control the devices connected to these, and the wire number of the input/output tip is assigned in the internal contact 34. It can also be connected to the input/output I/F 30 using the sequence information 36. The 004 step of the step information 32 stores the code "EE" indicating the end of the program, and the interpreter decodes and determines that this is the end of the step of this job, and the work completion time pulse is set at 3 of the internal contact 34.
50, and this content is given to 2 of external specific input/output 24.
It is actually output from number 00 to notify the station that the work has been completed. After this, robot 1 will move to the top OO of this job.
The position command of the O step is executed, and the screw tightening position is preliminarily moved directly above the screw tightening position to be executed by the screw tightening command of the next 001 step to shorten the takt time, and it waits for the next ON input of the work start signal No. 302.
次の作業開始信号が外部固有入出力24の102番から
入力されると上記と同様の動作が実行される。When the next work start signal is input from No. 102 of the external specific input/output 24, the same operation as above is executed.
上記したロボット1の運転制御、ステップ情報32の処
理の逐次進行と並行して第11図に示すフローチャート
に従ってシーケンス情報36のスキャニング処理が実行
され、第6図のパワーオン直後のシーケンス動作RUN
指令によりシーケンス情報36のスキャニング処理の実
行が開始される。In parallel with the operation control of the robot 1 described above and the sequential progress of the processing of the step information 32, the scanning processing of the sequence information 36 is executed according to the flowchart shown in FIG. 11, and the sequence operation RUN immediately after power-on shown in FIG.
In response to the command, execution of the scanning process of the sequence information 36 is started.
第12図に記憶装置35に書き込まれたシーケンス情報
36の一例を示す。第7図に示したラダー図の内容が例
えばz80マイコンのマシン語の形で表現され格納され
ており、CPU20は先頭アドレスがAOOO番地に割
付けられた記憶装置35上を直接実行する。すなわちシ
ーケンス情報36の000.001ステツプは外部固有
入出力24の原点復帰指令入力100番の内容を内部接
点34の300番に伝達するステップであり、001ス
テツプにおいて、CPU20はI−I Lレジスタに数
値100を代入し次にAレジスタにHLレジスタ100
番の内容をロードする。この時原点復帰指令がオンであ
ればD7データライン63が1となるので1バイトのデ
ータ“80″がAレジスタにロードされる。001ステ
ツプにおいてCPU20はHLレジスタに数値300を
代入しその後Aレジスタの内容を300番にストアする
がAレジスタの内容は108077であったからRAM
33の内部接点34の300番にはデータ“80”が書
き込まれ外部固有入出力24の原点復帰入力100番の
オン命令はRAM33の内部接点34の300番に伝達
される。FIG. 12 shows an example of the sequence information 36 written in the storage device 35. The contents of the ladder diagram shown in FIG. 7 are expressed and stored in the form of machine language of, for example, a z80 microcomputer, and the CPU 20 directly executes the program on the storage device 35 whose first address is assigned to address AOOO. That is, step 000.001 of the sequence information 36 is a step for transmitting the contents of the return-to-origin command input number 100 of the external specific input/output 24 to the number 300 of the internal contact 34. Assign the value 100 and then add 100 to the HL register to the A register.
Load the contents of number. At this time, if the origin return command is on, the D7 data line 63 becomes 1, so 1 byte of data "80" is loaded into the A register. At step 001, the CPU 20 assigns the value 300 to the HL register and then stores the contents of the A register in number 300, but since the contents of the A register is 108077, it is stored in the RAM.
Data "80" is written to No. 300 of the internal contact 34 of the RAM 33, and the ON command of the return-to-origin input No. 100 of the external specific input/output 24 is transmitted to No. 300 of the internal contact 34 of the RAM 33.
以下同様にして5TRIOI、0UT301と順次シー
ケンス情報36の論理演算が実行され。記憶装置35に
書き込まれているシーケンス情報36の最終命令を実行
するとその次はAOOO番地にジャンプする命令が書き
込まれており、CPU20は再びA000番地から処理
を実行しシーケンス情報36によりスキャニング処理が
行われる。Thereafter, logical operations on 5TRIOI, 0UT301, and sequence information 36 are performed in the same manner. When the last command of the sequence information 36 written in the storage device 35 is executed, the next command is written to jump to address AOOO, and the CPU 20 executes the process again from address A000, and the scanning process is performed according to the sequence information 36. be exposed.
ステップ情報32の処理実行中に割込み信号38がCP
U20の割込み端に入力されると、第13図のフローチ
ャート及び第14図のタイムチャートに示すように割込
み処理プログラムによりこの時点でのCPU20のコン
デイションコードレジスタ、スタックポインタ、プログ
ラムカウンタ等がRAM23に退避され、一方以前のシ
ーケンス情報36の実行中に割込み信号38の入力によ
り処理の実行を中断されて退避していた上記の内容がR
AM23から復帰し、今度はシーケンス情報36の処理
の実行が再開され、このように割込み信号38が入力さ
れる毎にステップ情報32の処理とシーケンス情報36
の処理の実行がこきざみに交互に行われ、CPU20の
時分割処理動作により、ステップ情報32とシーケンス
情報36の処理が同時に進行して並行して実行される。During execution of step information 32, interrupt signal 38 is CP
When input to the interrupt terminal of U20, the condition code register, stack pointer, program counter, etc. of the CPU 20 at this point are stored in the RAM 23 by the interrupt processing program as shown in the flowchart of FIG. 13 and the time chart of FIG. On the other hand, during the execution of the previous sequence information 36, the execution of the process was interrupted due to the input of the interrupt signal 38, and the above contents were saved.
After returning from AM23, execution of the processing of the sequence information 36 is restarted, and in this way, each time the interrupt signal 38 is input, the processing of the step information 32 and the processing of the sequence information 36 are resumed.
The processing of the step information 32 and the sequence information 36 are executed in parallel in parallel by the time-sharing processing operation of the CPU 20.
第15図のフローチャートに示すように、作業完了限時
パルス出力などのタイマ処理は、マスク不能割込み処理
により定時的に実行され、例えばRAM23内にセット
されたタイマ値の内容を割込み処理が発生する毎にデク
リメントすることにより、タイマ処理が行われる。As shown in the flowchart of FIG. 15, timer processing such as outputting a work completion time limit pulse is executed periodically by non-maskable interrupt processing, and for example, the contents of the timer value set in the RAM 23 are transmitted every time an interrupt processing occurs. Timer processing is performed by decrementing the value.
以上の動作において、本発明の目的である作業開始の条
件として単に作業開始信号の入力によりねじ締作業を開
始するのではなく、ねじ締作業の信頼性を向上させるた
めにプラテン82に載置されて流れて来るワーク80の
a虹姿勢の良否をセンサで検知し、載置姿勢OKのセン
サ出力信号が入力される周辺機器制御入出力25の入力
部25aの信号線110番と作業開始指令の外部固有入
出力24の信号線102番の論理積をとりねじ締作業を
開始させる場合には、K D41を用い記憶装置35の
一部を変更すると、変更した部分のラダー図の内容は第
16図に示すものとなり、信号線102番と信号線11
0番の論理積をとり上記が共にオンとなった時に内部接
点302番がオンし作業開始の指令が発せられるように
容易に変更することができ、この場合あくまでロボット
1の作業開始の指令は内部接点302番で判断するため
、第6図のフローチャートは変更する必要はなく従って
ROM22の内容は以前のままでよい。In the above operation, the screw tightening work is not started simply by inputting a work start signal as a condition for starting work, which is the object of the present invention, but in order to improve the reliability of the screw tightening work, A sensor detects the acceptability of the rainbow posture of the work 80 flowing in, and the signal line 110 of the input section 25a of the peripheral device control input/output 25 receives the sensor output signal indicating that the placement posture is OK, and the signal line 110 of the input section 25a of the work start command. When starting the screw tightening work by taking the logical product of the signal line No. 102 of the external specific input/output 24, if a part of the storage device 35 is changed using the K D41, the content of the changed part of the ladder diagram will be changed to the 16th ladder diagram. As shown in the figure, signal line 102 and signal line 11
It can be easily changed so that when the above is logically ANDed and both of the above are turned on, internal contact No. 302 is turned on and a command to start work is issued. In this case, the command for robot 1 to start work is Since the determination is made using the internal contact point 302, there is no need to change the flowchart in FIG. 6, and therefore the contents of the ROM 22 may remain as they were before.
外部固有入出力24の201番において位置決め完了信
号の内部接点351番からの出力に代えてねじ締完了信
号の内部接点352番を出力する変更を行う必要が生じ
た場合には、第17図に示すラダー図のように、内部接
点352番の出力光を外部固有入出力24の201番に
つなぎ替える。If it becomes necessary to output the screw tightening completion signal from internal contact No. 352 at No. 201 of the external specific input/output 24 instead of outputting the positioning completion signal from internal contact No. 351, please refer to Fig. 17. As shown in the ladder diagram, the output light from internal contact No. 352 is reconnected to No. 201 of external specific input/output 24.
周辺機器制御装置入出力25によって周辺機器の制御を
行うため、第18図に示すように周辺機器制御用入出力
25の信号線の111番と112番の論理和の結果と1
13番との論理積をとりこの結果を211番から出力す
るようにシーケンス情報36に書き加え、ロボット1の
動作とは別個にこれと並行して周辺機器を制御すること
ができ、上記の周辺機器の制御において、位置決め完了
、ねじ締完了等のねじ締めロボット1の動作の各段階あ
るいは機械原点信号、上昇リミット信号等のエンドエフ
ェクタ制御用入出力26、内界センサ入力27のロボッ
ト1の動作状態を示す信号を利用することにより、ロボ
ット1と周辺機器を関連させて動作させることができる
1以上の説明においてシーケンス情報36は論理積、論
理和について説明したが、命令の種類として一般のプロ
グラマコントローラでも使用する命令であるタイマ、カ
ウンタ、立ち上がり微分等のサブルーチン処理を利用し
た命令も使用できることは明らかである。In order to control peripheral devices by the peripheral device control device input/output 25, as shown in FIG.
By performing a logical AND with No. 13 and writing this result into the sequence information 36 so as to output it from No. 211, it is possible to control the peripheral equipment separately and in parallel with the operation of the robot 1. In equipment control, each stage of the operation of the screw tightening robot 1 such as completion of positioning and completion of screw tightening, or the operation of the robot 1 at the input/output 26 for end effector control such as a machine origin signal and a rise limit signal, and the internal sensor input 27 By using signals indicating the status, the robot 1 and peripheral devices can be operated in association with each other.In the above explanations, the sequence information 36 has been explained about AND and OR, but as a type of instruction, it can be operated by a general programmer. It is clear that instructions using subroutine processing such as timer, counter, and rising differential, which are also used in the controller, can also be used.
第19図は本発明の他の実施例を示すロボット制御装置
19のブロック図であり、CPU20の時分割処理動作
に代えてCPU70を用いシーケンス情報35のスキャ
ニング処理を専門に行わせ処理スピードを向上させるよ
うにしたものであり、第3図のブロック図と同一の部分
には同一の符号が付しである。内部接点34の内容はC
PU70の処理動作によってシーケンス情報36の内容
に従って入出力I/F30に入出力される。RAM33
においてCPU20.70のアクセスが同時に行われる
のを防止するためCPU20.70の動作状態を互いに
連絡する信号線74が設けられている。なおROM72
、RAM73、KD71は夫々ROM22、RAM23
、K D41と同様の目的で設けられている。FIG. 19 is a block diagram of a robot control device 19 showing another embodiment of the present invention, in which the CPU 70 is used instead of the time-sharing processing operation of the CPU 20 to perform specialized scanning processing of the sequence information 35 to improve processing speed. The same parts as in the block diagram of FIG. 3 are given the same reference numerals. The contents of the internal contact 34 are C
The processing operation of the PU 70 causes input/output to the input/output I/F 30 according to the contents of the sequence information 36. RAM33
In order to prevent the CPUs 20.70 from being accessed at the same time, a signal line 74 is provided to communicate the operating states of the CPUs 20.70 to each other. Furthermore, ROM72
, RAM73, and KD71 are ROM22 and RAM23, respectively.
, KD41 is provided for the same purpose.
本発明によれば。ロボットの運転制御に関する外部固有
信号の入出力及びロボットの動作制御に関する動作の各
段階を逐次進めていくステップ情報によるエンドエフェ
クタの付勢無勢信号の出力、リミットスイッチの信号の
入力等の実際に信号の入出力を行う入出力I/Fを介し
て直接には入出力せず、これら信号の入出力はRAM内
にアドレスされた内部接点の読み出し書き込みにより行
う間接的な入出力とし、内部接点の情報はシーケンス制
御情報によるラダーシーケンスに従って常時スキャニン
グ処理による論理演算が行われて実際に入出力を行う入
出力I/Fから入出力され、上記したロボットの運転制
御、ステップ情報の処理の逐次進行とシーケンス情報の
スキャニング処理を同時に並行して実行するようにした
ので、ロボットの運転制御に関する外部固有信号の入力
条件の変更等の使用変更に対して現地で迅速、柔軟に対
応可能であり、また位置、ねじ締その他のエンドエフェ
クタの付勢無勢等の動作の各段階を逐次進めていくステ
ップ情報によるロボットの動作制御とは別個に、これと
並行して周辺機器の制御を同時に行える効果がある。According to the invention. Actual signals such as input/output of external specific signals related to robot operation control, output of end effector energization/deenergization signals based on step information that sequentially advances each step of operation related to robot operation control, input of limit switch signals, etc. These signals are not directly input/output through the input/output I/F that performs input/output, but are indirectly input/output by reading and writing to internal contacts addressed in the RAM. Information is input/output from the input/output I/F where logical operations are constantly performed by scanning processing according to the ladder sequence based on sequence control information, and the input/output is actually performed, and the above-mentioned robot operation control and step information processing progress sequentially. Since the scanning process of sequence information is executed in parallel, it is possible to quickly and flexibly respond on-site to changes in usage, such as changes in the input conditions of external specific signals related to robot operation control, and also to In addition to the robot operation control based on step information that sequentially progresses through each stage of operations such as screw tightening and other operations such as energization and de-energization of end effectors, there is an effect that peripheral devices can be simultaneously controlled in parallel.
図面は本発明の実施例を示すものであり、第1図はロボ
ットの正面図、第2図は第1図の平面図。
第3図はロボット制御装置のブロック図、第4図はサー
ボ制御装置のブロック図、第5図は入出力I/F及び内
部接点の部分の具体的実施例を示す回路図、第6図はロ
ボット制御装置の運転制御とステップ情報に基づく動作
制御についての処理手順を示したフローチャート、第7
図はシーケンス情報のラダー図、第8図はステップ情報
の内容を示した図、第9図は位置の命令の処理手順を示
したフローチャート、第10図はねじ締の命令の処理手
順を示したフローチャート、第11図はシーケンス情報
の処理手順を示したフローチャート、第12図はシーケ
ンス情報の内容を示した図、第13図は割込み処理の処
理手順を示すフローチャート、第14図は時分割処理動
作を示すタイムチャート、第15図は割込み処理の処理
手順を示すフローチャート、第16図〜第18図はラダ
ー図、第19図は本発明の他の実施例を示すロボット制
御装置のブロック図である。
図において、20はマイコン、30は入出力I/F、3
1、35は記憶装置、32はステップ情報、33はRA
M、34は内部接点、36はシーケンス情報である。
特許出願人の名称 日立工機株式会社第20
第1)口
第7図
第12図
茅130
芥!60
!4170
第1s口The drawings show an embodiment of the present invention, and FIG. 1 is a front view of the robot, and FIG. 2 is a plan view of FIG. 1. Fig. 3 is a block diagram of the robot control device, Fig. 4 is a block diagram of the servo control device, Fig. 5 is a circuit diagram showing a specific example of the input/output I/F and internal contacts, and Fig. 6 is a block diagram of the robot control device. Flowchart showing the processing procedure for operation control of the robot control device and operation control based on step information, No. 7
The figure is a ladder diagram of sequence information, Figure 8 is a diagram showing the contents of step information, Figure 9 is a flowchart showing the processing procedure for position commands, and Figure 10 is the processing procedure for screw tightening commands. Flowchart, FIG. 11 is a flowchart showing the processing procedure of sequence information, FIG. 12 is a diagram showing the contents of sequence information, FIG. 13 is a flowchart showing the processing procedure of interrupt processing, and FIG. 14 is a time-sharing processing operation. FIG. 15 is a flowchart showing the processing procedure of interrupt processing, FIGS. 16 to 18 are ladder diagrams, and FIG. 19 is a block diagram of a robot control device showing another embodiment of the present invention. . In the figure, 20 is a microcomputer, 30 is an input/output I/F, 3
1 and 35 are storage devices, 32 is step information, and 33 is RA
M, 34 is an internal contact, and 36 is sequence information. Name of Patent Applicant Hitachi Koki Co., Ltd. No. 20 1) Mouth Figure 7 Figure 12 Moya 130 Mustard! 60! 4170 1st s port
Claims (1)
ログラムされ記憶装置に格納されたステップ情報に基づ
き動作の各段階を逐次進行させるためのエンドエフェク
タへの付勢信号の出力、内界センサからの信号の入力等
入出力インタフェイスを介して制御機器との信号の入出
力動作を行いマイクロコンピュータによって制御処理が
行われるロボットの制御装置であって、 信号の入出力回路にランダムアクセスメモリを設け信号
の入出力動作は制御機器と直接接続されていない前記ラ
ンダムアクセスメモリ内にアドレスされた内部接点の読
み出し書き込み動作により行い、該内部接点と制御機器
と直接接続されている前記入出インタフェイスの間は予
めプログラムされ記憶装置に格納されたシーケンス制御
情報によって信号のオンオフの論理演算により相互の信
号の伝達を行い、運転制御及びステップ情報の処理の逐
次進行の実行とシーケンス情報のスキャニング処理の実
行を同時に並行して行うようにしたことを特徴とするロ
ボットの制御装置。 2、前記運転制御及びステップ情報の処理の逐次進行の
実行とシーケンス情報のスキャニング処理の実行をマイ
クロコンピュータの時分割処理動作により同時に並行し
て行うようにしたことを特徴とする請求項1記載のロボ
ットの制御装置。[Claims] 1. Input/output of external specific signals for controlling operation, energizing the end effector to sequentially advance each stage of operation based on step information programmed in advance and stored in a storage device. A robot control device that inputs and outputs signals to and from control equipment via an input/output interface, such as outputting signals and inputting signals from internal sensors, and performs control processing using a microcomputer. A random access memory is provided in the output circuit, and signal input/output operations are performed by read/write operations of internal contacts addressed in the random access memory that are not directly connected to the control equipment, and the internal contacts are directly connected to the control equipment. Between the input and output interfaces, mutual signals are transmitted through logic operations of signal on/off based on sequence control information programmed in advance and stored in a storage device, and operation control and step information processing are executed sequentially. A robot control device characterized in that a robot control device is configured to simultaneously execute scanning processing of sequence information and scanning processing of sequence information in parallel. 2. The apparatus according to claim 1, wherein the sequential execution of the operation control and step information processing and the execution of the sequence information scanning process are simultaneously performed in parallel by time-sharing processing operations of a microcomputer. Robot control device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63117588A JP2751205B2 (en) | 1988-05-13 | 1988-05-13 | Robot control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63117588A JP2751205B2 (en) | 1988-05-13 | 1988-05-13 | Robot control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01287705A true JPH01287705A (en) | 1989-11-20 |
| JP2751205B2 JP2751205B2 (en) | 1998-05-18 |
Family
ID=14715533
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63117588A Expired - Lifetime JP2751205B2 (en) | 1988-05-13 | 1988-05-13 | Robot control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2751205B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002059385A (en) * | 2000-08-23 | 2002-02-26 | Toyota Motor Corp | Work robot system |
| CN107530845A (en) * | 2015-05-11 | 2018-01-02 | 川崎重工业株式会社 | Nut fastening system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61256406A (en) * | 1985-05-10 | 1986-11-14 | Hitachi Ltd | Control device |
| JPH01169507A (en) * | 1987-12-24 | 1989-07-04 | Honda Motor Co Ltd | robot control device |
-
1988
- 1988-05-13 JP JP63117588A patent/JP2751205B2/en not_active Expired - Lifetime
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61256406A (en) * | 1985-05-10 | 1986-11-14 | Hitachi Ltd | Control device |
| JPH01169507A (en) * | 1987-12-24 | 1989-07-04 | Honda Motor Co Ltd | robot control device |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002059385A (en) * | 2000-08-23 | 2002-02-26 | Toyota Motor Corp | Work robot system |
| CN107530845A (en) * | 2015-05-11 | 2018-01-02 | 川崎重工业株式会社 | Nut fastening system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2751205B2 (en) | 1998-05-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4165534A (en) | Digital control system with Boolean processor | |
| JP3269003B2 (en) | Robot controller | |
| CN100585525C (en) | Numerical control system | |
| WO1988008559A1 (en) | Numerical control device | |
| US20040236462A1 (en) | Numerical control apparatus for machine tool | |
| EP1134634B1 (en) | Programmable controller | |
| JP2751205B2 (en) | Robot control device | |
| JPH0553594B2 (en) | ||
| CN1384410A (en) | Programmable controller | |
| CA1103364A (en) | Programmable controller with integral microprocessor | |
| JPH03282703A (en) | Universal robot controller | |
| JPS63239511A (en) | Robot system | |
| JP3764436B2 (en) | Machine control device | |
| US20210405606A1 (en) | Production system, host control device, control device, communication method, and program | |
| KR100221491B1 (en) | Method for controlling dual robot | |
| JPS60218113A (en) | Robot control system | |
| JP3460747B2 (en) | Numerical control unit | |
| JP3041959B2 (en) | Programmable controller | |
| JPH07299792A (en) | Multi-arm robot system and its control method | |
| KR0176554B1 (en) | Automated Facility System Control Method Using Positioning Unit | |
| JP7575691B2 (en) | Robot control device and robot system | |
| JPS63138403A (en) | Data transfer system | |
| JP2939259B2 (en) | Operation panel for programmable controller | |
| JP3350699B2 (en) | Programmable controller | |
| JP2025121444A (en) | Robot control device and robot system |