JPH05297928A - Display method for numerical controller - Google Patents

Display method for numerical controller

Info

Publication number
JPH05297928A
JPH05297928A JP10296892A JP10296892A JPH05297928A JP H05297928 A JPH05297928 A JP H05297928A JP 10296892 A JP10296892 A JP 10296892A JP 10296892 A JP10296892 A JP 10296892A JP H05297928 A JPH05297928 A JP H05297928A
Authority
JP
Japan
Prior art keywords
display
task
numerical control
control device
request
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
JP10296892A
Other languages
Japanese (ja)
Inventor
Hiroko Yamada
浩子 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP10296892A priority Critical patent/JPH05297928A/en
Publication of JPH05297928A publication Critical patent/JPH05297928A/en
Pending legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To attain the remote display and output of an NC screen at a high speed even with a host computer by reducing the quantity of data on the display screen that are transferred between a numerical controller and the host computer. CONSTITUTION:A display device 7 is provided with a display memory 6 and a display device control part 5, and a numerical controller 1 is connected to a host computer 2 via a mutual communicatable communication circuit 3. Then the display request tasks 30 and 44 are provided to execute the requests for display together with the display executing tasks 31 and 32 which receive the display requests and execute the display jobs. Then the messages independent from the device are exchanged between these two types of tasks in a prescribed data from decided for display. Thus the due display processing is carried out.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、数値制御装置の表示
方法に係り、特に、他のコンピュータや数値制御装置と
相互通信可能な通信回線で接続され、遠隔制御される数
値制御装置の表示方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display method for a numerical control device, and more particularly to a display method for a numerical control device which is connected to another computer or a numerical control device through a communication line capable of mutual communication and is remotely controlled. It is about.

【0002】[0002]

【従来の技術】図6は、数値制御装置の構成を示すブロ
ック図である。数値制御装置1において、中央処理処置
(以下、CPUという)4には、データ及びアドレスバ
ス16を介して通信インターフェース9、メモリ11、
表示メモリ6、表示装置制御部5、入力装置制御部8、
駆動制御部14、データ入出力制御部12及び信号入出
力制御部13が各々接続されている。表示装置制御部5
には表示装置7が接続されている。また、入力装置制御
部8には入力装置10が接続されている。駆動制御部1
4には工作機械15が接続されている。メモリ11はC
PU4によって実行されるプログラムを格納しており、
表示メモリ6は表示装置7の1ドット毎に対応するデー
タを保持する。
2. Description of the Related Art FIG. 6 is a block diagram showing the configuration of a numerical control device. In the numerical controller 1, the central processing unit (hereinafter referred to as CPU) 4 has a communication interface 9, a memory 11 and a memory 11 via a data and address bus 16.
A display memory 6, a display device controller 5, an input device controller 8,
The drive control unit 14, the data input / output control unit 12, and the signal input / output control unit 13 are connected to each other. Display device control unit 5
A display device 7 is connected to. An input device 10 is connected to the input device control unit 8. Drive controller 1
A machine tool 15 is connected to 4. Memory 11 is C
Stores the program executed by PU4,
The display memory 6 holds data corresponding to each dot of the display device 7.

【0003】図7は、数値制御装置における遠隔制御シ
ステムの構成例を示すブロック図である。このシステム
において、上位コンピュータ2は数値制御装置1と通信
回線3により接続されており、相互に通信が可能であ
る。上位コンピュータ2のCPU17にはデータ及びア
ドレスバス26を介して、メモリ24、表示装置制御部
18、入力装置制御部21、通信インターフェース2
2、外部記憶装置25、表示メモリ19が各々接続され
ている。表示装置制御部18には表示装置20が接続さ
れており、入力装置制御部21には入力装置23が接続
されている。
FIG. 7 is a block diagram showing a configuration example of a remote control system in a numerical controller. In this system, the host computer 2 is connected to the numerical controller 1 via a communication line 3 and can communicate with each other. The memory 24, the display device control unit 18, the input device control unit 21, the communication interface 2 are connected to the CPU 17 of the host computer 2 via the data and address bus 26.
2. An external storage device 25 and a display memory 19 are connected to each other. A display device 20 is connected to the display device controller 18, and an input device 23 is connected to the input device controller 21.

【0004】図8は、従来における数値制御装置の表示
方法について説明するブロック図である。図8におい
て、33は数値制御装置1の表示処理タスク、28は表
示処理タスク33より出力される画面データ、6は画面
データ28を格納する表示メモリ、5は表示メモリ6よ
り画面データ28を読み出して表示装置7に表示する表
示装置制御部、7は表示装置、9は数値制御装置1の通
信インターフェース、22は上位コンピュータ2の通信
インターフェース、34はNC画面モニタ処理タスク、
29はNC画面モニタ処理タスク34から出力される画
面データ、19は表示メモリ、18は表示装置制御部、
20は表示装置、3は数値制御装置1と上位コンピュー
タ2を接続する通信回線である。
FIG. 8 is a block diagram for explaining a display method of a conventional numerical control device. In FIG. 8, 33 is a display processing task of the numerical controller 1, 28 is screen data output from the display processing task 33, 6 is a display memory for storing the screen data 28, and 5 is screen data 28 read from the display memory 6. A display device control unit for displaying on the display device 7, a display device, 9 a communication interface of the numerical control device 1, 22 a communication interface of the host computer 2, 34 an NC screen monitor processing task,
29 is screen data output from the NC screen monitor processing task 34, 19 is a display memory, 18 is a display device control unit,
Reference numeral 20 is a display device, and 3 is a communication line connecting the numerical control device 1 and the host computer 2.

