JP2005084843A - Unit and programmable controller - Google Patents

Unit and programmable controller Download PDF

Info

Publication number
JP2005084843A
JP2005084843A JP2003314828A JP2003314828A JP2005084843A JP 2005084843 A JP2005084843 A JP 2005084843A JP 2003314828 A JP2003314828 A JP 2003314828A JP 2003314828 A JP2003314828 A JP 2003314828A JP 2005084843 A JP2005084843 A JP 2005084843A
Authority
JP
Japan
Prior art keywords
message
unit
write
writing
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
Application number
JP2003314828A
Other languages
Japanese (ja)
Other versions
JP4450161B2 (en
Inventor
Kazutomo Okada
和智 岡田
Yasuhiro Kitamura
安宏 北村
Masakazu Matsugami
雅一 松上
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
Omron Tateisi Electronics Co
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, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2003314828A priority Critical patent/JP4450161B2/en
Publication of JP2005084843A publication Critical patent/JP2005084843A/en
Application granted granted Critical
Publication of JP4450161B2 publication Critical patent/JP4450161B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a CPU unit reducing the possibility of erroneously rewriting of data when receiving a write system message from other node connected to a network, and preferably being capable of specifying the cause later even though the data have been rewritten. <P>SOLUTION: This CPU unit comprises a write protect function implementing a flowchart in an MPU. The function is to determine whether or not a message is a write system when receiving the message and to store in an IO memory the information regarding the message as history information when the message is determined to be the write system. When the message is one from the other node connected via network that is not allowed to write, the unit does not perform writing and replies a response of the contents of "impossible" to execute for write protection. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、ユニット及びプログラマブルコントローラに関するもので、より具体的には、ネットワークに接続された他のノードから送られてきた書き込み系のメッセージに対する処理の改良に関する。   The present invention relates to a unit and a programmable controller. More specifically, the present invention relates to an improvement in processing for a write-type message sent from another node connected to a network.

生産工場(製造現場)に設置されるファクトリーオートメーション(FA)の制御装置として、プログラマブルコントローラ(PLC)が用いられている。このPLCは、複数のユニットから構成される。すなわち、電源供給源の電源ユニット,PLC全体の制御を統率するCPUユニット,FAの生産装置や設備装置の適所に取り付けたスイッチやセンサの信号を入力する入力ユニット,アクチュエータなどに制御出力を出す出力ユニット,通信ネットワークに接続するための通信ユニットなどの各種のユニットを適宜組み合わせて構成される。   A programmable controller (PLC) is used as a control device for factory automation (FA) installed in a production factory (manufacturing site). This PLC is composed of a plurality of units. That is, a power supply unit of a power supply source, a CPU unit that controls the entire PLC, an output unit that inputs a switch or sensor signal attached to an appropriate place in an FA production device or facility device, an output that outputs a control output Various units such as a unit and a communication unit for connecting to a communication network are appropriately combined.

PLC(CPUユニット)における制御は、入力ユニットで入力した信号をCPUユニットのI/Oメモリに取り込み(INリフレッシュ)、予め登録されたラダー言語で組まれたユーザプログラムに基づき論理演算をし(演算実行)、その演算実行結果をI/Oメモリに書き込んで出力ユニットに送り出し(OUTリフレッシュ)、その後、いわゆる周辺処理を行うと言うことをサイクリックに繰り返し処理するようになる。   The control in the PLC (CPU unit) takes a signal input from the input unit into the I / O memory of the CPU unit (IN refresh) and performs a logical operation based on a user program written in a pre-registered ladder language (calculation) Execution), the operation execution result is written in the I / O memory, sent to the output unit (OUT refresh), and then the so-called peripheral processing is cyclically repeated.

ところで、実際にシステムを構築し、PLCを動作している際に、CPUユニットは、外部からメッセージ通信により所定の命令を受け、その命令に従って所定の処理を実行するようになっている。メッセージの内容としては、例えば、CPUユニットのIOメモリに対する読み書き等がある。   By the way, when the system is actually constructed and the PLC is operated, the CPU unit receives a predetermined command from the outside by message communication and executes a predetermined process in accordance with the command. The contents of the message include, for example, reading from and writing to the IO memory of the CPU unit.

よって、システム実行中に、外部の監視システムからCPUユニットに対してデータの読み出し要求のメッセージを発行し、そのメッセージを受信したCPUユニットは、メッセージに対するレスポンスとしてIOメモリに格納されたデータを監視システムに返すようにすることにより、遠隔監視ができる。   Therefore, during execution of the system, the external monitoring system issues a data read request message to the CPU unit, and the CPU unit that receives the message monitors the data stored in the IO memory as a response to the message. Remote monitoring can be performed by returning to.

なお、上記した従来技術を示した公知文献は、見つからなかったが、PLC本体に格納されたユーザプログラムを外部機器から読み出しや書き込みをする場合に制限を設ける技術としては、特許文献1,2などに開示された発明がある。これらの公知技術を実現するためには、ユーザプログラムの開発支援ツールを用いてPLC本体の所定メモリに制限情報を設定するか、ユーザプログラム作成時に制限情報をユーザプログラムの一部として追加するようになっている。   In addition, although the well-known literature which showed the above-mentioned prior art was not found, as a technique which provides a restriction | limiting when reading and writing the user program stored in the PLC main body from an external apparatus, patent document 1, 2 etc. There is an invention disclosed in. In order to realize these known technologies, the restriction information is set in a predetermined memory of the PLC main body using a user program development support tool, or the restriction information is added as a part of the user program when the user program is created. It has become.

そして、いずれの公知技術も外部機器からの読み出しや書き込みをする対象がユーザプログラムであり本発明が対象とするI/Oメモリのデータに対するアクセス制限を設定することはできない。さらに、PLC本体のユーザプログラムを読み出しや書き込みをする外部機器としてユーザプログラムの開発支援ツールを想定しているため、その他のアプリケーションからのアクセスについては制限できない。
特開平10−124308号公報 特開平8−194504号公報
In any known technique, the target to be read or written from an external device is a user program, and it is not possible to set access restrictions on data in the I / O memory targeted by the present invention. Furthermore, since a user program development support tool is assumed as an external device for reading and writing the user program of the PLC main body, access from other applications cannot be restricted.
JP 10-124308 A JP-A-8-194504

ところで、上記した従来のCPUユニットでは、メッセージを受信すると、その受信したメッセージに従った処理をするため、受信したメッセージが書き込み系の場合、例えば、IOメモリに格納されたデータの書き替えを行うことになる。従って、ネットワーク上に存在する他のノードから、ユーザの操作ミスやメッセージを発行するアプリケーションプログラムのバグなどにより過って書き込み系のメッセージが発行された場合、CPUユニットが保持している制御対象の機械装置の動作にかかわるデータが破壊され、機械装置の意図しない動作につながるおそれがある。   By the way, in the conventional CPU unit described above, when a message is received, processing according to the received message is performed. Therefore, when the received message is a writing system, for example, data stored in the IO memory is rewritten. It will be. Therefore, when a write-related message is issued from another node on the network due to a user operation error or a bug in the application program that issues the message, the control target held by the CPU unit Data related to the operation of the mechanical device may be destroyed, leading to an unintended operation of the mechanical device.

特に、最近ではネットワーク上に異なるメーカの機器が連結することがある。上記した場合、PLC(CPUユニット)のメーカと、監視システム(パソコンにインストールする監視アプリケーション)のメーカが異なる。すると、他社のPLC(CPUユニット)に対応したメッセージコマンドを作成することになるが、当然のことながら自社製品のものに比べるとコマンドの作成になれておらず、データの読み出しのコマンドを作成するつもりで、誤って書き込みのコマンドを記述してしまうおそれがあり、上記したトラブルの発生確率が高くなる。   In particular, recently, devices from different manufacturers may be connected to the network. In the above case, the manufacturer of the PLC (CPU unit) is different from the manufacturer of the monitoring system (monitoring application installed in the personal computer). Then, a message command corresponding to the PLC (CPU unit) of another company is created, but it is natural that the command cannot be created compared to that of its own product, and a command for reading data is created. There is a risk that the write command will be erroneously written, and the probability of occurrence of the above-mentioned trouble increases.

そして、係るトラブルを発生した場合、予め保存しておいた正常時のデータで書き換えることで、正しいデータに復帰させることはできるものの、どのような原因で係るトラブルを発生したかを特定することは困難である。そのため、係るトラブルを再発するおそれが残る。   And when such a trouble occurs, it can be restored to the correct data by rewriting it with normal data saved in advance, but it is possible to identify what cause the trouble has occurred Have difficulty. Therefore, there is a possibility that such trouble will recur.

そこで、不用意なデータ破壊の発生等を未然に防止しつつ、読み出しの要求に応えるため、従来は、図1に示すようなシステムを構築することにより対応していた。すなわち、生産システムのための本来の装置制御用PLC1に対し、データ開示用PLC2を連結し、装置制御用PLC1に格納されたデータをデータ開示用PLC2に転送する。そして、外部の監視システム3は、ネットワーク4を介してデータ開示用PLC2と通信し、データ開示用PLC2に格納されたデータを読み出すことにより間接的に装置制御用PLC1の状態を監視するようにしていた。   Therefore, in order to respond to the read request while preventing the occurrence of inadvertent data destruction and the like, conventionally, a system as shown in FIG. 1 was constructed. That is, the data disclosure PLC 2 is connected to the original device control PLC 1 for the production system, and the data stored in the device control PLC 1 is transferred to the data disclosure PLC 2. The external monitoring system 3 communicates with the data disclosure PLC 2 via the network 4 and indirectly monitors the state of the device control PLC 1 by reading the data stored in the data disclosure PLC 2. It was.

係る構成にすると、装置制御用PLC1からデータ開示用PLC2に対して片方向データ転送を行うことにより、誤ってデータ開示用PLC2のデータが書き換えられて破壊されたとしても、装置制御用PLC1には影響を与えないようにすることかできる。しかし、係るシステム構成をとると、データ開示用のPLCが必要となり、システムが大型化しコストアップを招くという問題がある。さらに、装置制御用PLC1からデータ開示用PLC2へのデータ転送のタイムラグ並びに転送エラーのおそれがあり、必ずしも最新のデータを得られないおそれがある。   With this configuration, even if the data in the data disclosure PLC2 is accidentally rewritten and destroyed by performing one-way data transfer from the device control PLC1 to the data disclosure PLC2, the device control PLC1 It can be made unaffected. However, if such a system configuration is taken, a PLC for data disclosure is required, and there is a problem that the system becomes large and costs increase. Furthermore, there is a risk of a data transfer time lag from the device control PLC 1 to the data disclosure PLC 2 and a transfer error, and the latest data may not necessarily be obtained.

この発明は、ネットワークに接続された他のノードから書き込み系のメッセージを受けた場合に、データが誤って書き換えられる可能性を低減し、また、好ましくは、仮に書き替えられてしまった場合でも、後でその原因を特定することのできるユニット及びプログラマブルコントローラを提供することを目的とする。   The present invention reduces the possibility that data is erroneously rewritten when a write message is received from another node connected to the network, and preferably, even if the data is rewritten, It is an object to provide a unit and a programmable controller that can identify the cause later.

本発明に係るユニットは、プログラマブルコントローラを構成するユニットであって、ネットワークを介して接続された他のノードからのメッセージを受信した際に、そのメッセージが書き込み系であるか否かを判断する判断手段と、前記判断手段により、書き込み系であると判断された所定のメッセージに基づく書き込みを阻止する機能を備えて構成した。   The unit according to the present invention is a unit that constitutes a programmable controller, and when receiving a message from another node connected via a network, a determination to determine whether the message is a writing system or not And a function of preventing writing based on a predetermined message determined to be a writing system by the determining means.

このようにすると、書き込み系のメッセージを受信した場合には、所定のメッセージに基づく書き込みを阻止することにより、誤って書き込み系のメッセージを送信するようにしてしまった場合でも、ユニット側では書き込みを阻止するため、データが誤って書き替えられてしまうことを未然に防止できる。そして、読み出し系のメッセージについては、メッセージの内容に従って処理をすることができるので、例えば、監視システムがデータを読み出して監視することができる。   In this way, when a write message is received, even if the write message is mistakenly transmitted by blocking writing based on a predetermined message, the unit side does not write. This prevents the data from being rewritten accidentally. Since the read message can be processed according to the content of the message, for example, the monitoring system can read and monitor the data.

そして、前記書き込み系のメッセージを送信したノードのアドレスを認識し、書込が許可されたノードからの書き込み系のメッセージの場合には、メッセージに応じた書き込みを許可する機能を備えるようにしてもよい。このようにすると、特定のノードからは、書き込みをすることができるので、例えば、遠隔地からのデータ更新を伴うメンテナンスや、他のシステムからの書き換え要求に対応できる。なお、書き込みが許可されたノードか否かの判断は、許可するノードのアドレスを記憶保持させておき、該当するアドレスが存在する場合に書き込みを許可するようにしても良いし、書き込みを拒否するノードのアドレスを記憶保持させておき、該当するアドレスが存在しない場合に書き込みを許可するようにしても良い。   Then, it recognizes the address of the node that sent the write-related message, and in the case of a write-related message from a node that is allowed to write, it has a function of permitting writing according to the message. Good. In this way, since writing can be performed from a specific node, for example, maintenance accompanying data update from a remote place and rewrite requests from other systems can be handled. Whether or not the node is permitted to be written is determined by storing and holding the address of the permitted node and allowing the writing when the corresponding address exists, or rejecting the writing. The address of the node may be stored and retained, and writing may be permitted when the corresponding address does not exist.

