JP2004021575A - Programmable controller - Google Patents

Programmable controller Download PDF

Info

Publication number
JP2004021575A
JP2004021575A JP2002175191A JP2002175191A JP2004021575A JP 2004021575 A JP2004021575 A JP 2004021575A JP 2002175191 A JP2002175191 A JP 2002175191A JP 2002175191 A JP2002175191 A JP 2002175191A JP 2004021575 A JP2004021575 A JP 2004021575A
Authority
JP
Japan
Prior art keywords
life
life management
command
type
ladder diagram
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
JP2002175191A
Other languages
Japanese (ja)
Inventor
Hidetsugu Kawai
河合 秀貢
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2002175191A priority Critical patent/JP2004021575A/en
Publication of JP2004021575A publication Critical patent/JP2004021575A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To properly know the life of an apparatus, which is turned on/off, even if the type of the apparatus is different in various ways, and also simply create instructions for use in life management thereof. <P>SOLUTION: A programmable controller executes a sequence program 2 described with a ladder diagram language. A life setting means 14 is arranged for registering the number of on/off actions, which is a set life of the apparatus 8 intended for life management thereof, according to the type of the apparatus. In an arithmetic processing means 3, a life management instruction execution part 13 is arranged for executing a life management instruction 9 that is arranged as one of function instructions in the sequence program 2. The life management instruction 9 has information indicating the type of the apparatus 8 and a special flag, which is described so as to be read every time the instruction for turning on the life management object apparatus 8 in the sequence program 2 is read out. The life management instruction execution means 13 counts the number of read-outs every time the life management instruction 9 is read out, which is stored in a predetermined storage area 15. Also, the set life number according to the type is compared with a count value, and a specified flag in the life management instruction 9 is turned on when the value is more than the setting life frequency. A warning is issued with the flag-on. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
この発明は、コントローラ内部または外部における有接点リレーなど、オンオフ動作の回数が寿命の主要因となる機器の寿命管理機能を備えたプログラマブルコントローラに関する。
【0002】
【従来の技術と発明が解決しようとする課題】
リレー等の制御機器やランプ、その他の機器において、オンオフ動作の回数が寿命の主要因となるものが多くある。そのような機器において、例えば寿命とする動作回数が10万回である等の一応の目安となる回数が商品カタログ等に記載されている。
現状の制御機器では、上記のように示された寿命動作回数は、機械設計時における機器の選択の基準として利用されるが、特に管理は行われておらず、実際に故障が起きてから作業者に警告を出すようにしている場合が多い。今後は、故障する時期を予見して報知する方向に進む傾向にあると考えられる。
【0003】
有接点リレーの寿命管理としては、プログラマブルコントローラに寿命となる動作回数を設定しておき、有接点リレーの動作毎に設定値より1づつ減算して行き、ゼロになると報知手段で報知するものがある。しかし、リレーは、型式等によって寿命動作回数が異なり、シーケンスプログラムの作成過程で実際に使用するリレーの寿命回数を入力することは、プログラム作成作業が煩雑となり、現実的ではない。
この他に、有接点リレーに印加させる電圧値や電流値等の電気的情報の取り込み手段を設け、その電気的情報から寿命予測を行う機能を備えたプログラマブルコントローラが提案されている。その予測結果とリレーのオンオフ回数のカウント値とを比較し、予測寿命に近づくと報知を行う。
しかし、有接点リレーの適切な寿命を知るには、電圧値や電流値等の電気情報だけでは不足であり、リレーの形式毎に持つ異なった性能が影響する。
【0004】
この発明の目的は、オンオフ動作する機器の寿命を、機器の形式が種々異なっても適切に知ることができ、かつ寿命管理のための命令の作成が簡単に行えるプログラマブルコントローラを提供することである。
この発明の他の目的は、オンオフ動作する機器の寿命を、機器の形式に応じて適切に、かつ容易に管理することができるシーケンスプログラムを提供することである。
【0005】
【課題を解決するための手段】
この発明のプログラマブルコントローラを、実施形態に対応する図1と共に説明する。このプログラマブルコントローラ(1)は、ラダー図言語で記述されたシーケンスプログラム(2)を解読して実行する演算処理手段(3)を有するプログラマブルコントローラ(1)において、寿命管理対象とされる機器(8)の設定寿命であるオンオフ回数を上記機器(8)の形式別に登録した寿命設定手段(14)を設け、上記演算処理手段(3)に、上記シーケンスプログラム(2)に機能命令の一つとして設けられた寿命管理命令(9)を実行する寿命管理命令実行部(13)を設けたものである。
上記寿命管理命令(9)は、機能命令の種類を示す情報(9a)、機器の形式を示す情報(9b)、および特定のフラグを示す情報(9c)を有するものであり、上記シーケンスプログラム(2)中に上記寿命管理対象機器(8)をオンさせる命令の読み出し毎に読み出されるように記述される。
上記寿命管理命令実行手段(13)は、上記寿命管理命令(9)が上記演算処理部(13)で読み出される都度、読み出し回数をカウントして所定の記憶領域(15)にカウント値を記憶する処理と、寿命管理命令(9)中の上記形式の情報(9b)を上記寿命設定手段(14)と照合して得られる形式別の設定寿命回数と上記カウント値を比較する処理と、この比較の結果、設定寿命回数以上である場合に寿命管理命令(9)中の特定のフラグをオンまたはオフ操作する処理とを行うものとする。
【0006】
この構成によると、演算処理手段(3)がシーケンスプログラム(2)の寿命管理対象機器(8)をオンさせる命令を読み出す毎に、寿命管理命令(9)も読み出される。寿命管理命令実行手段(13)は、寿命管理命令(9)が演算処理手段(3)で読み出されると、その都度、読み出し回数をカウントして所定の記憶領域(15)にカウント値を記憶し、寿命管理命令(9)中の上記形式の情報(9b)を上記寿命設定手段(14)と照合して形式別の設定寿命回数を認識し、その形式別の設定寿命回数と上記カウント値とを比較する。この比較の結果、設定寿命回数以上であると、寿命管理命令実行手段(13)は寿命管理命令(9)中の特定のフラグを操作する。例えば、この特定のフラグがオンした時に、ブザー,ランプ,画面中のメッセージ表示等で報知を行うようにする。このように、機器(8)の形式に応じた寿命管理が行える。
機器(8)の形式毎の設定寿命となるオンオフ回数は、寿命設定手段(14)に設定しておくため、シーケンスプログラム(2)の作成時においては、ラダー図として示される管理対象機器(8)の動作コイルの手前等に、機能命令の一つである寿命管理命令(9)となるブロック表示を配置し、機器(8)の形式、および特定のフラグを示す情報(9c)を設定するだけで済む。そのため、シーケンスプログラム(2)の作成時に寿命回数を考慮する必要がなく、プログラム作成作業が簡単に行える。
なお、寿命管理命令9は、使用した回数を記憶する記憶領域と対として構成される機能命令である。
【0007】
このプログラマブルコントローラ(9)は、上記シーケンスプログラム(2)を作成するプログラミング装置(21)を有するものであっても良い。その場合に、このプログラミング装置(21)は、表示装置(24)の画面に作成過程のシーケンスプログラム(2)をラダー図で表示し、上記機能命令をラダー図中にブロックとして示すラダー図表示手段(22)、および表示されたラダー図に対して所定の入力で命令を決定する命令決定手段(23)を有するものとする。上記ラダー図表示手段は、上記機能命令のうちの上記寿命管理命令(9)のブロックが画面上で選択されることにより、寿命管理対象機器(8)の形式の一覧を表示する形式一覧表示部(27)を有する。上記命令決定手段(23)は、画面表示された上記寿命管理対象機器(8)の形式の一覧から任意の形式を指定する入力によって、寿命管理命令(9)における機器(8)の形式の情報を決定するものとする。
このプログラミング装置(21)を設けた場合、画面表示されたラダー図中のブロックに対して、寿命管理対象機器(8)の形式の一覧が表示され,その形式の一覧から希望の形式を指定するだけで、機器(8)の形式の情報(9b)が決定される。そのため、プログラム作成がより一層容易に行える。
【0008】
この発明のシーケンスプログラム(2)は、ラダー図言語で記述されたシーケンスプログラムであって、ラダー図中にブロックとして示される機能命令の一つとして寿命管理命令(9)を有する。この寿命管理命令は、機能命令の種類を示す情報(9a)、寿命管理対象となる機器の形式を示す情報(9b)、および特定のフラグを示す情報(9c)を有し、ラダー図中に、上記寿命管理対象機器(8)をオンさせる命令に対応して記述されたものとする。
このシーケンスプログラム(2)によると、この発明のプログラマブルコントローラ(1)で実行させることにより、オンオフ動作する機器(8)の寿命を、機器(8)の形式に応じて適切に、かつ容易に管理することができる。
【0009】
【発明の実施の形態】
この発明の一実施形態を図面と共に説明する。このプログラマブルコントローラ1は、ラダー図言語で記述されたシーケンスプログラム2を解読して実行する演算処理手段3を有する。演算処理手段3は、各種の演算処理を行うCPU等の中央演算処理部4と、この中央演算処理部4の制御を行うシステムプログラム5を記憶したシステム記憶部6とを有している。システム記憶部6はリードオンメモリ(ROM)等からなる。シーケンスプログラム2は、使用者が任意に設定するプログラムであり、記憶手段7における所定の記憶領域に設定されている。記憶手段7はメモリチップや記録ディスク装置等からなり、物理的に一つのものであっても、また複数のものであっても良い。演算処理手段3には、入力インタフェース等からなる入力手段11を介して、制御対象機械10やその他の箇所に設けられたセンサ類,スイッチ類の検出信号や、別の制御装置の出力信号等が入力される。演算処理手段3の出力は、出力手段12を介して制御対象機械10に出力される。出力手段12は、出力ポート、有接点リレー、スイッチングトランジスタ等のいずれか一種または複数種類のものが設けられている。
【0010】
この基本構成のプログラマブルコントローラ1において、寿命管理対象とされる機器8の設定寿命であるオンオフ回数を上記機器8の形式別に登録した寿命設定手段14を設け、上記演算処理手段3に、シーケンスプログラム7に機能命令の一つとして設けられた寿命管理命令9を実行する寿命管理命令実行部13を設けている。寿命管理対象とされる機器8は、例えば有接点リレーであり、プログラマブルコントローラ1における出力手段12に備えたられたものであっても、また制御対象機械10に備えたられたものであっても良い。寿命管理対象とされる機器8は、オンオフ動作の回数が寿命の主要因となる機器であれば良く、リレーの他に、スイッチ類や、電磁バルブ、ランプ等であっても良い。制御対象機械10は、寿命管理対象とされる機器8の他に、このプログラマブルコントローラ1によって制御される他の機器18を有している。
【0011】
寿命設定手段14は、例えば、寿命管理対象とされる機器8の形式を示す符号と、設定回数とを対比して設定したデータテーブルとされ、上記記憶手段7の所定の記憶領域に設けられる。
寿命管理命令9は、次に図2と共に説明するように、シーケンスプログラム2中に寿命管理対象機器8をオンさせる命令の読み出し毎に読み出されるように記述される。
【0012】
図2は、シーケンスプログラム2の一例の一部を示す。このシーケンスプログラム2は、ラダー図で示されたものであり、接点X…と、この接点X…の閉じ状態で励磁されるコイルY…等の組をラダー形式で示したものとされる。各種の機能命令(すなわちファンクション命令)は、同ラダー図中にブロックとして示される。
このシーケンスプログラム2は、機能命令の一つとして、新規な命令である寿命管理命令9が設けられている。寿命管理命令9は、ラダー図中に、寿命管理対象機器8をオンさせる命令に対応して記述される。具体的には、上記接点X…とコイルY…の組となる直列回路部分に、これら接点X…とコイルY…との間に位置して、寿命管理命令9が記述される。このコイルYは、寿命管理対象機器8をオンさせる指令である。
【0013】
寿命管理命令9は、機能命令の種類を示す情報9aと、寿命管理対象となる機器の形式を示す情報9bと、特定のフラグを示す情報9cとを有している。機能命令の種類を示す情報9aは、例えばファンクション命令であることを示す符号Fと、ファンクション命令のうちのどの命令であるかを識別する符号(例えば数字)とで示され、「F3」等のように表示される。機器の形式を示す情報9bは、機器の型番の一部等が英数字等によって示される。特定のフラグを示す情報9cは、数字または英数字等によって表示される。図2の寿命管理命令9のブロック中に図示した「使用機器」や「特定のフラグ」とある表示は、オペレータの認識のために設けた表示であり、寿命管理命令9として含まれていても、いなくても良い。上記特定のフラグは、このシーケンスプログラム2のラダー図中に示されたフラグ19である。同図では、このフラグ19のオンで、所定のコイル17aをオンさせ、このコイル17aのオンにより、プログラマブルコントローラ1に設けられた所定の報知手段17(図1)をオン動作させる。報知手段17は、ブザーであっても、表示ランプであっても、また表示装置の画面に言語またはマークによるメッセージを示すものであっても良い。
【0014】
寿命管理命令実行部13は、システムプログラム6の一部としてサブプログラム等により構成された寿命管理命令処理プログラム5aと、このプログラム5aで制御される中央演算処理部4とで構成される。寿命管理命令処理プログラム5aは、後に図4と共に説明する処理を行うプログラムである。概略を説明すると、寿命管理命令実行部13は、寿命管理命令9が演算処理手段3で読み出される都度、読み出し回数をカウントして所定の記憶領域であるカウント値記憶部15にカウント値を記憶する処理と、寿命管理命令9中の上記形式の情報9bを寿命設定手段14と照合して形式別の設定寿命回数を得て、上記カウント値を比較する処理と、この比較の結果、設定寿命回数以上である場合に寿命管理命令9中の特定のフラグを操作する処理とを行うものとしてある。
カウント値記憶部15は、例えば上記記憶手段7の一部に設けられる。記憶手段7には、この他に各種のデータの設定や、演算時の作業領域となるデータ記憶部16を有している。
【0015】
このプログラマブルコントローラ1は、これら演算処理手段3、記憶手段7、入力手段11、出力手段12、および報知手段17により、プログラマブルコントローラ本体20を構成する。このプログラマブルコントローラ1は、このプログラマブルコントローラ本体20によって構成されたものであっても良いが、この実施形態では、プログラミング装置21を有するものとしてある。プログラミング装置21は、プログラマブルコントローラ本体20と同じ筐体等に設置されたものであっても良く、またプログラマブルコントローラ本体20と離れて設けられて通信回線または記憶媒体を介してシーケンスプログラム2の伝達が可能とされたものであっても良い。
【0016】
プログラミング装置21は、コンピュータで構成され、表示装置24の画面に作成過程のシーケンスプログラム2をラダー図で表示し、上記機能命令9をラダー図中にブロックとして示すラダー図表示手段22と、表示されたラダー図に対して所定の入力で命令を決定する命令決定手段23とを有している。ラダー図表示手段22は、上記機能命令のうちの寿命管理命令9のブロック9Aが画面上で選択されることにより、図3(A)のように寿命管理対象機器8の形式の一覧26を、プルダウンリスト等で表示する形式一覧表示部27(図1)を有している。図1の命令決定手段23は、画面表示された寿命管理対象機器8の形式の一覧26から任意の形式を指定する入力によって、寿命管理命令9における機器の形式の情報9bを決定するものである。入力は、マウスその他のポインティングディバイスやキーボード等の入力機器25から与えられる。なお、ラダー図表示手段22は、上記の機器形式の選択と同じく、特定のフラグ19についても、複数のフラグの一覧(図示せず)を表示するものとしても良い。その場合に、命令決定手段23は、画面表示されたフラグ19の一覧の中から任意のフラグを指定する入力によって、寿命管理命令9における特定のフラグの情報9cを決定するものとしても良い。
【0017】
上記構成の動作を説明する。シーケンスプログラム2が演算処理手段2で実行される過程で、寿命管理対象機器2をオンさせる命令(X…,Y…)を読み出す毎に、寿命管理命令9も読み出される。寿命管理命令実行手段13は、寿命管理命令9が演算処理手段3で読み出されると、図4に示す処理を行う。すなわち、寿命管理命令9が読みだされる都度、読み出し回数をカウントして、所定の記憶領域であるカウント値記憶部15(図1)にカウント値を記憶する(ステッフS1)。ついで、寿命管理命令9中の機器形式の情報9bを寿命設定手段14と照合し、形式別の設定寿命回数を認識する(S2)。その形式別の設定寿命回数と上記カウント値を比較する(S3)。この比較の結果、設定寿命回数未満であると、処理を終了する。上記比較の結果、設定寿命回数以上であると、寿命管理命令実行手段13は、寿命管理命令9中の情報9cで示された特定のフラグ19をオン操作する(S4)。この特定のフラグがオンした時に、図1の報知手段17により、ブザー,ランプ,画面中のメッセージ表示等で報知を行う。このように、機器8の形式に応じた寿命管理が行える。
【0018】
機器8の形式毎の設定寿命となるオンオフ回数は、寿命設定手段14に設定しておくため、シーケンスプログラム2の作成時においては、ラダー図として示される管理対象機器の動作コイルX…の手前等に、機能命令の一つである寿命管理命令9となるブロック表示を配置し、機器8の形式、および特定のフラグ19を示す情報を設定するだけで済む。そのため、シーケンスプログラム2の作成時に寿命回数を考慮する必要がなく、プログラム作成作業が簡単に行える。
【0019】
プログラム作成については、プログラミング装置21に形式一覧表示部27を有するラダー図表示手段22を設けたため、画面表示されたラダー図中のブロック9Aに対して、例えばブロック中の使用機器の文字表示部分をクリック等で選択すると、図3(A)に示すように、寿命管理対象機器の形式の一覧26がプルダウンリスト等で表示される。その形式の一覧26から、図中に選択部分26aを示すように、希望の機器形式を選択すると、ブロック9A中の表示がその選択された使用機器の表示に切り替わる。この切り替わり状態で実行キー等によって決定の入力を与えると、寿命管理命令9中の機器形式の情報9bがその画面表示されたものに決定される。特定のフラグ9cは、キーボード等で直接に数字等を入力しても良く、また使用機器と同様にプルダウンリスト等から選択するようにしても良い。このように、一覧表示によって、プログラム作成がより一層容易に行える。
【0020】
なお、カウント値記憶部15は、記憶手段7中の予め定められたアドレスとしても良く、また寿命管理命令9が実行される初回に、記憶手段7に記憶領域を所定の基準で作成するようにしても良い。
【0021】
【発明の効果】
この発明のプログラマブルコントローラは、ラダー図言語で記述されたシーケンスプログラムを解読して実行するものにおいて、寿命管理対象とされる機器の設定寿命であるオンオフ回数を上記機器の形式別に登録した寿命設定手段を設け、上記演算処理手段に、上記シーケンスプログラムに機能命令の一つとして設けられた寿命管理命令を実行する寿命管理命令実行部を設けたため、オンオフ動作する機器の寿命を、機器の形式が種々異なっても適切に知ることができ、かつ寿命管理のための命令の作成が簡単に行える。
この発明のシーケンスプログラムは、ラダー図言語で記述されたシーケンスプログラムであって、ラダー図中にブロックとして示される機能命令の一つとして寿命管理命令を有し、この寿命管理命令は、機能命令の種類を示す情報、寿命管理対象となる機器の形式を示す情報、および特定のフラグを示す情報を有し、ラダー図中に、上記寿命管理対象機器をオンさせる命令に対応して記述されたものであるため、オンオフ動作する機器の寿命を、機器の形式に応じて適切に、かつ容易に管理することができる。
【図面の簡単な説明】
【図1】この発明の一実施形態にかかるプログラマブルコントローラの概念構成を示すブロック図である。
【図2】シーケンスプログラムとなるラダー図の一部を示す説明図である。
【図3】(A),(B)は、それぞれ寿命管理命令のブロックにプルダウンリストが表示された状態およびその表示後の状態をそれぞれ示す説明図である。
【図4】寿命管理命令実行部の処理内容を示す流れ図である。
【符号の説明】
1…プログラマブルコントローラ
2…シーケンスプログラム
3…演算処理手段
5…システムプログラム
5a…寿命管理命令処理プログラム
7…記憶手段
8…機器
9…寿命管理命令
9a〜9c…情報
10…制御対象機械
13…寿命管理命令実行部
14…寿命設定手段
15…カウント値記憶部
19…フラグ
21…プログラミング装置
22…ラダー図表示手段
23…命令決定手段
24…表示装置
26…一覧
27…形式一覧表示部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a programmable controller having a function of managing the life of a device, such as a contact relay inside or outside the controller, in which the number of on / off operations is a main factor of the life.
[0002]
[Prior Art and Problems to be Solved by the Invention]
In many control devices such as relays, lamps, and other devices, the number of ON / OFF operations is a major factor in life. In such a device, for example, a tentative number of times, such as the number of operations for a lifetime of 100,000 times, is described in a product catalog or the like.
In the current control equipment, the number of lifetime operations indicated above is used as a criterion for selecting equipment at the time of machine design, but it is not particularly controlled and work after an actual failure occurs In many cases, a warning is issued to the person. In the future, it is considered that there is a tendency to foresee the time of failure and to give a notification.
[0003]
As for the life management of the contact relay, one that sets the number of operations at which the life of the contact relay is reached in the programmable controller, subtracts one from the set value for each operation of the contact relay, and notifies the notification means when the contact relay becomes zero by the notification means. is there. However, the number of life operations of the relay differs depending on the model and the like, and it is not realistic to input the number of life of the relay actually used in the process of creating the sequence program, since the program creation operation becomes complicated and is not realistic.
In addition, there has been proposed a programmable controller provided with a means for capturing electric information such as a voltage value and a current value to be applied to a contact relay, and having a function of estimating a life from the electric information. The prediction result is compared with the count value of the number of times of turning on / off the relay, and a notification is made when the life expectancy is approached.
However, in order to know the appropriate life of the contact relay, it is not enough to use only the electrical information such as the voltage value and the current value, and the different performances of each relay type have an effect.
[0004]
SUMMARY OF THE INVENTION An object of the present invention is to provide a programmable controller that can appropriately know the life of a device that performs on / off operation even if the device types are various, and that can easily create a command for life management. .
Another object of the present invention is to provide a sequence program capable of appropriately and easily managing the life of a device that performs on / off operation in accordance with the type of the device.
[0005]
[Means for Solving the Problems]
A programmable controller according to the present invention will be described with reference to FIG. 1 corresponding to the embodiment. This programmable controller (1) is a programmable controller (1) having an arithmetic processing means (3) for decoding and executing a sequence program (2) described in a ladder diagram language. The life setting means (14) for registering the number of times of ON / OFF, which is the set life of the device (8), for each type of the device (8) is provided. A life management command execution unit (13) for executing the provided life management command (9) is provided.
The life management command (9) has information (9a) indicating the type of the function command, information (9b) indicating the type of the device, and information (9c) indicating a specific flag. It is described in 2) that it is read every time a command for turning on the life management target device (8) is read.
Each time the life management command (9) is read by the arithmetic processing unit (13), the life management command execution means (13) counts the number of times of reading and stores the count value in a predetermined storage area (15). A process of comparing the count value with a set life number of each type obtained by comparing the information (9b) of the format in the life management command (9) with the life setting means (14); As a result, if the number is equal to or longer than the set life number, a process of turning on or off a specific flag in the life management command (9) is performed.
[0006]
According to this configuration, each time the arithmetic processing means (3) reads the command to turn on the life management target device (8) of the sequence program (2), the life management command (9) is also read. The life management command execution means (13) counts the number of readings each time the life management command (9) is read by the arithmetic processing means (3) and stores the count value in a predetermined storage area (15). The information (9b) in the above format in the life management command (9) is compared with the life setting means (14) to recognize the set life times for each format, and the set life times for each format and the count value are compared. Compare. As a result of the comparison, if the number of times is equal to or longer than the set life number, the life management command execution means (13) operates a specific flag in the life management command (9). For example, when this specific flag is turned on, a notification is made by a buzzer, a lamp, a message display on the screen, or the like. Thus, the life management according to the type of the device (8) can be performed.
Since the number of on / off times at which the set life is set for each format of the device (8) is set in the life setting means (14), when the sequence program (2) is created, the management target device (8) shown as a ladder diagram is created. ), A block display serving as a life management command (9), which is one of the function commands, is arranged before the operation coil, and the type of the device (8) and information (9c) indicating a specific flag are set. It only needs to. Therefore, there is no need to consider the number of lifetimes when creating the sequence program (2), and the program creation operation can be performed easily.
The life management command 9 is a function command configured as a pair with a storage area for storing the number of times of use.
[0007]
This programmable controller (9) may have a programming device (21) for creating the sequence program (2). In this case, the programming device (21) displays the sequence program (2) in the process of creation on a screen of the display device (24) in a ladder diagram, and the ladder diagram display means for displaying the functional commands as blocks in the ladder diagram. (22) and an instruction determining means (23) for determining an instruction by a predetermined input with respect to the displayed ladder diagram. The ladder diagram display means displays a format list of the life management target device (8) when a block of the life management command (9) among the function commands is selected on a screen. (27). The command determining means (23) receives information specifying the format of the device (8) in the life management command (9) by inputting an arbitrary format from the list of formats of the device (8) for life management displayed on the screen. Shall be determined.
When the programming device (21) is provided, a list of the formats of the life management target device (8) is displayed for the blocks in the ladder diagram displayed on the screen, and a desired format is designated from the list of the formats. Alone, the information (9b) in the format of the device (8) is determined. Therefore, the program can be more easily created.
[0008]
The sequence program (2) of the present invention is a sequence program described in a ladder diagram language, and has a life management command (9) as one of the function commands shown as blocks in the ladder diagram. The life management command has information (9a) indicating the type of the function command, information (9b) indicating the type of the device to be subjected to the life management, and information (9c) indicating a specific flag. It is assumed that the description is made in correspondence with the command to turn on the life management target device (8).
According to the sequence program (2), the life of the device (8) that is turned on and off is appropriately and easily managed according to the type of the device (8) by being executed by the programmable controller (1) of the present invention. can do.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described with reference to the drawings. The programmable controller 1 has an arithmetic processing unit 3 for decoding and executing a sequence program 2 described in a ladder diagram language. The arithmetic processing means 3 includes a central processing unit 4 such as a CPU for performing various types of arithmetic processing, and a system storage unit 6 storing a system program 5 for controlling the central processing unit 4. The system storage unit 6 comprises a read-on memory (ROM) or the like. The sequence program 2 is a program arbitrarily set by the user, and is set in a predetermined storage area in the storage unit 7. The storage means 7 is composed of a memory chip, a recording disk device, or the like, and may be one physically or a plurality. The arithmetic processing means 3 receives, via an input means 11 such as an input interface, detection signals of sensors and switches provided in the controlled machine 10 and other places, output signals of another control device, and the like. Is entered. The output of the arithmetic processing means 3 is output to the controlled machine 10 via the output means 12. The output unit 12 is provided with one or more of an output port, a contact relay, a switching transistor, and the like.
[0010]
In the programmable controller 1 having this basic configuration, a life setting means 14 is provided in which the number of on / off times, which is the set life of the equipment 8 whose life is to be managed, is registered for each type of the equipment 8, and the arithmetic processing means 3 has a sequence program 7 A life management command execution unit 13 for executing the life management command 9 provided as one of the function commands. The device 8 whose life is to be managed is, for example, a contact relay, whether provided on the output means 12 of the programmable controller 1 or provided on the controlled machine 10. good. The device 8 whose life is to be managed may be any device in which the number of on / off operations is a main factor of the life, and may be a switch, an electromagnetic valve, a lamp, or the like, in addition to a relay. The control target machine 10 has other devices 18 controlled by the programmable controller 1 in addition to the device 8 whose life is to be managed.
[0011]
The life setting unit 14 is, for example, a data table in which a code indicating the type of the device 8 to be subjected to the life management and a set number are set, and is provided in a predetermined storage area of the storage unit 7.
The life management command 9 is described so as to be read every time a command for turning on the life management target device 8 in the sequence program 2 is read, as will be described with reference to FIG.
[0012]
FIG. 2 shows a part of an example of the sequence program 2. The sequence program 2 is shown in a ladder diagram, and shows a set of contacts X,..., Coils Y,... Excited in a closed state of the contacts X, in a ladder format. Various function instructions (ie, function instructions) are shown as blocks in the ladder diagram.
The sequence program 2 is provided with a life management command 9 which is a new command as one of the function commands. The life management command 9 is described in the ladder diagram corresponding to a command to turn on the life management target device 8. More specifically, a life management command 9 is described between the contact X and the coil Y in a series circuit portion forming a pair of the contact X and the coil Y. The coil Y is a command for turning on the life management target device 8.
[0013]
The life management command 9 has information 9a indicating the type of the function command, information 9b indicating the type of the device whose life is to be managed, and information 9c indicating a specific flag. The information 9a indicating the type of the function instruction is indicated by, for example, a code F indicating a function instruction and a code (for example, a numeral) for identifying which of the function commands the instruction is, such as “F3”. Is displayed as follows. In the information 9b indicating the type of the device, a part of the model number of the device is indicated by alphanumeric characters or the like. Information 9c indicating a specific flag is displayed by a numeral, an alphanumeric character, or the like. The indications “used equipment” and “specific flags” shown in the block of the life management command 9 in FIG. 2 are provided for the recognition of the operator, and may be included as the life management command 9. , You don't have to. The specific flag is the flag 19 shown in the ladder diagram of the sequence program 2. In this figure, when the flag 19 is turned on, a predetermined coil 17a is turned on, and when the coil 17a is turned on, a predetermined notification means 17 (FIG. 1) provided in the programmable controller 1 is turned on. The notification means 17 may be a buzzer, a display lamp, or a means for displaying a message in a language or a mark on the screen of the display device.
[0014]
The life management command execution unit 13 includes a life management command processing program 5a constituted by a subprogram or the like as a part of the system program 6, and a central processing unit 4 controlled by the program 5a. The life management instruction processing program 5a is a program for performing processing described later with reference to FIG. In brief, the life management command execution unit 13 counts the number of times that the life management command 9 is read out by the arithmetic processing unit 3 and stores the count value in the count value storage unit 15 which is a predetermined storage area. A process of comparing the above-mentioned information 9b in the life management command 9 with the life setting means 14 to obtain a set life number for each type, and comparing the count values; In the above case, a process of operating a specific flag in the life management command 9 is performed.
The count value storage unit 15 is provided, for example, in a part of the storage unit 7. The storage means 7 also has a data storage section 16 serving as a work area for setting various data and performing calculations.
[0015]
In the programmable controller 1, the arithmetic processing means 3, the storage means 7, the input means 11, the output means 12, and the notification means 17 constitute a programmable controller main body 20. The programmable controller 1 may be constituted by the programmable controller main body 20, but in this embodiment, it has a programming device 21. The programming device 21 may be installed in the same housing or the like as the programmable controller main body 20, or provided separately from the programmable controller main body 20 to transmit the sequence program 2 via a communication line or a storage medium. It may be possible.
[0016]
The programming device 21 is composed of a computer, and displays a sequence program 2 in the course of creation in a ladder diagram on a screen of a display device 24, and ladder diagram display means 22 for displaying the functional instructions 9 as blocks in the ladder diagram. Command determination means 23 for determining a command with a predetermined input to the ladder diagram. The ladder diagram display means 22 displays the list 26 of the formats of the life management target device 8 as shown in FIG. 3A by selecting the block 9A of the life management command 9 among the above function commands on the screen. A format list display unit 27 (FIG. 1) for displaying a pull-down list or the like is provided. The command determining means 23 of FIG. 1 determines the device format information 9b in the life management command 9 by inputting an arbitrary format from a list 26 of the formats of the life management target device 8 displayed on the screen. . Input is provided from an input device 25 such as a mouse or other pointing device or keyboard. Note that the ladder diagram display means 22 may display a list of a plurality of flags (not shown) for the specific flag 19, similarly to the selection of the device type described above. In this case, the command determining means 23 may determine the information 9c of a specific flag in the life management command 9 by inputting an arbitrary flag from the list of flags 19 displayed on the screen.
[0017]
The operation of the above configuration will be described. In the process in which the sequence program 2 is executed by the arithmetic processing means 2, every time a command (X..., Y...) For turning on the life management target device 2 is read, the life management command 9 is also read. The life management command executing means 13 performs the processing shown in FIG. 4 when the life management command 9 is read by the arithmetic processing means 3. That is, each time the life management command 9 is read, the number of times of reading is counted, and the count value is stored in the count value storage unit 15 (FIG. 1) which is a predetermined storage area (Step S1). Next, the device type information 9b in the life management command 9 is collated with the life setting means 14, and the set life count for each type is recognized (S2). The set life number for each type is compared with the count value (S3). If the result of this comparison is less than the set life count, the process ends. As a result of the comparison, if the number is equal to or more than the set life number, the life management command execution means 13 turns on the specific flag 19 indicated by the information 9c in the life management command 9 (S4). When this specific flag is turned on, a notification is made by the notification means 17 of FIG. 1 using a buzzer, a lamp, a message display on the screen, or the like. Thus, the life management according to the type of the device 8 can be performed.
[0018]
Since the number of ON / OFF times at which the set life is set for each type of the device 8 is set in the life setting means 14, when the sequence program 2 is created, the operation coil X of the device to be managed shown in a ladder diagram, etc. , A block display serving as a life management command 9 which is one of the function commands is arranged, and only the format of the device 8 and information indicating a specific flag 19 need be set. Therefore, there is no need to consider the number of lifetimes when creating the sequence program 2, and the program creation operation can be performed easily.
[0019]
As for the program creation, the ladder diagram display means 22 having the format list display unit 27 is provided in the programming device 21, so that, for example, a character display portion of the used device in the block is displayed on the block 9A in the ladder diagram displayed on the screen. When a selection is made by clicking or the like, as shown in FIG. 3A, a list 26 of the formats of the life management target devices is displayed in a pull-down list or the like. When a desired device type is selected from the format list 26 as shown by a selection portion 26a in the figure, the display in the block 9A is switched to the display of the selected used device. When an input of a determination is given by the execution key or the like in this switching state, the information 9b of the device type in the life management command 9 is determined to be the one displayed on the screen. The specific flag 9c may be directly input with a numeral or the like using a keyboard or the like, or may be selected from a pull-down list or the like as in the case of the device to be used. As described above, the program display can be more easily performed by displaying the list.
[0020]
Note that the count value storage unit 15 may be a predetermined address in the storage unit 7, and a storage area is created in the storage unit 7 based on a predetermined reference at the first time when the life management command 9 is executed. May be.
[0021]
【The invention's effect】
A programmable controller according to the present invention decodes and executes a sequence program described in a ladder diagram language. And a life management command execution unit for executing a life management command provided as one of the function commands in the sequence program is provided in the arithmetic processing means. Even if it is different, it is possible to know appropriately, and it is possible to easily create a command for life management.
The sequence program of the present invention is a sequence program described in a ladder diagram language, and has a life management command as one of the function commands shown as blocks in the ladder diagram. Information indicating the type, information indicating the type of the device whose life is to be managed, and information indicating a specific flag, and are described in the ladder diagram in correspondence with the instruction to turn on the device whose life is to be managed. Therefore, the life of the device that performs the on / off operation can be appropriately and easily managed according to the type of the device.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a conceptual configuration of a programmable controller according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a part of a ladder diagram serving as a sequence program.
FIGS. 3A and 3B are explanatory diagrams respectively showing a state in which a pull-down list is displayed in a block of a life management command and a state after the display.
FIG. 4 is a flowchart showing processing contents of a life management command execution unit.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Programmable controller 2 ... Sequence program 3 ... Operation processing means 5 ... System program 5a ... Life management instruction processing program 7 ... Storage means 8 ... Equipment 9 ... Life management commands 9a to 9c ... Information 10 ... Control target machine 13 ... Life management Command execution unit 14 Life setting unit 15 Count value storage unit 19 Flag 21 Programming device 22 Ladder diagram display unit 23 Command determination unit 24 Display unit 26 List 27 Format list display unit

Claims (3)

ラダー図言語で記述されたシーケンスプログラムを解読して実行する演算処理手段を有するプログラマブルコントローラにおいて、
寿命管理対象とされる機器の設定寿命であるオンオフ回数を上記機器の形式別に登録した寿命設定手段を設け、上記演算処理手段に、上記シーケンスプログラムに機能命令の一つとして設けられた寿命管理命令を実行する寿命管理命令実行部を設け、
上記寿命管理命令は、機能命令の種類を示す情報、機器の形式を示す情報、および特定のフラグを示す情報を有し、上記シーケンスプログラム中に上記寿命管理対象機器をオンさせる命令の読み出し毎に読み出されるように記述されるものであり、
上記寿命管理命令実行手段は、上記寿命管理命令が上記演算処理手段で読み出される都度、読み出し回数をカウントして所定の記憶領域にカウント値を記憶する処理と、寿命管理命令中の上記形式の情報を上記寿命設定手段と照合して得られる形式別の設定寿命回数と上記カウント値を比較する処理と、この比較の結果、設定寿命回数以上である場合に寿命管理命令中の特定のフラグを操作する処理とを行うものとしたことを特徴とするプログラマブルコントローラ。
In a programmable controller having arithmetic processing means for decoding and executing a sequence program described in a ladder diagram language,
A life setting means for registering the number of ON / OFF times, which is a set life of a device to be subjected to the life management, for each type of the device, wherein the arithmetic processing means includes a life management command provided as one of the function commands in the sequence program. A life management instruction execution unit for executing
The life management command has information indicating a type of a function command, information indicating a device type, and information indicating a specific flag. Each time a command for turning on the life management target device in the sequence program is read. It is written to be read,
Each time the life management command is read out by the arithmetic processing means, the life management command execution means counts the number of times of reading and stores a count value in a predetermined storage area; Is compared with the above-mentioned life setting means and the set life number of each type obtained by comparing with the above-mentioned count value, and when the comparison result shows that the life time is equal to or longer than the set life number, a specific flag in the life management command is operated. A programmable controller characterized in that the programmable controller performs the following processing.
上記シーケンスプログラムを作成するプログラミング装置を有し、このプログラミング装置は、表示装置の画面に作成過程のシーケンスプログラムをラダー図で表示し、上記機能命令をラダー図中にブロックとして示すラダー図表示手段、および表示されたラダー図に対して所定の入力で命令を決定する命令決定手段とを有し、上記ラダー図表示手段は、上記機能命令のうちの上記寿命管理命令のブロックが画面上で選択されることにより、寿命管理対象機器の形式の一覧を表示する形式一覧表示部を有し、上記命令決定手段は、画面表示された上記寿命管理対象機器の形式の一覧から任意の形式を指定する入力によって、寿命管理命令における機器の形式の情報を決定するものとした請求項1記載のプログラマブルコントローラ。A programming device for creating the sequence program, the programming device displays a sequence program in the course of creation on a screen of a display device in a ladder diagram, and ladder diagram display means for displaying the functional instructions as blocks in the ladder diagram; And command determining means for determining a command by a predetermined input with respect to the displayed ladder diagram, wherein the ladder diagram displaying means selects a block of the life management command among the function commands on a screen. A format list display unit for displaying a list of the formats of the life management target devices, wherein the command determination means inputs an instruction to designate an arbitrary format from the list of the life management target devices displayed on the screen. 2. The programmable controller according to claim 1, wherein the information on the device type in the life management command is determined by the command. ラダー図言語で記述されたシーケンスプログラムであって、ラダー図中にブロックとして示される機能命令の一つとして寿命管理命令を有し、この寿命管理命令は、機能命令の種類を示す情報、寿命管理対象となる機器の形式を示す情報、および特定のフラグを示す情報を有し、ラダー図中に、上記寿命管理対象機器をオンさせる命令に対応して記述されたものであるシーケンスプログラム。A sequence program described in a ladder diagram language, which has a life management command as one of the function commands shown as blocks in the ladder diagram, and the life management command includes information indicating the type of the function command, life management A sequence program which has information indicating a type of a target device and information indicating a specific flag, and is described in a ladder diagram in correspondence with an instruction to turn on the life management target device.
JP2002175191A 2002-06-17 2002-06-17 Programmable controller Pending JP2004021575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002175191A JP2004021575A (en) 2002-06-17 2002-06-17 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002175191A JP2004021575A (en) 2002-06-17 2002-06-17 Programmable controller

