JPH0452833A - robot control device - Google Patents

robot control device

Info

Publication number
JPH0452833A
JPH0452833A JP15538990A JP15538990A JPH0452833A JP H0452833 A JPH0452833 A JP H0452833A JP 15538990 A JP15538990 A JP 15538990A JP 15538990 A JP15538990 A JP 15538990A JP H0452833 A JPH0452833 A JP H0452833A
Authority
JP
Japan
Prior art keywords
input
program
lines
robot control
control device
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
JP15538990A
Other languages
Japanese (ja)
Inventor
Makoto Akahira
誠 赤平
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP15538990A priority Critical patent/JPH0452833A/en
Publication of JPH0452833A publication Critical patent/JPH0452833A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はロボットの動作を制御するロボット制御プログ
ラムを入力するロボット制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a robot control device into which a robot control program for controlling the operation of a robot is input.

[従来の技術] 従来のロボット制御装置では、プログラム格納容量に対
して制限がある場合、ロボットプログラムの格納形式を
固定長とし、回行以内プログラミング可能とし事前にユ
ーザーに知らせておくか、格納形式を可変長とし任意に
プログラムを入力させ、容量が残り少なくなった時点、
もしくは容量がなくなった時点でユーザーに知らせるか
の方法がとられている。
[Prior Art] In conventional robot control devices, when there is a limit to the program storage capacity, the robot program is stored in a fixed length format, and the user is informed in advance that programming can be done within a number of cycles, or the storage format is changed. When the length is variable and a program is input arbitrarily, when the capacity becomes low,
Alternatively, the method is to notify the user when the capacity is used up.

[発明が解決しようとしている課題] 従来のロボット制御装置では、プログラム格納形式を固
定長にした場合にはプログラム格納形式の長さを最も長
いものにあわせるため、格納エリアにかなり無駄が生じ
た。その改良として格納形式を可変長にし、残り少なく
なった時点、不足した時点でユーザーに知らせる方法が
あるが、この場合、ユーザーによりプログラムの書き方
等に特徴があり、入力可能行数が人により違い一概に回
行入力可といえず計画的にプログラミングできない欠点
がある。
[Problems to be Solved by the Invention] In conventional robot control devices, when the program storage format is set to a fixed length, the length of the program storage format is adjusted to the longest one, resulting in a considerable waste of storage area. As an improvement, there is a method of making the storage format variable length and notifying the user when the remaining amount is low or insufficient, but in this case, the number of lines that can be input varies depending on the user, and the number of lines that can be input varies depending on the user. It has the disadvantage that it cannot be programmed in a planned manner as it cannot be said to allow repeated input.

また、従来では後日のプログラム修正のためにメモリの
予備がどの位あるかを把握できず、またメモリが有効に
利用できないため、大きめのメモリを確保しておかなく
てはならないなどメモリの使用効率に問題点がある。
In addition, in the past, it was not possible to know how much spare memory was available for later program modifications, and the memory could not be used effectively, so it was necessary to reserve a large amount of memory. There is a problem with this.

[問題点を解決するための手段] かかる課題を解決する本発明のロボット制御装置は、残
入力可能量を求め、それをプログラマ−に知らせる出力
手段を設けることにより、ユーザーがロボットプログラ
ムをメモリの無駄を省いて入力できることを特徴とする
[Means for Solving the Problems] The robot control device of the present invention that solves the above problems is provided with an output means for determining the remaining input capacity and notifying the programmer of it, so that the user can save the robot program in the memory. It is characterized by being able to input data without waste.

とくに、前記メモリへの行あたりのキャラクタ−数から
入力可能な行数を求め、これを出力することを更に特徴
とする。
In particular, the present invention is further characterized in that the number of lines that can be input is determined from the number of characters per line to the memory, and this is output.

[実施例] 第1図は本発明のロボット制御装置をブロック的に示す
の構成図、第2図は第1図のロボット制御装置が実行す
る制御を示す動作フローチャートである。
[Embodiment] FIG. 1 is a block diagram showing a robot control device of the present invention, and FIG. 2 is an operation flowchart showing control executed by the robot control device of FIG. 1.

工はソースプログラムを入力するためのキーホード、2
は入力されたプログラムを一時的に格納する格納領域、
あるいはCPU4のワーキングエリアとして使用される
RAMである。RAM2はプログラマ−がプログラムの
各ステップを入力するたびごとに押されたリターンキー
の押釦数のカウント値を格納するソフトキーカウンター
2cをその一部に有する。
The engineer is a keyboard for inputting the source program, 2
is a storage area that temporarily stores the input program,
Alternatively, it is a RAM used as a working area of the CPU 4. A part of the RAM 2 includes a soft key counter 2c that stores a count value of the number of return key presses each time the programmer inputs each step of the program.