もちろん、本発明では、全ての他のノードからの書き込みを阻止するようにしても良い。つまり、本発明で言う所定のメッセージとは、書き込み系と判断された全てのメッセージでも良いし、一定の条件を満たす一部のメッセージでも良い。   Of course, in the present invention, writing from all other nodes may be prevented. That is, the predetermined message referred to in the present invention may be all messages determined to be a writing system, or may be a part of messages that satisfy a certain condition.

また、前記メッセージが、少なくとも書き込みが許可されたノードからの書き込み系の場合、そのメッセージの履歴情報を記憶保持する記憶手段を備えるようにするとなお良い。なおまた、前記メッセージが、少なくとも書き込み系の場合に、そのメッセージの履歴情報を記憶保持する記憶手段を備えるようにすることもできる。このように履歴情報を記憶保持することにより、どのメッセージに基づいてデータが書き換えられたかの特定を行うことが可能となる。   Further, when the message is a writing system from at least a node that is permitted to write, it is more preferable to provide a storage means for storing and holding history information of the message. In addition, when the message is at least a writing system, a storage unit that stores and holds history information of the message may be provided. By storing and holding history information in this way, it is possible to specify which message is used to rewrite data.

さらにまた、本発明のユニットとしては、CPUユニットまたは通信ユニットとすることができる。そしてCPUユニットの場合には、書き込みを阻止する機能としては、文字通り、該当する書き込み系のメッセージを受信した場合には書き込みを行わないようにすることである。また、通信ユニットの場合の書き込みを阻止する機能としては、メッセージを転送しないようにすることにより実現できる。もちろん、これ以外の方法をとることもできる。   Furthermore, the unit of the present invention can be a CPU unit or a communication unit. In the case of the CPU unit, as a function of preventing writing, literally, when a corresponding writing message is received, writing is not performed. Further, the function of preventing writing in the case of the communication unit can be realized by not transferring the message. Of course, other methods can be used.

そして、特にユニットがCPUユニットの場合、さらに複数の通信ユニットが存在するPLCの場合は、CPUユニットに対して設定を行うだけで、通信ユニットが接続されたネットワークを介したメッセージ通信に対して書込プロテクト機能が有効となり、ネットワーク上に存在する他ノードから誤ってデータが破壊されることはなくなる。よって、ユーザにおいて本要因によるトラブルは完全に排除される。さらに、CPUユニットに対して設定を行うだけで、本機能は有効になるため、通信ユニット含むその他の機械装置は既存のまま使用でき、既設装置に対しても安価に実施できる。   In particular, when the unit is a CPU unit, and in the case of a PLC having a plurality of communication units, it is possible to write to the message communication via the network to which the communication unit is connected by simply setting the CPU unit. The data protection function is enabled, and data is not accidentally destroyed from other nodes on the network. Therefore, troubles due to this factor are completely eliminated by the user. Furthermore, since this function is enabled only by setting the CPU unit, other mechanical devices including the communication unit can be used as they are, and can be implemented on existing devices at low cost.

また本発明にかかるプログラマブルコントローラは、ネットワークに接続した他のノードとの間でメッセージ通信を行う機能を備えたプログラマブルコントローラであって、上記した各種のユニットを備えて構成することである。   Moreover, the programmable controller concerning this invention is a programmable controller provided with the function to perform message communication between the other nodes connected to the network, Comprising: It is comprised including the above-mentioned various units.

本発明では、書き込み系のメッセージを拒否することができるので、ネットワークに接続された他のノードから書き込み系のメッセージを受けた場合に、データが誤って書き換えられる可能性を低減することができる。また、履歴情報を格納するようにした場合には、仮に書き替えられてしまった場合でも、後でその原因を特定することができる。   In the present invention, since a write message can be rejected, the possibility that data is erroneously rewritten when a write message is received from another node connected to the network can be reduced. Further, when history information is stored, even if the history information is rewritten, the cause can be specified later.

図2は、本発明の好適な一実施の形態を実現するシステム全体を示している。図2に示すように、PLC10が、制御用ネットワーク20を介して制御対象機器21と接続され、生産現場に設置されたFAシステムが構築される。また、このPLC10は、イーサネット(登録商標)等の情報系ネットワーク22を介して、外部の専用装置或いはパソコンからなる監視システム25に接続される。   FIG. 2 shows the entire system for realizing a preferred embodiment of the present invention. As shown in FIG. 2, the PLC 10 is connected to the control target device 21 via the control network 20, and an FA system installed at the production site is constructed. The PLC 10 is connected to a monitoring system 25 including an external dedicated device or a personal computer via an information network 22 such as Ethernet (registered trademark).

PLC10は、複数のユニットから構成される。すなわち、電源供給源の電源ユニット,PLC全体の制御を統率するCPUユニット,FAの生産装置や設備装置の適所に取り付けたスイッチやセンサの信号を入力する入力ユニット,アクチュエータなどに制御出力を出す出力ユニット,通信ネットワークに接続するための通信ユニットなどの各種のユニットを適宜組み合わせて構成される。各ユニットは、それぞれボックスから構成され、側面に形成されたコネクタを介して電気的,機械的に連結する。このコネクタには、バスが接続されており、これにより各ユニットはバス接続され、ユニット間で直接および又はCPUユニットを介して間接的にデータの送受が可能となる。   The PLC 10 is composed of a plurality of units. That is, a power supply unit of a power supply source, a CPU unit that controls the entire PLC, an output unit that inputs a switch or sensor signal attached to an appropriate place in an FA production device or facility device, an output that outputs a control output Various units such as a unit and a communication unit for connecting to a communication network are appropriately combined. Each unit is composed of a box and is electrically and mechanically connected via a connector formed on the side surface. A bus is connected to this connector, whereby each unit is connected by bus, and data can be transmitted and received directly between units and / or indirectly via a CPU unit.

