JP2004234433A - Programmable logic control device display setting program - Google Patents
Programmable logic control device display setting program Download PDFInfo
- Publication number
- JP2004234433A JP2004234433A JP2003023510A JP2003023510A JP2004234433A JP 2004234433 A JP2004234433 A JP 2004234433A JP 2003023510 A JP2003023510 A JP 2003023510A JP 2003023510 A JP2003023510 A JP 2003023510A JP 2004234433 A JP2004234433 A JP 2004234433A
- Authority
- JP
- Japan
- Prior art keywords
- display
- displayed
- input
- cell
- display data
- 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.)
- Granted
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
この発明はプログラマブル・ロジック・コントロール装置(以下、PLCという)に関し、より詳しくは、PLC表示設定プログラムに関する。
【0002】
【従来の技術】
工場設備の制御にPLC及びこれに関連した外部機器を用いられているが、従来は、図1に示すように、PLC100とは独立した表示器101を用い、外部PC102によりシーケンスプログラムと表示プログラムとを作成して、シーケンスプログラムをPLC100にインストールし、表示プログラムを表示器101にインストールして、ユーザが操作することにより表示器101の表示を切り換えて、PLC及び周辺機器のデバイスデータを表示したり、工場設備の稼働状況を知らせるメッセージを表示するのが一般的であった。
【0003】
【特許文献1】
特開2002−23810号
【0004】
この特開2002−23810号は、表示部を備えたPLCを開示している。同公報に開示の表示部付きPLCは、正面パネルを上下に区分し、上方領域に表示部を配置し、下方領域に各列が横並びに上下2列のスイッチ群が配置されている。また、同公報は、PLCの正面パネルに配置した表示部で、PLCが動作中であること、動作中断中であること、エラーが発生したことを点灯表示する他、この表示部でタイマ値、カウンタ値、データ値などを数値表示することを提案している。
【0005】
【発明が解決しようとする課題】
図1を参照した従来例で従来の問題点を説明すれば、工場の管理者と作業者とでは担っている役割が異なり、表示したい項目が異なることから、工場設備の管理者が表示したい画面と作業者が表示したい画面とは異なる。このことから、ユーザ側で作業者が求める画面を作成し、管理者が求める画面を作成する必要がある。
【0006】
また、また、従来は、PLC100と表示器101とが別体であり個々に独立した存在であったため、シーケンスプログラムをPLC100に転送してこれを保存し、また、表示設定プログラムは表示器101に転送してこれを保存する必要があり、このため、例えばデバッグ時のターンアラウンドタイムが大きくなるなどの供給の立ち上げが煩雑であった。
【0007】
そこで、本発明の目的は、工場設備の管理者と作業者とで表示画面を切り替える必要のないPLCを提供するときに、表示設定に好都合なPLC表示設定プログラムを提供することにある。
【0008】
本発明の更なる目的は、外部PCで作成したPLC用のシーケンスプログラム及びPLC表示設定プログラムをPLCに組み込んで、PLCを立ち上げる作業を容易にすることのできるPLC表示設定プログラムを提供することにある。
【0009】
【課題を解決するための手段】
上記の技術的課題は、本発明によれば、
プログラマブル・ロジック・コントロール装置の内部又は該プログラマブル・ロジック・コントロール装置に接続された外部機器に設定されたデバイスに関連した名称及び当該デバイスの値を第1の所定のフォーマットに従って表示する第1表示部と、
制御対象又は該制御対象の動作状態と、前記プログラマブル・ロジック・コントロール装置が前記制御対象に対して行う指令内容を第2の所定のフォーマットに従って表示する第2表示部とを備えたプログラマブル・ロジック・コントロール装置の表示データを設定するための表示設定プログラムであって、
前記表示データを入力するための入力手順と、
第1の方向に配列され、前記表示データのうち前記第1表示部に表示する名称を登録するためのセルであって、前記入力手順により入力された前記表示データを表示するデバイス関連名称入力セルと、前記第1の方向に配列され、前記表示データのうち前記第1表示部に表示するデバイス値の前記デバイスに割り付けるためのセルであって、前記入力手順により入力された前記表示データを表示する表示デバイス入力セルとを有する表形式で表示する第1表示手順と、
前記第1の方向に配列され、前記表示データのうち前記第2表示部に表示する制御対象又は該制御対象の動作状態を示す名称を登録するためのセルであって、前記入力手順により入力された前記表示データを表示する制御名称入力セルと、前記第1の方向に配列され、前記表示データのうち前記第2表示部に表示する指令内容を登録するためのセルであって、前記入力手順により入力された前記表示データを表示する指令内容入力セルとを有する表形式で表示する第2表示手順と、
前記第1の方向と直交する第2の方向に並ぶ前記デバイス関連名称入力セルと前記表示デバイス入力セルとに入力された各々の表示データを前記第1表示部での表示が同一のページとして関連付けして記憶し、前記第2の方向に並ぶ前記制御名称入力セルと前記指令内容入力セルとに入力された各々の表示データを前記第2表示部での表示が同一のページとして関連付けして記憶する記憶手順とを実行することを特徴とするプログラマブル・ロジック・コントロール装置表示設定プログラムを提供することにより達成される。
【0010】
すなわち、PLCは、第1、第2の表示部を備え、第1の表示部に、工場設備の管理者が必要とするPLCの内部又はPLCに接続された外部機器に設定されたデバイスに関連した名称及び当該デバイスの値が所定のフォーマットに従って表示され、また、第2の表示部に、工場作業者が必要とする、PLCの制御対象又は該制御対象の動作状態と、PLCが前記制御対象に対して行う複数の指令内容が所定のフォーマットに従って表示されることから、工場設備の管理者と作業者とで表示画面を切り替える必要のPLCとなるが、本発明によるPLC表示設定プログラムによれば、表形式で表示された各入力セルに入力することで、第1表示部及び第2表示部に表示する表示データを設定することが可能であることから、設定作業が容易である。
【0011】
【発明の実施の形態】
本発明の好ましい実施の形態では、第1の表の各列に、各列毎に異なるページ番号が割り付けられる割付ページセルと、各列毎に記憶するデータメモリのアドレスが割り付けられる割付アドレスセルを有し、PLCの第1表示部の表示が、ページ切り替えにより表示データの切り替えが行われる。これにより、各デバイス毎の表示データの詳細な設定が容易となる。このことは、第2の表に関しても同様であり、第2の表の各列に、各列毎に異なるページ番号が割り付けられる割付ページセルを有し、PLCの第2表示部の表示が、ページ切り替えにより表示データの切り替えが行われる。
【0012】
第1の表及び第2の表の各列に、各列毎に割付ページセルを設けた場合には、この割付られたページを指定することにより、前記第1の表示部と前記第2の表示部の表示を逆転及び第1、第2の表のいずれか一方の表示データを第1、第2表示部の双方を用いて表示させることができる。
【0013】
PLCのシーケンスプログラムに関連付けてPLC表示設定プログラムの設定を行うことは特に好都合であり、このようにPLCのシーケンスプログラムと一体化して設定された表示設定プログラムは、シーケンスプログラムと表示設定プログラムとを一括してPLCに組み込むことができることから、例えば、デバッグ時のターンアラウンドタイムを短縮することができる。
【0014】
【実施例】
添付の図面を参照して本発明の好ましい実施例を以下に詳しく説明する。
【0015】
図2、図3は、実施例の表示画面付きPLCを示し、図2は、制御盤の取付パネルに装着した状態のPLCの平面図であり、図3はPLCの正面図である。
【0016】
実施例のPLC1は、正面又は背面から見たときに矩形形状のケース2を有し、このケース2の前面には、このケース2よりも若干大きな正面パネル3が取付けられ、この正面パネル3には、その全周に亘ってケース2よりも外方に突出したフランジ部3aが形成されている。
【0017】
PLC1は、典型的には制御盤の取付パネルPに形成された矩形開口(図面には作図上の理由から現れていない)に装着され、PLCケース2の上面、下面、両側面の各々に形成された一対の矩形切欠き4に対して着脱可能な取付具5を基本的には2つ用いて取付パネルPに固定される。すなわち、PLCケース2の両側面の各々に取付具5が装着され、又は、PLCケース2の上面及び下面に夫々取付具5が装着され、これら2つ取付具5を用いてPLC1が取付パネルPに固定される。
【0018】
具体的には、取付具5は、その本体6のネジ孔(図面には作図上の理由から現れていない)に螺合されたボルト7を有し、このボルト7を操作して、ボルト7の先端に取り付けられた拡大円板8を取付パネルPに押し付けることにより、PLC1が取付パネルPに固定される。なお、PLC1は、その背面に従来から既知のDINレール取付用の溝及び爪を備えている。
【0019】
PLC1の正面パネル3は略正方形の形状を有する。PLC1の正面パネル3は、同一平面上で、上方表示領域10と下方表示領域11とに2分割され、図3から分かるように、各領域10、11に、上方表示画面12、下方表示画面13が配置されており、これにより、一つの表示画面を備えたPLCを上下に隣接して2台配置したような外観を有している。これら2つの表示画面12、13は同じサイズの横長の液晶ディスプレイで構成され、これらの液晶ディスプレイは個々に独立して制御される。
【0020】
正面パネル3の上方表示領域10には、上方操作部として、その横幅一杯に、上方表示画面12の下方に隣接して横並びに一列に配置された5つのキースイッチ15〜19からなる上方スイッチ群が設けられている。同様に、正面パネル3の下方表示領域11には、下方操作部として、その横幅一杯に、下方表示画面13の下方に隣接して横並びに一列に配置された5つのキースイッチ20〜24からなる下方スイッチ群が設けられている。これら上下のスイッチ群15〜24は、上下の表示画面12、13と実質的に同一平面に配置されている。
【0021】
上方表示画面12及び下方表示画面13の横方向寸法は、上方スイッチ群及び下方スイッチ群の中央に位置する3つのキースイッチ16〜18、21〜23の合計横方向寸法と実質的に同一である。換言すれば、正面パネル3は、上方表示画面12及び下方表示画面13の左側に、上方スイッチ群及び下方スイッチ群の左端のキースイッチ15、20と実質的に同じ横方向寸法を有する左ブランクエリア26、27を有し、また、上方表示画面12及び下方表示画面13の右側に、上方スイッチ群及び下方スイッチ群の左端のキースイッチ19、24と実質的に同じ横方向寸法を有する右ブランクエリア28、29を有する。
【0022】
以上の説明から理解できるように、PLC1は、表示画面12、13及びキースイッチ15〜19、20〜24の大きさ、配列などが全く同一であり、表示画面12及びキースイッチ15〜19を含む上方表示領域10と、表示画面13及びキースイッチ20〜24を含む下方表示領域11とは、全く同じ大きさであり且つ全く同じ構成である。
【0023】
PLC1の表示に関する基本設定では、特に限定されるものではないが、上方表示画面12には、後に詳しく説明するように、PLC1に関連した内部メモリ、タイマ、カウンタ、リレーなどのデバイスを直接又は間接的に識別することのできる名称又は表記及び当該デバイスの値が表示される。すなわち、上方表示画面12には、工場設備の管理者が得たい情報である、PLC1の内部のデバイスやPLC1に接続された外部機器に設定されるデバイスを直接的又は間接的に識別できる名称又は表記が表示され、また、当該デバイスのデバイス値、例えばカウンタ値や数量や時間が表示される。
【0024】
他方、下方表示画面13には、PLC1の表示に関する基本設定では、工場作業者が得たい情報である、PLC1の制御対象又はこの制御対象の動作状態と、当該制御対象に対する実行指令の指令内容が表示される。すなわち、下方表示画面13には、工場設備の稼働状況とこれに関連した指令を意味する文字又は表記が表示される。
【0025】
以上のことに関連して、上方表示領域10の5つのキースイッチ15〜19には、その操作面に、左から順に、「NEXT」、「RESET」、「△」、「▽」、「ENTER」の文字又は印が付されている。また、この上方スイッチ群のキースイッチ15〜19の各々の真下には、左から順に、「F1」、「F2」、「F3」、「F4」、「F5」の文字が正面パネル3に付されている。
【0026】
同様に、下方表示領域11の5つのキースイッチ20〜24には、その操作面に、左から順に、「F1」、「F2」、「F3」、「F4」、「F5」の文字が付されている。また、この下方スイッチ群のキースイッチ20〜24の各々の真下には、左から順に、「NEXT、「RESET」、「△」、「▽」、「ENTER」の文字又は印が正面パネル3に付されている。
【0027】
以上の説明から理解できるように、上方表示領域10に設けられた上方キースイッチ15〜19を識別する表記と、下方表示領域11に設けられた下方キースイッチ20〜24を識別する表記とはリバーシブルの関係である。このことは、PLC1の表示に関する基本設定をユーザが変更することができることに関係しており、例えば上方表示画面12に「工場設備の稼働状況とこれに関連した指令を意味する文字又は表記(基本設定では下方表示画面13に表示される事項)」を表示させ、下方表示画面13に「デバイスを直接又は間接的に識別することのできる名称又は表記及び当該デバイスの値(基本設定では上方表示画面12に表示される事項)」を表示させたときに、全く同じ大きさ及び配列の上方キースイッチ15〜19及び下方キースイッチ20〜24の各々の真下に表記した文字又は印を利用することにより、ユーザがキースイッチの操作で混乱を招かないようにしてある。
【0028】
上述のように、上方表示画面12と下方表示画面13は、これに表示される項目の性質が異なっており、PLC1の表示に関する基本設定では、上方表示画面12に主に工場設備の管理者が必要とする情報を表示し、他方、下方表示画面13には、作業者が必要とする情報を表示するように設定されていることから、任意であるが、これをユーザに認識させるための文字、例えば「DATA ACCESS PANEL」(データアクセスパネル)を上方表示領域10の例えば左上部分に付し、「MESSAGE PANEL」(メッセージパネル)を下方表示領域11の例えば左上部分に付するようにするのが好ましい。
【0029】
図4は、PLC1のブロック図である。PLC1は、各種センサや周辺機器との信号の授受を行う入出力部30と、PLC1の動作を制御する制御手段としてのCPU31と、ROMやデータメモリなどの記憶部32とを含み、外部PC33でシーケンスプログラム(典型的にはラダープログラムから作成される)と、後述する表示設定プログラムとが一体的に作成されて、これらのプログラムがシリアル通信部34を通じてPLC1に一括してインストールされる。
【0030】
PLC1は、上方表示画面12及び下方表示画面13を制御するための表示制御CPU35を更に含む。この表示制御CPU35は上述した動作制御CPU31と一体であってもよい。これら表示制御CPU35及び動作制御CPU31からなる制御部は、例えば上方キースイッチ群15〜19を監視し、上方キースイッチ群15〜19に含まれる「RESET」キースイッチ16、「△」キースイッチ17、「▽」キースイッチ18が押し下げられると、上方表示画面12に表示されているデバイス値に対応するデバイスに書き込みを実行して、数値のリセット又は増減を行う。また、「NEXT」スイッチ15は、上方表示画面12に表示するページを強制的に変更する機能が割り付けられており、「NEXT」スイッチ15を押し下げる毎に、上方表示画面12に表示するページが次々と変更され、これにより、表示したいデバイスを選択することができる。このような上方及び下方のキースイッチ群15〜19、20〜24に割り付ける機能は、後に説明する表示設定プログラムで設定される。
【0031】
表示設定プログラムは外部PC33でシーケンスプログラムに関連付けてユーザが必要な入力作業を行うことにより完成し、上記シリアル通信部34を通じてPLC1にシーケンスプログラムと共にインストールされる。同図に示す「操作部」は、前述したキースイッチ15〜19、20〜24を意味する。
【0032】
上方表示画面12及び下方表示画面13は予め設定された所定の表示フォーマットに従って表示される。図5は、データアクセスパネル表示用に設定された表示フォーマットを示す。同図から分かるように、表示の基本設定に従えば、上方表示画面12は、その上段に、「生産個数」というように工場設備の管理に関連したデバイスを識別することのできる表記が表示され、このデバイスのデバイス値、つまりシーケンスプログラムで制御可能なデバイスである、データメモリ、カウンタ、タイマ、リレーのデバイス値が下段に数値表示される。なお、現在までに生産した数量に加えて、表示設定プログラムでユーザの設定作業を行うことにより、設定値を併せて表示することも可能である。
【0033】
また、図6は、メッセージパネル表示用に設定された表示フォーマットを示す。同図から分かるように、表示の基本設定に従えば、下方表示画面13は、その上段に、「研削加工中」などPLC1の制御対象の動作状態つまり工場設備の作業に関連したメッセージが表示され、下段に、PLC1の制御対象に対する3つの指令31〜33が横並びに文字で表示される。
【0034】
上述したデータアクセスパネルつまり上方表示画面12は、上方スイッチ群15〜19のうち、最も左に位置する「NEXT」キースイッチ15を押すことにより、ユーザの設定に従い次の表示ページに表示を切り替えることができる。また、その右隣の「RESET」キースイッチ16を押すことにより、後に説明するユーザ設定されていれば、下段に表示されている数値を「0」にクリアすることができる。また、次の「△」キースイッチ17を押すことにより、後に説明するユーザ設定されていれば、下段に表示されている数値のインクリメントすることができる。また、「▽」キースイッチ18を押すことにより、後に説明するユーザ設定されていれば、下段に表示されている数値をデクリメントすることができる。また、最も右に位置する「ENTER」キースイッチ19を押すことにより、変更された数値のデバイスにアクセスして、例えば該当するカウンタを変更後の値に確定することができ、上方表示画面12には変更後の値が表示される。上記の具体例であれば、基本設定では上方表示画面12に表示される表示及びこれに関連したキースイッチ15〜19の機能は、外部PC33を用いた表示設定プログラムへの登録及び設定に関連して自動的に割り付けられる。
【0035】
上述したメッセージアクセスパネルつまり下方表示画面13は、その下段に表示される3つの指令文字31〜33が、下方スイッチ群20〜24のうち、左から2〜4番目に位置するファンクションキースイッチ21〜23に対応している。
【0036】
すなわち、下方表示画面13の下段の左部分に表示される「開始」指令31は、左から2番目のファンクションキースイッチ21の、丁度、真上に位置して表示され、中央部分に表示される「停止」指令32は、中央のファンクションキースイッチ22の、丁度、真上に位置して表示され、右部分に表示される「復帰」指令33は、右から2番目のファンクションキースイッチ23の、丁度、真上に位置して表示され、表示された各指令31〜33に対応するキースイッチ21〜23を押し下げることにより、PLC1から制御対象に対して実行指令を供給することができる。
【0037】
「開始」などの3つの指令文字31〜33は、下方キースイッチ20〜24と実質的に同じサイズのセル(表示枠)を設定して、この表示枠の中に指令文字31〜33を表示するのが、下方キースイッチ20〜24との関連付けを強める上で好ましい。
【0038】
横並びの下方スイッチ群20〜24の中央に位置する3つのファンクションキースイッチ21〜23は、これに対応する位置に横並びに表示される3つの指令文字「開始」「停止」「復帰」に関連しており、図示の例であれば、研削加工を開始するのであれば、作業者が表示文字「開始」31の真下に位置する「F2」ファンクションキースイッチ21を押せばよく、同様に、研削加工を停止するのであれば、作業者が表示文字「停止」32の真下に位置する「F3」ファンクションキースイッチ22を押せばよく、更に、切削加工を再開するのであれば、作業者が表示文字「再開」33の真下に位置する「F4」ファンクションキースイッチ22を押せばよい。
【0039】
上記の例から理解できるように、上述の具体例で説明すれば、下方表示画面13の下段の表示指令31〜33の文字は、この表示される位置に対応して配置されているキースイッチ、つまり下方スイッチ群20〜24の中央に位置する3つのキースイッチ21〜23に割り当てる機能を指し示しており、この表示指令31〜33などを登録することにより、表示される位置に対応して配置されているキースイッチに該当する機能が割り付けられる。したがって、上記の例で説明すれば、表示指令31〜33に対応するキースイッチ21〜23を作業者が押すことにより、表示された指令31〜33に従うシーケンスへ移行させることができる。
【0040】
キースイッチ21〜23の機能は、表示設定プログラムでユーザが任意に登録することができる。このような対応関係を視覚的に示すために、図3に図示したように、下方スイッチ群の中央の3つのキースイッチ21〜23と下方表示画面13とで挟まれた幅狭のエリアの各キースイッチ21〜23に対応した位置に、例えば「▽」印のように相互に関連付ける符号を正面パネル3に付すのが好ましい。
【0041】
また、この3つのファンクションキースイッチ21〜23のいずれかを作業者が押したときに、PLC1が、この指令を受け付けたことを表示するのに、表示指令31〜33のうち該当する指令文字を反転表示又は点滅表示に切り換えるようにするのが好ましく、また、作業者が3つのファンクションキースイッチ21〜23のいずれかを押したときに、PLC1が、この指令を受け付けたこと、例えば「ピッ」というような確認音で作業者に知らせるようにしてもよい。
【0042】
上方表示画面12、下方表示画面13の表示は表示設定プログラムに従って実行されるものであるが、外部PC33を用いた設定や登録の作業を図7などの図面を参照して説明する。
【0043】
図7、図8は、表示設定プログラム中のデータアクセスパネル(上方表示画面12)に関連した設定ウィンドウを示し、この設定ウィンドウを用いてユーザが設定した表示設定データは、表示設定プログラムをPLC1に組み込んだ後は、カード形式で、データアクセスパネル表示データベースとしてPLC1のデータメモリ(DM)に格納される。
【0044】
データアクセスパネルの表示設定ウィンドウは、複数の列及び行を備えた表形式であり、各列毎にページ番号が割り付けられ、各列に設けられた横並びの複数のセルを用いて、各ページ毎に割り付けるデバイス、データ名、文字色、文字反転、表示点灯/点滅、スクロール速度、NEXTキー設定、表示デバイス番号、表示デバイス属性(小数点、データ長、データ変更、設定値表示)が設定される。PLC1のラダープログラムにより該当するデバイスがセットされて、当該デバイスが動作すると、これに関連したページが上方表示画面12に表示される。
【0045】
すなわち、データアクセスパネルの表示設定ウィンドウの最も左の欄のセルに見られる数字はページ番号を示す。その右隣の欄「割付アドレス」のセルは、当該ページが格納されるデータメモリのアドレスである。データアクセスパネルの表示に関する、ユーザが設定可能な入力欄である「データ名」の登録例として、例えば「稼働前」「トータル生産数」「回転速度rpm」などのように文字で登録することが可能であり、この設定欄のセルに登録された名称は上方表示画面12の上段に表示される(図5)。この「データ名」欄の表示は、上方表示部12の横幅寸法との関係で、全角文字で6文字、半角文字で12文字を常時表示することができるが、これを超える文字はスクロール表示される。
【0046】
「データ名」の表示の文字の色は、赤、橙、緑から選択可能であり、この選択は、「文字色」欄によって行うことができる。「データ名」の表示の文字をネガ又はポジで選択的に表示することが可能であり、この選択は、「文字反転」欄によって行うことができる。また、「データ名」の表示を選択的に点滅又は点灯表示することが可能であり、この選択は、「表示」欄によって行うことができる。また、上述したスクロールの速度は、「スクロール速度」欄によって設定することができる。
【0047】
データアクセスパネルの表示設定ウィンドウは、また、上方表示領域10に含まれる「NEXT」キースイッチ15に関連して、このキースイッチ15を押すことにより次の表示ページに移行するか否かを設定するための欄「NEXT設定」を含み、この「NEXT設定」入力欄により、次ページへの表示ページの移行を禁止又は許可する設定の他に、これを許可する場合に、キースイッチ15を押し下げることで機能する「通常ページ送り」と、所定の時間継続して押し続けたとき(長押ししたとき)に、ページ送りの対象なる「長押し」とを選択的に設定することができる。この「長押し」が設定されると、NEXTキースイッチ15を長押しすると、この「長押し」を設定したページもページ送りの対象に加えられ、NEXTキースイッチ15を押すことにより、「長押し」が設定されたページも含めて、順次、表示される。他方、NEXTキースイッチ15を長押ししないと、NEXTキースイッチ15を押すことにより、「通常ページ送り」が設定されたページが、順次、表示され、また、最初のページに戻るループを画く。
【0048】
上方表示画面12の下段に表示されるデータ値は、「表示デバイスNo」入力欄に表示したいデバイス番号を書き込むことにより、上方表示画面12の表示フォーマットに従い上方表示画面12の下段に表示される。例えば内部又は外部のカウンタ、タイマ、データメモリ(DM)のデバイス番号を「表示デバイスNo」欄に書き込むことにより、当該デバイスに含まれるデータ、つまり、データ値、ビットデータ値、カウンタ値、タイマ値が上方表示画面12の下段に数値表示される。
【0049】
データアクセスパネルの表示設定ウィンドウに関し、この設定ウィンドウを用いて設定可能な他の項目としては、図8に示すように、上方表示画面12の下段の表示デバイス属性があり、数値の小数点、データ長、符号の有無、表示を現在値だけでなく設定値を加えて表示するか否かの設定をページ毎(各列の横並びのセルを用いて)に行うことができ、また、先に上方キースイッチ群に関連して説明したキースイッチ16〜18による数値変更(つまりデバイスの各種データ値の変更)を許容するか又は禁止するかの設定は「データ変更」欄によってページ毎に行うことができる。
【0050】
なお、図7のページ番号128に「メッセージパネルデータ表示エリアDM2000」とあるが、これは、該当するデバイス番号のデータメモリに格納されているメッセージパネルのページを表示することを例示的に示している。
【0051】
図9、図10は、表示プログラム中のメッセージパネル(下方表示画面13)の設定ウィンドウを示し、ユーザが設定した内容はカード形式で、メッセージパネル表示データベースとして、PLC1の内部メモリに格納される。
【0052】
メッセージパネルの表示設定ウィンドウは、複数の列及び行を備えた表形式で設定されており、最も左の欄(図9)のセルに見られる数字は、ページ番号を示す。その右隣の「優先割込」入力欄は、表示が競合したときに優先的に表示するか否かを設定するためのものであり、この欄の設定セルを使って「有効」にすることにより、当該ページを優先的に表示させることができる。次の「割付アドレス」欄は、該当ページが格納されているメモリのアドレスを示す。
【0053】
メッセージパネルの表示に関するユーザが設定可能な「メッセージ」入力欄は、第1、第2の分割セルで構成され、第1の分割セルに登録した文字は常時表示され、第2の分割セルに登録した文字はスクロール表示される。このメッセージ入力欄の登録例として、例えば「稼働前」「自動運転モード」「手動運転モード」などのように工場設備の稼働状況を示す文字を登録することができ、この欄の各セルで登録されたメッセージ文字は下方表示画面13の上段に表示される(図6)。この「メッセージ」欄の第1分割セルは、下方表示部13の横幅寸法との関係で、全角文字で6文字、半角文字で12文字まで登録が可能である。これを超える文字を第2分割セルに登録することによりスクロール表示される。この「メッセージ」欄には、図9から理解できるように「緊急停止」「ワーク供給部異常」のような作業者に注意を促す警報文字や、「テープを供給して下さい」「ワークトレーがありません」「タップを交換して下さい」のような工場設備の正常運転に支障が発生する虞のある旨の注意や正常運転を維持するための作業の指示を作業者に通知する警告又は通知文字を登録して、これを下方表示画面13の上段に表示させることができる。
【0054】
「メッセージ」の表示の文字の色は、赤、橙、緑から選択可能であり、この選択は、「文字色」欄で指定することによって行うことができる。また、「メッセージ」の表示の文字は等倍、縦倍、四倍で表示することが可能であり、この選択は、「倍角」欄によって行うことができる。
【0055】
「メッセージ」の表示の文字をネガ又はポジで選択的に表示することが可能であり、この選択は、「文字反転」欄によって行うことができる。また、「メッセージ」の表示を選択的に点滅又は点灯表示することが可能であり、この選択は、「表示」欄によって行うことができる。また、上述したメッセージ表示のスクロールの速度は、「スクロール速度」欄によって設定することができる。
【0056】
前述したように下方表示画面13の下段には3つの指令文字31〜33(図6)が表示されるが、この下方表示画面13の下段に表示する文字及びこれに関連する機能は、メッセージパネルの設定ウィンドウの「ファンクションSW銘板」欄(図10)を使ってページ毎に設定することができる。ここに、図10に図示の「ファンクションSW銘板」欄に含まれる「F2」セルは「表示指令31」に関するものであり、「F3」セルは「表示指令32」に関するものであり、「F4」セルは「表示指令33」に関するものであり、これを実行指令する機能が、該当するF2〜F4キースイッチ21〜23に割り付けられる。
【0057】
なお、図9のページ番号128に「データパネルデータ表示エリアDM6000」とあるが、これは、該当するデバイス番号のデータメモリに格納されているデータパネル(図10)のページを表示することを例示的に示している。また、このページ番号128では優先割込が「有効」となっているが、これにより、このページ128が有効になると、他のページのスクロールの終了を待たずにリアルタイムに当該データパネルに関連したページに表示が切り替わることを意味する。
【0058】
PLC1の表示部、つまり上方表示画面12の表示と下方表示画面13の表示はPLC1の動作に関連付けられる。図11、図12は、PLC1のシーケンスプログラムと、データアクセスパネル及びメッセージパネルの表示とを関連付けるためのツールの設定ウィンドウを示し、これを用いて設定された内容は、PLC1の内部メモリにリレーションデータベースとして格納される。リレーション設定ツールの設定ウィンドウは、割付デバイスの種類を選択するデバイス設定ウィンドウ(図11)と、割付デバイスと、データアクセスパネル及びメッセージパネルの表示ページとを関連付けるリレーション設定ウィンドウ(図12)とを含む。
【0059】
図11を参照して、割付デバイスは、リレーとデータメモリ(DM)の2種類から選択することができる。割付デバイスとしてリレーを選択したときには、1ページ毎に1つのリレーが割り付けられる。これにより、該当するリレーがONすれば、該当するページが表示される。つまり、例えば5ページ目に1200番のリレーが割り付けられていれば、1200番のリレーがONすると第5ページの表示が行われる。
【0060】
他方、データメモリを選択したときには、全ページに1つのデータメモリが割り付けられる。データメモリの場合には、割付デバイスとして割り付けられたデータメモリにページ番号を書き込むことにより、この書き込まれた番号のページが表示される。すなわち、図12を参照して、リレーション設定ウィンドウは、データアクセスパネル(上方表示画面12)用として、項目「割付デバイス先頭番号」「割付デバイス終了番号」「メッセージ表示エリア」「表示ページ番号(データメモリ番号)」の各欄を含み、他方、メッセージパネル(下方表示画面13)用として、項目「割付デバイス先頭番号」「割付デバイス終了番号」「アスキー文字表示エリア」「データアクセス表示エリア」「表示ページ番号(データメモリ番号)」の各欄を含む。
【0061】
データアクセスパネル(上方表示画面12)用の項目「割付デバイス先頭番号」をユーザが決定すると、他のページも自動的に割り付けられるようになっている。リレー番号を選択したときには、ページ番号が1つ大きくなるに従い1つ番号の大きいリレー番号のリレーが該当ページに割り付けられるようになっている。データメモリ番号を選択したときには、全てのページに先頭番号と同じデータメモリに割り付けられ、該当するデータメモリに該当するページ番号と同じ数字が書き込まれる。
【0062】
「割付デバイス終了番号」は、ユーザが設定することができず、主に割付デバイスとしてリレーを選択したときに有用性がある。すなわち、割付デバイスとしてリレーを選択した場合、この実施例では、リレー番号の連続した128個のリレーを自動的に占有することになることから、どのリレー番号からどのリレー番号まで占有されたかを確認のために表示することを目的した表示項目である。したがって、上記の「割付デバイス先頭番号」を入力すると自動的に割り付けられたデバイスの一番大きな番号が、この「割付デバイス終了番号」に表示される。なお、割付デバイスがデータメモリの場合には、上述した「割付デバイス先頭番号」で入力したデータメモリ番号がそのまま表示される。
【0063】
図12のリレーション設定ウィンドウの表の「メッセージパネル表示エリア」欄及び「データアクセスパネル表示エリア」欄は、データアクセスデータ(図7、図8)を上方表示画面12に表示し、メッセージ(図9、図10)を下方表示画面13に表示することを原則として、例えば、これを逆に表示する場合には、上記「メッセージパネル表示エリア」欄及び「データアクセスパネル表示エリア」欄に、他方のデータメモリ番号を書き込むことにより設定すればよい。これにより、該当するデータメモリに記憶されている表示ページに従って、データアクセスデータ(図7、図8)を下方表示画面13に表示し、メッセージ(図9、図10)を上方表示画面12に表示することができ、また、上方キースイッチ群15〜19、下方キースイッチ群20〜24に割り付けられる機能も変更される。
【0064】
同様の設定を行うことにより、例えば、上方表示画面12及び下方表示画面13の双方に、図13の図示のようにデータアクセスデータを表示させることができ、また、双方の画面12、13に上述のメッセージを表示させることができる。これによれば、例えば、上方表示画面12に現在の生産個数(現在値)を表示し、下方表示画面13に生産予定個数(設定値)を表示するというように、上下2つの表示画面12、13を使って、工場作業者が知りたい工場設備の稼働状況に関する異なる情報を表示させることができる。また、上下2つの画面12、13及びスイッチ15〜19、20〜24を使って工場設備の制御を行うことができる。
【0065】
例えば、下方表示画面13(メッセージパネル表示エリア)にデータアクセスデータを表示し、上方表示画面12にメッセージを表示する場合、先ず既に割り付けられている割付デバイス(実施例では第128ページ)が選択された場合に参照するデータメモリが予め用意されており、このデータメモリに書き込まれている値と同じデータアクセスページのページ番号のページを表示することで、データアクセスデータ(メッセージ)を表示する。項目「メッセージパネル表示エリア」及びメッセージパネル用設定に見られる項目「データアクセスパネル表示エリア」は、この参照されるべきデータメモリ番号を設定するための欄である。実施例で説明すれば、図7、図9の128ページに書き込まれているデータメモリ番号2000、6000と、項目「メッセージパネル表示エリア」及び項目「データアクセスパネル表示エリア」に書き込まれるデータメモリ番号である。
【0066】
図12を参照して、項目「表示ページ番号」欄は、「割付デバイス」がリレーのときに有用性がある。すなわち、「表示ページ番号」として指定されたデータメモリには、現在表示されているページ番号が書かれており、データメモリの中の値を読み込みに行くと、現在表示されているページ番号を読み出すことができる。つまり、この「表示ページ番号」によって、表示ページ番号を記憶するデータメモリ番号を指定することができる。割付デバイスとしてデータメモリが選択されているときには、このデータメモリ表示ページ番号を記憶するデータメモリの記憶内容とが一致することになる。「割付デバイス」がリレーである場合に、複数の同時に割り付けられたリレーがONした場合には、表示画面は交互表示になる。つまり、複数のリレーはONが継続されても表示は交互表示するようになっており、データメモリの場合のように、リレーを全部見ても、どのページが表示されているかを把握することができないことになる。
【0067】
「表示ページ番号」の欄でデータメモリ番号を入力することにより、指定されたデータメモリに、現在表示されているページ番号が保存されるので、複数のリレーがONした場合に、PLC1の下方表示画面13が交互表示になったとしても、作業者がキースイッチ21〜23を押し下げたときに表示されていた表示ページを指定データメモリから特定することができ、PLC1は、指定データメモリから特定したページ番号に従って制御対象に対して、作業者が押し下げたキースイッチ21〜23に割り当てた機能つまり指令内容に従う指令を制御対象に供給することができる。
【0068】
ユーザ設定により表示態様が変更可能であることから、図3から理解できるように、正面パネル10には、上方キースイッチ群15〜19に関連してその直下に、下方キースイッチ20〜24に記したF1〜F5の文字を付しておくのがよく、同様に、下方キースイッチ群20〜24に関連してその真下に、上方キースイッチ15〜19に記した「NEXT」などの文字又は符号を付しておくのがよい。
【0069】
上述した実施例によれば、2つの表示画面12、13を設置したPLC1に関して、PLC1のシーケンスプログラム(ラダープログラム)に関連して作成した表示設定プログラムは、シーケンスプログラムと一括したPLC1への転送及び保存を行い、また、デバッグを行うことができる。そして、PLC1のシーケンスプログラムと表示設定プログラムとがデバイス番号及び表示ページとで関連付けられていることから、シーケンスプログラム(ラダープログラム)の実行により、ユーザが指定したデバイスが動作すると、先に説明したように、これに同期して、該当するデバイスの表示ページが表示設定プログラムでセットされ、上方表示画面12又は下方表示画面13に、ユーザが設定した表示項目に従った表示が所定のウィンドウフォーマットに従って行われる。
【0070】
また、各種デバイスのデータを上方表示画面12に表示し、工場設備の稼働状況に関するメッセージを下方表示画面13に表示するのを原則とするが、この表示態様は、図7、図9に見られるように、データアクセスパネル用設定ウィンドウ及びメッセージパネル設定ウィンドウのページ128に他方のパネルのページ番号を書き込むことにより、間接的な指定により変更することができ、上方表示画面12にメッセージを表示させ、下方表示画面13にデータを表示することができる。
【0071】
また、データアクセスパネルの設定ウィンドウの項目「データ変更」(図8)でデータ変更を禁止するユーザ設定を行うことで、ページ毎にデバイス値の変更操作を受け付けないようにすることができる。
【0072】
上記の実施例に関連して、所定の2つのキースイッチ、例えば互いに大きく離間した「NEXT」キースイッチ15と「ENTER」キースイッチ19とを同時に押すことにより、キープロテクト機能つまりキースイッチの操作を受け付けない機能を設定又はこれを解除するトグル動作を行うようにしてもよい。この場合、キープロテクト機能を設定変更したときに、数秒間、「Lock」又は「Unlock」の文字を表示するようにするのが好ましい。
【0073】
また、工場設備の稼働状況に関するメッセージを例えば下方表示画面13に表示している最中に、工場設備を緊急停止したときには、直ちに、「緊急停止」の文字を他方の表示画面12に割り込み表示させるようにしてもよい。
【0074】
また、正面パネル3の上方表示領域10及び/又は下方表示領域11の左右のブランクエリア26〜29(図3)に、例えば、初期画面や緊急停止などの文字や符号を記し、これに対応するキースイッチ15、19、20又は24に、その機能を固定的に割り付けるようにしてもよい。
【図面の簡単な説明】
【図1】PLCとこれに接続した表示器の従来の一般的なレイアウトを説明するための図である。
【図2】実施例の2画面付きPLCを制御盤の取付パネルに設置した場合の平面図である。
【図3】実施例の上下2画面付きPLCの正面図である。
【図4】実施例の2画面付きPLC及び周辺機器のブロック図である。
【図5】実施例の上下2画面のうち上方表示画面(データアクセスパネル)の管理者向け表示態様の一例を説明するための図である。
【図6】実施例の上下2画面のうち下方表示画面(メッセージパネル)の作業者向け表示態様の一例を説明するための図である。
【図7】管理者向け表示画面(データアクセスパネル)の表示プログラムのユーザ設定ウィンドウの一部を示す図である。
【図8】図7に関連して管理者向け表示画面(データアクセスパネル)の表示プログラムのユーザ設定ウィンドウの残部を示す図である。
【図9】作業者向け表示画面(メッセージパネル)の表示プログラムのユーザ設定ウィンドウの一部を示す図である。
【図10】作業者向け表示画面(メッセージパネル)の表示プログラムのユーザ設定ウィンドウの残部を示す図である。
【図11】データアクセスパネル及びメッセージパネルの表示に関連付けるデバイスを設定するための設定ウィンドウを示す図である。
【図12】データアクセスパネル及びメッセージパネルの表示プログラムとシーケンスプログラムとを関連付ける設定ウィンドウを示す図である。
【図13】上下の表示画面の表示に関する基本設置をユーザが変更して上下の表示画面に共通種類の情報を表示させた場合の例を示す図である。
【符号の説明】
1 PLC
10 PLCの正面パネルの上方領域
11 PLCの正面パネルの下方領域
12 上方表示画面
13 下方表示画面
15〜19 上方キースイッチ群
20〜24 下方キースイッチ群
33 外部PC[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a programmable logic control device (hereinafter, PLC), and more particularly, to a PLC display setting program.
[0002]
[Prior art]
Although a PLC and an external device related to the PLC are used for controlling factory equipment, conventionally, as shown in FIG. 1, a
[0003]
[Patent Document 1]
JP-A-2002-23810
JP-A-2002-23810 discloses a PLC having a display unit. In the PLC with a display unit disclosed in the publication, a front panel is divided into upper and lower sections, a display section is arranged in an upper area, and two rows of switch groups are arranged in the lower area. The publication also discloses that a display unit arranged on the front panel of the PLC illuminates that the PLC is operating, that the operation is being interrupted, and that an error has occurred, and that a timer value, It has been proposed to numerically display counter values, data values, and the like.
[0005]
[Problems to be solved by the invention]
Explaining the conventional problems in the conventional example with reference to FIG. 1, the role of the factory administrator and the role of the operator are different, and the items to be displayed are different. Is different from the screen that the operator wants to display. For this reason, it is necessary for the user to create a screen required by the operator and to create a screen required by the administrator.
[0006]
Further, conventionally, since the
[0007]
Therefore, an object of the present invention is to provide a PLC display setting program that is convenient for display setting when providing a PLC that does not require a display screen to be switched between an administrator of a factory facility and an operator.
[0008]
A further object of the present invention is to provide a PLC display setting program capable of incorporating a PLC sequence program and a PLC display setting program created by an external PC into a PLC to facilitate the operation of starting up the PLC. is there.
[0009]
[Means for Solving the Problems]
The technical problem described above, according to the present invention,
A first display unit that displays a name associated with a device set in the programmable logic control device or an external device connected to the programmable logic control device and a value of the device according to a first predetermined format; When,
A programmable logic device comprising: a control target or an operation state of the control target; and a second display unit that displays, according to a second predetermined format, the content of a command performed by the programmable logic control device on the control target. A display setting program for setting display data of a control device,
An input procedure for inputting the display data,
A cell for registering a name to be displayed on the first display portion of the display data, the device-related name input cell displaying the display data input by the input procedure, the cell being arranged in a first direction. A cell arranged in the first direction for allocating a device value of the display data to be displayed on the first display unit to the device, and displaying the display data input by the input procedure. A first display procedure for displaying in a table format having a display device input cell to be displayed;
A cell arranged in the first direction for registering a control target to be displayed on the second display unit or a name indicating an operation state of the control target in the display data, the cell being input by the input procedure; A control name input cell for displaying the display data, and a cell arranged in the first direction for registering a command content to be displayed on the second display unit in the display data, A second display procedure for displaying in a table format having a command content input cell for displaying the display data input by
The display data input to the device-related name input cells and the display device input cells arranged in a second direction orthogonal to the first direction are associated with each other as the same page displayed on the first display unit. The display data input to the control name input cell and the command content input cell arranged in the second direction are associated with each other and stored as the same page on the second display unit. This is achieved by providing a display setting program for a programmable logic control device characterized by executing a storage procedure.
[0010]
That is, the PLC includes first and second display units, and the first display unit relates to a device set by the administrator of the factory equipment inside the PLC or an external device connected to the PLC. The name of the device and the value of the device are displayed according to a predetermined format, and the second display unit displays the control target of the PLC or the operation state of the control target required by the factory worker and the PLC as the control target. Is displayed according to a predetermined format, the PLC is required to switch the display screen between the manager of the factory equipment and the operator. According to the PLC display setting program according to the present invention, It is possible to set display data to be displayed on the first display unit and the second display unit by inputting into each input cell displayed in a table format, so that the setting operation is easy. That.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
In a preferred embodiment of the present invention, in each column of the first table, an assigned page cell in which a different page number is assigned to each column, and an assigned address cell in which an address of a data memory stored for each column is assigned. The display of the first display unit of the PLC is performed by switching the display data by switching pages. This facilitates detailed setting of display data for each device. The same is true for the second table. Each column of the second table has an assigned page cell in which a different page number is assigned to each column, and the display of the second display unit of the PLC is Display data is switched by switching pages.
[0012]
When an assigned page cell is provided for each column of each of the first table and the second table, by specifying the assigned page, the first display unit and the second The display on the display unit can be reversed and the display data of one of the first and second tables can be displayed using both the first and second display units.
[0013]
It is particularly convenient to set the PLC display setting program in association with the PLC sequence program. In this way, the display setting program integrated with the PLC sequence program collectively integrates the sequence program and the display setting program. Thus, for example, the turnaround time at the time of debugging can be reduced.
[0014]
【Example】
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0015]
2 and 3 show a PLC with a display screen according to the embodiment. FIG. 2 is a plan view of the PLC mounted on a mounting panel of a control panel, and FIG. 3 is a front view of the PLC.
[0016]
The
[0017]
The
[0018]
More specifically, the
[0019]
The
[0020]
In the
[0021]
The lateral dimensions of the
[0022]
As can be understood from the above description, the
[0023]
In the basic settings relating to the display of the
[0024]
On the other hand, on the
[0025]
In relation to the above, the five
[0026]
Similarly, the five
[0027]
As can be understood from the above description, the notation for identifying the upper
[0028]
As described above, the properties of the items displayed on the
[0029]
FIG. 4 is a block diagram of the
[0030]
The
[0031]
The display setting program is completed when the user performs necessary input work in association with the sequence program on the
[0032]
The
[0033]
FIG. 6 shows a display format set for message panel display. As can be seen from the figure, according to the basic setting of the display, the
[0034]
The above-described data access panel, that is, the
[0035]
In the above-described message access panel, that is, the
[0036]
That is, the “start”
[0037]
For three
[0038]
The three function key switches 21 to 23 located at the center of the horizontally arranged
[0039]
As can be understood from the above example, in the above-described specific example, the characters of the display commands 31 to 33 in the lower part of the
[0040]
The functions of the
[0041]
When the operator presses any of the three function key switches 21 to 23, the
[0042]
The display of the
[0043]
7 and 8 show a setting window associated with the data access panel (upper display screen 12) in the display setting program. The display setting data set by the user using this setting window is transmitted to the
[0044]
The display setting window of the data access panel is a table format having a plurality of columns and rows. A page number is assigned to each column, and a plurality of cells arranged side by side provided in each column is used for each page. , Data name, character color, character inversion, display lighting / flashing, scroll speed, NEXT key setting, display device number, and display device attributes (decimal point, data length, data change, set value display) are set. When a corresponding device is set by the ladder program of the
[0045]
That is, the number shown in the cell in the leftmost column of the display setting window of the data access panel indicates the page number. The cell in the column “assignment address” on the right side is the address of the data memory where the page is stored. As an example of registration of the “data name” which is an input field which can be set by the user regarding the display of the data access panel, it is possible to register in characters such as “before operation”, “total production quantity”, “rotational speed rpm”, and the like. It is possible, and the name registered in the cell of this setting column is displayed in the upper part of the upper display screen 12 (FIG. 5). In the display of the “data name” column, 6 full-width characters and 12 half-width characters can be displayed at all times in relation to the width of the
[0046]
The color of the character displayed as “data name” can be selected from red, orange, and green, and this selection can be made in the “character color” column. It is possible to selectively display the character of the display of “data name” in a negative or positive manner, and this selection can be made in the “character inversion” column. The display of "data name" can be selectively blinked or lit, and this selection can be made in the "display" column. Further, the above-described scroll speed can be set in the “scroll speed” column.
[0047]
The display setting window of the data access panel is related to the “NEXT”
[0048]
The data value displayed in the lower part of the
[0049]
Regarding the display setting window of the data access panel, other items that can be set using this setting window include a display device attribute in the lower part of the
[0050]
It should be noted that “message panel data display area DM2000” is included in the
[0051]
9 and 10 show a setting window of the message panel (lower display screen 13) in the display program. The contents set by the user are stored in a card format in the internal memory of the
[0052]
The display setting window of the message panel is set in a table format having a plurality of columns and rows, and the number seen in the cell in the leftmost column (FIG. 9) indicates the page number. The "priority interrupt" input field on the right is used to set whether or not to give priority to display when a display conflict occurs. Use the setting cell in this field to make it "valid" Thereby, the page can be preferentially displayed. The next “assigned address” column indicates the address of the memory where the corresponding page is stored.
[0053]
The "message" input field which can be set by the user for displaying the message panel is composed of first and second divided cells. Characters registered in the first divided cell are always displayed and registered in the second divided cell. The scrolled character is displayed. As an example of registration in this message input field, characters indicating the operation status of factory equipment such as "before operation", "automatic operation mode", and "manual operation mode" can be registered, and registered in each cell in this field. The displayed message characters are displayed in the upper part of the lower display screen 13 (FIG. 6). In the first divided cell in the “message” column, up to 6 full-width characters and 12 half-width characters can be registered in relation to the width of the
[0054]
The character color of the display of “message” can be selected from red, orange, and green, and this selection can be made by designating in the “character color” column. Further, the characters displayed in the “message” can be displayed in the same size, in the vertical size, or in the quadruple size, and this selection can be made in the “double size” column.
[0055]
It is possible to selectively display the character of the display of the "message" in a negative or positive manner, and this selection can be made in the "character inversion" column. In addition, the display of the “message” can be selectively blinked or lit, and this selection can be made in the “display” column. Further, the scroll speed of the message display described above can be set in the “scroll speed” column.
[0056]
As described above, three
[0057]
Note that “Data panel data display area DM6000” is included in the
[0058]
The display of the
[0059]
Referring to FIG. 11, the allocation device can be selected from two types, a relay and a data memory (DM). When a relay is selected as an allocation device, one relay is allocated for each page. Thereby, when the corresponding relay is turned on, the corresponding page is displayed. That is, for example, if the 1200th relay is assigned to the 5th page, the 5th page is displayed when the 1200th relay is turned on.
[0060]
On the other hand, when a data memory is selected, one data memory is allocated to all pages. In the case of the data memory, the page of the written number is displayed by writing the page number in the data memory allocated as the allocation device. That is, referring to FIG. 12, the relation setting window includes items “assigned device start number”, “assigned device end number”, “message display area”, “display page number (data)” for the data access panel (upper display screen 12). On the other hand, for the message panel (lower display screen 13), the items "allocated device start number", "allocated device end number", "ASCII character display area", "data access display area", "display" Page number (data memory number) ".
[0061]
When the user determines the item "assignment device head number" for the data access panel (upper display screen 12), other pages are automatically assigned. When a relay number is selected, as the page number increases by one, a relay having a relay number that is higher by one is assigned to the corresponding page. When a data memory number is selected, all pages are assigned to the same data memory as the head number, and the same number as the corresponding page number is written to the corresponding data memory.
[0062]
The “assignment device end number” cannot be set by the user, and is useful mainly when a relay is selected as the assignment device. In other words, when a relay is selected as an allocation device, in this embodiment, 128 relays with consecutive relay numbers are automatically occupied. Therefore, it is checked which relay number is occupied from which relay number. This is a display item intended to be displayed for the purpose. Therefore, when the above “assigned device start number” is input, the largest number of the automatically assigned device is displayed in the “assigned device end number”. When the allocation device is a data memory, the data memory number input in the above-mentioned “assignment device head number” is displayed as it is.
[0063]
The "message panel display area" column and "data access panel display area" column in the table of the relation setting window in FIG. 12 display data access data (FIGS. 7 and 8) on the
[0064]
By performing the same setting, for example, the data access data can be displayed on both the
[0065]
For example, when data access data is displayed on the lower display screen 13 (message panel display area) and a message is displayed on the
[0066]
Referring to FIG. 12, the item “display page number” column is useful when “assigned device” is a relay. That is, the currently displayed page number is written in the data memory designated as the “display page number”, and when the value in the data memory is read, the currently displayed page number is read. be able to. That is, the “display page number” can specify the data memory number for storing the display page number. When the data memory is selected as the allocation device, the storage contents of the data memory storing the data memory display page number match. When the “assigned device” is a relay and a plurality of simultaneously assigned relays are turned on, the display screen is alternately displayed. In other words, even if a plurality of relays are kept ON, the display is alternately displayed, so that it is possible to grasp which page is displayed even when viewing all the relays as in the case of data memory. You can't.
[0067]
By inputting the data memory number in the “display page number” field, the currently displayed page number is stored in the specified data memory. Therefore, when a plurality of relays are turned on, the lower display of the
[0068]
Since the display mode can be changed by user setting, as can be understood from FIG. 3, the
[0069]
According to the above-described embodiment, regarding the
[0070]
In principle, data of various devices is displayed on the
[0071]
Further, by performing a user setting for prohibiting data change in the item “data change” (FIG. 8) in the setting window of the data access panel, it is possible to prevent a device value change operation from being accepted for each page.
[0072]
In connection with the above embodiment, by simultaneously pressing two predetermined key switches, for example, a "NEXT"
[0073]
Further, when an emergency stop of the factory equipment is performed while a message relating to the operation status of the factory equipment is being displayed on the
[0074]
In addition, for example, characters and symbols such as an initial screen and an emergency stop are written in
[Brief description of the drawings]
FIG. 1 is a diagram for explaining a conventional general layout of a PLC and a display connected thereto.
FIG. 2 is a plan view when the dual-screen PLC according to the embodiment is installed on a mounting panel of a control panel.
FIG. 3 is a front view of a PLC with two upper and lower screens according to the embodiment.
FIG. 4 is a block diagram of a PLC with two screens and peripheral devices according to the embodiment.
FIG. 5 is a diagram for explaining an example of a display mode for an administrator of an upper display screen (data access panel) of the upper and lower two screens of the embodiment.
FIG. 6 is a diagram for explaining an example of a display mode for a worker on a lower display screen (message panel) of the upper and lower two screens of the embodiment.
FIG. 7 is a diagram illustrating a part of a user setting window of a display program of a display screen for an administrator (data access panel).
8 is a diagram showing the remaining part of the user setting window of the display program of the display screen for the administrator (data access panel) in relation to FIG. 7;
FIG. 9 is a diagram showing a part of a user setting window of a display program of a display screen (message panel) for workers.
FIG. 10 is a diagram showing the rest of the user setting window of the display program for the worker display screen (message panel).
FIG. 11 is a diagram showing a setting window for setting a device to be associated with the display of the data access panel and the message panel.
FIG. 12 is a diagram showing a setting window for associating a display program of a data access panel and a message panel with a sequence program.
FIG. 13 is a diagram illustrating an example of a case where a user changes a basic installation related to display of upper and lower display screens and displays common type information on the upper and lower display screens.
[Explanation of symbols]
1 PLC
10 Upper area of front panel of
Claims (5)
制御対象又は該制御対象の動作状態と、前記プログラマブル・ロジック・コントロール装置が前記制御対象に対して行う指令内容を第2の所定のフォーマットに従って表示する第2表示部とを備えたプログラマブル・ロジック・コントロール装置の表示データを設定するための表示設定プログラムであって、
前記表示データを入力するための入力手順と、
第1の方向に配列され、前記表示データのうち前記第1表示部に表示する名称を登録するためのセルであって、前記入力手順により入力された前記表示データを表示するデバイス関連名称入力セルと、前記第1の方向に配列され、前記表示データのうち前記第1表示部に表示するデバイス値の前記デバイスに割り付けるためのセルであって、前記入力手順により入力された前記表示データを表示する表示デバイス入力セルとを有する表形式で表示する第1表示手順と、
前記第1の方向に配列され、前記表示データのうち前記第2表示部に表示する制御対象又は該制御対象の動作状態を示す名称を登録するためのセルであって、前記入力手順により入力された前記表示データを表示する制御名称入力セルと、前記第1の方向に配列され、前記表示データのうち前記第2表示部に表示する指令内容を登録するためのセルであって、前記入力手順により入力された前記表示データを表示する指令内容入力セルとを有する表形式で表示する第2表示手順と、
前記第1の方向と直交する第2の方向に並ぶ前記デバイス関連名称入力セルと前記表示デバイス入力セルとに入力された各々の表示データを前記第1表示部での表示が同一のページとして関連付けして記憶し、前記第2の方向に並ぶ前記制御名称入力セルと前記指令内容入力セルとに入力された各々の表示データを前記第2表示部での表示が同一のページとして関連付けして記憶する記憶手順とを実行することを特徴とするプログラマブル・ロジック・コントロール装置表示設定プログラム。A first display unit for displaying a name associated with a device set in the programmable logic control device or an external device connected to the programmable logic control device and a value of the device according to a first predetermined format; When,
A programmable logic device comprising: a control target or an operation state of the control target; and a second display unit that displays, according to a second predetermined format, the content of a command performed by the programmable logic control device on the control target. A display setting program for setting display data of a control device,
An input procedure for inputting the display data,
A cell for registering a name to be displayed on the first display portion of the display data, the device-related name input cell displaying the display data input by the input procedure, the cell being arranged in a first direction. A cell arranged in the first direction for allocating a device value of the display data to be displayed on the first display unit to the device, and displaying the display data input by the input procedure. A first display procedure for displaying in a table format having a display device input cell to be displayed;
A cell arranged in the first direction for registering a control target to be displayed on the second display unit or a name indicating an operation state of the control target in the display data, the cell being input by the input procedure; A control name input cell for displaying the display data, and a cell arranged in the first direction for registering a command content to be displayed on the second display unit in the display data, A second display procedure for displaying in a table format having a command content input cell for displaying the display data input by
The display data input to the device-related name input cells and the display device input cells arranged in a second direction orthogonal to the first direction are associated with each other as the same page displayed on the first display unit. The display data input to the control name input cell and the command content input cell arranged in the second direction are associated with each other and stored as the same page on the second display unit. A display setting program for a programmable logic controller.
制御対象又は該制御対象の動作状態と、前記プログラマブル・ロジック・コントロール装置が前記制御対象に対して行う複数の指令内容を第2の所定のフォーマットに従って、前記制御対象を上段に表示し、前記複数の指令内容を横方向に配列して下段に表示する第2表示部とを備えたプログラマブル・ロジック・コントロール装置の表示データを設定するための表示設定プログラムであって、
書き込まれた表示データを各列毎に前記第1表示部に表示するための表示データを設定するための第1の表であって、前記第1表示部に表示する名称を登録するためのデバイス関連名称入力セルと、前記第1表示部に表示するデバイス値の前記デバイスを割り付ける表示デバイス入力セルとを備えた列を表形式で表示する第1表示手順と、
書き込まれた表示データを各列毎に前記第2表示部に表示するための表示データを設定するための第2の表であって、前記第2表示部に表示する制御対象又は該制御対象の動作状態を示す名称を登録するための制御名称入力セルと、前記第2表示部に表示する複数の指令内容を個々に登録する複数の指令内容入力セルとを備えた複数の列を表形式で表示する第2表示手順と、
前記第1の表の前記デバイス関連名称入力セル及び前記表示デバイス入力セルに入力された第1表示データを各列毎に記憶し、また、前記第2の表の前記制御名称入力セル及び前記制御内容入力セルに入力された第2表示データを各列毎に記憶する記憶手順とを実行することを特徴とするプログラマブル・ロジック・コントロール装置表示設定プログラム。A name associated with a device set inside the programmable logic control device or an external device connected to the programmable logic control device, and a value of the device according to a first predetermined format. A first display unit for displaying and displaying the value of the device in a lower row;
The control target or the operation state of the control target and a plurality of command contents to be performed on the control target by the programmable logic control device are displayed according to a second predetermined format. A display setting program for setting display data of a programmable logic control device comprising:
A first table for setting display data for displaying the written display data on the first display unit for each column, and a device for registering a name to be displayed on the first display unit. A first display procedure of displaying a column including a related name input cell and a display device input cell for allocating the device of the device value to be displayed on the first display section in a table format;
It is a second table for setting display data for displaying the written display data for each column on the second display unit, and is a control target to be displayed on the second display unit or a control target of the control target. A plurality of columns including a control name input cell for registering a name indicating an operation state and a plurality of command content input cells for individually registering a plurality of command contents to be displayed on the second display unit are displayed in a table format. A second display procedure to be displayed;
The first display data input to the device-related name input cell and the display device input cell of the first table is stored for each column, and the control name input cell and the control of the second table are stored. And a storage procedure for storing the second display data input to the content input cell for each column.
前記プログラマブル・ロジック・コントロール装置の第2表示部の表示が、ページ切り替えにより表示データの切り替えが行われる、請求項2又は3に記載のプログラマブル・ロジック・コントロール装置表示設定プログラム。Each of the columns of the second table further includes an assigned page cell in which a different page number is assigned to each column,
The programmable logic control device display setting program according to claim 2, wherein the display of the second display unit of the programmable logic control device is performed by switching display data by switching pages.
制御対象又は該制御対象の動作状態と、前記プログラマブル・ロジック・コントロール装置が前記制御対象に対して行う複数の指令内容を含む、ページ管理された第2表示データの中からページ番号で指定された表示データを所定のフォーマットに従って表示する第2表示部とを備えたプログラマブル・ロジック・コントロール装置の表示データを設定するための表示設定プログラムであって、
書き込まれた表示データを各列毎に前記第1表示部に表示するための表示データを設定するための第1の表であって、前記第1表示部に表示する名称を登録するためのデバイス関連名称入力セルと、前記第1表示部に表示するデバイス値の前記デバイスを割り付ける表示デバイス入力セルと、各列毎に異なるページ番号が割り付けられる割付ページセルと、各列毎に記憶するデータメモリのアドレスが割り付けられる割付アドレスセルとを備えた複数の列を表形式で表示する第1表示手順と、
書き込まれた表示データを各列毎に前記第2表示部に表示するための表示データを設定するための第2の表であって、前記第2表示部に表示する制御対象又は該制御対象の動作状態を示す名称を登録するための制御名称入力セルと、前記第2表示部に表示する複数の指令内容を個々に登録する複数の指令内容入力セルと、各列毎に異なるページ番号が割り付けられる割付ページセルとを備えた複数の列を表形式で表示する第2表示手順と、
前記第1の表の前記デバイス関連名称入力セル及び前記表示デバイス入力セルに入力された第1表示データを各列毎に記憶し、また、前記第2の表の前記制御名称入力セル及び前記制御内容入力セルに入力された第2表示データを各列毎に記憶する記憶手順とを実行することを特徴とするプログラマブル・ロジック・コントロール装置表示設定プログラム。From the page-managed first display data including a name associated with a device set in the programmable logic control device or an external device connected to the programmable logic control device and a value of the device, A first display unit that displays display data specified by a page number according to a predetermined format;
A control target or an operation state of the control target and a plurality of command contents to be performed on the control target by the programmable logic control device are specified by a page number from second display data managed by a page. A display setting program for setting display data of a programmable logic control device having a second display unit for displaying display data according to a predetermined format,
A first table for setting display data for displaying the written display data on the first display unit for each column, and a device for registering a name to be displayed on the first display unit. A related name input cell, a display device input cell for allocating the device of the device value to be displayed on the first display unit, an allocated page cell for allocating a different page number for each column, and a data memory for storing for each column A first display procedure for displaying a plurality of columns in a table format with assigned address cells to which addresses are assigned;
It is a second table for setting display data for displaying the written display data for each column on the second display unit, and is a control target to be displayed on the second display unit or a control target of the control target. A control name input cell for registering a name indicating an operation state, a plurality of command content input cells for individually registering a plurality of command contents to be displayed on the second display unit, and a different page number for each column are assigned. A second display procedure for displaying a plurality of columns in a tabular format with assigned page cells to be displayed,
The first display data input to the device-related name input cell and the display device input cell of the first table is stored for each column, and the control name input cell and the control of the second table are stored. And a storage procedure for storing the second display data input to the content input cell for each column.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003023510A JP4330895B2 (en) | 2003-01-31 | 2003-01-31 | Programmable logic control device display setting program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003023510A JP4330895B2 (en) | 2003-01-31 | 2003-01-31 | Programmable logic control device display setting program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004234433A true JP2004234433A (en) | 2004-08-19 |
JP4330895B2 JP4330895B2 (en) | 2009-09-16 |
Family
ID=32952284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003023510A Expired - Fee Related JP4330895B2 (en) | 2003-01-31 | 2003-01-31 | Programmable logic control device display setting program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4330895B2 (en) |
-
2003
- 2003-01-31 JP JP2003023510A patent/JP4330895B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP4330895B2 (en) | 2009-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2004121217A (en) | CONNECTED TERMINAL | |
EP2898380A1 (en) | Operating system for a container handling machine, an operating device, and a separate additional screen | |
JP6923499B2 (en) | Information processing device | |
US6917835B2 (en) | Programmable controller system | |
CN105122198A (en) | Programmable display device | |
JP2004234433A (en) | Programmable logic control device display setting program | |
JP2004252921A (en) | Display setting program for programmable logic controller | |
JP4299563B2 (en) | Programmable logic control device display setting program | |
JP2004206513A (en) | Programmable logic controller | |
US7309306B2 (en) | Machine tool | |
JP5055732B2 (en) | Setup tool information display device | |
JP2646215B2 (en) | Sequence controller | |
JPH0271700A (en) | Identification information check system in air-conditioner | |
JPH02135391A (en) | Lighting display device | |
JPH0844312A (en) | Signal display | |
JPS58120443A (en) | Mount removal control method of tool in machining center | |
JPH06208564A (en) | Display screen changing method of production control display system | |
JP2656235B2 (en) | Information display control system | |
JPH0553617A (en) | Programming device and its data output method for programmable controller | |
JPH03194896A (en) | Lighting controller | |
JPS635042Y2 (en) | ||
JPH0720721Y2 (en) | Programmable controller programmer | |
JP2612778B2 (en) | Facility management device | |
JPH076108A (en) | Communication equipment for display device | |
JPS6064771A (en) | Control device for welding machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060119 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081119 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081125 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090109 |
|
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: 20090616 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090617 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120626 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120626 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150626 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |