JPH0232402A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH0232402A
JPH0232402A JP63183245A JP18324588A JPH0232402A JP H0232402 A JPH0232402 A JP H0232402A JP 63183245 A JP63183245 A JP 63183245A JP 18324588 A JP18324588 A JP 18324588A JP H0232402 A JPH0232402 A JP H0232402A
Authority
JP
Japan
Prior art keywords
message
displaying
display
time
messages
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
JP63183245A
Other languages
Japanese (ja)
Inventor
Nobuyuki Kitani
木谷 信之
Haruyasu Eguchi
江口 晴康
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP63183245A priority Critical patent/JPH0232402A/en
Publication of JPH0232402A publication Critical patent/JPH0232402A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Alarm Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To display the displaying request time of a message when instruction is executed by a pointer by storing the generation time and the displaying message when a message displaying request occurs from a user program. CONSTITUTION:When a message displaying request is executed from a user program 7, a program 2 reads the request generating time from a timer 6, the time is temporarily saved to a register and the request message is stored into a memory 3. The time saved to the register is stored into a memory 4. The latest message to update a pointer and generate the displaying request and the generating time are sent to a manual data input device 8 and shown at a liquid crystal display device 9. With a key 10, the message to occur before the arbitrary number of times is selected. By such a constitution, even after an all-night service, etc., the condition of the machine can be known retroactively.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラマブル・コントローラ(以下、PCと
記す)に関し、特にメツセージ掲示機能を有するPCに
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a programmable controller (hereinafter referred to as a PC), and particularly to a PC having a message posting function.

〔従来の技術〕[Conventional technology]

従来のPCにおいては、最新のメツセージのみを表示し
たり、複数のメツセージを表示する場合にはそれらのメ
ツセージの表示要求発生順序とは無関係に順不同に表示
したりしていた。
Conventional PCs display only the latest message, or when displaying a plurality of messages, display them in random order, regardless of the order in which display requests for the messages are generated.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

PCに接続された機械を無人にして終夜運転した後では
、オペレータはその間の機械の状況を詳しく把握する必
要がある。特にその間に何らかの異常や故障があった場
合には、異常の程度や故障原因を探ることが重要である
。従って、アラーム、オペレータへの操作要求、復旧手
順指示等のPCから出されたメツセージを、過去にさか
のぼって表示させることが出来れば誠に有益である。
After operating a machine connected to a PC unattended all night, the operator needs to have a detailed understanding of the machine's status during that time. In particular, if any abnormality or failure occurs during that time, it is important to investigate the extent of the abnormality and the cause of the failure. Therefore, it would be extremely beneficial if messages sent from the PC, such as alarms, operation requests to operators, and recovery procedure instructions, could be displayed retroactively in the past.

また、それらメツセージの表示要求発生時刻を知ること
が出来れば、異常発生の経過や他の機械設備の状況との
関連を類推することが可能な場合があり、尚−層好都合
である。
Furthermore, if it is possible to know the times at which the display requests for these messages are generated, it may be possible to infer the course of the occurrence of the abnormality and its relationship with the status of other machinery and equipment, which is even more convenient.

しかし、従来のPCにおいては、任意の回数だけ前に発
生したメツセージを表示したり、表示要求の発生した順
にメツセージを表示したり、メツセージ表示要求発生時
刻を表示したりする為には、複雑なユーザプログラムを
作成しなければならなかった。
However, with conventional PCs, it is difficult to display messages that occurred an arbitrary number of times ago, display messages in the order in which display requests occurred, or display the time when message display requests occurred. I had to write a user program.

本発明はこのような点に鑑みてなされたものであり、シ
ステムプログラムでメツセージ掲示板機能を実現するこ
とにより、複雑なユーザプログラムを作成することなく
、過去にさかのぼって任意の回数だけ前に発生したメツ
セージを表示させ、メツセージ表示要求時刻を表示させ
ることの出来るPCを提供することを目的とする。
The present invention has been made in view of these points, and by realizing a message bulletin board function in a system program, it is possible to go back in time and send messages that have occurred an arbitrary number of times before, without creating a complicated user program. To provide a PC capable of displaying a message and displaying a message display request time.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では上記課題を解決するために、アラーム表示あ
るいはオペレータへの指示等のメツセージを表示するメ
ツセージ掲示機能を有するプログラマブル・コントロー
ラにおいて、表示要求のあったメツセージを記憶する手
段と、記憶された前記メツセージのうちの最新のメツセ
ージを選択して表示する手段と、 記憶された前記メツセージのうちの操作キー入力により
選択されたメツセージを優先的に表示する手段と、 を備えたことを特徴とするプログラマブル・コントロー
ラ、 が提供される。
In order to solve the above-mentioned problems, the present invention provides a programmable controller having a message display function for displaying messages such as alarm display or instructions to an operator, and includes means for storing a message requested to be displayed; A programmable device characterized by comprising: means for selecting and displaying the latest message among messages; and means for preferentially displaying a message selected by operation key input from among the stored messages.・A controller is provided.

〔作用〕[Effect]

ユーザプログラムよりメツセージ表示要求が発生すると
、その発生時刻が時刻記憶メモリに記憶され、表示メツ
セージがメツセージ記憶メモリに記憶される。
When a message display request is issued by a user program, the time of occurrence is stored in the time storage memory, and the displayed message is stored in the message storage memory.

表示ポインタはシステム・プログラムにより、もしくは
オペレータの操作により更新され、表示ポインタにより
指示されたメツセージおよびそのメツセージの表示要求
発生時刻が表示装置に表示される。
The display pointer is updated by the system program or by an operator's operation, and the message pointed to by the display pointer and the time at which a display request for that message is issued are displayed on the display device.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図にPCのハードウェア構成の図を示す。FIG. 1 shows a diagram of the hardware configuration of a PC.

図において、lは全体を制御するためのプロセッサ、2
は本発明の掲示板機能の実行処理をするシステム・プロ
グラムである。3は表示メツセージを格納するためのメ
ツセージ記憶メモリであり、RAMで構成されている。
In the figure, l is a processor for overall control, 2
is a system program that executes the bulletin board function of the present invention. Reference numeral 3 denotes a message storage memory for storing displayed messages, and is composed of a RAM.

4はメツセージ表示要求発生時刻を記憶するための時刻
記憶メモリであり、RAMで構成されている。5は表示
する内容を指示するための表示ポインタである。
Reference numeral 4 denotes a time storage memory for storing the time when a message display request is issued, and is composed of a RAM. 5 is a display pointer for indicating the content to be displayed.

6はタイマ、すなわちPCに内蔵された時計機能である
。7はROMに組まれたユーザ・プログラムであり、ア
ラーム、オペレータへの操作要求、復旧手順指示等の表
示のためのメツセージテーブルもここに格納されている
6 is a timer, that is, a clock function built into the PC. 7 is a user program stored in the ROM, and a message table for displaying alarms, operation requests to the operator, recovery procedure instructions, etc. is also stored here.

8はマニュアル・データ・インプット(以下、MDIと
記す)であり、液晶表示装置9と操作キー10とを有し
ている。11はMDI8とバス12とを接続するための
インタフェースである。
Reference numeral 8 denotes a manual data input (hereinafter referred to as MDI), which has a liquid crystal display device 9 and operation keys 10. 11 is an interface for connecting MDI 8 and bus 12;

次に、第2図のフローチャートに基づいて動作を説明す
る。Sに続く番号は、ステップ番号である。
Next, the operation will be explained based on the flowchart shown in FIG. The number following S is the step number.

〔S1〕ユーザ・プログラム7からメツセージ表示要求
が出たか否かを調べる。出ていればS2へ進み、出てい
なければS6へ進む。
[S1] Check whether a message display request has been issued from the user program 7. If it has appeared, proceed to S2; if not, proceed to S6.

〔S2〕システム・プログラム2が、タイマ6からメツ
セージ表示要求発生時刻を読み出して、その時刻をレジ
スタ(図示せず)に−時的に退避させる。
[S2] The system program 2 reads the message display request generation time from the timer 6 and temporarily saves the time in a register (not shown).

〔S3〕表示要求のあったメツセージを、メツセージ記
憶メモリ3に格納する。
[S3] The message requested to be displayed is stored in the message storage memory 3.

(S4)S2でレジスタに退避させていた時刻を、メツ
セージ表示要求発生時刻記憶メモリ4に格納する。
(S4) The time saved in the register in S2 is stored in the message display request generation time storage memory 4.

〔S5〕ポインタ5を更新する。これにより、表示要求
の発生した最新のメツセージとその発生時刻とがMDl
Bに送られ、液晶表示装置9に表示される。
[S5] Pointer 5 is updated. As a result, the latest message for which a display request occurred and its generation time are displayed on the MDl.
B and displayed on the liquid crystal display device 9.

本実施例においては、表示装置9は1度に1個のメツセ
ージしか表示できない。システム・プログラム2は、通
常は最新のメツセージを選択して表示させる。
In this embodiment, the display device 9 can only display one message at a time. The system program 2 normally selects and displays the latest message.

最新のメツセージ以外のメツセージを表示させたい場合
には、オペレータが操作キー10を用いて任意の回数だ
け前に発生したメツセージを選択する。
If it is desired to display a message other than the latest message, the operator uses the operation keys 10 to select a message that occurred a predetermined number of times.

〔S6〕オペレータの操作が有ったか否かを調べる。有
ればS7へ、無ければS8へ進む。
[S6] Check whether there is any operation by the operator. If there is, proceed to S7; if not, proceed to S8.

〔S7〕操作キー入力により選択された番号へとポイン
タ5を更新する。これにより、操作キー入力により選択
された回数だけ前の表示メツセージをポインタ5が指示
する。
[S7] The pointer 5 is updated to the number selected by the operation key input. As a result, the pointer 5 points to the previous display message the number of times selected by the operation key input.

〔S8〕ポインタ5により指示されたメツセージとその
表示要求発生時刻とが、液晶表示装置9に表示され、S
lに戻る。
[S8] The message indicated by the pointer 5 and the time when the display request occurred are displayed on the liquid crystal display device 9, and
Return to l.

以上の動作が、システム・プログラムにより周期的に処
理される。
The above operations are periodically processed by the system program.

以上の実施例においては1度に1個のメツセージしか表
示できない表示装置を用いたが、1度に複数個のメツセ
ージを表示できる表示装置を用いてもよい、その場合に
は、最新のメツセージから順に複数個のメツセージを選
択して、表示要求発生の順序に従って表示するように構
成するのが好適である。この場合にも、操作キー入力に
より選択された1個もしくは複数個のメツセージを優先
的に表示させるのが好ましい。
In the above embodiments, a display device that can display only one message at a time was used, but a display device that can display multiple messages at a time may also be used. In that case, the most recent message It is preferable to select a plurality of messages in order and display them in the order in which display requests are generated. In this case as well, it is preferable to preferentially display one or more messages selected by operation key input.

また、PCに内蔵されたタイマにカレンダー機能を持た
せ、時刻のほかに日付、曜日を表示させてもよい。
Furthermore, a timer built into the PC may be provided with a calendar function to display the date and day of the week in addition to the time.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、複雑なユーザ・プログ
ラムを作成することなく任意の回数だけ前に発生したメ
ツセージを表示させることが出来るようにしたので、終
夜運転等の後でも、さかのぼって機械の状況を知ること
が出来る。
As explained above, the present invention makes it possible to display previously generated messages an arbitrary number of times without creating a complicated user program, so even if the machine has been operated all night, You can know the situation.

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

第1図は本発明の一実施例のPCのハードウェアの構成
図、 第2図は本発明を実行するプログラムのフローチャート
である。 1−−−−−−−−−−−−・−プロセッサ2−−一 
 −システム・プログラム 3−−−−−−−−−−−−−−メツセージ記憶メモリ
4−   表示要求発生時刻記憶メモリ5    表示
ポインタ 6・−・−−−−−−−・・タイマ 7    ユーザ・プログラム 8・−−−−マニュアル・データ・インプット(MDI
) 9    液晶表示装置 10・〜・−・−・−操作キー 11    インタフェース 12−・−・−・−−−一・−バス 特許出願人 ファナック株式会社 代理人   弁理士  服部毅巖
FIG. 1 is a hardware configuration diagram of a PC according to an embodiment of the present invention, and FIG. 2 is a flowchart of a program that executes the present invention. 1-------------------- Processor 2--1
- System program 3 - - - - - - - - - - Message storage memory 4 - Display request generation time storage memory 5 Display pointer 6 - - - - - - - Timer 7 User - Program 8 - Manual data input (MDI)
) 9 Liquid crystal display device 10・〜・−・−・−Operation keys 11 Interface 12−・−・−・−−−1・−Bus Patent applicant Fanuc Co., Ltd. agent Patent attorney Takeshi Hattori

