JPH064637A - Method and device for plotting - Google Patents

Method and device for plotting

Info

Publication number
JPH064637A
JPH064637A JP4110002A JP11000292A JPH064637A JP H064637 A JPH064637 A JP H064637A JP 4110002 A JP4110002 A JP 4110002A JP 11000292 A JP11000292 A JP 11000292A JP H064637 A JPH064637 A JP H064637A
Authority
JP
Japan
Prior art keywords
data
image data
display
screen
input
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
Application number
JP4110002A
Other languages
Japanese (ja)
Other versions
JP2997600B2 (en
Inventor
Keizo Wada
恵三 和田
Yoshio Okada
義生 岡田
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.)
DIGITAL KK
Original Assignee
DIGITAL KK
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 DIGITAL KK filed Critical DIGITAL KK
Priority to JP4110002A priority Critical patent/JP2997600B2/en
Publication of JPH064637A publication Critical patent/JPH064637A/en
Application granted granted Critical
Publication of JP2997600B2 publication Critical patent/JP2997600B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To easily execute plotting processing of a vectorized graphic for a display controller on a display screen. CONSTITUTION:A plane 16 for displaying image data and a plane 20 for displaying vector data are duplicatedly provided on the display screen 88 of a display and various kinds of data processing operation on both planes 16 and 20 can be executed independently each other. Then, an original drawing 12 on a paper surface 10 is read to the side of the plane 16 to be a design 14 and it is traced on the plane 20 to prepare a vector graphic 15.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、マイクロプロセッサ
を利用した各種装置において、その表示画面上で使用す
る図形データの作成方法およびその方法を実施する装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of creating graphic data to be used on a display screen of various devices using a microprocessor and a device for implementing the method.

【0002】[0002]

【従来の技術】従来この種の図形データは、コンピュー
タ上に構成された図形描画機能を利用して画面上で直接
図形を描き、その描いた図形をベクトルあるいはイメー
ジデータとして保存し、適宜時期に利用する方法が一般
的であった。
2. Description of the Related Art Conventionally, this kind of figure data is drawn directly on the screen by utilizing a figure drawing function constructed on a computer, and the drawn figure is saved as vector or image data, and at an appropriate time. The method used was general.

【0003】更に図形の描画方法として、オペレータが
原図を見ながらマウスなどの指示手段を用いて描画位置
を画面上で指定する他に、タブレットやデジタイザを利
用し、原図の上をトレースしながら、入力座標の位置指
定をする方法も知られる。
Further, as a method of drawing a graphic, the operator can specify the drawing position on the screen by using an instruction means such as a mouse while looking at the original drawing, or by using a tablet or digitizer to trace the original drawing. A method of designating the position of input coordinates is also known.

【0004】また、紙面上に描いた図形を、イメージス
キャナを用いてイメージデータとしてコンピュータ内に
そのまま取り込んで利用したり、取り込んだイメージデ
ータを自動的にベクトル変換することも行われている。
Further, it is also practiced that a figure drawn on a paper surface is directly used as image data in a computer by using an image scanner, or the acquired image data is automatically vector-converted.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、オペレ
ータが原図を見ながら画面上で座標位置を指定をする方
法は、図形の入力位置、サイズあるいは形などの情報を
具体的に把握すること自体が困難で、的確な作図を短時
間に行うには熟練を要する。
However, in the method in which the operator designates the coordinate position on the screen while looking at the original drawing, it is difficult to specifically grasp the information such as the input position, size or shape of the figure. Therefore, skill is required to perform accurate drawing in a short time.

【0006】一方、タブレットなどを利用して原図をそ
のままトレースする方法は、図面サイズを入力手段にあ
わせて予め縮小あるいは拡大するなどの前処理を行う必
要があるとともに、作図中における原図の位置ずれを防
止しなければならないなど、依然として不都合が多い。
On the other hand, in the method of tracing the original drawing as it is using a tablet or the like, it is necessary to perform preprocessing such as reducing or enlarging the drawing size in advance according to the input means, and the position deviation of the original drawing during drawing. There are still many inconveniences such as the need to prevent

【0007】また、イメージデータをそのまま利用する
方法は、保存すべきデータ量が多くなり過ぎ、データの
取り扱いが繁雑となる。更にそのデータをベクトル化し
ようとしても、扱うデータに曖昧な部分が多いために完
全なベクトルデータが得られず、後処理として修正操作
が不可欠となる。しかもこの修正作業は、場合によって
は最初から図形を作成するのと同等の手間を要するな
ど、依然として問題が多い。
In the method of using the image data as it is, the amount of data to be stored becomes too large and the data handling becomes complicated. Further, even if an attempt is made to vectorize the data, complete vector data cannot be obtained because there are many ambiguous portions in the data to be handled, and a correction operation is indispensable as post-processing. Moreover, this correction work still has many problems, such as the time and effort required to create a figure from the beginning in some cases.

【0008】本発明者等は上記した不都合に鑑みて考察
を行なった結果、仕様書などには、表示制御装置におけ
る表示図形としてそのまま利用しうる図形が描かれるこ
とが多く、従ってその図形を原図としてイメージデータ
化するとともに、これを画面上に表示し下図として参照
および修正を可能としながら、図形のベクトル化処理を
同一画面上で並行して行うことにより、上記した問題を
一挙に解消できることを知見した。
As a result of consideration made by the present inventors in view of the above-mentioned inconvenience, the specification or the like often draws a graphic that can be used as it is as a display graphic in the display control device. While making it into image data and displaying it on the screen so that it can be referred to and modified as the figure below, the vectorization process of the figure can be performed in parallel on the same screen, and the above problems can be solved at once. I found out.

【0009】本発明は上記した知見に基づいてなされた
ものであって、図形のベクトル化が容易な作図方法を提
供することを目的とする。本発明は更に、前記した作図
方法を実施するのに好適な作図装置を提供することを目
的とする。
The present invention has been made on the basis of the above findings, and an object of the present invention is to provide a drawing method in which vectorization of a graphic is easy. A further object of the present invention is to provide a drawing apparatus suitable for carrying out the above-described drawing method.

