JP2007084232A - Elevator control program updating device - Google Patents

Elevator control program updating device Download PDF

Info

Publication number
JP2007084232A
JP2007084232A JP2005273975A JP2005273975A JP2007084232A JP 2007084232 A JP2007084232 A JP 2007084232A JP 2005273975 A JP2005273975 A JP 2005273975A JP 2005273975 A JP2005273975 A JP 2005273975A JP 2007084232 A JP2007084232 A JP 2007084232A
Authority
JP
Japan
Prior art keywords
control program
program
storage unit
control
elevator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005273975A
Other languages
Japanese (ja)
Inventor
Koichi Mishima
浩一 三島
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.)
Toshiba Elevator and Building Systems Corp
Original Assignee
Toshiba Elevator Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Elevator Co Ltd filed Critical Toshiba Elevator Co Ltd
Priority to JP2005273975A priority Critical patent/JP2007084232A/en
Publication of JP2007084232A publication Critical patent/JP2007084232A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To update a control program without stopping the operation of an elevator. <P>SOLUTION: This elevator control program updating device comprises: a first control program storage part 23 for storing a first control program; a second control program storage part 24 for storing a second control program, a rewriting program storage part 22 for storing a rewriting program; a selecting program storage part 21 for storing a selecting program which selects the control program; and an operation control processing part 3 for selecting the first control program and the second control program in sequence in accordance with the selecting program when receiving a new control program from an external program transfer device 6, and for alternately executing the control program and the rewriting program in accordance with the sequence of selection to rewrite the new control program into the second control program storage part and the first control program storage part in sequence when executing the rewriting program. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、エレベータの運転制御や監視制御に用いる制御プログラムを新しい制御プログラムに書き換え処理するエレベータ制御プログラム更新装置に関する。   The present invention relates to an elevator control program updating apparatus that rewrites a control program used for elevator operation control and monitoring control to a new control program.

多くのエレベータ制御装置は、EPROMやフラッシュメモリ(Flash ROM)などの不揮発性記憶素子に制御プログラムを記憶し、エレベータの運転時、マイクロコンピュータが不揮発性記憶素子から制御プログラムを読出して実行することにより、エレベータの運転制御や監視制御を行っている。   Many elevator control devices store a control program in a non-volatile memory element such as an EPROM or a flash memory (Flash ROM), and the microcomputer reads the control program from the non-volatile memory element and executes it when the elevator is in operation. Elevator operation control and monitoring control are performed.

ところで、既に記憶されている制御プログラム(以下、既制御プログラムと呼ぶ)を新しい制御プログラムに書き換える場合は、既制御プログラムを記憶する不揮発性記憶素子を新しい制御プログラムを記憶する不揮発性記憶素子に交換したり、新しい制御プログラムを記憶するメモリカード等の記憶媒体をエレベータ制御装置に接続し、当該記憶媒体に記憶される新しい制御プログラムを既設の不揮発性記憶素子にコピーするなどして書き換えを行っている。その結果、制御プログラムの書き換え中は、エレベータの運転を停止させて新しい制御プログラムの書き換え作業を行う必要があり、エレベータのサービス低下を招く問題がある。   By the way, when rewriting an already stored control program (hereinafter referred to as an existing control program) with a new control program, the nonvolatile memory element storing the existing control program is replaced with a nonvolatile memory element storing the new control program. Or by connecting a storage medium such as a memory card that stores a new control program to the elevator control device and copying the new control program stored in the storage medium to an existing non-volatile storage element. Yes. As a result, during the rewriting of the control program, it is necessary to stop the operation of the elevator and perform a rewriting operation of a new control program, which causes a problem of lowering the elevator service.

そこで、従来、以上のような不具合を解消するために、幾つかの制御プログラム更新装置が提案されている。
その1つの制御プログラム更新装置は、既制御プログラムを記憶する第1の制御プログラム記憶部と、新しい制御プログラムを記憶する第2の制御プログラム記憶部と、これら2つの制御プログラム記憶部を選択的に切り替える切り替え手段とで構成し、常時は切り替え手段が第1の制御プログラム記憶部を選択し、マイクロコンピュータから導出されるバスラインに接続し、既制御プログラムを実行可能な状態に設定する。
Therefore, conventionally, several control program update devices have been proposed in order to solve the above problems.
The one control program update device selectively selects a first control program storage unit that stores an existing control program, a second control program storage unit that stores a new control program, and these two control program storage units. The switching means normally selects the first control program storage unit, connects to the bus line derived from the microcomputer, and sets the already-executed control program to an executable state.

この状態において、新しい制御プログラムに書き換える場合は、エレベータ制御装置に新たな制御プログラムを記憶した記憶媒体を備えた外部装置を接続し、当該外部装置から新たな制御プログラムを第2の制御プログラム記憶部に転送し書き込む。そして、切り替え手段は、エレベータの運転中に第2の制御プログラム記憶部を選択し、マイクロコンピュータから導出されるバスラインに接続する。マイクロコンピュータは、第2の制御プログラム記憶部に記憶された新しい制御プログラムを第1の制御プログラム記憶部にコピーすることにより書き換え処理を行う。切り替え手段は、新しい制御プログラムに書き換えた後、第1の制御プログラム記憶部を選択し、マイクロコンピュータから導出されるバスラインに接続する。ここで、マイクロコンピュータは、新しい制御プログラムに従ってエレベータの運転制御や監視制御を行う(特許文献1)。   In this state, when rewriting to a new control program, an external device including a storage medium storing the new control program is connected to the elevator control device, and the second control program storage unit stores the new control program from the external device. Transfer and write to. Then, the switching means selects the second control program storage unit during operation of the elevator and connects to the bus line derived from the microcomputer. The microcomputer performs a rewrite process by copying a new control program stored in the second control program storage unit to the first control program storage unit. The switching means, after rewriting to a new control program, selects the first control program storage unit and connects it to the bus line derived from the microcomputer. Here, the microcomputer performs operation control and monitoring control of the elevator according to a new control program (Patent Document 1).

他の制御プログラム更新装置は、運転制御プログラム領域、書き換えプログラム格納領域及び書換え用予備領域を持った電気的に書換え可能なプログラム記憶装置と、アドレス変更手段と、マイクロコンピュータとを設けた構成である。マイクロコンピュータは、既にプログラム記憶装置の運転制御プログラム領域に記憶されている運転制御プログラムを実行し、エレベータの運転制御や監視制御を行う。   Another control program update device has a configuration in which an electrically rewritable program storage device having an operation control program area, a rewrite program storage area, and a rewrite spare area, an address changing means, and a microcomputer are provided. . The microcomputer executes an operation control program already stored in the operation control program area of the program storage device, and performs operation control and monitoring control of the elevator.

新しい運転制御プログラムに書き換える場合は、エレベータ制御装置に外部プログラム転送装置を接続し、当該外部プログラム転送装置から書き換え要求があると、アドレス変更手段は、運転制御プログラム領域に記憶される運転制御プログラムを示すアドレスを、書換え用予備領域の対応するアドレスに変更し、新しい運転制御プログラムを書換え用予備領域に転送する。そして、転送後、運転制御プログラム領域の運転制御プログラムを書換え用予備領域の新しい運転制御プログラムを書き換えるが、この書き換え中には運転制御プログラムを中止し、前期変更されたアドレスが示す書換え用予備領域の新しい運転制御プログラムを実行する構成である(特許文献2)。   When rewriting to a new operation control program, an external program transfer device is connected to the elevator control device, and when there is a rewrite request from the external program transfer device, the address changing means stores the operation control program stored in the operation control program area. The address shown is changed to the address corresponding to the reserved area for rewriting, and the new operation control program is transferred to the reserved area for rewriting. After the transfer, the operation control program in the operation control program area is rewritten with a new operation control program in the rewriting spare area. During this rewriting, the operation control program is stopped and the rewriting spare area indicated by the address changed in the previous period is displayed. The new operation control program is executed (Patent Document 2).

これら2つの制御プログラム更新装置は、新しい制御プログラムの書き換え時にエレベータの運転を停止させずに書き換えることができる。
特開2000−128447号公報(図1参照) 特開2001−10772号公報(図1参照)
These two control program update devices can be rewritten without stopping the operation of the elevator when a new control program is rewritten.
JP 2000-128447 A (see FIG. 1) Japanese Patent Laying-Open No. 2001-10772 (see FIG. 1)