Publications (1)

Publication Number Publication Date
JP2004021575A true JP2004021575A (en) 2004-01-22

Family

ID=31173916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002175191A Pending JP2004021575A (en) 2002-06-17 2002-06-17 Programmable controller

Country Status (1)

Country Link
JP (1) JP2004021575A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005316299A (en) * 2004-04-30 2005-11-10 Hoshizaki Electric Co Ltd Display device
WO2010100999A1 (en) * 2009-03-02 2010-09-10 新東工業株式会社 Remote support system and remote support method in metal-casting facility
CN102052104A (en) * 2009-10-30 2011-05-11 通用电气公司 Turbine life assessment and inspection system and methods
WO2013038541A1 (en) * 2011-09-15 2013-03-21 三菱電機株式会社 Ladder program creation device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005316299A (en) * 2004-04-30 2005-11-10 Hoshizaki Electric Co Ltd Display device
WO2010100999A1 (en) * 2009-03-02 2010-09-10 新東工業株式会社 Remote support system and remote support method in metal-casting facility
JP4871412B2 (en) * 2009-03-02 2012-02-08 新東工業株式会社 Remote support system and remote support method in foundry
KR101248573B1 (en) * 2009-03-02 2013-04-02 신토고교 가부시키가이샤 Remote support system and remote support method in metal-casting facility
CN101971112B (en) * 2009-03-02 2013-05-08 新东工业株式会社 Remote support system and remote support method in metal-casting facility
US8798783B2 (en) 2009-03-02 2014-08-05 Sintokogio, Ltd. System and a method for remote assistance in a foundry
CN102052104A (en) * 2009-10-30 2011-05-11 通用电气公司 Turbine life assessment and inspection system and methods
WO2013038541A1 (en) * 2011-09-15 2013-03-21 三菱電機株式会社 Ladder program creation device
US9098289B2 (en) 2011-09-15 2015-08-04 Mitsubishi Electric Corporation Ladder program creation device