【0005】図6に示した数値制御装置1において、C
PU4はメモリ11に格納されている複数のプログラム
を個別のタスクとして多重的に実行して数値制御装置1
全体を制御するために様々な仕事を分担させている。任
意の図形や文字を表示装置7に表示する仕事を担当する
タスクは実行中に表示処理を行う。
In the numerical controller 1 shown in FIG. 6, C
The PU 4 multiplexes a plurality of programs stored in the memory 11 as individual tasks to execute the numerical control device 1
It divides various tasks to control the whole. A task in charge of displaying an arbitrary figure or character on the display device 7 performs display processing during execution.

【0006】図8は、従来における数値制御装置の表示
方法を示す説明図であるが、この図に基づいてその表示
動作を説明する。表示処理を行う必要のある表示処理タ
スク33は数値制御装置システムより要求される図形や
文字を表示装置7のドットに合わせた画面データ28に
作成し、表示メモリ6に格納する表示メモリ6内の画面
データ28は、表示装置制御部5から表示装置7の画面
走査と同期して読み出され、表示装置7に表示される。
FIG. 8 is an explanatory diagram showing a display method of a conventional numerical control apparatus, and the display operation will be described based on this figure. A display processing task 33 that needs to perform display processing creates graphic data or characters required by the numerical control device system on the screen data 28 matching the dots of the display device 7, and stores it in the display memory 6 in the display memory 6. The screen data 28 is read from the display device controller 5 in synchronization with the screen scanning of the display device 7 and displayed on the display device 7.

【0007】次に、遠隔制御システムについて説明す
る。図7において、上位コンピュータ2と数値制御装置
1は通信回線3を介してデータの交換を実行している
が、上位コンピュータ2からは、数値制御装置1に対し
て種々の指令データが転送され、数値制御装置1から上
位コンピュータ2に対しては、数値制御装置1の状態を
表す種々のパラメータと共に、数値制御装置1の表示装
置7に現在表示されている画面データが送られる。この
画面データは上位コンピュータ2のオペレータが数値制
御装置1を遠隔制御するのを助けるために、表示装置2
0にも表示される。
Next, the remote control system will be described. In FIG. 7, the host computer 2 and the numerical control device 1 are exchanging data via the communication line 3, but various command data are transferred from the host computer 2 to the numerical control device 1. From the numerical control device 1 to the host computer 2, screen data currently displayed on the display device 7 of the numerical control device 1 is sent together with various parameters indicating the state of the numerical control device 1. This screen data is displayed on the display device 2 in order to assist the operator of the host computer 2 to remotely control the numerical control device 1.
It is also displayed as 0.

【0008】上記の数値制御装置の表示方法の結果とし
て、実行される遠隔制御システムにおける表示動作につ
いて再び図8を用いて詳細に説明する。数値制御装置1
の表示メモリ6に格納されている画面データ28は、通
信インターフェース9より上位コンピュータ2に送信さ
れる。上位コンピュータ2は通信インターフェース22
から受信した画面データ28をNC画面モニタ処理タス
ク34で上位コンピュータ2の表示装置20に表示され
る画面イメージの画面データ29に作り換え、表示メモ
リ19に格納する。表示メモリ19の画面データ29
は、表示装置制御部18から表示装置20の画面の走査
と同期して読み出され、表示装置20に表示される。
The display operation in the remote control system executed as a result of the above-described display method of the numerical control device will be described again in detail with reference to FIG. Numerical control device 1
The screen data 28 stored in the display memory 6 is transmitted from the communication interface 9 to the host computer 2. The host computer 2 has a communication interface 22.
The NC screen monitor processing task 34 recreates the screen data 28 received from the screen data 29 into the screen data 29 of the screen image displayed on the display device 20 of the host computer 2, and stores it in the display memory 19. Screen data 29 of display memory 19
Is read from the display device control unit 18 in synchronization with scanning of the screen of the display device 20 and displayed on the display device 20.

【0009】その他、この発明に関連する参考技術文献
として、特開平1−162040号公報に開示されてい
る「文字表示データ転送装置」、特開昭62−2643
87号公報に開示されてる「画像発生方法」がある。
As other reference technical documents related to the present invention, "character display data transfer device" disclosed in Japanese Patent Laid-Open No. 1-162040, and Japanese Patent Laid-Open No. 62-2643.
There is an "image generation method" disclosed in Japanese Patent Publication No. 87.

【0010】[0010]

【発明が解決しようとする課題】従来における数値制御
装置の表示方法は、予め接続された表示装置にのみ表示
することしか考慮されておらず、通信回線を通して上位
コンピュータや他の数値制御装置にも同じ表示画面を遠
隔表示させるためには、表示メモリの全データを転送し
なければならず、データの転送量が多いため、相手側の
コンピュータや数値制御装置の表示出力の切り換えが遅
く、迅速な表示処理が期待できないという問題点があっ
た。
The conventional display method of the numerical control device considers only the display on the display device which is connected in advance, and it can be used by the host computer and other numerical control devices through the communication line. In order to display the same display screen remotely, all the data in the display memory must be transferred, and because of the large amount of data transfer, the switching of the display output of the other computer or numerical controller is slow and quick. There is a problem that display processing cannot be expected.

【0011】この発明は、上記のような問題点を解決す
るためになされたもので、数値制御装置と上位コンピュ
ータ間における表示画面に関するデータの転送量を減ら
し、上位コンピュータにおいても高速にNC画面を出力
できる数値制御装置の表示方法を得ることを目的とす
る。
The present invention has been made to solve the above problems, and reduces the transfer amount of data relating to the display screen between the numerical control device and the host computer, so that the host computer can display the NC screen at high speed. The purpose is to obtain a display method of a numerical control device that can output.

