JP3351254B2 - Load control system - Google Patents

Load control system

Info

Publication number
JP3351254B2
JP3351254B2 JP22559296A JP22559296A JP3351254B2 JP 3351254 B2 JP3351254 B2 JP 3351254B2 JP 22559296 A JP22559296 A JP 22559296A JP 22559296 A JP22559296 A JP 22559296A JP 3351254 B2 JP3351254 B2 JP 3351254B2
Authority
JP
Japan
Prior art keywords
abnormality
transition information
cpu
information
control system
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.)
Expired - Lifetime
Application number
JP22559296A
Other languages
Japanese (ja)
Other versions
JPH1070559A (en
Inventor
孝 栗谷
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP22559296A priority Critical patent/JP3351254B2/en
Publication of JPH1070559A publication Critical patent/JPH1070559A/en
Application granted granted Critical
Publication of JP3351254B2 publication Critical patent/JP3351254B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、個別にアドレスが
割り当てられた複数個の端末器を一対の線路よりなる信
号線を介して中央制御装置に接続し、中央制御装置が各
端末器のアドレスを指定して制御データを時分割多重伝
送するようにして、例えばビル管理システムにおいて端
末器に接続された負荷を制御する負荷制御システムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of connecting a plurality of terminals individually assigned addresses to a central controller via a signal line composed of a pair of lines, and the central controller controls the address of each terminal. The present invention relates to a load control system for controlling a load connected to a terminal device in a building management system, for example, by transmitting control data by time division multiplexing by designating the same.

【0002】[0002]

【従来の技術】従来、いわゆるインテリジェントビルと
呼ばれる建物においては、動力・受配電システム、照明
・空調システム等において各負荷機器の動作状態を1カ
所にて集中管理する遠隔監視による負荷制御システムが
用いられている。例えば、図6に示す一般的な負荷制御
システムは、一台の中央制御装置Aと、個別にアドレス
が割り当てられた端末器B1、B2、…Bnとが同軸ケ
ーブルやツイストペア線などの一対の線路よりなる信号
線Lを介して接続されている。
2. Description of the Related Art Conventionally, in a building called a so-called intelligent building, a load control system by remote monitoring for centrally managing the operation state of each load device in a power / power receiving / distributing system, a lighting / air conditioning system, etc. is used. Have been. For example, in the general load control system shown in FIG. 6, one central control unit A and individually assigned terminals B1, B2,... Bn are a pair of lines such as a coaxial cable and a twisted pair line. Are connected via a signal line L composed of

【0003】図7は、中央制御装置Aから信号線Lを介
して各端末器に向けて送出される時分割多重伝送信号を
示している。この時分割多重伝送信号Vsは、1フレー
ムに、信号送信開始を示すスタートパルス信号ST、交
信すべき端末器Bi(i=1、2、…n)を呼び出すた
めのアドレスデータ信号AD、各端末器Biの動作を制
御するための制御データ信号CDおよび各端末器Biか
らの信号の返送期間を設定する返送待機信号WDを少な
くとも含んでいるもので、中央制御装置Aに内蔵されて
いるCPU1によって生成される。また、この時分割多
重伝送信号Vsは、例えば複極(±24V)の電圧信号
で、長電圧パルスが”1”、短電圧パルスが”0”を示
すパルス幅変調によって低インピーダンスの信号出力回
路より出力されるようになっている。
FIG. 7 shows a time division multiplex transmission signal transmitted from the central control unit A to each terminal via a signal line L. The time division multiplex transmission signal Vs includes, in one frame, a start pulse signal ST indicating the start of signal transmission, an address data signal AD for calling a terminal device Bi (i = 1, 2,... N) to be communicated, The control data signal CD for controlling the operation of the terminal Bi and the return standby signal WD for setting the return period of the signal from each terminal Bi are included at least by the CPU 1 built in the central controller A. Generated. The time division multiplex transmission signal Vs is, for example, a bipolar (± 24 V) voltage signal, and has a low impedance signal output circuit by pulse width modulation in which a long voltage pulse is “1” and a short voltage pulse is “0”. More output.

【0004】各端末器Biでは、信号線Lの線間に整流
器と平滑用コンデンサを接続して動作電源を得ている。
そして、信号線Lを介して入力された時分割多重伝送信
号Vsのアドレスデータと自己の固有アドレスデータと
が一致したとき、その制御データ信号CDを取り込むと
ともに、時分割多重伝送信号Vsの返送待機信号WDに
同期して、端末器Biの側で信号線Lの線間を所定の抵
抗値の抵抗器を介して短絡することによって、長電流パ
ルスが”1”、短電流パルスが”0”を示す複数ビット
の電流モードのシリアル信号である監視データ信号を返
信信号Viとして返送するようになっている。
In each terminal Bi, a rectifier and a smoothing capacitor are connected between signal lines L to obtain an operating power supply.
When the address data of the time-division multiplex transmission signal Vs input via the signal line L matches the own address data, the control data signal CD is taken in, and the return of the time-division multiplex transmission signal Vs is waited. By synchronizing with the signal WD, by short-circuiting the signal lines L on the terminal device Bi side via a resistor having a predetermined resistance value, the long current pulse is "1" and the short current pulse is "0". Is returned as a reply signal Vi, which is a serial data signal of a plurality of bits indicating a current mode.

【0005】上記の遠隔監視制御システムは、通常時に
おいて中央制御装置Aは、例えばアドレス信号ADを、
各端末器Biを順次周期的にポーリングしてアクセスす
るように変化させて時分割多重伝送信号Vsが出力され
る。このアクセスによって各端末器Biは、スタートパ
ルスSTを受信すると、アドレスデータ信号ADを自己
のアドレスと照合し、アドレスが一致した1つの端末器
Biのみが、それに続く制御データ信号CDを取り込ん
で負荷機器を制御する制御動作と、負荷機器からの監視
入力内容に基づく監視データ信号の返送動作とを行う。
[0005] In the above remote monitoring and control system, the central control unit A normally supplies, for example, an address signal AD with the address signal AD.
The time division multiplex transmission signal Vs is output by changing each terminal Bi so as to be periodically polled and accessed. When each terminal Bi receives the start pulse ST by this access, it checks the address data signal AD with its own address, and only one terminal Bi whose address coincides takes in the subsequent control data signal CD and loads the terminal Bi. A control operation for controlling the device and a return operation of a monitoring data signal based on the monitoring input content from the load device are performed.

【0006】図8は、従来例の中央制御装置AのCPU
の周辺回路構成である。中央制御装置Aは、時分割多重
伝送信号Vsを生成し処理するためのCPU1と、シス
テムに異常が発生した場合にCPUに自動的にリセット
をかけるためのウオッチドッグタイマを有しているリセ
ットIC2を備えている。CPU1は、フレーム信号発
生回路1aを内蔵しており、時分割多重伝送信号Vsが
正常であると判定されたときに、フレーム信号に同期し
たパルス信号が出力ポートP1から出力されてリセット
IC2に入力される。すなわち、図7に示す、時分割多
重伝送信号の1フレームに同期して1パルスずつフレー
ム同期信号としてのパルス信号が出力されて遠隔監視制
御システムの正常動作が確認され、異常発生時には、一
定時限監視手段であるウオッチドッグタイマに相当する
リセットIC2からの出力による自己リセットによって
異常の回復が行われて、中央制御装置Aと各端末器Bi
との時分割多重伝送信号Vsの授受が再開される。
FIG. 8 shows a CPU of a conventional central control unit A.
Peripheral circuit configuration. The central controller A has a CPU 1 for generating and processing the time-division multiplexed transmission signal Vs, and a reset IC 2 having a watchdog timer for automatically resetting the CPU when an abnormality occurs in the system. It has. The CPU 1 has a built-in frame signal generation circuit 1a, and when it is determined that the time division multiplex transmission signal Vs is normal, a pulse signal synchronized with the frame signal is output from the output port P1 and input to the reset IC2. Is done. That is, as shown in FIG. 7, a pulse signal as a frame synchronization signal is output one pulse at a time in synchronization with one frame of the time division multiplex transmission signal, and the normal operation of the remote monitoring and control system is confirmed. The abnormality is recovered by the self-reset by the output from the reset IC 2 corresponding to the watchdog timer which is the monitoring means, and the central controller A and each terminal Bi are recovered.
The transmission and reception of the time-division multiplex transmission signal Vs is resumed.

【0007】[0007]

【発明が解決しようとする課題】ところで、上記の中央
制御装置Aは、システムの異常発生に対しては自己リセ
ットによって的確に対処しうるものであるが、頻繁に発
生するシステムの異常発生の原因追及のためのメンテナ
ンスは、現場調整作業者の勘と経験によることが多い。
例えば、異常発生の頻度が多いときの通信回路の監視デ
ータを採取し、自己リセットの発生との関連を検討して
動作プログラムの面での対処を施すこととなる。その結
果、異常発生に対処するためのプログラムのメンテナン
スに多大な時間と労力を必要とするものであった。
By the way, the above-mentioned central control unit A can appropriately cope with the occurrence of a system abnormality by self-reset. Maintenance for pursuit is often based on the intuition and experience of the site adjustment worker.
For example, the monitoring data of the communication circuit when the frequency of occurrence of the abnormality is high is collected, the relation with the occurrence of the self-reset is examined, and measures are taken in the operation program. As a result, a great deal of time and effort is required for the maintenance of the program for coping with the occurrence of the abnormality.

【0008】本発明は、上記事由に鑑みてなしたもの
で、その目的とするところは、遠隔監視による負荷制御
システムのメンテナンスにおいて短時間に異常発生の原
因追究を行うことの出来る負荷制御システムを提供する
ことにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a load control system capable of investigating a cause of an abnormality in a short time in maintenance of the load control system by remote monitoring. To provide.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の負荷制御システムは、個別にアドレ
スが割り当てられた複数個の端末器を一対の線路よりな
る信号線を介して中央制御装置に接続し、中央制御装置
がCPUによって各端末器のアドレスを指定して制御デ
ータを時分割多重伝送するようにして該端末器に接続さ
れた負荷を液晶タッチパネル装置の画面である表示手段
に制御状態を表示し制御する負荷制御システムにおい
て、前記中央制御装置は、前記CPUの動作時の異常動
作を検出する異常動作検出手段、該異常動作検出手段に
よる検出結果を記憶する異常記憶手段を備え、CPUプ
ログラムが各プログラムタスクのタスク状態の遷移情報
を常時更新し記憶する遷移情報記憶手段、および、この
遷移情報記憶手段の遷移情報を異常情報として記憶する
異常情報記憶手段を備えて、起動時に前記異常記憶手段
によって異常動作があったことを検出したときに前記異
常情報を前記遷移情報の内容に逐次更新するものであ
り、前記異常情報記憶手段を、前記異常情報の少なくと
も2つを順次更新し記憶するリングバッファとすること
としている。これにより、異常動作によって起動を再開
した時に、異常動作における遷移情報が異常情報として
逐次更新されて異常情報記憶手段に記憶されるものとな
る。そして、少なくとも2つの前記異常情報を順次更新
し記憶するリングバッファにより、新しい複数の異常情
報を比較しながら同時に参照できるものとなる。
According to a first aspect of the present invention, there is provided a load control system comprising: a plurality of terminals to which addresses are individually assigned via a signal line composed of a pair of lines; The central control unit is connected to the central control unit, and the central control unit specifies the address of each terminal by the CPU to transmit the control data in a time-division multiplex manner so that the load connected to the terminal is displayed on the screen of the liquid crystal touch panel device. In a load control system for displaying and controlling a control state on a means, the central control device includes an abnormal operation detecting means for detecting an abnormal operation when the CPU operates, and an abnormal storage means for storing a detection result by the abnormal operation detecting means. the provided, transition information storage means for CPU program constantly updates and stores the transition information of a task status of each program task, and, in the transition information storage means It includes an abnormality information storing means for storing the transfer information as abnormality information, der which sequentially updates the abnormality information on the content of the transition information when it detects that there is an abnormal operation by said abnormality storage means at start
The abnormality information storage means is provided with at least the abnormality information.
Are also used as ring buffers for sequentially updating and storing the two . Thus, when the startup is restarted due to the abnormal operation, the transition information in the abnormal operation is sequentially updated as the abnormal information and stored in the abnormal information storage means. Then, at least two pieces of the abnormality information are sequentially updated.
The ring buffer stores and stores new abnormal information.
The information can be referred to while comparing the information.

【0010】[0010]

【0011】また、請求項2記載の負荷制御システム
は、請求項1記載の遷移情報に加え、各プログラムタス
ク毎の処理ステップの推移情報を常時更新し記憶するス
テップ推移情報記憶手段によるステップ推移情報を有す
ることとしている。これにより、各プログラムタスク毎
の処理ステップの推移情報が逐次更新されて記憶される
ものとなる。
According to a second aspect of the present invention, in addition to the transition information of the first aspect , the step transition information storage means constantly updates and stores transition information of processing steps for each program task. It has to have. As a result, the transition information of the processing step for each program task is sequentially updated and stored.

【0012】また、請求項3記載の負荷制御システム
は、請求項1又は2記載のCPUに加え、前記異常情報
の内容を表示し得る表示制御手段を備えることとしてい
る。これにより、記憶された異常情報を表示制御手段に
よって適宜表示し得るものとなる。
A load control system according to a third aspect of the present invention includes, in addition to the CPU according to the first or second aspect , a display control means capable of displaying the contents of the abnormality information. Thereby, the stored abnormality information can be appropriately displayed by the display control means.

【0013】[0013]

【発明の実施の形態】以下、本発明の負荷制御システム
の一実施の形態を図1乃至図5に基づいて説明する。図
1は、負荷制御システムに用いる中央制御装置のCPU
の周辺回路の構成図である。図2は、図1に示す中央制
御装置のCPUのプログラムの概略フローチャートで、
(a)は起動時の概略フローチャート、(b)はリング
バッファへの格納時の概略フローチャートである。図3
は、図1に示す中央制御装置のCPUの記憶テーブルと
しての遷移情報テーブルの説明図である。図4は、図1
に示す中央制御装置のCPUの各タスクのステップ情報
の一例の説明図である。図5は、図1に示す中央制御装
置のタッチパネル装置の異常情報の表示の一例である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a load control system according to the present invention will be described below with reference to FIGS. FIG. 1 shows a CPU of a central control unit used in a load control system.
3 is a configuration diagram of a peripheral circuit of FIG. FIG. 2 is a schematic flowchart of a program of a CPU of the central control device shown in FIG.
(A) is a schematic flowchart at the time of startup, and (b) is a schematic flowchart at the time of storage in a ring buffer. FIG.
3 is an explanatory diagram of a transition information table as a storage table of a CPU of the central control device shown in FIG. FIG.
It is explanatory drawing of an example of the step information of each task of CPU of the central control apparatus shown in FIG. FIG. 5 is an example of display of abnormality information of the touch panel device of the central control device shown in FIG.

【0014】この負荷制御システムは、従来例と同じ
く、一台の中央制御装置Aと、個別にアドレスが割り当
てられた端末器B1、B2、…Bnによって形成され
る。
This load control system is formed by one central control unit A and terminals B1, B2,... Bn to which addresses are individually assigned, as in the conventional example.

【0015】中央制御装置Aは、時分割多重伝送信号V
sを生成し処理するためのCPU1と、システムに異常
が発生した場合等にCPU1に自動的にリセットをかけ
るためにウオッチドッグタイマを有しているリセットI
C2と、リセットIC2による異常動作の検出結果であ
るウオッチドッグ異常結果を記憶する異常記憶手段に相
当するフリップフロップIC3と、を備えている。この
CPU1の記憶手段であるRAM4は、このRAM4に
向けて計時データなどを出力する時計IC5及びフリッ
プフロップIC3とともにバックアップ用電池6によっ
て電源がバックアップされている。また、このCPU1
は、図示しない、表示制御手段としての、タッチ入力を
行うためのキーマトリックス回路及び液晶表示装置など
の表示手段を有している液晶タッチパネル装置を備えて
いる。
The central control unit A transmits the time division multiplex transmission signal V
and a reset I having a watchdog timer for automatically resetting the CPU 1 when an abnormality occurs in the system or the like.
C2 and a flip-flop IC3 corresponding to abnormality storage means for storing a watchdog abnormality result which is a detection result of an abnormal operation by the reset IC2. The power of the RAM 4, which is a storage means of the CPU 1, is backed up by a backup battery 6 together with a clock IC 5 and a flip-flop IC 3 that output clock data and the like to the RAM 4. Also, this CPU 1
Includes a liquid crystal touch panel device having a key matrix circuit for performing touch input and a display device such as a liquid crystal display device as a display control device, not shown.

【0016】CPU1は、リセットIC2によりその電
源電圧が監視されている。従って、このリセットIC2
は、CPU1への電源電圧が所定の電圧値になったこと
を検知してCPUにリセット出力を行う電源リセット動
作と、CPU1からのウオッチドッグ出力を常時入力
し、この入力が所定時間継続して無いことによってCP
Uの動作時の異常動作を検出する異常動作検出手段に相
当する動作を行う。また、このリセットIC2は、CP
U1にリセット出力を行う動作時に、フリップフロップ
IC3にこのリセットの発生を報知するパルス信号を出
力する。このリセットの発生の報知は、フリップフロッ
プIC3が電源バックアップされていることによってC
PU1の電源の入切の状態に関係なく保持されるように
なっている。
The power supply voltage of the CPU 1 is monitored by the reset IC 2. Therefore, this reset IC2
Is a power reset operation for detecting that the power supply voltage to the CPU 1 has reached a predetermined voltage value and performing a reset output to the CPU, and a watchdog output from the CPU 1 which is constantly input, and this input continues for a predetermined time. CP by not having
An operation corresponding to abnormal operation detecting means for detecting an abnormal operation during the operation of U is performed. Also, this reset IC 2
At the time of performing the reset output to U1, a pulse signal notifying the occurrence of the reset is output to the flip-flop IC3. The notification of the occurrence of the reset is made by the fact that the flip-flop IC3 is backed up by the power supply.
The data is held regardless of the power on / off state of the PU1.

【0017】以下、上記にて説明したものの動作につい
て説明する。まず、リセットIC2による電源リセット
動作以降、CPU1から時分割多重伝送信号Vsが正常
に送出されている場合は、フレーム信号に同期したパル
ス信号が出力ポートP1から出力されてリセットIC2
に常時入力され、CPU1は正常動作を継続する。
The operation of the above-described device will be described below. First, after the power reset operation by the reset IC 2, if the time division multiplex transmission signal Vs is normally transmitted from the CPU 1, a pulse signal synchronized with the frame signal is output from the output port P 1 and the reset IC 2
, And the CPU 1 continues normal operation.

【0018】次に、電源リセット動作以降において、C
PU1から時分割多重伝送信号Vsが正常に送出されな
い場合は、CPU1からのウオッチドッグ出力はリセッ
トIC2に入力されず、リセットIC2のウオッチドッ
グ異常検出動作によってリセット信号がCPU1のリセ
ット入力Rに向けて出力される。同時に、リセットIC
2は、このウオッチドッグ異常が発生したことをフリッ
プフロップIC3に向けてパルス信号を出力する。な
お、この信号出力結果は、バックアップ用電池6によっ
てフリップフロップIC3の電源がバックアップされて
いために電源が切断されても消失しない。そして、この
状態にてCPU1が再起動すると、CPU1の所定の入
力ポート(P2)へのフリップフロップIC3からの信
号出力が検知されて、CPU1によってウオッチドッグ
異常の有ったことが検出される。
Next, after the power reset operation, C
When the time division multiplex transmission signal Vs is not normally transmitted from the PU1, the watchdog output from the CPU1 is not input to the reset IC2, and the reset signal is directed to the reset input R of the CPU1 by the watchdog abnormality detection operation of the reset IC2. Is output. At the same time, reset IC
2 outputs a pulse signal to the flip-flop IC3 that the watchdog abnormality has occurred. Note that this signal output result does not disappear even when the power is cut off because the power supply of the flip-flop IC3 is backed up by the backup battery 6. When the CPU 1 restarts in this state, a signal output from the flip-flop IC3 to a predetermined input port (P2) of the CPU 1 is detected, and the CPU 1 detects that a watchdog abnormality has occurred.

【0019】そして、RAM4に設定されているリング
バッファに、例えば図3に示す、異常発生回数D1、時
計IC5による起動時の時間データD2とともに、各プ
ログラムタスクのタスク状態の遷移情報が常時更新され
ている遷移情報D3を、別途記憶されているウオッチド
ッグリセット発生回数に1を加えた回数の情報として記
憶する。この遷移情報には、CPU1のプログラムにお
ける各プログラムタスクの処理ステップの推移情報を常
時更新し記憶するステップ推移情報記憶手段によるステ
ップ推移情報も同時に記憶される。なお、このリングバ
ッファは、所定の書式に基づいて記憶されるデータの所
定の数のものを順次記憶するのに用いるデータバッファ
のことで、所定の記憶領域が満杯になった以降は、逐次
古いデータのものが新しいデータのものに上書きされて
消去される。
Then, in the ring buffer set in the RAM 4, for example, as shown in FIG. 3, the transition information of the task state of each program task is constantly updated together with the abnormality occurrence number D1 and the time data D2 at the time of activation by the clock IC5. The transition information D3 is stored as information on the number of times that the watchdog reset occurrence number stored separately is incremented by one. In this transition information, step transition information by step transition information storage means for constantly updating and storing transition information of processing steps of each program task in the program of the CPU 1 is also stored. Note that the ring buffer is a data buffer used for sequentially storing a predetermined number of data stored based on a predetermined format. After the predetermined storage area is full, the ring buffer is sequentially older. Data is overwritten by new data and erased.

【0020】このステップ推移情報は、例えば図4に示
す、所定のタスク処理を終了したときに逐次更新される
タスク内更新番号D31と、タスクの停止、待機、実行
可、中断及び実行中を示す第一状態フラグD32と、こ
の待機要因としての時間待ち、イベント待ち及び共有資
源の開放待ちかを示す第二状態フラグD33を含んでい
る。
The step transition information indicates, for example, an intra-task update number D31, which is sequentially updated when a predetermined task process is completed, as shown in FIG. 4, and indicates whether the task is stopped, waiting, executable, interrupted, and being executed. It includes a first state flag D32 and a second state flag D33 indicating whether to wait for time, wait for an event, or wait for release of a shared resource as a wait factor.

【0021】以上のリングバッファに記憶された異常情
報の更新をした後、CPU1の所定の出力ポート(P
3)からフリップフロップIC3に向けてウオッチドッ
グ異常が発生した旨の信号出力を消去する信号を出力し
て正常動作に移行する。
After updating the abnormality information stored in the ring buffer, a predetermined output port (P
From 3), a signal for erasing a signal output indicating that a watchdog error has occurred is output to the flip-flop IC3, and the operation shifts to a normal operation.

【0022】上記の各プログラムタスクのタスク状態の
遷移情報とタスクのステップ推移情報とは、表示手段で
ある液晶タッチパネル装置の画面によって、例えば図5
に示す表示形式によって、表示制御手段としてのキーマ
トリックスによって制御されるタッチパネルの操作より
適宜表示され、負荷制御システムのメンテナンスにおい
て、ウオッチドッグリセットの要因の解析時に利用され
る。この詳細な異常情報を参照することによって短時間
に異常発生の原因追究を行うことが出来る。
The task state transition information and task step transition information of each program task described above are displayed on a screen of a liquid crystal touch panel device as display means, for example, as shown in FIG.
Is appropriately displayed by an operation of a touch panel controlled by a key matrix as a display control means, and is used when analyzing a cause of a watchdog reset in maintenance of a load control system. By referring to the detailed abnormality information, the cause of the abnormality can be investigated in a short time.

【0023】以下、図2に示すフロチャートの手順に基
づいて、起動時にフリップフロップIC3によって異常
動作のあったことを検出したときの、リングバッファに
記憶された異常情報を遷移情報記憶手段の記憶内容に順
次更新する処理の流れを説明する。
Hereinafter, based on the procedure of the flowchart shown in FIG. 2, when the flip-flop IC3 detects that there is an abnormal operation at the time of startup, the abnormal information stored in the ring buffer is stored in the transition information storing means. The flow of the process of sequentially updating the contents will be described.

【0024】まず、CPUの起動時に、入力ポート(P
2)の信号入力によってウオッチドッグ異常のあったこ
とが検出される(ステップ1)。そして、別途記憶され
ているウオッチドッグリセット(異常発生)回数の回数
データに1を加える(ステップ2)。次いで、各プログ
ラムタスクの遷移情報を常時更新し記憶している遷移情
報記憶手段による異常情報を読み出してリングバッファ
に記憶されている異常情報の最も古い情報をその読み出
したものに更新して記憶する(ステップ3)。次いで、
所定の出力ポートにフリップフロップIC3からの異常
動作の記憶を消去するための信号を出力する(ステップ
4)。上記のステップ3の異常情報の更新は、先ず、リ
ングバッファに記憶されている異常情報の最も古い情報
の格納されているメモリ番地に、ステップ2にて演算し
た異常発生回数のデータを格納する(ステップ31)。
次いで、時計IC4からの計時データをリングバッファ
の所定の番地に格納する(ステップ32)。次いで、各
プログラムタスク毎の処理ステップの推移情報を常時更
新し記憶するステップ推移情報記憶手段により、更新さ
れたタスク内更新番号のデータをステップ推移情報とし
て読み出し、リングバッファの所定の番地に格納する
(ステップ33)。次いで、同じくステップ推移情報記
憶手段により、各プログラムタスク毎の処理ステップの
推移情報を常時更新し記憶している第一状態フラグD3
2、第二状態フラグD33のデータをステップ推移情報
として読み出し、リングバッファの所定の番地に格納す
る(ステップ34)。このステップ33、ステップ34
の更新記憶は、すべてのタスクについて行われる(ステ
ップ35)。
First, when the CPU is started, the input port (P
It is detected from the signal input of 2) that a watchdog abnormality has occurred (step 1). Then, 1 is added to the separately stored count data of the watchdog reset (abnormality) count (step 2). Next, the transition information of each program task is constantly updated and the abnormality information stored in the transition information storage unit is read, and the oldest information of the abnormality information stored in the ring buffer is updated to the read information and stored. (Step 3). Then
A signal for erasing the storage of the abnormal operation from the flip-flop IC3 is output to a predetermined output port (step 4). In the update of the abnormality information in step 3 described above, first, the data of the number of occurrences of the abnormality calculated in step 2 is stored in the memory address where the oldest information among the abnormality information stored in the ring buffer is stored ( Step 31).
Next, the clock data from the clock IC 4 is stored in a predetermined address of the ring buffer (step 32). Then, the step transition information storage means for constantly updating and storing the transition information of the processing step for each program task reads out the updated data of the update number in the task as step transition information and stores it at a predetermined address of the ring buffer. (Step 33). Next, the first state flag D3 which constantly updates and stores the transition information of the processing step for each program task by the step transition information storage means.
2. The data of the second state flag D33 is read as step transition information and stored in a predetermined address of the ring buffer (step 34). Steps 33 and 34
Is stored for all tasks (step 35).

【0025】以上説明した負荷制御システムによると、
異常動作によって起動を再開した時に、異常動作におけ
る遷移情報が異常情報として逐次更新されて異常情報記
憶手段に記憶されるものとなるので、負荷制御システム
のメンテナンスにおいて、この異常情報を参照すること
によって短時間に異常発生の原因追究を行うことが出来
る。また、新しい複数の異常情報を比較しながら同時に
参照できるものとなるので、異常発生に至る推移を容易
に参照でき、以て、より短時間に原因追究できる。ま
た、各プログラムタスク毎の処理ステップの推移情報が
逐次更新されて記憶されるものとなるので、細かい異常
原因の解析によってより短時間に原因追究できる。ま
た、リングバッファに記憶された異常情報をキーマトリ
ックスによって制御されるタッチパネルの操作によって
液晶タッチパネル装置の画面に適宜表示し得るものとな
るので、異常情報であるリングバッファのメモリを読み
出すための特別な機器を使用せずに容易に参照すること
が出来る。
According to the load control system described above,
When restarting due to an abnormal operation, the transition information in the abnormal operation is sequentially updated as the abnormal information and stored in the abnormal information storage means, so by referring to this abnormal information in the maintenance of the load control system, The cause of the occurrence of the abnormality can be investigated in a short time. In addition, since a plurality of new pieces of abnormality information can be simultaneously referred to while comparing them, the transition leading to the occurrence of the abnormality can be easily referred to, and the cause can be investigated in a shorter time. Further, since the transition information of the processing step for each program task is sequentially updated and stored, the cause can be investigated in a shorter time by analyzing the cause of the abnormality in detail. In addition, the abnormality information stored in the ring buffer can be appropriately displayed on the screen of the liquid crystal touch panel device by operating the touch panel controlled by the key matrix. It can be easily referred without using equipment.

【0026】[0026]

【発明の効果】請求項1記載の負荷制御システムは、異
常動作によって起動を再開した時に、異常動作における
遷移情報が異常情報として逐次更新されて異常情報記憶
手段に記憶されるものとなるので、負荷制御システムの
メンテナンスにおいて、この異常情報を参照することに
よって短時間に異常発生の原因追究を行うことが出来
る。
According to the load control system of the present invention, when the startup is restarted due to the abnormal operation, the transition information in the abnormal operation is sequentially updated as the abnormal information and stored in the abnormal information storage means. In maintenance of the load control system, the cause of the occurrence of the abnormality can be investigated in a short time by referring to the abnormality information.

【0027】その上、新しい複数の異常情報を比較しな
がら同時に参照できるものとなるので、異常発生に至る
推移を容易に参照でき、以て、より短時間に原因追究で
きる。
In addition, since a plurality of new pieces of abnormality information can be simultaneously referred to while comparing them, a transition leading to the occurrence of an abnormality can be easily referred to, and the cause can be investigated in a shorter time.

【0028】また、請求項2記載の負荷制御システム
は、請求項1記載のものの効果に加え、各プログラムタ
スク毎の処理ステップの推移情報が逐次更新されて記憶
されるものとなるので、細かい異常原因の解析によって
より短時間に原因追究できる。
Further, the load control system according to claim 2, wherein, in addition to the effect of those according to claim 1, since a thing of transition information of the processing steps for each program tasks are stored is sequentially updated, fine abnormal The cause can be investigated in a shorter time by analyzing the cause.

【0029】また、請求項3記載の負荷制御システム
は、請求項1又は2記載のものの効果に加え、記憶され
た異常情報を表示制御手段によって適宜表示し得るもの
となるので、異常情報を読み出すための特別な機器を使
用せずに容易に参照することが出来る。
In the load control system according to the third aspect , in addition to the effects of the first or second aspect , since the stored abnormality information can be appropriately displayed by the display control means, the abnormality information is read out. Can be easily referenced without using any special equipment.

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

【図1】本発明の一実施の形態を示す負荷制御システム
に用いる中央制御装置のCPUの周辺回路の構成図であ
る。
FIG. 1 is a configuration diagram of a peripheral circuit of a CPU of a central control device used in a load control system according to an embodiment of the present invention.

【図2】図1に示す中央制御装置のCPUのプログラム
の概略フローチャートで、(a)は起動時の概略フロー
チャート、(b)はリングバッファへの格納時の概略フ
ローチャートである。
FIG. 2 is a schematic flowchart of a program of a CPU of the central control device shown in FIG. 1, (a) is a schematic flowchart at the time of startup, and (b) is a schematic flowchart at the time of storage in a ring buffer.

【図3】図1に示す中央制御装置のCPUの記憶テーブ
ルとしての遷移情報テーブルの説明図である。
FIG. 3 is an explanatory diagram of a transition information table as a storage table of a CPU of the central control device shown in FIG.

【図4】図1に示す中央制御装置のCPUの各タスクの
ステップ情報の一例の説明図である。
4 is an explanatory diagram of an example of step information of each task of a CPU of the central control device shown in FIG.

【図5】図1に示す中央制御装置のタッチパネル装置の
異常情報の表示の一例である。
FIG. 5 is an example of display of abnormality information of the touch panel device of the central control device shown in FIG. 1;

【図6】負荷制御システムの構成図である。FIG. 6 is a configuration diagram of a load control system.

【図7】負荷制御システムの伝送信号の説明図である。FIG. 7 is an explanatory diagram of a transmission signal of the load control system.

【図8】従来例の中央制御装置のCPUの周辺回路の構
成図である。
FIG. 8 is a configuration diagram of a peripheral circuit of a CPU of a conventional central control device.

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

1 CPU 2 リセットIC(異常動作検出手段) 3 フリップフロップIC(異常記憶手段) DESCRIPTION OF SYMBOLS 1 CPU 2 Reset IC (abnormal operation detection means) 3 Flip-flop IC (abnormal storage means)

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 H04L 12/40 - 12/46 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 12/28 H04L 12/40-12/46

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 個別にアドレスが割り当てられた複数個
の端末器を一対の線路よりなる信号線を介して中央制御
装置に接続し、中央制御装置がCPUによって各端末器
のアドレスを指定して制御データを時分割多重伝送する
ようにして該端末器に接続された負荷を液晶タッチパネ
ル装置の画面である表示手段に制御状態を表示し制御す
る負荷制御システムにおいて、 前記中央制御装置は、前記CPUの動作時の異常動作を
検出する異常動作検出手段、該異常動作検出手段による
検出結果を記憶する異常記憶手段を備え、CPUプログ
ラムが各プログラムタスクのタスク状態の遷移情報を常
時更新し記憶する遷移情報記憶手段、および、この遷移
情報記憶手段の遷移情報を異常情報として記憶する異常
情報記憶手段を備えて、起動時に前記異常記憶手段によ
って異常動作があったことを検出したときに前記異常情
報を前記遷移情報の内容に逐次更新するものであり、前
記異常情報記憶手段を、前記異常情報の少なくとも2つ
を順次更新し記憶するリングバッファとすることを特徴
とする負荷制御システム。
1. A plurality of terminals to which addresses are individually assigned are connected to a central controller via a pair of signal lines, and the central controller specifies an address of each terminal by a CPU. The load connected to the terminal is controlled by time-division multiplex transmission of control data and the touch panel
In a load control system for displaying and controlling a control state on a display unit which is a screen of a mobile device, the central control unit includes an abnormal operation detection unit for detecting an abnormal operation when the CPU operates, and a detection by the abnormal operation detection unit. comprising an abnormality storing means for storing the result, transition information storage means for CPU program constantly updates and stores the transition information of a task status of each program tasks, and abnormal for storing transition information of this transition information storage means as the abnormality information An information storage means for sequentially updating the abnormality information to the content of the transition information when detecting that an abnormal operation has been performed by the abnormality storage means at startup.
The abnormality information storage means, at least two of the abnormality information
A load control system characterized by using a ring buffer for sequentially updating and storing
【請求項2】 前記遷移情報は、各プログラムタスク毎
の処理ステップの推移情報を常時更新し記憶するステッ
プ推移情報記憶手段によるステップ推移情報を有する
とを特徴とする請求項1記載の負荷制御システム。
2. The program according to claim 1, wherein the transition information is for each program task.
Step that constantly updates and stores the transition information of the processing steps
The load control system according to claim 1, wherein the load control system has step transition information stored in a step transition information storage unit .
【請求項3】 前記CPUは、前記異常情報の内容を
表示し得る表示制御手段を備えることを特徴とする請求
項1又は2記載の負荷制御システム。
3. The CPU according to claim 2, wherein the CPU stores the content of the abnormality information.
3. The load control system according to claim 1, further comprising a display control unit capable of displaying .
JP22559296A 1996-08-27 1996-08-27 Load control system Expired - Lifetime JP3351254B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22559296A JP3351254B2 (en) 1996-08-27 1996-08-27 Load control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22559296A JP3351254B2 (en) 1996-08-27 1996-08-27 Load control system

Publications (2)

Publication Number Publication Date
JPH1070559A JPH1070559A (en) 1998-03-10
JP3351254B2 true JP3351254B2 (en) 2002-11-25

Family

ID=16831744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22559296A Expired - Lifetime JP3351254B2 (en) 1996-08-27 1996-08-27 Load control system

Country Status (1)

Country Link
JP (1) JP3351254B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559177B (en) * 2020-12-15 2024-01-26 杭州和利时自动化有限公司 Industrial control system and load management method and equipment thereof

Also Published As

Publication number Publication date
JPH1070559A (en) 1998-03-10

Similar Documents

Publication Publication Date Title
US20060041767A1 (en) Methods, devices and computer program products for controlling power supplied to devices coupled to an uninterruptible power supply (UPS)
JPH07192187A (en) Remote monitoring system
JP3351254B2 (en) Load control system
US7418613B2 (en) Power supply control method, power supply control unit and information processing apparatus
JP2962387B2 (en) Programmable controller and method for resetting specific other station in distributed control system using same, method for detecting cause of reset of other station, method for monitoring abnormal station, method for synchronously starting and method for synchronously stopping
JP3109262B2 (en) Master slave network system
JP2002032866A (en) Control system for sales data
JPH0689181A (en) System for updating program by down load
JPH05276178A (en) Home bus system
JP2752760B2 (en) Power control method
JPH04369735A (en) Backup system for computer system
JPS59148968A (en) Automatic operation device
JP2000207253A (en) Task abnormality detection and management system
JP4348161B2 (en) Fire receiver
JPH05250281A (en) Time matching system for lan system
JP2989511B2 (en) Disaster prevention monitoring device
JP2536386B2 (en) Online information processing device
JP3364275B2 (en) State match control method
JP3207243B2 (en) Abnormal status display device
JPH09198334A (en) Fault managing method for data transmission system
CN117271179A (en) Starting method, device, server and system of central processing unit
CN117675531A (en) Multi-device master-slave competition method and device, storage medium and electronic device
JP3581024B2 (en) Remote monitoring device
CN117319185A (en) Multi-equipment master-slave communication system based on CAN communication and addressing and monitoring method
JP2001014238A (en) Method and device for recovery from system down caused by update program abnormality

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020820

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

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 7

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100920

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110920

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110920

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120920

Year of fee payment: 10