しかしながら、以上のような制御プログラム更新装置では、何れも制御プログラムの実行には無関係な不要回路,例えば切り替え手段やアドレス変更手段などを新たに追加する必要がある。その結果、不要な回路の追加に伴って、制御装置がコストアップとなり、また、新たに追加される回路の誤動作によって制御装置の故障やトラブルを発生させる原因となり、信頼性の低下を招く問題がある。   However, in any of the control program update apparatuses as described above, it is necessary to newly add unnecessary circuits unrelated to execution of the control program, such as switching means and address changing means. As a result, with the addition of unnecessary circuits, the cost of the control device increases, and the malfunction of the newly added circuit may cause a failure or trouble of the control device, resulting in a problem of reduced reliability. is there.

本発明は上記事情に鑑みてなされたもので、制御プログラムの実行とは無関係な回路を追加せず、かつエレベータの運転を停止させずに新しい制御プログラムに更新するエレベータ制御プログラム更新装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides an elevator control program updating apparatus that updates a new control program without adding a circuit unrelated to the execution of the control program and without stopping the operation of the elevator. For the purpose.

(1) 上記課題を解決するために、本発明は、コンピュータで構成される運転制御処理部によって制御プログラムを実行し、エレベータの運転制御や監視制御を行うエレベータ制御装置であって、第1の制御プログラムを記憶する第1の制御プログラム記憶部と、第2の制御プログラムを記憶する第2の制御プログラム記憶部と、書き換えプログラムを記憶する書き換えプログラム記憶部と、前記第1の制御プログラム及び前記第2の制御プログラムの選択順序を規定する選択プログラムを記憶する選択プログラム記憶部と、外部のプログラム転送装置から新しい制御プログラムを受信したとき、前記選択プログラムに従って前記第1の制御プログラム記憶部の第1の制御プログラム及び前記第2の制御プログラム記憶部の第2の制御プログラムの何れかを選択し、かつこの選択プログラムの選択順序に従って選択された制御プログラムを前記書き換えプログラムにより前記新しい制御プログラムに書き換える一方、書き換え中でない他方の制御プログラム記憶部の制御プログラムを用いて、運転制御を実行する前記コンピュータである運転制御処理部とを設けたエレベータ制御装置である。 (1) In order to solve the above-described problem, the present invention is an elevator control device that executes a control program by an operation control processing unit configured by a computer, and performs operation control and monitoring control of the elevator. A first control program storage unit for storing a control program; a second control program storage unit for storing a second control program; a rewrite program storage unit for storing a rewrite program; the first control program; When a new control program is received from an external program transfer device and a selection program storage unit that stores a selection program that defines the selection order of the second control program, the first control program storage unit according to the selection program 1 control program and a second control program of the second control program storage unit The control program selected according to the selection order of the selection program is rewritten to the new control program by the rewrite program, while using the control program of the other control program storage unit that is not being rewritten, It is an elevator control apparatus provided with the operation control processing part which is the said computer which performs operation control.

この発明は以上のような構成とすることにより、選択プログラムに従って第1の制御プログラム記憶部又は第2の制御プログラム記憶部を選択し、かつ書き換えプログラムによって選択された第1の制御プログラム記憶部又は第2の制御プログラム記憶部の制御プログラムを新しい制御プログラムに書き換え中、前記選択プログラムが書き換え中でない制御プログラムを実行し、運転制御や監視制御を行うので、エレベータの運転を停止することなく新しい制御プログラムに書き換えることが可能となる。   According to the present invention, the first control program storage unit or the second control program storage unit selected according to the selection program and selected by the rewriting program can be obtained. While the control program in the second control program storage unit is being rewritten with a new control program, the control program that is not being rewritten is executed to perform operation control or monitoring control, so that new control can be performed without stopping the operation of the elevator. It can be rewritten to a program.

(2) また、本発明は、前記(1)項の構成要素に新たに、前記第1の制御プログラムの実行時に用いる第1の設定データを記憶する第1の設定データ記憶部と、前記第2の制御プログラムの実行時に用いる第2の設定データを記憶する第2の設定データ記憶部と、前記書き換えプログラムによる新しい制御プログラムの書き換え時に前記第1の設定データ記憶部又は前記第2の設定データ記憶部に記憶される前記第1の設定データ又は前記第2の設定データを、当該新しい制御プログラムの実行時に用いる新しい設定データに書き換える手段とを付加したエレベータ制御装置である。 (2) Further, according to the present invention, a first setting data storage unit that stores first setting data to be used when executing the first control program is newly added to the component of the item (1), and the first A second setting data storage unit that stores second setting data used when executing the second control program, and the first setting data storage unit or the second setting data when a new control program is rewritten by the rewriting program. An elevator control device to which means for rewriting the first setting data or the second setting data stored in a storage unit with new setting data used when executing the new control program is added.

この発明は以上のような構成とすることにより、新しい制御プログラムの書き換え時に新しい制御プログラムの実行時に使用する設定データも同時に書き換えることが可能である。   By adopting the configuration as described above, the present invention can simultaneously rewrite the setting data used when executing a new control program when rewriting a new control program.

本発明によれば、制御プログラムの実行とは無関係な回路を追加することなく、エレベータの運転を停止させずに新しい制御プログラムに更新できるエレベータ制御プログラム更新装置を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the elevator control program update apparatus which can be updated to a new control program, without stopping operation | movement of an elevator, without adding the circuit unrelated to execution of a control program can be provided.

以下、本発明の実施形態について図面を参照して説明する。
図1は本発明に係るエレベータ制御プログラム更新装置の一実施の形態を示す構成図である。
同図において、1はエレベータ制御装置又はエレベータ制御基板(以下、制御装置と呼ぶ)に適用したエレベータ制御プログラム更新装置である。エレベータ制御プログラム更新装置1は、不揮発性記憶素子2と、運転制御処理部3と、揮発性記憶素子4と、インターフェース部5とで構成される。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing an embodiment of an elevator control program updating apparatus according to the present invention.
In the figure, reference numeral 1 denotes an elevator control program update device applied to an elevator control device or an elevator control board (hereinafter referred to as a control device). The elevator control program update device 1 includes a nonvolatile memory element 2, an operation control processing unit 3, a volatile memory element 4, and an interface unit 5.

不揮発性記憶素子2は、所定のプログラム及び設定データを記憶するための電気的に書き換え可能なフラッシュメモリ(Flash ROM)などで構成されている。フラッシュメモリに代えてEPROMを用いてもよい。EPROMは、紫外線などの照射によってデータ消去でき、再書き込み可能なPROMである。   The nonvolatile memory element 2 is configured by an electrically rewritable flash memory (Flash ROM) for storing a predetermined program and setting data. An EPROM may be used instead of the flash memory. The EPROM is a rewritable PROM that can be erased by irradiation with ultraviolet rays or the like.

不揮発性記憶素子2には、選択プログラム記憶部21、書き換えプログラム記憶部22、第1の制御プログラムを記憶する第1の制御プログラム記憶部23,第2の制御プログラムを記憶する第2の制御プログラム記憶部24、第1の設定データを記憶する第1の設定データ記憶部25,第2の設定データを記憶する第2の設定データ記憶部26及び書き換え中のデータを記憶する書き換え中データ記憶部27などの記憶領域が設けられている。このように1つの不揮発性記憶素子2に全部の記憶部21〜27を設けることにより、エレベータ制御装置の部品点数を減らすことができる。   The nonvolatile memory element 2 includes a selection program storage unit 21, a rewrite program storage unit 22, a first control program storage unit 23 that stores a first control program, and a second control program that stores a second control program. A storage unit 24, a first setting data storage unit 25 that stores first setting data, a second setting data storage unit 26 that stores second setting data, and a rewriting data storage unit that stores data being rewritten Storage areas such as 27 are provided. Thus, by providing all the memory | storage parts 21-27 in the one non-volatile memory element 2, the number of parts of an elevator control apparatus can be reduced.