【0012】[0012]

【課題を解決するための手段】この発明に係る数値制御
装置の表示方法は、表示部に表示を行う表示手段を備
え、他のコンピュータや数値制御装置と相互通信可能な
通信回線で接続される数値制御装置の表示方法におい
て、表示を行うために表示の要求を行う表示要求段階
と、前記表示要求段階からの表示要求を受けて表示を実
現する表示実現段階とを有し、前記2つの段階間で表示
に関して決められた所定のデータ形式を用いて、各デバ
イスから独立したメッセージを交換することにより表示
処理を実行するものである。
A display method for a numerical control device according to the present invention includes a display means for displaying on a display unit, and is connected to another computer or a numerical control device through a communication line capable of mutual communication. The display method of the numerical control device includes a display request step of requesting display for displaying, and a display realization step of realizing display in response to the display request from the display request step. The display process is executed by exchanging messages independent of each device using a predetermined data format determined for display between the devices.

【0013】また、前記データ形式は、図形の属性又は
要素の種類を示すコードを設定するエリアと、属性や要
素のパラメータを設定するエリアと、メッセージ終了を
示す終了フラグエリアとから構成されていることが望ま
しい。
The data format is composed of an area for setting a code indicating an attribute of a graphic or a type of element, an area for setting a parameter of the attribute or element, and an end flag area indicating the end of a message. Is desirable.

【0014】[0014]

【作用】この発明に係る数値制御装置の表示方法おい
て、表示要求段階では表示実行段階に対して表示要求メ
ッセージを発行し、該表示要求メッセージを受けた表示
実現段階では、表示要求メッセージに沿った表示処理又
はメッセージの返答を実行する。表示要求段階と表示実
現段階で交換されるメッセージは相手先のハードウェア
やOSに存在しないデータ形式であり、表示要求段階と
表示実現段階は決められた所定のデータ形式に従ったメ
ッセージを発行する。従って、表示要求段階と表示実現
段階が異なる装置上に依存する場合も相互に通信可能な
通信回線で接続されており、上記メッセージのデータ形
式を互いに理解できればメッセージの交換が実行可能で
あり、また、表示要求段階は通信回線を介して複数の表
示実現段階とメッセージ交換を実行でき、表示実現段階
も複数の表示要求段階とメッセージ交換を実行できる。
In the display method of the numerical controller according to the present invention, the display request message is issued to the display execution stage at the display request stage, and the display request message is sent at the display realization stage when the display request message is received. Display processing or message reply is executed. The messages exchanged at the display requesting stage and the display realizing stage are data formats that do not exist in the other party's hardware or OS, and the display requesting stage and the display realizing stage issue messages in accordance with a predetermined predetermined data format. .. Therefore, even if the display requesting stage and the display realizing stage depend on different devices, they are connected by a communication line that can communicate with each other, and if the data formats of the above messages can be understood by each other, the messages can be exchanged. The display requesting stage can perform message exchange with a plurality of display realizing stages via a communication line, and the display realizing stage can also perform message exchange with a plurality of display requesting stages.

【0015】[0015]

【実施例】以下、この発明の一実施例を図について説明
する。図1は、この発明における数値制御装置の表示方
法を示すブロック図である。図において、30は数値制
御装置1の表示要求タスク、31は数値制御装置1の表
示実現タスク、27は上記表示要求タスク30と表示実
現タスク31との間で交換される表示要求メッセージ、
28は表示実現タスク31より出力される画面データ、
6は画面データ28を格納する表示メモリ、5は表示メ
モリ6より画面データを読み出して表示装置7に表示す
る表示装置制御部、7は表示装置、9は数値制御装置1
の通信インターフェースであり、3は通信回線である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a display method of a numerical controller according to the present invention. In the figure, 30 is a display request task of the numerical controller 1, 31 is a display realizing task of the numerical controller 1, 27 is a display request message exchanged between the display request task 30 and the display realizing task 31,
28 is screen data output from the display realization task 31,
6 is a display memory for storing screen data 28, 5 is a display device control unit for reading the screen data from the display memory 6 and displaying it on the display device 7, 7 is a display device, and 9 is a numerical controller 1.
, And 3 is a communication line.

【0016】一方、2は数値制御装置1を遠隔制御する
上位コンピュータであり、22は上位コンピュータ2の
通信インターフェース、32は上位コンピュータ2の表
示実現タスク、44は上位コンピュータ2の表示要求タ
スク、29は表示実現タスクが出力される画面データ、
19は画面データ29を格納する表示メモリ、18は表
示メモリ19より画面データを読み出して表示装置20
に表示する表示装置制御部、20は表示装置である。
尚、数値制御装置1の構成は、従来技術において示した
図6の構成と同様であり、また、遠隔制御システムも従
来技術において示した図7の構成と同様である。
On the other hand, 2 is a host computer for remotely controlling the numerical controller 1, 22 is a communication interface of the host computer 2, 32 is a display realizing task of the host computer 2, 44 is a display request task of the host computer 2, 29 Is the screen data from which the display realization task is output,
Reference numeral 19 is a display memory for storing screen data 29, and 18 is a display device for reading the screen data from the display memory 19.
Is a display device control unit, and 20 is a display device.
The configuration of the numerical controller 1 is the same as the configuration of FIG. 6 shown in the related art, and the remote control system is also the same as the configuration of FIG. 7 shown in the related art.

【0017】次に、この発明における表示動作につい
て、図2に示すフローチャートを用いて説明する。上記
図6に示した構成の数値制御装置1におけるCPU4に
より実行される図1に示す表示要求タスク30は、表示
を行う先の表示装置に属する表示実現タスクとの通信接
続要求を行う(S35)。図1に示した例にあっては、
数値制御装置1内の表示実現タスク31と上位コンピュ
ータ2側の表示実現タスク32との通信接続を実行して
いる。次に、表示要求タスク30は接続された表示実現
タスク31/32に対して表示要求メッセージ27を発
行する(S36)。表示要求メッセージ27の内容は、
表示装置20のどの位置に(例えば、座標)、何を(例
えば、円弧、線分、文字)、どのように(例えば、線
幅、色、書体)表示するかを示すデータ列であり、表示
実現タスク31/32が属するシステムのOSやハード
ウェアに依存しないデータ形式である。
Next, the display operation in the present invention will be described with reference to the flow chart shown in FIG. The display request task 30 shown in FIG. 1 executed by the CPU 4 in the numerical controller 1 having the configuration shown in FIG. 6 makes a communication connection request with the display realization task belonging to the display device to be displayed (S35). .. In the example shown in FIG.
The display realization task 31 in the numerical controller 1 and the display realization task 32 on the higher-level computer 2 side are connected for communication. Next, the display request task 30 issues the display request message 27 to the connected display realizing task 31/32 (S36). The content of the display request message 27 is
It is a data string indicating which position (for example, coordinates), what (for example, arc, line segment, character) and how (for example, line width, color, typeface) is displayed on the display device 20. It is a data format that does not depend on the OS or hardware of the system to which the realization task 31/32 belongs.

【0018】次に、表示要求メッセージ27の発行が全
て終了したか否かを判断し(S37)、終了していない
と判断した場合には、表示要求メッセージ27を全て発
行するまで上記ステップ36〜37を繰り返し、反対
に、表示要求メッセージ27の発行が終了したと判断し
た場合には、表示実現タスク31/32との接続解除要
求を発行する(S38)。
Next, it is judged whether or not all the display request messages 27 have been issued (S37). If it is judged that all the display request messages 27 have not been issued, the above steps 36 to 36 are executed until all the display request messages 27 are issued. When 37 is repeated and conversely it is determined that the issuance of the display request message 27 is completed, a connection release request with the display realization task 31/32 is issued (S38).

【0019】また、表示実現タスク31側では、表示要
求タスク30からの接続要求を受けて接続を確立する
(S39)。その後、表示要求タスク30からの表示要
求メッセージ27を受け取る(S40)と、要求内容に
従った画面データ28を作成して表示メモリ6に出力す
る(S41)。表示メモリ6に格納された画面データ2
8は、表示装置制御部5より表示装置7の画面走査に同
期して読み出され、表示装置7に出力される。
On the side of the display realization task 31, a connection request is received from the display request task 30 and a connection is established (S39). After that, when the display request message 27 is received from the display request task 30 (S40), the screen data 28 according to the request content is created and output to the display memory 6 (S41). Screen data 2 stored in the display memory 6
8 is read from the display device control section 5 in synchronization with the screen scanning of the display device 7 and output to the display device 7.

【0020】次に、画面データ28の表示メモリ6に対
する出力が終了したか否かを判断し(S42)、終了し
ていないと判断した場合、即ち、表示要求タスク30か
ら表示要求メッセージ27が発行されている間にあって
はステップ40〜42を繰り返す。反対に、表示要求メ
ッセージ27を全て受け取り、表示要求タスク30から
の接続解除要求を受け取ると、表示要求タスク30との
接続を解除する(S43)。
Next, it is judged whether or not the output of the screen data 28 to the display memory 6 is completed (S42). When it is judged that the output is not completed, that is, the display request message 30 is issued from the display request task 30. During this time, steps 40 to 42 are repeated. On the contrary, when all the display request messages 27 are received and the connection release request from the display request task 30 is received, the connection with the display request task 30 is released (S43).

【0021】表示実現タスク32も同様に表示要求タス
ク30からの接続要求を受けて接続を確立する(S3
9)。表示要求タスク30からの表示要求メッセージ2
7を受け取る(S40)と、要求内容に従った画面デー
タ29を作成して表示メモリ19に出力する(S4
1)。表示メモリ19に格納された画面データ29は、
表示装置制御部18より表示装置20の画面走査に同期
して読み出され、表示装置20に出力される。
The display realization task 32 also receives a connection request from the display request task 30 and establishes a connection (S3).
9). Display request message 2 from the display request task 30
When 7 is received (S40), screen data 29 according to the requested content is created and output to the display memory 19 (S4).
1). The screen data 29 stored in the display memory 19 is
It is read from the display device control unit 18 in synchronization with the screen scanning of the display device 20 and output to the display device 20.

【0022】次に、表示要求タスク30から表示要求メ
ッセージ27が発行されている間はステップ40〜42
を繰り返す。反対に、表示要求メッセージ27を全て受
け取り、表示要求タスク30からの接続解除要求を受け
取ると、表示要求タスク30との接続を解除する(S4
2,S43)。
Next, while the display request message 27 is issued from the display request task 30, steps 40 to 42 are executed.
repeat. On the contrary, when all the display request messages 27 are received and the connection release request from the display request task 30 is received, the connection with the display request task 30 is released (S4).
2, S43).

【0023】以上、図1に示した例では、表示要求タス
ク30から表示実現タスク31/32に対して同じ表示
要求メッセージ27を出力する構成にしたので、表示装
置7/20の表示画面は同じ描画対象が表示されるが、
表示実現タスクは不特定の表示要求タスクからのメッセ
ージを受け取ることができ、メッセージ内容が理解でき
さえすれば、複数の表示要求タスクに対して表示サービ
スを実行することができる。また、表示要求タスクと表
示実現タスクとの組合せで種々の応用が可能となる。
As described above, in the example shown in FIG. 1, the display request task 30 outputs the same display request message 27 to the display realization task 31/32. Therefore, the display screen of the display device 7/20 is the same. Although the drawing target is displayed,
The display realization task can receive a message from an unspecified display request task and can execute a display service for a plurality of display request tasks as long as the message contents can be understood. In addition, various applications are possible by combining the display request task and the display realization task.

【0024】次に、表示要求メッセージ27の具体的な
内容について図3,図4,図5を用いて説明する。図3
(a)は、数値制御装置1の表示装置7に表示されてい
る表示画面の一例であり、工具46がワーク45を切削
するところをシュミレーションしているものである。任
意の画像は、直線や円弧、点といった図形の基本要素の
組合せで描画することができるので、表示要求タスク3
0は表示実現タスク31/32に対して図形の基本要素
の種類を示すコードと基本要素のパラメータ、即ち、位
置、大きさ、角度等の数値データと、図形の色や線幅と
いった図形の属性の種類を示すコードと属性のパラメー
タを出力すれば、表示実現タスク31/32は画像を組
み立てることができる。図3においては、全て直線で構
成されており、図3(b)に示す点47〜59を適当な
順番に沿って直線で結ぶことにより組み立てられる。
Next, the specific contents of the display request message 27 will be described with reference to FIGS. 3, 4 and 5. Figure 3
(A) is an example of a display screen displayed on the display device 7 of the numerical controller 1, and is a simulation of a place where the tool 46 cuts the work 45. Since any image can be drawn with a combination of basic elements such as lines, arcs, and points, display request task 3
0 is a code indicating the type of the basic element of the graphic for the display realization task 31/32, and parameters of the basic element, that is, numerical data such as position, size, and angle, and attributes of the graphic such as color and line width of the graphic. By outputting the code indicating the type and the parameter of the attribute, the display realization task 31/32 can assemble the image. In FIG. 3, all of them are composed of straight lines, and they are assembled by connecting the points 47 to 59 shown in FIG. 3B with straight lines in an appropriate order.

【0025】図4は、表示要求メッセージ27の構成を
示す説明図であり、図形の属性又は要素の種類を示すコ
ードを設定するエリア60と、属性や要素のパラメータ
を設定するエリア61と、1個のメッセージ終了を示す
終了フラグエリア62から構成される。
FIG. 4 is an explanatory diagram showing the structure of the display request message 27. An area 60 for setting a code indicating the attribute of a graphic or a type of element, an area 61 for setting a parameter of the attribute or element, and 1 It is composed of an end flag area 62 indicating the end of each message.

【0026】図5は、図3(a)を描くために送られる
メッセージデータの1部を示したものであり、図4に示
すデータ形式に従っている。まず、ワーク45を描くた
めにフレーム63で色を指定し、フレーム64で線幅を
指定している。フレーム64では連続線分を描くことを
指定し、パラメータとして点53,55,56,57,
58,59が表示装置上のどの位置にあたるかドット単
位で示すためのx軸上の値と、y軸上の値の数値コード
を設定する。例えば、点53は(x2 ,y4 )で表され
る。ワーク46も同様の方法で描くことが可能である。
FIG. 5 shows a part of the message data sent to draw FIG. 3 (a), which follows the data format shown in FIG. First, in order to draw the work 45, the color is designated by the frame 63, and the line width is designated by the frame 64. It is specified that a continuous line segment is drawn in the frame 64, and the points 53, 55, 56, 57, and
A numerical code of a value on the x-axis and a numerical code on the y-axis for indicating which position on the display device 58, 59 corresponds to in dot units is set. For example, the point 53 is represented by (x 2 , y 4 ). The work 46 can also be drawn by the same method.

【0027】表示実現タスクと表示要求タスクとの間で
交換されるメッセージは、表示要求タクスから表示実現
タスクに対する一方通行ではなく、表示実現タスクから
表示要求タスクに対しても交換でき、その結果、表示実
現タスクからのエラーメッセージ等を表示要求タスクは
受け取ることができるので、遠隔表示を確実に実行する
ことができる。
The message exchanged between the display realization task and the display request task can be exchanged not only from the display request task to the display realization task but also from the display realization task to the display request task. Since the display request task can receive an error message or the like from the display realization task, remote display can be surely executed.

【0028】尚、図1にあっては、表示実現タスクが表
示メモリを直接走査する構成としたが、表示メモリの操
作は専用のハードウェアが代行し、表示実現タスクは専
用ハードウェアに対してコマンドを送るような構成にし
てもよい。
In FIG. 1, the display realization task directly scans the display memory. However, the dedicated hardware takes over the operation of the display memory, and the display realization task is performed by the dedicated hardware. It may be configured to send a command.

【0029】上記の実施例によれば、数値制御装置の表
示処理を表示要求段階と表示実現段階の2段階に分け、
2つの段階でハードウェアやOSに依存しないメッセー
ジを交換して表示を行う方法を採用しているので、通信
回線を介して遠隔表示を行う場合でも表示メッセージを
転送するだけでよく、その結果、データの転送量を減ら
せるため遠隔表示が高速に実行できる。
According to the above embodiment, the display process of the numerical controller is divided into the display requesting stage and the display realizing stage.
Since the method of displaying messages by exchanging messages that do not depend on the hardware or OS in two stages is adopted, even when performing remote display via a communication line, it suffices to transfer the display message. As a result, Since the amount of data transferred can be reduced, remote display can be performed at high speed.