3は第3図の計算式にしたがって、これから入力できる
入力可能行数を求めるプログラムを格納しているROM
である。4は実施例にしたがって実際の制御を実行する
CPU、5は結果を表示するデイスプレィである。
3 is a ROM that stores a program that calculates the number of input lines that can be input from now on according to the formula shown in Figure 3.
It is. 4 is a CPU that executes actual control according to the embodiment, and 5 is a display that displays the results.

上記構成においてキーボード1より第4図で示されるプ
ログラムの入力は各ステップの入力が終了すると、プロ
グラマ−はリターンキーを押す。
In the above configuration, when inputting the program shown in FIG. 4 from the keyboard 1, the programmer presses the return key after inputting each step.

リターンキーの押された回数は係数され、カウンタ2C
に入力行数として格納される。プログラムの格納形式は
アスキー、中間コード等いろいろ考えられるが、その格
納形式は可変長型であれば何でもよいので、ここでは分
りやすくするため、アスキーで格納することとする。
The number of times the return key is pressed is multiplied by the counter 2C.
is stored as the number of input rows. The program can be stored in various formats, such as ASCII or intermediate code, but any variable-length format may be used, so for the sake of clarity, we will store the program in ASCII.

さて、ここでユーザが第4図のようにコメント文付きプ
ログラムを書いている途中で、キーボードより、所定の
キー人力をし、メモリ類を求めると、制御が第2図のサ
ブルーチンに移り、Slで入力されたプログラムの総キ
ャラクタ数から入力容量を求める。S2では、カウンタ
2cから入力行数を読み、S3で第3図(A)にしたが
って更に入力可能な行数を計算する。計算された 行数
はデイスプレィ5に表示する。
Now, while the user is writing a program with comment statements as shown in Figure 4, if the user presses a specified key on the keyboard to request memory, control is transferred to the subroutine shown in Figure 2, and Sl. Find the input capacity from the total number of characters of the program input in . In S2, the number of input lines is read from the counter 2c, and in S3, the number of lines that can be further input is calculated according to FIG. 3(A). The calculated number of lines is displayed on the display 5.

なお、上述した計算では、入力された行数の平均値から
入力可能行数を求めたが、全容量から入力容量を減算し
、これをキャラクタ数が最大の行のキャラクタ数で除せ
ば入力可能行数を余裕をもって求めることができる。こ
の計算式を第3図(B)に示す。
In addition, in the above calculation, the number of lines that can be input was determined from the average value of the number of input lines, but if you subtract the input capacity from the total capacity and divide this by the number of characters in the line with the maximum number of characters, the input The possible number of lines can be calculated with a margin. This calculation formula is shown in FIG. 3(B).

さて、第4図の入力プログラムは全部で90バイト(1
文字1バイトとすると)であり、このプログラムを格納
するメモリの全容量を1000バイトとすると、第3図
(A)に従って計算するととなり、デイスプレィに第5
図のように残容量50行が表示されることになる。
Now, the input program in Figure 4 has a total of 90 bytes (1
), and if the total capacity of the memory that stores this program is 1000 bytes, then the calculation is performed according to Figure 3 (A), and the 5th character is displayed on the display.
As shown in the figure, 50 lines of remaining capacity will be displayed.

同様にユーザ2が第4図のプログラムをコメント文なし
で書くと全部で49バイト必要とし、残容量97行と表
示される。以上のように、同じ様なプログラムを作成し
てもユーザの違いによちプログラム格納可能行数がかな
り違う。
Similarly, if user 2 writes the program shown in FIG. 4 without comments, it will require a total of 49 bytes, and the remaining capacity will be displayed as 97 lines. As described above, even if similar programs are created, the number of lines that can be stored in the program varies considerably depending on the user.

[他の実施例] ユーザーがメモリー残を求める際、所定のキーを入力す
るのではなく、1行入力時リターンキーが押される毎に
自動計算、表示を行うことも可能である。また、入力可
能行数推定手段の代わりに、単に残りバイト数を計算し
、表示するだけでも所要の効果は得られる。
[Other Embodiments] When the user requests the remaining memory, instead of inputting a predetermined key, the calculation and display can be performed automatically each time the return key is pressed when inputting one line. Further, instead of using the input possible line number estimating means, the desired effect can be obtained by simply calculating and displaying the remaining number of bytes.

プログラムに限らず、変数、ティーチングポイント等で
も同様の効果が得られる。
Similar effects can be obtained not only with programs but also with variables, teaching points, etc.

また実施例はプログラム−行単位の格納形式を可変長と
して示したか、固定長であっても、残入力可能行数を表
示するだけでも効果はある。
Further, in the embodiment, the storage format of each line of the program is shown as a variable length, or even if it is a fixed length, it is effective to simply display the number of lines that can be input remaining.

