JPH08185339A - Data recorer and data recording method - Google Patents

Data recorer and data recording method

Info

Publication number
JPH08185339A
JPH08185339A JP32677194A JP32677194A JPH08185339A JP H08185339 A JPH08185339 A JP H08185339A JP 32677194 A JP32677194 A JP 32677194A JP 32677194 A JP32677194 A JP 32677194A JP H08185339 A JPH08185339 A JP H08185339A
Authority
JP
Japan
Prior art keywords
data
processing
program
registered
unit
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
JP32677194A
Other languages
Japanese (ja)
Other versions
JP3186483B2 (en
Inventor
Fumio Nagai
文生 永井
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP32677194A priority Critical patent/JP3186483B2/en
Publication of JPH08185339A publication Critical patent/JPH08185339A/en
Application granted granted Critical
Publication of JP3186483B2 publication Critical patent/JP3186483B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To easily grasp the contents of a trouble, to quickly execute program debugging or the like and to suppress the reduction of processing speed by monitoring the contents of a register at every data processing and recording registered data. CONSTITUTION: After editing a program, the edited program is transferred from a PLC interface controlling part 33 to a program storing part 21 through a supporting device interface controlling part 23. When the operation of the program is troubled, a device and a relative device are registered by a monitor information registering processing part 5. The registered data are transferred to a monitor registered information storing part 3 through the controlling part 23. A monitoring part 2 monitors a program arithmetic processing part 22 based upon the data. When a change is generated in the registered device, a monitor information monitoring part 2 transfers an arithmetic processing result obtained when the device is changed to a monitor result recording part 4.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プログラマブル・ロジ
ック・コントローラ(以下、PLCと記載する。)用の
プログラムの動作中のデータを記録するデータ記録装置
およびデータ記録方法に係わり、特に動作不良がある箇
所のデータを時系列に参照することができるデータ記録
装置およびデータ記録方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data recording device and a data recording method for recording data during operation of a program for a programmable logic controller (hereinafter, referred to as PLC), and particularly to a malfunction. The present invention relates to a data recording device and a data recording method that can refer to data at a certain location in time series.

【0002】[0002]

【従来の技術】従来、PLCのプログラムを開発する際
に用いられるデータ記録装置には、図5に図示する生産
設備を制御するPLC20およびPLC20にケーブル
9で接続されてPLC20からのデータの表示などを行
うコンピュータ30がある。
2. Description of the Related Art Conventionally, a data recording device used for developing a PLC program includes a PLC 20 for controlling a production facility shown in FIG. 5 and a data display from the PLC 20 which is connected to the PLC 20 by a cable 9. There is a computer 30 for performing.

【0003】PLC20には、PLC20のラダープロ
グラムを記憶するプログラム記憶手段であるRAM21
がある。このRAM21は、ラダープログラムにしたが
ってデータの処理を行う演算処理手段であるプログラム
演算処理部22で用いるラダープログラムを記憶してい
る。プログラム演算処理部22で処理されたデータは、
コンピュータ30とデータを送受信する制御用データ送
受信手段であるサポート機器インターフェース制御部2
3によりコンピュータ30にデータが送信される。
The PLC 20 has a RAM 21 which is a program storage means for storing the ladder program of the PLC 20.
There is. The RAM 21 stores a ladder program used by the program operation processing unit 22 which is an operation processing unit that processes data according to the ladder program. The data processed by the program calculation processing unit 22 is
Support device interface control unit 2 which is a control data transmitting / receiving unit for transmitting / receiving data to / from the computer 30.
3 transmits data to the computer 30.

【0004】一方、コンピュータ30には、プログラム
を編集する編集する編集制御手段であるプログラム編集
制御部31がある。このプログラム編集制御部31で編
集したプログラムは、PLC20とデータの送受信を行
う制御処理用データ送受信手段であるPLCインターフ
ェース制御部33を介してPLC20のプログラム記憶
部21に送信される。また、PLC20からのデータ
は、サポート機器インターフェース制御部23を介して
PLC20で処理したデータを表示するデータ表示手段
であるモニタ表示処理部32で表示される。そして、こ
られのデータは、コンピュータ30に付属するデータを
記憶する外部記憶装置にデータの入出力を行うデータ入
出力手段である外部記憶装置入出力制御部34を介して
外部記憶装置に記憶される。
On the other hand, the computer 30 has a program edit control section 31 which is an edit control means for editing a program. The program edited by the program edit control unit 31 is transmitted to the program storage unit 21 of the PLC 20 via the PLC interface control unit 33, which is a control processing data transmitting / receiving unit that transmits / receives data to / from the PLC 20. Further, the data from the PLC 20 is displayed on the monitor display processing unit 32 which is a data display means for displaying the data processed by the PLC 20 via the supported device interface control unit 23. Then, these data are stored in the external storage device via the external storage device input / output control unit 34 which is a data input / output means for inputting / outputting the data to / from the external storage device which stores data attached to the computer 30. It

【0005】なお、プログラム記憶部21は、ROMも
しくはRAMまたは磁気記憶装置などの記憶媒体であ
る。また、外部記憶装置は、フロッピーディスク装置な
どの記憶装置である。
The program storage unit 21 is a storage medium such as a ROM or RAM or a magnetic storage device. The external storage device is a storage device such as a floppy disk device.

【0006】このデータ記憶装置は、図6のフローチャ
ートのように動作する。
This data storage device operates as shown in the flowchart of FIG.

【0007】プログラム編集制御部31によりプログラ
ムの編集後PLCインターフェース制御部33からサポ
ート機器インターフェース制御部23を経由してプログ
ラム記憶部21に編集したプログラムを転送し(S3
1)、プログラムの動作を確認する(S32)。不具合
があった場合には(S33)、不具合のあったラダープ
ログラムのデバイスをプログラム演算処理部22からサ
ポート機器インターフェース制御部23およびPLCイ
ンターフェース制御部33を経由してモニタ表示処理部
32で表示する(S34)。原因を把握した場合には
(S35)、対策を検討して検討結果をフィードバック
して対策を行う(S36)。原因究明のためにラダープ
ログラムを設計しこのラダープログラムにしたがって不
具合の原因を推定する(S37)。
After the program is edited by the program edit control unit 31, the edited program is transferred from the PLC interface control unit 33 to the program storage unit 21 via the support device interface control unit 23 (S3
1) Confirm the operation of the program (S32). When there is a defect (S33), the device of the defective ladder program is displayed on the monitor display processing unit 32 from the program calculation processing unit 22 via the support device interface control unit 23 and the PLC interface control unit 33. (S34). When the cause is understood (S35), the countermeasure is examined and the examination result is fed back to take the countermeasure (S36). A ladder program is designed for investigating the cause, and the cause of the malfunction is estimated according to the ladder program (S37).

【0008】また、このデータ記憶装置は、図7に図示
するようにPLC20のプログラムを開発する場合に
は、PLC20のプログラム演算処理部22内部に設け
られてアドレスもしくはデータを記憶するレジスタの現
在の値を表示させることにより演算結果を確認してプロ
グラムのデバックなどを行っていた。
Further, in the case of developing the program of the PLC 20 as shown in FIG. 7, this data storage device is provided inside the program operation processing section 22 of the PLC 20 and is provided with a current register of a register for storing an address or data. By displaying the value, the calculation result was confirmed and the program was debugged.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、このデ
ータ記憶装置にあっては、例えば複雑な演算処理を行う
場合には現在の状態しか表示できないので、途中経過を
明らかにすることが必要となる時には、各処理ステップ
毎にレジスタにより表示しなければならずレジスタが多
量に必要であったり、プログラムが複雑になり処理速度
を低下させていた。
However, in this data storage device, for example, when performing complicated arithmetic processing, only the current state can be displayed. Therefore, when it is necessary to clarify the progress of the process. However, it is necessary to display by a register for each processing step, a large number of registers are required, and the program becomes complicated, thus reducing the processing speed.

【0010】そこで本発明の目的は、係る問題点である
プログラムの処理過程におけるレジスタの値を時系列に
記録できると共に、プログラムなどの複雑化に伴う処理
速度の低下を低減するデータ記録装置およびデータ記録
方法を提供することを目的とする。
Therefore, an object of the present invention is to provide a data recording device and a data recording apparatus that can record the register values in the process of processing a program, which is the problem, in a time series, and reduce the decrease in the processing speed due to the complexity of the program. The purpose is to provide a recording method.

【0011】[0011]

【課題を解決するための手段】上述の目的を達成するた
めの本発明は、以下の手段による。
The present invention for achieving the above object is based on the following means.

【0012】1.請求項1に係る手段は、データを処理
するプログラムを記憶するプログラム記憶手段と、当該
プログラムにしたがってデータの処理を行う演算処理手
段と、前記演算処理手段で行われるデータの処理の監視
をするデータ処理監視手段と、当該データ処理監視手段
で監視するデータを登録する登録データ記憶手段と、当
該登録データ記憶手段に登録されている前記演算処理手
段からのデータの処理の結果を記憶する処理データ記憶
手段と、前記演算処理手段により処理されたデータおよ
び前記登録データ記憶手段により登録されたデータの送
受信を行う制御用データ送受信手段を有することを特徴
とする。
1. The means according to claim 1 is a program storage means for storing a program for processing data, an arithmetic processing means for processing data according to the program, and data for monitoring processing of data performed by the arithmetic processing means. Processing monitoring means, registered data storage means for registering data to be monitored by the data processing monitoring means, and processing data storage for storing results of processing of data from the arithmetic processing means registered in the registered data storage means And a control data transmitting / receiving unit for transmitting / receiving the data processed by the arithmetic processing unit and the data registered by the registered data storage unit.

【0013】2.請求項2に係る手段は、データの処理
を行うプログラムを編集する編集制御手段と、プログラ
ムにより処理されたデータを表示するデータ表示手段
と、監視するデータの設定を行うデータ設定手段と、デ
ータを記憶する外部記憶装置にデータの入出力を行うデ
ータ入出力手段と、前記データ表示手段で表示されるデ
ータおよび前記データ設定手段で設定したデータの送受
信を行う制御処理用データ送受信手段を有することを特
徴とする。
2. According to a second aspect of the present invention, an edit control means for editing a program for processing data, a data display means for displaying data processed by the program, a data setting means for setting data to be monitored, and data And a data input / output unit for inputting / outputting data to / from an external storage device for storing, and a control processing data transmitting / receiving unit for transmitting / receiving data displayed by the data display unit and data set by the data setting unit. Characterize.

【0014】3.請求項3に係る手段は、データを処理
するプログラムを記憶するプログラム記憶手段と、当該
プログラムにしたがってデータの処理を行う演算処理手
段と、前記演算処理手段で行われるデータの処理の監視
をするデータ処理監視手段と、当該データ処理監視手段
で監視するデータを登録する登録データ記憶手段と、当
該登録データ記憶手段に登録されている前記演算処理手
段からのデータの処理の結果を記憶する処理データ記憶
手段と、前記演算処理手段により処理されたデータおよ
び前記登録データ記憶手段により登録されたデータの送
受信を行う制御用データ送受信手段と、データの処理を
行うプログラムを編集する編集制御手段と、プログラム
により処理されたデータを表示するデータ表示手段と、
監視するデータの設定を行うデータ設定手段と、データ
を記憶する外部記憶装置にデータの入出力を行うデータ
入出力手段と、前記データ表示手段で表示されるデータ
および前記データ設定手段で設定したデータの送受信を
行う制御処理用データ送受信手段を有することを特徴と
する。
3. The means according to claim 3 is a program storage means for storing a program for processing data, an arithmetic processing means for processing data according to the program, and data for monitoring processing of data performed by the arithmetic processing means. Processing monitoring means, registered data storage means for registering data to be monitored by the data processing monitoring means, and processing data storage for storing results of processing of data from the arithmetic processing means registered in the registered data storage means Means, control data transmitting / receiving means for transmitting / receiving data processed by the arithmetic processing means and data registered by the registered data storage means, edit control means for editing a program for processing data, and Data display means for displaying the processed data,
Data setting means for setting data to be monitored, data input / output means for inputting / outputting data to / from an external storage device for storing data, data displayed by the data display means and data set by the data setting means It is characterized by having a control processing data transmission / reception means for transmitting / receiving.

【0015】4.請求項4に係る手段は、データを処理
するプログラムを動作させて動作を確認し、動作不良が
あった場合には、動作不良のあった箇所および動作不良
に関連のある箇所のデータを登録し、当該登録されたデ
ータを基にプログラムの処理を監視し、前記登録された
データに変化があった時には、プログラムの処理の結果
を記録する。
4. The means according to claim 4 operates a program for processing data to confirm the operation, and when there is a malfunction, registers the data of the part having the malfunction and the part related to the malfunction. The processing of the program is monitored based on the registered data, and when there is a change in the registered data, the result of the processing of the program is recorded.

【0016】[0016]

【作用】[Action]

1.本発明のデータ記録装置は、プログラム記憶手段に
記憶されたプログラムにしたがって、演算処理手段によ
りデータの処理が行われる。この処理されるデータは、
登録データ記憶手段に登録されているデータをデータ処
理監視手段により監視する。監視されたデータは、登録
データ記憶手段によりプログラムの処理ステップ毎に処
理データ記録手段に記憶される。この記憶されたデータ
は、制御用データ送受信手段により他の装置に送信され
て、表示などの処理が行われる。
1. In the data recording device of the present invention, the processing unit processes the data according to the program stored in the program storage unit. This processed data is
The data registered in the registered data storage means is monitored by the data processing monitoring means. The monitored data is stored in the processed data recording means by the registered data storage means for each processing step of the program. The stored data is transmitted to another device by the control data transmission / reception means, and is subjected to processing such as display.

【0017】2.本発明のデータ記録装置は、データを
処理するプログラムの編集を編集制御手段で行う。この
編集したプログラムは、制御処理用データ送受信手段に
より他の装置に送信されて実行される。また、データの
監視を行うデータは、データ設定手段により設定され
て、制御処理用データ送受信手段を介して送信される。
他の装置から送信されるデータは、制御処理用データ送
受信手段で受信されてデータ表示手段により表示され
る。他の装置からのデータは、データ入出力手段により
外部記憶装置に記憶される。
2. In the data recording apparatus of the present invention, the editing control means edits the program for processing the data. The edited program is transmitted to and executed by another device by the control processing data transmitting / receiving means. Further, the data for monitoring the data is set by the data setting means and transmitted via the control processing data transmitting / receiving means.
Data transmitted from another device is received by the control processing data transmission / reception means and displayed by the data display means. Data from other devices is stored in the external storage device by the data input / output means.

【0018】3.本発明のデータ記録装置は、プログラ
ム記憶手段に記憶されたプログラムにしたがって、演算
処理手段によりデータの処理が行われる。この処理され
るデータは、登録データ記憶手段に登録されているデー
タをデータ処理監視手段により監視する。監視されたデ
ータは、登録データ記憶手段によりプログラムの処理ス
テップ毎に処理データ記録手段に記憶される。この記憶
されたデータは、制御用データ送受信手段により他の装
置に送信されて、表示などの処理が行われる。
3. In the data recording device of the present invention, the processing unit processes the data according to the program stored in the program storage unit. As for the processed data, the data registered in the registered data storage means is monitored by the data processing monitoring means. The monitored data is stored in the processed data recording means by the registered data storage means for each processing step of the program. The stored data is transmitted to another device by the control data transmission / reception means, and is subjected to processing such as display.

【0019】また、本発明のデータ記録装置は、データ
を処理するプログラムの編集を編集制御手段で行う。こ
の編集したプログラムは、制御処理用データ送受信手段
により制御手段に送信されて実行される。また、データ
の監視を行うデータは、データ設定手段により設定され
て、制御処理用データ送受信手段を介して送信される。
他の装置から送信されるデータは、制御処理用データ送
受信手段で受信されてデータ表示手段により表示され
る。他の装置からのデータは、データ入出力手段により
外部記憶装置に記憶される。
Further, the data recording apparatus of the present invention edits the program for processing the data by the edit control means. The edited program is transmitted to and executed by the control processing data transmitting / receiving means. Further, the data for monitoring the data is set by the data setting means and transmitted via the control processing data transmitting / receiving means.
Data transmitted from another device is received by the control processing data transmission / reception means and displayed by the data display means. Data from other devices is stored in the external storage device by the data input / output means.

【0020】4.本発明のデータ記録方法は、監視する
データを設定して、このデータを処理ステップ毎に記憶
する。したがって、本発明のデータ記録方法は、不具合
内容が容易に把握できてプログラムのデバックなどを速
やかに行うことができると共に、プログラムなどの複雑
化に伴う処理速度の低下を低減することができる。
4. The data recording method of the present invention sets the data to be monitored and stores this data for each processing step. Therefore, according to the data recording method of the present invention, it is possible to easily grasp the content of the defect and quickly debug the program, and to reduce the reduction in processing speed due to the complexity of the program and the like.

【0021】[0021]

【実施例】以下、添付した図面を使用して本発明のデー
タ記録装置およびデータ記録方法を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A data recording device and a data recording method of the present invention will be described below with reference to the accompanying drawings.

【0022】本装置は、従来例で説明した図5のPLC
20およびコンピュータ30にさらに幾つかの部材を追
加した改良発明である。
This apparatus is the PLC of FIG. 5 described in the conventional example.
It is an improved invention in which some members are added to the computer 20 and the computer 30.

【0023】PLC1には、プログラム演算処理部22
で行われるデータの処理の監視をするデータ処理監視手
段であるモニタ情報監視部2、コンピュータ10で登録
される登録データを記憶する登録データ記憶手段である
モニタ登録情報記憶部3およびコンピュータ10からの
データの処理の結果を記憶する処理データ記憶手段であ
るモニタ結果記録部4が設けられている。
The PLC 1 includes a program calculation processing section 22.
From the computer 10 and the monitor registration information storage unit 3 which is a registration data storage unit that stores registration data registered by the computer 10. A monitor result recording unit 4, which is a process data storage unit that stores the result of data processing, is provided.

【0024】また、コンピュータ10には、モニタ情報
監視部2により監視するデータの設定を行うデータ設定
手段であるモニタ情報登録処理部5が設けられている。
Further, the computer 10 is provided with a monitor information registration processing section 5 which is a data setting means for setting the data monitored by the monitor information monitoring section 2.

【0025】このデータ処理装置は、図2で図示するよ
うにコンピュータ10のモニタ情報登録処理部5で設定
されるデータをPLC1内部のモニタ情報監視部2で監
視する。そして、PLC1のデータ処理でデバイスに変
化のあった場合、つまり不具合が生じた場合には、モニ
タ登録情報記憶部3によりモニタ結果記録部4に該当す
るプログラム箇所および関連するプログラム箇所を処理
が実行される度に記録する。
As shown in FIG. 2, this data processing apparatus monitors the data set by the monitor information registration processing section 5 of the computer 10 by the monitor information monitoring section 2 inside the PLC 1. Then, when the device is changed by the data processing of the PLC 1, that is, when a defect occurs, the monitor registration information storage unit 3 executes the processing of the program portion corresponding to the monitor result recording unit 4 and the related program portion. Record each time it is done.

【0026】また、本方法を図1の装置を用いて説明す
ると、図3および図4のフローチャートのようにプログ
ラム編集制御部31によりプログラムの編集後PLCイ
ンターフェース制御部33からサポート機器インターフ
ェース制御部23を経由してプログラム記憶部21に編
集したプログラムを転送し(S1)、プログラムの動作
を確認する(S2)。不具合があった場合には(S
3)、不具合のあったラダープログラムの箇所であるデ
バイスおよび関連デバイスをモニタ情報登録処理部5に
より登録する(S4)。モニタ情報登録処理部5に登録
されたデータをPLCインターフェース制御部33から
サポート機器インターフェース制御部23を経由してモ
ニタ登録情報記憶部3に転送する(S5)。モニタ登録
情報記憶部3に転送されたデータを基にモニタ情報監視
部2はプログラム演算処理部の監視を行う(S6)。登
録したデバイスに変化があった場合には(S7)、モニ
タ情報監視部2は登録デバイスの変化があったときの演
算処理結果をモニタ結果記録部4に転送する(S8)。
モニタ表示処理部32によりモニタ結果記録部4に記録
されたデータについて参照および原因究明し(S9)。
対策を検討して検討結果をフィードバックして対策を行
う(S10)。
The method will be described with reference to the apparatus of FIG. 1. After the program is edited by the program editing control unit 31, the PLC interface control unit 33 to the support device interface control unit 23 are used as shown in the flow charts of FIGS. 3 and 4. The edited program is transferred to the program storage unit 21 via (S1) and the operation of the program is confirmed (S2). If there is a problem (S
3) The monitor information registration processing unit 5 registers the device that is the location of the defective ladder program and the related device (S4). The data registered in the monitor information registration processing section 5 is transferred from the PLC interface control section 33 to the monitor registration information storage section 3 via the support device interface control section 23 (S5). The monitor information monitoring unit 2 monitors the program calculation processing unit based on the data transferred to the monitor registration information storage unit 3 (S6). If the registered device has changed (S7), the monitor information monitoring unit 2 transfers the calculation processing result when the registered device has changed to the monitor result recording unit 4 (S8).
The monitor display processing unit 32 refers to and investigates the cause of the data recorded in the monitor result recording unit 4 (S9).
Measures are examined, and the examination results are fed back to take countermeasures (S10).

【0027】以上のような本装置および本方法は、プロ
グラム実行中に動作不良が発生してもプログラムの処理
ステップ毎のレジスタの内容が時系列に記憶装置に記憶
されているので、不具合内容が容易に把握できてプログ
ラムのデバックなどを速やかに行うことができる。
In the above apparatus and method, even if a malfunction occurs during program execution, the contents of the register for each processing step of the program are stored in the storage device in chronological order. It can be easily grasped and the program can be debugged quickly.

【0028】[0028]

【発明の効果】以上、述べたように本発明のデータ記録
装置およびデータ記録方法は、次の効果がある。
As described above, the data recording device and the data recording method of the present invention have the following effects.

【0029】1.本発明のデータ記録装置は、データ処
理監視手段によりデータ処理毎のレジスタの内容を監視
して登録データ記憶手段に登録されているデータを処理
データ記憶手段に記録するので、プログラム実行中に動
作不良が発生してもプログラムの処理ステップ毎のレジ
スタの内容が時系列に記憶装置に記憶されていて、不具
合内容が容易に把握できてプログラムのデバックなどを
速やかに行うことができると共に、プログラムなどの複
雑化に伴う処理速度の低下を低減することができる。
1. Since the data recording device of the present invention monitors the contents of the register for each data processing by the data processing monitoring means and records the data registered in the registered data storage means in the processed data storage means, it malfunctions during program execution. Even if occurs, the contents of the register for each processing step of the program are stored in the storage device in a time series, and the details of the problem can be easily grasped and the program can be debugged quickly. It is possible to reduce a decrease in processing speed due to complication.

【0030】2.本発明のデータ記録装置は、データ設
定手段により所望の監視したいデータを設定するのでプ
ログラムのデバックなどを速やかに行うことができると
共に、プログラムなどの複雑化に伴う処理速度の低下を
低減することができる。
2. Since the data recording device of the present invention sets desired data to be monitored by the data setting means, it is possible to quickly debug a program and reduce a decrease in processing speed due to complication of the program. it can.

【0031】3.本発明のデータ記録装置は、データ設
定手段により所望の監視したいデータを設定できるので
プログラムのデバックなどを速やかに行うことができ
る。また、本発明のデータ記録装置は、データ処理監視
手段によりデータ処理毎のレジスタの内容を監視して登
録データ記憶手段に登録されているデータを処理データ
記憶手段に記録するので、プログラム実行中に動作不良
が発生してもプログラムの処理ステップ毎のレジスタの
内容が時系列に記憶装置に記憶されていて、不具合内容
が容易に把握できてプログラムのデバックなどをより速
やかに行うことができると共に、プログラムなどの複雑
化に伴う処理速度の低下を低減することができる。
3. In the data recording apparatus of the present invention, the desired data to be monitored can be set by the data setting means, so that the program can be debugged quickly. Further, the data recording apparatus of the present invention monitors the contents of the register for each data processing by the data processing monitoring means and records the data registered in the registered data storage means in the processed data storage means. Even if a malfunction occurs, the contents of the register for each processing step of the program are stored in the storage device in a time series, and the details of the malfunction can be easily grasped and the program can be debugged more quickly. It is possible to reduce the decrease in processing speed due to the complexity of programs and the like.

【0032】4.本発明のデータ記録方法は、記録する
データを登録して、処理ステップ毎にデータを時系列に
記録するので、不具合内容が容易に把握できてプログラ
ムのデバックなどを速やかに行うことができると共に、
プログラムなどの複雑化に伴う処理速度の低下を低減す
ることができる。
4. Since the data recording method of the present invention registers the data to be recorded and records the data in time series for each processing step, the contents of the problem can be easily grasped and the program can be debugged quickly.
It is possible to reduce the decrease in processing speed due to the complexity of programs and the like.

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

【図1】 本発明のデータ記録装置の構成を説明するブ
ロック図である。
FIG. 1 is a block diagram illustrating a configuration of a data recording device of the present invention.

【図2】 本発明のデータ記録装置の動作を説明する図
である。
FIG. 2 is a diagram for explaining the operation of the data recording device of the present invention.

【図3】 本発明のデータ記録装置の制御を説明するフ
ローチャートである。
FIG. 3 is a flowchart illustrating control of the data recording device of the present invention.

【図4】 本発明のデータ記録装置の制御を説明するフ
ローチャートである。
FIG. 4 is a flowchart illustrating control of the data recording device of the present invention.

【図5】 従来のデータ記録装置の構成を説明するブロ
ック図である。
FIG. 5 is a block diagram illustrating a configuration of a conventional data recording device.

【図6】 従来のデータ記録装置の制御を説明するフロ
ーチャートである。
FIG. 6 is a flowchart illustrating control of a conventional data recording device.

【図7】 従来のデータ記録装置の動作を説明する図で
ある。
FIG. 7 is a diagram illustrating an operation of a conventional data recording device.

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

1,20…PLC、2…モニタ情報監視部、3…モニタ
登録情報記憶部、4…モニタ結果記録部、5…モニタ情
報登録処理部、10,30…コンピュータ、21…プロ
グラム記憶部、22…プログラム演算処理部、23…サ
ポート機器 I/F制御部、31…プログラム編集制御
部、32…モニタ表示処理部、33…PLC I/F制
御部、34…外部記憶装置入出力制御部。
1, 20 ... PLC, 2 ... Monitor information monitoring unit, 3 ... Monitor registration information storage unit, 4 ... Monitor result recording unit, 5 ... Monitor information registration processing unit, 10, 30 ... Computer, 21 ... Program storage unit, 22 ... Program operation processing unit, 23 ... Supporting device I / F control unit, 31 ... Program editing control unit, 32 ... Monitor display processing unit, 33 ... PLC I / F control unit, 34 ... External storage device input / output control unit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 データを処理するプログラムを記憶する
プログラム記憶手段と、 当該プログラムにしたがってデータの処理を行う演算処
理手段と、 前記演算処理手段で行われるデータの処理の監視をする
データ処理監視手段と、 当該データ処理監視手段で監視するデータを登録する登
録データ記憶手段と、 当該登録データ記憶手段に登録されている前記演算処理
手段からのデータの処理の結果を記憶する処理データ記
憶手段と、 前記演算処理手段により処理されたデータおよび前記登
録データ記憶手段により登録されたデータの送受信を行
う制御用データ送受信手段を有することを特徴とするデ
ータ記録装置。
1. A program storage means for storing a program for processing data, an arithmetic processing means for processing data according to the program, and a data processing monitoring means for monitoring the data processing performed by the arithmetic processing means. A registered data storage means for registering data to be monitored by the data processing monitoring means, and a processed data storage means for storing a result of processing the data from the arithmetic processing means registered in the registered data storage means, A data recording device comprising a control data transmitting / receiving unit for transmitting / receiving data processed by the arithmetic processing unit and data registered by the registered data storage unit.
【請求項2】 データの処理を行うプログラムを編集す
る編集制御手段と、 プログラムにより処理されたデータを表示するデータ表
示手段と、 監視するデータの設定を行うデータ設定手段と、 データを記憶する外部記憶装置にデータの入出力を行う
データ入出力手段と、 前記データ表示手段で表示されるデータおよび前記デー
タ設定手段で設定したデータの送受信を行う制御処理用
データ送受信手段を有することを特徴とするデータ記録
装置。
2. An edit control unit for editing a program for processing data, a data display unit for displaying data processed by the program, a data setting unit for setting data to be monitored, and an external unit for storing the data. It has a data input / output unit for inputting / outputting data to / from the storage device, and a control processing data transmitting / receiving unit for transmitting / receiving the data displayed by the data display unit and the data set by the data setting unit. Data recording device.
【請求項3】 データを処理するプログラムを記憶する
プログラム記憶手段と、 当該プログラムにしたがってデータの処理を行う演算処
理手段と、 前記演算処理手段で行われるデータの処理の監視をする
データ処理監視手段と、 当該データ処理監視手段で監視するデータを登録する登
録データ記憶手段と、 当該登録データ記憶手段に登録されている前記演算処理
手段からのデータの処理の結果を記憶する処理データ記
憶手段と、 前記演算処理手段により処理されたデータおよび前記登
録データ記憶手段により登録されたデータの送受信を行
う制御用データ送受信手段と、 データの処理を行うプログラムを編集する編集制御手段
と、 プログラムにより処理されたデータを表示するデータ表
示手段と、 監視するデータの設定を行うデータ設定手段と、 データを記憶する外部記憶装置にデータの入出力を行う
データ入出力手段と、 前記データ表示手段で表示されるデータおよび前記デー
タ設定手段で設定したデータの送受信を行う制御処理用
データ送受信手段を有することを特徴とするデータ記録
装置。
3. A program storage means for storing a program for processing data, an arithmetic processing means for processing data according to the program, and a data processing monitoring means for monitoring the data processing performed by the arithmetic processing means. A registered data storage means for registering data to be monitored by the data processing monitoring means, and a processed data storage means for storing a result of processing the data from the arithmetic processing means registered in the registered data storage means, A control data transmitting / receiving unit for transmitting / receiving the data processed by the arithmetic processing unit and the data registered by the registered data storage unit, an editing control unit for editing a program for processing the data, and a processing unit processed by the program. Data display means for displaying data and data setting for setting data to be monitored And a data input / output unit for inputting / outputting data to / from an external storage device for storing data, and data transmission / reception for control processing for transmitting / receiving data displayed by the data display unit and data set by the data setting unit A data recording device comprising means.
【請求項4】 データを処理するプログラムを動作させ
て動作を確認し、 動作不良があった場合には、動作不良のあった箇所およ
び動作不良に関連のある箇所のデータを登録し、 当該登録されたデータを基にプログラムの処理を監視
し、 前記登録されたデータに変化があった時には、プログラ
ムの処理の結果を記録するデータ記録方法。
4. A program for processing data is operated to check the operation, and if there is an operation failure, the data of the location having the operation failure and the location related to the operation failure are registered, and the registration is performed. A data recording method for monitoring the processing of a program based on recorded data, and recording the result of the processing of the program when there is a change in the registered data.
JP32677194A 1994-12-28 1994-12-28 Data recording device Expired - Fee Related JP3186483B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32677194A JP3186483B2 (en) 1994-12-28 1994-12-28 Data recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32677194A JP3186483B2 (en) 1994-12-28 1994-12-28 Data recording device

Publications (2)

Publication Number Publication Date
JPH08185339A true JPH08185339A (en) 1996-07-16
JP3186483B2 JP3186483B2 (en) 2001-07-11

Family

ID=18191518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32677194A Expired - Fee Related JP3186483B2 (en) 1994-12-28 1994-12-28 Data recording device

Country Status (1)

Country Link
JP (1) JP3186483B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100607023B1 (en) * 2003-08-21 2006-08-01 산요덴키가부시키가이샤 Program processing apparatus
US7203819B2 (en) 2003-08-21 2007-04-10 Sony Electric Co., Ltd Program processing device
JP5955482B1 (en) * 2015-01-28 2016-07-20 三菱電機株式会社 Unit and programmable logic controller system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100607023B1 (en) * 2003-08-21 2006-08-01 산요덴키가부시키가이샤 Program processing apparatus
US7203819B2 (en) 2003-08-21 2007-04-10 Sony Electric Co., Ltd Program processing device
US7434103B2 (en) 2003-08-21 2008-10-07 Sanyo Electric Co., Ltd. Program processing device
JP5955482B1 (en) * 2015-01-28 2016-07-20 三菱電機株式会社 Unit and programmable logic controller system
WO2016121038A1 (en) * 2015-01-28 2016-08-04 三菱電機株式会社 Intelligent function unit and programmable logic controller system
CN106233212A (en) * 2015-01-28 2016-12-14 三菱电机株式会社 Intelligent function unit and programmable logic controller system
US10303149B2 (en) 2015-01-28 2019-05-28 Mitsubishi Electric Corporation Intelligent function unit and programmable logic controller system

Also Published As

Publication number Publication date
JP3186483B2 (en) 2001-07-11

Similar Documents

Publication Publication Date Title
US5101337A (en) Plant diagnostic apparatus
US6275955B1 (en) Diagnostic software for facilitating flowchart programming
JPH08185339A (en) Data recorer and data recording method
JPH05209816A (en) Plant system analyzer
JP3304649B2 (en) Central monitoring device
JPH0632047B2 (en) Data collection device
JP3191873B2 (en) Semiconductor measuring equipment
JPS6245266A (en) Method for remote fault diagnosis and fault repair of communication terminal equipment
JPH06149612A (en) Diagnostic test system
JP2544927B2 (en) Plant operation support system
JPH0883108A (en) Debugging tool for programmable controller
JPH05143395A (en) Diagnostic program execution system and log information display system to be used for the execution system
JPH07117429B2 (en) Plant abnormality diagnosis device
JP2631778B2 (en) Computer program test equipment
JPS59160233A (en) Automatic recording system for input/output operating data of display device
JPH0728363A (en) Diagnostic device for copying machine
JPH1078818A (en) Plant monitor and control unit
JPS61115154A (en) Diagnosis processing system
JPH0520051A (en) Software conversion operation controller
JPS61208516A (en) Supervisory unit
JPH05289898A (en) Executing system for diagnostic program with log information output function
JPH01201739A (en) Program execution trace controller
JP2000131388A (en) Device for setting system configuration of ic testing device
JP2004341822A (en) Integrated monitoring and analysis device and method
JPS63146111A (en) Information output device for computer system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees