JPH0240590B2 - - Google Patents
Info
- Publication number
- JPH0240590B2 JPH0240590B2 JP62212796A JP21279687A JPH0240590B2 JP H0240590 B2 JPH0240590 B2 JP H0240590B2 JP 62212796 A JP62212796 A JP 62212796A JP 21279687 A JP21279687 A JP 21279687A JP H0240590 B2 JPH0240590 B2 JP H0240590B2
- Authority
- JP
- Japan
- Prior art keywords
- test
- program
- control
- elevator
- 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.)
- Expired - Lifetime
Links
Landscapes
- Maintenance And Inspection Apparatuses For Elevators (AREA)
Description
〔産業上の利用分野〕
本発明はエレベータの試験装置に係り、特にエ
レベータの信号制御部にマイクロコンピユータ
(以下マイコンと略称する)を用いたエレベータ
に好適な装置に関する。
〔従来の技術〕
近年の半導体の集積技術の進歩から、集積度は
MSI,LSIと進み、さらにマイコンが最近広く普
及してきた。このマイコンは、小形、低価格、高
機能、低電力消費ということで、各種産業製品に
取り入れられている。
マイコンはMPU(Micro Processer Unit)と、
ROM(Read Only Memory),RAM(Random
Access Memory)、I/O(Input/Output)ポー
ト等から構成されるが、これら製品の低価格化と
ともに、これらをワンチツプ化した、いわゆるワ
ンチツプMPUも製品化されている。
この様なマイコンは、エレベータ制御にも好適
である。すなわち、従来のエレベータ制御はリレ
ーを主体とており、このリレーは数百個にも及
び、このことにより制御装置が大型化し、リレー
シーケンスの複雑化、さらには機能向上の限界、
拡張性に対する乏しさなど多くの問題点をかかえ
ていた。これらの問題点は、マイコンをエレベー
タ制御装置に適用することによりほとんど解決可
能であり、マイコンによる信号制御部に限つてみ
れば信頼性も向上することができる。
しかし、エレベータには、乗かご内、昇降路
内、乗り場、機械室等に各種メカニカルスイツチ
やかご駆動装置等の電気装置、保護具等が多数散
在している。したがつて、エレベータ制御装置の
信号制御部をマイコンとしても、全体としても、
全体としての故障は激減しない。
したがつて、従来のリレーにより構成したエレ
ベータと同様に制御状態を監視する必要がある。
また、エレベータ納入時、及びその後必要に応じ
て、調整、検査、保守等のために試験運転する必
要もある。
〔発明が解決しようとする問題点〕
従来のリレー回路においては、各部リレーのオ
ン、オフを確認することにより、エレベータの監
視をすることができる。これに対し、マイコンに
より構成した場合、シーケンスがどのように動作
しているか全つたく確認することができない。し
かしこの点に関しては、マイコンの制御データを
CRTデイスプレイに表示するとにより、対処す
ることが考えられている。
また、上記試験運転に関して従来のリレー回路
においては、保守員等が手でリレーを投入した
り、クリツプにより連続投入したりすることによ
り、試験運転を行なつている。しかし、マイコン
を用いたエレベータでは、従来のような方法で試
験できる箇所は少なく、十分な調整、検査あるい
は保守を行なうことができない。このため、何ら
かの試験装置が望まれる。また、上記従来の試験
方法は次のような欠点があり、これらの点を同時
に改善することができれば、極めて有益である。
(1) 安全性の確保:上記したように、従来リレー
をクリツプにより連続投入、あるいは投入阻止
することにより試験運転するので、試験運転終
了時にこれらを戻し忘れると、正規のサービス
状態において異常状態となる恐れがある。
(2) 試験精度の向上:従来試験運転できるのは、
手動にてリレーを開閉できる範囲であり、制御
系全体の試験を行なうことは困難であつた。
(3) 試験運転の簡単化:従来熟練した保守員等が
必要であり、また、試験運転のために長時間を
必要としていた。このことは、複数台を並設し
た群管理エレベータにおいて一層顕著である。
本発明の目的とするところは、マイコンを信号
制御部に用いたエレベータを容易に試験運転する
ことができるエレベータの試験運転装置を提供す
るにある。
〔問題点を解決するための手段〕
上記目的を達成するための本発明の特徴は、マ
イコンを用いたエレベータ制御装置に、タイマー
時限を短縮して試験運転を行なうための手段を設
け、更にこの試験運転制御手段を起動するために
タイマー時限短縮指令を含んだ試験運転信号を発
生する手段を備えたところにある。
〔作用〕
これにより、現在十分な試験運転を行なうこと
ができないマイコンを用いたエレベータを、保守
員等が試験運転信号発生手段を操作するだけで容
易かつ迅速に試験運転することができる。
〔実施例〕
以下本発明の一実施例を図面によつて詳細に説
明する。なお以下の説明では、1号機と2号機の
エレベータを群管理している場合を例に挙げて説
明する。
第1図は、本発明による一実施例の全体構成を
説明するためのブロツク図である。
1号機のエレベータ制御系1は、安全のためと
エレベータ駆動などのシーケンスを構成するため
に使用する若干のリレーを有する制御回路15、
かご呼び等の釦11、運転選択などのスイツチ1
2、エレベータの安全確認をするリミツトスイツ
チ類13、かご呼び応答ランプ等の表示器14な
どから構成されている。
1号機のエレベータの信号制御装置2はエレベ
ータ制御系1との入出力インタフエース回路21
と、信号制御を行うマイコン22と、エレベータ
シーケンスプログラムPGM2を一定周期ごとに
優先的に処理させるためにマイコン22に割込を
かける割込パルス発生回路24と、本発明による
テスト運転操作を行うためのデータとエレベータ
制御データテーブルの内容を信号線DL1に送受
するインタフエース回路23と、群管理制御装置
7とのデータ送受するインタフエース回路25と
から構成されている。
テスト装置3はエレベータ信号制御装置2との
データ送受を行うインタフエース回路31と、マ
イコン32と、エレベータ信号制御装置2などか
ら送信されて従来データとテスト装置の操作に必
要な情報を表示するCRT(Cathode Ray Tube)
装置などの表示装置34と、表示装置34に表示
信号を出力するビデオ制御回路33と、キーボー
ドなどによる制御卓やカセツトテープなどによる
信号入力装置36と、信号入力装置36とマイコ
ン32との入出力インタフエース回路35と、遠
方保守装置4との通信を行うモデム(MODEM)
38と、モデム38とマイコン32の入出力イン
タフエース回路37とから構成されている。
2号機エレベータ制御系2と6号機エレベータ
信号制御装置5は2号機の装置と同一の構成であ
り、信号線DL1によりテスト装置3と接続され
る。群管理制御装置7は1号機エレベータ信号制
御装置2とはハード的には入出力インタフエース
回路21に相当するものが無く、2号機や、さら
に台数の多い場合のそれら号機エレベータ信号制
御装置5などのインタフエース回路が追加される
点が異なる他は同一の構成である。
しかし後述するマイコンによる信号処理プログ
ラムは全つたく異なるものであるが、後で明確に
される本発明を群管理制御装置7に適用すること
は当該業者であれば容易に理解できることである
から、具体的な説明は省略する。
またエレベータ制御装置の全体を構成するエレ
ベータ制御系1及び6、号機エレベータ信号制御
装置2及び5は、この様な構成に限定されるもの
でなく、例えば群管理制御装置7を無くし、号機
エレベータ制御装置2と5によりその制御処理を
行なわせしめる構成であつても良い。
また信号機DL1と信号線DL3,DL4とは共
用することができるが、ここでは本発明の内容を
簡潔に説明するために別々の信号線を使用する場
合を例に挙げた。また保守機能の拡張をねらつ
て、テスト装置3にマイコン32を使用したが、
信号入力装置36とインタフエース回路23を直
結した簡素な構成とすることができる。すなわ
ち、テスト装置3は試験信号を発生するものであ
り、その具体的構成には限定されない。
次に第1図を用いて本発明の概略動作を説明す
る。エレベータ信号制御装置2は、乗り場のホー
ル呼び釦、かご内の行先階釦(かご呼び釦と略
称)、かご内の運転盤のドア開閉釦などから成る
釦11からの制御入力信号を、入出力インタフエ
ース回路21を経てマイコン22に入力する。マ
イコン22は、実用に供する時間より早い周期ご
とに割込パルス発生回路24からのパルスにより
エレベータの信号制御するプログラムを起動し、
上記した呼びに能率良く安全にサービスする様に
制御し、入出力インタフエース21を至てエレベ
ータ制御系1のリレーや装置やランプ等を駆動制
御する。
エレベータ制御装置ならびにエレベータ駆動メ
カニズム全体が常に正常であればこれで十分であ
り、本発明による信号の入出力インタフエース回
路23等は不要なものとなる。しかし前記したよ
うに、エレベータは年間数度の割合で大小さまざ
まなトラブルを発生する可能性がある。
このため、エレベータの状態を常に監視する監
視員や監視に必要な情報を表示したり警報して知
らせる監視盤等は従来通り必要である。
第1図のテスト装置3はこの監視盤の機能も備
えており、マイコン22からのエレベータ制御情
報を、インタフエース回路23と信号線DL1と
インタフエース回路31とを経てマイコン32に
入力する。従つてテスト装置3により、マイコン
22から入力された情報に基ずきエレベータの故
障診断を行ない、正常な時には監視員にサービス
状況を、トルブル発生時にはその内容と対策方法
をCRT34により知らせることができる。
さらに最近、保守サービスを向上するため、保
守センタにおける集中監視体勢が要望されてい
る。この様な場合には、保守会社の保守センタに
設置された遠方保守装置4との通信制御をモデム
38により行うことができる。さらにマイコン3
2により故障と診断した時や、保守センタから確
認のための要求があつた時のみ情報を送受すれば
良い場合には、モデム38に電話回線用網制御装
置(NCUと略称する)を追加することにより、
維持費の安い一般加入電話回線を使用して情報伝
送することができる。
エレベータ制御装置にマイコンを使用した際に
必要な機能はテスト機である。
エレベータの据付完了による試運転時や調整運
転に限らず、定期点検におけるサービス機能チエ
ツクや群管理運転チエツクを行なうためには、高
能率でかつ信頼性の高い試験装置が望まれる。
例えば両端階床のかご呼びを常時登録して、各
階床のエレベータ位置表示器の玉切れ点検をした
り、かご重量を任意に設定した満員時のシーケン
スチエツクをしたり、群管理エレベータにおいて
要必となる交通量の検出機能のチエツクをする必
要がある。
この様なテストデータは信号入力装置36から
入力すれば良い。自動的にテストする場合には、
カセツトテープなどを使用して入力することによ
り、保守員はCRTによる点検に専念できるので
さらに高能率となる。またマイコン32の能力に
余裕があれば、カセツトテープからの正しい運転
モード情報により、合否判定や故障診断ができ
る。
これらの監視ならびに保守のために必要な試験
機能を発揮するために、本実施例ではエレベータ
信号制御装置2の中心をなすマイコン22とテス
ト装置3とを接続する入出力インタフエース回路
23と、この入出力制御をするプログラムを備え
ている。
以上に説明した第1図に示す本実施例によれ
ば、シーケンス状態を表示する必要のある特定信
号に対応した表示のための個別出力回路を備える
必要がない。またエレベータをテスト運転するた
めに必要な特定制御入力信号に対応した特定入力
回路を備えたり、特定テスト制御信号発生器(例
えば釦)からの信号とエレベータ制御系1の対応
する制御入力信号ラインに直列に挿入したり、切
り替えたり、並列接続したりする手段を備える必
要がない。
この結果、第1図実施例によればつぎの効果が
得られる。
(1) 多用途の目的で入出力に使用できる符号信号
インタフエース回路23により、若干の本数に
よる信号線DL1でテスト装置と接続できるの
で、テスト装置はエレベータ信号制御装置2と
同一のキユービクル内に実現することに限定さ
れることなく、信号線DL1を1本のケーブル
とし、テスト装置3を着抜自在にして持ち運び
の容易な装置とできる。また符号信号インタフ
エース回路23の駆動電圧レベルを高くするな
どのノイズマージン向上を図かれば、テスト装
置2は数百m離れた位置に設置することができ
る。そこで機械室の任意の位置に移動したりビ
ルの管理人室やかご内やかご上で使用すること
ができるので故障の発見や復旧時間の短縮など
の効果と、テスト装置を多数のエレベータで共
用して使用できる効果がある。
(2) テスト装置はにテンキーボードだけとするこ
とも可能であるし、マイコン32付とし、さら
にモデム38を使用したりすることにより、必
要に応じて高機能な監視、ならびにテスト機能
をエレベータ制御装置に附加することが容易と
なる。
これらはテスト装置3とマイコン22の一部プ
ログラムの追加や変替により対処できる。従つて
納入後の改良が極めて容易となつた。
以上、本発明による一実施例とその効果につい
て全般的な説明を行なつたが、次に具体化した一
実施例について、第2図〜第19図を用いて説明
する。
第2図はテスト装置の一実施例回路図であり、
符号信号インタフエース回路23との関係を示し
ている。
マイコン32はマイクロプロセツサ(MPUと
略称する)320と、ランダムアクセスメモリ
(RAMと略称する)321と、リードオンリー
メモリー(ROMと略称する)322とから構成
されている。MPU320にはアドレスバスAB、
データバスDB、コントロールバスCBがあり、こ
れらのバスにはエレベータ信号制御装置2などか
ら送信されて来た信号や、信号入力装置の一種で
あるキーボード36からのキー入力信号を貯えて
おくRAM321と、テスト装置3の各種機能発
揮する様に組まれたプログラムを記憶しておく
ROM322が接続されている。さらにこれらバ
スには外部とのインタフエースを行うプリフエリ
アルインタフエースアダプター(PIAと略称す
る)311,312、CRT34に表示信号を出
力するビデオ制御回路33、モデム38とのイン
タフエースを行うアンシンクローナスコミニユケ
ーシヨンインタフエースアダプタ(ACIAと略称
する)37が接続される。
マイコン22も回路的にはマイコン32と同一
構成となつており、符号信号をインタフエースす
る。PIA23はマイコン22により制御される上
記した3種のバスに接続される。
では次に1号機のマイコン22の動作概要を第
3図〜第5図により説明する。
第3図は、電源投入と同時に処理を始めるプロ
グラムPGM1のフローチヤートで、イニシヤラ
イズプログラムM100は、入出力インタフエー
ス回路21と符号信号インタフエース回路23に
使用するPIAの内部レジスタの初期設定と、
RAMの初期設定(一般には全エリアを“0”に
クリア)をする。同時にスタツクポインタの設定
も行なう。
次のステツプM110は、第2図に示すバス割
当信号線BC1の信号により、1号機のエレベー
タ信号制御装置2に対して符号信号を伝送するデ
ータ信号線DCBのバス使用許可中であるかを判
定する。もしそうであればプログラムM200へ
進み、キーボード36から入力された指令に基ず
くテストデータをマイコン22へ入力する制御を
行なう。次にプログラムM300へ進み、1号機
エレベータ信号制御装置2からテスト装置3へ送
信すべきモニター用データ送信プログラムの処理
を行う。そしてこれら2つのプログラムは、もし
群管理制御装置4のバス使用許可中であると1号
機のババス使用許可信号BC1は“0”であり、
この時はステツプM100の判定結果はNOとな
りステツプM110で待機した様になり、バス使
用許可があるとこれら2つのプログラムはループ
処理を行う。(詳細は後述する。)
第4図は、以後特に詳細に説明をする1号機の
マイコン22を例に挙げて図示したもので、
RAMやROMなどの割付状況を示したアドレス
マツプの概念図である。
アドレスエリアとしてa〜kのエリアがあり、
aはアドレス数値の小さい番地に属属し、kはア
ドレスの大きい番地に属する。
アドレスエリアaは、MPUで演算に必要な多
目的に使用するワークメモリエリアである。アド
レスエリアbは、エレベータ制制系1から入力し
た制御入力データを格納するエリアである。アド
レスエリアCは内部データメモリエリアで、kエ
リアに格納されているプログラムにより作成す
る。
アドレスエリアdはエレベータ制御系1へ出力
する制御出力データを格納するエリアで、kエリ
アに格納されているプログラムにより作成する。
このa、b、c、dエリアはマイコン22を構成
する第1のRAM1のアドレス領域でもある。
次にアドレスエリアeはテスト装置3から送信
されてきた信号を格納するテストデータメモリエ
リアである。アドレスエリアfはiエリアに格納
されているテストデータ受信プログラムにより作
成される設定データやテスト用フラグ信号を格納
するテストフラグエリアである。
このe、fエリアは、マイコン22を構成する
第2のRAM2のアドレス領域でもある。
次にアドレスエリアgは第1図の入出力インタ
フエース用PIAのレジスターのエリア、アドレス
エリアgはテスト装置との符号信号インタフエー
ス回路23用PIAのレジスタのエリアである。
アドレスエリアi,j,kはプログラムエリア
であり、iはテストデータ受信とその処理を行う
プログラムエリア、jはRAM1に格納されている
情報の中でテスト装置3で必要とするデータを送
信するプログラムエリア、kは号機制御プログラ
ムエリアである。kのエリアはマイコン22を構
成する第1のROM1のエリアでもあり、iとjの
エリアは第2のROM2のエリアでもある。以上述
べたように一つのマイコン内においてはメモリ、
入出力インタフエース回路とも同一アドレス空間
に重複した割付けることはできない。
ここでテスト装置3を常時は必要としない場合
のエレベータ制御装置においては、RAM2、符号
信号インタフエース回路23、ROM2を不要とで
きるので、これらの回路を他の回路と別の実装体
とし、例えば試運転中や保守中のみ附加する運用
ができる。これによりこれらテストや保守のため
の回路は複数台当り1組を用意すれば良いので安
価なテストシステムとできる。
第5図は第1図割込パルス発生回路24からの
割込みパルスCL2により起動される号機制御プロ
グラムPGM2のジエネラルフローチヤート(以
下GFCと略称する)を示す。
外部からマイコン22のMPUに割込み信号が
入ると、まず第3図で述べたテスト装置に関連す
るステツプM110、プログラムM200,M3
00の処理を一時中断し、各種レジスタを退避さ
せ、それから第5図のプログラムの処理を行う。
まず、プログラムM400のタイマー制御プロ
グラムの処理を実行し、シーケンスプログラム
PGM21でカウント要求のあるタイマーの時限
経過カウントと当該タイマーのカウント数値の大
きさよりプログラムされた所定時限を満了したか
を判定しタイマ出力フラグをセツトする等のタイ
マ制御を行う。全てのタイマー処理が終るとプロ
グラムM440に進みエレベータ制御系1からの
制御入力信号を入力するプログラムが処理され
る。
次に新たに入力された制御入力データとすでに
RAM1やRAM2に記憶している内部データ等を入
力データとするシーケンスプログラムPGM21
の処理を行う。シーケンスプログラムPGM21
の代表的な機能を制御する。タスクプログラムと
して第5図ではプログラムM470〜プログラム
M650から成る7つのタスクプログラムを示し
ているが、一般にこれらよりはるかに多いプログ
ラムが組み入れられる。なお、本発明は第5図に
示す号機制御プログラムに関連するが、説明を簡
潔にする目的でこれらの全般的な機能の説明は省
略し、本発明と直接関連するプログラムに関する
説明を後述する第17図〜第19図の説明の際に
行う。
これらのシーケンスプログラムPGM21の処
理の結果、すなわち制御出力データメモリエリア
eにストアされたデータをプログラムM690に
よりエレベータ制御系1へ出力することにより、
たとえばかご応答灯の点灯やドア開閉制御指令を
行う。
以上の処理が終ると割込みプログラムの処理は
全て終り、再び第3図に示す繰り返えし処理をす
るテスト装置に関係するプログラムの処理へ戻
る。
では次にテスト装置3のマイコン32の動作概
要を第6図と第7図により説明する。
第6図は電源投入と同時に起動を始めプログラ
ムPGM70のフローチヤートで、イニシヤライ
ズプログラムM710は第2図に示すPIA311
と、PIA312と、インタフエース回路35の一
実施例であるPIAと、ACI37の内部レジスター
の初期設定と、RAM321と、ビデオ制御回路
33の内部メモリの初期設定(RAM321は、
一般に全エリアを“0”にクリアする)とを行
う。次にプログラムM720,M730をループ
処理する。プログラムM720はテスト運転操作
に必要な指令を入力する信号入力装置36の入出
力制御を行い、プログラムM730はCRTに表
示したいデータの出力制御を行う。
第7図は、エレベータ制御ブロツク(第2図の
2,4,5)からの割込み信号RCにより起動さ
れるプログラムPGM80であり、共通データバ
スDCBの使用許可信号の制御、テストデータの
送信、制御データの受信、故障検出とその自動記
録や報知などの制御を行う。
第7図の具体的説明に先立つて第8図により、
共通バスDCBの制御方法や本発明を具体的に適
用した第2図の全体的な動作を第8図のタイムチ
ヤートにより説明する。
1号機のバス使用許可信号BC1が“1”の時
に1号機の運転制御を行う割込処理プログラム
PGM2が終了すると、直ちにテストと保守のた
めに必要な符号化された信号を送受したりテスト
データを処理してテスト運転制御を行うプログラ
ムM200とM300(記号)が実行される。
これの処理が終るのと同時にバス使用許可信号
BC1は“0”となり、1号機のプログラムPGM
1は、ステツプM110をループすることにな
る。
そして時点t1やt2における割込みパルスCL2の
立下りにより、プログラムPGM2一定周期ごと
に起動されるので、エレベータは必要な応答速度
を持つマイコン22により円滑に運転制御され
る。
バス許可信号BC1〜BC3は、第8図に示す様
に決してラツプすることなく循環制御されてお
り、他の制御装置ブロツクも平等に制御される様
になつている。
テスト装置3は第8図に示す如く、割込処理プ
ログラムPGM80が起動されていない時間帯を
つなぎ合わせる様にしてキーボードなどによる入
力装置とのインタフエース処理やCRTへの表示
データの作成処理を行うプログラムM720とM
730をループ処理する。
再び第7図の説明に戻る。ステツプM805は
割込み信号RCにより一旦プログラムPGM80が
起動されると、これが終了するまで送受制御信号
RCを割込信号としてではなく、データ確立信号
として使用する目的で割込みマスクをかける。
ステツプM810は第10図に示す様に、第1
に送信されてくるブロツク信号とバス使用許可信
号を出力している制御装置ブロツク信号を示す整
数lとが一致していることを確認する。もし不一
致のためNOあればその時のlや受信したブロツ
ク番号を記録し、次のブロツクは正常かもしれな
いので、プログラムM850へジヤンプする。
YESであればテストデータ送信プログラムM
820と制御データ受信プログラムM840は、
許可されているブロツクのマイコンとハンドシエ
イク方式により処理する。これが終るとステツプ
M849によりバス使用許可信号を一時OFFに
し、各ブロツクにおけるプログラムPGM1に対
応する処理をテスト装置が故障関係プログラムM
890〜M894を実行中に無駄に進むのを阻止
している。次にプログラムM840で受信した信
号の合理性チエツクや安全性チエツクを行うプロ
グラムM890を処理した結果をステツプ892
で判定し、万一故障と判定されるとACIA37と
モデム38を至てそのビルの管理人室や別ビルの
保守会社に設置された遠方保守装置へ警報または
通報情報を送るとともにこれを記憶しておくなど
の制御を行う。
以上でブロツクlの処理が終了したのでプログ
ラムM850でlの循環制御を行い、プログラム
M870でこれを出力し、ステツプM880で割
込みを解除し、テスト装置はブロツクの処理への
移行準備を完了する。
あるブロツクが完全に停止状態にある時の対策
として第6図にプログラムM740を追加し、一
定時限以上割込みパルスRCが入力されないと次
のブロツクへ進める様に改良した。
次に本発明の中心を成すテストデータ受信プロ
グラムM200について、第9図によりその一実
施例を詳細に説明する。
まずステツプM202において、自分のブロツ
ク番号とテストデータの送信要求であることをテ
スト装置で確認させるためのコードを第1送受信
データとしてテスト装置へ送信すると共に、第7
図の割込プログラムPGM80を起動させる通信
制御信号RCに“1”を送信する。次にテスト装
置3から第10図に示す5つのデータを受信処理
するための初期設定を、ステツプM204で行な
う。
次にステツプM206とステツプM207のル
ープにより、テスト装置3からの1バイトデータ
送信完了信号の役割を持つRTBが“1”になる
まで持つ。
これが入力されるデータバスDTBの第1送受
信データELNOのブロツク番号と自ブロツク番号
との一致を確認し、一致すれば再び信号RTBの
監視ステツプであるM210とM218をループ
する。
テスト装置3からデータバスDTBに第2受信
データTSTCDを送信すると、このループの判定
はステツプM210でYESとなり、ステツプM
212で第2受信データを第4図のエリアeに格
納する。次にステツプM214でカウンタCの+
1カウントUPを行う。尚カウンタCはステツプ
M204で数値0に設定されているので、カウン
タCは数値1となる。次々に受信する第3、第
4、第5受信データをステツプM212でそれぞ
れのアドレスへ格納する際に、カウンタCの数値
を使用するので1、2、3と増やす役割を持つて
いる。
ステツプM216は、第5受信データを受信す
ると本実施例においては受信完了であるから、カ
ウンタCの数値が4に達したかを判断し、ステツ
プM220へ進める。
ここではすでにテストデータメモリーエリアe
に格納されているテストコードTSTCDを調ら
べ、これに対応するプログラムの先頭アドレスを
選出し、次のステツプM222では選択された先
頭アドレスのテストプログラムへジヤンプし、こ
れを実行する。
尚、ここでステツプM207とM218はテス
ト装置3におけるテスト操作停止中またはテスト
データ送信関係のソフトまたはハードのトラブル
によりテストデータが送信されて来ないことを検
出するもので、第8図のタイムTiより長い時限
のオーバタイムにプログラムしてある。
またテスト終了によりテスト装置3を、例えば
ソケツトとコネクタなどによる着抜自在な接続器
26により、エレベータ信号制御装置2から切り
離したとする。これによりテストデータの受信が
なされないので、ステツプM207またはM21
8によりオーバータイムと判定され、ステツプM
224が起動され、過去に作成したテストデータ
フラグをオールクリアする。尚ここで、切り離な
されたブロツクのバス使用許可信号は“1”と成
る様に構成してあり、第3図のステツプM110
の判定はYESとなる様にしてある。
またテスト装置3のトラブルにより、所定時限
間隔以内にテストデータを送信しないとオーバタ
イムと判定され、誤動作しているとステツプM2
08でNOと判定され、ステツプM224のプロ
グラムが起動される。
ステツプM224が実行されると、全てのテス
ト機能を停止させることができるので機能的には
故障したテスト装置を自動的に切り離したことに
なる。
第9図に関する実施例の効果としてはテスト装
置の信頼性とエレベータ信号制御装置の信頼性の
相互影響を極めて低くできる。
またテスト装置の入力操作によるテスト動作の
中止指示の忘れ等によるトラブルを未然に防止で
きる。
テストコードTSTCDとそのテスト機能の一実
施例を第10図と、下記第1表に示す。
[Industrial Field of Application] The present invention relates to an elevator testing device, and particularly to a device suitable for elevators that uses a microcomputer (hereinafter abbreviated as microcomputer) in the elevator signal control section. [Conventional technology] Due to recent advances in semiconductor integration technology, the degree of integration has increased.
Progressing from MSI to LSI, microcontrollers have recently become widespread. This microcontroller is being incorporated into various industrial products because of its small size, low price, high functionality, and low power consumption. A microcontroller is an MPU (Micro Processor Unit),
ROM (Read Only Memory), RAM (Random
Access Memory), I/O (Input/Output) ports, etc., but as the prices of these products have fallen, so-called one-chip MPUs that incorporate these into one chip have also been commercialized. Such a microcomputer is also suitable for elevator control. In other words, conventional elevator control is mainly based on relays, and there are hundreds of relays, which increases the size of the control device, complicates the relay sequence, and limits the ability to improve functionality.
It had many problems, including a lack of scalability. Most of these problems can be solved by applying a microcomputer to the elevator control device, and reliability can be improved if only the signal control section using the microcomputer is considered. However, in an elevator, a large number of electrical devices such as various mechanical switches and car drive devices, protective equipment, etc. are scattered in the car, hoistway, landing, machine room, etc. Therefore, even if the signal control section of the elevator control device is a microcomputer,
The overall number of failures does not decrease dramatically. Therefore, it is necessary to monitor the control status in the same way as in elevators configured with conventional relays.
In addition, when the elevator is delivered, and as necessary thereafter, it is also necessary to conduct a test run for adjustment, inspection, maintenance, etc. [Problems to be Solved by the Invention] In the conventional relay circuit, the elevator can be monitored by checking whether each relay is on or off. On the other hand, if the system is configured using a microcomputer, it is impossible to check how the sequence is operating. However, regarding this point, the control data of the microcomputer
It is thought that this can be handled by displaying it on a CRT display. Regarding the above-mentioned test operation, in conventional relay circuits, a maintenance person or the like conducts the test operation by manually turning on the relay or by continuously turning on the relay with a clip. However, in elevators that use microcomputers, there are only a few locations that can be tested using conventional methods, making it impossible to perform sufficient adjustment, inspection, or maintenance. For this reason, some kind of testing device is desired. Furthermore, the conventional testing method described above has the following drawbacks, and it would be extremely beneficial if these points could be improved at the same time. (1) Ensuring safety: As mentioned above, test runs are performed by continuously closing or blocking relays with clips, so if you forget to put them back at the end of the test run, an abnormal state may occur even under normal service conditions. There is a risk that it will happen. (2) Improving test accuracy: Conventionally, test runs can be performed by:
Since the relays could only be opened and closed manually, it was difficult to test the entire control system. (3) Simplification of test runs: Previously, experienced maintenance personnel were required, and test runs required long hours. This is even more noticeable in group control elevators in which a plurality of elevators are installed side by side. SUMMARY OF THE INVENTION An object of the present invention is to provide an elevator test operation device that allows easy test operation of an elevator using a microcomputer as a signal control section. [Means for Solving the Problems] The features of the present invention for achieving the above object include providing an elevator control device using a microcomputer with a means for shortening the timer time limit and performing a test run; The present invention includes means for generating a test run signal including a timer time shortening command in order to start the test run control means. [Function] As a result, an elevator using a microcomputer, for which sufficient test operation cannot be performed at present, can be easily and quickly test-operated by maintenance personnel or the like simply by operating the test-operation signal generating means. [Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings. In the following explanation, an example will be explained in which the elevators of No. 1 and No. 2 are managed as a group. FIG. 1 is a block diagram for explaining the overall configuration of an embodiment according to the present invention. The elevator control system 1 of the first unit includes a control circuit 15 having several relays used for safety and for configuring sequences such as elevator driving.
Button 11 for car call, etc., switch 1 for operation selection, etc.
2, limit switches 13 for confirming the safety of the elevator, and an indicator 14 such as a car call response lamp. The signal control device 2 of the elevator of No. 1 has an input/output interface circuit 21 with the elevator control system 1.
, a microcomputer 22 that performs signal control, an interrupt pulse generation circuit 24 that interrupts the microcomputer 22 in order to preferentially process the elevator sequence program PGM2 at regular intervals, and a microcomputer 22 that performs test operation according to the present invention. The elevator controller 20 is composed of an interface circuit 23 that transmits and receives data and the contents of the elevator control data table to and from the signal line DL1, and an interface circuit 25 that transmits and receives data to and from the group management control device 7. The test device 3 includes an interface circuit 31 that sends and receives data to and from the elevator signal control device 2, a microcomputer 32, and a CRT that displays conventional data sent from the elevator signal control device 2 and other information necessary for operating the test device. (Cathode Ray Tube)
A display device 34 such as a device, a video control circuit 33 that outputs display signals to the display device 34, a signal input device 36 such as a control console such as a keyboard or a cassette tape, and input/output between the signal input device 36 and the microcomputer 32. A modem (MODEM) that communicates between the interface circuit 35 and the remote maintenance device 4
38, a modem 38, and an input/output interface circuit 37 for the microcomputer 32. The No. 2 elevator control system 2 and the No. 6 elevator signal control device 5 have the same configuration as the device of the No. 2 elevator, and are connected to the test device 3 by a signal line DL1. The group management control device 7 differs from the No. 1 elevator signal control device 2 in that it does not have anything equivalent to the input/output interface circuit 21 in terms of hardware, and can be used in the No. 2 elevator or in the case of a larger number of elevators, such as the elevator signal control device 5 of the No. 1 elevator. The configuration is the same except that an interface circuit is added. However, although the signal processing program by the microcomputer described later is completely different, it is easy for those skilled in the art to understand that the present invention, which will be explained later, can be applied to the group management control device 7. A detailed explanation will be omitted. Further, the elevator control systems 1 and 6 and the elevator signal control devices 2 and 5, which constitute the entire elevator control device, are not limited to such configurations. The configuration may be such that the control processing is performed by the devices 2 and 5. Further, although the traffic light DL1 and the signal lines DL3 and DL4 can be used in common, an example is given here in which separate signal lines are used in order to briefly explain the content of the present invention. In addition, with the aim of expanding maintenance functions, a microcomputer 32 was used in the test equipment 3.
It is possible to have a simple configuration in which the signal input device 36 and the interface circuit 23 are directly connected. That is, the test device 3 generates a test signal, and is not limited to its specific configuration. Next, the general operation of the present invention will be explained using FIG. The elevator signal control device 2 inputs and outputs control input signals from buttons 11 including a hall call button at a landing, a destination floor button in a car (abbreviated as a car call button), a door open/close button on a driving panel in a car, etc. The signal is input to the microcomputer 22 via the interface circuit 21. The microcomputer 22 starts a program that controls the elevator signals using pulses from the interrupt pulse generation circuit 24 at a cycle earlier than the time required for practical use.
It controls so that the above-mentioned calls are serviced efficiently and safely, and drives and controls the relays, devices, lamps, etc. of the elevator control system 1 through the input/output interface 21. This is sufficient if the elevator control device and the entire elevator drive mechanism are always normal, and the signal input/output interface circuit 23 and the like according to the present invention are unnecessary. However, as mentioned above, elevators may experience problems of various sizes several times a year. For this reason, a monitoring person who constantly monitors the status of the elevator and a monitoring panel that displays information necessary for monitoring and issues an alarm are still required as before. The test device 3 in FIG. 1 also has the function of this monitoring panel, and inputs elevator control information from the microcomputer 22 to the microcomputer 32 via the interface circuit 23, signal line DL1, and interface circuit 31. Therefore, the test device 3 can diagnose the failure of the elevator based on the information input from the microcomputer 22, and when it is normal, the supervisor can be informed of the service status, and when a trouble occurs, the contents and countermeasures can be informed by the CRT 34. . Furthermore, recently, in order to improve maintenance services, there has been a demand for a centralized monitoring system at maintenance centers. In such a case, the modem 38 can control communication with the remote maintenance device 4 installed at the maintenance center of the maintenance company. Furthermore, microcontroller 3
If it is necessary to send and receive information only when a failure is diagnosed according to 2 or when a request for confirmation is received from the maintenance center, a telephone line network control unit (abbreviated as NCU) is added to the modem 38. By this,
Information can be transmitted using general subscriber telephone lines with low maintenance costs. A test machine is a necessary function when using a microcomputer in an elevator control device. Highly efficient and reliable test equipment is required not only for test runs and adjustment operations after elevator installation is complete, but also for service function checks and group management operation checks during periodic inspections. For example, by constantly registering the car calls for both ends of the floors, you can check the elevator position indicators on each floor for breakage, perform a sequence check when the car is fully occupied by setting the car weight arbitrarily, and perform other functions as required in group control elevators. It is necessary to check the traffic detection function. Such test data may be input from the signal input device 36. If you want to test automatically,
By inputting data using cassette tapes, etc., maintenance staff can concentrate on checking on the CRT, resulting in even higher efficiency. Furthermore, if the microcomputer 32 has sufficient capacity, pass/fail judgment and failure diagnosis can be made using correct operation mode information from the cassette tape. In order to perform the test functions necessary for these monitoring and maintenance, this embodiment includes an input/output interface circuit 23 that connects the microcomputer 22 that forms the center of the elevator signal control device 2 and the test device 3; It has a program that controls input and output. According to the embodiment shown in FIG. 1 described above, there is no need to provide an individual output circuit for displaying a specific signal that requires displaying a sequence state. In addition, a specific input circuit corresponding to a specific control input signal required for test operation of the elevator is provided, and a signal from a specific test control signal generator (for example, a button) and a corresponding control input signal line of the elevator control system 1 are provided. There is no need to provide means for serial insertion, switching, or parallel connection. As a result, according to the embodiment shown in FIG. 1, the following effects can be obtained. (1) The code signal interface circuit 23, which can be used for input/output for various purposes, can be connected to the test equipment using a small number of signal lines DL1, so the test equipment can be installed in the same cubicle as the elevator signal control equipment 2. Without being limited to implementation, the signal line DL1 can be made into a single cable, and the test device 3 can be attached and detached freely to make the device easy to carry. Furthermore, if the noise margin is improved by increasing the drive voltage level of the code signal interface circuit 23, the test device 2 can be installed several hundred meters away. Therefore, since it can be moved to any location in the machine room, used in the building manager's room, inside the car, or on the car, it has the effect of finding faults and shortening recovery time, and the test equipment can be shared by many elevators. It has an effect that can be used as (2) The test device can be just a numeric keypad, or it can be equipped with a microcomputer 32 and a modem 38, allowing for sophisticated monitoring and elevator control of test functions as needed. It becomes easy to add it to the device. These can be dealt with by adding or changing some programs of the test device 3 and microcomputer 22. Therefore, improvements after delivery have become extremely easy. An embodiment of the present invention and its effects have been generally described above. Next, a specific embodiment will be described with reference to FIGS. 2 to 19. FIG. 2 is a circuit diagram of an embodiment of the test device,
The relationship with the code signal interface circuit 23 is shown. The microcomputer 32 is composed of a microprocessor (abbreviated as MPU) 320, a random access memory (abbreviated as RAM) 321, and a read-only memory (abbreviated as ROM) 322. MPU320 has address bus AB,
There are a data bus DB and a control bus CB, and these buses include a RAM 321 that stores signals sent from the elevator signal control device 2 and other key input signals from the keyboard 36, which is a type of signal input device. , memorize programs designed to demonstrate various functions of the test device 3.
ROM322 is connected. Furthermore, these buses include pre-area interface adapters (PIA) 311 and 312 that interface with the outside, a video control circuit 33 that outputs display signals to the CRT 34, and an unsynchronized cloner that interfaces with the modem 38. A communications interface adapter (abbreviated as ACIA) 37 is connected. The microcomputer 22 also has the same circuit configuration as the microcomputer 32, and interfaces code signals. The PIA 23 is connected to the above three types of buses controlled by the microcomputer 22. Next, an outline of the operation of the microcomputer 22 of the first machine will be explained with reference to FIGS. 3 to 5. FIG. 3 is a flowchart of the program PGM1 that starts processing as soon as the power is turned on. The initialization program M100 initializes the internal registers of the PIA used for the input/output interface circuit 21 and the code signal interface circuit ,
Initialize RAM (generally clear all areas to “0”). The stack pointer is also set at the same time. In the next step M110, it is determined based on the signal of the bus assignment signal line BC1 shown in FIG. do. If so, the program advances to program M200, where control is performed to input test data to the microcomputer 22 based on commands input from the keyboard 36. Next, the program proceeds to program M300, where a monitor data transmission program to be transmitted from the No. 1 elevator signal control device 2 to the test device 3 is processed. In these two programs, if the group management control unit 4 is allowed to use the bus, the bus use permission signal BC1 of the first car is "0".
At this time, the determination result at step M100 is NO and the program waits at step M110, and if bus use is granted, these two programs perform loop processing. (Details will be described later.) Figure 4 illustrates the microcomputer 22 of the first machine, which will be explained in detail later, as an example.
2 is a conceptual diagram of an address map showing the allocation status of RAM, ROM, etc.; FIG. There are areas a to k as address areas,
a belongs to an address with a small address value, and k belongs to an address with a large address value. Address area a is a work memory area used for multiple purposes necessary for calculations by the MPU. Address area b is an area for storing control input data input from the elevator control system 1. Address area C is an internal data memory area and is created by a program stored in k area. Address area d is an area for storing control output data to be output to the elevator control system 1, and is created by a program stored in area k.
These a, b, c, and d areas are also address areas of the first RAM 1 that constitutes the microcomputer 22. Next, the address area e is a test data memory area that stores signals transmitted from the test device 3. Address area f is a test flag area that stores setting data and test flag signals created by the test data receiving program stored in area i. The e and f areas are also address areas of the second RAM 2 that constitutes the microcomputer 22. Address area g is a register area of the input/output interface PIA shown in FIG. 1, and address area g is a register area of the PIA for the code signal interface circuit 23 with the test device. Address areas i, j, and k are program areas, where i is a program area for receiving and processing test data, and j is for transmitting data required by test equipment 3 among the information stored in RAM 1 . The program area k is the machine number control program area. Area k is also an area of the first ROM 1 constituting the microcomputer 22, and areas i and j are also areas of the second ROM 2 . As mentioned above, within one microcontroller, memory,
Duplicate allocation of input/output interface circuits to the same address space is not allowed. In an elevator control device where the test device 3 is not always required, RAM 2 , code signal interface circuit 23, and ROM 2 can be omitted, so these circuits can be mounted separately from other circuits. For example, it can be added only during test runs or maintenance. As a result, it is sufficient to prepare one set of circuits for each of a plurality of test and maintenance circuits, resulting in an inexpensive test system. FIG. 5 shows a general flowchart (hereinafter abbreviated as GFC) of the machine control program PGM2 activated by the interrupt pulse CL2 from the interrupt pulse generating circuit 24 of FIG. When an interrupt signal is input from the outside to the MPU of the microcomputer 22, first steps M110, programs M200 and M3 related to the test equipment described in FIG.
00 processing is temporarily interrupted, various registers are saved, and then the program shown in FIG. 5 is processed. First, the process of the timer control program of program M400 is executed, and the sequence program
The PGM 21 determines whether a programmed predetermined time limit has expired based on the time limit elapsed count of the timer requested to count and the size of the count value of the timer, and performs timer control such as setting a timer output flag. When all timer processing is completed, the program advances to program M440, where a program for inputting control input signals from the elevator control system 1 is processed. Next, the newly input control input data and the
Sequence program PGM21 that uses internal data stored in RAM 1 and RAM 2 as input data
Process. Sequence program PGM21
Control the main functions of. Although seven task programs consisting of program M470 to program M650 are shown in FIG. 5 as task programs, generally far more programs than these are incorporated. The present invention relates to the machine control program shown in FIG. 5, but for the sake of brevity, a description of these general functions will be omitted, and a description of the program directly related to the present invention will be given later. This will be done when explaining FIGS. 17 to 19. By outputting the processing results of these sequence programs PGM21, that is, the data stored in the control output data memory area e, to the elevator control system 1 by the program M690,
For example, it issues commands to turn on a car response light and control door opening/closing. When the above processing is completed, all the processing of the interrupt program is completed, and the process returns to the processing of the program related to the test device that performs the repetitive processing shown in FIG. 3. Next, an outline of the operation of the microcomputer 32 of the test device 3 will be explained with reference to FIGS. 6 and 7. Figure 6 is a flowchart of program PGM70, which starts at the same time as the power is turned on, and the initialization program M710 starts with PIA311 shown in Figure 2.
, the initial settings of the internal registers of the PIA 312, the PIA which is an embodiment of the interface circuit 35, the ACI 37, the RAM 321, and the initial settings of the internal memory of the video control circuit 33 (the RAM 321 is
Generally, all areas are cleared to "0"). Next, programs M720 and M730 are processed in a loop. Program M720 performs input/output control of the signal input device 36 for inputting commands necessary for test driving operations, and program M730 performs output control of data to be displayed on the CRT. FIG. 7 shows a program PGM80 activated by the interrupt signal RC from the elevator control block (2, 4, 5 in FIG. 2), which controls the use permission signal of the common data bus DCB, transmits test data, and controls Controls data reception, failure detection, automatic recording and notification, etc. Prior to the detailed explanation of FIG. 7, according to FIG.
The control method of the common bus DCB and the overall operation of FIG. 2 to which the present invention is specifically applied will be explained with reference to the time chart of FIG. 8. Interrupt processing program that controls the operation of Unit 1 when bus use permission signal BC1 of Unit 1 is “1”
Immediately after PGM2 is completed, programs M200 and M300 (symbols) are executed for transmitting and receiving encoded signals necessary for testing and maintenance, processing test data, and controlling test operation.
At the same time as this processing is completed, a bus use permission signal is sent.
BC1 becomes “0” and the program PGM of the first machine
1 will loop step M110. Since the program PGM2 is activated at regular intervals by the fall of the interrupt pulse CL2 at times t1 and t2 , the operation of the elevator is smoothly controlled by the microcomputer 22 having the necessary response speed. As shown in FIG. 8, the bus permission signals BC1 to BC3 are cyclically controlled without ever lapping, so that the other control device blocks are equally controlled. As shown in FIG. 8, the test device 3 performs interface processing with an input device such as a keyboard and creation of display data on a CRT by connecting time periods in which the interrupt processing program PGM 80 is not activated. Program M720 and M
730 is looped. Returning to the explanation of FIG. 7 again. In step M805, once the program PGM80 is started by the interrupt signal RC, the transmission/reception control signal is sent and received until the program is finished.
Mask interrupts to use RC as a data establishment signal rather than as an interrupt signal. Step M810, as shown in FIG.
Check that the integer l indicating the block signal of the control device outputting the bus use permission signal matches the block signal sent to the bus. If NO because there is a mismatch, record the current l and the received block number, and jump to program M850 since the next block may be normal. If YES, test data transmission program M
820 and the control data reception program M840,
Processing is performed using the handshake method with the microcontroller of the permitted block. When this is completed, the bus use permission signal is temporarily turned OFF in step M849, and the test equipment executes the processing corresponding to the program PGM1 in each block using the failure-related program M.
This prevents unnecessary progress during execution of steps 890 to M894. Next, in step 892, the result of processing the program M890 that checks the rationality and safety of the received signal in the program M840.
If it is determined to be a failure, the ACIA 37 and modem 38 are used to send an alarm or report information to a remote maintenance device installed in the building's manager's office or a maintenance company in another building, and also to store this information. Controls such as keeping the Since the processing of block 1 has been completed, program M850 performs cyclic control of 1, program M870 outputs this, and step M880 releases the interrupt, and the test equipment completes preparations for transition to block processing. As a countermeasure for when a certain block is completely stopped, program M740 is added to FIG. 6, and the program is improved so that it will proceed to the next block if no interrupt pulse RC is input for a certain period of time. Next, an embodiment of the test data receiving program M200, which is the core of the present invention, will be described in detail with reference to FIG. First, in step M202, a code for making the test device confirm that it is a request to transmit its own block number and test data is sent to the test device as the first transmission/reception data, and a code is sent to the test device as the first transmission/reception data.
"1" is sent to the communication control signal RC that starts the interrupt program PGM80 shown in the figure. Next, initial settings for receiving and processing the five data shown in FIG. 10 from the test device 3 are performed in step M204. Next, through a loop of steps M206 and M207, RTB, which serves as a 1-byte data transmission completion signal from the test device 3, is held until it becomes "1". It is confirmed whether the block number of the first transmission/reception data ELNO of the data bus DTB to which this data is input matches the own block number, and if they match, the steps M210 and M218 for monitoring the signal RTB are looped again. When the second reception data TSTCD is transmitted from the test device 3 to the data bus DTB, the determination of this loop becomes YES in step M210, and the process returns to step M210.
At step 212, the second received data is stored in area e in FIG. Next, in step M214, the counter C is +
Perform 1 count UP. Note that since the counter C has been set to the numerical value 0 in step M204, the counter C has the numerical value 1. When storing the third, fourth, and fifth received data that are received one after another in the respective addresses in step M212, the numerical value of the counter C is used, so it has the role of incrementing it by 1, 2, and 3. In step M216, when the fifth received data is received, reception is completed in this embodiment, so it is determined whether the value of counter C has reached 4, and the process proceeds to step M220. Here we have already selected the test data memory area e.
The test code TSTCD stored in the test code TSTCD is checked and the start address of the program corresponding to this is selected.In the next step M222, the test program at the selected start address is jumped to and executed. Incidentally, steps M207 and M218 are for detecting that test data is not being transmitted due to the test operation being stopped in the test device 3 or due to software or hardware trouble related to test data transmission. It is programmed for longer periods of overtime. It is also assumed that upon completion of the test, the test device 3 is disconnected from the elevator signal control device 2 by a removable connector 26 such as a socket and a connector. As a result, test data is not received, so step M207 or M21
8, it is determined that it is overtime, and step M
224 is activated and all test data flags created in the past are cleared. Here, the bus use permission signal of the separated block is configured to be "1", and step M110 in FIG.
The determination is made to be YES. In addition, due to a problem with the test device 3, if test data is not sent within a predetermined time interval, it will be determined that overtime has occurred, and if there is a malfunction, step M2 will be executed.
The determination at step M224 is NO, and the program at step M224 is started. When step M224 is executed, all test functions can be stopped, so functionally the failed test device is automatically disconnected. The effect of the embodiment related to FIG. 9 is that the mutual influence between the reliability of the test device and the reliability of the elevator signal control device can be extremely reduced. Further, it is possible to prevent troubles such as forgetting an instruction to cancel a test operation through an input operation of the test device. An example of the test code TSTCD and its test function is shown in FIG. 10 and Table 1 below.
【表】
ここでは第11図〜第15図によりテストコー
ド02のタイマ早め制御のテストプログラムM23
0からテストコード10のかご重量設定制御まで
のテストプログラムM270の具体的実施例を説
明する。他のテスト運転制御のプログラムも同様
に作成することができるが、具体的説明は省略す
る。
なお、第10図に示す第3受信データから第5
受信データに入るテストデータの示す情報の種類
は、テストコードにより異なる。またサービス階
床が24階床を越える場合がある時にはもつと多く
のテストデータとなり、この時は第9図のステツ
プM216の判定数値4を大きくすれば良い。
またテストコードTSTCDに応じて信号するデ
ータ長を可変にしたり、テストコードの一部を独
立させたり、テストコードの前後のデータ長を示
すコードを追加して制御する事は容易である。
この様な時はステツプM216の数値4は変数
となり、第9図は若干のフローの変更を必要とす
るが当接業者であれば容易なことである。
では第11図と第16図と第17図によりタイ
マーの早めテスト制御における一実施例を詳細に
説明する。
第11図のプログラムM230は、第2受信デ
ータTSTCDの数値が02の時に第9図のステツプ
M222で起動され実行処理されるタイマ早め制
御用テストプログラムM230を示す。
ステツプM232において第10図に示す第1
テストデータTSTDT1の数値を判定し、01が否
かを判定することにより、タイマー早め制御を開
始するテスト命令であるか、タイマー早め制御を
打ち切るテスト命令であるかを判断する。
前者の場合(TSTDT1=01)はYESとなり、
ステツプM234によりタイマー早めテストフラ
グFTIMを“1”にセツトする。
後者の場合はNOとなり、ステツプM236に
よりタイマー早めテストフラグFTIMを“0”に
クリアする。
また先にも説明した様に第9図のステツプM2
24のプログラムが実行された時もテストフラグ
FTIMは“0”にクリアされる。
この様にテストデータ受信プログラムM200
で制御されるテストフラグFTIMは、タイマー制
御プログラムM400でタイマーを早める制御を
するか否かに使用される。
第17図に示すタイマー制御プログラムM40
0の説明を容易にする目的でタイマー制御全般の
概説を行う。
タイマー制御プログラムM400は第8図に示
す様に割込みパルスCL2の周期ごとに起動され
る。例えばこの周期が10mSであるとすると、プ
ログラムPG2の一部を構成しているタイマー制
御プログラムは100mSごとに起動されるので、マ
イコン22のMPUが8bitマイコンであるとし、
シーケンスタイマーカウンター用内部データーレ
ジスターとして1バイト(8bit)を使用するもの
とする。この時得られる最大のデイレー時限は、
28×10mS=256×10mS=2.56秒である。これで
は自動ドア閉時限や、M−G自動停止時限や、ド
ア開延長長時限や、ロープ伸び補償打切り時限、
時計用タイマー、交通量をサンプルするタイマー
等の長時限を必要とするタイマーを作ることはで
きない。
また、テスト装置3からの指示によりタイマー
早め即ち、タイマー時限短縮を行ないたいタイマ
ー(上記した7つの事例は全て含む)と、例えば
M−GのY−A切替時限の様に安全タイマー早め
が好ましくないものと、1秒未満のタイマーの様
にタイマー早めをしてもテスト効率が向上しない
場合とがある。
上記した2つの実状をふまえ本実施例において
は、おのおの1バイトの2種類のタイマー用の基
準パルスレジスターPTMAとPTMBを設け、第
17図に示すプログラムM418においては、各
シーケンスタイマーのカウントはこれら基準パル
スの中から任意のパルスを選択し、このパルスが
“1”の時のみカウントUPし、“0”の時はカウ
ント数値を保持する様に処理される。
但し、基準パルスジスターPTMBのみをタイ
マー早めテストフラグの指示によりパルス間隔を
1/32に短縮することができる様に構成している。
従つてタイマー早めを必要とするシーケンスタイ
マーは基準パルスとしてレジスターPTMBのパ
ルスを使用する。
例えばタイマー早めを必要とする60秒のーケン
スタイマーAでは、レジスターPTMBの0bit目
の0.64mS(後述する)の基準パルスを94カウント
したら、このシーケンスタイマーAの出力を
“1”とする様にプログラム構成する。
60秒のタイマーは、タイマー早めテスト機能に
より早め動作にすると約2秒で動作するのでシー
ケンスチエツクの迅速化の効果が得られる。
第16図は基準パルスPTMAを作成するプロ
グラムM401の具体的動作を説明している。
まずカウンタCTMAなる内部データをステツ
プM402によりACCA(accumulator A)へロ
ードし、さらに補数を取る。すなわち第16図に
示す「ACCA←CTMA」の処理を行う。
ステツプM404によりカウンタCTMAのプ
ラス1カウントUPと行う。すなわち「CTMA←
CTMAt1」の処理を行う。
次にステツプM406によりACCAとカウンタ
ーCTMAの論理積を各bitごとに取つた結果を基
準パルスレジスターPTMAへストアする。
すなわち「PTMA←CTMA・ACCA」の処理
を行う。
プログラムM407によるレジスターCTMB
も基本的には以上の動作により作成される。
これを要約すると次の通りである。両方のプロ
グラム共に、カウンタの各bitの中で“0”から
“1”に変化したbitと同一の基準パルスレジスタ
ーのbitが、次にプログラムM400が起動され
る10mSの期間のみ“1”となる。
プログラム407とプログラムM401の相異
点はステツプM410とステツプ412が追加に
なつている点にあり、その他のステツプM40
8,M414,M416の処理の方法はプログラ
ムM401と同一である。
ステツプM410は前述したテストフラグ
FTIMがタイマー早め指令により、“1”となつ
ているか否かを判定する。
もし“0”であればNOとなりステツプM41
2より基準パルスレジスターPTMAの4bit目の
基準パルスPTMA4の判定を行う。もし“1”
であればステツプM414へ進めカウンター
CTMBを1カウントUPさせるし、もし“0”で
あればカウンターCTMBの数値は保留されステ
ツプM416ではレジスターPTMBは全bit“0”
となる。
すなわち基準パルスレジスターPTMBの0bit
目の基準パルスPTMB0のパルス間隔は640mS
(2×21+4×10mS)となる。
これは10mSごとにプログラムM401が起動
され、さらに立上り検出により基準パルスを作る
ので基準パルスPTMA0のパルス間隔は20mS(2
×10mS)となる。従つて基準パルスPTMA4は
320mS(2×24×10mS)となるためである。
一方タイマー早め指令によりテストフラグ
FTIM=“1”であるとステツプM410の判定
がYESとなり、基準パルスレジターPTMAプロ
グラムM401と同様に毎回カウンターCTMB
がカウントUPされるので、基準パルスPTMB0
のパルス間隔は640mSであつたものが20mSに短
縮される。
従つてステツプM418により制御する各シー
ケンスタイマーの中で、基準パルスとして基準パ
ルスレジスターPTMBを使用したものはタイマ
ー時限の1/32の早め動作とできるので、保守時の
シーケンスチエツク効率が向上する。
次に第12図によりかご呼びセツト制御におけ
るテストプログラムM240の一実施例を説明す
る。
第2受信データTSTCDの数値が04の時に第1
2図に示すテストプログラムM240が起動され
る。次にステツプM242により割込パルスCL
2によりこのプログラムが中断されるのを阻止す
るために割込みマスクを行う。(理由は後述する)
次にステツプM244によりテストテストデータ
TSTDT1とTSTDT2をかご呼び釦入力データ
テブルへ格納する。次のステツプには第5図に示
す号機制御プログラムPGM2の一部を構成する。
かご呼び登録プログラムM500のサブルーチ
ン(詳細は後述する)をそのまま流用して起動し
実行させる。
これによりテスト装置から送るテストデータの
信号により一部または全てのかご呼びの新規登録
(セツト)を行うことができる。
ステツプM246では割り込みマスクを解除
し、プログラムPGM2を起動できる様に制御す
る。
この実施例ではかご呼びセツト用テストデータ
をかご釦からの制御入力データをストアする番地
へストアし、本来の号機制御プログラムPGM2
の一部を流用してテスト処理させている。
このためにもしこのテスト処理中に割込みが入
り、プログラムPGM2が起動されるとプログラ
ムM440によりテストデータはこわされてしま
うので、これを防止するために短時間の間だけ割
込み処理を阻止する必要がある。
次に第13図と第19図によりかご呼びの登録
取り消しテスト制御における一実施例を詳細に説
明する。
第13図のテストプログラムM250は第2受
信データの数値が06の時に第9図のステツプM2
22で起動される。
ステツプM252によりかご呼びをオールクリ
アするテストフラグFCRGCRを“1”にセツト
し次のステツプでサブルーチンM500を起動す
ると、テストフラグFCRGCRが“1”であると、
全てのかご呼びがクリアされる。
次のステツプM254ではテストフラグ
FCRGCRを“0”に戻し、以後にプログラム
PGM2によりサブルーチンが実行した時にはか
ご呼びオール取り消しテスト制御を行なわない様
にしている。
第19図はサブルーチン化されたがかご呼び登
録プログラムM500を詳細に説明したフローチ
ヤートである。
第1ステツプM502ではサービス方式選択制
御プログラムM470で作成された内部データで
あるサービスモードSMNOの数値が8以上であ
るか否かを判定する。
このテストモード番号SMNOの数値とサービ
ス方式の関係の一実施例を第2表に示す。[Table] Here, the test program M23 for timer early control of test code 02 is shown in Figures 11 to 15.
A specific example of the test program M270 from test code 0 to car weight setting control of test code 10 will be described. Other test operation control programs can be created in the same way, but detailed explanations will be omitted. Note that from the third received data to the fifth received data shown in FIG.
The type of information indicated by the test data included in the received data differs depending on the test code. Furthermore, if the number of service floors exceeds 24, a large amount of test data will be required, and in this case, the judgment value 4 in step M216 in FIG. 9 may be increased. Furthermore, it is easy to control by making the data length of the signal variable in accordance with the test code TSTCD, by making part of the test code independent, and by adding codes indicating the data lengths before and after the test code. In such a case, the value 4 in step M216 becomes a variable, and the flow shown in FIG. 9 requires a slight change, but this can be easily done by a person in charge. Now, one embodiment of timer early test control will be described in detail with reference to FIGS. 11, 16, and 17. The program M230 in FIG. 11 is a test program M230 for timer early control that is activated and executed in step M222 in FIG. 9 when the value of the second received data TSTCD is 02. In step M232, the first step shown in FIG.
By determining the numerical value of the test data TSTDT1 and determining whether it is 01 or not, it is determined whether the test command is a test command to start timer advance control or a test command to terminate timer advance control. In the former case (TSTDT1=01), it will be YES,
At step M234, the timer early test flag FTIM is set to "1". In the latter case, the answer is NO, and the timer early test flag FTIM is cleared to "0" in step M236. Also, as explained earlier, step M2 in FIG.
Test flag is also set when 24 programs are executed.
FTIM is cleared to "0". In this way, the test data reception program M200
The test flag FTIM controlled by is used by the timer control program M400 to control whether or not to advance the timer. Timer control program M40 shown in FIG.
In order to facilitate the explanation of timer control, an overview of timer control in general will be given. The timer control program M400 is activated every cycle of the interrupt pulse CL2, as shown in FIG. For example, if this cycle is 10mS, the timer control program that forms part of the program PG2 is started every 100mS, so if the MPU of the microcomputer 22 is an 8-bit microcomputer,
One byte (8 bits) shall be used as the internal data register for the sequence timer counter. The maximum delay time that can be obtained at this time is
2 8 × 10 mS = 256 × 10 mS = 2.56 seconds. This includes automatic door closing time, M-G automatic stop time, door opening extension time, rope stretch compensation termination time,
It is not possible to create timers that require a long time limit, such as timers for clocks or timers that sample traffic volume. In addition, it is preferable to advance the timer or shorten the timer time limit based on instructions from the test device 3 (including all of the seven cases mentioned above), and for example, it is preferable to advance the safety timer, such as the Y-A switching time of M-G. In some cases, there are cases where the test efficiency does not improve even if the timer is set earlier, such as with a timer of less than 1 second. Based on the above-mentioned two circumstances, this embodiment provides reference pulse registers PTMA and PTMB for two types of timers, each of which is 1 byte, and in program M418 shown in FIG. 17, the count of each sequence timer is based on these standards. An arbitrary pulse is selected from among the pulses, and the count is increased only when this pulse is "1", and the count value is held when it is "0". However, only the reference pulse jitter PTMB is configured so that the pulse interval can be shortened to 1/32 by instructing the test flag to advance the timer.
Therefore, a sequence timer that requires a faster timer uses the pulse in register PTMB as a reference pulse. For example, in a 60-second sequence timer A that requires an early timer, the program is configured so that the output of this sequence timer A becomes "1" after 94 counts of the 0.64 mS (described later) reference pulse in the 0th bit of the register PTMB. do. If the 60-second timer is set to early operation using the timer early test function, it will operate in approximately 2 seconds, resulting in the effect of speeding up the sequence check. FIG. 16 explains the specific operation of the program M401 for creating the reference pulse PTMA. First, the internal data of the counter CTMA is loaded into ACC A (accumulator A) in step M402, and then the complement is obtained. That is, the process "ACC A ←CTMA" shown in FIG. 16 is performed. At step M404, the counter CTMA is incremented by one. In other words, “CTMA←
CTMAt1” processing. Next, in step M406, the result of logical ANDing of ACC A and counter CTMA for each bit is stored in the reference pulse register PTMA. In other words, the process "PTMA←CTMA・ACC A " is performed. Register CTMB with program M407
is basically created by the above operations. This can be summarized as follows. In both programs, the bit in the reference pulse register that is the same as the bit that changes from "0" to "1" in each bit of the counter becomes "1" only during the 10 mS period when program M400 is started next. . The difference between program 407 and program M401 is that step M410 and step 412 are added;
8, M414, and M416 are processed in the same manner as program M401. Step M410 is the test flag mentioned above.
Determine whether FTIM is set to "1" by the timer advance command. If it is “0”, it becomes NO and step M41
2, the 4th bit reference pulse PTMA4 of the reference pulse register PTMA is determined. If “1”
If so, proceed to step M414 and counter
CTMB is counted up by 1, and if it is "0", the value of counter CTMB is held and in step M416, all bits of register PTMB are set to "0".
becomes. In other words, 0bit of the reference pulse register PTMB
The pulse interval of the eye reference pulse PTMB 0 is 640mS
(2×2 1+4 ×10mS). This is because the program M401 is started every 10 mS and a reference pulse is created by detecting the rising edge, so the pulse interval of the reference pulse PTMA 0 is 20 mS (2
×10mS). Therefore, the reference pulse PTMA 4 is
This is because it becomes 320mS (2 × 2 4 × 10mS). On the other hand, the test flag is set due to the early timer command.
If FTIM="1", the determination in step M410 is YES, and the counter CTMB is reset every time as in the reference pulse register PTMA program M401.
is counted up, so the reference pulse PTMB 0
The pulse interval was shortened from 640mS to 20mS. Therefore, among the sequence timers controlled by step M418, those using the reference pulse register PTMB as the reference pulse can operate earlier by 1/32 of the timer time limit, improving sequence check efficiency during maintenance. Next, an embodiment of the test program M240 for car call set control will be described with reference to FIG. When the value of the second received data TSTCD is 04, the first
A test program M240 shown in FIG. 2 is started. Next, in step M242, the interrupt pulse CL is
2, interrupt masking is performed to prevent this program from being interrupted. (The reason will be explained later)
Next, in step M244, the test test data is
Store TSTDT1 and TSTDT2 in the car call button input data table. The next step constitutes a part of the machine control program PGM2 shown in FIG. The subroutine of the car call registration program M500 (details will be described later) is used as is, started up, and executed. As a result, new registration (setting) of some or all car calls can be performed using the test data signal sent from the test device. In step M246, the interrupt mask is canceled and control is performed so that the program PGM2 can be activated. In this embodiment, the test data for car call setting is stored at the address where the control input data from the car button is stored, and the original car control program PGM2 is stored.
A part of this is used for testing purposes. For this reason, if an interrupt occurs during this test processing and program PGM2 is started, the test data will be destroyed by program M440, so to prevent this, it is necessary to block interrupt processing for a short period of time. be. Next, an embodiment of car call registration cancellation test control will be described in detail with reference to FIGS. 13 and 19. The test program M250 in FIG. 13 executes step M2 in FIG. 9 when the value of the second received data is 06.
It will be launched at 22. When the test flag FCRGCR for clearing all car calls is set to "1" in step M252 and subroutine M500 is started in the next step, if the test flag FCRGCR is "1",
All car calls are cleared. In the next step M254, the test flag is
Return FCRGCR to “0” and program after that.
When the subroutine is executed by PGM2, the car call all cancellation test control is not performed. FIG. 19 is a flowchart illustrating in detail the subroutine car call registration program M500. In the first step M502, it is determined whether the value of the service mode SMNO, which is internal data created by the service method selection control program M470, is 8 or more. Table 2 shows an example of the relationship between the value of this test mode number SMNO and the service method.
【表】【table】
Claims (1)
にマイクロコンピユータを用いてエレベータの運
転制御を行なうものにおいて、タイマー時限を短
縮して試験運転制御を行なう手段と、この試験運
転制御手段を起動するためにタイマー時限短縮指
令を含んだ試験運転信号を発生する手段とを備え
たことを特徴とするエレベータの試験運転装置。 2 特許請求の範囲第1項において、上記タイマ
ー時限短縮手段は、ドア開閉時限と運転パターン
の切替え時限とを短縮する手段としたエレベータ
の試験運転装置。[Scope of Claims] 1. In an elevator in which a microcomputer is used in the signal control unit of an elevator in service between multiple floors to control the operation of the elevator, a means for controlling a test operation by shortening a timer time period, and a method for controlling the test operation 1. A test operation device for an elevator, comprising means for generating a test operation signal including a timer time shortening command to start an operation control means. 2. An elevator test operation device according to claim 1, wherein the timer time shortening means shortens a door opening/closing time and an operation pattern switching time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21279687A JPS63101289A (en) | 1987-08-28 | 1987-08-28 | Elevator test operation equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21279687A JPS63101289A (en) | 1987-08-28 | 1987-08-28 | Elevator test operation equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63101289A JPS63101289A (en) | 1988-05-06 |
| JPH0240590B2 true JPH0240590B2 (en) | 1990-09-12 |
Family
ID=16628522
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21279687A Granted JPS63101289A (en) | 1987-08-28 | 1987-08-28 | Elevator test operation equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63101289A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5185141A (en) * | 1975-01-23 | 1976-07-26 | Mitsubishi Electric Corp | EREBEETANO TOKAIJIKANSEIGYOSOCHI |
-
1987
- 1987-08-28 JP JP21279687A patent/JPS63101289A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63101289A (en) | 1988-05-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6337023B2 (en) | ||
| CA1216687A (en) | Remote elevator monitoring system | |
| US5064026A (en) | Elevator monitor apparatus | |
| JP2002525615A (en) | Digital plant protection system | |
| JPH06227767A (en) | Remote control system for elevator equipment | |
| JPH0240591B2 (en) | EREBEETANOSHIKENUNTENSOCHI | |
| JPH0240590B2 (en) | ||
| JPS6135113B2 (en) | ||
| CN100539716C (en) | The method that a kind of main and standby boards is monitored and switched automatically | |
| JP2002012378A (en) | Automatic inspection device for elevator | |
| CN113602928B (en) | Elevator group control test platform | |
| US7109886B2 (en) | Traffic control malfunction management unit with co-channel monitoring | |
| JPH0130752B2 (en) | ||
| JPH0199358A (en) | Remote supervisory equipment | |
| JPH028177A (en) | Remote monitoring device for elevator | |
| CA1233546A (en) | Remote load control relay processor | |
| JP3028864B2 (en) | Elevator notification device | |
| JP2728149B2 (en) | Elevator notification device | |
| CA1233545A (en) | Arrangement for sensing remote binary inputs | |
| JPH06259680A (en) | Remote monitoring equipment for building facility equipment | |
| JP2024137233A (en) | System, device and method for controlling an elevator | |
| JPH10167599A (en) | Elevator monitoring device | |
| JPH04292384A (en) | Remote information input device for elevator display unit | |
| JPH038680A (en) | Work support requesting device of elevator | |
| JPH04179687A (en) | Remote control device for elevator |