【0030】例えば、図8に示した従来における数値制
御装置の表示方法においては、表示メモリ6の全データ
を通信インターフェース9/22を介して送っている
が、表示メモリ6は1画面分横640×縦450×深さ
4ビットで構成されているので合計1152000ビッ
トの転送量となり、転送レートが9600bpsであれ
ば1画面分の転送を完了するのに120秒かかることに
なる。これに対し、上記表示方法を採用すると、表示要
求メッセージを送るだけで良く、図3に示した表示画面
であれば数十バイトで描画することができ、多く見積も
って100バイトとしても約0.1秒で1画面のデータ
を転送可能であり、約1500倍に転送速度を向上させ
ることができる。
For example, in the conventional display method of the numerical control device shown in FIG. 8, all the data in the display memory 6 is sent through the communication interface 9/22, but the display memory 6 is one screen wide 640. Since it is composed of x length 450 x depth 4 bits, the total transfer amount is 1152000 bits, and if the transfer rate is 9600 bps, it will take 120 seconds to complete the transfer for one screen. On the other hand, if the above display method is adopted, it is only necessary to send a display request message, and the display screen shown in FIG. 3 can be drawn in several tens of bytes. One screen of data can be transferred in one second, and the transfer speed can be improved about 1500 times.

【0031】[0031]

【発明の効果】以上説明したとおり、この発明に係る数
値制御装置の表示方法は、表示部に表示を行う表示手段
を備え、他のコンピュータや数値制御装置と相互通信可
能な通信回線で接続される数値制御装置の表示方法にお
いて、表示を行うために表示の要求を行う表示要求段階
と、前記表示要求段階からの表示要求を受けて表示を実
現する表示実現段階とを有し、前記2つの段階間で表示
に関して決められた所定のデータ形式を用いることによ
り、デバイスから独立したメッセージを交換して表示を
行うため、数値制御装置と上位コンピュータ間における
表示画面に関するデータの転送量を減らし、上位コンピ
ュータにおいても高速にNC画面を出力することができ
る効果がある。
As described above, the display method of the numerical control device according to the present invention is provided with the display means for displaying on the display unit, and is connected to the other computer or the numerical control device through the communication line capable of mutual communication. In the display method of the numerical control device according to the present invention, there are a display request step of making a display request for displaying, and a display realizing step of receiving a display request from the display request step and realizing display. By using a predetermined data format determined for display between stages, messages independent of the device are exchanged for display, so the transfer amount of data relating to the display screen between the numerical control device and the host computer is reduced, Even in a computer, there is an effect that an NC screen can be output at high speed.

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

【図1】この発明に係る数値制御装置の表示方法を示す
ブロック図である。
FIG. 1 is a block diagram showing a display method of a numerical control device according to the present invention.

【図2】この発明に係る数値制御装置の表示方法に関す
る動作を示すフローチャートである。
FIG. 2 is a flowchart showing an operation regarding a display method of the numerical control device according to the present invention.

【図3】この発明に係る表示要求メッセージを説明する
数値制御装置の表示画面を示す説明図である。
FIG. 3 is an explanatory diagram showing a display screen of a numerical control device for explaining a display request message according to the present invention.

【図4】この発明に係る表示要求メッセージの構成を示
す説明図である。
FIG. 4 is an explanatory diagram showing a structure of a display request message according to the present invention.

【図5】この発明に係る表示要求メッセージ例を示す説
明図である。
FIG. 5 is an explanatory diagram showing an example of a display request message according to the present invention.

【図6】従来における数値制御装置の構成を示すブロッ
ク図である。
FIG. 6 is a block diagram showing a configuration of a conventional numerical control device.

【図7】従来における数値制御装置を用いた遠隔制御シ
ステムの構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a remote control system using a conventional numerical control device.

【図8】従来における数値制御装置の表示方法を示す説
明図である。
FIG. 8 is an explanatory diagram showing a display method of a conventional numerical control device.

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

1 数値制御装置 2 上位コンピュータ 3 通信回線 5 表示装置制御部 6 表示メモリ 7 表示装置 9 通信インターフェース 30 表示要求タスク 31 表示実現タスク 1 Numerical Control Device 2 Host Computer 3 Communication Line 5 Display Device Control Section 6 Display Memory 7 Display Device 9 Communication Interface 30 Display Request Task 31 Display Realization Task

【手続補正書】[Procedure amendment]

【提出日】平成5年2月3日[Submission date] February 3, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項1[Name of item to be corrected] Claim 1

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0006[Correction target item name] 0006

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0006】図8は、従来における数値制御装置の表示
方法を示す説明図であるが、この図に基づいてその表示
動作を説明する。表示処理を行う必要のある表示処理タ
スク33は数値制御装置システムより要求される図形や
文字を表示装置7のドットに合わせた画面データ28に
作成し、表示メモリ6に格納する表示メモリ6内の画
面データ28は、表示装置制御部5から表示装置7の画
面走査と同期して読み出され、表示装置7に表示され
る。
FIG. 8 is an explanatory diagram showing a display method of a conventional numerical control apparatus, and the display operation will be described based on this figure. The display processing task 33 that needs to perform display processing creates a graphic or character required by the numerical control device system in the screen data 28 that matches the dots of the display device 7, and stores it in the display memory 6 . The screen data 28 in the display memory 6 is read from the display device controller 5 in synchronization with the screen scanning of the display device 7 and displayed on the display device 7.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0012[Correction target item name] 0012

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0012】[0012]