Similar Documents

Publication Publication Date Title
JP6006399B2 (en) Programmable display, its program
CN110928249A (en) System and method for monitoring device information
CN107113478B (en) Control device, storage medium, control method, and control system
JP2004021575A (en) Programmable controller
JP2012014385A (en) Programmable display and data display program
JP2009168468A (en) Environmental test device
CN111971650A (en) Drawing device, drawing program, and storage medium
JP2008084027A (en) Programmable display device, display program and recording medium recording the same
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP4429990B2 (en) SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
CN113348440B (en) Drawing assistance device, display device, drawing assistance method, and computer program
CN108255486A (en) For view conversion method, device and the electronic equipment of form design
JP3479222B2 (en) Display screen creation support device for a programmable display device
JP2006039870A (en) Programmable display, display control program, recording medium for recording this program, screen forming device, screen forming program, and recording medium with the program recorded thereon
JP4372739B2 (en) PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP3847665B2 (en) Control program search device and program thereof
CN114064120A (en) Information processing apparatus and method, ladder program generation apparatus and method, method of manufacturing product, and recording medium
WO2014083646A1 (en) Programmable indicator and program
JPH0916220A (en) Input and output display device
JP2007183781A (en) Multi-display system and taskbar display method
JP5823083B1 (en) Programmable controller, programmable controller system, engineering tool and display
JP2005251015A (en) Editor device, editor program, recording medium recorded with program therefor, control system, control monitor program, and recording medium recorded with program therefor,
JP2004362258A (en) Programmable indicator and programmable indicator system
JP2004178151A (en) Display control device, program, and recording medium to which this program is recorded
JP2002522820A (en) Intelligent control device