【0010】[0010]

【課題を解決するための手段】上記した目的を達成する
ため、本発明における作図方法においては、例えば図1
で例示する紙面(10)上に描かれた原図(12)をイメージデ
ータに変換する工程と、変換されたイメージデータに対
して、表示すべき画面(88)に対応させた修正をする工程
と、修正されたイメージデータに対応する図形(14)を画
面(88)上に表示する工程と、表示された図形(14)に対応
させて画面(88)上における作画位置(18)を手動で指定す
る工程と、指定された画面(88)上の各位置を位置データ
に変換する工程と、変換された位置データに基づいてベ
クトルデータを作成する工程と、作成されたベクトルデ
ータを保存する工程とを備えている。
In order to achieve the above object, in the drawing method of the present invention, for example, as shown in FIG.
A step of converting the original drawing (12) drawn on the paper surface (10) exemplified in (4) into image data, and a step of correcting the converted image data corresponding to the screen (88) to be displayed. , The step of displaying the figure (14) corresponding to the corrected image data on the screen (88), and the drawing position (18) on the screen (88) manually corresponding to the displayed figure (14). A step of specifying, a step of converting each position on the specified screen (88) into position data, a step of creating vector data based on the converted position data, and a step of saving the created vector data It has and.

【0011】更に、本発明にかかる作図装置には、図2
にその全体的な構成を概略的に示す如く、任意の紙面(1
0)上に描かれた原図(12)をイメージデータに変換するイ
メージデータ変換手段(22)と、入力されたデータに基づ
いて図形を画面(88)上に表示可能とする表示手段(24)
と、手動による画面上での指示により少なくとも指示位
置(18)の座標データを入力可能とするデータ入力手段(2
6)と、そのデータ入力手段(26)から取り込まれたデータ
に基づいてベクトルデータを作成するベクトルデータ作
成手段(28)と、データ入力手段(26)を用いて入力された
データに基づいて上記したイメージデータ変換手段(22)
から入力されたイメージデータに対する修正を可能とす
るイメージデータ修正手段(32)と、作成されたベクトル
データを記憶する記憶手段(34)とを備えている。更に上
記した表示手段(24)に、イメージデータによる図形(14)
を表示可能とするプレーン(16)と、ベクトルデータによ
る図形(15)を表示するプレーン(20)とを、互いに独立し
て操作され且つ重複した表示動作を可能に備えている。
Further, the drawing apparatus according to the present invention has a structure shown in FIG.
As shown in the schematic diagram in Fig.
0) Image data conversion means (22) for converting the original drawing (12) drawn on the screen into image data, and display means (24) capable of displaying a figure on the screen (88) based on the input data.
And a data input means (2) that allows at least coordinate data of the indicated position (18) to be input by manual instruction on the screen.
6), vector data creation means (28) for creating vector data based on the data input from the data input means (26), and the above based on the data input using the data input means (26). Image data conversion means (22)
The image data correction means (32) that enables correction of the image data input from the storage means and the storage means (34) that stores the created vector data. Further, the above-mentioned display means (24) has a graphic (14) formed by image data.
The plane (16) capable of displaying and the plane (20) displaying the graphic (15) based on the vector data are operated independently of each other and are capable of overlapping display operations.

【0012】[0012]

【作用】上記した構成により、仕様書などの紙面(10)上
から、イメージデータ変換手段(22)を用いてベクトル化
しようとする原図(12)をイメージデータに変換して修正
手段(32)に入力すると、かかるイメージデータは、表示
手段(24)におけるイメージデータ表示用プレーン(16)上
に展開されて表示される。そこで、データ入力手段(26)
を用いて表示図形を拡大縮小するなどの修正を加えるこ
とにより、下図(14)が完成する。
With the above-described structure, the original drawing (12) to be vectorized is converted into the image data by using the image data converting means (22) on the paper surface (10) such as the specification sheet and the correcting means (32). When input to, the image data is expanded and displayed on the image data display plane (16) in the display means (24). Therefore, data input means (26)
The following figure (14) is completed by making corrections such as enlarging or reducing the displayed figure using.

【0013】ついで、データ入力手段(26)をベクトルデ
ータ作成手段(28)側に切り換え、先の下図(14)を例えば
そのまま上からなぞりながら位置座標(18)や図形形状等
の図形を特定するデータの入力を行う。すると、そのベ
クトルデータ作成手段(28)は、入力されたデータを利用
してベクトルデータに変換する一方、ベクトルデータ表
示用プレーン(20)上にその図形(15)を表示する。そこ
で、必要に応じてそのベクトルデータを修正して図形(1
5)を確定し、そのベクトルデータをデータ記憶手段(34)
に格納することにより、一連の図形作成動作が終了する
のである。
Next, the data input means (26) is switched to the vector data creating means (28) side, and the figure such as the position coordinates (18) and the figure shape is specified while tracing the above lower diagram (14) as it is from above. Input data. Then, the vector data creating means (28) converts the input data into vector data, while displaying the graphic (15) on the vector data display plane (20). Therefore, if necessary, modify the vector data to
5) is confirmed and the vector data is stored in the data storage means (34).
Then, the series of figure creating operations are completed.

【0014】[0014]

【発明の効果】以上の様に、紙面(10)上に描かれた原図
(12)をそのままイメージデータ化して表示し、その図形
(14)をベクトル図形(15)の作成時における下図として利
用する様に構成したので、必要な形状の図形が、比較的
簡単な手順で確実に描くことができる。更に、表示画面
(88)上に、イメージデータによる図形(14)とベクトルデ
ータによる図形(15)とを、互いに独立して操作され且つ
重複した表示を可能に2つのプレーン(16)(20)を備えた
ので、下図(14)の修正および必要なベクトル図形(15)の
作成が容易に行なえるなど、多くの利点を有する。
As described above, the original drawing drawn on the paper surface (10).
(12) is displayed as image data as it is and displayed.
Since (14) is configured to be used as the lower diagram when creating the vector graphic (15), the graphic of the required shape can be reliably drawn by a relatively simple procedure. Furthermore, the display screen
On the (88), the graphic (14) based on the image data and the graphic (15) based on the vector data are operated independently of each other, and two planes (16) and (20) are provided to enable overlapping display. In addition, it has many advantages such as the correction of the following figure (14) and the creation of necessary vector graphics (15).

【0015】[0015]

【実施例】以下本発明を、プログラマブルコントローラ
(以下、「PLC」という。)と一体になって、所定の
表示動作を可能とする表示制御装置に実施した一例に基
づいて説明するがこれに限らず、汎用のパーソナルコン
ピュータやワークステーションにおいても略同様に実施
できることは勿論である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below on the basis of an example in which the present invention is applied to a display control device which enables a predetermined display operation by being integrated with a programmable controller (hereinafter referred to as "PLC"), but is not limited thereto. Of course, it can be implemented in a similar manner in a general-purpose personal computer or workstation.

【0016】本発明を実施する表示制御装置(36)は、図
3にその全体的な接続状態を示す如く、従来と略同様な
LANシステムにおける通信ライン(38)を介し、各種コ
ンピュータ(40)あるいはPLC(42)からなる外部装置
群、イメージスキャナ(44)の様なデータ入力装置、プリ
ンタ(46)の様なデータ出力装置、あるいは大容量の記憶
装置(48)などと並列に接続されて、各装置間で互いにデ
ータの受け渡しが行われる様に構成している。
The display control device (36) embodying the present invention, as shown in the overall connection state in FIG. 3, has various computers (40) via a communication line (38) in a LAN system similar to the conventional one. Alternatively, it may be connected in parallel with an external device group including a PLC (42), a data input device such as an image scanner (44), a data output device such as a printer (46), or a large-capacity storage device (48). Data is exchanged between the respective devices.

【0017】[0017]

【PLCの回路構成】表示制御装置(36)がその外部装置
としてアクセスされるPLC(42)は、図4にその概略的
な構成をブロック図で例示する如く、必要とする個別の
機能毎に回路がユニット化され、各ユニットを必要に応
じてバスライン(50)を介して適宜追加可能に並列接続す
ることにより、PLC(42)全体として達成される機能を
増減可能とする従来と略同様な構成のものである(例え
ば、オムロン社製の製品番号「C2000H」)。
[Circuit Configuration of PLC] The PLC (42) to which the display control device (36) is accessed as an external device has a function for each required individual function as shown in the schematic block diagram of FIG. The circuit is unitized and each unit can be connected in parallel via the bus line (50) as needed so that the function achieved as the PLC (42) as a whole can be increased or decreased. (For example, product number “C2000H” manufactured by OMRON).

【0018】この実施例にあっては、PLC(42)全体を
制御するCPUユニット(52)と、ターゲットシステム(5
4)から送られる検知信号(56)の直接的な取り込みを可能
とする入力ユニット(58)と、ターゲットシステム(54)に
向けて所定の制御信号(60)の出力を可能とする出力ユニ
ット(62)と、各種データを保存するメモリユニット(64)
と、表示制御装置(36)との間で所定のデータ通信を可能
とする計算機リンクユニット(66)とを基本ユニットとし
て備え、CPUユニット(52)で常に入出力手段の変化状
態を監視しておき、新規データ入力等のデータ変化が認
められると、必要な演算処理を施したあとメモリユニッ
ト(64)上における該当のアドレスにアクセスして内容を
書き換え、あるいは出力ユニット(62)に向けてデータを
送出する様に構成している。
In this embodiment, the CPU unit (52) for controlling the entire PLC (42) and the target system (5
4) an input unit (58) that allows the direct detection of the detection signal (56) sent from it, and an output unit that enables the output of a predetermined control signal (60) toward the target system (54). 62) and a memory unit (64) for storing various data
And a computer link unit (66) that enables predetermined data communication with the display control device (36) as a basic unit, and the CPU unit (52) constantly monitors the changing state of the input / output means. If a data change such as new data input is detected, the necessary arithmetic processing is performed and then the corresponding address on the memory unit (64) is accessed to rewrite the contents or the data is output to the output unit (62). Is configured to be transmitted.

【0019】また、ターゲットシステム(54)に対して入
出力される状態情報MDの格納場所が、制御あるいは表
示すべきターゲットシステム(54)上に備えたレベル計や
リミットスイッチの様な受動部品あるいはリレーやモー
タの様な能動部品毎にメモリユニット(64)上に確保さ
れ、入出力されるデータが数値の様なワードデータに対
してはワードデバイスが、オンオフ情報の様なビットデ
ータに対してはビットデバイスがアドレス指定により格
納場所を特定可能にメモリユニット(64)内に設定されて
いる。従って、PLC(42)の内外部からメモリユニット
(64)内における任意のワードデバイスあるいはビットデ
バイスに対してアドレスを指定してアクセスするだけ
で、ターゲットシステム(54)の対応位置を制御し或いは
その動作状態に関する情報MDが個別に取り出せる様に
している。
The storage location of the status information MD input / output to / from the target system (54) is a passive component such as a level meter or a limit switch provided on the target system (54) to be controlled or displayed. It is secured on the memory unit (64) for each active component such as relay and motor, and the input / output data is for word data such as numerical value, and the word device for bit data such as on / off information. Is set in the memory unit (64) so that the bit device can specify the storage location by addressing. Therefore, the memory unit can be
Only by specifying an address to access an arbitrary word device or bit device in (64), the corresponding position of the target system (54) can be controlled or the information MD regarding the operation state can be individually fetched. There is.

【0020】[0020]

【表示制御装置の回路構成】表示制御装置(36)は、前記
したPLC(42)とともにターゲットシステム(54)の操作
卓などに一体に組み込み、あるいはそれ自身が独立して
配備され、ターゲットシステム(54)に対するデータの作
成、操作および表示盤として使用されるものである。
[Circuit configuration of display control device] The display control device (36) is integrated with the above-mentioned PLC (42) in an operation console of the target system (54) or is provided independently by itself. It is used as a display panel for creating and operating data for 54).

【0021】具体的には、図5に示す様に、本体ケース
(68)の正面中央位置に大きく設けた開口(70)を閉じる様
にCRT、EL、プラズマあるいは液晶などの各種表示
手段から選択されるディスプレイ(72)を配置する一方、
該ディスプレイ(72)の下方位置に、キーボード(74)のプ
ラグ(76)を着脱自在に取り付けるソケット(78)と、IC
カード(80)に対するデータの入出力動作を行うためのリ
ーダ/ライタ用のソケット(82)とが配置されている。
Specifically, as shown in FIG. 5, the main body case
While disposing a display (72) selected from various display means such as CRT, EL, plasma or liquid crystal so as to close the large opening (70) provided in the central position on the front of (68),
At the lower position of the display (72), a socket (78) to which the plug (76) of the keyboard (74) is detachably attached, and an IC
A reader / writer socket (82) for inputting / outputting data to / from the card (80) is arranged.

【0022】本体ケース(68)の内部には図4に示す表示
制御回路(86)を収納する一方、上記したディスプレイ(7
2)における表示画面(88)の前面を透明なタッチパネル(9
0)により密着状態で覆っている。このタッチパネル(90)
に対する、指先あるいは専用の指示具(92)を使った押圧
による指示は、タッチパネルコントローラ(94)を介して
取り込み解析され、システム全体としての運転時におけ
る手動操作と、後で詳述する作図時の座標データ入力を
可能とする。
While the display control circuit (86) shown in FIG. 4 is housed inside the main body case (68), the above-mentioned display (7
The front of the display screen (88) in (2) has a transparent touch panel (9
Covered in close contact with 0). This Touch Panel (90)
The instruction by pressing with a fingertip or a dedicated pointing device (92) is taken in and analyzed via the touch panel controller (94), and the manual operation at the time of operation of the entire system and the drawing operation described later in detail. Allows input of coordinate data.

【0023】表示制御回路(86)の基本的な構成は一般的
なパーソナルコンピュータと略同一であって、バスライ
ン(96)を介してCPU、各種メモリ(98)(100)(102)(10
4)、あるいはグラフィックコントローラ(106)が接続さ
れ、メモリ(98)内に格納されたシステムプログラムに従
ってCPU(97)が所定の演算動作を行う一方、I/Oコ
ントローラ(108)を介してキーボード(74)からデータ入
力を可能とするとともに、作業用メモリ(100)に適宜格
納される各種の演算結果は、グラフィック用メモリ(10
4)内に予め格納されている画像データを用いてグラフィ
ックコントローラ(106)によりビデオRAM(110)上へ展
開され、該ビデオRAM(110)内への書き込み内容に対
応した表示をディスプレイ(72)で行う。
The basic structure of the display control circuit (86) is almost the same as that of a general personal computer, and a CPU and various memories (98) (100) (102) (10) are provided via a bus line (96).
4) or the graphic controller (106) is connected and the CPU (97) performs a predetermined arithmetic operation according to the system program stored in the memory (98), while the keyboard (via the I / O controller (108) ( 74) allows data input, and various calculation results stored in the working memory (100) are stored in the graphics memory (10
4) A graphic controller (106) is used to expand on the video RAM (110) using the image data stored in advance, and a display (72) corresponding to the contents written in the video RAM (110) is displayed. Done in.

【0024】更にこのビデオRAM(110)は、図1に示
す如く、アナログデータ図形(14)の処理用とベクトルデ
ータ図形(15)の処理用の少なくとも2つのプレーン(1
6)(20)に対応して備えることにより、異なったデ
ータ形式の図形を、ディスプレイ(72)の同一画面(8
8)上に重複して表示させながら、互いに独立して修正や
消去等の必要な作図処理が行える様にしている。
Further, as shown in FIG. 1, the video RAM (110) has at least two planes (1) for processing analog data graphics (14) and for processing vector data graphics (15).
6) By providing in correspondence with (20), graphics of different data formats can be displayed on the same screen (8) of the display (72).
8) It is designed so that the necessary drawing processing such as correction and deletion can be performed independently of each other while displaying them on top of each other.

【0025】また、PLC(42)の回路構成に特化したア
ルゴリズムあるいは汎用の通信用プログラムで作動する
通信コントローラ(112)を介し、上記したPLC(42)側
の計算機リンクユニット(66)やイメージスキャナ(44)と
シリアル通信ライン(38)でLAN接続され、互いにデー
タの受け渡しを可能とする。
Further, the computer link unit (66) and the image on the PLC (42) side are provided through the communication controller (112) which operates by an algorithm specialized in the circuit configuration of the PLC (42) or a general-purpose communication program. The scanner (44) and the serial communication line (38) are connected to each other via LAN so that data can be exchanged between them.

【0026】[0026]

【処理指示語の構成】本発明を実施する表示制御装置(3
6)においては、表やグラフの枠の様な、表示内容に変更
を要しないベース画面、あるいはそのベース画面上で点
滅や色変化させる図6(a)の様な図形(15)などのグラ
フィックデータを、必要とする表示単位毎に1つのファ
イル番号を指定し、予めグラフィック用メモリ(104)中
に格納しておく。
[Structure of processing instruction word] A display control device (3
In 6), a base screen such as a table or graph frame that does not require any change in the display content, or a graphic (15) such as that shown in FIG. 6 (a) that blinks or changes colors on the base screen. Data is stored in advance in the graphic memory (104) by designating one file number for each required display unit.

【0027】一方、PLC(42)のメモリユニット(64)内
に構成されたビットまたはワードデバイスが示す状態情
報MDのうち、必要なものを適宜時期に表示制御装置(3
6)側の作業用メモリ(100)上に互いに関連づけながら読
み込む一方、事象データ用メモリ(102)に予め格納して
おいた図7(a)で例示する処理指示語Wを微小時間毎
に間欠的に読み出し、各処理指示語Wの事象名Tで特定
される内容の動作をPLC(42)側から取り出された状態
情報MDを参照しながら実行することにより、PLC(4
2)側のビットデバイスあるいはワードデバイスの内容変
化に即応して変化する表示動作が行われる。
On the other hand, among the status information MD indicated by the bit or word device formed in the memory unit (64) of the PLC (42), the necessary information is displayed at an appropriate time by the display controller (3).
6) side work memory (100) is read while being associated with each other, and process instruction word W illustrated in FIG. 7 (a) stored in advance in event data memory (102) is intermittently recorded at every minute time. By executing the operation of the content specified by the event name T of each processing instruction word W while referring to the state information MD fetched from the PLC (42) side.
A display operation that changes in response to changes in the contents of the bit device or word device on the 2) side is performed.

【0028】すなわち処理指示語Wの基本的な構成は、
図7(a)で例示する様に、表示制御動作を実行すべき
ベース画面のファイル番号Fと、該ベース画面上で実行
すべき動作内容を特定する事象名Tと、各実行事象毎に
参照される1又は複数のデータからなる参照情報dとを
1組として備えたものであって、各ベース画面上で実行
されるべき事象数に対応した数の処理指示語Wが事象デ
ータ用メモリ(102)上に格納される。
That is, the basic structure of the processing instruction word W is
As illustrated in FIG. 7A, the file number F of the base screen on which the display control operation is to be executed, the event name T specifying the operation content to be executed on the base screen, and the reference for each execution event One set of the reference information d consisting of one or a plurality of data to be processed, and the number of processing instruction words W corresponding to the number of events to be executed on each base screen are stored in the event data memory ( 102) stored on.

【0029】例えば図7(b)に示す処理指示語WL
は、グラフィック用メモリ(104)に予めファイル番号F
1として格納しておいたベース画面上に、ファイル番号
F2として格納された例えば図6(a)で示す自動車の
図形(15)を、図6(b)の様に、ディスプレイ(72)の表
示画面(88)におけるベクトルデータの表示プレーン(20)
上に展開して表示するとともに、その図形(15)の表示色
を、PLC(42)側の特定のビットデバイスの値に対応さ
せて表示変更するものである。すなわち、ベース画面の
ファイル番号F1、図形の呼び出しを特定する例えば
「L」から始まる事象名T、呼び出す図形を特定するフ
ァイル番号F2、図形の表示時に参照するPLC(42)側
のビットデバイスのアドレスA1、ビットデバイスが
「1」または「0」の時の色を特定する情報M1、図形
を表示する画面上における座標データX1とから構成さ
れる。
For example, the processing instruction word WL shown in FIG.
File number F in the graphics memory (104) in advance.
On the base screen stored as 1, the figure (15) of the automobile shown in FIG. 6 (a) stored as the file number F2 is displayed on the display (72) as shown in FIG. 6 (b). Display plane for vector data on screen (88) (20)
The display color is expanded and displayed, and the display color of the figure (15) is changed according to the value of a specific bit device on the PLC (42) side. That is, the file number F1 of the base screen, the event name T starting with "L" for specifying the call of the figure, the file number F2 for specifying the call figure, the address of the bit device on the PLC (42) side referred to when the figure is displayed A1, information M1 for specifying the color when the bit device is "1" or "0", and coordinate data X1 on the screen for displaying a figure.

【0030】一方、図7(c)に示す処理指示語WTは
上記とは逆に、タッチパネル(90)に対する押圧操作と連
動して、PLC(42)側に所定のデータを送ってPLC(4
2)或いはそれに接続されたターゲットシステム(54)の制
御を可能とするものであって、ベース画面のファイル番
号F1、タッチパネル操作を特定する例えば「T」から
始まる事象名T、タッチパネル(90)からの入力操作を有
効とするタッチパネル(90)上の入力座標範囲X2・X
3、タッチパネル(90)の押し操作と連動してデータを書
き込むべきPLC(42)側のデバイスのアドレスA2、デ
ータの書き込みがタッチパネル(90)の押圧時期に限定さ
れるモーメンタリなビット書き込みか、絶対値を上書き
するワード書き込みかを特定する動作モードM2、およ
び書き込まれるワードデータまたはワード中のビット位
置情報Dとから構成される。
On the other hand, the processing instruction word WT shown in FIG. 7 (c), conversely to the above, interlocks with the pressing operation on the touch panel (90) and sends predetermined data to the PLC (42) side to send the PLC (4
2) or the target system (54) connected thereto, which is capable of controlling the file number F1 of the base screen, the event name T that starts with "T" for specifying the touch panel operation, and the touch panel (90) Input coordinate range X2 · X on the touch panel (90) that validates the input operation of
3, the address A2 of the PLC (42) side device to write the data in conjunction with the touch operation of the touch panel (90), the momentary bit writing in which the data writing is limited to the touch panel (90) pressing time, or absolute It is composed of an operation mode M2 that specifies whether to write a word to overwrite a value, and word data to be written or bit position information D in the word.

【0031】[0031]

【表示制御装置の動作】次に、図8〜図10に示す流れ
図に従って、表示制御装置(36)の動作、特に表示制御装
置(36)における作図動作について更に詳細に説明する。
[Operation of Display Controller] Next, the operation of the display controller 36, particularly the drawing operation of the display controller 36, will be described in more detail with reference to the flowcharts shown in FIGS.

【0032】先ず図8のステップ(200)で電源スイッ
チをオンして表示制御装置(36)をスタートさせると、
ステップ(201)において、PLC(42)側と所定のデー
タ通信が行われてシステム全体が自動運転されるオンラ
イン状態か、表示制御装置(36)のみを単独で作動させ
て、処理指示語Wの登録を行うオフライン状態であるか
の選択が行われる。通常はICカード(80)の内容は使用
開始時に初期化されており、組み込みシステムとしての
専用のデータは事象データ用メモリ(102)およびグラフ
ィック用メモリ(104)のどちらにも設定されていない
ので、図9のステップ(210)から始まる事象データの
登録モードに移って、必要なデータの設定処理が行われ
る。
First, at step (200) in FIG. 8, the power switch is turned on to start the display control device (36).
In step (201), a predetermined data communication is performed with the PLC (42) side so that the entire system is automatically operated, or only the display control device (36) is operated to operate the processing instruction word W. Selection is made as to whether or not the user is in an offline state for registration. Normally, the contents of the IC card (80) are initialized at the start of use, and the dedicated data as an embedded system is not set in either the event data memory (102) or the graphics memory (104). , The event data registration mode starting from step (210) of FIG. 9 is performed, and the necessary data setting processing is performed.

【0033】更に、ステップ(211)でグラフィック用メ
モリ(104)に格納する画像データの作成中であることが
判断されると、図10のステップ(220)から始まる作図
処理に入る。本発明はかかる作図処理の方法に特徴を有
するものであって、ステップ(221)においてまず、仕様
書などの紙面(10)に描かれた図形(12)を原図とし、イメ
ージスキャナ(44)でイメージデータに変換したあと、表
示制御装置(36)内に取り込む。表示制御装置(36)内に取
り込まれたイメージデータは、更にステップ(222)でイ
メージデータ用のビデオRAM(110)上に展開され、そ
れに対応するプレーン(16)において図形(14)の表示を行
う。
Further, when it is judged in the step (211) that the image data to be stored in the graphic memory (104) is being created, the drawing process starts from the step (220) in FIG. The present invention is characterized by such a drawing processing method.First, in step (221), a figure (12) drawn on a paper surface (10) such as a specification sheet is used as an original drawing, and an image scanner (44) is used. After converting to image data, it is taken into the display control device (36). The image data taken into the display control device (36) is further developed on the image data video RAM (110) in step (222), and the graphic (14) is displayed on the corresponding plane (16). To do.

【0034】しかる後、表示された図形(14)の位置ある
いは大きさを変更するとともに、必要に応じて表示内容
の加除を行い(ステップ(223))、ステップ(224)でイメ
ージ図形(14)に対する修正が終了したことが判定される
と、ステップ(225)からのトレースモードに入る。
Thereafter, the position or size of the displayed graphic (14) is changed, and the display content is added or removed as necessary (step (223)), and the image graphic (14) is added at step (224). When it is determined that the correction for is completed, the trace mode from step (225) is entered.

【0035】トレースモードは、アクセス可能なプレー
ンを上記したイメージデータ表示用のプレーン(16)から
ベクトルデータ表示用のプレーン(20)に移すとともに、
上記した修正済みのイメージ図形(14)を下図とし、その
上を画面(88)上でトレースして行くことにより、必要と
する図形を容易にベクトル化できる様にしたものであ
る。
In the trace mode, the accessible plane is moved from the above-mentioned image data display plane (16) to the vector data display plane (20), and
The modified image figure (14) described above is shown in the figure below, and by tracing it on the screen (88), the figure required can be easily vectorized.

【0036】本実施例にあっては、画面に重複して備え
たタッチパネル(90)を利用し、その上をペン先の様な指
示具(92)で順次になぞっていくことにより、トレースし
た座標が装置内に連続的に取り込まれる。一方、ステッ
プ(225)では、入力された位置座標が設定時間毎に検出
され、その位置座標がステップ(226)で異なっていると
判定されると、その位置座標を記憶する(ステップ(22
7))とともに、記憶した位置座標をプレーン(20)上に点
で表示する。
In the present embodiment, the touch panel (90) provided on the screen in duplicate is used, and tracing is performed by tracing it on the touch panel sequentially with the pointing tool (92) such as a pen tip. Coordinates are continuously captured in the device. On the other hand, in step (225), the input position coordinates are detected every set time, and when it is determined that the position coordinates are different in step (226), the position coordinates are stored (step (22
Along with 7)), the stored position coordinates are displayed as dots on the plane (20).

【0037】更に、ステップ(228)でトレースモードを
終了したことが判断されると、ステップ(229)において
位置座標を一連のベクトルデータに変換するとともに、
そのデータをベクトルデータ表示用のビデオRAM(11
0)に展開し、対応するプレーン(20)上に図形(15)を表示
する(ステップ(230))。この図形(15)に必要な修正を
加えたのち、ステップ(231)でファイル番号F2を特定
してグラフィックデータ用メモリ(104)に記憶すること
により、一連の図形作成動作が終了するのである。
Further, when it is judged in step (228) that the trace mode is completed, the position coordinates are converted into a series of vector data in step (229), and
The data is transferred to a video RAM (11
It is expanded to 0) and the figure (15) is displayed on the corresponding plane (20) (step (230)). After making necessary corrections to the figure (15), the file number F2 is specified and stored in the graphic data memory (104) in step (231), whereby a series of figure creating operations is completed.

【0038】必要とするベース画面あるいは図形の作成
が全て終了すると、図9のステップ(212)からはじまる
事象データの登録作業に入る。かかる作業は対話形式で
行われ、入力されるデータの内容を表示制御装置(36)側
が判断しながら必要なデータの入力を促すものであっ
て、処理対象となるベース画面F1を開いた状態におい
て、ステップ(212)で実行させる事象名の入力操作をし
たあと、その入力された事象名の頭文字から実行すべき
事象の内容が判断され、ステップ(213)で必要な参照情
報dの入力が促される。
When all necessary base screens or graphics have been created, event data registration work starting from step (212) in FIG. 9 is started. This work is carried out in an interactive manner, and the display control device (36) side prompts the user to input the necessary data while judging the content of the data to be input. In the state where the base screen F1 to be processed is opened. After inputting the event name to be executed in step (212), the content of the event to be executed is determined from the initials of the input event name, and the reference information d required in step (213) is input. Be prompted.

【0039】かかる参照情報dの設定内容を確定させる
と、ステップ(214)で事象データ用メモリ(102)へ確定内
容が記憶されたあと、ステップ(215)に移って必要とす
る全ての事象についての処理指示語Wの登録が行われた
か否かの判定が行われ、「NO」であればステップ(21
2)の事象名入力に戻って次の処理指示語Wの登録作業に
戻るが、「YES」であれば、ステップ(216)に移って
終了する。
When the setting contents of the reference information d are fixed, after the fixed contents are stored in the event data memory (102) in step (214), the process moves to step (215) for all necessary events. It is determined whether or not the processing instruction word W has been registered. If “NO”, the step (21
It returns to the event name input of 2) and returns to the work of registering the next processing instruction word W, but if "YES", it moves to step (216) and ends.

【0040】上記したデータの作成動作が終了すると、
図8のステップ(202)のオンライン動作に移り、PLC
(42)との間で必要なデータの受け渡しを行う通信処理動
作と並列的に、あるいは必要とする一連のデータを全て
取り出し終了後、ステップ(203)における各事象の表示
処理が行われ、PLC(42)側のデータ変化に即応した表
示動作を行うのである。
When the above-described data creating operation is completed,
Move to the online operation of step (202) in FIG.
(42) In parallel with the communication processing operation for transmitting and receiving the necessary data, or after all the necessary series of data has been taken out, the display processing of each event in step (203) is performed, and the PLC The display operation corresponding to the data change on the (42) side is performed.

【0041】[0041]

【他の実施例】上記した様に、連続して入力される位置
座標を装置側が自動的に間欠的に取り込み記憶するのに
代えて、手動でポイントとなる位置座標を選択して入力
する様にしてもよい。また、下図(14)に対する一連のト
レースが全て終了してから入力位置データをベクトルデ
ータに一括して変換するほかに、1つまたは複数の位置
データを入力する毎にベクトル変換してもよい。
[Other Embodiments] As described above, instead of the device side automatically intermittently taking in and storing the position coordinates continuously input, it is possible to manually select and input the position coordinates to be the points. You may Further, the input position data may be collectively converted into vector data after the completion of a series of traces shown in (14) below, or vector conversion may be performed each time one or more position data is input.

【0042】更にまた、下図となるイメージ図形(14)を
直線や円弧などで予め近似処理するとともに、その処理
結果を中間表示する一方、操作者がその近似結果を取捨
選択していくことにより、ベクトル図形を作成するもの
であってもよい。その際、表示色などの表示属性も同時
に選択することができる。また、操作者自身が直線や円
弧等を判断して作図することができることは勿論であ
る。
Furthermore, the image figure (14) shown in the figure below is approximated in advance by a straight line or a circular arc, and the processing result is displayed in the middle, while the operator selects the approximation result. A vector graphic may be created. At this time, display attributes such as display color can be selected at the same time. Further, it is needless to say that the operator himself / herself can judge a straight line, a circular arc, or the like to draw.

【0043】更にイメージ図形(14)のトレースの方法
も、タッチパネル(90)に代えて、マウスやライトペン等
の各種のポインティングデバイス、あるいはキーボード
(74)によるカーソル移動が利用できることは勿論であ
る。また画面(88)上における表示も、イメージデータ用
とベクトルデータ用に個別にビデオRAMを設ける他
に、両データを重複して表示可能としながら個別に修正
等の処理を可能とするものであれば、プログラムにより
ソフト的にデータ処理してもよい。下図(14)の表示色あ
るいは表示時期も、適宜変更して実施できる。
Further, in the method of tracing the image figure (14), instead of the touch panel (90), various pointing devices such as a mouse and a light pen, or a keyboard.
Of course, the cursor movement by (74) can be used. In addition, the display on the screen (88) may be such that separate video RAMs are provided for image data and vector data, and both data can be displayed redundantly and correction processing etc. can be performed individually. For example, the data may be processed as software by a program. The display color or display timing in the following figure (14) can be changed as appropriate.

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

【図1】本発明にかかる作図状態を示す説明図である。FIG. 1 is an explanatory diagram showing a drawing state according to the present invention.

【図2】本発明の基本的な構成を示す概略図である。FIG. 2 is a schematic diagram showing a basic configuration of the present invention.

【図3】本発明を実施した一例を示す全体的な構成を示
す説明図である。
FIG. 3 is an explanatory diagram showing an overall configuration showing an example in which the present invention is implemented.

【図4】表示制御装置およびPLCの電気的な構成を示
すブロック図である。
FIG. 4 is a block diagram showing an electrical configuration of a display control device and a PLC.

【図5】外観形状の概略的な構成を示す一部を破断した
斜視図である。
FIG. 5 is a partially cutaway perspective view showing a schematic configuration of an external shape.

【図6】画面構成の一例を示す説明図であって、(a)
は表示図形を、(b)は画面上における図形の表示状態
を各々示す。
FIG. 6 is an explanatory diagram showing an example of a screen configuration, (a)
Shows a display figure, and (b) shows a display state of the figure on the screen.

【図7】処理指示語の具体的な構成を例示する説明図で
あって、(a)は基本的な構成、(b)は図形を呼び出
して表示するための構成、(c)はその図形上でのタッ
チ入力を可能とする構成を各々示す。
7A and 7B are explanatory diagrams illustrating a specific configuration of a processing instruction word, in which FIG. 7A is a basic configuration, FIG. 7B is a configuration for calling and displaying a graphic, and FIG. The respective configurations that enable touch input above are shown.

【図8】全体的な動作手順を示す流れ図である。FIG. 8 is a flowchart showing an overall operation procedure.

【図9】事象データの登録動作の手順を説明する流れ図
である。
FIG. 9 is a flowchart illustrating a procedure of an event data registration operation.

【図10】本発明を実施した一例を示す作図処理動作の
手順を説明する流れ図である。
FIG. 10 is a flowchart illustrating a procedure of a drawing processing operation showing an example in which the present invention is implemented.

【符号の説明】[Explanation of symbols]

(10) 紙面 (12) 原図 (14) イメージ図形 (15) ベクトル図形 (16) イメージデータ表示用プレーン (18) 作画位置 (20) ベクトルデータ表示用プレーン (22) イメージデータ変換手段 (24) 表示手段 (26) データ入力手段 (28) ベクトルデータ作成手段 (32) イメージデータ修正手段 (34) 記憶手段 (36) 表示制御装置 (44) イメージスキャナ (72) ディスプレイ (88) 表示画面 (90) タッチパネル (92) 指示具 (110) ビデオRAM (10) Paper (12) Original drawing (14) Image figure (15) Vector figure (16) Image data display plane (18) Drawing position (20) Vector data display plane (22) Image data conversion means (24) Display Means (26) Data input means (28) Vector data creation means (32) Image data correction means (34) Storage means (36) Display controller (44) Image scanner (72) Display (88) Display screen (90) Touch panel (92) Indicator (110) Video RAM

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 紙面上に描かれた原図を、イメージデー
タに変換する工程と、 変換されたイメージデータに対し、表示すべき画面に対
応させた修正をする工程と、 修正されたイメージデータに対応する図形を、画面上に
表示する工程と、 表示された図形に対応させて、画面上における作画位置
を手動で指定する工程と、 指定された画面上の各位置を位置データに変換する工程
と、 変換された位置データに基づいて、ベクトルデータを作
成する工程と、 作成されたベクトルデータを保存する工程とを備えた作
図方法。
1. A step of converting an original drawing drawn on paper into image data, a step of correcting the converted image data so as to correspond to a screen to be displayed, and the corrected image data The step of displaying the corresponding figure on the screen, the step of manually specifying the drawing position on the screen corresponding to the displayed figure, and the step of converting each specified position on the screen into position data. And a method of creating vector data based on the converted position data, and a step of saving the created vector data.
【請求項2】 任意の紙面(10)上に描かれた原図(12)を
イメージデータに変換するイメージデータ変換手段(22)
と、 入力されたデータに基づいて、図形を画面(88)上に表示
可能とする表示手段(24)と、 手動による画面(88)上での指示により、少なくとも指示
位置(18)の座標データを入力可能とするデータ入力手段
(26)と、 該データ入力手段(26)から取り込まれたデータに基づい
て、ベクトルデータを作成するベクトルデータ作成手段
(28)と、 データ入力手段(26)を用いて入力されたデータに基づい
て、上記したイメージデータ変換手段(22)から入力され
たイメージデータに対する修正を可能とするイメージデ
ータ修正手段(32)と、 作成されたベクトルデータを記憶する手段(34)とを備
え、 更に上記した表示手段(24)に、イメージデータによる図
形(14)を表示可能とするプレーン(16)と、ベクトルデー
タによる図形(15)を表示可能とするプレーン(20)とを、
互いに独立して操作され且つ重複した表示を可能に備え
たことを特徴とする作図装置。
2. An image data conversion means (22) for converting an original drawing (12) drawn on an arbitrary paper surface (10) into image data.
Based on the input data, the display means (24) for displaying the figure on the screen (88) and the coordinate data of at least the indicated position (18) by the manual instruction on the screen (88). Data input means to enable input
(26) and vector data creating means for creating vector data based on the data input from the data input means (26)
(28) and image data correction means (32) capable of correcting the image data input from the image data conversion means (22) based on the data input using the data input means (26) And a means (34) for storing the created vector data, and a plane (16) capable of displaying the graphic (14) based on the image data on the display means (24) and a graphic based on the vector data. The plane (20) that can display (15),
A plotting device, which is operated independently of each other and is capable of displaying duplicated images.
JP4110002A 1992-04-28 1992-04-28 Display control device Expired - Fee Related JP2997600B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4110002A JP2997600B2 (en) 1992-04-28 1992-04-28 Display control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4110002A JP2997600B2 (en) 1992-04-28 1992-04-28 Display control device

Publications (2)

Publication Number Publication Date
JPH064637A true JPH064637A (en) 1994-01-14
JP2997600B2 JP2997600B2 (en) 2000-01-11

Family

ID=14524614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4110002A Expired - Fee Related JP2997600B2 (en) 1992-04-28 1992-04-28 Display control device

Country Status (1)

Country Link
JP (1) JP2997600B2 (en)

Also Published As

Publication number Publication date
JP2997600B2 (en) 2000-01-11

Similar Documents

Publication Publication Date Title
JPH08123647A (en) Information processor
JP2997600B2 (en) Display control device
JPS581816B2 (en) Raster scan graphic display device
JPH0490596A (en) Screen scrolling system utilizing layout display
JP2663967B2 (en) Information storage control method
JP3256004B2 (en) Screen data creation method for display control device
JPH11306369A (en) Picture data editor
JPH04163493A (en) Menu display system
JPH06289843A (en) Image display processor
JP2965406B2 (en) Display control device
JP3048748B2 (en) Pen input method and pen input system
JP3268144B2 (en) Character display method
JPH08335152A (en) Document processor
JPH0525115B2 (en)
JPH0766308B2 (en) Character frame display method
JP2965407B2 (en) Display control device
JP2860024B2 (en) Text editing device
JPS62150476A (en) Display device
JP2965410B2 (en) Display control device
JPH0764523A (en) Display controller
JPH05165937A (en) Method for drawing data flow diagram
JPH04191972A (en) Editing system for character attribute
JPH10333830A (en) Program type display device
JPH0738153B2 (en) Display data enlargement device
JPH05189580A (en) Graph generating device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990928

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071029

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081029

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091029

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101029

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111029

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees