JP3694817B2 - Programmable controller - Google Patents

Programmable controller Download PDF

Info

Publication number
JP3694817B2
JP3694817B2 JP11392396A JP11392396A JP3694817B2 JP 3694817 B2 JP3694817 B2 JP 3694817B2 JP 11392396 A JP11392396 A JP 11392396A JP 11392396 A JP11392396 A JP 11392396A JP 3694817 B2 JP3694817 B2 JP 3694817B2
Authority
JP
Japan
Prior art keywords
module
power failure
cpu
holding area
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP11392396A
Other languages
Japanese (ja)
Other versions
JPH09297606A (en
Inventor
保彦 村井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries 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 Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP11392396A priority Critical patent/JP3694817B2/en
Publication of JPH09297606A publication Critical patent/JPH09297606A/en
Application granted granted Critical
Publication of JP3694817B2 publication Critical patent/JP3694817B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はカウンタモジュール、位置決めモジュール、アスキーモジュール等の特殊モジュール及びCPUモジュールを搭載したプログラマブルコントローラ、特に、その特殊モジュールの停電保持機能に関するものである。
【0002】
【従来の技術】
従来この種のプログラマブルコントローラにおいて、カウンタモジュールを使用して生産管理をしているとき、例えばベルトコンベア上を送られてくる製品を光電スイッチにより検出して、カウンタモジュールによりその数量を計数し、所定数毎に区分けする生産管理を行っているときに、生産途中(計数途中)に機械を停止して電源を切る必要があった場合(:メインテナンスのために機械を停止させる場合、休息時間やその日の生産が終わるなどの場合)においては、再度電源を投入して前回の続きで制御動作を行わせる必要がある。このような場合の処理には、カウンタモジュールに停電保持機能が必要とされている。
【0003】
このカウンタモジュールにおいて計数値の停電保持を行う場合には従来次の2つの方法がある。
a)カウンタモジュール側にバックアップ用バッテリや大容量コンデンサを搭載する方法。
b)カウンタモジュール側にはバックアップ機能を設けずに、ユーザプログラムによってCPUモジュールの停電保持エリア(レジスタ)を利用してバックアップを行う方法。この方法は、具体的には、動作時にはカウンタの経過値エリアに書き込まれている計数値を常時読み出して、CPUモジュールの停電保持エリアに書き込み、動作開始時にCPUモジュールの停電保持エリアからカウンタモジュールの経過値エリアに書き込むことにより行われる。図4はこの処理方法のユーザプログラムの一例を示す図である。
【0004】
【発明が解決しようとする課題】
プログラマブルコントローラに搭載されたCPUモジュールはその性質上メモリのバックアップが必要であり、そのためのバックアップ用バッテリが搭載されているが、上記のa)の処理方法を採用した場合においては、CPUモジュールだけでなく、カウンタモジュールにもバックアップ用バッテリや大容量コンデンサを搭載する必要があるので、コストアップに繋がる。また、バックアップ用バッテリを用いた場合には、CPUモジュールだけでなく、カウンタモジュールについてもバッテリ交換というメンテナンス作業が定期的に必要となる。
更に、上記のb)の処理方法ではユーザプログラムが必要となるため、ユーザに負担がかかる。
【0005】
本発明は、上記の問題点を解決するためになされたものであり、カウンタモジュール等の特殊モジュールにおいて生成された情報若しくは外部から入力された情報又はそのモジュールにおいて停電保持が必要なプログラム或いはデータを停電時に保持させるのに際して、コストアップに繋がることなく、メンテナンス作業が増加せず、且つ、ユーザに負担がかかるような事態を避けることを可能にしたプログラマブルコントローラを提供することを目的とする。
【0006】
【課題を解決するための手段】
本発明に係るプログラマブルコントローラは、所定の演算処理をする特殊モジュールと、停電時にデータ等を保持する停電保持エリアを有し、特殊モジュール出力を含む各種の信号に基づいて所定の演算処理を行うCPUモジュールとを有するプログラマブルコントローラにおいて、特殊モジュールは、電源投入時にCPUモジュールの停電保持エリアに書込まれている所定の情報を読み出してその情報を基礎として所定の演算処理をし、そして、演算処理により生成された情報又は外部から入力された情報を所定の情報としてCPUモジュールに送信して停電保持エリアに書き込ませる。
ここで、特殊モジュールがカウンタモジュールの場合については、電源投入時にCPUモジュールの停電保持エリアに書込まれている現在経過値を読み出してその現在経過値を基礎として計数処理をし、そして、計数処理後にその計数値を現在経過値としてCPUモジュールに送信して停電保持エリアに書き込ませる。
従って、カウンタモジュールは、計数処理後にその計数値を現在経過値としてCPUモジュールに送信してそのCPUモジュールの停電保持エリアに書き込ませており、このため、電源が切られても、その計数値は現在経過値としてCPUモジュールに保存される。その後に電源を投入したときには、停電保持エリアに書き込まれてある現在経過値を読み出して、その現在経過値を基礎として計数処理をしていく。
また、特殊モジュールが位置決めモジュールの場合については、電源投入時にCPUモジュールの停電保持エリアに書込まれている現在位置を読み出してその現在位置を基礎として演算処理をし、そして、新たな現在位置が生成されるとそれを現在位置としてCPUモジュールに送信して停電保持エリアに書き込ませる。従って、位置決めモジュールは、演算処理をして新たな現在位置を生成するとCPUモジュールに送信してそのCPUモジュールの停電保持エリアに書き込ませており、このため、電源が切られても、その現在位置はCPUモジュールに保存される。その後に電源を投入したときには、停電保持エリアに書き込まれてある現在位置を読み出して、その現在位置を基礎として演算処理をしていく。
【0008】
【発明の実施の形態】
(第1の実施の形態)
図1は本発明の第1の実施の形態の係るプログラマブルコントローラの構成を示すブロック図である。なお、この図においては本発明と関連する部分のみが図示されており、他の部分は省略されている。カウンタモジュール10は、CPU11、RAM12、ROM13、停電保持選択スイッチ14、バスインターフェース15及び入出力ポート16から構成されている。この入出力ポート16には計数信号が供給され、計数信号が取り込まれると、CPU11は割り込み処理を行い、RAM12の所定の領域に確保されている割り込みフラグ12aをセットし、RAM12の所定の領域に確保されている経過値エリア12bに格納されている計数値を読み出してその計数値を「1」増加して、その経過値エリア12bに再び書き込む。この計数処理自体は割り込みフラグ12aをセットする点を除き従来のカウンタモジュールの処理動作と同じである。
【0009】
また、CPUモジュール20は、CPU21、RAM22、ROM23、バッテリー24及びバスインターフェース25から構成されている。RAM22はバッテリー24によりバックアップされており、CPUモジュール20の停電保持エリアとして機能する。CPUモジュール20はバス30を介してカウンタモジュール10と相互に接続されている。
【0010】
図2は図1のカウンタモジュール10とCPUモジュール20との関係を示した説明図である。図3はカウンタモジュールの動作の詳細を示したフローチャートである。以下これらの図に基づいて図1のプログラマブルコントローラの動作を説明する。
【0011】
カウンタモジュール10は電源が投入されると、そのCPU11は初期設定の処理をする(S11)。CPU11は、初期設定の処理として、ここでは停電保持選択スイッチ14の設定の内容を読み込み、そして、その内容をRAM12の所定の領域に確保されている停電保持SWメモリ12cに書き込むと同時に、割り込みフラグ12aをリセットする。次に、CPU11はその停電保持SWメモリ12cがONに設定されているかどうかを判断する(S12)。CPU11は、停電保持SWメモリ12cがONに設定されていると判断した場合には、CPUモジュール20から現在経過値を読み出す(S13)。即ち、CPU11はバスインタフェース15及びバス30を介してCPUモジュール20にアクセスする。CPUモジュール20のCPU21はこのアクセスにより停電保持エリア(RAM22)の現在経過値を読み出して、バスインタフェース25及びバス30を介してカウンタモジュール10に送り出す。カウンタモジュール10のCPU11はバスインタフェース15を介してその現在経過値をRAM12の経過値エリア12bに書き込む(S14)。
【0012】
次に、カウンタモジュール10のCPU11は停電保持SWメモリ12cがONに設定されているかどうかを再び判断する(S15)。CPU11は、停電保持SWメモリ12cがONに設定されていると判断した場合には、次に、割り込みフラグ12aがセットされているかどうかを判断する(S16)。ここで、割り込みフラグ12aがセットされている場合というのは、上述のように、入出力ポート16に計数信号が入力して計数処理が行われ、経過値エリア12bの計数値が変化(増加)した場合である。従って、CPU11は割り込みフラグ12aがセットされていると判断した場合には、経過値エリア12bの計数値を現在経過値として送信してCPUモジュール20に書き込む(S17)。即ち、CPU11はバスインタフェース15及びバス30を介してCPUモジュール20に現在経過値を送信する。CPUモジュール20のCPU21はその現在経過値を停電保持エリア(RAM22)に書き込んでその値を更新する。その後、カウンタモジュール10のCPU11は割り込みフラグ12aをリセットして(S18)、その他の必要な処理を行い(S19))、再び、上記の処理(S15)に戻って上述の処理を繰り返す。なお、停電保持SWメモリ12cがOFFに設定されているときには、上記のS13〜S18の処理は省略される。
【0013】
なお、以上の説明では、カウンタ入力の割り込み処理により割り込みフラグ12aをセットし、後でCPUモジュール20の停電保持エリア(RAM21)へ計数値を記憶させているが、この方法では、高速のパルス計数時には頻繁に停電保持がなされ、特に、複数のカウンタモジュールが装着されているときには、CUPモジュール20への負荷が重くなり、CPUモジュールのユーザープログラム実行が遅くなる。
この対策として、例えば、機械が停止し電源を切るときに、運転者に停電保持指令スイッチを押してもらい、このスイッチ入力をカウンタモジュールにて検出し、前述の“割り込みフラグ12a”をセットしてやれば、図3の処理に従って本フラグがセットされた時に限り計数値が停電保持されるので、CPUモジュールへの負荷が無視出来、ユーザープログラムの実行速度への影響も無視できる。
或いは、カウンタモジュールにて、タイマー割り込みを使用し、定期的に前述の“割り込みフラグ12a”をセットし、図3の処理に従って計数値を停電保持させても良い(これらの場合には、当然割り込み処理内で割り込みフラグ12aはセットされない)。或いは、タイマ割り込みと、計数割り込みとの組み合わせで、定期的だが計数入力があった時に限り計数値を停電保持させても良い。或いは、CPUモジュール側に、前述のタイマ割り込み機能を持たせ定期的に、或いは停電保持指令スイッチ検出時に、或いはユーザープログラム実行が1スキャン終了する度に、カウンタモジュール側の“割り込みフラグ12a”もセットする指令を与えてカウンタモジュールに図3の処理に従って計数値を停電保持させても良い。
【0014】
(第2の実施の形態)
上述の実施の形態においては、カウンタモジュールにより生成された情報即ち計数値を停電保持する場合について説明したが、外部から入力された情報を保持する場合においても本発明は同様に適用される。また、上述の実施の形態においては特殊モジュールとしてカウンタモジュールの場合について説明したが、位置決めモジュールにおいても本発明は同様に適用される。この位置決めモジュールの場合は、カウンタモジュールの計数値の代わりに、現在位置がCPUモジュールの停電保持エリアに書き込まれることになる。
【0015】
(第3の実施の形態)
ところで、上述の実施の形態においてはデータを停電保持する場合について説明したが、例えば停電保持が必要なプログラムやデータを、その対象にしてもよい。その場合には、CPUモジュールの停電保持エリアには特殊モジュールのためのプログラムやデータ(停電保持が必要なプログラムやデータ)を予め書き込んでおき、そして、特殊モジュールは、CPUモジュールの停電保持エリアに書込まれているプログラムやデータを電源投入時に読み出して、それ自身に内蔵されている記憶手段に書き込む。以後、特殊モジュールは、このプログラムやデータに従って運転を開始する。この場合の特殊モジュールとしては、カウンタモジュール、位置決めモジュール及びアスキーモジュールが該当する。
【0016】
【発明の効果】
以上のように本発明によれば、特殊モジュールにおいて生成された情報をCPUモジュールの停電保持エリアに書き込み、電源を投入したときには、停電保持エリアに書き込まれてある情報を読み出して取り込むようにしたので、特殊モジュールの情報等が停電時においても適切に保持される。しかも、その情報等の保持がCPUモジュールにおいてなされるので、特殊モジュール自体にバックアップのためのバッテリ又はコンデンサを必要とせず、また、ユーザープログラムを作成する必要もないことからユーザーに負担を強いることもない。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るプログラマブルコントローラの構成を示すブロック図である。
【図2】図1のカウンタモジュールとCPUモジュールとの関係を示した説明図である。
【図3】図1のカウンタモジュールの動作の詳細を示したフローチャートである。
【図4】従来のプログラマブルコントローラにおいてユーザプログラムにより計数値のバックアップを行う場合のユーザプログラムの一例を示す図である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a programmable controller equipped with a special module such as a counter module, a positioning module, an ASCII module, and a CPU module, and more particularly to a power failure holding function of the special module.
[0002]
[Prior art]
Conventionally, in this type of programmable controller, when a production control is performed using a counter module, for example, a product sent on a belt conveyor is detected by a photoelectric switch, the quantity is counted by the counter module, When performing production management that divides by number, when it is necessary to stop the machine and turn off the power during production (in the middle of counting) (when stopping the machine for maintenance, rest time or the day In the case of the end of production, etc.), it is necessary to turn on the power again to perform the control operation following the previous time. In such a case, the counter module needs a power failure holding function.
[0003]
There are two conventional methods for maintaining the count value in the counter module in the event of a power failure.
a) A method of mounting a backup battery or a large capacity capacitor on the counter module side.
b) A method of performing backup using a power failure holding area (register) of the CPU module by a user program without providing a backup function on the counter module side. Specifically, in this method, the count value written in the elapsed value area of the counter is always read during operation and written to the power failure holding area of the CPU module. This is done by writing to the elapsed value area. FIG. 4 is a diagram showing an example of a user program for this processing method.
[0004]
[Problems to be solved by the invention]
The CPU module mounted on the programmable controller requires a memory backup due to its nature, and a backup battery for that purpose is mounted. However, when the processing method a) is adopted, only the CPU module is used. In addition, it is necessary to mount a backup battery and a large-capacity capacitor on the counter module, leading to an increase in cost. When a backup battery is used, not only the CPU module but also the counter module requires periodic maintenance work for battery replacement.
Further, the processing method of b) requires a user program, which places a burden on the user.
[0005]
The present invention has been made in order to solve the above-described problems. Information generated in a special module such as a counter module, information input from the outside, or a program or data that needs to maintain power failure in the module is stored. It is an object of the present invention to provide a programmable controller capable of avoiding a situation in which maintenance is not increased and the burden on the user is avoided without causing an increase in cost when the power is held during a power failure.
[0006]
[Means for Solving the Problems]
A programmable controller according to the present invention includes a special module that performs predetermined arithmetic processing and a power failure holding area that retains data and the like in the event of a power failure, and performs predetermined arithmetic processing based on various signals including special module output In a programmable controller having a module, the special module reads predetermined information written in the power failure holding area of the CPU module when power is turned on, performs predetermined arithmetic processing based on the information, and performs arithmetic processing The generated information or information input from the outside is transmitted as predetermined information to the CPU module and written in the power failure holding area.
When the special module is a counter module, the current elapsed value written in the power failure holding area of the CPU module is read when the power is turned on, and the counting process is performed based on the current elapsed value. Later, the count value is transmitted to the CPU module as the current elapsed value and written in the power failure holding area.
Therefore, the counter module transmits the count value as a current elapsed value to the CPU module after the count processing and writes it in the power failure holding area of the CPU module. Therefore, even if the power is turned off, the count value is The current elapsed value is stored in the CPU module. Thereafter, when the power is turned on, the current elapsed value written in the power failure holding area is read, and the counting process is performed based on the current elapsed value.
When the special module is a positioning module, the current position written in the power failure holding area of the CPU module is read when the power is turned on, the calculation process is performed based on the current position, and the new current position is When generated, it is transmitted to the CPU module as the current position and written in the power failure holding area. Therefore, when the positioning module performs a calculation process to generate a new current position, the positioning module transmits it to the CPU module and writes it in the power failure holding area of the CPU module. Is stored in the CPU module. Thereafter, when the power is turned on, the current position written in the power failure holding area is read out, and calculation processing is performed based on the current position.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
FIG. 1 is a block diagram showing the configuration of the programmable controller according to the first embodiment of the present invention. In this figure, only the parts related to the present invention are shown, and the other parts are omitted. The counter module 10 includes a CPU 11, a RAM 12, a ROM 13, a power failure retention selection switch 14, a bus interface 15, and an input / output port 16. When a count signal is supplied to the input / output port 16 and the count signal is fetched, the CPU 11 performs an interrupt process, sets an interrupt flag 12 a secured in a predetermined area of the RAM 12, and sets the interrupt flag 12 a in the predetermined area of the RAM 12. The count value stored in the secured elapsed value area 12b is read, the count value is incremented by “1”, and written again in the elapsed value area 12b. This counting process itself is the same as the processing operation of the conventional counter module except that the interrupt flag 12a is set.
[0009]
The CPU module 20 includes a CPU 21, a RAM 22, a ROM 23, a battery 24 and a bus interface 25. The RAM 22 is backed up by a battery 24 and functions as a power failure holding area of the CPU module 20. The CPU module 20 is connected to the counter module 10 via the bus 30.
[0010]
FIG. 2 is an explanatory diagram showing the relationship between the counter module 10 and the CPU module 20 of FIG. FIG. 3 is a flowchart showing details of the operation of the counter module. The operation of the programmable controller in FIG. 1 will be described below based on these drawings.
[0011]
When the power of the counter module 10 is turned on, the CPU 11 performs an initial setting process (S11). As the initial setting process, the CPU 11 reads the setting contents of the power failure holding selection switch 14 and writes the contents to the power failure holding SW memory 12c secured in a predetermined area of the RAM 12, and at the same time, interrupt flag 12a is reset. Next, the CPU 11 determines whether or not the power failure holding SW memory 12c is set to ON (S12). If the CPU 11 determines that the power failure hold SW memory 12c is set to ON, the CPU 11 reads the current elapsed value from the CPU module 20 (S13). That is, the CPU 11 accesses the CPU module 20 via the bus interface 15 and the bus 30. The CPU 21 of the CPU module 20 reads the current elapsed value of the power failure holding area (RAM 22) by this access and sends it to the counter module 10 via the bus interface 25 and the bus 30. The CPU 11 of the counter module 10 writes the current elapsed value in the elapsed value area 12b of the RAM 12 via the bus interface 15 (S14).
[0012]
Next, the CPU 11 of the counter module 10 determines again whether or not the power failure holding SW memory 12c is set to ON (S15). If the CPU 11 determines that the power failure hold SW memory 12c is set to ON, it next determines whether the interrupt flag 12a is set (S16). Here, when the interrupt flag 12a is set, as described above, the count signal is input to the input / output port 16 to perform the count process, and the count value in the elapsed value area 12b changes (increases). This is the case. Therefore, if the CPU 11 determines that the interrupt flag 12a is set, the CPU 11 transmits the count value in the elapsed value area 12b as the current elapsed value and writes it in the CPU module 20 (S17). That is, the CPU 11 transmits the current elapsed value to the CPU module 20 via the bus interface 15 and the bus 30. The CPU 21 of the CPU module 20 writes the current elapsed value in the power failure holding area (RAM 22) and updates the value. Thereafter, the CPU 11 of the counter module 10 resets the interrupt flag 12a (S18), performs other necessary processing (S19), returns to the above processing (S15), and repeats the above processing. Note that when the power failure holding SW memory 12c is set to OFF, the processes of S13 to S18 are omitted.
[0013]
In the above description, the interrupt flag 12a is set by counter input interrupt processing, and the count value is stored in the power failure holding area (RAM 21) of the CPU module 20 later. However, in this method, high-speed pulse counting is performed. Sometimes power outages are frequently maintained, and particularly when a plurality of counter modules are installed, the load on the CUP module 20 becomes heavy, and the execution of the user program of the CPU module is delayed.
As a countermeasure, for example, when the machine is stopped and the power is turned off, the driver presses the power failure retention command switch, the switch input is detected by the counter module, and the above-described “interrupt flag 12a” is set. Only when this flag is set in accordance with the processing of FIG. 3, the count value is maintained during a power failure, so that the load on the CPU module can be ignored and the influence on the execution speed of the user program can be ignored.
Alternatively, the counter module may use the timer interrupt, periodically set the above-mentioned “interrupt flag 12a”, and hold the count value in the power failure according to the process of FIG. The interrupt flag 12a is not set in the process). Alternatively, a combination of a timer interrupt and a count interrupt may hold the count value during a power failure only when there is a count input periodically. Alternatively, the CPU module side is provided with the above-described timer interrupt function, and the "interrupt flag 12a" on the counter module side is also set periodically, when a power failure holding command switch is detected, or whenever the user program execution is completed for one scan The counter value may be retained in the counter module according to the processing of FIG.
[0014]
(Second Embodiment)
In the above-described embodiment, the case where the information generated by the counter module, that is, the count value is held during a power failure has been described. However, the present invention is similarly applied to the case where information input from the outside is held. In the above-described embodiment, the case of the counter module as the special module has been described. However, the present invention is similarly applied to the positioning module. In the case of this positioning module, the current position is written in the power failure holding area of the CPU module instead of the count value of the counter module.
[0015]
(Third embodiment)
By the way, in the above-mentioned embodiment, although the case where data was held by a power failure was described, for example, a program or data that needs to be maintained by a power failure may be targeted. In that case, programs and data for special modules (programs and data that require power outage maintenance) are written in advance in the power outage holding area of the CPU module, and the special modules are stored in the power outage holding area of the CPU module. The written program and data are read when the power is turned on, and written in the storage means built in itself. Thereafter, the special module starts operation according to the program and data. The special module in this case corresponds to a counter module, a positioning module, and an ASCII module.
[0016]
【The invention's effect】
As described above, according to the present invention, the information generated in the special module is written in the power failure holding area of the CPU module, and when the power is turned on, the information written in the power failure holding area is read and captured. Special module information is properly maintained even during power outages. Moreover, since the information is retained in the CPU module, the special module itself does not require a backup battery or capacitor, and it is not necessary to create a user program, which may impose a burden on the user. Absent.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a programmable controller according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a relationship between a counter module and a CPU module in FIG. 1;
FIG. 3 is a flowchart showing details of the operation of the counter module of FIG. 1;
FIG. 4 is a diagram showing an example of a user program when a count value is backed up by a user program in a conventional programmable controller.

Claims (2)

所定の演算処理をする特殊モジュールと、停電時にデータ等を保持する停電保持エリアを有し、前記特殊モジュール出力を含む各種の信号に基づいて所定の演算処理を行うCPUモジュールとを有するプログラマブルコントローラにおいて、
前記特殊モジュールはカウンタモジュールから構成されており、
このカウンタモジュールは、電源投入時に前記CPUモジュールの停電保持エリアに書込まれている現在経過値を読み出してその現在経過値を基礎として計数処理をし、そして、計数処理後にその計数値を現在経過値としてCPUモジュールに送信して前記停電保持エリアに書き込ませることを特徴とするプログラマブルコントローラ。
In a programmable controller having a special module that performs predetermined arithmetic processing, and a CPU module that has a power failure holding area for retaining data and the like in the event of a power failure, and that performs predetermined arithmetic processing based on various signals including the special module output ,
The special module is composed of a counter module,
This counter module reads the current elapsed value written in the power outage holding area of the CPU module when the power is turned on, performs a counting process based on the current elapsed value, and after the counting process, counts the current value Programmer llama logic controllers for causing transmitted as a value to the CPU module written in the power outage holding area.
所定の演算処理をする特殊モジュールと、停電時にデータ等を保持する停電保持エリアを有し、前記特殊モジュール出力を含む各種の信号に基づいて所定の演算処理を行うCPUモジュールとを有するプログラマブルコントローラにおいて、
前記特殊モジュールは位置決めモジュールから構成されており、
この位置決めモジュールは、電源投入時に前記CPUモジュールの停電保持エリアに書込まれている現在位置を読み出してその現在位置を基礎として演算処理をし、そして、新たな現在位置が生成されるとそれを現在位置としてCPUモジュールに送信して前記停電保持エリアに書き込ませることを特徴とするプログラマブルコントローラ。
In a programmable controller having a special module that performs predetermined arithmetic processing, and a CPU module that has a power failure holding area for retaining data and the like in the event of a power failure, and that performs predetermined arithmetic processing based on various signals including the special module output ,
The special module is composed of a positioning module,
This positioning module reads the current position written in the power failure holding area of the CPU module when the power is turned on, performs arithmetic processing based on the current position, and if a new current position is generated, A programmable controller, wherein the current position is transmitted to a CPU module and written in the power failure holding area.
JP11392396A 1996-05-08 1996-05-08 Programmable controller Expired - Lifetime JP3694817B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11392396A JP3694817B2 (en) 1996-05-08 1996-05-08 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11392396A JP3694817B2 (en) 1996-05-08 1996-05-08 Programmable controller

Publications (2)

Publication Number Publication Date
JPH09297606A JPH09297606A (en) 1997-11-18
JP3694817B2 true JP3694817B2 (en) 2005-09-14

Family

ID=14624585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11392396A Expired - Lifetime JP3694817B2 (en) 1996-05-08 1996-05-08 Programmable controller

Country Status (1)

Country Link
JP (1) JP3694817B2 (en)

Also Published As

Publication number Publication date
JPH09297606A (en) 1997-11-18

Similar Documents

Publication Publication Date Title
KR920006826A (en) Programmable Controller and Manufacturing Method
JP3694817B2 (en) Programmable controller
US5481756A (en) DMA controller mailing auto-initialize halting unit
JP4054448B2 (en) Programmable controller
JPH10207586A (en) Power-off control system for computer
JPS6259396B2 (en)
JPH064301A (en) Time division interruption control system
JPH0666063B2 (en) Sequence controller
JPH0198017A (en) Printer controller
JPS5917611A (en) Method for controlling watch dog timer
JPH05204750A (en) Data holding system for program controller
JPH05189001A (en) Controller
JP2536046Y2 (en) Power supply circuit of programmable controller
JPS6352241A (en) Microprocessor
JP2923869B2 (en) Event input circuit
JPS63280364A (en) Data transfer control system
JPS62208151A (en) Information processor
JPH10240569A (en) Tracing device for computer
JPS63257995A (en) Refreshing control circuit
JPH04321126A (en) Data processor
JPS5933539U (en) programmable controller
JPH04128903A (en) Programmable controller
JPH04140810A (en) Information processor
JPS63106960A (en) Magnetic disk controller
JPS60140440A (en) Central processing unit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050301

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050426

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050615

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090708

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100708

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100708

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110708

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120708

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120708

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130708

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term