選択プログラム記憶部21には、後記する第1の制御プログラム及び第2の制御プログラムの選択順序を規定する選択プログラムが記憶される。   The selection program storage unit 21 stores a selection program that defines the selection order of a first control program and a second control program to be described later.

書き換えプログラム記憶部22には、第1の制御プログラム記憶部23や第2の制御プログラム記憶部24に記憶される制御プログラムを、外部から転送されてくる新しい制御プログラムに書き換える際に書き換え処理を行う書き換えプログラムが記憶される。   The rewrite program storage unit 22 performs a rewrite process when the control program stored in the first control program storage unit 23 or the second control program storage unit 24 is rewritten to a new control program transferred from the outside. The rewriting program is stored.

第1の制御プログラム記憶部23には、エレベータの運転制御や監視制御を実行する手順を記述した第1の制御プログラムが記憶される。第2の制御プログラム記憶部24には、第1の制御プログラムと同様な手順を記述した第2の制御プログラムが記憶される。なお、第1の制御プログラム及び第2の制御プログラムは、新しい制御プログラムの書き換え完了後、全く同じ新しい制御プログラムとなるものであって、不揮発性記憶素子2の中の記憶領域を示すアドレスが異なるだけである。   The first control program storage unit 23 stores a first control program describing a procedure for executing elevator operation control and monitoring control. The second control program storage unit 24 stores a second control program that describes the same procedure as the first control program. The first control program and the second control program are the same new control program after rewriting of the new control program, and the addresses indicating the storage areas in the nonvolatile memory element 2 are different. Only.

第1の設定データ記憶部25には、第1の制御プログラムの実行段階で必要に応じて使用される第1の設定データが記憶される。第2の設定データ記憶部26には、第2の制御プログラムの実行段階で必要に応じて使用される第2の設定データが記憶される。これら第1の設定データ及び第2の設定データも、制御プログラムと同様に新しい設定データの書き換え完了後、同じ新しい設定データとなる。   The first setting data storage unit 25 stores first setting data used as necessary in the execution stage of the first control program. The second setting data storage unit 26 stores second setting data used as necessary in the execution stage of the second control program. These first setting data and second setting data also become the same new setting data after the rewriting of the new setting data is completed as in the control program.

書き換え中データ記憶部27には、新しい制御プログラムの書き換え完了時に所定のコードデータが設定される。この所定のコードデータは、未だ新しい制御プログラムに書き換えていない制御プログラムに対する新しい制御プログラムへの書き換えを促す機能に加えて新しい制御プログラムに書き換えている確認させる機能を持つデータである。   In the rewriting data storage unit 27, predetermined code data is set when rewriting of a new control program is completed. The predetermined code data is data having a function of confirming rewriting to a new control program in addition to a function of prompting rewriting of a control program not rewritten to a new control program to a new control program.

前記運転処理制御部3は、CPUで構成され、不揮発性記憶素子2の一部を構成する第1の制御プログラム記憶部23に記憶される第1の制御プログラム又は第2の制御プログラム記憶部24に記憶される第2の制御プログラムを実行することにより、運転制御や監視制御を行う。また、運転制御処理部3は、不揮発性記憶素子2に記憶された制御プログラム以外の必要とする各種のプログラムを実行し、かつ、新しい制御プログラムの更新処理を行う機能を有する。   The operation processing control unit 3 is composed of a CPU, and a first control program or a second control program storage unit 24 stored in a first control program storage unit 23 that constitutes a part of the nonvolatile storage element 2. The operation control and the monitoring control are performed by executing the second control program stored in. The operation control processing unit 3 has a function of executing various necessary programs other than the control program stored in the non-volatile storage element 2 and performing a process of updating a new control program.

前記揮発性記憶素子4は、運転制御処理部3による処理途中及び処理結果のデータを一時的に記憶するデータバッフアメモリとしての役割を有する。揮発性記憶素子4は、随時書き込み読み出し可能な記憶素子であって、例えばスタティック(Static)RAMが使用される。このスタティックRAMの代わりに、DRAMやSDRAMを用いてもよい。   The volatile storage element 4 has a role as a data buffer memory that temporarily stores data of processing results and processing results by the operation control processing unit 3. The volatile memory element 4 is a memory element that can be written and read at any time, and for example, a static RAM is used. DRAM or SDRAM may be used instead of the static RAM.

前記インターフェース部5は、エレベータ制御プログラム更新装置1に接続される外部記憶媒体6から転送されてくる新しい制御プログラムを取り込んで運転制御処理部3に送出する機能を有する。   The interface unit 5 has a function of taking in a new control program transferred from the external storage medium 6 connected to the elevator control program update device 1 and sending it to the operation control processing unit 3.

なお、外部記憶媒体6としては、一般的にメモリカードが使用される。メモリカードを使用した場合、インターフェース部5としては、メモリカードの規格に対応したインターフェース回路となる。また、外部記憶媒体6としては、パソコンで代用することも可能である。つまり、エレベータ制御プログラム更新装置1のインターフェース部5にパソコンを接続し、予め保存中の新しい制御プログラムを制御プログラム更新装置1に転送する構成であっても良い。この場合、インターフェース部5としては、パソコンと通信を行うための通信コントローラの機能を備えるものである。   Note that a memory card is generally used as the external storage medium 6. When a memory card is used, the interface unit 5 is an interface circuit corresponding to the memory card standard. The external storage medium 6 can be replaced by a personal computer. That is, a configuration may be adopted in which a personal computer is connected to the interface unit 5 of the elevator control program update device 1 and a new control program stored in advance is transferred to the control program update device 1. In this case, the interface unit 5 has a function of a communication controller for communicating with a personal computer.

さらに、外部記憶媒体6の代わりに、遠隔監視センタの監視システムから新しい制御プログラムを転送したり、他の号機エレベータのエレベータ制御装置から新しい制御プログラムを転送することもできる。従って、以下、メモリカード,パソコン,遠隔監視センタの監視システム,他の号機エレベータの制御装置等を含んでプログラム転送装置6と総称する。このようにパソコン,遠隔監視センタの監視システム,他の号機エレベータの制御装置から新しい制御プログラムを転送する構成にすれば、エレベータが設置されている建物に作業員が出向いてメモリカードを装填するといった作業を省略し、新しい制御プログラムの書き換えを行うことが可能である。   Further, instead of the external storage medium 6, a new control program can be transferred from the monitoring system of the remote monitoring center, or a new control program can be transferred from the elevator control device of another elevator. Therefore, hereinafter, the program transfer device 6 is collectively referred to as including a memory card, a personal computer, a remote monitoring center monitoring system, and other elevator control devices. In this way, if a new control program is transferred from the personal computer, the monitoring system of the remote monitoring center, and the control device of other elevators, workers go to the building where the elevator is installed and load the memory card. It is possible to omit the work and rewrite a new control program.

前記運転制御処理部3としては、図2に示すように第1の制御プログラム記憶部23に記憶される第1の制御プログラムを実行する第1の制御プログラム実行手段11と、外部のプログラム転送装置6がエレベータ制御プログラム更新装置1に接続された後、当該プログラム転送装置6から所定の書き換え制御信号を受信したか否か、新たな制御プログラムの書き換え要求が有ったか否かを判断する書き換え要求判断手段12と、第2の制御プログラム書き換え手段13と、所定のコードデータ書き込み手段14と、第1の制御プログラム書き換え手段15とが設けられている。   As the operation control processing unit 3, as shown in FIG. 2, a first control program execution means 11 for executing a first control program stored in a first control program storage unit 23, and an external program transfer device 6 is connected to the elevator control program update device 1, and then a rewrite request for judging whether or not a predetermined rewrite control signal has been received from the program transfer device 6 and whether or not there has been a rewrite request for a new control program. A judging means 12, a second control program rewriting means 13, a predetermined code data writing means 14, and a first control program rewriting means 15 are provided.

第2の制御プログラム書き換え手段13は、第2の制御プログラム記憶部24に記憶される第2の制御プログラムをプログラム転送装置6から受信した新たな制御プログラムに書き換える処理を実行する。所定コード書き込み手段14は、第2の制御プログラム書き換え手段13による第2の制御プログラム記憶部24への新たな制御プログラムの書き込み終了後、書き換え中データ記憶部27に新しい制御プログラムの書き換え中を表す所定のコードデータを書き込む。第1の制御プログラム書き換え手段15は、所定コード書き込み手段14によって書き込まれた所定の書き換え中コードを認識し、第1の制御プログラム記憶部22に記憶される第1の制御プログラムを第2の制御プログラム記憶部23に記憶される新しい制御プログラムに書き換え処理する機能を有する。   The second control program rewriting unit 13 executes a process of rewriting the second control program stored in the second control program storage unit 24 with a new control program received from the program transfer device 6. The predetermined code writing unit 14 indicates that the new control program is being rewritten in the rewriting data storage unit 27 after the second control program rewriting unit 13 finishes writing the new control program to the second control program storage unit 24. Write predetermined code data. The first control program rewriting unit 15 recognizes the predetermined code being rewritten written by the predetermined code writing unit 14 and transfers the first control program stored in the first control program storage unit 22 to the second control program. It has a function of rewriting a new control program stored in the program storage unit 23.

次に、以上のようなエレベータ制御プログラム更新装置の動作について図3を参照して説明する。
エレベータ制御装置が起動すると、運転制御処理部3は、選択プログラム記憶部21に記憶される選択プログラムの選択順序に基づき第1の制御プログラム実行手段11を実行する。運転制御処理部3における第1の制御プログラム実行手段11は、書き換え中データ記憶部27に書き換え中を表す所定のコードデータが存在するか否かを判断する(S1)。書き換え中データ記憶部27に書き換え中を表す所定のコードデータが存在しない場合、第1の制御プログラム記憶部23に記憶される第1の制御プログラムを読み出し、当該第1の制御プログラムに記述される手順に従ってエレベータの運転制御や監視制御を行う(S2)。なお、図4に示すように、第1の制御プログラム記憶部23の第1の制御プログラムを揮発性記憶素子7に転送し、当該揮発性記憶素子7から第1の制御プログラムを読み出して実行する方法であってもよい。
Next, the operation of the elevator control program update device as described above will be described with reference to FIG.
When the elevator control device is activated, the operation control processing unit 3 executes the first control program execution unit 11 based on the selection order of the selection programs stored in the selection program storage unit 21. The first control program execution means 11 in the operation control processing unit 3 determines whether or not predetermined code data indicating rewriting is present in the rewriting data storage unit 27 (S1). When there is no predetermined code data indicating rewriting in the rewriting data storage unit 27, the first control program stored in the first control program storage unit 23 is read and described in the first control program. According to the procedure, elevator operation control and monitoring control are performed (S2). As shown in FIG. 4, the first control program in the first control program storage unit 23 is transferred to the volatile storage element 7, and the first control program is read from the volatile storage element 7 and executed. It may be a method.

このとき、第1の制御プログラム実行手段11は、第1の制御プログラムの実行中に、運転制御等を行うために設定データ(例えば演算パラメータ)が必要となった場合、第1の設定データ記憶部25を参照し、必要な設定データを読み出して運転制御等に用いる。なお、運転制御等の過程で得られるデータや入出力データは揮発性記憶素子4に記憶される。   At this time, the first control program execution means 11 stores the first setting data when setting data (for example, calculation parameters) is necessary to perform operation control or the like during execution of the first control program. Referring to the unit 25, necessary setting data is read out and used for operation control or the like. Note that data and input / output data obtained in the process of operation control and the like are stored in the volatile storage element 4.

また、第1の制御プログラム実行手段11は、第1の制御プログラムを実行するに当たり、例えば図4に示すように前述した揮発性記憶素子4とは別のスタティック(Static)RAMなどの揮発性記憶素子7を設け、第1の制御プログラム記憶部23から第1の制御プログラムを読み出して揮発性記憶素子7に書き込み、この書き込んだ第1の制御プログラムのもとに運転制御等を行ってもよい。   Further, the first control program execution unit 11 executes a first control program by, for example, a volatile memory such as a static RAM different from the volatile memory element 4 described above as shown in FIG. The element 7 may be provided, and the first control program may be read from the first control program storage unit 23 and written to the volatile storage element 7, and operation control or the like may be performed based on the written first control program. .

引き続き、運転制御処理部3は、書き換え要求判断手段12を実行する。運転制御処理部3の書き換え要求判断手段12は、外部のプログラム転送装置6から新しい制御プログラムの書き換え要求信号を受けたか否かを判断する(S3)。   Subsequently, the operation control processing unit 3 executes the rewrite request determination unit 12. The rewrite request determination means 12 of the operation control processing unit 3 determines whether or not a rewrite request signal for a new control program has been received from the external program transfer device 6 (S3).

ところで、期間の経過に伴って新しい制御プログラムの書き換えが生じたとき、プログラム転送装置6からインターフェース部5を通して所定の書き換え要求信号が送られてくるので、その書き換え要求信号を検出したとき、ステップS3にて書き換え要求有りと判断する。書き換え要求判断手段12は、書き換え要求有りと判断したとき、書き換えプログラム記憶部22の書き換えプログラムを実行し、新しい制御プログラムの書き換えを行う(S4)。また、ステップS3において、書き換え要求信号を受信しないとき、書き換え要求無しと判断し、ステップS2に戻り、第1の制御プログラムを実行し続ける。   By the way, when a new control program is rewritten as the period elapses, a predetermined rewrite request signal is sent from the program transfer device 6 through the interface unit 5. Therefore, when the rewrite request signal is detected, step S3 is performed. It is determined that there is a rewrite request. When the rewrite request determination unit 12 determines that there is a rewrite request, it executes the rewrite program in the rewrite program storage unit 22 and rewrites a new control program (S4). In step S3, when the rewrite request signal is not received, it is determined that there is no rewrite request, and the process returns to step S2 and continues to execute the first control program.

なお、書き換え要求の判断については、プログラム転送装置6からの書き換え要求信号だけでなく、例えばエレベータ制御装置1などに付設されるスイッチ(図示せず)が操作されたとき、その操作信号を検出して書き換え要求有りと判断してもよい。   As for the rewrite request determination, not only the rewrite request signal from the program transfer device 6 but also the operation signal is detected when a switch (not shown) attached to the elevator control device 1 is operated, for example. It may be determined that there is a rewrite request.

これらプログラム転送装置6からの書き換え要求信号または操作信号を検出したときに書き換えプログラムを実行させる処理については、予め第1の制御プログラム中に記述しておくことにより実現できる。   The process of executing the rewrite program when the rewrite request signal or the operation signal from the program transfer device 6 is detected can be realized by describing it in the first control program in advance.

運転制御処理部3は、以上のようにして書き換えプログラムを実行し、第2の制御プログラム書き換え手段13を実行する。運転制御処理部3は、第2の制御プログラム書き換え手段13を実行するに際し、所定の時間ごとに第1の制御プログラムと書き換えプログラムとを交互に実行し、見かけ上、2つのプログラムが同時に実行しているような処理を行う。   The operation control processing unit 3 executes the rewriting program as described above, and executes the second control program rewriting means 13. When the second control program rewriting unit 13 is executed, the operation control processing unit 3 alternately executes the first control program and the rewriting program every predetermined time, and apparently the two programs are executed simultaneously. The process is done.

よって、運転制御処理部3における第2の制御プログラム書き換え手段13は、書き換えプログラムを実行し、第2の制御プログラム記憶部24に記憶される第2の制御プログラムをプログラム転送装置6から受信した新しい制御プログラムに書き換えていく。なお、書き換えプログラムの実行時、プログラム転送装置6に新しい制御プログラムを実行する過程で使用する設定データが格納されている場合には第2の設定データ記憶部26の設定データも同時に書き換える。これにより、新しい制御プログラムと設定データとの整合性を保つことができる。   Therefore, the second control program rewriting unit 13 in the operation control processing unit 3 executes the rewriting program and receives the second control program stored in the second control program storage unit 24 from the program transfer device 6. Rewrite the control program. When the rewriting program is executed, if the setting data used in the process of executing the new control program is stored in the program transfer device 6, the setting data in the second setting data storage unit 26 is rewritten at the same time. Thereby, the consistency between the new control program and the setting data can be maintained.

しかる後、新しい制御プログラムの書き換え終了したか否かを判断し(S5)、未だ新しい制御プログラムの全部が書き換えられていない場合、ステップS6に移行して書き換えプログラムの実行時間が所定時間t1経過したか否かを判断する。ここで、所定時間t1が経過していないと判断した場合にはステップS4に戻り、書き換えプログラムを実行し続ける。一方、所定時間t1が経過したと判断した場合には再度第1の制御プログラムを実行し(S7)、第1の制御プログラムの実行時間が所定時間t1を経過したか否かを判断する(S8)。所定時間t1を経過していないと判断した場合にはステップS7に戻り、第1の制御プログラムの実行を継続する。従って、第2の制御プログラム書き換え手段13は、エレベータの運転制御や監視制御を継続するとともに、新しい制御プログラムの書き換えもほとんど同時に行われる。   Thereafter, it is determined whether or not rewriting of the new control program has been completed (S5). If all of the new control program has not yet been rewritten, the process proceeds to step S6 and the execution time of the rewriting program has elapsed for a predetermined time t1. Determine whether or not. If it is determined that the predetermined time t1 has not elapsed, the process returns to step S4, and the rewriting program is continuously executed. On the other hand, when it is determined that the predetermined time t1 has elapsed, the first control program is executed again (S7), and it is determined whether or not the execution time of the first control program has passed the predetermined time t1 (S8). ). If it is determined that the predetermined time t1 has not elapsed, the process returns to step S7, and the execution of the first control program is continued. Therefore, the second control program rewriting means 13 continues the elevator operation control and the monitoring control, and the new control program is rewritten almost at the same time.

一方、ステップS5において、新しい制御プログラムの書き換えが終了したと判断した場合、運転制御処理部3は、所定コード書き込み手段14を実行する。所定コード書き込み手段14は、新しい制御プログラムに書き換え終了したと判断したとき、書き換え中データ記憶部27に所定のコードを書き込むことにより(S9)、第1の制御プログラム記憶部23への新しい制御プログラムの書き換えを促す。ここで、所定のコードを書き込んだ後、エレベータの運転停止の有無を判断し(S10)、エレベータが呼びに応答して運転中の場合にはステップS2に移行し、同様の処理を繰り返し実行する。   On the other hand, if it is determined in step S5 that the rewriting of the new control program has been completed, the operation control processing unit 3 executes the predetermined code writing means 14. When the predetermined code writing means 14 determines that the rewriting to the new control program has been completed, the predetermined code writing means 14 writes a predetermined code in the data storage unit 27 being rewritten (S9), whereby a new control program to the first control program storage unit 23 is obtained. Encourage rewriting. Here, after writing a predetermined code, it is determined whether or not the elevator is stopped (S10). If the elevator is in operation in response to a call, the process proceeds to step S2, and the same process is repeated. .

ステップS10において、エレベータが全ての呼びに応答し終わって停止し、ドアが閉じたとき、エレベータが停止したと判断し、運転制御処理部3を再起動させる。   In step S10, the elevator stops after answering all calls, and when the door is closed, it is determined that the elevator has stopped, and the operation control processing unit 3 is restarted.

運転制御処理部3は、再起動後、選択プログラム記憶部21の選択プログラムに基づいて書き換え中データ記憶部27に書き換え中を表す所定のコードが書き込まれているか判断する(S1)。ここで、書き換え中データ記憶部27に所定のコードデータが書き込まれていることを確認したとき、第2の制御プログラム記憶部23を選択して第2の制御プログラムを実行し(S11)、第1の制御プログラム書き換え手段15を実行する。   After the restart, the operation control processing unit 3 determines whether a predetermined code indicating rewriting is written in the rewriting data storage unit 27 based on the selection program in the selection program storage unit 21 (S1). Here, when it is confirmed that predetermined code data is written in the rewriting data storage unit 27, the second control program storage unit 23 is selected to execute the second control program (S11). 1 control program rewriting means 15 is executed.

すなわち、運転制御処理部3における第1の制御プログラム書き換え手段15は、第2の制御プログラム記憶部24に記憶される新しい第2の制御プログラムと書き換えプログラム記憶部22に記憶される書き換えプログラムとを呼び出す。そして、予め定める所定の時間t2ごとに第2の制御プログラムと書き換えプログラムとを交互に実行し、見かけ上、2つのプログラムが同時に実行され、第2の制御プログラムに記述された手順に従ってエレベータの運転制御や監視制御を行うと共に、第1の制御プログラム記憶部23に記憶される第1の制御プログラムを、新しい第2の制御プログラムに書き換えていく。なお、書き換えプログラムの実行時、第2の設定データ記憶部26に新しい第2の制御プログラムの実行時に用いる第2の設定データが記憶されている場合には第1の設定データ記憶部25の設定データも書き換える。   That is, the first control program rewriting means 15 in the operation control processing unit 3 obtains a new second control program stored in the second control program storage unit 24 and a rewrite program stored in the rewrite program storage unit 22. call. Then, the second control program and the rewriting program are alternately executed at every predetermined time t2, and apparently the two programs are executed simultaneously, and the elevator is operated according to the procedure described in the second control program. In addition to performing control and monitoring control, the first control program stored in the first control program storage unit 23 is rewritten with a new second control program. Note that when the second setting data storage unit 26 stores the second setting data to be used when executing the new second control program, the setting of the first setting data storage unit 25 is performed. Rewrite data.

すなわち、運転制御処理部3における第1の制御プログラム書き換え手段15は、第2の制御プログラムを実行した後(S11)、当該第2の制御プログラムの実行時間が所定時間t2を経過したか否かを判断する(S12)。ここで、第2の制御プログラムの実行時間が所定時間t2経過していないと判断された場合にはステップS11に戻り、第2の制御プログラムの実行を継続する。一方、所定時間t2経過していると判断した場合には書き換えプログラムを実行し(S13)、第1の制御プログラム記憶部23の第1の制御プログラムを新しい第2の制御プログラムに書き換える処理を実行する。   That is, the first control program rewriting means 15 in the operation control processing unit 3 executes the second control program (S11), and then whether or not the execution time of the second control program has passed the predetermined time t2. Is determined (S12). Here, when it is determined that the execution time of the second control program has not elapsed the predetermined time t2, the process returns to step S11, and the execution of the second control program is continued. On the other hand, when it is determined that the predetermined time t2 has elapsed, a rewriting program is executed (S13), and a process of rewriting the first control program in the first control program storage unit 23 with a new second control program is executed. To do.

その後、新しい第2の制御プログラムの書き換えが終了したか否かを判断し(S14)、未だ書き換えが終了していない場合には、書き換えプログラムの実行時間が所定時間t2を経過したか否かを判断し(S15)、所定時間t2を経過していない場合にはステップS13に戻り、書き換えプログラムを継続実行する。また、書き換えプログラムの実行時間が所定時間t2を経過した場合にはステップS11に戻り、再度新しい第2の制御プログラムを実行し、同様の処理を繰り返す。   Thereafter, it is determined whether or not rewriting of the new second control program has been completed (S14). If rewriting has not yet been completed, it is determined whether or not the execution time of the rewriting program has passed the predetermined time t2. If it is determined (S15) and the predetermined time t2 has not elapsed, the process returns to step S13, and the rewriting program is continuously executed. When the execution time of the rewriting program has passed the predetermined time t2, the process returns to step S11, the new second control program is executed again, and the same processing is repeated.

一方、ステップS14において、第2の制御プログラムの書き換えが終了したと判断した場合には、書き換え中データ記憶部27の書き換え中を表す所定のコードを消去した後(S16)、ステップS10に移行し、未だエレベータが停止中であるか否かを判断する。ここで、エレベータが運転中であればステップS2に戻り、エレベータが未だ停止中であればステップS1に戻り、それぞれ前述した一連の処理を繰り返し実行する。   On the other hand, if it is determined in step S14 that the rewriting of the second control program has been completed, the predetermined code indicating that the rewriting data storage unit 27 is being rewritten is deleted (S16), and then the process proceeds to step S10. It is determined whether or not the elevator is still stopped. Here, if the elevator is in operation, the process returns to step S2, and if the elevator is still stopped, the process returns to step S1, and the series of processes described above are repeated.

以上のような実施の形態によれば、外部のプログラム転送装置6から更新すべき新しい制御プログラムが転送されてきたとき、常時実行中の第1の制御プログラムと書き換えプログラムとを交互に実行し、エレベータの運転制御等を行うとともに、第2の制御プログラム記憶部24の第2の制御プログラムを新しい制御プログラムに書き換えるので、エレベータの運転に支障を与えることなく、第2の制御プログラム記憶部24に新しい制御プログラムを書き込むことができる。   According to the embodiment as described above, when a new control program to be updated is transferred from the external program transfer device 6, the first control program and the rewriting program that are always executed are alternately executed, In addition to performing elevator operation control and the like, the second control program in the second control program storage unit 24 is rewritten with a new control program, so that the second control program storage unit 24 does not interfere with the operation of the elevator. A new control program can be written.

そして、第2の制御プログラム記憶部24に新しい制御プログラムに書き込んだ後、書き換え中データ記憶部27に所定のコードデータを設定するので、例えばエレベータの停止時に選択プログラムを起動させて所定のコードデータの存在を確認したとき、既に書き換えた第2の制御プログラム記憶部24の新しい第2の制御プログラムと書き換えプログラムとを交互に実行し、エレベータの運転制御等を実施するとともに、第1の制御プログラム記憶部23の第1の制御プログラムを新しい第2の制御プログラムに書き換える。よって、エレベータの運転を停止させることなく第1の制御プログラム記憶部23の制御プログラムを新しい制御プログラムを書き換えることができる。   Then, after writing the new control program in the second control program storage unit 24, the predetermined code data is set in the rewriting data storage unit 27. For example, when the elevator is stopped, the selection program is started and the predetermined code data is set. When the existence of the vehicle is confirmed, the new second control program and the rewritten program in the second control program storage unit 24 that has been rewritten are alternately executed to control the operation of the elevator and the first control program. The first control program in the storage unit 23 is rewritten with a new second control program. Therefore, a new control program can be rewritten to the control program in the first control program storage unit 23 without stopping the operation of the elevator.

(その他の実施の形態)
(1) 上記実施の形態では、プログラム転送装置6から転送されてくる新しい制御プログラムを第2の制御プログラム記憶部24及び第1の制御プログラム記憶部23の選択順序に従って書き換え処理したが、例えば常時実行中の第1の制御プログラム記憶部23の第1の制御プログラムに新しい制御プログラムを書き込んだ後、第2の制御プログラム記憶部24の第2の制御プログラムを新しい制御プログラムに書き換える順序であってもよい。この場合には、第2の制御プログラム書き換え手段13に代えて、書き換え要求判断手段12の実行後に第1の制御プログラム書き換え手段が実行される。同様に第1の制御プログラム書き換え手段15に代えて、所定コード書込み手段14の実行後に第2の制御プログラム書き換え手段が実行される。
(Other embodiments)
(1) In the above embodiment, the new control program transferred from the program transfer device 6 is rewritten according to the selection order of the second control program storage unit 24 and the first control program storage unit 23. After a new control program is written in the first control program in the first control program storage unit 23 being executed, the second control program in the second control program storage unit 24 is rewritten to a new control program. Also good. In this case, instead of the second control program rewriting means 13, the first control program rewriting means is executed after execution of the rewrite request determination means 12. Similarly, instead of the first control program rewriting means 15, the second control program rewriting means is executed after execution of the predetermined code writing means 14.

これにより、前述した実施の形態と同様の効果を奏することができる。   Thereby, the same effects as those of the above-described embodiment can be obtained.

(2) 上記実施の形態では、一つの不揮発性記憶素子2内に選択プログラム記憶部21、書き換えプログラム記憶部22、制御プログラムを記憶する第1及び第2の制御プログラム記憶部23,24、設定データを記憶する第1及び第2の設定データ記憶部25,26及び書き換え中データ記憶部27等の各記憶領域を形成したが、例えば図5に示すように選択プログラムデータ及び書き換えプログラムデータは例えばマスクROMなどの安価な記憶素子2aに記憶させ、第1、第2の制御プログラムデータはフラッシュROMなどの記憶素子2bに記憶させる。また、1バイト単位で書き換える例えば第1、第2の設定データや書き換え中データは、1バイト単位で書き換え可能なEEPROMなどの記憶素子2cに記憶させるようにしてもよい。 (2) In the above embodiment, the selected program storage unit 21, the rewrite program storage unit 22, the first and second control program storage units 23 and 24 for storing the control program, and the setting in one nonvolatile storage element 2. The storage areas such as the first and second setting data storage units 25 and 26 and the data rewriting data storage unit 27 for storing data are formed. For example, as shown in FIG. It is stored in an inexpensive storage element 2a such as a mask ROM, and the first and second control program data are stored in a storage element 2b such as a flash ROM. For example, the first and second setting data to be rewritten in units of 1 byte and data being rewritten may be stored in a storage element 2c such as an EEPROM that can be rewritten in units of 1 byte.

これにより、複数の記憶素子2a〜2cに分けて各種のプログラムデータや設定データを記憶させることにより、コストを低減化しつつ最適な記憶素子を用いて実現することができる。   Thereby, it can implement | achieve using an optimal memory element, reducing cost by dividing various program data and setting data into several memory elements 2a-2c.

(3) また、上記実施の形態では、第1の制御プログラムと第2の制御プログラムとの選択は、選択プログラムに規定される選択順序に従って行われたが、例えばエレベータ制御装置1の適宜な記憶手段やプログラム転送装置6に規定される指定データに従って第1の制御プログラム及び第2の制御プログラムを選択する構成であってもよい。 (3) In the above embodiment, the selection between the first control program and the second control program is performed according to the selection order defined in the selection program. For example, appropriate storage of the elevator control device 1 is performed. The configuration may be such that the first control program and the second control program are selected in accordance with the designation data defined in the means and the program transfer device 6.

(4) また、上記実施の形態では、第1の制御プログラムと第2の制御プログラムとの選択切り換えは、エレベータ制御装置ないし運転制御処理部3の起動時、再起動時に行うようにしたが、他のタイミング信号を用いて制御プログラムの選択切り換えを行う構成であってもよい。例えば図6に示すように、選択プログラム記憶部21にはOS(オペレーションシステム)21aと割り込みハンドラ21bとを記憶する。第1の制御プログラム記憶部23には、前記OS21aによって起動される複数のタスク23aa,…,23anと前記割り込みハンドラ21bによって起動される複数の割り込みサービスルーチン23ba,…,23bnとを記憶する。さらに、第2の制御プログラム記憶部24には、第1の制御プログラム記憶部23と同様に、OS21aによって起動される複数のタスク24aa,…,24anと前記割り込みハンドラ21bによって起動される複数の割り込みサービスルーチン24ba,…,24bnとを記憶する。 (4) In the above embodiment, the selection switching between the first control program and the second control program is performed when the elevator control device or the operation control processing unit 3 is started or restarted. The configuration may be such that the control program selection is switched using another timing signal. For example, as shown in FIG. 6, the selected program storage unit 21 stores an OS (operation system) 21a and an interrupt handler 21b. The first control program storage unit 23 stores a plurality of tasks 23aa,..., 23an activated by the OS 21a and a plurality of interrupt service routines 23ba, ..., 23bn activated by the interrupt handler 21b. Further, in the same way as the first control program storage unit 23, the second control program storage unit 24 includes a plurality of tasks 24aa,..., 24an activated by the OS 21a and a plurality of interrupts activated by the interrupt handler 21b. Service routines 24ba,..., 24bn are stored.

そして、選択プログラム記憶部21に記憶されるOS21aによって起動されるタスク単位ごとに第1の制御プログラムと第2の制御プログラムとを選択切り換えする。また、選択プログラム記憶部21に記憶される割り込みハンドラ21bによって起動される割り込みサービスルーチン単位ごとに第1の制御プログラムと第2の制御プログラムとを選択切り換えする構成であってもよい。   Then, the first control program and the second control program are selectively switched for each task unit activated by the OS 21a stored in the selected program storage unit 21. Alternatively, the first control program and the second control program may be selectively switched for each interrupt service routine unit activated by the interrupt handler 21b stored in the selected program storage unit 21.