【課題を解決するための手段】この発明に係る数値制御
装置の表示方法は、表示部に表示を行う表示手段を備
え、他のコンピュータや数値制御装置と相互通信可能な
通信回線で接続される数値制御装置の表示方法におい
て、表示を行うために表示の要求を行う表示要求段階
と、前記表示要求段階からの表示要求を受けて表示を実
現する表示実現段階とを有し、前記2つの段階間で表示
に関して決められた所定のデータ形式を用いて、デバイ
スに依存しないメッセージを交換することにより表示処
理を実行するものである。
A display method for a numerical control device according to the present invention includes a display means for displaying on a display unit, and is connected to another computer or a numerical control device through a communication line capable of mutual communication. The display method of the numerical control device includes a display request step of requesting display for displaying, and a display realization step of realizing display in response to the display request from the display request step. using a predetermined data format that is determined with respect to the display between Debye
The display processing is executed by exchanging messages that do not depend on the address.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0014[Correction target item name] 0014

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0014】[0014]

【作用】この発明に係る数値制御装置の表示方法おい
て、表示要求段階では表示実現段階に対して表示要求メ
ッセージを発行し、該表示要求メッセージを受けた表示
実現段階では、表示要求メッセージに沿った表示処理又
はメッセージの返答を実行する。表示要求段階と表示実
現段階で交換されるメッセージは相手先のハードウェア
やOSに存在しないデータ形式であり、表示要求段階と
表示実現段階は決められた所定のデータ形式に従ったメ
ッセージを発行する。従って、表示要求段階と表示実現
段階が異なる装置上に存在する場合も相互に通信可能な
通信回線で接続されており、上記メッセージのデータ形
式を互いに理解できればメッセージの交換が実行可能で
あり、また、表示要求段階は通信回線を介して複数の表
示実現段階とメッセージ交換を実行でき、表示実現段階
も複数の表示要求段階とメッセージ交換を実行できる。
[Action] Keep the display method of the numerical controller according to the present invention, issues a display request message to the display implemented steps a display request step, the display implemented steps of receiving the display request message, along the display request message Display processing or message reply is executed. The messages exchanged at the display requesting stage and the display realizing stage are data formats that do not exist in the other party's hardware or OS, and the display requesting stage and the display realizing stage issue messages in accordance with a predetermined predetermined data format. .. Therefore, even when the display requesting stage and the display realizing stage are present on different devices, they are connected by a communication line capable of mutual communication, and if the data formats of the above messages can be understood by each other, message exchange can be executed. The display request stage can exchange messages with a plurality of display realization stages via a communication line, and the display realization stage can also exchange messages with a plurality of display request stages.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0016[Correction target item name] 0016

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0016】一方、2は数値制御装置1を遠隔制御する
上位コンピュータであり、22は上位コンピュータ2の
通信インターフェース、32は上位コンピュータ2の表
示実現タスク、44は上位コンピュータ2の表示要求タ
スク、29は表示実現タスクから出力される画面デー
タ、19は画面データ29を格納する表示メモリ、18
は表示メモリ19より画面データを読み出して表示装置
20に表示する表示装置制御部、20は表示装置であ
る。尚、数値制御装置1の構成は、従来技術において示
した図6の構成と同様であり、また、遠隔制御システム
も従来技術において示した図7の構成と同様である。
On the other hand, 2 is a host computer for remotely controlling the numerical controller 1, 22 is a communication interface of the host computer 2, 32 is a display realizing task of the host computer 2, 44 is a display request task of the host computer 2, 29 Is screen data output from the display realization task, 19 is a display memory for storing screen data 29, 18
Is a display device control unit for reading out screen data from the display memory 19 and displaying it on the display device 20, and 20 is a display device. The configuration of the numerical controller 1 is the same as the configuration of FIG. 6 shown in the related art, and the remote control system is also the same as the configuration of FIG. 7 shown in the related art.