そして、PLC10を構成するCPUユニット11の内部構造は、図3に示すように構成されている。すなわち、システムプログラムは、システムROM11aに格納されており、そのシステムプロクラムは、MPU11bに呼び出され、そのMPU11bにおいて、ワークメモリとしてのシステムRAM11cを適宜使用しながら、プログラムに従った所定の処理を実行する。また、運転時において、ユーザデータの1つであるユーザプログラムは、ユーザメモリ11dに格納されている。そして、ユーザメモリ11dに格納されたユーザプログラムを構成する各命令が順次ASIC11eに呼び出され、そこにおいて当該命令を実行する。なお、ASIC11eで実行できない命令は、MPU11bで実行する。また。ASIC11eは、係るユーザプログラム(命令)実行処理に加え、リフレッシュ処理,バスインターフェイス,メモリ調停を行う機能を持つ。さらに、ユーザプログラムの実行に伴い読み書きがされるI/Oデータや、各種のパラメータは、IOメモリ11fに格納されている。つまり、このIOメモリ11fは、外部I/O割付用メモリとユーザプログラムで使用するデータメモリを含み、メッセージ通信で読み出し/書き込みされるデータが格納される。   The internal structure of the CPU unit 11 constituting the PLC 10 is configured as shown in FIG. That is, the system program is stored in the system ROM 11a, and the system program is called by the MPU 11b. The MPU 11b executes a predetermined process according to the program while appropriately using the system RAM 11c as a work memory. . During operation, a user program that is one of user data is stored in the user memory 11d. Then, each instruction constituting the user program stored in the user memory 11d is sequentially called by the ASIC 11e, and the instruction is executed there. Note that instructions that cannot be executed by the ASIC 11e are executed by the MPU 11b. Also. The ASIC 11e has a function of performing a refresh process, a bus interface, and a memory arbitration in addition to the user program (instruction) execution process. Furthermore, I / O data that is read and written in accordance with the execution of the user program and various parameters are stored in the IO memory 11f. That is, the IO memory 11f includes an external I / O allocation memory and a data memory used by a user program, and stores data read / written by message communication.

本発明との関係でいうと、通信ユニットを介してメッセージを取得すると、MPU11bは、そのメッセージの内容に従い所定の処理を実行し、レスポンスを返すようになる。そして、メッセージ通信のフレーム構成は、図4に示すようになっている。すなわち、受信したコマンドのフレーム構成としては、ヘッダー部に、相手先アドレスと発信元アドレスを含み、コマンド内容としてはコマンド種別と具体的なデータを含む。MPU11bは、相手先アドレスが自己宛(CPUユニット宛)のもののみ、処理対象とする。また、コマンド種別は、例えば、データの書き込みや読み出しを識別するコード情報が格納される。そして、データには、アクセスすべきデータのアドレスや、書き込みの場合には書き込むデータが格納される。   In relation to the present invention, when a message is acquired via the communication unit, the MPU 11b executes a predetermined process according to the content of the message and returns a response. The frame structure of message communication is as shown in FIG. That is, as the frame configuration of the received command, the header portion includes the destination address and the source address, and the command content includes the command type and specific data. The MPU 11b processes only the destination address addressed to itself (addressed to the CPU unit). The command type stores, for example, code information for identifying data writing or reading. The data stores an address of data to be accessed and data to be written in the case of writing.

また、MPU11bが発行するレスポンスのフレームとしては、ヘッダー部に相手先アドレスと発信元アドレスを含む。相手先アドレスは、受信したメッセージコマンドの発信元アドレスを格納し、発信元アドレスには自己のアドレスを格納する。そして、受信したメッセージコマンドが読み出しの場合には、レスポンス内容として、該当するアドレスに格納されたデータを格納し返送することになる。また、メッセージコマンドが書き込みの場合には、後述するように書き込みが許容されている場合には、指定された書き込みを行い、レスポンス内容として完了した旨を記述し返送することになり、書き込みが禁止されている場合には、レスポンス内容として所定のエラーメッセージを返すようになる。   In addition, as a response frame issued by the MPU 11b, the header part includes a destination address and a source address. The destination address stores the source address of the received message command, and the source address stores its own address. When the received message command is read, the data stored at the corresponding address is stored and returned as the response content. In addition, when the message command is writing, if writing is permitted as will be described later, the specified writing is performed, and the response content is completed and returned, and writing is prohibited. If it is, a predetermined error message is returned as the response content.

すなわち、本実施の形態では、受信したメッセージのコマンド種別が読み出しの場合には、従来と同様に取得したメッセージの内容に従って処理を実行し、レスポンスを返すが、コマンド種別が書き込みの場合には、そのメッセージの要求を拒否し、書き込み処理を行わないようにした。これにより、CPUユニット11にて書込プロテクト機能を有効にすることで、情報系ネットワーク22で接続された先のノード(監視システム25等)から意図しないメッセージが発行されても、データを破壊されることはなくなる。   That is, in the present embodiment, when the command type of the received message is read, the process is executed according to the content of the acquired message as in the conventional case, and a response is returned, but when the command type is write, The request for the message was rejected and the writing process was not performed. As a result, by enabling the write protection function in the CPU unit 11, even if an unintended message is issued from a previous node (such as the monitoring system 25) connected by the information system network 22, the data is destroyed. It will not be.

さらに本実施の形態では、全ての書き込みメッセージを拒否するのではなく、拒否するノード或いは許可するノードを登録しておき、一部のノードからの書き込みは許可するようにした。なお、書き込み系のメッセージは全て拒否するようにしてももちろん良い。   Furthermore, in this embodiment, not all write messages are rejected, but rejected nodes or allowed nodes are registered, and writing from some nodes is permitted. Of course, all writing messages may be rejected.

さらに、本実施の形態では、メッセージ通信の履歴を記録するようにしている。具体的には、図5に示すように、発信元アドレスと、コマンド種別並びにメッセージを受信した日時・時刻情報を関連付けて登録するようにし、係る履歴情報は、IOメモリ11fに格納するようにした。なお、履歴情報としては、全てのメッセージを記憶しても良いし、所定の書き込み系のもののみを記憶するようにしても良い。   Further, in the present embodiment, a history of message communication is recorded. Specifically, as shown in FIG. 5, the sender address, the command type, and the date / time information when the message is received are associated and registered, and the history information is stored in the IO memory 11f. . As history information, all messages may be stored, or only a predetermined writing system may be stored.

このように履歴情報を取ることにより、仮に書き込みを許容したノードからのメッセージで誤ってデータを書き換えてしまいデータを破壊してしまった場合でも、後でどのメッセージによって書き換えられてしまったかを確認することができる。その結果、原因の特定をすることにより、例えば監視システム25に実装された監視プログラム中のバグであるメッセージを発行するプログラム部分を見つけ、それを削除・修正等することにより、間違ったメッセージの発行を停止することができ、データ破壊の再発を防止できる。   By collecting history information in this way, even if data is accidentally rewritten by a message from a node that allowed writing, and the data is destroyed, it is confirmed by which message it was rewritten later. be able to. As a result, by identifying the cause, for example, a program part that issues a message that is a bug in the monitoring program implemented in the monitoring system 25 is found, and by deleting or correcting it, issuing a wrong message Can be stopped and reoccurrence of data destruction can be prevented.

また、書き込み系がメッセージの発行が認められる装置であっても、特定の領域に対してのみ書き込みが認められている場合において、実際にデータ破壊を生じたのが係る特定の領域以外の場合には、操作ミスがあっと認定できる。その他、書き込み系のメッセージを発行したノードはわかるので、当該メッセージの発行された日時情報から、操作ミスをしたノード・オペレータ等を推定する(絞り込む)ことはできる。そして、そのように操作ミスを行なったことを特定・推定できると、当該操作ミスをしたオペレータ等に注意を促すことにより、再発防止をすることができる。   In addition, even if the writing system is a device that is allowed to issue a message, when writing is permitted only in a specific area, the actual data destruction has occurred in a case other than the specific area. Can be recognized as a mistake in operation. In addition, since the node that issued the write message is known, it is possible to estimate (narrow down) the node / operator that has made the operation mistake from the date / time information on which the message was issued. If it is possible to identify and estimate that an operation error has been made in this way, it is possible to prevent a recurrence by calling attention to the operator who made the operation error.

上記したメッセージに対する処理並びに履歴情報の記憶処理は、MPU11bが行う。そして、具体的には、図6に示すフローチャートを実施するようにしている。すなわち、まずMPU11bは、受信したメッセージは、書き込み系か否かを判断する(ST1)。これは、受信したメッセージのコマンド内容のコマンド種別を認識することにより、判断できる。   The MPU 11b performs the processing for the message and the history information storage processing. Specifically, the flowchart shown in FIG. 6 is implemented. That is, first, the MPU 11b determines whether or not the received message is a writing system (ST1). This can be determined by recognizing the command type of the command content of the received message.

そして、受信したメッセージが読み出し系の場合には、この分岐判断はNoとなるので、ステップ7に飛び、通常のレスポンス処理を行なう。すなわち、要求されたコマンド種別に応じた内容のレスポンスを返信するものであり、今回の場合には、読み出し要求によりしていされたアドレスに格納されたデータを読み出して、レスポンスとしてメッセージの送信元に返送する。   If the received message is a read-out message, the branch determination is No, and the process jumps to step 7 to perform normal response processing. In other words, in this case, the data stored at the address requested by the read request is read and sent to the message sender as a response. Return it.

一方、受信したメッセージが書き込み系の場合、そのメッセージの発信元が他ノードか否かを判断する(ST2)。すなわち、CPUユニット11が取得するメッセージは、CPUユニット11が構成するPLC10の外部の装置・機器から送られてくる場合と、同一のPLC10を構成する他のユニットから送られてくる場合がある。そして、同一のPLC10を構成する他のユニットから送られてくる書き込みメッセージは、正常な動作として存在し、そのまま実行して良い。よって、係る他のユニットからのメッセージの場合、自ノードであるので、ステップ2の分岐判断はNoとなり、ステップ7に飛び、通常のレスポンス処理を行なう。すなわち、IOメモリ11fの所定アドレスに対する書き込み処理を行なう。   On the other hand, if the received message is a writing type, it is determined whether or not the source of the message is another node (ST2). That is, the message acquired by the CPU unit 11 may be sent from a device / equipment outside the PLC 10 that the CPU unit 11 constitutes, or may be sent from another unit that constitutes the same PLC 10. And the write message sent from the other unit which comprises the same PLC10 exists as normal operation | movement, and may be performed as it is. Therefore, in the case of a message from such another unit, since it is the own node, the branch determination at Step 2 is No, and the routine jumps to Step 7 to perform normal response processing. That is, a write process for a predetermined address in the IO memory 11f is performed.

そして、受信したメッセージが他ノードからのものの場合、ステップ3に飛び、メッセージ通信の履歴を格納する(ST3)。つまり、受信したメッセージから、所定の情報を抽出し、図5に示したようなデータ構造にしてIOメモリ11fに格納する。   If the received message is from another node, the process jumps to step 3 to store the message communication history (ST3). That is, predetermined information is extracted from the received message and stored in the IO memory 11f in a data structure as shown in FIG.

その後、読出専用(書込プロテクト)の設定があるか否かを判断する(ST4)。すなわち、本実施の形態では、従前の書き込みも許容する仕様と、書き込みを禁止する仕様のいずれも対応できるようになっている。そして、呼び出し専用の設定がなく、無条件で書き込みを許容する仕様が選択されている場合には、ステップ4の分岐判断はNoとなり、ステップ7にて通常のレスポンス処理をする。ここでの通常のレスポンス処理は、読み出し専用の設定がないので、受信したメッセージで指定されるアドレスに対する書き込みを行い、完了通知をレスポンスとして返送するようになる。   Thereafter, it is determined whether there is a read-only (write protect) setting (ST4). That is, in the present embodiment, both the specification that allows the previous writing and the specification that prohibits the writing can be supported. If there is no call-only setting and a specification that allows unconditional writing is selected, the branch determination in step 4 is No, and normal response processing is performed in step 7. In the normal response processing here, since there is no read-only setting, writing to the address specified by the received message is performed, and a completion notification is returned as a response.

また、読出専用の設定がある場合には、ステップ5に飛び、受信したメッセージの発信元アドレスがプロテクト対象外として設定されているか否かを判断する(ST5)。すなわち、本実施の形態では、全ての他ノードからの書き込みを禁止するのではなく、予め登録したノードからの書き込みはプロテクトすることなく実行するようにしたため、メッセージの発信元アドレスを確認し、プロテクト対象外の設定がある場合には、ステップ7に飛び、通常のレスポンス処理をする。ここでの通常のレスポンス処理は、読み出し専用の設定がないので、受信したメッセージで指定されるアドレスに対する書き込みを行い、完了通知をレスポンスとして返送するようになる。なお、係るプロテクト対象外のノードの設定は、ツールなどを用いて予めCPUユニット11のIOメモリ11fに登録する。   If there is a read-only setting, the process jumps to step 5 to determine whether or not the source address of the received message is set to be out of protection (ST5). In other words, in this embodiment, writing from all other nodes is not prohibited, but writing from a pre-registered node is executed without protection, so the source address of the message is confirmed and protected. If there is an out-of-target setting, the process jumps to step 7 to perform normal response processing. In the normal response processing here, since there is no read-only setting, writing to the address specified by the received message is performed, and a completion notification is returned as a response. Note that the setting of the node that is not to be protected is registered in advance in the IO memory 11f of the CPU unit 11 using a tool or the like.

そして、受信したメッセージの発信元アドレスが、プロテクト対象外として設定していないノードの場合、ステップ5の分岐判断はNoとなり、ステップ6に飛び、書き込みプロテクト中のレスポンス処理を実行する(ST6)。具体的には、今回受信したメッセージで要求された書き込み処理を行なわず、「書込プロテクト中のため実行不可」という内容のレスポンスを、返信することになる。   If the source address of the received message is a node that is not set to be unprotected, the branch determination in step 5 is No, and the process jumps to step 6 to execute response processing during write protection (ST6). Specifically, the write process requested by the message received this time is not performed, and a response “cannot be executed because the write protection is in progress” is returned.