このような構成とすることにより、書き換える可能性がある処理を含んだタスク23aa,…,23an、24aa,…,24anと割り込みサービスルーチン23ba,…,23bn、24ba,…,24bnのみを重複して記憶するだけでよいので、不揮発性記憶素子2の記憶容量を小さくすることができる。   With such a configuration, only the tasks 23aa,..., 23an, 24aa,..., 24an including processing that may be rewritten and the interrupt service routines 23ba, ..., 23bn, 24ba,. Since only the storage is required, the storage capacity of the nonvolatile storage element 2 can be reduced.

その他、本発明は、上記実施の形態に限定されるものでなく、その要旨を逸脱しない範囲で種々変形して実施できる。   In addition, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention.

本発明に係るエレベータ制御プログラム更新装置の一実施形態を示す構成図。The block diagram which shows one Embodiment of the elevator control program update apparatus which concerns on this invention. 図1の運転制御処理部の一例を示す機能ブロック図。The functional block diagram which shows an example of the operation control process part of FIG. 本発明に係るエレベータ制御プログラム更新装置の処理動作を説明するフローチャート。The flowchart explaining the processing operation of the elevator control program update apparatus which concerns on this invention. 本発明に係るエレベータ制御プログラム更新装置の他の実施形態を示す構成図。The block diagram which shows other embodiment of the elevator control program update apparatus which concerns on this invention. 本発明に係るエレベータ制御プログラム更新装置のさらに他の実施形態を示す構成図。The block diagram which shows other embodiment of the elevator control program update apparatus which concerns on this invention. 本発明に係るエレベータ制御プログラム更新装置のさらに他の実施形態を説明する不揮発性記憶素子の内部プログラム構造図。The internal program structure figure of the non-volatile memory element explaining further another embodiment of the elevator control program update apparatus which concerns on this invention.

符号の説明Explanation of symbols

1…制御装置、2…不揮発性記憶素子、2a,2b,2c…記憶素子、3…運転制御処理部、5…インターフェース部、6…プログラム転送装置、11…第1の制御プログラム実行手段、12…書き換え要求判断手段、13…第2の制御プログラム書き換え手段、14…所定コード書き込み手段、15…第1の制御プログラム書き換え手段、21…選択プログラム記憶部、21a…OS(オペレーションシステム)、21b…割り込みハンドラ、22…書き換えプログラム記憶部、23…第1の制御プログラム記憶部、23aa,…,23an…タスク、23ba,…,23bn…割り込みサービスルーチン、24…第2の制御プログラム記憶部、24aa,…,24an…タスク、24ba,…,24bn…割り込みサービスルーチン、25…第1の設定データ記憶部、26…第2の設定データ記憶部、27…書き換え中データ記憶部。   DESCRIPTION OF SYMBOLS 1 ... Control apparatus, 2 ... Nonvolatile memory element, 2a, 2b, 2c ... Memory element, 3 ... Operation control process part, 5 ... Interface part, 6 ... Program transfer apparatus, 11 ... 1st control program execution means, 12 ... rewrite request judging means, 13 ... second control program rewriting means, 14 ... predetermined code writing means, 15 ... first control program rewriting means, 21 ... selected program storage section, 21a ... OS (operation system), 21b ... Interrupt handler, 22 ... rewrite program storage unit, 23 ... first control program storage unit, 23aa, ..., 23an ... task, 23ba, ..., 23bn ... interrupt service routine, 24 ... second control program storage unit, 24aa, ..., 24an ... task, 24ba, ..., 24bn ... interrupt service routine, 25 ... 1 of the setting data storage unit, 26 ... second setting data storage unit, 27 ... rewritten in data storage unit.

Claims (10)

コンピュータによって制御プログラムを実行し、エレベータの運転制御や監視制御を行うエレベータ制御装置において、
第1の制御プログラムを記憶する第1の制御プログラム記憶部と、
第2の制御プログラムを記憶する第2の制御プログラム記憶部と、
書き換えプログラムを記憶する書き換えプログラム記憶部と、
前記第1の制御プログラム及び前記第2の制御プログラムの選択順序を規定する選択プログラムを記憶する選択プログラム記憶部と、
外部のプログラム転送装置から新しい制御プログラムを受信したとき、前記選択プログラムに従って前記第1の制御プログラム記憶部及び前記第2の制御プログラム記憶部の何れかを選択し、かつ当該選択プログラムの選択順序に従って選択された前記プログラム記憶部の制御プログラムを前記書き換えプログラムにより前記新しい制御プログラムに書き換える一方、書き換え中でない他方の制御プログラム記憶部の制御プログラムを用いて前記運転制御を実行する前記コンピュータである運転制御処理部とを備えたことを特徴とするエレベータ制御プログラム更新装置。
In an elevator control device that executes a control program by a computer and performs operation control and monitoring control of the elevator,
A first control program storage unit for storing a first control program;
A second control program storage unit for storing a second control program;
A rewrite program storage unit for storing the rewrite program;
A selection program storage unit that stores a selection program that defines a selection order of the first control program and the second control program;
When a new control program is received from an external program transfer device, either the first control program storage unit or the second control program storage unit is selected according to the selection program, and according to the selection order of the selection program Operation control which is the computer which executes the operation control using the control program of the other control program storage unit which is not being rewritten while the control program of the selected program storage unit is rewritten to the new control program by the rewriting program An elevator control program update device comprising a processing unit.
請求項1に記載のエレベータ制御プログラム更新装置において、
前記運転制御処理部は、常時は前記選択プログラムによって選択される前記第1の制御プログラム記憶部の第1の制御プログラムを実行し、外部のプログラム転送装置から新しい制御プログラムを受信したとき、前記選択プログラムに従って前記第2の制御プログラム記憶部の第2の制御プログラムを選択し、かつこの選択された第2の制御プログラムを前記書き換えプログラムにより前記新しい制御プログラムに書き換えている間、前記第1の制御プログラム記憶部の第1の制御プログラムを選択し、運転制御を実行することを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to claim 1,
The operation control processing unit always executes the first control program of the first control program storage unit selected by the selection program, and receives the new control program from an external program transfer device, the selection While the second control program in the second control program storage unit is selected according to the program and the selected second control program is rewritten to the new control program by the rewrite program, the first control is performed. An elevator control program update device, wherein a first control program in a program storage unit is selected and operation control is executed.
請求項1に記載のエレベータ制御プログラム更新装置において、
前記運転制御処理部は、常時は前記選択プログラムによって選択される前記第1の制御プログラム記憶部の第1の制御プログラムを実行し、外部のプログラム転送装置から新しい制御プログラムを受信したとき、前記選択プログラムに従って前記第1の制御プログラム記憶部を選択し、かつこの選択された第1の制御プログラムを前記書き換えプログラムにより前記新しい制御プログラムに書き換えている間、前記第2の制御プログラム記憶部の第2の制御プログラムを選択し、運転制御を実行することを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to claim 1,
The operation control processing unit always executes the first control program of the first control program storage unit selected by the selection program, and receives the new control program from an external program transfer device, the selection While the first control program storage unit is selected according to the program, and the selected first control program is rewritten to the new control program by the rewrite program, the second control program storage unit An elevator control program update device, wherein the control program is selected and operation control is executed.
請求項1ないし請求項3の何れか一項に記載のエレベータ制御プログラム更新装置において、
前記運転制御処理部は、前記書き換えプログラムによる前記第1又は第2の制御プログラムに対する新しい制御プログラムへの書き換え処理と書き換え処理中でない前記第2または第1の制御プログラムによる運転制御とを交互に行うことを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to any one of claims 1 to 3,
The operation control processing unit alternately performs rewriting processing of the first or second control program to the new control program by the rewriting program and operation control by the second or first control program not being rewritten. An elevator control program update device characterized by that.
請求項1ないし請求項3の何れか一項に記載のエレベータ制御プログラム更新装置において、
前記書き換えプログラムによって前記第1又は前記第2の制御プログラムを新しい制御プログラムに書き換えた後、所定のデータを設定し、当該所定のデータから未だ新しい制御プログラムに書き換えていない前記第2又は第1の制御プログラムに対する前記新しい制御プログラムへの書き換えを促すことを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to any one of claims 1 to 3,
After the first or second control program is rewritten to a new control program by the rewrite program, predetermined data is set, and the second or first data that has not yet been rewritten from the predetermined data to a new control program An elevator control program update device that prompts rewriting of the control program to the new control program.
請求項1ないし請求項3の何れか一項に記載のエレベータ制御プログラム更新装置において、
前記第1及び第2の制御プログラムの選択順序は、前記選択プログラム、前記エレベータ制御装置、前記プログラム転送装置の何れか一つに定められる指定データの順序に従うことを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to any one of claims 1 to 3,
The selection order of the first and second control programs follows the order of designated data determined in any one of the selection program, the elevator control device, and the program transfer device. .
請求項1ないし請求項3の何れか一項に記載のエレベータ制御プログラム更新装置において、
前記第1の制御プログラムと前記第2の制御プログラムの選択切り換えは、前記エレベータ制御装置の起動時、制御プログラム内のタスク起動時、制御プログラム内の割り込みサービスルーチンの起動時のうち、何れか1つの起動時に行うことを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to any one of claims 1 to 3,
The selection switching between the first control program and the second control program is any one of when the elevator control device is activated, when a task in the control program is activated, and when an interrupt service routine in the control program is activated. Elevator control program update device, which is performed at the time of starting two.
請求項1に記載のエレベータ制御プログラム更新装置において、
前記プログラム転送装置は、メモリカード,パソコン,遠隔監視センタの監視システム,他の号機エレベータの制御装置の何れか1つを用いて新しい制御プログラムを受信することを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to claim 1,
An elevator control program update device, wherein the program transfer device receives a new control program by using any one of a memory card, a personal computer, a remote monitoring center monitoring system, and another elevator control device.
請求項1ないし請求項3の何れか一項に記載のエレベータ制御プログラム更新装置において、
前記第1の制御プログラムの実行時に用いる第1の設定データを記憶する第1の設定データ記憶部と、
前記第2の制御プログラムの実行時に用いる第2の設定データを記憶する第2の設定データ記憶部と、
前記書き換えプログラムによる新しい制御プログラムの書き換え時に前記第1の設定データ記憶部又は前記第2の設定データ記憶部に記憶される前記第1の設定データ又は前記第2の設定データを、当該新しい制御プログラムの実行時に用いる新しい設定データに書き換える手段とを更に備えたことを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to any one of claims 1 to 3,
A first setting data storage unit for storing first setting data used when executing the first control program;
A second setting data storage unit for storing second setting data used when executing the second control program;
When the new control program is rewritten by the rewrite program, the first setting data or the second setting data stored in the first setting data storage unit or the second setting data storage unit is used as the new control program. An elevator control program updating apparatus, further comprising means for rewriting new setting data used at the time of execution.
請求項1又は請求項9に記載のエレベータ制御プログラム更新装置において、
前記第1の制御プログラム記憶部と、前記第2の制御プログラム記憶部と、前記書き換えプログラム記憶部と、前記選択プログラム記憶部と、前記第1の設定データ記憶部と、前記第2の設定データ記憶部は、少なくとも一つの記憶素子に領域分けして設けたことを特徴とするエレベータ制御プログラム更新装置。
In the elevator control program update device according to claim 1 or 9,
The first control program storage unit, the second control program storage unit, the rewrite program storage unit, the selection program storage unit, the first setting data storage unit, and the second setting data An elevator control program update device, wherein the storage unit is provided in at least one storage element divided into regions.
JP2005273975A 2005-09-21 2005-09-21 Elevator control program updating device Pending JP2007084232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005273975A JP2007084232A (en) 2005-09-21 2005-09-21 Elevator control program updating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005273975A JP2007084232A (en) 2005-09-21 2005-09-21 Elevator control program updating device

Publications (1)

Publication Number Publication Date
JP2007084232A true JP2007084232A (en) 2007-04-05

Family

ID=37971630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005273975A Pending JP2007084232A (en) 2005-09-21 2005-09-21 Elevator control program updating device

Country Status (1)

Country Link
JP (1) JP2007084232A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009155092A (en) * 2007-12-27 2009-07-16 Toshiba Elevator Co Ltd Elevator control device
JP2020102141A (en) * 2018-12-25 2020-07-02 東芝テック株式会社 Information processing device and program

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04337856A (en) * 1991-05-15 1992-11-25 Toshiba Corp Management system for duplexing storage device
JPH05204880A (en) * 1992-01-30 1993-08-13 Yokogawa Electric Corp Dual computer system
JPH06259336A (en) * 1993-03-04 1994-09-16 Hitachi Ltd Information processing system equipped with dual common extended storage device
JPH08104474A (en) * 1994-10-05 1996-04-23 Hitachi Ltd Communication device of elevator
JP2000128447A (en) * 1998-10-27 2000-05-09 Mitsubishi Electric Building Techno Service Co Ltd Elevator control program rewriting device
JP2001010772A (en) * 1999-06-28 2001-01-16 Mitsubishi Electric Corp Control device for elevator
JP2001236258A (en) * 1999-12-16 2001-08-31 Hitachi Ltd Storage controller
JP2001240337A (en) * 2000-02-29 2001-09-04 Toshiba Elevator Co Ltd Elevator control device and elevator remote monitoring device
JP2003262340A (en) * 2002-03-07 2003-09-19 Sharp Corp Cooking apparatus
JP2005082291A (en) * 2003-09-05 2005-03-31 Mitsubishi Electric Corp Elevator control device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04337856A (en) * 1991-05-15 1992-11-25 Toshiba Corp Management system for duplexing storage device
JPH05204880A (en) * 1992-01-30 1993-08-13 Yokogawa Electric Corp Dual computer system
JPH06259336A (en) * 1993-03-04 1994-09-16 Hitachi Ltd Information processing system equipped with dual common extended storage device
JPH08104474A (en) * 1994-10-05 1996-04-23 Hitachi Ltd Communication device of elevator
JP2000128447A (en) * 1998-10-27 2000-05-09 Mitsubishi Electric Building Techno Service Co Ltd Elevator control program rewriting device
JP2001010772A (en) * 1999-06-28 2001-01-16 Mitsubishi Electric Corp Control device for elevator
JP2001236258A (en) * 1999-12-16 2001-08-31 Hitachi Ltd Storage controller
JP2001240337A (en) * 2000-02-29 2001-09-04 Toshiba Elevator Co Ltd Elevator control device and elevator remote monitoring device
JP2003262340A (en) * 2002-03-07 2003-09-19 Sharp Corp Cooking apparatus
JP2005082291A (en) * 2003-09-05 2005-03-31 Mitsubishi Electric Corp Elevator control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009155092A (en) * 2007-12-27 2009-07-16 Toshiba Elevator Co Ltd Elevator control device
JP2020102141A (en) * 2018-12-25 2020-07-02 東芝テック株式会社 Information processing device and program
JP7206106B2 (en) 2018-12-25 2023-01-17 東芝テック株式会社 Information processing device and program

Similar Documents

Publication Publication Date Title
US20110283274A1 (en) Firmware image update and management
KR100415371B1 (en) Computer
CN102033790A (en) Method and device for upgrading embedded-type system BOOTROM
JP2005071303A (en) Program starting device
JP4784100B2 (en) Processing device and firmware download method thereof.
JP3830867B2 (en) Single-chip microcomputer and its boot area switching method
JP2007084232A (en) Elevator control program updating device
JP4854995B2 (en) Elevator control device
JP2003271420A (en) Electronic control device
JP2008226111A (en) Duplication controller system and operation system controller
JP2007087269A (en) Software update system, update method and program
JP5158883B2 (en) Firmware update method and firmware update apparatus
JP2001147862A (en) Flash memory writing method
JP5002900B2 (en) Control device, its program, and program download method
JP2002073360A (en) Start information rewrite device
JP2005321967A (en) Information processor
JP2003122575A (en) Information processing unit
JP2002024044A (en) Controller
JP2005332228A (en) Program switching controller
JP2003242046A (en) Information processor, and operational method and program for information processor
JP4876459B2 (en) Multiprocessor system, multiprocessor system activation method, and portable terminal
JP2022024904A (en) Firmware updating system and firmware updating method
JP2020004448A (en) Automotive electronic control device
JP2008024421A (en) Elevator controller
JP2001265602A (en) Program booting system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080418

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110426

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110823