JP6051545B2 - PLC system, status display method, PLC, and programmable display - Google Patents

PLC system, status display method, PLC, and programmable display Download PDF

Info

Publication number
JP6051545B2
JP6051545B2 JP2012058098A JP2012058098A JP6051545B2 JP 6051545 B2 JP6051545 B2 JP 6051545B2 JP 2012058098 A JP2012058098 A JP 2012058098A JP 2012058098 A JP2012058098 A JP 2012058098A JP 6051545 B2 JP6051545 B2 JP 6051545B2
Authority
JP
Japan
Prior art keywords
information
plc
state
abnormality
user
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.)
Active
Application number
JP2012058098A
Other languages
Japanese (ja)
Other versions
JP2012208932A (en
Inventor
善光 中野
善光 中野
宣裕 伊井
宣裕 伊井
康裕 安達
康裕 安達
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
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 Omron Corp filed Critical Omron Corp
Priority to JP2012058098A priority Critical patent/JP6051545B2/en
Publication of JP2012208932A publication Critical patent/JP2012208932A/en
Application granted granted Critical
Publication of JP6051545B2 publication Critical patent/JP6051545B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Description

この発明は、プログラマブルコントローラ(以下、「PLC」と言う)システム、状態表示方法、PLC、およびプログラマブル表示器に関するものであって、特に、機器の動作状態を検出可能なPLCを備えるPLCシステム、状態表示方法、このようなPLCシステムに用いられるPLC、およびプログラマブル表示器に関するものである。   The present invention relates to a programmable controller (hereinafter referred to as “PLC”) system, a state display method, a PLC, and a programmable display, and in particular, a PLC system including a PLC capable of detecting an operation state of a device, a state The present invention relates to a display method, a PLC used in such a PLC system, and a programmable display.

産業用機器等の制御装置として用いられるPLCは、PLC全体を制御するCPUユニットや通信を行う通信ユニットや信号の入出力を行うI/Oユニット等の複数のユニットから構成される。このようなPLCにユーザの所望の制御を実行させるために、ユーザプログラムをどのように設計するか等、ユーザがPLCの制御内容を設計する際には、パソコン(コンピュータ)に所定のソフトウェアをインストールし、このインストールしたソフトウェアを用いることが一般的である。   A PLC used as a control device for industrial equipment or the like includes a plurality of units such as a CPU unit that controls the entire PLC, a communication unit that performs communication, and an I / O unit that performs input and output of signals. In order for the user to design the control contents of the PLC such as how to design the user program in order to cause the PLC to execute the control desired by the user, predetermined software is installed in the personal computer (computer). However, it is common to use the installed software.

このようなPLCの開発を支援する開発支援装置は、例えば、「オムロン社製 CX−Programmer サポートソフト Ver 9.0 日本語版(2009年発売)」(非特許文献1)に開示されている。   A development support apparatus that supports the development of such a PLC is disclosed in, for example, “CX-Programmer Support Software Ver 9.0 Japanese Version (released in 2009) manufactured by OMRON Corporation” (Non-Patent Document 1).

オムロン社製 CX−Programmer サポートソフト Ver 9.0 日本語版(2009年発売)OMRON CX-Programmer Support Software Ver 9.0 Japanese version (released in 2009)

ここで、非特許文献1に開示のような開発支援装置を用いて、制御内容の設計等が行われるPLCには、PLCによって制御される機器の動作状態を表示するプログラマブル表示器(以下、「表示器」と言う)が接続されている。ここで、機器の動作状態として、例えば機器の異常を表示する場合について説明する。図8は、PLC側の動作について示すフローチャートであって、図9は、表示器側の動作について示すフローチャートである。   Here, using a development support apparatus as disclosed in Non-Patent Document 1, a PLC on which control contents are designed or the like is displayed on a programmable display (hereinafter, “ Display ”) is connected. Here, for example, a case where an abnormality of the device is displayed as the operation state of the device will be described. FIG. 8 is a flowchart showing the operation on the PLC side, and FIG. 9 is a flowchart showing the operation on the display side.

まず、PLC内には、製造メーカーによって作成され、予め格納されたシステムプログラムと、ユーザによって作成されてPLCに格納され、機器に発生した異常を検出するユーザプログラムが格納されている。ユーザプログラムは、検出する異常の内容に応じて作成される。具体的には、ユーザが検出する異常の内容を決定し、この各異常に対してメモリアドレスを割り当てる。図10は、各異常に対してメモリアドレスを割り当てた一例を示す図である。図10を参照して、例えば、温度異常の場合、W10.00のメモリアドレスを割り当てている。また、バルブ異常の場合、W100.08のメモリアドレスを割り当てている。   First, in the PLC, there are stored a system program created by a manufacturer and stored in advance, and a user program created by a user and stored in the PLC to detect an abnormality occurring in the device. The user program is created according to the content of the abnormality to be detected. Specifically, the content of the abnormality detected by the user is determined, and a memory address is assigned to each abnormality. FIG. 10 is a diagram illustrating an example in which a memory address is assigned to each abnormality. Referring to FIG. 10, for example, in the case of a temperature abnormality, a memory address of W10.00 is allocated. In the case of a valve abnormality, a memory address of W100.08 is assigned.

そして、図10に示すメモリアドレスの割り当てに従い、ユーザプログラムが作成される。例えば、I/Oユニットから所定の信号が途切れたことを検出するプログラムや、所定の信号の途切れという異常の内容に応じて、割り当てられたメモリアドレスをONするプログラムが作成される。その後、PLC内へ作成したユーザプログラムが格納されることとなる。   Then, a user program is created according to the memory address assignment shown in FIG. For example, a program for detecting that a predetermined signal has been interrupted from the I / O unit and a program for turning on an allocated memory address in accordance with the content of an abnormality such as interruption of the predetermined signal are created. Thereafter, the created user program is stored in the PLC.

一方で、表示器側では、機器に発生した異常の内容を示す文字情報である異常名を表示するユーザプログラムが格納されている。この異常名は、ユーザが異常の内容を一目で認識可能なものである。この場合、図10に示すPLC側で検出する異常の内容を示すメモリアドレスの割り当てと、表示器側で表示する異常名とが対応するようにユーザプログラムが作成される。図11は、表示器側で表示される異常名の一例を示す図である。図11を参照して、W10.00のメモリアドレスに対応して、異常名として温度異常を表示するよう作成され、W100.08のメモリアドレスに対応して、異常名としてバルブ異常を表示するよう作成される。すなわち、図10および図11を参照して、メモリアドレスを介して、PLC側と表示器側とで異常の内容が対応するようになっている。   On the other hand, on the display side, a user program for displaying an abnormality name, which is character information indicating the content of the abnormality that has occurred in the device, is stored. This abnormality name is one that allows the user to recognize the contents of the abnormality at a glance. In this case, the user program is created so that the allocation of the memory address indicating the content of the abnormality detected on the PLC side shown in FIG. 10 corresponds to the abnormality name displayed on the display side. FIG. 11 is a diagram illustrating an example of an abnormal name displayed on the display side. Referring to FIG. 11, a temperature abnormality is generated as an abnormality name corresponding to the memory address of W10.00, and a valve abnormality is displayed as the abnormality name corresponding to the memory address of W100.08. Created. That is, with reference to FIG. 10 and FIG. 11, the contents of the abnormality correspond to the PLC side and the display side via the memory address.

そして、図8および図9を参照して、PLC側において、ユーザプログラムを実行すると、ユーザプログラムが、I/Oユニットからバルブの信号が途切れたことを検出して(S101)、バルブの信号の途切れという異常に応じて、バルブ異常に割り当てられているメモリアドレスW100.08をOFFからONにする(S102)。そうすると、表示器側では、周期的にPLC側のメモリアドレスを監視しており、所定のタイミングで、PLC側のメモリアドレスW100.08がONになったことを検知する(S201)。そして、メモリアドレスW100.08に対応する異常名「バルブ異常」を表示画面上に表示する(S202)。このようにして、PLC側で検出した異常を表示器側で表示する。   8 and 9, when the user program is executed on the PLC side, the user program detects that the valve signal is interrupted from the I / O unit (S101), and the signal of the valve is detected. In response to the abnormality of interruption, the memory address W100.08 assigned to the valve abnormality is turned from OFF to ON (S102). Then, the display side periodically monitors the memory address on the PLC side, and detects that the memory address W100.08 on the PLC side is turned on at a predetermined timing (S201). Then, the abnormality name “valve abnormality” corresponding to the memory address W100.08 is displayed on the display screen (S202). In this way, the abnormality detected on the PLC side is displayed on the display side.

したがって、従来では、PLC側と表示器側とで、異常の情報がメモリアドレスで紐付けられており、機器に異常が発生すると、PLC側では、その異常に割り当てられたメモリアドレスをONするのみであり、表示器側で、そのメモリアドレスに対応する具体的な異常名を表示することとしている。   Therefore, conventionally, abnormality information is linked with the memory address on the PLC side and the display side. When an abnormality occurs in the device, the PLC side only turns on the memory address assigned to the abnormality. The specific abnormality name corresponding to the memory address is displayed on the display side.

ここで、例えば表示器を他のPLCに接続すると、PLC側でのメモリアドレスの割り当てと、表示器側で表示する異常名とが対応しなくなる場合がある。図12は、PLC側と表示器側とで対応しない場合を模式的に示した図である。図12を参照して、機器AのPLCに対応する表示器を機器BのPLCに接続すると、異常を正しく表示できなくなってしまう。具体的には、機器BのPLC側では、メモリアドレスW10.00の速度異常をONした場合であっても、表示器側では、このメモリアドレスに対応する異常名を温度異常と表示するプログラムが作成されており、正しく表示できなくなってしまう。したがって、ユーザは、各PLCに対応する表示器を各々準備する必要があり、このような作業は煩雑である。   Here, for example, when the display device is connected to another PLC, the allocation of the memory address on the PLC side may not correspond to the abnormal name displayed on the display device side. FIG. 12 is a diagram schematically illustrating a case where the PLC side and the display side do not correspond. Referring to FIG. 12, if a display corresponding to the PLC of device A is connected to the PLC of device B, the abnormality cannot be correctly displayed. Specifically, even if the speed abnormality of the memory address W10.00 is turned on on the PLC side of the device B, a program for displaying the abnormality name corresponding to this memory address as a temperature abnormality is displayed on the display side. It has been created and cannot be displayed correctly. Therefore, the user needs to prepare each display device corresponding to each PLC, and such work is complicated.

さらに、従来においては、PLC12の製造メーカーによって作成されたPLC12全体の共通するシステムプログラムにおいて、PLC側で検出する異常の内容を異常コードとして割り当てておく場合がある。図13は、各異常に対して異常コードを割り当てた一例を示す図である。この場合、PLC側では、異常が発生すると、PLC側の所定のメモリ領域に異常コードを格納する。一方で、表示器側では、図13に示すPLC側で検出する異常の内容を示す異常コードの割り当てと、表示器側で表示する異常名とが対応するようにユーザプログラムが作成される。図14は、表示器側で表示される異常名の一例を示す図である。図13および図14を参照して、異常コードを介して、PLC側と表示器側とで異常の内容が対応するようになっている。したがって、表示器側では、PLC側の所定のメモリ領域から異常コードを取得して、取得した異常コードに対応する異常名を表示器側で検索して、表示することとしている。   Further, conventionally, in the system program common to the entire PLC 12 created by the manufacturer of the PLC 12, the contents of the abnormality detected on the PLC side may be assigned as an abnormality code. FIG. 13 is a diagram illustrating an example in which an abnormality code is assigned to each abnormality. In this case, when an abnormality occurs on the PLC side, the abnormality code is stored in a predetermined memory area on the PLC side. On the other hand, on the display device side, a user program is created so that the assignment of the abnormality code indicating the content of the abnormality detected on the PLC side shown in FIG. 13 corresponds to the abnormality name displayed on the display device side. FIG. 14 is a diagram illustrating an example of an abnormal name displayed on the display side. Referring to FIG. 13 and FIG. 14, the contents of the abnormality correspond to the PLC side and the display side via the abnormality code. Therefore, on the display side, an abnormal code is acquired from a predetermined memory area on the PLC side, and an abnormal name corresponding to the acquired abnormal code is searched for and displayed on the display side.

このように、異常コードを介して、PLC側と表示器側とで異常の内容を対応させた場合においても同様に、例えば表示器を他のPLCに接続すると、PLC側の異常コードと、表示器側で表示する異常名とが対応しなくなり、ユーザは、各PLCに対応する表示器を各々準備する必要があり、このような作業は煩雑である。   As described above, even when the contents of the abnormality are made to correspond on the PLC side and the display side via the abnormality code, for example, when the display is connected to another PLC, the abnormality code on the PLC side and the display are displayed. The abnormal name displayed on the device side does not correspond, and the user needs to prepare each display device corresponding to each PLC, and such work is complicated.

また、PLC側のユーザプログラムや、表示器側のユーザプログラムは、ユーザによってパソコンからPLCと表示器とにデータを各々転送されることにより、各々格納される。したがって、新たな異常の情報を追加しようとすると、PLCと表示器の両方に追加する必要があり、ユーザにとってこのような作業は煩雑である。   Further, the user program on the PLC side and the user program on the display side are respectively stored by transferring data from the personal computer to the PLC and the display unit by the user. Therefore, if new abnormality information is to be added, it is necessary to add it to both the PLC and the display device, and such work is complicated for the user.

この発明の目的は、操作性を向上したPLCシステム、状態表示方法、PLC、および表示器を提供することである。   An object of the present invention is to provide a PLC system, a state display method, a PLC, and a display device with improved operability.

この発明に係るPLCシステムは、機器の動作を制御するPLCと、PLCと通信回線を介して接続されるプログラマブル表示器とを備える。PLCは、機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報を記憶する情報記憶手段と、機器の所定の動作状態を検出した際に、情報記憶手段により記憶した情報の中から、所定の動作状態に該当する該当状態情報を所定の格納部へ格納する該当情報格納手段とを含む。プログラマブル表示器は、該当情報格納手段により格納された該当状態情報を取得する該当情報取得手段と、該当情報取得手段により取得した該当状態情報を表示する該当情報表示手段とを含む。   A PLC system according to the present invention includes a PLC that controls the operation of a device, and a programmable display connected to the PLC via a communication line. The PLC is information indicating the operation state of the device, and includes information storage means for storing information that can be directly recognized by the user, and information stored by the information storage means when a predetermined operation state of the device is detected. And corresponding information storage means for storing corresponding state information corresponding to a predetermined operation state in a predetermined storage unit. The programmable display includes a corresponding information acquisition unit that acquires the corresponding state information stored by the corresponding information storage unit, and a corresponding information display unit that displays the corresponding state information acquired by the corresponding information acquisition unit.

こうすることにより、PLC側に、機器の動作状態を示す情報であって、ユーザがそのまま認識することが可能な情報を記憶しておき、機器の所定の動作状態を検出した際には、そのまま認識できる情報の中から該当する該当状態情報をPLC側の所定の格納部に格納する。そして、表示器側では、PLC側で格納された所定の格納部から該当状態情報を取得して表示する。したがって、機器の動作状態を示す情報の対応付けを、PLC側と表示器側とで行う必要なく、表示器側では、PLC側の所定の格納部から取得したそのまま認識できる情報をそのまま表示するのみでよい。したがって、例えば表示器を他のPLCに接続しようとした場合であっても、表示器は、PLC側の所定の格納部から取得したユーザがそのまま認識可能な情報をそのまま表示できるため、PLC側が意図した動作状態と異なった表示が行われることはない。また、ユーザにより新たな動作状態を追加しようした場合であっても、PLC側に追加するのみでよく、メンテナンス時の手間を省くことができ、ユーザの操作ミス等を低減することができる。その結果、操作性を向上することができる。   In this way, information indicating the operation state of the device and stored as information that can be directly recognized by the user is stored on the PLC side, and when the predetermined operation state of the device is detected, the information is displayed as it is. Corresponding corresponding state information from the recognizable information is stored in a predetermined storage unit on the PLC side. On the display side, the corresponding state information is acquired from a predetermined storage unit stored on the PLC side and displayed. Therefore, it is not necessary to associate information indicating the operation state of the device between the PLC side and the display side, and the display side only displays the information that can be recognized as it is obtained from the predetermined storage unit on the PLC side. It's okay. Therefore, for example, even when the display device is to be connected to another PLC, the display device can display the information that can be recognized by the user as it is obtained from the predetermined storage unit on the PLC side. A display different from the operation state is not performed. Further, even when a new operation state is to be added by the user, it is only necessary to add it to the PLC side, so that troubles during maintenance can be saved, and user operation errors can be reduced. As a result, operability can be improved.

好ましくは、PLCは、ユーザがそのまま認識可能な情報とユーザがそのまま認識可能な情報に対応する異常コードとを対応付けて記憶し、該当情報格納手段は、ユーザがそのまま認識可能な情報を格納する。   Preferably, the PLC stores information that can be directly recognized by the user and an abnormal code corresponding to the information that can be directly recognized by the user, and the corresponding information storage unit stores information that can be directly recognized by the user. .

一方で、表示器は、情報記憶手段に記憶されたユーザがそのまま認識可能な情報と、ユーザがそのまま認識可能な情報に対応する異常コードとをPLCから吸い上げて格納し、該当情報格納手段は、異常コードを格納してもよい。   On the other hand, the display unit sucks and stores the information stored in the information storage unit that can be directly recognized by the user and the abnormal code corresponding to the information that the user can recognize as it is. An abnormal code may be stored.

そのまま認識可能な情報は文字情報であるのが好ましい。   The information that can be recognized as it is is preferably character information.

好ましくは、PLCは、機器の所定の動作状態を検出する検出手段を含み、検出手段により検出される機器の所定の動作状態とは、機器に発生する異常の状態を含む。こうすることにより、機器に発生した異常状態を正しく表示することができる。   Preferably, the PLC includes a detecting unit that detects a predetermined operating state of the device, and the predetermined operating state of the device detected by the detecting unit includes an abnormal state that occurs in the device. By doing so, it is possible to correctly display the abnormal state occurring in the device.

さらに好ましくは、PLCは、情報記憶手段により記憶された情報を更新する更新手段を含む。   More preferably, the PLC includes update means for updating information stored by the information storage means.

この発明の他の局面においては、PLCがその動作を制御する機器の動作状態を、PLCと通信回線を介して接続されるプログラマブル表示器にて表示する状態表示方法に関する。状態表示方法は、PLCにおいて、機器の動作状態を示す情報であって、ユーザがそのまま認識することが可能な情報を記憶するステップと、PLCにおいて、機器の所定の動作状態を検出した際に、記憶した情報の中から、検出した所定の動作状態に該当する該当状態情報を所定の格納部へ格納するステップと、プログラマブル表示器において、所定の格納部に格納された該当状態情報を取得するステップと、プログラマブル表示器において、取得した該当状態情報を表示するステップとを含む。   In another aspect of the present invention, the present invention relates to a state display method for displaying an operation state of a device whose operation is controlled by a PLC on a programmable display connected to the PLC via a communication line. The state display method is a step of storing information indicating the operation state of the device in the PLC, which can be recognized by the user as it is, and when detecting a predetermined operation state of the device in the PLC, A step of storing the corresponding state information corresponding to the detected predetermined operation state in the predetermined storage unit from the stored information, and a step of acquiring the corresponding state information stored in the predetermined storage unit in the programmable display And a step of displaying the acquired corresponding state information in the programmable display.

このような状態表示方法によれば、PLC側に、機器の動作状態を示す情報であって、ユーザがそのまま認識することが可能な情報を記憶しておき、機器の所定の動作状態を検出した際には、そのまま認識可能な情報の中から該当する該当状態情報をPLC側の所定の格納部に格納する。そして、表示器側では、PLC側で格納された所定の格納部から該当状態情報を取得して表示する。したがって、機器の動作状態を示す情報の対応付けを、PLC側と表示器側とで行う必要なく、表示器側では、PLC側の所定の格納部から取得したそのまま認識可能な情報をそのまま表示するのみでよい。したがって、例えば表示器を他のPLCに接続しようとした場合であっても、表示器は、PLC側の所定の格納部から取得したそのまま認識できる情報をそのまま表示できるため、PLC側が意図した動作状態と異なった表示が行われることはない。また、ユーザにより新たな動作状態を追加しようした場合であっても、PLC側に追加するのみでよく、メンテナンス時の手間を省くことができ、ユーザの操作ミス等を低減することができる。その結果、操作性を向上することができる。   According to such a state display method, information indicating the operation state of the device, which can be directly recognized by the user, is stored on the PLC side, and the predetermined operation state of the device is detected. In this case, the relevant state information corresponding to the information that can be recognized as it is is stored in a predetermined storage unit on the PLC side. On the display side, the corresponding state information is acquired from a predetermined storage unit stored on the PLC side and displayed. Therefore, there is no need to associate information indicating the operation state of the device between the PLC side and the display side, and the display side displays the recognizable information acquired from the predetermined storage unit on the PLC side as it is. Only need. Therefore, for example, even when the display device is to be connected to another PLC, the display device can display the recognizable information acquired from the predetermined storage unit on the PLC side as it is. The display will not be different. Further, even when a new operation state is to be added by the user, it is only necessary to add it to the PLC side, so that troubles during maintenance can be saved, and user operation errors can be reduced. As a result, operability can be improved.

この発明のさらに他の局面においては、機器の動作を制御して、通信回線を介してプログラマブル表示器と接続されるPLCに関する。PLCは、機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報を記憶する情報記憶手段と、機器の所定の動作状態を検出した際に、情報記憶手段により記憶した情報の中から、所定の動作状態に該当する該当状態情報を所定の格納部へ格納する該当情報格納手段とを含む。   Still another aspect of the present invention relates to a PLC that controls the operation of a device and is connected to a programmable display via a communication line. The PLC is information indicating the operation state of the device, and includes information storage means for storing information that can be directly recognized by the user, and information stored by the information storage means when a predetermined operation state of the device is detected. And corresponding information storage means for storing corresponding state information corresponding to a predetermined operation state in a predetermined storage unit.

このようなPLCは、PLC側に、機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報を記憶しておき、機器の所定の動作状態を検出した際には、情報の中からユーザがそのまま認識可能な該当状態情報をPLC側の所定の格納部に格納する。そして、表示器側に、PLC側で格納された所定の格納部からユーザがそのまま認識可能な情報を取得させて表示させる。したがって、機器の動作状態を示す情報の対応付けを、PLC側と表示器側とで行う必要なく、表示器側で、PLC側の所定の格納部から取得したユーザがそのまま認識可能な該当状態情報をそのまま表示させるのみでよい。その結果、操作性を向上することができる。   Such a PLC stores information indicating the operation state of the device on the PLC side, which can be recognized by the user as it is, and when a predetermined operation state of the device is detected, The corresponding state information that the user can recognize as it is is stored in a predetermined storage unit on the PLC side. And the information which a user can recognize as it is from the predetermined | prescribed storage part stored by the PLC side is acquired and displayed on the indicator side. Therefore, it is not necessary to associate information indicating the operation state of the device between the PLC side and the display side, and the corresponding state information that can be directly recognized by the user from the predetermined storage unit on the PLC side on the display side Is simply displayed. As a result, operability can be improved.

この発明のさらに他の局面においては、機器の動作を制御するPLCに通信回線を介して接続されるプログラマブル表示器に関する。プログラマブル表示器は、機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報のうち、機器の所定の動作状態に該当する該当状態情報をPLC側の所定の格納部から取得する該当情報取得手段と、該当情報取得手段により取得した該当状態情報を表示する該当情報表示手段とを含む。   Still another aspect of the present invention relates to a programmable display connected via a communication line to a PLC that controls the operation of a device. The programmable display is information indicating the operating state of the device, and among the information that the user can recognize as it is, the corresponding state information corresponding to the predetermined operating state of the device is acquired from the predetermined storage unit on the PLC side. Information acquisition means, and corresponding information display means for displaying the corresponding state information acquired by the corresponding information acquisition means.

このような表示器は、PLC側に、機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報を記憶しておき、機器の所定の動作状態を検出した際には、情報の中から該当する該当状態情報をPLC側の所定の格納部に格納することにより、表示器側では、PLC側で格納された所定の格納部から該当状態情報を取得して表示する。したがって、機器の動作状態を示す情報の対応付けを、PLC側と表示器側とで行う必要なく、表示器側では、PLC側の所定の格納部から取得したユーザにそのまま認識可能な情報をそのまま表示するのみでよい。その結果、操作性を向上することができる。   Such an indicator stores information indicating the operation state of the device on the PLC side, which can be recognized by the user as it is, and when a predetermined operation state of the device is detected, By storing the corresponding state information from the inside in the predetermined storage unit on the PLC side, the display unit obtains and displays the corresponding state information from the predetermined storage unit stored on the PLC side. Therefore, it is not necessary to associate information indicating the operation state of the device between the PLC side and the display side. On the display side, information that can be directly recognized by the user obtained from a predetermined storage unit on the PLC side is used as it is. It only needs to be displayed. As a result, operability can be improved.

この発明によると、PLC側に、機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報を記憶しておき、機器の所定の動作状態を検出した際には、情報の中から該当する該当状態情報をPLC側の所定の格納部に格納する。そして、表示器側では、PLC側で格納された所定の格納部から該当状態情報を取得して表示する。したがって、機器の動作状態を示す情報の対応付けを、PLC側と表示器側とで行う必要なく、表示器側では、PLC側の所定の格納部から取得したユーザがそのまま認識可能な情報をそのまま表示するのみでよい。したがって、例えば表示器を他のPLCに接続しようとした場合であっても、表示器は、PLC側の所定の格納部から取得したユーザがそのまま認識可能な当該状態情報をそのまま表示できるため、PLC側が意図した動作状態と異なった表示が行われることはない。また、ユーザにより新たな動作状態を追加しようした場合であっても、PLC側に追加するのみでよく、メンテナンス時の手間を省くことができ、ユーザの操作ミス等を低減することができる。その結果、操作性を向上することができる。   According to the present invention, on the PLC side, information indicating the operation state of the device, which can be recognized by the user as it is, is stored, and when a predetermined operation state of the device is detected, the information is Corresponding corresponding state information is stored in a predetermined storage unit on the PLC side. On the display side, the corresponding state information is acquired from a predetermined storage unit stored on the PLC side and displayed. Therefore, it is not necessary to associate information indicating the operation state of the device between the PLC side and the display side. On the display side, information that can be recognized by the user as it is from a predetermined storage unit on the PLC side is used as it is. It only needs to be displayed. Therefore, for example, even when the display device is to be connected to another PLC, the display device can display the status information that can be directly recognized by the user from the predetermined storage unit on the PLC side. There is no display different from the operation state intended by the side. Further, even when a new operation state is to be added by the user, it is only necessary to add it to the PLC side, so that troubles during maintenance can be saved, and user operation errors can be reduced. As a result, operability can be improved.

この発明の一実施形態に係るPLCシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the PLC system which concerns on one Embodiment of this invention. 異常検出プログラムの一部を示す図である。It is a figure which shows a part of abnormality detection program. PLCのメモリに記憶される異常情報の一例を示す図である。It is a figure which shows an example of the abnormality information memorize | stored in the memory of PLC. PLC側の動作について示すフローチャートである。It is a flowchart shown about the operation | movement by the side of PLC. 表示器側の動作について示すフローチャートである。It is a flowchart shown about operation | movement by the side of a display. 表示画面に表示された状態を示す図である。It is a figure which shows the state displayed on the display screen. 動作状態情報の更新を行う場合のPLC側の動作について示すフローチャートである。It is a flowchart shown about the operation | movement by the side of PLC in the case of updating operation state information. 従来のPLC側の動作について示すフローチャートである。It is a flowchart shown about the operation | movement by the side of the conventional PLC. 従来の表示器側の動作について示すフローチャートである。It is a flowchart shown about operation | movement by the side of the conventional indicator. 各異常に対応するメモリアドレスが割り当てられた一例を示す図である。It is a figure which shows an example to which the memory address corresponding to each abnormality was allocated. 表示器側で記憶されているメモリアドレスと文字情報の一例を示す図である。It is a figure which shows an example of the memory address and character information which are memorize | stored on the indicator side. PLC側と表示器側とで対応しない場合を模式的に示した図である。It is the figure which showed typically the case where it does not respond | correspond by the PLC side and the indicator side. 各異常に対して異常コードを割り当てた一例を示す図である。It is a figure which shows an example which allocated the abnormal code | cord | chord with respect to each abnormality. 表示器側で表示される異常名の一例を示す図である。It is a figure which shows an example of the abnormal name displayed on the indicator side.

以下、図面を参照して、この発明の一実施形態に係るPLCシステムについて説明する。図1は、この発明の一実施形態に係るPLCシステム10の構成を示すブロック図である。図1を参照して、PLCシステム10は、機器11の動作を制御するPLC12と、PLC12に通信回線を介して接続される表示器13とを備える。   Hereinafter, a PLC system according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a PLC system 10 according to an embodiment of the present invention. Referring to FIG. 1, a PLC system 10 includes a PLC 12 that controls the operation of the device 11, and a display 13 that is connected to the PLC 12 via a communication line.

表示器13は、表示器13全体を制御するCPU等の制御部21と、PLC12を使用するユーザによって作成されるユーザプログラム等を記憶するメモリ等の記憶部22と、画面データ等を表示する表示画面23と、PLC12等の外部装置とのインターフェースとなるI/F(インターフェース)部24とを備える。表示器13は、機器11の動作状態を表示する。表示器13の記憶部22には、機器11の動作状態を表示する画面データ等を含むユーザプログラムが記憶されている。   The display unit 13 includes a control unit 21 such as a CPU that controls the entire display unit 13, a storage unit 22 such as a memory that stores a user program created by a user using the PLC 12, and a display that displays screen data and the like. A screen 23 and an I / F (interface) unit 24 serving as an interface with an external device such as the PLC 12 are provided. The display 13 displays the operating state of the device 11. The storage unit 22 of the display 13 stores a user program including screen data for displaying the operation state of the device 11.

PLC12は、PLC12全体を制御するCPUユニット15、機器11やパソコン(図示せず)等の外部機器との通信を行う通信ユニット16、信号の入出力を行うI/Oユニット等の各種の複数のユニットを含む。そして、CPUユニット15は、CPUユニット15全体を制御するCPU等の制御部15aと、ユーザによって作成されるユーザプログラムや、データ等を記憶するメモリ18を備える。メモリ18は、所定の格納部である発生異常情報格納領域18aを備える。   The PLC 12 includes a plurality of various units such as a CPU unit 15 that controls the entire PLC 12, a communication unit 16 that communicates with an external device such as the device 11 and a personal computer (not shown), and an I / O unit that performs signal input and output. Includes units. The CPU unit 15 includes a control unit 15a such as a CPU that controls the entire CPU unit 15, and a memory 18 that stores a user program created by a user, data, and the like. The memory 18 includes an occurrence abnormality information storage area 18a which is a predetermined storage unit.

PLC12は、電源ONされると、PLC12の製造メーカーによって作成されたPLC12全体の共通するシステムプログラムを実行し、その後、メモリ18に記憶されているユーザプログラムを実行する。そして、ユーザプログラムの実行により、ユーザが所望するように、機器11の動作が制御される。なお、システムプログラムやユーザプログラムは、サイクリックに実行される。   When the power is turned on, the PLC 12 executes a system program common to the entire PLC 12 created by the manufacturer of the PLC 12, and then executes a user program stored in the memory 18. Then, by the execution of the user program, the operation of the device 11 is controlled as desired by the user. The system program and user program are executed cyclically.

ここで、PLC12のメモリ18には、機器11の動作状態を検出するユーザプログラムが記憶されている。この実施例では、機器11に発生した異常を検出するユーザプログラムが記憶されている。   Here, the memory 18 of the PLC 12 stores a user program for detecting the operating state of the device 11. In this embodiment, a user program for detecting an abnormality that has occurred in the device 11 is stored.

ここで、ユーザプログラムは、ユーザの要求する、検出したい異常の内容に応じて、使用ユーザにより作成されるものである。具体的には、まず、検出する異常の内容をユーザが決定する。例えばバルブ異常を検出すると決定する。このとき、バルブ異常に対応する異常コード400を割り当てる。そして、検出する異常の内容を決定すると、異常が発生したと判断可能となる異常発生条件を満たしたか否かを判断する判断プログラムや、異常発生条件を満たした場合に、その異常に該当する異常コードをセットする異常検出プログラムが、ユーザプログラムとして作成される。   Here, the user program is created by the user in accordance with the content of the abnormality requested by the user and desired to be detected. Specifically, first, the user determines the content of the abnormality to be detected. For example, it is determined that a valve abnormality is detected. At this time, an abnormality code 400 corresponding to the valve abnormality is assigned. When the content of the abnormality to be detected is determined, a determination program that determines whether or not an abnormality occurrence condition that makes it possible to determine that an abnormality has occurred, or an abnormality that corresponds to the abnormality when the abnormality occurrence condition is satisfied An abnormality detection program for setting a code is created as a user program.

判断プログラムは、例えば、バルブ異常の場合、所定のアクチュエータの動作指令をONしてから、一定時間経過して所定のセンサがONしたか否かを判断するプログラムである。異常検出プログラムは、判断プログラムに応じて作動するプログラムである。例えば、判断プログラムにて、バルブ異常の異常発生条件を満たした場合に、すなわち、所定のセンサがONしない場合に、バルブ異常に該当する異常コードをセットさせるプログラムである。バルブ異常に該当する異常コード(例えば400)をセットされるラダープログラムの例を図2に示す。   The determination program is, for example, a program that determines whether or not a predetermined sensor has been turned on after a predetermined time has elapsed since turning on an operation command for a predetermined actuator in the case of a valve abnormality. The abnormality detection program is a program that operates according to the determination program. For example, this is a program for setting an abnormality code corresponding to a valve abnormality when the abnormality occurrence condition of the valve abnormality is satisfied in the determination program, that is, when a predetermined sensor is not turned ON. An example of a ladder program in which an abnormality code (for example, 400) corresponding to a valve abnormality is set is shown in FIG.

また、PLC12のメモリ18には、機器11の動作状態を示す情報であって、ユーザがそのまま認識可能な情報が記憶されている。ここで、メモリ18は、情報記憶手段として作動する。ここで、そのまま認識可能な情報とは、ユーザがその内容をそのまま認識可能なものであって、コードのような数字の情報とは異なる、たとえば、文字の情報である。 また、ここで、そのまま認識可能な情報は、文字情報だけでなく、画像情報、音声情報、表示器側で動かしたいプログラム等を含む。   In addition, the memory 18 of the PLC 12 stores information that indicates the operating state of the device 11 and that can be directly recognized by the user. Here, the memory 18 operates as information storage means. Here, the recognizable information is information that allows the user to recognize the content as it is, and is different from numerical information such as a code, for example, character information. Here, the recognizable information includes not only character information but also image information, audio information, a program desired to be operated on the display side, and the like.

次に、文字の情報で表される情報の例について説明する。この実施の形態においては、機器11の動作状態として、ユーザにより決定された異常の内容であって、検出する機器11の異常の内容を示す異常情報が記憶されている。図3は、PLC12のメモリ18に記憶される異常情報の一例を示す図である。図3を参照して、異常コードと異常名とが対応するように記憶されている。ここで、異常コードとは、検出する異常の内容を番号で示したものであり、異常名とは、異常コードの異常の内容をユーザが一目で認識可能な文字情報にしたものであって、数字とは異なる文字の情報である。例えば、異常の内容としてバルブ異常を検出するよう、使用ユーザにより決定されると、このバルブ異常を示す異常コード「400」と、異常コード「400」に対応する異常名「バルブ異常」とが記憶される。   Next, an example of information represented by character information will be described. In this embodiment, as the operation state of the device 11, abnormality information determined by the user and indicating the content of the abnormality of the device 11 to be detected is stored. FIG. 3 is a diagram illustrating an example of abnormality information stored in the memory 18 of the PLC 12. Referring to FIG. 3, the abnormality code and the abnormality name are stored so as to correspond to each other. Here, the abnormal code is a number indicating the content of the detected abnormality, and the abnormal name is the character information that allows the user to recognize the abnormal content of the abnormal code at a glance, It is information of characters different from numbers. For example, when the user determines to detect a valve abnormality as the content of the abnormality, the abnormality code “400” indicating the valve abnormality and the abnormality name “valve abnormality” corresponding to the abnormality code “400” are stored. Is done.

なお、このようなPLC12側のユーザプログラムや、表示器13側のユーザプログラムは、パソコンにインストールされているサポートソフトを用いて使用ユーザにより作成され、作成後、パソコンからPLC12または表示器13に転送されて、メモリ18または記憶部22に記憶される。   The user program on the PLC 12 side and the user program on the display unit 13 side are created by the user using the support software installed on the personal computer, and are transferred from the personal computer to the PLC 12 or the display unit 13 after the creation. And stored in the memory 18 or the storage unit 22.

ここで、PLC12が機器11の所定の動作状態を検出して、表示器13が所定の動作状態に該当する該当状態情報を表示画面23に表示する場合について説明する。この実施例では、機器11の所定の動作状態として異常の状態を採用し、PLC12が機器11の異常の状態を検出して、表示器13が異常の状態に該当する該当異常情報を表示画面23に表示する場合について説明する。図4は、PLC12側の動作について示すフローチャートであって、図5は、表示器13側の動作について示すフローチャートである。図1〜図5を参照して説明する。   Here, a case where the PLC 12 detects a predetermined operation state of the device 11 and the display device 13 displays corresponding state information corresponding to the predetermined operation state on the display screen 23 will be described. In this embodiment, an abnormal state is adopted as the predetermined operation state of the device 11, the PLC 12 detects the abnormal state of the device 11, and the display 13 displays relevant abnormality information corresponding to the abnormal state on the display screen 23. The case of displaying on the screen will be described. FIG. 4 is a flowchart showing the operation on the PLC 12 side, and FIG. 5 is a flowchart showing the operation on the display unit 13 side. A description will be given with reference to FIGS.

まず、PLC12側において、制御部15aは、システムプログラムを実行後、ユーザプログラムを実行する。ここで、ユーザプログラムとしては、まず、判断プログラムが実行される。判断プログラムは、所定のアクチュエータの動作指令をONしてから、一定時間経過しても所定のセンサがONしないと判断する。すなわち、バルブ異常の異常発生条件を満たしたと判断する(図4において、ステップS11、以下ステップを省略する)。   First, on the PLC 12 side, the control unit 15a executes the user program after executing the system program. Here, as the user program, a determination program is first executed. The determination program determines that the predetermined sensor is not turned ON even if a predetermined time has elapsed after the operation command of the predetermined actuator is turned ON. That is, it is determined that the abnormality occurrence condition of the valve abnormality is satisfied (in FIG. 4, step S11, the following steps are omitted).

そうすると、異常検出プログラムが実行される。異常検出プログラムは、バルブ異常に該当する異常コードをセットする(S12)。なお、異常検出プログラムとしては、例えば「SETALARM」という命令が用いられ、バルブ異常の異常コード「400」をその命令のパラメータとしてセットされるというプログラムである。ここで、CPUユニット15は、検出手段として作動する。   Then, the abnormality detection program is executed. The abnormality detection program sets an abnormality code corresponding to the valve abnormality (S12). As the abnormality detection program, for example, an instruction “SETALARM” is used, and an abnormality code “400” of valve abnormality is set as a parameter of the instruction. Here, the CPU unit 15 operates as detection means.

そうすると、制御部15aは、異常コード「400」がセットされたことを認識して、図3に示す異常情報の一覧の中から、バルブ異常の異常コード「400」に該当する異常名「バルブ異常」を発生異常情報格納領域18aに格納する(S13)。すなわち、異常名は、検出した異常に該当する該当状態文字情報である。ここで、CPUユニット15は、該当情報格納手段として作動する。   Then, the control unit 15a recognizes that the abnormality code “400” is set, and the abnormality name “valve abnormality” corresponding to the abnormality code “400” of the valve abnormality from the abnormality information list shown in FIG. Is stored in the occurrence abnormality information storage area 18a (S13). That is, the abnormality name is corresponding state character information corresponding to the detected abnormality. Here, the CPU unit 15 operates as corresponding information storage means.

表示器13側では、ユーザプログラムに基づいて、周期的にPLC12側の発生異常情報格納領域18aを監視しており、所定のタイミングで、発生異常情報格納領域18aに格納された該当状態文字情報を読み出す(図5において、S21)。ここで、制御部21は、該当情報取得手段として作動する。そして、制御部21は、読み出した該当状態文字情報である「バルブ異常」を表示画面23にそのまま表示する(S22)。ここで、制御部21は、該当情報表示手段として作動する。図6は、表示画面23に表示した状態を示す図である。図6を参照して、表示器13は、例えばアラーム表示領域23aに「バルブ異常」と表示する。   On the display unit 13 side, the occurrence abnormality information storage area 18a on the PLC 12 side is periodically monitored based on the user program, and the corresponding state character information stored in the occurrence abnormality information storage area 18a is displayed at a predetermined timing. Read (S21 in FIG. 5). Here, the control unit 21 operates as corresponding information acquisition means. And the control part 21 displays "valve abnormality" which is the read applicable state character information on the display screen 23 as it is (S22). Here, the control unit 21 operates as corresponding information display means. FIG. 6 is a diagram showing a state displayed on the display screen 23. Referring to FIG. 6, display 13 displays “valve abnormality” in alarm display area 23a, for example.

このように、本願発明に係るPLCシステム10では、PLC12側に、機器11の動作状態を示す情報であって、ユーザが認識可能な文字情報を記憶しておき、機器11の所定の動作状態を検出した際には、文字情報の中から該当する該当状態文字情報をPLC12側の所定の格納部である発生異常情報格納領域18aに格納する。そして、表示器13側では、PLC12側で格納された発生異常情報格納領域18aから該当状態文字情報を取得して表示する。したがって、機器11の動作状態を示す文字情報の対応付けを、PLC12側と表示器13側とで行う必要なく、表示器13側では、PLC12側の発生異常情報格納領域18aから取得した該当状態文字情報をそのまま表示するのみでよい。したがって、例えば表示器13を他のPLCに接続しようとした場合であっても、表示器13は、他のPLC側の所定の格納部から取得した該当状態文字情報をそのまま表示できるため、PLC側が意図した動作状態と異なった表示が行われることはない。また、ユーザにより新たな動作状態を追加しようした場合であっても、PLC側に追加するのみでよく、メンテナンス時の手間を省くことができ、ユーザの操作ミス等を低減することができる。その結果、操作性を向上することができる。   Thus, in the PLC system 10 according to the present invention, the PLC 12 side stores information indicating the operating state of the device 11, which is character information that can be recognized by the user, and sets the predetermined operating state of the device 11. When detected, the corresponding state character information from the character information is stored in the occurrence abnormality information storage area 18a which is a predetermined storage unit on the PLC 12 side. On the display unit 13 side, the corresponding state character information is acquired from the occurrence abnormality information storage area 18a stored on the PLC 12 side and displayed. Therefore, it is not necessary to associate the character information indicating the operation state of the device 11 between the PLC 12 side and the display unit 13 side. On the display unit 13 side, the corresponding state character acquired from the occurrence abnormality information storage area 18a on the PLC 12 side. It is only necessary to display the information as it is. Therefore, for example, even when the display device 13 is to be connected to another PLC, the display device 13 can display the corresponding state character information obtained from the predetermined storage unit on the other PLC side as it is. There is no display different from the intended operation state. Further, even when a new operation state is to be added by the user, it is only necessary to add it to the PLC side, so that troubles during maintenance can be saved, and user operation errors can be reduced. As a result, operability can be improved.

また、従来のように、PLC側と表示器側とで、メモリアドレスや異常コードを対応させる必要もないため、1台の表示器のみで、複数のPLCが組み込まれる複数台の機器の異常を切り替えて表示することができる。   In addition, unlike the prior art, it is not necessary to correspond the memory address and error code between the PLC side and the display side, so that only one display unit can be used to detect errors in multiple units that incorporate multiple PLCs. It can be switched and displayed.

次に、この発明の他の実施の形態について説明する。この実施の形態においては、PLC12は、その動作状態を一意に示すイベントコード、およびイベントコードに対応する
コンテンツを格納しながら、一方で、表示器13も、これらのコンテンツの全てを予めP
LCから吸いあげて格納しておく。そして、PLC12は、発生異常情報格納領域18aにイベントコードのみを格納し、表示器13は発生異常情報格納領域18aのイベントコードを読みだして、自身の有する対応するコンテンツを表示する。
Next, another embodiment of the present invention will be described. In this embodiment, the PLC 12 stores an event code that uniquely indicates its operation state and contents corresponding to the event code, while the display unit 13 also stores all of these contents in advance.
Suck from LC and store. Then, the PLC 12 stores only the event code in the occurrence abnormality information storage area 18a , and the display unit 13 reads the event code in the occurrence abnormality information storage area 18a and displays the corresponding content held by itself.

また、この吸い上げるタイミングとしては、最初に上記のような、機器11の異常を検出した際に吸い上げてもよいし、任意のタイミングで吸い上げて取得してもよい。たとえば、PLC12の組立時のような、PLC12を機器11に取り付けて、PLC12を表示器13に初めて接続した時でもよい。この場合、たとえば、バルブ異常の異常発生条件を満たしたと判断して、バルブ異常に該当する異常コードをセットすると、異常コード「400」を発生異常情報格納領域18aに格納する。そして、表示器13が、発生異常情報格納領域18aから異常コード「400」を読み出し、予め取得している異常情報を参照することにより、異常コード「400」に対応する異常名「バルブ異常」を表示画面23に表示する。   Moreover, as the timing of the siphoning, it may be sifted when the abnormality of the device 11 is first detected as described above, or may be sifted and acquired at an arbitrary timing. For example, when the PLC 12 is assembled, the PLC 12 may be attached to the device 11 and the PLC 12 may be connected to the display 13 for the first time. In this case, for example, when it is determined that the abnormality occurrence condition of the valve abnormality is satisfied and an abnormality code corresponding to the valve abnormality is set, the abnormality code “400” is stored in the occurrence abnormality information storage area 18a. Then, the display device 13 reads the abnormality code “400” from the occurrence abnormality information storage area 18a, and refers to the abnormality information acquired in advance, thereby indicating the abnormality name “valve abnormality” corresponding to the abnormality code “400”. It is displayed on the display screen 23.

また、上記の実施の形態においては、図3に示す異常情報には、異常コードと異常名とを含む例について説明したが、これに限ることなく、異常の重要度や異常が属するグループを含めることとし、これらの情報を発生異常情報格納領域18aに格納して、異常名と共に表示画面23に表示するよう制御してもよい。   In the above embodiment, the abnormality information shown in FIG. 3 has been described with respect to the example including the abnormality code and the abnormality name. However, the present invention is not limited to this, and includes the importance level of the abnormality and the group to which the abnormality belongs. In other words, such information may be stored in the occurrence abnormality information storage area 18a and displayed on the display screen 23 together with the abnormality name.

また、上記の実施の形態においては、S12において、ユーザプログラムとして「SETALARM」の命令が用いられる例について説明したが、この「SETALARM」の命令のパラメータに、測定した温度の値等の所定の情報が付加されてもよく、この所定の情報を発生異常情報格納領域18aに格納して、表示画面23に表示するよう制御してもよい。   In the above embodiment, the example in which the “SETALARM” command is used as the user program in S12 has been described. However, the parameter of the “SETALARM” command includes predetermined information such as a measured temperature value. The predetermined information may be stored in the occurrence abnormality information storage area 18a and controlled to be displayed on the display screen 23.

また、上記の実施の形態においては、機器11の所定の動作状態として、異常の状態を採用する例について説明したが、これに限ることなく、例えば正常の運転状態等、異常以外の他の状態にも適用することができる。この場合、PLC12のメモリ18には、機器11のそれぞれの状態を検出するユーザプログラムがユーザにより作成されて記憶されると共に、それぞれの動作状態(運転状態を含む)情報の一覧が記憶される。   In the above-described embodiment, the example in which the abnormal state is adopted as the predetermined operation state of the device 11 has been described. However, the present invention is not limited to this, and other states other than the abnormality, such as a normal operation state. It can also be applied to. In this case, in the memory 18 of the PLC 12, a user program for detecting each state of the device 11 is created and stored by the user, and a list of information on each operation state (including the operation state) is stored.

また、上記の実施の形態においては、図3に示す動作状態情報は、使用ユーザにより予めPLC12のメモリ18に記憶される例について説明したが、これに限ることなく、使用ユーザにより更新可能な構成であってもよい。   In the above embodiment, the example in which the operation state information shown in FIG. 3 is stored in advance in the memory 18 of the PLC 12 by the user is described. However, the present invention is not limited to this, and the configuration can be updated by the user. It may be.

この場合の処理の一例について説明すると、まず、PLC12にパソコンが接続される(図7において、S31)。そして、パソコンにおいてサポートソフトが起動される。そうすると、文字情報がサポートソフトを用いて使用ユーザにより更新され、更新された文字情報がPLC32に転送される(S32)。PLC12側では、転送されたデータをメモリ18に格納する。ここで、制御部15aは、更新手段として作動する。   An example of processing in this case will be described. First, a personal computer is connected to the PLC 12 (S31 in FIG. 7). Then, the support software is activated on the personal computer. Then, the character information is updated by the user using the support software, and the updated character information is transferred to the PLC 32 (S32). On the PLC 12 side, the transferred data is stored in the memory 18. Here, the control unit 15a operates as an updating unit.

このようにして、機器11の動作状態が追加された場合であっても、使用ユーザ側で、サポートソフト等を用いて、PLC12側に記憶されている動作状態情報を任意に更新することができる。その結果、操作性を向上することができる。   In this way, even when the operation state of the device 11 is added, the operation state information stored on the PLC 12 side can be arbitrarily updated on the user side using support software or the like. . As a result, operability can be improved.

なお、上記の実施の形態においては、メモリ18に初めから格納されている機器11の動作状態情報に追加して更新が行われる場合について説明したが、これに限ることなく、メモリ18に初めから格納されている動作状態の全てまたは一部に対して更新を行うようにしてもよい。   In the above-described embodiment, the case where the update is performed in addition to the operation state information of the device 11 stored from the beginning in the memory 18 has been described. You may make it update with respect to all or one part of the stored operation state.

また、例えば、日本語で記載された動作状態情報の全てを英語に更新する等の処理を行ってもよい。   Further, for example, processing such as updating all the operation state information written in Japanese to English may be performed.

また、上記の実施の形態においては、PLC12側で、バルブ異常の異常コード「400」に該当する異常名「バルブ異常」を発生異常情報格納領域18aに格納することにより、表示器13は、読み出した該当状態文字情報である「バルブ異常」を表示画面23にそのまま表示する例について説明したが、PLC12側で、異常名「バルブ異常」に加え、異常コード「400」を合わせて、発生異常情報格納領域18aに格納することにより、表示器13は、読み出した該当状態文字情報である「バルブ異常」と異常コード「400」とを合わせて表示してもよい。   In the above embodiment, the PLC 13 reads the abnormality name “valve abnormality” corresponding to the abnormality code “400” of the valve abnormality in the occurrence abnormality information storage area 18a on the PLC 12 side. Although the example of displaying “valve abnormality” as corresponding state character information as it is on the display screen 23 has been described, on the PLC 12 side, in addition to the abnormality name “valve abnormality”, the abnormality code “400” is added to the occurrence abnormality information. By storing the data in the storage area 18a, the display device 13 may display the “valve abnormality” and the abnormality code “400”, which are the read state character information.

また、上記実施の形態においては、ユーザプログラムにおける異常処理における、異常コードと異常名との場合を例にあげて説明したが、これに限らず、他の処理に適用してもよいし、システムプログラムにおける処理に適用してもよい。   Further, in the above embodiment, the case of the abnormal code and the abnormal name in the abnormal process in the user program has been described as an example. However, the present invention is not limited to this, and may be applied to other processes, You may apply to the process in a program.

さらに別途、インテリジェントユニットを接続し、インテリジェントユニットが、自動的に保守すべき個所を検出し、それを、PLCや表示器のメモリに自動的に書込むようにしてもよい。   In addition, an intelligent unit may be connected separately so that the intelligent unit automatically detects a place to be maintained and automatically writes it in the memory of the PLC or the display.

以上、図面を参照してこの発明の実施形態を説明したが、この発明は、図示した実施形態のものに限定されない。図示された実施形態に対して、この発明と同一の範囲内において、あるいは均等の範囲内において、種々の修正や変形を加えることが可能である。   As mentioned above, although embodiment of this invention was described with reference to drawings, this invention is not limited to the thing of embodiment shown in figure. Various modifications and variations can be made to the illustrated embodiment within the same range or equivalent range as the present invention.

この発明は、PLCの動作情報を表示する際に、有効に利用される。   The present invention is effectively used when displaying PLC operation information.

10 PLCシステム、11 機器、12 PLC、13 表示器、14 パソコン、
15 CPUユニット、15a 制御部、16 通信ユニット、18 メモリ、18a
発生異常情報格納領域、21 制御部、22 記憶部、23 表示画面、23a アラー
ム表示領域、24 I/F部。
10 PLC system, 11 equipment, 12 PLC, 13 display, 14 personal computer,
15 CPU unit, 15a control unit, 16 communication unit, 18 memory, 18a
Occurrence abnormality information storage area, 21 control section, 22 storage section, 23 display screen, 23a alarm display area, 24 I / F section.

Claims (9)

外部に設けられた機器の動作を制御するPLCと、PLCと通信回線を介して接続されるプログラマブル表示器とを備えるPLCシステムであって、
前記PLCは、
前記外部に設けられた機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報を記憶する情報記憶手段と、
前記外部に設けられた機器の所定の動作状態を検出した際に、前記情報記憶手段により記憶した前記情報の中から、前記所定の動作状態に該当する該当状態情報を所定の格納部へ格納する該当情報格納手段とを含み、
前記プログラマブル表示器は、
前記該当情報格納手段により格納された前記該当状態情報を取得する該当情報取得手段と、
前記該当情報取得手段により取得した前記該当状態情報を表示する該当情報表示手段とを含む、PLCシステム。
A PLC system comprising a PLC that controls the operation of an externally provided device, and a programmable display connected to the PLC via a communication line,
The PLC is
Information storage means for storing information that indicates the operating state of the externally provided device and that can be directly recognized by the user;
When a predetermined operation state of the externally provided device is detected, the corresponding state information corresponding to the predetermined operation state is stored in a predetermined storage unit from the information stored by the information storage unit Corresponding information storage means,
The programmable display is
Corresponding information acquisition means for acquiring the corresponding state information stored by the corresponding information storage means;
And a corresponding information display unit that displays the corresponding state information acquired by the corresponding information acquisition unit.
前記PLCは、前記ユーザがそのまま認識可能な情報と前記ユーザがそのまま認識可能な情報に対応する異常コードとを対応付けて記憶し、
前記該当情報格納手段は、前記ユーザがそのまま認識可能な情報を格納する、請求項1に記載のPLCシステム。
The PLC stores information that can be directly recognized by the user and an abnormal code corresponding to the information that can be directly recognized by the user,
The PLC system according to claim 1, wherein the corresponding information storage unit stores information that can be directly recognized by the user.
前記表示器は、前記情報記憶手段に記憶されたユーザがそのまま認識可能な情報と、前記ユーザがそのまま認識可能な情報に対応する異常コードとを前記PLCから吸い上げて格納し、
前記該当情報格納手段は、前記該当状態情報として、前記異常コードを格納する、請求項1に記載のPLCシステム。
The display unit sucks and stores information stored in the information storage unit that can be directly recognized by the user and an abnormality code corresponding to the information that can be directly recognized by the user from the PLC.
The PLC system according to claim 1, wherein the corresponding information storage unit stores the abnormality code as the corresponding state information .
前記ユーザがそのまま認識可能な情報は文字情報である、請求項1〜3のいずれかに記
載のPLCシステム。
The PLC system according to claim 1, wherein the information that can be directly recognized by the user is character information.
前記PLCは、前記機器の所定の動作状態を検出する検出手段を含み、前記検出手段に
より検出される前記機器の所定の動作状態とは、前記機器に発生する異常の状態を含む、
請求項1〜4のいずれかに記載のPLCシステム。
The PLC includes a detection unit that detects a predetermined operation state of the device, and the predetermined operation state of the device detected by the detection unit includes an abnormal state that occurs in the device.
The PLC system according to any one of claims 1 to 4.
前記PLCは、前記情報記憶手段により記憶された前記情報を更新する更新手段を含む
、請求項1〜5のいずれかに記載のPLCシステム。
The PLC system according to claim 1, wherein the PLC includes an updating unit that updates the information stored by the information storage unit.
PLCがその動作を制御する外部に設けられた機器の動作状態を、PLCと通信回線を介して接続されるプログラマブル表示器にて表示する状態表示方法であって、
PLCにおいて、外部に設けられた機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報を記憶するステップと、
PLCにおいて、外部に設けられた機器の所定の動作状態を検出した際に、記憶した情報の中から、検出した所定の動作状態に該当する該当状態情報を所定の格納部へ格納するステップと、
プログラマブル表示器において、所定の格納部に格納された該当状態情報を取得するス
テップと、
プログラマブル表示器において、取得した該当状態情報を表示するステップとを含む、
状態表示方法。
A state display method for displaying an operation state of an externally provided device whose operation is controlled by a PLC on a programmable display connected to the PLC via a communication line,
In the PLC, storing information that indicates an operating state of an externally provided device and that can be directly recognized by the user;
In the PLC, when a predetermined operation state of an externally provided device is detected, the corresponding state information corresponding to the detected predetermined operation state is stored in a predetermined storage unit from the stored information;
In the programmable display, obtaining the corresponding state information stored in a predetermined storage unit;
In the programmable display, including the step of displaying the acquired corresponding state information,
Status display method.
外部に設けられた機器の動作を制御して、通信回線を介してプログラマブル表示器と接続されるPLCであって、
前記外部に設けられた機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報を記憶する情報記憶手段と、
前記外部に設けられた機器の所定の動作状態を検出した際に、前記情報記憶手段により記憶した前記情報の中から、前記所定の動作状態に該当する該当状態情報を所定の格納部へ格納する該当情報格納手段とを含む、PLC。
A PLC that controls the operation of an externally provided device and is connected to a programmable display via a communication line,
Information storage means for storing information that indicates the operating state of the externally provided device and that can be directly recognized by the user;
When a predetermined operation state of the externally provided device is detected, the corresponding state information corresponding to the predetermined operation state is stored in a predetermined storage unit from the information stored by the information storage unit PLC including the corresponding information storage means.
外部に設けられた機器の動作を制御するPLCに通信回線を介して接続されるプログラマブル表示器であって、
前記外部に設けられた機器の動作状態を示す情報であって、ユーザがそのまま認識可能な情報のうち、外部に設けられた機器の所定の動作状態に該当する該当状態情報をPLC側の所定の格納部から取得する該当情報取得手段と、
前記該当情報取得手段により取得した前記該当状態情報を表示する該当情報表示手段と
を含む、プログラマブル表示器。
A programmable display connected via a communication line to a PLC that controls the operation of an externally provided device,
Is information indicating an operation state of the equipment provided in the outside of the user as it is recognizable information, the relevant state information corresponding to predetermined operating state of the apparatus provided outside the PLC of the predetermined Appropriate information acquisition means acquired from the storage unit;
And a corresponding information display unit that displays the corresponding state information acquired by the corresponding information acquisition unit.
JP2012058098A 2011-03-15 2012-03-15 PLC system, status display method, PLC, and programmable display Active JP6051545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012058098A JP6051545B2 (en) 2011-03-15 2012-03-15 PLC system, status display method, PLC, and programmable display

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2011057089 2011-03-15
JP2011057089 2011-03-15
JP2012058098A JP6051545B2 (en) 2011-03-15 2012-03-15 PLC system, status display method, PLC, and programmable display

Publications (2)

Publication Number Publication Date
JP2012208932A JP2012208932A (en) 2012-10-25
JP6051545B2 true JP6051545B2 (en) 2016-12-27

Family

ID=47188544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012058098A Active JP6051545B2 (en) 2011-03-15 2012-03-15 PLC system, status display method, PLC, and programmable display

Country Status (1)

Country Link
JP (1) JP6051545B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5805612B2 (en) * 2012-11-16 2015-11-04 株式会社デジタル Programmable display, control program and control system
JP6518640B2 (en) * 2016-09-29 2019-05-22 三菱電機ビルテクノサービス株式会社 Failure detection device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2776443B2 (en) * 1991-05-28 1998-07-16 富士電機株式会社 Programmable controller
JPH07210242A (en) * 1994-01-24 1995-08-11 Tec Corp Data processor
JP3729251B2 (en) * 2001-03-12 2005-12-21 オムロン株式会社 Controller and system
JP2007072993A (en) * 2005-09-09 2007-03-22 Koyo Electronics Ind Co Ltd Calendar ic, and control unit having the same

Also Published As

Publication number Publication date
JP2012208932A (en) 2012-10-25

Similar Documents

Publication Publication Date Title
KR100932057B1 (en) PL
US8806470B2 (en) System, method, and apparatus for software maintenance of sensor and control systems
JP2006285758A (en) Display system of control device
US9798611B2 (en) Programmable logic controller
TWI533098B (en) Programmable display, programmable controller system, program
JP6051545B2 (en) PLC system, status display method, PLC, and programmable display
JP5012548B2 (en) Programmable controller
JP5469510B2 (en) Programmable controller, set value change system, calculation display device, and set value change unit
JPWO2016157477A1 (en) Management system
JP2010287034A (en) Address display system of modbus protocol communication between external equipment and plc
JP2020194435A (en) Control system, support device and support program
JP5365875B2 (en) Industrial controller
JP6015068B2 (en) Control device and control device update time display method
JP5962086B2 (en) PLC system, information display method, PLC, and maintenance apparatus
JP6396084B2 (en) Engineering apparatus, engineering system, and download processing method
CN110637263B (en) Monitoring support device, monitoring support method, and recording medium
KR102005656B1 (en) Control systems and programmable logic controllers
JP6265646B2 (en) Traffic signal controller setting device, program and recording medium
JP5970080B2 (en) Programmable display, program
WO2014091623A1 (en) Programmable controller system, programmable display therefor, assistance device, and program
JP6787658B2 (en) Processing equipment, traffic signal equipment and information display equipment
KR102323844B1 (en) Method for Changing of Storage Apparatus in Human Machine Interface System
US20240012385A1 (en) Control device
JP2017045303A (en) Controller that can detect causes of abnormalities in functions of personal computer
JP2010204737A (en) Control system for programmable controller and control program execution method for programmable controller

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20130130

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160607

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: 20161101

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161114

R150 Certificate of patent or registration of utility model

Ref document number: 6051545

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250