JPH04335408A - Vision sensor device - Google Patents
Vision sensor deviceInfo
- Publication number
- JPH04335408A JPH04335408A JP10621191A JP10621191A JPH04335408A JP H04335408 A JPH04335408 A JP H04335408A JP 10621191 A JP10621191 A JP 10621191A JP 10621191 A JP10621191 A JP 10621191A JP H04335408 A JPH04335408 A JP H04335408A
- Authority
- JP
- Japan
- Prior art keywords
- command
- displayed
- switch
- processing program
- processing
- 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
Links
Landscapes
- Numerical Control (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、視覚センサ装置に関す
るものであり、特に、ファクトリーオートメーションの
組立作業及び搬送作業において対象ワークを識別、計測
する視覚センサ装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a visual sensor device, and more particularly to a visual sensor device for identifying and measuring target workpieces in assembly and transportation operations in factory automation.
【0002】0002
【従来の技術】図8は、特開平2−79106号公報に
掲載されている従来のプログラムコントローラ(以下、
単に『PC』という)用データの書換方法を示すフロー
チャートであり、図9は従来のモニタ表示器に表示され
たセッティングデータ画面を示す表示図である。2. Description of the Related Art FIG. 8 shows a conventional program controller (hereinafter referred to as
9 is a flowchart showing a method of rewriting data for a PC (simply referred to as a "PC"), and FIG. 9 is a display diagram showing a setting data screen displayed on a conventional monitor display.
【0003】データの書換方法について図8のフローチ
ャートに沿って説明する。[0003] A data rewriting method will be explained with reference to the flowchart shown in FIG.
【0004】図において、NC制御(数値制御)回路側
のステップS11でパラメータデータを読取りRAMに
転送し、ステップS12でセッティングデータ画面に表
示するPC用データの格納準備をし、ステップS13で
PC回路側にデータ転送の要求を出力する。PC回路側
では、既にステップS14でPC内パラメータデータを
読取り、PC内RAMに転送しており、ステップS15
でNC制御回路側に転送すべきアドレスとデータが準備
されている。そこで、ステップS16でPC回路側から
NC制御回路側に準備されたアドレスとデータが転送さ
れる。NC制御回路側のステップS17ではモニタ表示
器にセッティング画面を表示するか否かの判断がされ、
データ変更時には、ステップS18でセッティングデー
タ画面の画像表示がされ、ステップS19でPC用デー
タ変更のための画面表示要求の有無が判断される。変更
する場合には、ステップS20で図9のようなPC用デ
ータ変更のためのセッティングデータ画面がモニタ表示
器に表示される。図9はモニタ表示器に表示されたセッ
ティングデータ画面を示す表示図であり、セッティング
データ画面にはPC内データのアドレスとデータが表示
される。ステップS21ではPC用データ変更の有無が
判断され、データを変更したい場合にはキーボードを操
作して書換える。ステップS22でセッティングデータ
画面のデータを入換表示するとともに、変更データをN
C制御回路からPC回路側に転送する。PC回路側では
ステップS23で変更データの書換えが実行され、PC
内データのNC回路のセッティング画面を介してのデー
タ変更は終了する。In the figure, in step S11 on the NC control (numerical control) circuit side, parameter data is read and transferred to the RAM, in step S12 preparations are made to store data for the PC to be displayed on the setting data screen, and in step S13 the PC circuit Outputs a data transfer request to the side. On the PC circuit side, the PC internal parameter data has already been read in step S14 and transferred to the PC internal RAM, and step S15
The address and data to be transferred to the NC control circuit are prepared. Therefore, in step S16, the prepared address and data are transferred from the PC circuit side to the NC control circuit side. In step S17 on the NC control circuit side, it is determined whether or not to display the setting screen on the monitor display.
When changing data, an image of a setting data screen is displayed in step S18, and it is determined in step S19 whether or not there is a screen display request for changing PC data. When changing, a setting data screen for changing PC data as shown in FIG. 9 is displayed on the monitor display in step S20. FIG. 9 is a display diagram showing a setting data screen displayed on a monitor display, and addresses and data of data in the PC are displayed on the setting data screen. In step S21, it is determined whether or not the data for the PC needs to be changed, and if the data is desired to be changed, it is rewritten by operating the keyboard. In step S22, the data on the setting data screen is replaced and displayed, and the changed data is
Transfer from the C control circuit to the PC circuit side. On the PC circuit side, the changed data is rewritten in step S23, and the PC circuit
Changing the internal data via the NC circuit setting screen is completed.
【0005】なお、この他のデータ転送に関する技術と
して、特開平2−308320号公報に記載の技術もあ
る。この技術は、ビデオ信号経路に分岐接続された拡張
装置へ表示制御装置からのデータを転送するデータ転送
方式に関するものである。[0005] As another technology related to data transfer, there is also a technology described in Japanese Patent Application Laid-Open No. 2-308320. This technology relates to a data transfer method for transferring data from a display control device to an expansion device branch-connected to a video signal path.
【0006】[0006]
【発明が解決しようとする課題】上記のような従来のデ
ータ書換方法では、アドレスとデータだけしか画面に表
示されなかった。視覚センサ装置においては、変更した
データで処理プログラムが正しく動作するか否かは、デ
ータ変更時にはモニタ表示器で処理結果を直接認識でき
ないために、処理プログラムを実行させて、センシング
動作を行なわないと確認できなかった。処理プログラム
が正しく動作しない場合には、再度同じように変更し、
転送をするといった作業が必要であった。したがって、
処理プログラムの変更のために長時間を要し、多くの手
間がかかっていた。[Problems to be Solved by the Invention] In the conventional data rewriting method as described above, only addresses and data are displayed on the screen. In visual sensor devices, whether or not the processing program operates correctly with changed data is determined only by running the processing program and performing sensing operations, since the processing results cannot be directly recognized on the monitor display when data is changed. Could not confirm. If the processing program does not work correctly, make the same changes again and
Transfer work was required. therefore,
It took a long time and a lot of effort to change the processing program.
【0007】そこで、この発明は、少数のスイッチ操作
で短時間で簡単に、しかも正確に処理プログラムの変更
ができる視覚センサ装置の提供を課題とするものである
。SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a visual sensor device in which a processing program can be easily and accurately changed in a short period of time by operating a small number of switches.
【0008】[0008]
【課題を解決するための手段】本発明にかかる視覚セン
サ装置は、対象ワークの画像を読取る画像読取手段と、
前記画像読取手段からのビデオ信号を処理し、対象ワー
クの特徴量を計測する画像処理手段と、前記画像処理手
段の計測結果を画面に表示する画面表示手段と、特定の
処理を選択する処理選択手段と、前記処理選択手段で選
択された処理を実行するコマンドを処理プログラムから
表示するコマンド表示手段と、前記コマンド表示手段で
表示されたコマンドの中から1つのコマンド行を選択す
るコマンド選択手段と、前記コマンド選択手段で選択さ
れたコマンドの種類により前記画面表示手段にコマンド
実行結果を表示するコマンド実行結果表示手段と、前記
コマンド実行結果をスイッチの入力に応じて変更するコ
マンド変更手段と、前記コマンド選択手段で処理プログ
ラムから選択したコマンドを前記コマンド変更手段で変
更されたコマンドに変更する処理プログラム変更手段と
を具備するものである。[Means for Solving the Problems] A visual sensor device according to the present invention includes an image reading means for reading an image of a target work;
an image processing means for processing the video signal from the image reading means and measuring the characteristic amount of the target work; a screen display means for displaying the measurement results of the image processing means on a screen; and a process selection for selecting a specific process. means, command display means for displaying from a processing program a command for executing the process selected by the process selection means, and command selection means for selecting one command line from among the commands displayed by the command display means. , a command execution result display means for displaying a command execution result on the screen display means according to the type of command selected by the command selection means; a command changing means for changing the command execution result according to an input of a switch; The processing program changing means changes the command selected from the processing program by the command selecting means to the command changed by the command changing means.
【0009】[0009]
【作用】この発明の視覚センサ装置においては、特定の
処理を選択し、処理プログラムから選択された処理を実
行するコマンドを表示し、表示されたコマンドの中から
1つのコマンド行を選択し、選択されたコマンドの種類
により画面表示手段にコマンド実行結果を表示し、スイ
ッチの入力に応じてコマンド実行結果を変更し、処理プ
ログラムから選択したコマンドを前記変更されたコマン
ドに変更するものであるから、データ変更時に処理結果
を画面表示手段で直接認識することができる。[Operation] In the visual sensor device of the present invention, a specific process is selected, a command for executing the selected process is displayed from the processing program, one command line is selected from among the displayed commands, and the selected process is selected. The command execution result is displayed on the screen display means depending on the type of command that is input, the command execution result is changed according to the input of the switch, and the command selected from the processing program is changed to the changed command. When changing data, the processing results can be directly recognized on the screen display means.
【0010】0010
【実施例】以下、本発明の実施例について説明をする。[Examples] Examples of the present invention will be described below.
【0011】図1は本発明の一実施例である視覚センサ
装置を示すブロック構成図である。FIG. 1 is a block diagram showing a visual sensor device according to an embodiment of the present invention.
【0012】図において、1はこの視覚センサ装置の制
御機構である視覚センサ制御部、2は上位コントローラ
、3はセンシングの対象である対象ワーク、4はカメラ
、5は画像として表示がされるモニタ表示器、6は入力
操作を行なうスイッチであり、このスイッチ6には上矢
印スイッチ61、左矢印スイッチ62、右矢印スイッチ
63、下矢印スイッチ64が設けられている。7は視覚
センサ制御部1の中央処理装置、8は中央処理装置7で
実行すべきプログラムやデータ等を格納する記憶回路、
9はカメラ4からのビデオ信号を視覚センサ制御部1に
入力する画像入力回路、10はランレングスデータを生
成する画像処理回路、11は画像記憶回路、12はモニ
タ表示器5との情報伝達用のモニタインターフェイス回
路、13はスイッチ6との情報伝達用のスイッチインタ
ーフェイス回路、14は上位コントローラ2との情報伝
達用の上位インターフェイス回路である。In the figure, 1 is a visual sensor control unit which is a control mechanism of this visual sensor device, 2 is a host controller, 3 is a target workpiece to be sensed, 4 is a camera, and 5 is a monitor on which an image is displayed. The display 6 is a switch for performing input operations, and the switch 6 is provided with an up arrow switch 61, a left arrow switch 62, a right arrow switch 63, and a down arrow switch 64. 7 is a central processing unit of the visual sensor control unit 1; 8 is a storage circuit that stores programs, data, etc. to be executed by the central processing unit 7;
9 is an image input circuit that inputs a video signal from the camera 4 to the visual sensor control unit 1; 10 is an image processing circuit that generates run length data; 11 is an image storage circuit; and 12 is for information communication with the monitor display 5. 13 is a switch interface circuit for transmitting information with the switch 6, and 14 is a high-level interface circuit for transmitting information with the host controller 2.
【0013】この構成の視覚センサ装置においては、セ
ンシング動作によってカメラ4からのビデオ信号を2値
化して、画像入力回路9で2値画像等が画像選択され、
モニタ表示器5に表示される。また、前記画像は解析及
び判断され、この解析及び判断に応じて所定の制御信号
が上位コントローラ2に出力される。上記のセンシング
動作はオペレータにより予め上位コントローラ2で作成
された所定のプログラムに従って実行される。作成され
た処理プログラムは上位インターフェイス回路14を介
して、視覚センサ制御部1の記憶回路8に転送される。
中央処理装置7は記憶回路8に転送された処理プログラ
ムに従ってセンシング動作を行なう。In the visual sensor device having this configuration, the video signal from the camera 4 is binarized by the sensing operation, and a binary image or the like is selected by the image input circuit 9.
It is displayed on the monitor display 5. Further, the image is analyzed and judged, and a predetermined control signal is output to the host controller 2 according to this analysis and judgment. The above sensing operation is executed by the operator according to a predetermined program created in advance in the host controller 2. The created processing program is transferred to the storage circuit 8 of the visual sensor control unit 1 via the upper interface circuit 14. The central processing unit 7 performs sensing operations according to the processing program transferred to the storage circuit 8.
【0014】続いて、この実施例の視覚センサ装置によ
るセンシング動作及び処理プログラム修正動作を図2の
フローチャートの流れに沿って説明する。図2は本発明
の一実施例である視覚センサ装置の制御動作を示すフロ
ーチャートである。Next, the sensing operation and processing program modification operation by the visual sensor device of this embodiment will be explained along the flowchart of FIG. FIG. 2 is a flowchart showing the control operation of the visual sensor device which is one embodiment of the present invention.
【0015】図において、まず、センシング動作に先立
って、ステップS1で特定のコマンドを選択する。ステ
ップS2では、選択された項目を実行するコマンド行の
みを処理プログラム内から捜出し、モニタ表示器5に表
示する。ステップS3ではモニタ表示器5に表示された
コマンド行の中から変更を行なうコマンド行を選択し、
ステップS4では、選択されたコマンドの実行結果をモ
ニタ表示器5に表示する。ステップS5でスイッチ6を
押すことによりコマンドの実行結果を変更し、モニタ表
示器5に表示する。ステップS6では、ステップS5に
おいて変更されたコマンドの実行結果により、選択され
たコマンド行を変更し、処理プログラムを書換える。In the figure, first, prior to sensing operation, a specific command is selected in step S1. In step S2, only the command line for executing the selected item is searched from within the processing program and displayed on the monitor display 5. In step S3, a command line to be changed is selected from among the command lines displayed on the monitor display 5, and
In step S4, the execution result of the selected command is displayed on the monitor display 5. By pressing the switch 6 in step S5, the execution result of the command is changed and displayed on the monitor display 5. In step S6, the selected command line is changed based on the execution result of the command changed in step S5, and the processing program is rewritten.
【0016】ここで、上記フローチャートの一連の処理
プログラム書換動作中の各ステップ毎の動作について、
図3から図7の各図を用いて説明する。図3は本発明の
一実施例である視覚センサ装置のモニタ表示器に表示さ
れたメニュー画面を示す表示図、図4は本発明の一実施
例である視覚センサ装置のモニタ表示器に表示された特
定コマンド行画面を示す表示図、図5は本発明の一実施
例である視覚センサ装置のモニタ表示器に表示された処
理領域画面を示す表示図、図6は本発明の一実施例であ
る視覚センサ装置のモニタ表示器に表示された2値画像
画面を示す表示図、図7は本発明の一実施例である視覚
センサ装置の処理プログラムの内容を示すプログラムデ
ータ構成図である。[0016] Here, regarding the operation of each step during the series of processing program rewriting operations in the above flowchart,
This will be explained using each figure from FIG. 3 to FIG. FIG. 3 is a display diagram showing a menu screen displayed on a monitor display of a visual sensor device which is an embodiment of the present invention, and FIG. 4 is a display diagram showing a menu screen displayed on a monitor display of a visual sensor device which is an embodiment of the present invention. FIG. 5 is a display diagram showing a processing area screen displayed on a monitor display of a visual sensor device that is an embodiment of the present invention, and FIG. 6 is a display diagram that shows a specific command line screen that is an embodiment of the present invention. FIG. 7 is a display diagram showing a binary image screen displayed on a monitor display of a certain visual sensor device. FIG. 7 is a program data configuration diagram showing the contents of a processing program of a visual sensor device that is an embodiment of the present invention.
【0017】まず、図2のステップS1で行なわれる特
定のコマンドの選択処理について述べる。処理プログラ
ム内において、画像処理を行なう際の有効視野の設定、
或いは、2値化処理を行なう際の閾値の設定など、どの
項目について変更を行なうかを選択する。これは、スイ
ッチ6を適宜操作することにより選択できる。例えば、
モニタ表示器5上に表示されたメニューにカーソル、ア
ンダーバー等を表示しておき、上矢印スイッチ61、ま
たは下矢印スイッチ64を操作して選択する(図3参照
)。First, a specific command selection process performed in step S1 in FIG. 2 will be described. In the processing program, setting the effective field of view when performing image processing,
Alternatively, it is possible to select which item to change, such as threshold settings when performing binarization processing. This can be selected by operating the switch 6 as appropriate. for example,
A cursor, underbar, etc. are displayed on the menu displayed on the monitor display 5, and a selection is made by operating the up arrow switch 61 or the down arrow switch 64 (see FIG. 3).
【0018】次に、図2のステップS2で行なわれるス
テップS1で選択されたメニュー項目を実行するコマン
ド行を処理プログラム内から選択し表示する処理につい
て述べる。例えば、ステップS1で有効視野の変更が選
択されたのであれば、ステップS2では有効視野の設定
を行なうコマンド行のみを処理プログラム内から選択し
、モニタ表示器5に表示する。また、ステップS1で2
値化処理の変更が選択されたのであれば、ステップS2
では2値化処理の設定を行なうコマンド行のみを選択し
、モニタ表示器5に表示する(図4参照)。Next, the process of selecting and displaying a command line for executing the menu item selected in step S1 from the processing program, which is performed in step S2 of FIG. 2, will be described. For example, if changing the effective field of view is selected in step S1, only the command line for setting the effective field of view is selected from the processing program and displayed on the monitor display 5 in step S2. Also, in step S1, 2
If changing the value processing is selected, step S2
Then, only the command line for setting the binarization process is selected and displayed on the monitor display 5 (see FIG. 4).
【0019】次に、図2のステップS3で行なわれるス
テップS2で選択されたコマンド行の中から変更を行な
うコマンド行を選択する処理について述べる。これは、
スイッチ6を適宜操作することにより選択できる。例え
ば、モニタ表示器5上にカーソル、アンダーバー等を表
示しておき、上矢印スイッチ61、または下矢印スイッ
チ64を操作して選択する。Next, the process of selecting a command line to be changed from among the command lines selected in step S2, which is performed in step S3 of FIG. 2, will be described. this is,
The selection can be made by operating the switch 6 as appropriate. For example, a cursor, an underbar, etc. are displayed on the monitor display 5, and the selection is made by operating the up arrow switch 61 or the down arrow switch 64.
【0020】次に、図2のステップS4で行なわれるス
テップS3で選択されたコマンド行を実行し、コマンド
の実行結果を表示する処理について述べる。例えば、有
効視野の変更の場合、モニタ表示器5には有効視野の輪
郭を表示しておく。これと同時に、カメラ4によって読
取られた画像をモニタ表示器5に表示する。つまり、モ
ニタ表示器5上にはカメラ4からの画像と共に有効視野
となる領域の輪郭が同時に表示されることになる。また
、2値化処理の場合、モニタ表示器5にはカメラ4によ
って読取られた画像を2値化した2値画像を表示してお
く。Next, the process of executing the command line selected in step S3 in step S4 of FIG. 2 and displaying the command execution result will be described. For example, in the case of changing the effective field of view, the outline of the effective field of view is displayed on the monitor display 5. At the same time, the image read by the camera 4 is displayed on the monitor display 5. In other words, the image from the camera 4 and the outline of the area serving as the effective field of view are displayed on the monitor display 5 at the same time. Furthermore, in the case of binarization processing, a binary image obtained by binarizing the image read by the camera 4 is displayed on the monitor display 5.
【0021】次に、図2のステップS5で行なわれるス
イッチ6を用いてコマンドの実行結果を変更してモニタ
表示器5に表示する処理について述べる。例えば、有効
視野の変更の場合には、上矢印スイッチ61、左矢印ス
イッチ62、右矢印スイッチ63、下矢印スイッチ64
を用いて有効視野の輪郭をスイッチの矢印方向に移動さ
せる。このときに、例えば、最初に有効視野の左上の点
を移動させ、確定後に、右下の点を移動させれば有効視
野の位置と大きさを変更することができる(図5参照)
。Next, the process of changing the command execution result using the switch 6 and displaying it on the monitor display 5 in step S5 of FIG. 2 will be described. For example, in the case of changing the effective field of view, an up arrow switch 61, a left arrow switch 62, a right arrow switch 63, a down arrow switch 64
Use to move the outline of the effective field of view in the direction of the arrow on the switch. At this time, for example, you can change the position and size of the effective field of view by first moving the upper left point of the effective field of view, and then moving the lower right point after fixing it (see Figure 5).
.
【0022】また、2値化処理の変更の場合には、スイ
ッチ6を用いて2値化処理を行なう際の閾値を変更する
。例えば、上矢印スイッチ61で閾値の増加、或いは下
矢印スイッチ64で閾値の減少をさせて2値画像を表示
すればよい(図6参照)。Furthermore, in the case of changing the binarization process, the switch 6 is used to change the threshold value for performing the binarization process. For example, a binary image may be displayed by increasing the threshold value with the up arrow switch 61 or decreasing the threshold value with the down arrow switch 64 (see FIG. 6).
【0023】次に、図2のステップS6で行なわれる処
理プログラムからステップS3で選択したコマンド行を
ステップS5で変更された値に基づいて書換える処理に
ついて述べる。例えば、有効視野の変更の場合には、コ
マンド行の中で有効視野を表わすコードを変更された値
に書換える。2値化処理の変更の場合も、同様に、コマ
ンド行の中で閾値を表わすコードを変更された値に書換
えればよい(図7参照)。Next, the process of rewriting the command line selected in step S3 from the processing program in step S6 of FIG. 2 based on the value changed in step S5 will be described. For example, in the case of changing the effective field of view, the code representing the effective field of view is rewritten to the changed value in the command line. In the case of changing the binarization process, the code representing the threshold value may be similarly rewritten to the changed value in the command line (see FIG. 7).
【0024】このように、本実施例の視覚センサ装置は
、対象ワーク3の画像を読取る画像読取手段たるカメラ
4と、前記カメラ4(画像読取手段)からのビデオ信号
を処理し、対象ワーク3の特徴量を計測する画像処理手
段たる視覚センサ制御部1と、前記視覚センサ制御部1
(画像処理手段)の計測結果を画面に表示する画面表示
手段たるモニタ表示器5と、図3のように特定の処理を
選択する処理選択手段(図2のステップS1)と、図4
のように前記処理選択手段で選択された処理を実行する
コマンドを処理プログラムからモニタ表示器5に表示す
るコマンド表示手段(図2のステップS2)と、前記コ
マンド表示手段で表示されたコマンドの中から1つのコ
マンド行をスイッチ6で選択するコマンド選択手段(図
2のステップS3)と、前記コマンド選択手段で選択さ
れたコマンドの種類により前記モニタ表示器5(画面表
示手段)にコマンド実行結果を表示するコマンド実行結
果表示手段(図2のステップS4)と、図5のように前
記コマンド実行結果をスイッチ6の入力に応じて変更す
るコマンド変更手段(図2のステップS5)と、図7の
ように前記コマンド選択手段で処理プログラムから選択
したコマンドを前記コマンド変更手段で変更されたコマ
ンドに変更する処理プログラム変更手段(図2のステッ
プS6)とを備えている。As described above, the visual sensor device of the present embodiment includes a camera 4 serving as an image reading means for reading an image of the target work 3, and a video signal from the camera 4 (image reading means) that processes the video signal to read the image of the target work 3. a visual sensor control unit 1 which is an image processing means for measuring feature quantities of the visual sensor control unit 1;
A monitor display 5 as a screen display means for displaying the measurement results of the image processing means (image processing means) on the screen, a process selection means (step S1 in FIG. 2) for selecting a specific process as shown in FIG.
a command display means (step S2 in FIG. 2) for displaying a command to execute the process selected by the process selection means from the processing program on the monitor display 5; A command selection means (step S3 in FIG. 2) selects one command line from the list with a switch 6, and a command execution result is displayed on the monitor display 5 (screen display means) according to the type of command selected by the command selection means. A command execution result display means (step S4 in FIG. 2) to display a command execution result, a command change means (step S5 in FIG. 2) to change the command execution result according to the input of the switch 6 as shown in FIG. The processing program changing means (step S6 in FIG. 2) changes the command selected from the processing program by the command selecting means into the command changed by the command changing means.
【0025】即ち、本実施例の視覚センサ装置は、特定
の処理を選択し(図2のステップS1)、処理プログラ
ムから選択された処理を実行するコマンドを表示し(図
2のステップS2)、表示されたコマンドの中から1つ
のコマンド行を選択し(図2のステップS3)、選択さ
れたコマンドの種類により画面表示手段にコマンド実行
結果を表示し(図2のステップS4)、スイッチの入力
に応じてコマンド実行結果を変更し(図2のステップS
5)、処理プログラムから選択したコマンドを前記変更
されたコマンドに変更する(図2のステップS6)もの
である。That is, the visual sensor device of this embodiment selects a specific process (step S1 in FIG. 2), displays a command to execute the selected process from the processing program (step S2 in FIG. 2), Select one command line from the displayed commands (step S3 in FIG. 2), display the command execution result on the screen display means according to the type of selected command (step S4 in FIG. 2), and input the switch. Change the command execution result according to (step S in Figure 2)
5) The command selected from the processing program is changed to the changed command (step S6 in FIG. 2).
【0026】したがって、データ変更時に処理結果をモ
ニタ表示器5(画面表示手段)で直接認識することがで
きる。このため、変更したデータで処理プログラムが正
しく動作するか否かを、モニタ表示器5で直接認識する
ことができるから、処理プログラムが正しく動作しない
場合に、従来のように、再度同じように変更し、転送を
するといった作業が不要になる。この結果、処理プログ
ラムの変更を少数のスイッチ操作で短時間で簡単に、し
かも正確にできる。Therefore, when changing data, the processing result can be directly recognized on the monitor display 5 (screen display means). Therefore, it is possible to directly recognize on the monitor display 5 whether or not the processing program operates correctly with the changed data, so if the processing program does not operate correctly, it can be changed again in the same way as before. This eliminates the need for transfer. As a result, the processing program can be easily and accurately changed in a short time by operating a small number of switches.
【0027】ところで、上記実施例では、有効視野の変
更、2値化処理の変更について述べたが、その他の画像
処理コマンドについても同様の効果を得ることができる
。By the way, in the above embodiment, the change in the effective field of view and the change in the binarization process have been described, but similar effects can be obtained with other image processing commands.
【0028】また、上記実施例では、図1に示したよう
なスイッチ6を使用したが、このスイッチ6に代えてキ
ーボードを使用してもよく、キーボードを使用する場合
には、スイッチインターフェイス回路13に代えて、キ
ーボードと視覚センサ制御部1との接続用のインターフ
ェイスが必要になる。Further, in the above embodiment, the switch 6 shown in FIG. 1 is used, but a keyboard may be used in place of the switch 6. Instead, an interface for connecting the keyboard and the visual sensor control unit 1 is required.
【0029】[0029]
【発明の効果】以上説明したように、本発明の視覚セン
サ装置は、画像読取手段と、画像処理手段と、画面表示
手段と、処理選択手段と、コマンド表示手段と、コマン
ド選択手段と、コマンド実行結果表示手段と、コマンド
変更手段と、処理プログラム変更手段とを備え、特定の
処理を選択し、処理プログラムから選択された処理を実
行するコマンドを表示し、表示されたコマンドの中から
1つのコマンド行を選択し、選択されたコマンドの種類
により画面表示手段にコマンド実行結果を表示し、スイ
ッチの入力に応じてコマンド実行結果を変更し、処理プ
ログラムから選択したコマンドを前記変更されたコマン
ドに変更することにより、データ変更時に処理結果を画
面表示手段で直接認識することができるので、小数のス
イッチ操作で短時間に処理プログラムを正しく変更でき
る。As explained above, the visual sensor device of the present invention includes an image reading means, an image processing means, a screen display means, a process selection means, a command display means, a command selection means, and a command display means. It includes an execution result display means, a command change means, and a processing program change means, and displays a command for selecting a specific process, executing the selected process from the process program, and selecting one of the displayed commands Select a command line, display the command execution result on the screen display means according to the type of the selected command, change the command execution result according to the switch input, and change the command selected from the processing program to the changed command. By changing the data, the processing result can be directly recognized on the screen display means when changing the data, so the processing program can be changed correctly in a short time by operating a small number of switches.
【図1】図1は本発明の一実施例である視覚センサ装置
を示すブロック構成図である。FIG. 1 is a block diagram showing a visual sensor device that is an embodiment of the present invention.
【図2】図2は本発明の一実施例である視覚センサ装置
の制御動作を示すフローチャートである。FIG. 2 is a flowchart showing a control operation of a visual sensor device according to an embodiment of the present invention.
【図3】図3は本発明の一実施例である視覚センサ装置
のモニタ表示器に表示されたメニュー画面を示す表示図
である。FIG. 3 is a display diagram showing a menu screen displayed on a monitor display of a visual sensor device according to an embodiment of the present invention.
【図4】図4は本発明の一実施例である視覚センサ装置
のモニタ表示器に表示された特定コマンド行画面を示す
表示図である。FIG. 4 is a display diagram showing a specific command line screen displayed on a monitor display of a visual sensor device according to an embodiment of the present invention.
【図5】図5は本発明の一実施例である視覚センサ装置
のモニタ表示器に表示された処理領域画面を示す表示図
である。FIG. 5 is a display diagram showing a processing area screen displayed on a monitor display of a visual sensor device according to an embodiment of the present invention.
【図6】図6は本発明の一実施例である視覚センサ装置
のモニタ表示器に表示された2値画像画面を示す表示図
である。FIG. 6 is a display diagram showing a binary image screen displayed on a monitor display of a visual sensor device according to an embodiment of the present invention.
【図7】図7は本発明の一実施例である視覚センサ装置
の処理プログラムの内容を示すプログラムデータ構成図
である。FIG. 7 is a program data configuration diagram showing the contents of a processing program for a visual sensor device that is an embodiment of the present invention.
【図8】図8は従来のプログラムコントローラ用データ
の書換方法を示すフローチャートである。FIG. 8 is a flowchart showing a conventional method for rewriting data for a program controller.
【図9】図9は従来のモニタ表示器に表示されたセッテ
ィングデータ画面を示す表示図である。FIG. 9 is a display diagram showing a setting data screen displayed on a conventional monitor display.
1 視覚センサ制御部 2 上位コントローラ 3 対象ワーク 4 カメラ 5 モニタ表示器 6 スイッチ 7 中央処理装置 8 記憶回路 9 画像入力回路 10 画像処理回路 11 画像記憶回路 1 Visual sensor control section 2 Upper controller 3 Target work 4 Camera 5 Monitor display 6 Switch 7 Central processing unit 8 Memory circuit 9 Image input circuit 10 Image processing circuit 11 Image storage circuit
Claims (1)
段と、前記画像読取手段からのビデオ信号を処理し、対
象ワークの特徴量を計測する画像処理手段と、前記画像
処理手段の計測結果を画面に表示する画面表示手段と、
特定の処理を選択する処理選択手段と、前記処理選択手
段で選択された処理を実行するコマンドを処理プログラ
ムから表示するコマンド表示手段と、前記コマンド表示
手段で表示されたコマンドの中から1つのコマンド行を
選択するコマンド選択手段と、前記コマンド選択手段で
選択されたコマンドの種類により前記画面表示手段にコ
マンド実行結果を表示するコマンド実行結果表示手段と
、前記コマンド実行結果をスイッチの入力に応じて変更
するコマンド変更手段と、前記コマンド選択手段で処理
プログラムから選択したコマンドを前記コマンド変更手
段で変更されたコマンドに変更する処理プログラム変更
手段とを具備することを特徴とする視覚センサ装置。1. An image reading means for reading an image of a target workpiece, an image processing means for processing a video signal from the image reading means and measuring a feature amount of the target workpiece, and displaying the measurement results of the image processing means on a screen. a screen display means for displaying the
a process selection means for selecting a specific process; a command display means for displaying from a processing program a command for executing the process selected by the process selection means; and one command from among the commands displayed by the command display means. command selection means for selecting a line; command execution result display means for displaying a command execution result on the screen display means according to the type of command selected by the command selection means; A visual sensor device comprising: a command changing means for changing a command; and a processing program changing means for changing a command selected from a processing program by the command selecting means to a command changed by the command changing means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10621191A JPH04335408A (en) | 1991-05-13 | 1991-05-13 | Vision sensor device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10621191A JPH04335408A (en) | 1991-05-13 | 1991-05-13 | Vision sensor device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04335408A true JPH04335408A (en) | 1992-11-24 |
Family
ID=14427822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10621191A Pending JPH04335408A (en) | 1991-05-13 | 1991-05-13 | Vision sensor device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04335408A (en) |
-
1991
- 1991-05-13 JP JP10621191A patent/JPH04335408A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7616712B2 (en) | Programming device and program | |
US11710250B2 (en) | Electronic device, method, and storage medium for setting processing procedure for controlling apparatus | |
US4661899A (en) | Numerical control system | |
US5517639A (en) | System for outputting execution time of industrial automated apparatus | |
CN103077010B (en) | Development support apparatus and development supporting program | |
JPH04335408A (en) | Vision sensor device | |
US9430692B2 (en) | Fingerprint minutia display input device, fingerprint minutia display input method, and fingerprint minutia display input program | |
US20240116191A1 (en) | Robot control device, robot control system, and robot control method | |
JP4562141B2 (en) | Programmable logic controller, information processing apparatus, control program, and table creation program | |
JP7363601B2 (en) | Image processing device, control method and program | |
JP5970080B2 (en) | Programmable display, program | |
TWI865350B (en) | Cooperation system, cooperation method, cooperation program, and cooperation auxiliary program | |
JP2022101877A (en) | Program creation device, program creation method, and program | |
JP2003039357A (en) | Teaching device for robot | |
JPH11327616A (en) | Production of display image for program type display device | |
JP7646098B1 (en) | Screen data creation program, screen data creation device, programmable display system, programmable display device, and screen data creation method | |
JP7548464B1 (en) | Programmable logic controller, support device, and logging method | |
JPH0679245B2 (en) | Programmable controller sequence program execution method | |
JPH1185258A (en) | Process data gathering method | |
JPH03265920A (en) | Pointing processing method | |
JP3187116B2 (en) | Display response display method | |
JP3887877B2 (en) | Object management method and apparatus | |
JP3407614B2 (en) | Sequence controller | |
JPH05107086A (en) | Rocess display apparatus | |
JPS6132106A (en) | Programming device of programmable controller |