[発明の効果コ 以上のように、入力可能量推定手段及びその表示手段を
設けたことにより、 l)プログラム入力時、残入力可能数がユーザ毎に正確
に把握できる。
[Effects of the Invention] As described above, by providing the possible input amount estimating means and its display means: l) When inputting a program, the remaining input possible amount can be accurately grasped for each user.

2)後の修正用に計画的に空容量を確保できる。2) Free capacity can be secured in a planned manner for later corrections.

3)プログラムエリアの無駄を小さくでき、メモリのコ
ストダウンを図ることができる。
3) It is possible to reduce waste in the program area and reduce memory costs.

特に、実施例のように行数で残入力可能数を表示すれば
、プログラマとってメモリ容量の残を非常に把握し易く
なる。
In particular, if the remaining input possible number is displayed in terms of the number of lines as in the embodiment, it becomes very easy for the programmer to grasp the remaining memory capacity.

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

第1図は本発明の一実施例のロボット制御装置をブロッ
ク的に示すの構成図、 第2図は第1図のロボット制御装置が実行する制御を示
す動作フローチャート、 第3図は入力可能行数を求める計算式の一例を示す図、 第4図は入力したプログラムの一例を示す図、第5図は
残容量表示する画面の一例を示す図である。 特許出願人  キャノン株式会社 代理人 弁理士  大塚康徳(他1名)第3図 (A) 第3図 (B) 第4図 第2図
Fig. 1 is a block diagram showing a robot control device according to an embodiment of the present invention; Fig. 2 is an operation flowchart showing the control executed by the robot control device of Fig. 1; and Fig. 3 is a line in which input is possible. FIG. 4 is a diagram showing an example of an input program, and FIG. 5 is a diagram showing an example of a screen displaying remaining capacity. Patent applicant Canon Co., Ltd. Agent Patent attorney Yasunori Otsuka (and 1 other person) Figure 3 (A) Figure 3 (B) Figure 4 Figure 2

Claims (3)

【特許請求の範囲】[Claims] (1)ロボットの制御プログラムを作成入力することが
可能なロボット制御装置において、入力された制御プロ
グラムを格納するメモリと、メモリへの蓄積量から該メ
モリへの入力可能数を出力する出力手段とを備えること
を特徴とするロボット制御装置。
(1) A robot control device capable of creating and inputting a robot control program, which includes a memory for storing the input control program, and an output means for outputting the number of possible inputs to the memory based on the amount stored in the memory. A robot control device comprising:
(2)行当たりの平均キャラクター数から入力可能な行
数を求め、この行数を出力することを特徴とする請求項
第1項記載のボット制御装置。
(2) The bot control device according to claim 1, wherein the number of lines that can be input is determined from the average number of characters per line, and this number of lines is output.
(3)最大行あたりのキャラクター数から入力可能な行
数を求め、この行数を出力することを特徴とする請求項
第2項記載のロボット制御装置。
(3) The robot control device according to claim 2, wherein the number of lines that can be input is determined from the maximum number of characters per line, and this number of lines is output.
JP15538990A 1990-06-15 1990-06-15 robot control device Pending JPH0452833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15538990A JPH0452833A (en) 1990-06-15 1990-06-15 robot control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15538990A JPH0452833A (en) 1990-06-15 1990-06-15 robot control device

Publications (1)

Publication Number Publication Date
JPH0452833A true JPH0452833A (en) 1992-02-20

Family

ID=15604887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15538990A Pending JPH0452833A (en) 1990-06-15 1990-06-15 robot control device

Country Status (1)

Country Link
JP (1) JPH0452833A (en)

Similar Documents

Publication Publication Date Title
JP3568127B2 (en) Graph display device and graph display method
JPH0792789B2 (en) Graph display device
JPH0452833A (en) robot control device
JPS5846028B2 (en) Display method
JP2715405B2 (en) Graph display control device and graph display control method
JPH0720721Y2 (en) Programmable controller programmer
JPS61267856A (en) Graph display device
JPH0363245U (en)
JPS63183653U (en)
JPH0452927A (en) fuzzy controller
JPH01138154U (en)
JPS63147753U (en)
JPS63177205A (en) Programming device for programmable controller
JPS6384656U (en)
JPS5890240A (en) Display
JPS6361058U (en)
JPS63118658U (en)
JPH0187425U (en)
JPH0478657U (en)
JPS63183649U (en)
JPH06186940A (en) Display controller
JPH02104456U (en)
JPS62210504A (en) Program memory controller
JPH0346062A (en) Table processor
JPH01197803A (en) Miniature program device for programmable controller