【手続補正6】[Procedure Amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0024[Correction target item name] 0024

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0024】次に、表示要求メッセージ27の具体的な
内容について図3,図4,図5を用いて説明する。図3
(a)は、数値制御装置1の表示装置7に表示されてい
る表示画面の一例であり、工具46が工作物45を切削
するところをシュミレーションしているものである。任
意の画像は、直線や円弧、点といった図形の基本要素の
組合せで描画することができるので、表示要求タスク3
0は表示実現タスク31/32に対して図形の基本要素
の種類を示すコードと基本要素のパラメータ、即ち、位
置、大きさ、角度等の数値データと、図形の色や線幅と
いった図形の属性の種類を示すコードと属性のパラメー
タを出力すれば、表示実現タスク31/32は画像を組
み立てることができる。図3においては、全て直線で構
成されており、図3(b)に示す点47〜59を適当な
順番に沿って直線で結ぶことにより組み立てられる。
Next, the specific contents of the display request message 27 will be described with reference to FIGS. 3, 4 and 5. Figure 3
(A) is an example of a display screen displayed on the display device 7 of the numerical control device 1, and is a simulation of where the tool 46 cuts the workpiece 45. Since any image can be drawn with a combination of basic elements such as lines, arcs, and points, display request task 3
0 is a code indicating the type of the basic element of the graphic for the display realization task 31/32, and parameters of the basic element, that is, numerical data such as position, size, and angle, and attributes of the graphic such as color and line width of the graphic. By outputting the code indicating the type and the parameter of the attribute, the display realization task 31/32 can assemble the image. In FIG. 3, all of them are composed of straight lines, and they are assembled by connecting the points 47 to 59 shown in FIG. 3B with straight lines in an appropriate order.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0026[Correction target item name] 0026

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0026】図5は、図3(a)を描くために送られる
メッセージデータの1部を示したものであり、図4に示
すデータ形式に従っている。まず、工作物45を描くた
めにフレーム63で色を指定し、フレーム64で線幅を
指定している。フレーム64では連続線分を描くことを
指定し、パラメータとして点53,55,56,57,
58,59が表示装置上のどの位置にあたるかドット単
位で示すためのx軸上の値と、y軸上の値の数値コード
を設定する。例えば、点53は(x2 ,y4 )で表され
る。工具46も同様の方法で描くことが可能である。
FIG. 5 shows a part of the message data sent to draw FIG. 3 (a), which follows the data format shown in FIG. First, in order to draw the workpiece 45, the frame 63 specifies the color, and the frame 64 specifies the line width. It is specified that a continuous line segment is drawn in the frame 64, and the points 53, 55, 56, 57, and
A numerical code of a value on the x-axis and a numerical code on the y-axis for indicating which position on the display device 58, 59 corresponds to in dot units is set. For example, the point 53 is represented by (x 2 , y 4 ). The tool 46 can be drawn in a similar manner.

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0027[Name of item to be corrected] 0027

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0027】表示実現タスクと表示要求タスクとの間で
交換されるメッセージは、表示要求タスクから表示実現
タスクに対する一方通行ではなく、表示実現タスクから
表示要求タスクに対しても交換でき、その結果、表示実
現タスクからのエラーメッセージ等を表示要求タスクは
受け取ることができるので、遠隔表示を確実に実行する
ことができる。
The message exchanged between the display realization task and the display request task can be exchanged not only from the display request task to the display realization task but also from the display realization task to the display request task. Since the display request task can receive an error message or the like from the display realization task, remote display can be surely executed.

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0028[Correction target item name] 0028

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0028】尚、図1にあっては、表示実現タスクが表
示メモリを直接操作する構成としたが、表示メモリの操
作は専用のハードウェアが代行し、表示実現タスクは専
用ハードウェアに対してコマンドを送るような構成にし
てもよい。
In FIG. 1, the display realizing task directly operates the display memory, but the display memory is operated by the dedicated hardware, and the display realizing task is performed by the dedicated hardware. It may be configured to send a command.

【手続補正10】[Procedure Amendment 10]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図3[Name of item to be corrected] Figure 3

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図3】 [Figure 3]

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 表示部に表示を行う表示手段を備え、他
のコンピュータや数値制御装置と相互通信可能な通信回
線で接続される数値制御装置の表示方法において、表示
を行うために表示の要求を行う表示要求段階と、前記表
示要求段階からの表示要求を受けて表示を実現する表示
実現段階とを有し、前記2つの段階間で表示に関して決
められた所定のデータ形式を用いて、各デバイスから独
立したメッセージを交換することにより表示処理を実行
することを特徴とする数値制御装置の表示方法。
1. A display method for a numerical control device, comprising a display means for displaying on a display unit, which is connected to another computer or a numerical control device by a communication line capable of mutual communication, and a display request for displaying. And a display realization step of realizing display by receiving a display request from the display request step, and using a predetermined data format determined for display between the two steps, A display method for a numerical control device, characterized in that display processing is executed by exchanging messages independent of a device.
【請求項2】 前記データ形式は、図形の属性又は要素
の種類を示すコードを設定するエリアと、属性や要素の
パラメータを設定するエリアと、メッセージ終了を示す
終了フラグエリアとから構成されていることを特徴とす
る請求項1記載の数値制御装置の表示方法。
2. The data format comprises an area for setting a code indicating a graphic attribute or an element type, an area for setting an attribute or element parameter, and an end flag area indicating a message end. The display method for a numerical control device according to claim 1, wherein:
JP10296892A 1992-04-22 1992-04-22 Display method for numerical controller Pending JPH05297928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10296892A JPH05297928A (en) 1992-04-22 1992-04-22 Display method for numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10296892A JPH05297928A (en) 1992-04-22 1992-04-22 Display method for numerical controller

Publications (1)

Publication Number Publication Date
JPH05297928A true JPH05297928A (en) 1993-11-12

Family

ID=14341574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10296892A Pending JPH05297928A (en) 1992-04-22 1992-04-22 Display method for numerical controller

Country Status (1)

Country Link
JP (1) JPH05297928A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009258983A (en) * 2008-04-16 2009-11-05 Okuma Corp System for remote maintenance of machine tool using the internet connection

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009258983A (en) * 2008-04-16 2009-11-05 Okuma Corp System for remote maintenance of machine tool using the internet connection

Similar Documents

Publication Publication Date Title
US5297246A (en) Printer system and operating method therefor
JPH1097393A (en) Print control method and device and recording medium
JPH05297928A (en) Display method for numerical controller
JPH1040038A (en) Network printing system with preview function
JP2905552B2 (en) Keyboard control method
JP3359075B2 (en) Information processing apparatus and method
JP2797653B2 (en) Image data processing device
JPH07290547A (en) Remote control method of injection molding machine, local controller and remote control device
JP2001306059A (en) Display control method
JPS63103323A (en) Document processor
KR100444899B1 (en) Rotation transformation method for images to reduce operation quantity
JPH08115226A (en) Information processor
JPH03136093A (en) Alarm display device
JP2002301846A (en) Imaging apparatus and controlling method therefor
JPH01130257A (en) Document processor
JP2000099137A (en) Display unit
JPH0525334B2 (en)
JPH05289647A (en) Character drawing control method
JPH07121103A (en) Programming device
JPH01291320A (en) Image processor
JPH10315575A (en) Printing system, controlling method of printing and computer-readable recording medium wherein printing control program is recorded
JPH03104669A (en) Print controlling method for printer
JPH06161688A (en) Printer
JPH034316A (en) Page printer
JPH03246081A (en) Printing device