JPH01112404A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH01112404A
JPH01112404A JP62270986A JP27098687A JPH01112404A JP H01112404 A JPH01112404 A JP H01112404A JP 62270986 A JP62270986 A JP 62270986A JP 27098687 A JP27098687 A JP 27098687A JP H01112404 A JPH01112404 A JP H01112404A
Authority
JP
Japan
Prior art keywords
information
ram
internal memory
change
signal
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
JP62270986A
Other languages
Japanese (ja)
Inventor
Kousuke Motoi
浩祐 許斐
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 JP62270986A priority Critical patent/JPH01112404A/en
Publication of JPH01112404A publication Critical patent/JPH01112404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To monitor the change of input output information and internal memory information without fail by outputting a condition changing signal when the internal memory information is monitored and one of them is changed. CONSTITUTION:A comparing device 8 transfers the information from external equipment, the information outputted to the external equipment and the internal memory information of an internal memory RAM 5 for operation to a RAM 7. The device 8, next, compares the previous data of the RAM 7 and the present data of RAMs 4 and 5 and a comparing result is transferred to a RAM 9. Further, the device 8 detects whether or not the comparing result of the RAM 9 is wholly coincident, and when a different point is detected, the signal of the change point presence is sent to a CPU 1. An action is repeated until the command of monitoring continuation is not executed. On the other hand, the CPU 1 sends a condition change signal through a communication control equipment 6 to a peripheral equipment and the change point is monitored.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、プログラマブルコントローラに係り、特に
、その内部の情報を周辺装置でモニタする場合の読出し
時間の短縮化に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a programmable controller, and in particular to shortening the readout time when monitoring internal information with a peripheral device.

〔従来の技術〕[Conventional technology]

第3図は従来のプログラマブルコントローラ(以下PC
と略記する)の構成を示すブロック図であり、中央処理
装置(以下CPUと言う)(1)に、プログラム実行用
ROM (2) 、プログラム格納RAM(3)、入出
力情報格納RAM(4)、演算用内部メモリRA M 
(5)および通信制御装置(6)が接続されている。こ
こで、入出力情報格納RA M (4)にはスイッチや
センサ等の外部機器から取込む入力情報と、ランプ、ソ
レノイド、バルブ等の外部機器へ出力する出力情報とが
格納され、演算用内部メモリRA M (5)には内部
演算の作業エリアとして用いる内部メモリ情報が格納さ
れている。
Figure 3 shows a conventional programmable controller (PC
This is a block diagram showing the configuration of a central processing unit (hereinafter referred to as CPU) (1), a ROM for program execution (2), a program storage RAM (3), and an input/output information storage RAM (4). , internal memory RAM for calculation
(5) and a communication control device (6) are connected. Here, the input/output information storage RAM (4) stores input information taken in from external devices such as switches and sensors, and output information outputted to external devices such as lamps, solenoids, and valves. The memory RAM (5) stores internal memory information used as a work area for internal calculations.

このように構成されたP C(10)は第4図に示すよ
うに周辺装置(2o)と通信ケーブル(3o)で接続さ
れ、相互に各種の情報の授受ができるようになっている
As shown in FIG. 4, the PC (10) configured in this manner is connected to a peripheral device (2o) by a communication cable (3o), so that various information can be exchanged with each other.

ところで、第4図に示したシステムにおいて、P C(
10)本体の人出角情報や内部メモリ情報の変化をモニ
タする場合には、周辺装置(2o)が通信制御装置(6
)を介して入出力情報格納RA M (4)や演算用内
部メモリRA M (5)の情報を読出し、次いで、こ
れらの情報を基にしてモニタデータを表示していた。こ
の場合、周辺装置(2o)は情報読出し→モニタ表示−
情報読出し→・・・−モニタ表示という操作を繰返しな
がらP C(10)の情報を常時モニタしていた。
By the way, in the system shown in Fig. 4, P C(
10) When monitoring changes in the main unit's crowd angle information or internal memory information, the peripheral device (2o)
), the information in the input/output information storage RAM (4) and the internal calculation memory RAM (5) is read out, and then monitor data is displayed based on this information. In this case, the peripheral device (2o) reads information → monitor display -
The information on the PC (10) was constantly monitored while repeating the operation of reading information → displaying on the monitor.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述したように、周辺装置(20)が情報読出しとモニ
タ表示とを交互に行いながら、P C(10)を常時モ
ニタする方式では、周辺装置(2o)のモニタすべき情
報が多くなるに従って、今回の情報読出しから次回の情
報誘出しまでの所要時間も長くなる。このため、情報読
出しの時間間隔よりも短い時間で変化する入出力情報や
内部メモリ情報の変化をモニタすることができなくなっ
てしまうという問題点があった。
As described above, in the method in which the peripheral device (20) constantly monitors the PC (10) while alternately reading out information and displaying information on the monitor, as the amount of information to be monitored by the peripheral device (2o) increases, The time required from the current information reading to the next information elicitation also becomes longer. For this reason, there is a problem in that it becomes impossible to monitor changes in input/output information or internal memory information that change in a time shorter than the time interval of information reading.

この発明は上記の問題点を解決するためになされたもの
で、周辺装置のモニタすべき情報が多くなった場合でも
、入出力情報や内部メモリ情報の変化を確実にモニタす
ることのできるPCを得ることを目的とする。
This invention was made to solve the above-mentioned problems, and it provides a PC that can reliably monitor changes in input/output information and internal memory information even when the amount of information to be monitored on peripheral devices increases. The purpose is to obtain.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るpcは、外部機器に対する入出力情報お
よび内部演算の作業エリアとして用いる内部メモリ情報
を監視し、これらの情報の少なくとも一つに変化があフ
たとき、状態変化信号を出力する情報変化監視手段を備
えたものである。
The PC according to the present invention monitors input/output information for external equipment and internal memory information used as a work area for internal calculations, and outputs a state change signal when at least one of these pieces of information changes. It is equipped with change monitoring means.

〔作用〕[Effect]

この発明においては情報変化監視手段が状態変化信号を
出力したときに限って周辺装置がその変化点の情報を読
出すだけで済み、これによってモニタすべき情報量が増
えた場合でも入出力情報や内部メモリの変化を確実にモ
ニタすることができる。
In this invention, only when the information change monitoring means outputs a state change signal, the peripheral device only needs to read the information at the point of change, so even if the amount of information to be monitored increases, the input/output information Changes in internal memory can be reliably monitored.

〔実施例〕〔Example〕

第1図はこの発明の一実施例の構成を示すブロック図で
あり、第3図と同一の要素には同一の符号を付してその
説明を省略する。そして、これら以外の(7)は入出力
情報格納RA M (4)および演算用内部メモリRA
 M (5)の前回の内容を格納する情報格納RAM1
(8)はこの情報格納RAM(7) に格納された内容
と、入出力情報格納RAM(4)および演算用内部メモ
リRA M (5)の今回の内容とを比較する比較装置
、(9)はこの比較結果を格′納する比較結果格納RA
Mである。この場合、新たに付加した要素(7)、(8
)、(9)およびcpU(1)が本発明の情報変化監視
手段に対応する。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and the same elements as in FIG. 3 are given the same reference numerals and their explanations will be omitted. Other than these (7) are input/output information storage RAM (4) and internal memory for calculation RA
Information storage RAM 1 that stores the previous contents of M (5)
(8) is a comparison device that compares the contents stored in this information storage RAM (7) with the current contents of the input/output information storage RAM (4) and the internal memory for calculation RAM (5); (9) is the comparison result storage RA that stores this comparison result.
It is M. In this case, the newly added elements (7) and (8
), (9) and cpU(1) correspond to the information change monitoring means of the present invention.

上記のように構成された本実施例の動作を、比較装置(
8)の具体的な処理手順を示す第2図のフローチャート
に従って以下に説明する。
The operation of the present embodiment configured as described above is measured by a comparison device (
8) will be explained below according to the flowchart of FIG. 2 showing the specific processing procedure.

先ず、比較装置(8)はステップ(101)にて入出力
情報格納RA M (4)に格納された外部機器から取
込んだ入力情報、外部機器へ出力する出力情報および演
算用内部メモリRA M (5)の内部メモリ情報を情
報格納RA M (7)へ転送し、ステップ(102)
にて転送プログラムの実行を完了したか否かをチエツク
する。もし、転送が終了しなければ終了するまでその動
作を繰返す。
First, in step (101), the comparison device (8) reads the input information taken in from the external device stored in the input/output information storage RAM (4), the output information to be output to the external device, and the internal memory RAM for calculation. The internal memory information in (5) is transferred to the information storage RAM (7), and step (102)
Check whether execution of the transfer program has been completed. If the transfer is not completed, the operation is repeated until it is completed.

次に、比較装置(8)は情報格納RA M (7)の前
回のデータと、入出力情報格納RA M (4)および
演算用内部メモリRA M (5)の今回のデータとを
比較し、その比較結果を比較結果格納RA M (9)
に転送する。
Next, the comparison device (8) compares the previous data in the information storage RAM (7) with the current data in the input/output information storage RAM (4) and the internal memory for calculation RAM (5), Comparison results are stored in RAM (9)
Transfer to.

次に、比較装置(8)はステップ(104)にて比較結
果格納RA M (9)の比較結果が全て一致したもの
であるか否かを検出し、全て一致していた場合にはこれ
らの比較動作を繰返す。一方、ステップ(104)で異
る点が検出された場合には、ステップ(105)にてc
 p U (1)に対して変化点有の信号を送出する。
Next, in step (104), the comparator (8) detects whether all the comparison results in the comparison result storage RAM (9) match, and if they all match, these Repeat the comparison operation. On the other hand, if a different point is detected in step (104), c
A signal indicating a change point is sent to p U (1).

そして、ステップ(tOa)にて監視続行の指令が出て
いるか否かをチエツクし、この指令がなくなるまで上述
した動作を繰返す。
Then, in step (tOa), it is checked whether a command to continue monitoring has been issued or not, and the above-described operation is repeated until this command is no longer issued.

一方、変化点有の信号を受けたc p U (1)は通
信制御装置(6)を介して、周辺装置(20) (第4
図)に状態変化信号を送出する。この状態変化信号を受
信した周辺装置(20)は比較結果を読出すことによっ
て変化点をモニタすることができる。
On the other hand, c p U (1), which has received the signal indicating that there is a change point, sends the peripheral device (20) (fourth
(Figure) sends a state change signal. The peripheral device (20) that receives this state change signal can monitor the change point by reading the comparison result.

かくして、周辺装置(20)はP C(10)からの状
態変化信号を待っているだけでよく、従来のモニタ方式
のように時間のかかる多量の情報読出しをする必要性が
なくなり、短時間で変化する入出力情報や内部メモリの
変化に対してもこれらの情報を確実にモニタすることが
できる。
In this way, the peripheral device (20) only needs to wait for a status change signal from the PC (10), and there is no need to read a large amount of information, which takes time as in the conventional monitor method, and the process can be completed in a short time. It is possible to reliably monitor changing input/output information and changes in internal memory.

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

以上の説明によって明らかなようにこの発明によれば、
pc自体が情報変化監視手段を備えているので、この情
報変化監視手段が状態変化信号を出力したときに限って
周辺装置がその変化点の情報を読出すだけで済み、これ
によってモニタすべき情報量が増えた場合でも入出力情
報や内部メモリ情報の変化を確実にモニタすることがで
きるという効果がある。
As is clear from the above explanation, according to this invention,
Since the PC itself is equipped with an information change monitoring means, the peripheral device only needs to read the information at the change point when the information change monitoring means outputs a status change signal. This has the effect that changes in input/output information and internal memory information can be reliably monitored even when the amount increases.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例の動作を説明するためのフローチャー
ト、第3図は従来のプログラマブルコントローラの構成
を示すブロック図、第4図はこのプログラマブルコント
ローラの周辺装置との接続図である。 (1):中央処理装置、 (4)二人出力情報格納RAM、 (5):演算用内部メモリRAM。 (6):通信制御装置、 (7):情報格納RAM。 (8):比較装置、 (9);比較結果格納RAM。 なお、各図中、同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a flow chart for explaining the operation of the same embodiment, FIG. 3 is a block diagram showing the configuration of a conventional programmable controller, and FIG. 4 is a connection diagram of this programmable controller with peripheral devices. (1): Central processing unit, (4) Two person output information storage RAM, (5): Internal memory RAM for calculation. (6): Communication control device, (7): Information storage RAM. (8): Comparison device, (9); Comparison result storage RAM. In each figure, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 外部機器から取込む入力情報、外部機器へ出力する出力
情報および内部演算の作業エリアとして用いる内部メモ
リ情報の変化を監視し、前記情報の少なくとも一つに変
化があったとき状態変化信号を出力する情報変化監視手
段を備えたことを特徴とするプログラマブルコントロー
ラ。
Monitors changes in input information taken in from external equipment, output information outputted to external equipment, and internal memory information used as a work area for internal calculations, and outputs a status change signal when at least one of the above information changes. A programmable controller characterized by being equipped with information change monitoring means.
JP62270986A 1987-10-27 1987-10-27 Programmable controller Pending JPH01112404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62270986A JPH01112404A (en) 1987-10-27 1987-10-27 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62270986A JPH01112404A (en) 1987-10-27 1987-10-27 Programmable controller

Publications (1)

Publication Number Publication Date
JPH01112404A true JPH01112404A (en) 1989-05-01

Family

ID=17493801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62270986A Pending JPH01112404A (en) 1987-10-27 1987-10-27 Programmable controller

Country Status (1)

Country Link
JP (1) JPH01112404A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6806312B2 (en) 2001-06-20 2004-10-19 Asahu Kasei Kabushiki Kaisha Thermoplastic resin composition
CN102455674A (en) * 2010-10-17 2012-05-16 青岛三利中德美水设备有限公司 Controller special for heat exchanging equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6806312B2 (en) 2001-06-20 2004-10-19 Asahu Kasei Kabushiki Kaisha Thermoplastic resin composition
CN102455674A (en) * 2010-10-17 2012-05-16 青岛三利中德美水设备有限公司 Controller special for heat exchanging equipment

Similar Documents

Publication Publication Date Title
JPH01112404A (en) Programmable controller
JPH0262606A (en) Cnc diagnosing system
JPH0558320B2 (en)
JPS61267145A (en) Supervising and controlling equipment
JPS5850097A (en) Concentrated alarm/monitor
JPS60167547A (en) Signal transmitter
JPH0353370A (en) Parallel processor for information processor
JPS61151745A (en) Interruption processing system
JPS61264405A (en) Sequence controller
JPH02109101A (en) Monitoring device
JPH03136104A (en) Programmable controller
JPH03282906A (en) Programmable controller for distributed control system
JPH02263205A (en) Programmable controller remote I/O device
JPH05252561A (en) State supervisory device
JPS59148903A (en) Process input/output control device
JPH03141403A (en) Programmable controller
JPH01156858A (en) Computer system
JPH02156339A (en) Controlling complex computer system
JPH03177193A (en) Digital control monitor system
JPH01149637A (en) System for monitoring polling control response
JPH02178803A (en) Pc coupling system
JPS59703A (en) Sequence control system
JPH04130555A (en) Transfer rate measuring device for multidata bus tester
JPS6318593A (en) Data writing system to earom
JPS61202245A (en) State supervisory device