Claims (3)

【特許請求の範囲】[Claims] (1)アラーム表示あるいはオペレータへの指示等のメ
ッセージを表示するメッセージ掲示機能を有するプログ
ラマブル・コントローラにおいて、表示要求のあったメ
ッセージを記憶する手段と、記憶された前記メッセージ
のうちの最新のメッセージを選択して表示する手段と、 記憶された前記メッセージのうちの操作キー入力により
選択されたメッセージを優先的に表示する手段と、 を備えたことを特徴とするプログラマブル・コントロー
ラ。
(1) In a programmable controller having a message display function for displaying messages such as alarms or instructions to operators, means for storing messages requested to be displayed and for displaying the latest message among the stored messages. A programmable controller comprising: means for selecting and displaying; and means for preferentially displaying a message selected by inputting an operation key from among the stored messages.
(2)前記メッセージを選択して表示する手段が、最新
のものから複数個のメッセージを選択し表示要求発生の
順序に従って表示するように構成したことを特徴とする
特許請求の範囲第1項記載のプログラマブル・コントロ
ーラ。
(2) The means for selecting and displaying the messages is configured to select a plurality of messages from the latest and display them in the order in which display requests are generated. programmable controller.
(3)時計機能と、 メッセージ表示要求発生時刻を記憶する手段と、前記選
択されたメッセージの表示要求発生時刻を表示する手段
と、 を備えたことを特徴とする特許請求の範囲第1項記載の
プログラマブル・コントローラ。
(3) A clock function; means for storing a message display request generation time; and means for displaying a display request generation time of the selected message. programmable controller.
JP63183245A 1988-07-22 1988-07-22 Programmable controller Pending JPH0232402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63183245A JPH0232402A (en) 1988-07-22 1988-07-22 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63183245A JPH0232402A (en) 1988-07-22 1988-07-22 Programmable controller

Publications (1)

Publication Number Publication Date
JPH0232402A true JPH0232402A (en) 1990-02-02

Family

ID=16132316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63183245A Pending JPH0232402A (en) 1988-07-22 1988-07-22 Programmable controller

Country Status (1)

Country Link
JP (1) JPH0232402A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62143108A (en) * 1985-12-17 1987-06-26 Omron Tateisi Electronics Co Data recorder
JPS6325708A (en) * 1986-07-18 1988-02-03 Hitachi Ltd Execution history display device
JPH01255905A (en) * 1988-04-06 1989-10-12 Mazda Motor Corp Trouble diagnostic device for machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62143108A (en) * 1985-12-17 1987-06-26 Omron Tateisi Electronics Co Data recorder
JPS6325708A (en) * 1986-07-18 1988-02-03 Hitachi Ltd Execution history display device
JPH01255905A (en) * 1988-04-06 1989-10-12 Mazda Motor Corp Trouble diagnostic device for machine

Similar Documents

Publication Publication Date Title
JP2005346444A (en) Equipment management system
JP3467330B2 (en) System abnormality monitoring device
JPH06103518B2 (en) Alarm display method
JPS6161135B2 (en)
JPS6253859B2 (en)
JPS61255432A (en) Error message display system
JPS61210415A (en) Crt key input operating device
JP3134878B2 (en) Programmable controller
JP2547818B2 (en) Monitoring screen display device
JPH01116706A (en) Picture displaying method for display device of controller
JPS61147351A (en) Programmable controller
JPS6182248A (en) Monitoring method of content of memory
JPH04102917A (en) Message display device and method for computer system
JPS63228398A (en) Plant monitor
JPH01244502A (en) Pc program display system
JPH05241635A (en) Numerical controller
JPH07319440A (en) Display method on operation display panel
JPS5894011A (en) Programmable controller
JPS6113343A (en) Console device
JPH04152216A (en) Plant monitor
JPH07182149A (en) Message display system
JPH02226307A (en) Numerical controller
JPH08317565A (en) Load selection operation device
JPS6064771A (en) Control device for welding machine
JPH07320177A (en) Plant monitoring equipment