なお、他ノードからの書き込み系のメッセージを全て拒否するような仕様にした場合には、ステップ4,5は設けなくても良い。また、従来のように他ノードから書き込み系のメッセージを受信した場合に全て実行するような仕様を設けない場合には、ステップ4の分岐判断を設けないでよい。さらに、読出専用の設定は、ツールを用いて設定するものの他、CPUユニット11に設けた設定スイッチにより、機械的に設定するようにしても良く、各種の方法が採れる。さらにまた、履歴情報は必ずしも記録する必要はない。   If the specification is such that all write messages from other nodes are rejected, steps 4 and 5 need not be provided. Further, if it is not necessary to provide a specification that executes all when a write message is received from another node as in the prior art, the branch determination in step 4 may not be provided. Further, the read-only setting may be set mechanically by a setting switch provided in the CPU unit 11 in addition to the setting using a tool, and various methods can be employed. Furthermore, it is not always necessary to record history information.

このように、本実施の形態によれば、CPUユニット11に対して設定を行うだけで、ネットワークを介したメッセージ通信に対して書込プロテクト機能が有効となり、ネットワーク上に存在する他ノードからの書き込み系のメッセージに基づいて誤ってデータが破壊されることはなくなる。よって、ユーザにおいて本要因によるトラブルは完全に排除される。   As described above, according to the present embodiment, the write protection function is effective for message communication via the network only by making settings for the CPU unit 11, and from other nodes on the network. Data is not accidentally destroyed based on a write message. Therefore, troubles due to this factor are completely eliminated by the user.

また、本実施の形態のようにCPUユニット11に、書き込みプロテクト機能を設けたことにより、通信ユニットを含むその他の機械装置は、既存のものを用いることができる。すなわち、通信ユニットは、他ノードからのメッセージを受信すると、そのコマンド種別に関係なくCPUユニット11にメッセージを渡しても、CPUユニット11側で書き込みを拒否することができ、不用意なデータの破壊の発生を未然に防止できる。よって、既設装置に対しても安価に実施できる。   Further, by providing the CPU unit 11 with a write protection function as in the present embodiment, other mechanical devices including the communication unit can be used. In other words, when the communication unit receives a message from another node, even if the message is sent to the CPU unit 11 regardless of the command type, the CPU unit 11 can refuse writing, and inadvertent data destruction Can be prevented in advance. Therefore, it can be implemented at low cost for existing equipment.

さらに、本実施の形態では、書込プロテクトをしないノードを予め登録しておくことにより、ネットワーク上の各ノードのアドレスで有効・無効を選択できることから、1つのネットワークだけで安価にシステムを構築できる。   Furthermore, in this embodiment, by registering nodes that are not write-protected in advance, it is possible to select valid / invalid by the address of each node on the network, so a system can be constructed at a low cost with only one network. .

メッセージ通信の履歴を残す機能は、他ノードからの書き込みがあった場合には、設定に関わらず動作するようにしたため、書込プロテクト機能を使用しないユーザにおいて、ネットワーク上に存在する他ノードから誤ってデータが破壊されることがあっても、事後的にその原因を特定することが可能となり、トラブルの早期解決が可能となる。   The function that keeps the history of message communication is operated regardless of the setting when there is a write from another node. Therefore, a user who does not use the write protect function is mistaken for another node on the network. Even if the data is destroyed, it is possible to identify the cause later and to solve the trouble early.

図7,図8は、本発明の第2の実施の形態を示している。本実施の形態では、第1の実施の形態と相違して、書き込みプロテクトを通信ユニット12で行なうようにした。すなわち、通信ユニット12は、図7に示すように、通信ユニット12全体の動作を司るマイクロプロセッサであるMPU12aと、バスインターフェイス,共有メモリへの転送を行うASIC12bと、CPUユニット11との共有メモリとして使用される第1RAM12cと、システムファームウェアを格納するROM12dと、そのROM12dに格納されたシステムファームウェアを実行中にワークメモリとして使用される第2RAM12eと、不揮発性メモリ12fを備えている。この不揮発性メモリ12fには、履歴情報と、書き込みプロテクトをしないノードを特定する情報が格納される。そして、この通信ユニット12は、CPUユニット等とはバス接続され、係るバスを介してデータの送受を行なうようになっている。   7 and 8 show a second embodiment of the present invention. In this embodiment, unlike the first embodiment, write protection is performed by the communication unit 12. That is, as shown in FIG. 7, the communication unit 12 is an MPU 12 a that is a microprocessor that controls the operation of the entire communication unit 12, an ASIC 12 b that performs transfer to a bus interface and a shared memory, and a shared memory with the CPU unit 11. A first RAM 12c to be used, a ROM 12d for storing system firmware, a second RAM 12e used as a work memory during execution of the system firmware stored in the ROM 12d, and a nonvolatile memory 12f are provided. The nonvolatile memory 12f stores history information and information for specifying a node that is not write-protected. The communication unit 12 is connected to a CPU unit or the like via a bus, and transmits and receives data via the bus.

ここで、通信ユニット12のMPU12aは、通常の通信処理機能に加え、書込プロテクト機能を備えることになる。つまり、読み出し系のメッセージの場合には通常通り受信し、必要に応じて他のユニットに渡すが、他ノードから受信したメッセージが書き込み系であって、プロテクト対象外の設定がされていないノードの場合には、受け取りを拒否する。もちろん、プロテクト対象外の設定がされているノードからの書き込み系のメッセージの場合には、受信し、必要に応じて他のユニットに渡す。さらに、本実施の形態では、書き込み系のメッセージを受信した場合には、不揮発性メモリ12fに履歴情報を登録する。そして、具体的には、図8に示すフローチャートを実施するようにしている。   Here, the MPU 12a of the communication unit 12 has a write protection function in addition to a normal communication processing function. In other words, in the case of a read-type message, it is received normally and passed to other units as necessary, but the message received from another node is a write-type message and is not set to be unprotected. In case, refuse to receive. Of course, in the case of a write-type message from a node that is set not to be protected, it is received and passed to another unit as necessary. Furthermore, in the present embodiment, when a write message is received, history information is registered in the nonvolatile memory 12f. Specifically, the flowchart shown in FIG. 8 is implemented.

すなわち、受信したメッセージが、自ノード宛か否かを判断する(ST11)。自ノード宛でない場合には、ステップ17に飛び、通常のルーチング処理を行なう。この場合には、受信したメッセージを相手先アドレスで指定される他のノードのユニットへ転送する。   That is, it is determined whether the received message is addressed to the own node (ST11). If it is not addressed to the own node, the process jumps to step 17 to perform normal routing processing. In this case, the received message is transferred to the unit of another node specified by the destination address.

一方、自ノード宛のメッセージを受信した場合には、ステップ12に飛び、コマンド種別から受信したメッセージが書き込み系か否かを判断する(ST12)。そして、読み出し等書き込み系でない場合には、ステップ12の分岐判断はNoとなり、通常ルーチング処理を行なう。ここでは、受信したメッセージを相手先アドレスのユニット(CPUユニット等)へ転送する処理を行なう。   On the other hand, if a message addressed to the own node is received, the process jumps to step 12 to determine whether or not the message received from the command type is a write type (ST12). If it is not a writing system such as reading, the branch determination in step 12 is No, and normal routing processing is performed. Here, a process of transferring the received message to a unit (CPU unit or the like) of the destination address is performed.

また、受信したメッセージが書き込み系の場合には、ステップ13に飛び、メッセージ通信の履歴を格納する(ST13)。つまり、受信したメッセージから、所定の情報を抽出し、図5に示したようなデータ構造にして不揮発性メモリ12fに格納する。   If the received message is a writing system, the process jumps to step 13 to store the message communication history (ST13). That is, predetermined information is extracted from the received message, and stored in the nonvolatile memory 12f in a data structure as shown in FIG.

その後、読出専用(書込プロテクト)の設定があるか否かを判断する(ST14)。すなわち、本実施の形態では、従前の書き込みも許容する仕様と、書き込みを禁止する仕様のいずれも対応できるようになっている。そして、呼び出し専用の設定がなく、無条件で書き込みを許容する仕様が選択されている場合には、ステップ14の分岐判断はNoとなり、ステップ17にて通常のルーチング処理をする。ここでの通常のルーチング処理は、読み出し専用の設定がないので、受信したメッセージを相手先アドレスで指定される自ノードのユニットへ転送する。   Thereafter, it is determined whether there is a read-only (write protect) setting (ST14). That is, in the present embodiment, both the specification that allows the previous writing and the specification that prohibits the writing can be supported. If there is no call-only setting and a specification that allows unconditional writing is selected, the branch determination in step 14 is No, and normal routing processing is performed in step 17. In this normal routing process, since there is no read-only setting, the received message is transferred to the unit of the own node specified by the destination address.

また、読出専用の設定がある場合には、ステップ15に飛び、受信したメッセージの発信元アドレスがプロテクト対象外として設定されているか否かを判断する(ST15)。すなわち、本実施の形態では、全ての他ノードからの書き込みを禁止するのではなく、予め登録したノードからの書き込みはプロテクトすることなく実行するようにしたため、メッセージの発信元アドレスを確認し、プロテクト対象外の設定がある場合には、ステップ17に飛び、通常のレスポンス処理をする。ここでの通常のレスポンス処理は、受信したメッセージを転送する処理を行なう。なお、係るプロテクト対象外のノードの設定は、ツールなどを用いて予め通信ユニット12の不揮発性メモリ12fに登録する。   If there is a read-only setting, the process jumps to step 15 to determine whether or not the source address of the received message is set to be out of protection (ST15). In other words, in this embodiment, writing from all other nodes is not prohibited, but writing from a pre-registered node is executed without protection, so the source address of the message is confirmed and protected. If there is an out-of-target setting, the process jumps to step 17 to perform normal response processing. The normal response process here performs a process of transferring the received message. Note that the setting of the node that is not to be protected is registered in advance in the nonvolatile memory 12f of the communication unit 12 using a tool or the like.

そして、受信したメッセージの発信元アドレスが、プロテクト対象外として設定していないノードの場合、ステップ15の分岐判断はNoとなるのでステップ16に飛び、書き込みプロテクト中のレスポンス処理を実行する(ST16)。具体的には、今回受信したメッセージで要求された書き込み処理を行なわず、「書込プロテクト中のため実行不可」という内容のレスポンスを、返信することになる。   If the source address of the received message is a node that has not been set as not to be protected, the branch determination in step 15 is No, so the process jumps to step 16 to execute response processing during write protection (ST16). . Specifically, the write process requested by the message received this time is not performed, and a response “cannot be executed because the write protection is in progress” is returned.

そして、係る通信ユニットにおいても、第1の実施の形態のCPUユニット11と同様に、読出専用のプロテクトを必ず設けるようにしたり、履歴情報を登録しないようにしたりするなど、各種の変形実施ができる。   Also in the communication unit, various modifications can be made, such as making sure to provide read-only protection or not registering history information, as with the CPU unit 11 of the first embodiment. .

さらに、上記した各実施の形態で、読出専用の設定をし、かつ、書込許可の送信元アドレスを登録する手法としては、例えばツールを用いることができる。一例としては、図9に示すような登録画面をツールの表示装置の表示画面上に出力表示し、「メッセージ通信の書込プロテクト機能を有効にする」にチェックを入れる(画面上の該当箇所をポインティングデバイスを用いてクリックする)ことにより、読出専用の設定をする。そして、具体的にプロテクト対象外のノードアドレスを入力する。そして、係る情報をツールから所定のユニットに対して転送・ダウンロードし、所定の記憶エリアに格納することにより設定できる。   Furthermore, in each of the above-described embodiments, for example, a tool can be used as a method for performing a read-only setting and registering a transmission-permitted source address. As an example, a registration screen as shown in FIG. 9 is output and displayed on the display screen of the tool display device, and a check mark is placed in “Enable message communication write protection function”. Clicking with a pointing device) makes a read-only setting. Then, a node address that is not protected is input. The information can be set by transferring / downloading the information from the tool to a predetermined unit and storing it in a predetermined storage area.

また、上記した実施の形態では、他のノードは、監視システム25であるが、本発明はこれに限ることはなく、他のPLC等のネットワークに接続され、メッセージ通信が可能な装置・機器等も他のノードに成り得る。   In the above-described embodiment, the other node is the monitoring system 25. However, the present invention is not limited to this, and is connected to another network such as a PLC and capable of message communication. Can also be other nodes.

従来例のシステム構成の一例を示す図である。It is a figure which shows an example of the system configuration | structure of a prior art example. 本発明が適用されるネットワークシステムの一例を示す図である。It is a figure which shows an example of the network system to which this invention is applied. 本発明に係るCPUユニットの一実施の形態(第1の実施の形態)を示す内部構造を示す図である。It is a figure which shows the internal structure which shows one Embodiment (1st Embodiment) of the CPU unit which concerns on this invention. メッセージ並びにレスポンスのフレーム構成例を示す図である。It is a figure which shows the example of a frame structure of a message and a response. 記憶保持する履歴情報のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the history information memorize | stored and held. 本発明に係るCPUユニットの一実施の形態(第1の実施の形態)における要部機能を示すフローチャートである。It is a flowchart which shows the principal part function in one Embodiment (1st Embodiment) of the CPU unit which concerns on this invention. 本発明に係る通信ユニットの一実施の形態(第2の実施の形態)を示す内部構造を示す図である。It is a figure which shows the internal structure which shows one Embodiment (2nd Embodiment) of the communication unit which concerns on this invention. 本発明に係る通信ユニットの一実施の形態(第2の実施の形態)における要部機能を示すフローチャートである。It is a flowchart which shows the principal part function in one Embodiment (2nd Embodiment) of the communication unit which concerns on this invention. ツールの設定画面の一例を示す図である。It is a figure which shows an example of the setting screen of a tool.

符号の説明Explanation of symbols

10 PLC
11 CPUユニット
11a システムROM
11b MPU
11c システムRAM
11d ユーザメモリ
11e ASIC
11f IOメモリ
12 通信ユニット
12a MPU
12b ASIC
12c 第1RAM
12d ROM
12e 第2RAM
12f 不揮発性メモリ
20 制御系ネットワーク
21 制御対象機器
22 情報系ネットワーク
25 監視システム
10 PLC
11 CPU unit 11a System ROM
11b MPU
11c System RAM
11d User memory 11e ASIC
11f IO memory 12 Communication unit 12a MPU
12b ASIC
12c 1st RAM
12d ROM
12e 2nd RAM
12f Non-volatile memory 20 Control system network 21 Control target device 22 Information system network 25 Monitoring system

Claims (6)

プログラマブルコントローラを構成するユニットであって、
ネットワークを介して接続された他のノードからのメッセージを受信した際に、そのメッセージが書き込み系であるか否かを判断する判断手段と、
前記判断手段により、書き込み系であると判断された所定のメッセージに基づく書き込みを阻止する機能を備えたことを特徴とするユニット。
A unit constituting a programmable controller,
When receiving a message from another node connected via the network, a determination means for determining whether the message is a writing system,
A unit comprising a function for preventing writing based on a predetermined message determined to be a writing system by the determining means.
前記書き込み系のメッセージを送信したノードのアドレスを認識し、書込が許可されたノードからの書き込み系のメッセージの場合には、メッセージに応じた書き込みを許可する機能を備えたことを特徴とする請求項1に記載のユニット。   It has a function of recognizing the address of the node that has sent the write message and allowing writing according to the message in the case of a write message from a node that is allowed to write. The unit according to claim 1. 前記メッセージが、少なくとも書き込みが許可されたノードからの書き込み系の場合、そのメッセージの履歴情報を記憶保持する記憶手段を備えたことを特徴とする請求項2に記載のユニット。   The unit according to claim 2, further comprising storage means for storing and holding history information of the message when the message is a writing system from a node at which writing is permitted. 前記メッセージが、少なくとも書き込み系の場合に、そのメッセージの履歴情報を記憶保持する記憶手段を備えたことを特徴とする請求項1または2に記載のユニット。   3. The unit according to claim 1, further comprising storage means for storing and holding history information of the message when the message is at least a writing system. 前記ユニットは、CPUユニットまたは通信ユニットであることを特徴とする請求項1から4のいずれか1項に記載のユニット。   The unit according to any one of claims 1 to 4, wherein the unit is a CPU unit or a communication unit. ネットワークに接続した他のノードとの間でメッセージ通信を行う機能を備えたプログラマブルコントローラであって、
請求項1から5のいずれか1項に記載のユニットを備えたことを特徴とするプログラマブルコントローラ。
A programmable controller having a function of performing message communication with other nodes connected to a network,
A programmable controller comprising the unit according to claim 1.
JP2003314828A 2003-09-05 2003-09-05 Unit and programmable controller Expired - Fee Related JP4450161B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003314828A JP4450161B2 (en) 2003-09-05 2003-09-05 Unit and programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003314828A JP4450161B2 (en) 2003-09-05 2003-09-05 Unit and programmable controller

Publications (2)

Publication Number Publication Date
JP2005084843A true JP2005084843A (en) 2005-03-31
JP4450161B2 JP4450161B2 (en) 2010-04-14

Family

ID=34415270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003314828A Expired - Fee Related JP4450161B2 (en) 2003-09-05 2003-09-05 Unit and programmable controller

Country Status (1)

Country Link
JP (1) JP4450161B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007280376A (en) * 2006-03-15 2007-10-25 Omron Corp Programmable controller
JP2008141508A (en) * 2006-12-01 2008-06-19 Koyo Electronics Ind Co Ltd Plc system and plc used for the system
JP2020004261A (en) * 2018-06-29 2020-01-09 株式会社ジェイテクト Equipment control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007280376A (en) * 2006-03-15 2007-10-25 Omron Corp Programmable controller
JP2008141508A (en) * 2006-12-01 2008-06-19 Koyo Electronics Ind Co Ltd Plc system and plc used for the system
JP2020004261A (en) * 2018-06-29 2020-01-09 株式会社ジェイテクト Equipment control device
JP7230353B2 (en) 2018-06-29 2023-03-01 株式会社ジェイテクト Equipment control device

Also Published As

Publication number Publication date
JP4450161B2 (en) 2010-04-14

Similar Documents

Publication Publication Date Title
US20020124011A1 (en) Methods, systems, and computer program products for communicating with a controller using a database interface
JP3184169B2 (en) Network device setting management system, network device setting management method, and recording medium recording network device setting management program
JP2002268707A (en) Controller and tool, and system constituted of the same
JP4986123B2 (en) Intelligent transmitter and its software update method
JP2017194804A (en) Control device, relay device, control method of control device, control method of relay device, control program, and recording medium
JP3915808B2 (en) Programmable controller, programmable controller system, and CPU unit
JP4450161B2 (en) Unit and programmable controller
JP2003172199A (en) Program rewriting system for vehicular electronic control unit
JP6171385B2 (en) Controller and information processing apparatus
JP5365875B2 (en) Industrial controller
JP5119204B2 (en) Programmable controller, data writing method, and receiving module
US20030182521A1 (en) Program data rewriting system
KR102102335B1 (en) Dual memory structure and method for processing message of PLC using thereof
JP3896877B2 (en) Data server
JPH05204582A (en) Display device
JP3514173B2 (en) Control device
JPH0784894A (en) Method for writing nonvolatile memory
JP2006244491A (en) System for analyzing input signal and control device using thereof
JP2911256B2 (en) Digital controller
JPWO2019207679A1 (en) Monitor support device, monitor support method, and monitor support program
JP4032198B2 (en) PLC system and remote terminal
JP7010863B2 (en) Controls, programs, and wireless communication equipment
JP2010086206A (en) Setting device and field network system
JP3682033B2 (en) Control device, control method, and program thereof
JP2900073B2 (en) Programmable controller system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090729

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090903

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4450161

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100119

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

Free format text: PAYMENT UNTIL: 20130205

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140205

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees