JP4759048B2 - Control system - Google Patents

Control system Download PDF

Info

Publication number
JP4759048B2
JP4759048B2 JP2008509805A JP2008509805A JP4759048B2 JP 4759048 B2 JP4759048 B2 JP 4759048B2 JP 2008509805 A JP2008509805 A JP 2008509805A JP 2008509805 A JP2008509805 A JP 2008509805A JP 4759048 B2 JP4759048 B2 JP 4759048B2
Authority
JP
Japan
Prior art keywords
transfer
user
programmable controller
memory card
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008509805A
Other languages
Japanese (ja)
Other versions
JPWO2007116798A1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2008509805A priority Critical patent/JP4759048B2/en
Publication of JPWO2007116798A1 publication Critical patent/JPWO2007116798A1/en
Application granted granted Critical
Publication of JP4759048B2 publication Critical patent/JP4759048B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/12Plc mp multi processor system
    • G05B2219/1215Master slave system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13156IC-memory card

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Description

この発明は、制御システムに関するものである。   The present invention relates to a control system.

制御装置としてのプログラマブルコントローラは、プログラムにしたがって、制御対象を制御することにより所定の処理を実行させて、製品の加工や製造を行っている。このようなプログラマブルコントローラとして、一つのマザーボード上にCPUユニットと、複数の数値制御装置ユニットとをデータバスを介して接続し、制御対象を制御する構成のものが開示されている(たとえば、特許文献1参照)。この従来のプログラマブルコントローラのCPUユニットのデータRAMには、それぞれの数値制御装置ユニットへ転送すべきデータを書込むための200バイト分のエリアが確保されている。そして、数値制御装置ユニットの立ち上げ時に、CPUユニットのデータRAMから所定の長さのデータが分割されて、データRAMに書込まれたエリアに対応する数値制御装置ユニットへと一括転送される。   A programmable controller as a control device performs a predetermined process by controlling a control target according to a program, and processes and manufactures a product. As such a programmable controller, one having a configuration in which a CPU unit and a plurality of numerical control device units are connected to one motherboard via a data bus to control a control target is disclosed (for example, Patent Documents). 1). In the data RAM of the CPU unit of this conventional programmable controller, an area for 200 bytes for writing data to be transferred to each numerical controller unit is secured. Then, when the numerical controller unit is started up, data of a predetermined length is divided from the data RAM of the CPU unit, and transferred to the numerical controller unit corresponding to the area written in the data RAM.

また、プログラマブルコントローラへのデータの書込みやプログラマブルコントローラからのデータの読出しを容易に行うために、プログラムの読み書きを行うことが可能なローダ機能を有するメモリカセットをプログラマブルコントローラに装着して行うようにしたものも提案されている(たとえば、特許文献2参照)。   In addition, in order to easily write data to the programmable controller and read data from the programmable controller, a memory cassette having a loader function capable of reading and writing programs is mounted on the programmable controller. The thing is also proposed (for example, refer patent document 2).

特公平8−16846号公報Japanese Patent Publication No. 8-16846 特開2001−175309号公報JP 2001-175309 A

ところで、近年では、ベースユニットに複数のプログラマブルコントローラが装着され、相互にバスを介して接続される構成を有する制御システムも使用されている。この場合、各プログラマブルコントローラは、ユーザプログラムRAMを備えており、このユーザプログラムRAMに格納されているユーザプログラムにしたがって、それぞれのプログラマブルコントローラが独立した処理を行うことが可能な構成となっている。   Incidentally, in recent years, a control system having a configuration in which a plurality of programmable controllers are mounted on a base unit and connected to each other via a bus is also used. In this case, each programmable controller is provided with a user program RAM, and each programmable controller can perform independent processing according to the user program stored in the user program RAM.

このような制御システムでも、各プログラマブルコントローラにユーザプログラムやユーザデータを書込んだり、外部装置にユーザデータを読出したりする必要がある。その場合、特許文献1に記載の方法では、ユーザデータをCPUユニットから各数値制御装置ユニットへ送信することは可能であるが、外部装置に読出す場合については開示されていない。   Even in such a control system, it is necessary to write a user program or user data to each programmable controller or to read user data to an external device. In that case, in the method described in Patent Document 1, user data can be transmitted from the CPU unit to each numerical control device unit, but the case of reading it to an external device is not disclosed.

また、ユーザプログラムについては、CPUユニットに接続されたプログラミングツールを介してユーザプログラムRAMに書込むことが開示されている。このようなユーザプログラムの書込み方法では、制御システム(プログラマブルコントローラ)を作業者の手の届かない位置に設置している場合には、そのプログラマブルコントローラにプログラミングツールを接続して、ユーザプログラムを書込む作業が手間のかかるものとなってしまうという問題点があった。さらに、ユーザプログラムRAMを備えるプログラマブルコントローラが複数接続されたシステムについては、従来提案されているが、このシステムにおけるユーザプログラムを送信するための技術については、特許文献1には開示されていなかった。これは、特許文献1のプログラマブルコントローラの数値制御ユニットには、ユーザプログラムRAMがなく、上記のようなシステムでのユーザプログラムの送信については考慮されていないからである。   Further, it is disclosed that the user program is written in the user program RAM through a programming tool connected to the CPU unit. In such a user program writing method, when the control system (programmable controller) is installed at a position out of the reach of the operator, a programming tool is connected to the programmable controller to write the user program. There was a problem that work would be time consuming. Further, a system in which a plurality of programmable controllers each including a user program RAM are connected has been proposed, but a technique for transmitting a user program in this system has not been disclosed in Patent Document 1. This is because the numerical control unit of the programmable controller of Patent Document 1 does not have a user program RAM, and transmission of the user program in the system as described above is not considered.

一方、特許文献2には、メモリカセットを用いて、プログラマブルコントローラの内蔵メモリとの間でユーザプログラムのやり取りを行うようにしているが、この場合には、上記ユーザプログラムRAMを有する複数のプログラマブルコントローラからなる制御システムでは、プログラマブルコントローラと同一数のメモリカセットを用意する必要があるという問題点があった。また、プログラマブルコントローラごとにメモリカセットを装着する手段が必要となるため、制御システムのコストが高くなってしまうという問題点もあった。   On the other hand, in Patent Document 2, a user cassette is exchanged with a built-in memory of a programmable controller using a memory cassette. In this case, a plurality of programmable controllers having the user program RAM are used. In the control system consisting of, there is a problem that it is necessary to prepare the same number of memory cassettes as the programmable controller. Further, since a means for mounting a memory cassette is required for each programmable controller, there is a problem that the cost of the control system increases.

さらに、特許文献1に記載の方法でユーザデータを送信する場合、送信するユーザデータを保持するCPUユニット上のデータRAMには、各数値制御装置ユニットへ転送するための所定の大きさのデータ領域が予め割当てられている。そのため、ユーザプログラムやユーザデータの大きさが、プログラマブルコントローラごとに異なる場合に、使用されていない領域が生じたり、データ領域にユーザプログラムやユーザデータが収まらなくなったりし、有効に記憶領域を使用できないという問題点もあった。また、特許文献1では、メモリの構成やアドレスが固定化されていることで、数値制御装置側のメモリ構成を変更するには、プログラマブルコントローラ側のメモリ構成も変更する必要があり、メモリ効率が悪いという問題点もあった。さらに、プログラマブルコントローラだけでなく、NC(Numerical Controller)やMC(Motion Controller)、RC(Robot Controller)、操作端末である表示器などの産業用コントローラなどの制御装置全般について、上記のような問題点があった。   Further, when user data is transmitted by the method described in Patent Document 1, a data area of a predetermined size for transfer to each numerical control device unit is stored in the data RAM on the CPU unit holding the user data to be transmitted. Are pre-assigned. For this reason, when the size of the user program or user data varies from one programmable controller to another, an unused area occurs, or the user program or user data does not fit in the data area, and the storage area cannot be used effectively. There was also a problem. In Patent Document 1, since the memory configuration and address are fixed, the memory configuration on the programmable controller side needs to be changed in order to change the memory configuration on the numerical controller side, and the memory efficiency is improved. There was also the problem of being bad. Furthermore, not only the programmable controller but also the overall control devices such as NC (Numerical Controller), MC (Motion Controller), RC (Robot Controller), and industrial controllers such as display devices that are operating terminals, have the above-mentioned problems. was there.

この発明は、上記に鑑みてなされたもので、複数の制御装置がデータバスを介して接続される制御システムで、プログラミングツールを用いることなく外部からのユーザファイル(ユーザプログラムとユーザデータ)を制御装置間で送信することができる制御システムを得ることを目的とする。また、制御システム中の制御装置へのユーザファイルの書込みを行う際に、そのユーザファイルが書込まれる持ち運び可能な記憶媒体中で記憶領域を有効に使用することができるデータ構造を有する制御システムを得ることも目的とする。   The present invention has been made in view of the above, and is a control system in which a plurality of control devices are connected via a data bus, and controls external user files (user programs and user data) without using a programming tool. The object is to obtain a control system that can transmit between devices. A control system having a data structure capable of effectively using a storage area in a portable storage medium in which the user file is written when the user file is written to a control device in the control system. It is also aimed to obtain.

上記目的を達成するため、この発明にかかる制御システムは、データバスを介して相互に接続され、ユーザファイルを記憶する内部記憶手段を有する複数の制御装置と、ユーザファイルを記憶可能で、持ち運び可能な記憶媒体と、を備える制御システムにおいて、前記持ち運び可能な記憶媒体は、前記制御装置または前記持ち運び可能な記憶媒体に格納された転送対象となるユーザファイルをファイル名で指定する転送ファイル情報および前記ユーザファイルの転送先を含む転送用パラメータを記憶し、前記複数の制御装置のうち1つの制御装置は、前記持ち運び可能な記憶媒体にアクセスするインタフェース手段と、前記転送用パラメータにしたがって、前記転送ファイル情報で指定されるユーザファイルを前記転送先に転送する転送手段と、を備え、前記持ち運び可能な記憶媒体は、第1のパスワード情報をさらに記憶可能であり、前記制御装置は、第2のパスワード情報を記憶可能なパスワード情報記憶手段をさらに備え、前記転送手段は、前記第1および第2のパスワード情報が記憶されているか確認するとともに、記憶されている場合には、前記第2のパスワード情報と、前記第1のパスワード情報とを照合し、前記第1および第2のパスワード情報のうち一方のパスワード情報しか記憶されていない場合に、前記パスワード情報が設定された前記持ち運び可能な記憶媒体または前記制御装置の前記内部記憶手段へのアクセス制限を行うことを特徴とすることを特徴とする。 In order to achieve the above object, a control system according to the present invention is connected to each other via a data bus and has a plurality of control devices having internal storage means for storing user files, and can store and carry user files. In the control system comprising a storage medium, the portable storage medium includes transfer file information for designating a user file to be transferred, which is stored in the control device or the portable storage medium, by a file name, and A transfer parameter including a transfer destination of a user file is stored, and one control device among the plurality of control devices is configured to access the portable storage medium, and the transfer file according to the transfer parameter. Transfer means for transferring a user file designated by information to the transfer destination , Wherein the portable storage medium is capable further stores first password information, wherein the control device further includes password information storage means capable of storing a second password information, said transfer means , Confirming whether the first and second password information is stored, and if stored, verifying the second password information and the first password information, When only one of the second password information is stored, access to the portable storage medium in which the password information is set or the internal storage means of the control device is restricted. It is characterized by.

この発明によれば、専用のプログラミングツールを使用することなく容易に持ち運び可能な記憶媒体と制御装置の間でユーザファイルを転送することができるという効果を有する。また、1つの制御装置に持ち運び可能な記憶媒体用のインタフェースを設ければよいので、より安価な制御装置または制御システムを得ることができるという効果も有する。   According to the present invention, it is possible to transfer a user file between a storage medium and a control device that can be easily carried without using a dedicated programming tool. In addition, since it is only necessary to provide a portable storage medium interface in one control device, it is possible to obtain a cheaper control device or control system.

以下に添付図面を参照して、この発明にかかる制御システムの好適な実施の形態を詳細に説明する。なお、以下の実施の形態では、制御装置としてプログラマブルコントローラを例に挙げて説明するが、これらの実施の形態によりこの発明が限定されるものではない。   Exemplary embodiments of a control system according to the present invention will be described below in detail with reference to the accompanying drawings. In the following embodiments, a programmable controller will be described as an example of a control device, but the present invention is not limited to these embodiments.

実施の形態1.
図1は、この発明にかかる制御システムの概観を模式的に示す図であり、図2は、制御システムの実施の形態1の構成を模式的に示すブロック図である。この制御システムは、ベースユニット10に複数のプログラマブルコントローラ20,40a,40bが装着されている。以下に説明する実施の形態では、ベースユニット10上の最も左側に位置するスロットに装着されるユニット(プログラマブルコントローラ)をマスタプログラマブルコントローラ20とし、他のスロットに装着されるユニット(プログラマブルコントローラ)をスレーブプログラマブルコントローラ40(40a,40b)とする。また、ここでは、マスタプログラマブルコントローラ20にのみメモリカード装着スロット31が備えられており、メモリカード30を着脱することが可能な構成となっている。なお、ベースユニット10上に取り付けられるプログラマブルコントローラのうち、どのプログラマブルコントローラをマスタプログラマブルコントローラ20とするかについては、他の方法で定めるようにしてもよい。たとえば、ベースユニット10が複数のスロットを有し、スロットに複数のプログラマブルコントローラが装着されている場合には、一番左側に装着されているものほど優先順位を高く設定し、この優先順位が最も高いものをマスタプログラマブルコントローラとするようにしてもよい。
Embodiment 1 FIG.
FIG. 1 is a diagram schematically showing an overview of a control system according to the present invention, and FIG. 2 is a block diagram schematically showing the configuration of the control system according to the first embodiment. In this control system, a plurality of programmable controllers 20, 40 a, 40 b are mounted on the base unit 10. In the embodiment described below, a unit (programmable controller) installed in the leftmost slot on the base unit 10 is a master programmable controller 20, and a unit (programmable controller) installed in another slot is a slave. The programmable controller 40 (40a, 40b) is assumed. In addition, here, only the master programmable controller 20 is provided with the memory card mounting slot 31, and the memory card 30 can be attached and detached. In addition, you may make it determine which programmable controller is set as the master programmable controller 20 among the programmable controllers attached on the base unit 10 with another method. For example, if the base unit 10 has a plurality of slots and a plurality of programmable controllers are installed in the slots, the one installed on the leftmost side sets a higher priority, and this priority is the highest. A higher one may be used as a master programmable controller.

図2に示されるように、ベースユニット10にはデータバス11が設けられており、データバス11を介してそれぞれのプログラマブルコントローラ20,40間でユーザデータやユーザプログラム(以下、ユーザデータまたはユーザプログラムを含むものをユーザファイルという)を送受信することができる。マスタプログラマブルコントローラ20は、マスタプログラマブルコントローラ20内の処理を制御するMPU(Micro Processing Unit)21と、マスタプログラマブルコントローラ20内における基本的な処理を実行するシステムプログラムを格納するシステムプログラムROM(Read-Only Memory)22と、システムプログラムが使用するメモリ領域であるシステムワークRAM23と、データバス11に接続されユーザファイルをフレーム化して所定の宛て先へと送信するとともに、自プログラマブルコントローラ宛のフレームの受信処理を行うデータバスインタフェース(図中、データバスI/Fと表記)24と、自プログラマブルコントローラで動作するユーザプログラムを格納するユーザプログラムRAM(Random Access Memory)25と、ユーザプログラムが使用するデータを格納するユーザデータRAM26と、メモリカード30にアクセスするメモリカードインタフェース(図中、メモリカードI/Fと表記)27と、を備える。これらの各処理部間は、バス28を介して接続されている。   As shown in FIG. 2, the base unit 10 is provided with a data bus 11, and user data and user programs (hereinafter referred to as user data or user programs) between the programmable controllers 20 and 40 via the data bus 11. Can be sent and received). The master programmable controller 20 includes an MPU (Micro Processing Unit) 21 that controls processing in the master programmable controller 20 and a system program ROM (Read-Only) that stores a system program that executes basic processing in the master programmable controller 20. Memory) 22, system work RAM 23, which is a memory area used by the system program, and a user file connected to the data bus 11 and framed and transmitted to a predetermined destination, and reception processing of a frame addressed to the own programmable controller A data bus interface (denoted as a data bus I / F in the figure) 24, a user program RAM (Random Access Memory) 25 for storing a user program that operates on its own programmable controller, and a user It includes a user data RAM26 for storing data The program uses, (in the figure, a memory card I / F hereinafter) memory card interface for accessing the memory card 30 and 27. These processing units are connected via a bus 28.

なお、システムプログラムROM22には、メモリカード30がメモリカード装着スロット31に装着されたときに、メモリカード30内のユーザファイルを、自身のマスタプログラマブルコントローラ20、またはデータバス11を介して所定の宛て先のスレーブプログラマブルコントローラ40に送信する処理を実行するプログラムも含まれている。   In the system program ROM 22, when the memory card 30 is inserted into the memory card insertion slot 31, the user file in the memory card 30 is sent to a predetermined address via its own master programmable controller 20 or the data bus 11. A program for executing processing to be transmitted to the previous slave programmable controller 40 is also included.

ここで、請求の範囲における転送手段は、たとえばシステムプログラムROM22中のシステムプログラムを実行するMPU21に相当し、同じくインタフェース手段は、たとえばメモリカードインタフェース27に相当し、同じく内部記憶手段は、たとえばユーザプログラムRAM25とユーザデータRAM26に相当する。   The transfer means in the claims corresponds to, for example, the MPU 21 that executes the system program in the system program ROM 22, the interface means corresponds to, for example, the memory card interface 27, and the internal storage means corresponds to, for example, a user program. It corresponds to the RAM 25 and the user data RAM 26.

また、スレーブプログラマブルコントローラ40は、スレーブプログラマブルコントローラ40内の処理を制御するMPU41と、スレーブプログラマブルコントローラ40内における基本的な処理を実行するシステムプログラムを格納するシステムプログラムROM42と、システムプログラムが使用するメモリ領域であるシステムワークRAM43と、データバス11に接続されユーザファイルをフレーム化して所定の宛て先へと送信するとともに、自プログラマブルコントローラ宛のフレームの受信処理を行うデータバスインタフェース44と、自プログラマブルコントローラで動作するユーザプログラムを格納するユーザプログラムRAM45と、ユーザプログラムが使用するデータを格納するユーザデータRAM46と、を備える。これらの各処理部間は、バス47を介して接続されている。   The slave programmable controller 40 includes an MPU 41 that controls processing in the slave programmable controller 40, a system program ROM 42 that stores a system program that executes basic processing in the slave programmable controller 40, and a memory used by the system program. A system work RAM 43 that is an area; a data bus interface 44 that is connected to the data bus 11 and frames user files and transmits them to a predetermined destination; A user program RAM 45 that stores a user program that operates on the user data, and a user data RAM 46 that stores data used by the user program.These processing units are connected via a bus 47.

ここで、請求の範囲における内部記憶手段は、たとえばユーザプログラムRAM45とユーザデータRAM46に相当する。   Here, the internal storage means in the claims corresponds to, for example, the user program RAM 45 and the user data RAM 46.

なお、図2には、スレーブプログラマブルコントローラ40が1つしか描かれていないが、実際には1台以上のスレーブプログラマブルコントローラ40がデータバス11に接続された構成となる。   In FIG. 2, only one slave programmable controller 40 is illustrated, but actually, one or more slave programmable controllers 40 are connected to the data bus 11.

図3〜図5は、メモリカードのデータ構造を模式的に示す図である。図3に示されるように、メモリカード30内には、含まれるユーザファイル(ユーザプログラムやユーザデータ)を所定のプログラマブルコントローラに転送するための情報が記載される転送用パラメータ70と、各プログラマブルコントローラ20,40a,40bに転送させるユーザファイル71a〜71d(ユーザプログラム71a,71cとユーザデータ71b,71d)と、が記憶される。ここでは、ユーザプログラム71a,71cとユーザデータ71b,71dは、ファイルとして転送用パラメータ70に続いて格納されている。   3 to 5 are diagrams schematically showing the data structure of the memory card. As shown in FIG. 3, in the memory card 30, a transfer parameter 70 in which information for transferring a user file (user program or user data) included therein is transferred to a predetermined programmable controller, and each programmable controller User files 71a to 71d (user programs 71a and 71c and user data 71b and 71d) to be transferred to 20, 40a and 40b are stored. Here, the user programs 71a and 71c and the user data 71b and 71d are stored as files following the transfer parameter 70.

図4は、転送用パラメータの詳細を示す図である。この転送用パラメータ70は、データの書き換えを行うファイルの数を示す転送情報数80と、転送するファイルに関する詳細を示す転送情報81a〜81dと、を含む。この転送情報81a〜81dは、転送情報数80と等しい数だけ用意される。この図4では、図3に4つのユーザファイル71a〜71dが用意されているので、それぞれのユーザファイル71a〜71dに対応した転送情報81a〜81dが用意されている。   FIG. 4 is a diagram showing details of the transfer parameters. The transfer parameter 70 includes a transfer information number 80 indicating the number of files whose data is to be rewritten, and transfer information 81a to 81d indicating details regarding the file to be transferred. The transfer information 81a to 81d is prepared in a number equal to the transfer information number 80. In FIG. 4, since four user files 71a to 71d are prepared in FIG. 3, transfer information 81a to 81d corresponding to each user file 71a to 71d is prepared.

図5は、転送情報の詳細を示す図である。この転送情報81は、転送するユーザファイルのファイル名を示す転送ファイル情報91と、ユーザファイルの転送対象となるプログラマブルコントローラ20,40を示す転送プログラマブルコントローラ情報92と、転送先のプログラマブルコントローラ20,40内でのユーザファイルの転送先、より具体的にはユーザプログラムRAM25,45に転送するのか、ユーザデータRAM26,46に転送するのかを指定する転送メモリ情報93と、を含む。この、メモリカード30は、請求の範囲における持ち運び可能な記憶媒体に対応している。   FIG. 5 is a diagram showing details of the transfer information. The transfer information 81 includes transfer file information 91 indicating the file name of the user file to be transferred, transfer programmable controller information 92 indicating the programmable controllers 20 and 40 to which the user file is to be transferred, and programmable controllers 20 and 40 that are the transfer destinations. And transfer memory information 93 for designating whether to transfer the user file to the user program RAM 25, 45 or to the user data RAM 26, 46. The memory card 30 corresponds to a portable storage medium in the claims.

図6は、メモリカードに図3のようにユーザファイルが記憶されている場合の転送用パラメータの一例を示す図である。この例では、マスタプログラマブルコントローラ20用のユーザプログラム71aとユーザデータ71bおよびスレーブプログラマブルコントローラ40a用のユーザプログラム71cとユーザデータ71dとを転送するので、転送情報数80は「4」となる。また、各ユーザファイル71a〜71dに対して、転送ファイル情報91、転送プログラマブルコントローラ情報92および転送メモリ情報93からなる転送情報81a〜81dが書込まれている。たとえばユーザファイル71aの転送情報81aの場合には、転送ファイル情報91として「マスタプログラマブルコントローラ20用ユーザプログラム」が設定され、転送プログラマブルコントローラ情報92として「マスタプログラマブルコントローラ20」が設定され、転送メモリ情報93として「ユーザプログラムRAM」が設定される。これは、「マスタプログラマブルコントローラ用ユーザプログラム」というファイル名のユーザファイルを、マスタプログラマブルコントローラ20のユーザプログラムRAM25に書込むことを意味している。   FIG. 6 is a diagram showing an example of transfer parameters when a user file is stored in the memory card as shown in FIG. In this example, since the user program 71a and user data 71b for the master programmable controller 20 and the user program 71c and user data 71d for the slave programmable controller 40a are transferred, the transfer information number 80 is “4”. In addition, transfer information 81a to 81d including transfer file information 91, transfer programmable controller information 92, and transfer memory information 93 is written in each user file 71a to 71d. For example, in the case of the transfer information 81a of the user file 71a, “user program for the master programmable controller 20” is set as the transfer file information 91, “master programmable controller 20” is set as the transfer programmable controller information 92, and transfer memory information “User program RAM” is set as 93. This means that a user file with the file name “user program for master programmable controller” is written in the user program RAM 25 of the master programmable controller 20.

このようにメモリカード30内に転送用パラメータ70と転送するユーザファイル71a〜71dを記憶することで、転送用パラメータ70に基づいてマスタプログラマブルコントローラ20は、ユーザファイル71a〜71dを宛て先のプログラマブルコントローラ20,40のメモリ(ユーザプログラムRAM25,45やユーザデータRAM26,46)に書込むことが可能になる。また、図3〜図5に示されるように、各プログラマブルコントローラ20,40に転送するユーザプログラムやユーザデータを、ファイル名で指定するようにしているので、背景技術で述べたように、ユーザファイルを書込む領域やその大きさを指定する必要がないので、任意の大きさのファイルを転送することができる。   By storing the transfer parameter 70 and the user files 71a to 71d to be transferred in the memory card 30 as described above, the master programmable controller 20 can send the user files 71a to 71d to the destination programmable controller based on the transfer parameter 70. It becomes possible to write to 20, 40 memories (user program RAMs 25, 45 and user data RAMs 26, 46). Also, as shown in FIGS. 3 to 5, the user program and user data to be transferred to each programmable controller 20, 40 are designated by a file name, so as described in the background art, the user file Since there is no need to specify the area for writing and the size of the file, it is possible to transfer a file of any size.

つぎに、このような制御システムにおける各プログラマブルコントローラのシステムプログラムの動作処理について、図7のフローチャートを参照しながら説明する。まず、制御システムが起動されると、各プログラマブルコントローラ20,40のMPU21,41はシステムプログラムROM22,42に格納されているシステムプログラムを実行し、自身がマスタプログラマブルコントローラ20かスレーブプログラマブルコントローラ40かを判別するマスタ/スレーブ判別情報を取得し(ステップS11)、自身がマスタプログラマブルコントローラ20かを判別する(ステップS12)。   Next, the operation processing of the system program of each programmable controller in such a control system will be described with reference to the flowchart of FIG. First, when the control system is activated, the MPUs 21 and 41 of the programmable controllers 20 and 40 execute the system programs stored in the system program ROMs 22 and 42 to determine whether they are the master programmable controller 20 or the slave programmable controller 40. The master / slave discrimination information to be discriminated is acquired (step S11), and it is discriminated whether it is the master programmable controller 20 (step S12).

判定の結果、マスタプログラマブルコントローラ20である場合(ステップS12でYesの場合)には、マスタプログラマブルコントローラ20は、メモリカード装着スロット31にメモリカード30が装着されているか否かをメモリカードインタフェース27を介して判定する(ステップS13)。判定の結果、メモリカード30が装着されている場合(ステップS13でYesの場合)には、メモリカード30内の転送用パラメータ70を読出す処理を行い(ステップS14)、転送用パラメータ70がメモリカード30内に存在するかを判定する(ステップS15)。   As a result of the determination, if it is the master programmable controller 20 (Yes in step S12), the master programmable controller 20 uses the memory card interface 27 to determine whether or not the memory card 30 is installed in the memory card installation slot 31. (Step S13). As a result of the determination, when the memory card 30 is mounted (Yes in step S13), a process of reading the transfer parameter 70 in the memory card 30 is performed (step S14), and the transfer parameter 70 is stored in the memory. It is determined whether it exists in the card 30 (step S15).

転送用パラメータ70が存在する場合(ステップS15でYesの場合)には、その中から転送情報数80を取得し(ステップS16)、ついで転送用パラメータ70中から1つの転送情報81を取得する(ステップS17)。なお、この転送用パラメータ70は、システムワークRAM23内に読出される。その後、転送情報81にしたがってユーザファイル(ユーザプログラムやユーザデータ)をメモリカード30からプログラマブルコントローラ20,40に転送する(ステップS18)。以上のようにして、転送用パラメータ70中の1つの転送情報81にしたがったユーザファイルの転送処理が終了すると、ステップS16で取得した転送情報数80分のユーザファイルの転送が完了したかを判定する(ステップS19)。転送情報数80分のユーザファイルの転送が完了していない場合(ステップS19でNoの場合)には、ステップS17へと戻り、転送情報数80分のユーザファイルの転送処理を実行する。   If the transfer parameter 70 exists (Yes in step S15), the number of transfer information 80 is acquired from the parameter (step S16), and then one transfer information 81 is acquired from the transfer parameter 70 ( Step S17). The transfer parameter 70 is read into the system work RAM 23. Thereafter, the user file (user program or user data) is transferred from the memory card 30 to the programmable controllers 20 and 40 according to the transfer information 81 (step S18). As described above, when the transfer process of the user file according to one transfer information 81 in the transfer parameter 70 is completed, it is determined whether or not the transfer of the user file for the transfer information number 80 acquired in step S16 is completed. (Step S19). If the transfer of the user file with the number of transfer information of 80 is not completed (No in Step S19), the process returns to Step S17, and the transfer process of the user file with the number of transfer information of 80 is executed.

ここで、たとえばメモリカード30にユーザファイルが記憶されている場合には、マスタプログラマブルコントローラ20のMPU21は、マスタプログラマブルコントローラ20用のユーザプログラム71a、そのユーザデータ71b、スレーブプログラマブルコントローラ40a用のユーザプログラム71c、そのユーザデータ71dとを順に転送する。なお、メモリカード30が装着されるマスタプログラマブルコントローラ20内のユーザプログラムRAM25とユーザデータRAM26に、それぞれユーザプログラムとユーザデータを書込む場合でも、この明細書では「転送」という言葉を使用する。   Here, for example, when a user file is stored in the memory card 30, the MPU 21 of the master programmable controller 20 uses the user program 71a for the master programmable controller 20, its user data 71b, and the user program for the slave programmable controller 40a. 71c and the user data 71d are sequentially transferred. Note that the term “transfer” is used in this specification even when the user program and user data are written in the user program RAM 25 and the user data RAM 26 in the master programmable controller 20 in which the memory card 30 is mounted, respectively.

上述したステップS18におけるユーザファイルの転送処理における図2に示されるブロック図での処理の流れの概略を説明する。マスタプログラマブルコントローラ20のMPU21は、自プログラマブルコントローラのユーザプログラムRAM25またはユーザデータRAM26にユーザプログラム71aまたはユーザデータ71bを書込む場合には、そのユーザファイルをメモリカード30から読込んで、転送用パラメータに含まれるその書込み場所にしたがってユーザプログラムRAM25またはユーザデータRAM26に書込む。   An outline of the flow of processing in the block diagram shown in FIG. 2 in the user file transfer processing in step S18 described above will be described. When the MPU 21 of the master programmable controller 20 writes the user program 71a or the user data 71b into the user program RAM 25 or the user data RAM 26 of the own programmable controller, the MPU 21 reads the user file from the memory card 30 and includes it in the transfer parameters. The user program RAM 25 or the user data RAM 26 is written according to the writing location.

また、マスタプログラマブルコントローラ20のMPU21は、スレーブプログラマブルコントローラ40aのユーザプログラムRAM45またはユーザデータRAM46にユーザプログラム71cまたはユーザデータ71dを書込む場合には、そのユーザファイルをデータバスインタフェース24に渡す。データバスインタフェース24では、受け取ったユーザファイルをデータバス11上で流すことができる大きさに分割し、宛て先を付したフレームにして、データバス11上に流す。   When the MPU 21 of the master programmable controller 20 writes the user program 71c or the user data 71d in the user program RAM 45 or the user data RAM 46 of the slave programmable controller 40a, the MPU 21 passes the user file to the data bus interface 24. In the data bus interface 24, the received user file is divided into sizes that can be flowed on the data bus 11, and is sent to the data bus 11 as a frame with a destination.

一方、フレームの宛て先であるスレーブプログラマブルコントローラ40aのデータバスインタフェース44は、データバス11上を流れるデータ(フレーム)を監視し、自プログラマブルコントローラ宛のフレームを受信する。そして、データバスインタフェース44は、受信したフレームの宛て先などを外してデータを取り出し、MPU41はそのデータを書込み先のユーザプログラムRAM45またはユーザデータRAM46に書込む処理を行う。   On the other hand, the data bus interface 44 of the slave programmable controller 40a that is the destination of the frame monitors the data (frame) flowing on the data bus 11, and receives the frame addressed to the own programmable controller. Then, the data bus interface 44 removes the destination of the received frame and extracts the data, and the MPU 41 performs a process of writing the data into the user program RAM 45 or the user data RAM 46 as the write destination.

再び図7に戻って、転送情報数80分のユーザファイルの転送が完了した場合(ステップS19でYesの場合)、またはステップS13でメモリカード30がメモリカード装着スロット31に装着されない場合(ステップS13でNoの場合)、またはステップS15で転送用パラメータ70がない場合(ステップS15でNoの場合)には、マスタプログラマブルコントローラ20は、スレーブプログラマブルコントローラ40aに転送完了を通知する(ステップS20)。その後、MPU21は、ユーザプログラムRAM25に格納されているユーザプログラムを実行する(ステップS24)。   Returning to FIG. 7 again, when the transfer of the user file with the number of transfer information of 80 minutes is completed (Yes in Step S19), or when the memory card 30 is not mounted in the memory card mounting slot 31 in Step S13 (Step S13). In the case of No), or when there is no transfer parameter 70 in Step S15 (No in Step S15), the master programmable controller 20 notifies the slave programmable controller 40a of the transfer completion (Step S20). Thereafter, the MPU 21 executes the user program stored in the user program RAM 25 (step S24).

一方、ステップS12で、自プログラマブルコントローラがマスタプログラマブルコントローラ20ではない場合(ステップS12でNoの場合)には、スレーブプログラマブルコントローラ40aは、マスタプログラマブルコントローラ20から転送されるユーザファイルを受信し(ステップS21)、受信したユーザファイルをユーザプログラムRAM45またはユーザデータRAM46に書込む処理を行う(ステップS22)。その後、マスタプログラマブルコントローラ20からユーザファイルの転送完了の通知を受信したか否かを判定し(ステップS23)、受信していない場合(ステップS23でNoの場合)には待ち状態となる。その後、ユーザファイルの転送完了の通知を受信した場合(ステップS23でYesの場合)には、スレーブプログラマブルコントローラ40aはユーザプログラムRAM45に格納されているユーザプログラムを実行する(ステップS24)。   On the other hand, when the own programmable controller is not the master programmable controller 20 in Step S12 (No in Step S12), the slave programmable controller 40a receives the user file transferred from the master programmable controller 20 (Step S21). ) The received user file is written into the user program RAM 45 or the user data RAM 46 (step S22). Thereafter, it is determined whether or not a notification of completion of transfer of the user file is received from the master programmable controller 20 (step S23). If not received (No in step S23), a standby state is entered. Thereafter, when a notification of completion of transfer of the user file is received (Yes in step S23), the slave programmable controller 40a executes the user program stored in the user program RAM 45 (step S24).

この実施の形態1によれば、メモリカード30を装着すれば、マスタプログラマブルコントローラ20のMPU21がシステムプログラムにしたがって、メモリカード30に記憶されているユーザファイルを所定のプログラマブルコントローラ20またはプログラマブルコントローラ40に転送して、そのユーザプログラムRAM25またはユーザプログラムRAM45やユーザデータRAM26またはユーザデータRAM46などのメモリ上に書込むことができるので、専用のプログラミングツールを使用することなく容易に制御システム上のプログラマブルコントローラ20,40にユーザファイルを書込むことができるという効果を有する。たとえば、制御システムの使用者によるユーザファイルの書込みの操作もメモリカード30をマスタプログラマブルコントローラ20のメモリカード装着スロット31に装着するだけでよい。また、メモリカード30をメインプログラマブルコントローラ20のメモリカード装着スロット31に装着するだけで、自発的にプログラマブルコントローラ20,40のユーザプログラムの書換えを実行することが可能となり、ユーザプログラムの書換えに外部装置を必要とすることがなくなるという効果も有する。   According to the first embodiment, when the memory card 30 is mounted, the MPU 21 of the master programmable controller 20 transfers the user file stored in the memory card 30 to the predetermined programmable controller 20 or the programmable controller 40 according to the system program. Since the data can be transferred and written in a memory such as the user program RAM 25, the user program RAM 45, the user data RAM 26, or the user data RAM 46, the programmable controller 20 on the control system can be easily used without using a dedicated programming tool. , 40 can write user files. For example, the user file write operation by the user of the control system only needs to mount the memory card 30 in the memory card mounting slot 31 of the master programmable controller 20. In addition, the user program of the programmable controllers 20 and 40 can be rewritten spontaneously only by installing the memory card 30 in the memory card installation slot 31 of the main programmable controller 20, and an external device can be used for rewriting the user program. This also has the effect of eliminating the need for.

さらに、データバス11を介して他のスレーブプログラマブルコントローラ40にユーザファイルを転送するので、すべてのプログラマブルコントローラ20,40にメモリカード装着スロット31とメモリカードインタフェース27を設ける必要がなく、1つのプログラマブルコントローラ(マスタプログラマブルコントローラ20)にメモリカード装着スロット31とメモリカードインタフェース27を設ければよいので、より安価なプログラマブルコントローラ20,40または制御システムを得ることができるという効果も有する。また、各プログラマブルコントローラに書込むユーザファイルは、メモリカード30中ではアドレスや領域で特定されるのではなく、ファイル名で特定するようにしたので、任意の大きさのファイルをメモリカード30中に記憶させることができるとともに、メモリカード30の記憶領域を有効に利用することができるという効果も有する。   Further, since the user file is transferred to another slave programmable controller 40 via the data bus 11, it is not necessary to provide the memory card mounting slot 31 and the memory card interface 27 in all the programmable controllers 20, 40, and one programmable controller Since it is only necessary to provide the memory card mounting slot 31 and the memory card interface 27 in the (master programmable controller 20), it is possible to obtain a cheaper programmable controller 20, 40 or control system. In addition, the user file to be written to each programmable controller is not specified by address or area in the memory card 30, but is specified by a file name, so a file of any size can be stored in the memory card 30. In addition to being able to be stored, the storage area of the memory card 30 can be used effectively.

実施の形態2.
実施の形態1では、メモリカードに記憶されたユーザファイルをプログラマブルコントローラに書込む場合を示したが、この実施の形態2では、各プログラマブルコントローラのユーザプログラムRAMやユーザデータRAM内のデータを吸い上げることもできるようにした制御システムについて説明する。
Embodiment 2. FIG.
In the first embodiment, the case where the user file stored in the memory card is written to the programmable controller has been shown. In the second embodiment, the data in the user program RAM and the user data RAM of each programmable controller is sucked up. A control system that can also be described.

図8は、メモリカード中の転送情報のデータ構造の一例を示す図である。この転送情報81は、実施の形態1の転送情報において、ユーザファイルのメモリカード30に対する転送方向を示す転送方向情報94をさらに含むことを特徴とする。この転送方向情報94には、たとえばメモリカード30からユーザプログラムRAM25,45もしくはユーザデータRAM26,46への書込みであるのか、またはユーザプログラムRAM25,45もしくはユーザデータRAM26,46からメモリカードへの読込みであるのかを示す情報が書込まれる。なお、その他の情報は、実施の形態1の場合と同様であるので、その説明を省略する。また、制御システムとメモリカード30の構成も実施の形態1の図1〜図4と同様であるので、以下の説明ではこれらの図を流用し、その詳細な説明を省略する。   FIG. 8 is a diagram illustrating an example of a data structure of transfer information in the memory card. The transfer information 81 further includes transfer direction information 94 indicating the transfer direction of the user file with respect to the memory card 30 in the transfer information of the first embodiment. This transfer direction information 94 is, for example, writing from the memory card 30 to the user program RAM 25, 45 or the user data RAM 26, 46, or reading from the user program RAM 25, 45 or the user data RAM 26, 46 to the memory card. Information indicating whether or not there is written. The other information is the same as that in the first embodiment, and a description thereof is omitted. Also, the configuration of the control system and the memory card 30 is the same as that of FIG. 1 to FIG. 4 of the first embodiment.

つぎに、このような制御システムにおける各プログラマブルコントローラのシステムプログラムの動作処理について、図9のフローチャートを参照しながら説明する。まず、実施の形態1の図7で説明したステップS11〜S17と同じ処理を行って、マスタプログラマブルコントローラ20のMPU21は、装着されたメモリカード30の転送用パラメータ70から転送情報数80と転送情報81を取得する(ステップS51〜S57)。すなわち、システムプログラムを実行したプログラマブルコントローラは、自身がマスタであり、メモリカード装着スロット31にメモリカード30が装着されている場合に、メモリカード30から転送用パラメータ70を読出し、転送情報数80と転送情報81を取得する。   Next, the operation processing of the system program of each programmable controller in such a control system will be described with reference to the flowchart of FIG. First, the same processing as in steps S11 to S17 described in FIG. 7 of the first embodiment is performed, and the MPU 21 of the master programmable controller 20 determines the transfer information number 80 and the transfer information from the transfer parameters 70 of the attached memory card 30. 81 is acquired (steps S51 to S57). That is, when the programmable controller that executed the system program is the master and the memory card 30 is installed in the memory card installation slot 31, the transfer parameter 70 is read from the memory card 30 and the transfer information number 80 is obtained. Transfer information 81 is acquired.

ついで、マスタプログラマブルコントローラ20のMPU21は、メモリカード30の転送用パラメータ70から転送方向情報94を取得し(ステップS58)、ユーザファイルのメモリカード30への転送か否かを判定する(ステップS59)。転送方向情報94が書込み(ユーザファイルのメモリカード30からプログラマブルコントローラ20,40への転送)である場合(ステップS59でNoの場合)には、実施の形態1で説明したように、転送情報81にしたがってユーザファイルをメモリカード30からプログラマブルコントローラ20,40に転送する(ステップS60)。一方、転送方向情報94が読出し(ユーザファイルのプログラマブルコントローラ20,40からメモリカード30への転送)である場合(ステップS59でYesの場合)には、転送情報81にしたがってプログラマブルコントローラ20,40のユーザプログラムRAM25,45またはユーザデータRAM26,46からユーザファイルを読出してメモリカード30に転送する(ステップS61)。以上のようにして、転送用パラメータ70中の1つの転送情報81にしたがったユーザファイルの転送処理が終了すると、ステップS56で取得した転送情報数80分のユーザファイルの転送が完了したかを判定する(ステップS62)。転送情報数80分のユーザファイルの転送が完了していない場合(ステップS62でNoの場合)には、ステップS57へと戻り、転送情報数80分のユーザファイルの転送処理を実行する。   Next, the MPU 21 of the master programmable controller 20 acquires the transfer direction information 94 from the transfer parameter 70 of the memory card 30 (step S58), and determines whether or not the user file is transferred to the memory card 30 (step S59). . When the transfer direction information 94 is written (transfer of the user file from the memory card 30 to the programmable controllers 20 and 40) (No in step S59), as described in the first embodiment, the transfer information 81 Then, the user file is transferred from the memory card 30 to the programmable controllers 20 and 40 (step S60). On the other hand, when the transfer direction information 94 is read (transfer of the user file from the programmable controllers 20, 40 to the memory card 30) (Yes in step S 59), the programmable controller 20, 40 is in accordance with the transfer information 81. A user file is read from the user program RAM 25, 45 or the user data RAM 26, 46 and transferred to the memory card 30 (step S61). As described above, when the transfer process of the user file according to one transfer information 81 in the transfer parameter 70 is completed, it is determined whether or not the transfer of the user file for the transfer information number 80 acquired in step S56 is completed. (Step S62). If the transfer of the user file with the number of transfer information of 80 is not completed (No in step S62), the process returns to step S57, and the transfer process of the user file with the number of transfer information of 80 is executed.

また、転送情報数80分のユーザファイルの転送が完了した場合(ステップS62でYesの場合)、またはステップS53でメモリカード30がメモリカード装着スロット31に装着されない場合(ステップS53でNoの場合)、またはステップS55で転送用パラメータ70がない場合(ステップS55でNoの場合)には、マスタプログラマブルコントローラ20は、スレーブプログラマブルコントローラ40に転送完了を通知する(ステップS63)。その後、MPU21はユーザプログラムRAM25に格納されているユーザプログラムを実行する(ステップS66)。   Further, when the transfer of the user file with the number of transfer information of 80 minutes is completed (Yes in Step S62), or when the memory card 30 is not inserted into the memory card insertion slot 31 in Step S53 (No in Step S53). Alternatively, if there is no transfer parameter 70 in step S55 (No in step S55), the master programmable controller 20 notifies the slave programmable controller 40 of the transfer completion (step S63). Thereafter, the MPU 21 executes the user program stored in the user program RAM 25 (step S66).

一方、ステップS52で、自プログラマブルコントローラがマスタプログラマブルコントローラ20ではない場合(ステップS52でNoの場合)には、スレーブプログラマブルコントローラ40は、マスタプログラマブルコントローラ20に装着されたメモリカード30内のユーザファイルの自プログラマブルコントローラのユーザプログラムRAM45またはユーザデータRAM46への書込み、または自プログラマブルコントローラのユーザプログラムRAM45またはユーザデータRAM46内からユーザファイルを読出してマスタプログラマブルコントローラ20に装着されたメモリカード30への書込む処理を行う(ステップS64)。その後、マスタプログラマブルコントローラ20からユーザファイルの転送完了通知を受信したか否かを判定し(ステップS65)、受信しない場合(ステップS65でNoの場合)には待ち状態となる。その後、ユーザファイルの転送完了通知を受信した場合(ステップS65でYesの場合)には、スレーブプログラマブルコントローラ40はユーザプログラムRAM45に格納されているユーザプログラムを実行する(ステップS66)。   On the other hand, when the self-programmable controller is not the master programmable controller 20 in Step S52 (No in Step S52), the slave programmable controller 40 stores the user file in the memory card 30 attached to the master programmable controller 20. Writing to the user program RAM 45 or the user data RAM 46 of the own programmable controller or reading the user file from the user program RAM 45 or the user data RAM 46 of the own programmable controller and writing it to the memory card 30 attached to the master programmable controller 20 Is performed (step S64). Thereafter, it is determined whether or not a user file transfer completion notification has been received from the master programmable controller 20 (step S65), and if not received (No in step S65), a standby state is entered. Thereafter, when a user file transfer completion notification is received (Yes in step S65), the slave programmable controller 40 executes the user program stored in the user program RAM 45 (step S66).

なお、この実施の形態2では、メモリカード30から各プログラマブルコントローラ20,40へのユーザファイルの書込みと、各プログラマブルコントローラ20,40からメモリカード30へのユーザファイルの書込みの両方の機能を制御システムについて説明したが、各プログラマブルコントローラ20,40からメモリカード30へのユーザファイルの書込みの機能のみを備えるように構成した制御システムを構築してもよい。   In the second embodiment, both the functions of writing the user file from the memory card 30 to the programmable controllers 20 and 40 and writing the user file from the programmable controllers 20 and 40 to the memory card 30 are controlled by the control system. However, a control system configured to have only a function of writing a user file from the programmable controllers 20 and 40 to the memory card 30 may be constructed.

この実施の形態2によれば、実施の形態1の効果に加えて、制御システムを構成する各プログラマブルコントローラ20,40の有するユーザファイルを、プログラミングツールを制御システムに接続することなく、容易にマスタプログラマブルコントローラ20に装着されたメモリカード30へと読出すこともできるという効果を有する。   According to the second embodiment, in addition to the effects of the first embodiment, the user files of the programmable controllers 20 and 40 constituting the control system can be easily mastered without connecting a programming tool to the control system. There is an effect that the data can also be read out to the memory card 30 attached to the programmable controller 20.

実施の形態3.
この実施の形態3では、実施の形態1,2で、メモリカードやプログラマブルコントローラ内のデータを不正に読出したり、書換えたりしないようにパスワードを設定して保護する場合について説明する。
Embodiment 3 FIG.
In the third embodiment, a case where a password is set and protected so that data in the memory card or the programmable controller is not illegally read or rewritten in the first and second embodiments will be described.

図10は、制御システムの実施の形態3の構成を模式的に示すブロック図である。この制御システムは、実施の形態1の図2のマスタプログラマブルコントローラ20において、メモリカード30が装着された場合に、メモリカード30を用いた処理の実行の許可を判定するために予め設定されたパスワードを保存するシステムワークROM29をさらに備えることを特徴とする。また、システムプログラムROM22には、メモリカード30が装着された場合に、メモリカード30に格納されているパスワード情報と、システムワークROM29に格納されているパスワード情報とを比較して、両者のパスワードの有無や一致状況に応じて、実行できる処理を規定したプログラムが格納されている。なお、実施の形態1の図2と同一の構成には同一の符号を付して、その説明を省略している。また、このシステムワークROM29は、請求の範囲におけるパスワード情報記憶手段に対応し、システムワークROM29に格納されるパスワード情報は、同じく第2のパスワード情報に対応し、メモリカード30に格納されるパスワード情報は、同じく第1のパスワード情報に対応している。   FIG. 10 is a block diagram schematically showing the configuration of the third embodiment of the control system. In the master programmable controller 20 of FIG. 2 according to the first embodiment, this control system uses a password set in advance to determine whether or not to execute processing using the memory card 30 when the memory card 30 is inserted. The system work ROM 29 is further provided. Further, when the memory card 30 is inserted in the system program ROM 22, the password information stored in the memory card 30 is compared with the password information stored in the system work ROM 29, and the passwords of both are compared. Stores a program that defines the processing that can be executed according to the presence or absence and the matching status. In addition, the same code | symbol is attached | subjected to the structure same as FIG. 2 of Embodiment 1, and the description is abbreviate | omitted. The system work ROM 29 corresponds to the password information storage means in the claims, and the password information stored in the system work ROM 29 also corresponds to the second password information, and the password information stored in the memory card 30. Corresponds to the first password information.

図11は、このシステムワークROMに格納されるパスワード情報の一例を模式的に示す図である。この図に示されるように、システムワークROM29には、外部から特定の権限を有するユーザのみがアクセス可能なパスワード情報101が格納されている。このパスワード情報101は、たとえば、マスタプログラマブルコントローラ20ごとに作成されたもの(たとえば、マスタプログラマブルコントローラ20を識別する情報)でもよいし、マスタプログラマブルコントローラ20の使用者または管理者を識別する情報でもよい。   FIG. 11 is a diagram schematically showing an example of password information stored in the system work ROM. As shown in this figure, the system work ROM 29 stores password information 101 that can be accessed only by a user having a specific authority from the outside. The password information 101 may be, for example, information created for each master programmable controller 20 (for example, information for identifying the master programmable controller 20), or information for identifying a user or an administrator of the master programmable controller 20. .

図12は、メモリカードのデータ構造を模式的に示す図である。この図12に示されるように、メモリカード30のデータ構造は、実施の形態1の図3において、パスワード情報101を有するマスタプログラマブルコントローラ20を使用可能か否かを判定するためのパスワード情報72がさらに付加されたデータ構造を有する。なお、実施の形態1の図3と同一の構成要素には同一の符号を付して、その説明を省略している。   FIG. 12 is a diagram schematically showing the data structure of the memory card. As shown in FIG. 12, the data structure of memory card 30 includes password information 72 for determining whether or not master programmable controller 20 having password information 101 can be used in FIG. 3 of the first embodiment. Furthermore, it has an added data structure. In addition, the same code | symbol is attached | subjected to the component same as FIG. 3 of Embodiment 1, and the description is abbreviate | omitted.

ここで、マスタプログラマブルコントローラ20またはメモリカード30のうち、いずれかにのみパスワード情報101,72が設定されている場合には、パスワード情報101,72が設定されている方のデータの読出処理や書換処理を行うことができない。また、両者にパスワード情報101,72が設定されているが、両者が一致しない場合には、そこで処理が終了する。さらに、マスタプログラマブルコントローラ20とメモリカード30の両方にパスワード情報101,72が設定されており、両者が一致する場合、または両者にパスワード情報101,72が設定されていない場合には、何の制限も受けずに実施の形態1,2で説明した処理を行うことができる。   Here, when the password information 101, 72 is set only in either the master programmable controller 20 or the memory card 30, the data reading process or rewriting of the password information 101, 72 is set. Processing cannot be performed. Also, password information 101, 72 is set for both, but if the two do not match, the processing ends there. Furthermore, if the password information 101, 72 is set in both the master programmable controller 20 and the memory card 30 and they match, or if the password information 101, 72 is not set in both, no restrictions are imposed. The processing described in the first and second embodiments can be performed without receiving the message.

ここで、このような構成を有する制御システムにおけるパスワード照合処理について、説明する。以下では、(1)メモリカードからプログラマブルコントローラへユーザファイルを転送する場合、(2)プログラマブルコントローラからメモリカードへユーザファイルを転送する場合、に分けて説明する。   Here, the password verification process in the control system having such a configuration will be described. The following description will be divided into (1) when transferring a user file from a memory card to a programmable controller, and (2) when transferring a user file from a programmable controller to a memory card.

(1)メモリカードからプログラマブルコントローラへユーザファイルを転送する場合
図13は、メモリカードからプログラマブルコントローラへユーザファイルを転送する場合のパスワード照合処理の手順を示すフローチャートである。なお、このパスワード照合処理は、実施の形態1の図7のシステムプログラムの処理におけるステップS13とステップS14との間、または実施の形態2の図9のシステムプログラムの処理におけるステップS53とステップS54との間に実行されるものである。
(1) When Transferring User File from Memory Card to Programmable Controller FIG. 13 is a flowchart showing the procedure of password verification processing when a user file is transferred from the memory card to the programmable controller. This password verification process is performed between step S13 and step S14 in the system program process of FIG. 7 of the first embodiment, or between step S53 and step S54 in the system program process of FIG. 9 of the second embodiment. It is executed during

まず、実施の形態1の図7のステップS13または実施の形態2の図7のステップS53でマスタプログラマブルコントローラ20のメモリカード装着スロット31にメモリカード30が装着されている場合に、マスタプログラマブルコントローラ20のMPU21は、自プログラマブルコントローラ内のシステムワークROM29にパスワード情報101が登録されているかを調べる(ステップS101)。システムワークROM29にパスワード情報101が登録されている場合(ステップS101でYesの場合)には、装着されたメモリカード30内のパスワード情報を読出す処理を行い(ステップS102)、パスワード情報72があるかを確認する(ステップS103)。パスワード情報72がある場合(ステップS103でYesの場合)には、マスタプログラマブルコントローラ20のシステムワークROM29内のパスワード情報101と、読出したメモリカード30内のパスワード情報72とを照合する(ステップS104)。照合の結果、両者が一致する場合(ステップS105でYesの場合)には、実施の形態1の図7のステップS14または実施の形態2の図7のステップS54のメモリカード30内の転送用パラメータ70の読出し処理以降のシステムプログラムの処理を続行し(ステップS106)、パスワード照合処理が終了する。   First, when the memory card 30 is mounted in the memory card mounting slot 31 of the master programmable controller 20 in step S13 of FIG. 7 of the first embodiment or step S53 of FIG. 7 of the second embodiment, the master programmable controller 20 The MPU 21 checks whether the password information 101 is registered in the system work ROM 29 in its own programmable controller (step S101). When the password information 101 is registered in the system work ROM 29 (Yes in step S101), the password information in the attached memory card 30 is read (step S102), and the password information 72 is present. (Step S103). If there is password information 72 (Yes in step S103), the password information 101 in the system work ROM 29 of the master programmable controller 20 is compared with the read password information 72 in the memory card 30 (step S104). . If the two match as a result of the collation (Yes in step S105), the transfer parameter in the memory card 30 in step S14 of FIG. 7 of the first embodiment or step S54 of FIG. 7 of the second embodiment. The processing of the system program after the reading processing of 70 is continued (step S106), and the password verification processing ends.

また、ステップS105で2つのパスワード情報が一致しない場合(ステップS105でNoの場合)には、マスタプログラマブルコントローラ20内のパスワード情報101とメモリカード30内のパスワード情報72とが一致しないとして、それぞれの場合についてパスワード照合不一致異常を検出し(ステップS107)、システムプログラムの処理を終了させ(ステップS108)、実施の形態1の図7または実施の形態2の図9の処理が終了する。   If the two password information does not match in step S105 (No in step S105), the password information 101 in the master programmable controller 20 and the password information 72 in the memory card 30 do not match, In this case, a password verification mismatch error is detected (step S107), the processing of the system program is terminated (step S108), and the processing of FIG. 7 of the first embodiment or FIG. 9 of the second embodiment is terminated.

さらに、ステップS103でメモリカード30内にパスワード情報72が存在しない場合(ステップS103でNoの場合)には、マスタプログラマブルコントローラ20内にのみパスワード情報101が存在することになるので、プログラマブルコントローラ20,40内のデータ書換え禁止の条件下で、実施の形態1の図7のステップS14または実施の形態2の図7のステップS54のメモリカード30内の転送用パラメータ70の読出し処理以降のシステムプログラムの処理を続行し(ステップS109)、パスワード照合処理が終了する。   Furthermore, when the password information 72 does not exist in the memory card 30 in step S103 (in the case of No in step S103), the password information 101 exists only in the master programmable controller 20, so that the programmable controller 20, 40 under the condition of prohibiting data rewriting in 40, the system program after reading processing of the transfer parameter 70 in the memory card 30 in step S14 of FIG. 7 of the first embodiment or step S54 of FIG. 7 of the second embodiment. The process continues (step S109), and the password verification process ends.

また、ステップS101でマスタプログラマブルコントローラ20のシステムワークROM29内にパスワード情報101が登録されていない場合(ステップS101でNoの場合)には、MPU21は、装着されたメモリカード30内のパスワード情報72を読出す処理を行い(ステップS110)、パスワード情報72があるかを確認する(ステップS111)。パスワード情報72がない場合(ステップS111でNoの場合)には、マスタプログラマブルコントローラ20内とメモリカード30内の双方にパスワードが設定されていないことになるので、両者が照合するとして、ステップS106へと処理が移り、上述したようにシステムプログラムの処理を続行する。   If the password information 101 is not registered in the system work ROM 29 of the master programmable controller 20 in step S101 (No in step S101), the MPU 21 stores the password information 72 in the attached memory card 30. A reading process is performed (step S110), and it is confirmed whether there is password information 72 (step S111). If there is no password information 72 (No in step S111), no password is set in both the master programmable controller 20 and the memory card 30, so that both collate and go to step S106. The process moves to continue the processing of the system program as described above.

また、ステップS111で装着されたメモリカード30内にパスワード情報72がある場合(ステップS111でYesの場合)には、マスタプログラマブルコントローラ20内にはパスワード情報101が存在せず、メモリカード30内にはパスワード情報72が存在することになり、メモリカード30内のデータ読出し禁止の条件下で、実施の形態1の図7のステップS14または実施の形態2の図7のステップS54のメモリカード30内の転送用パラメータ70の読出し処理以降のシステムプログラムの処理を続行し(ステップS112)、パスワード照合処理が終了する。   If the password information 72 is present in the memory card 30 mounted in step S111 (Yes in step S111), the password information 101 does not exist in the master programmable controller 20, and the memory card 30 has no password information 101. In the memory card 30 in the step S14 of FIG. 7 of the first embodiment or the step S54 of FIG. 7 of the second embodiment under the condition that the password information 72 exists and the data reading in the memory card 30 is prohibited. The processing of the system program after the reading process of the transfer parameter 70 is continued (step S112), and the password verification process ends.

(2)プログラマブルコントローラからメモリカードへユーザファイルを転送する場合
図14は、プログラマブルコントローラからメモリカードへユーザファイルを転送する場合のパスワード照合処理の手順を示すフローチャートである。なお、このパスワード照合処理は、実施の形態1の図7のシステムプログラムの処理におけるステップS13とステップS14との間、または実施の形態2の図9のシステムプログラムの処理におけるステップS53とステップS54との間に実行されるものである。
(2) When Transferring User File from Programmable Controller to Memory Card FIG. 14 is a flowchart showing a procedure of password verification processing when a user file is transferred from the programmable controller to the memory card. This password verification process is performed between step S13 and step S14 in the system program process of FIG. 7 of the first embodiment, or between step S53 and step S54 in the system program process of FIG. 9 of the second embodiment. It is executed during

まず、実施の形態1の図7のステップS13または実施の形態2の図7のステップS53でマスタプログラマブルコントローラ20のメモリカード装着スロット31にメモリカード30が装着されている場合に、マスタプログラマブルコントローラ20のMPU21は、自プログラマブルコントローラ内のシステムワークROM29にパスワード情報101が登録されているかを調べる(ステップS151)。システムワークROM29にパスワード情報101が登録されている場合(ステップS151でYesの場合)には、装着されたメモリカード30内のパスワード情報を読出す処理を行い(ステップS152)、パスワード情報72があるかを確認する(ステップS153)。パスワード情報72がある場合(ステップS153でYesの場合)には、マスタプログラマブルコントローラ20のシステムワークROM29内のパスワード情報101と、読出したメモリカード30内のパスワード情報72とを照合する(ステップS154)。照合の結果、両者が一致する場合(ステップS155でYesの場合)には、実施の形態1の図7のステップS14または実施の形態2の図7のステップS54のメモリカード30内の転送用パラメータ70の読出し処理以降のシステムプログラムの処理を続行し(ステップS156)、パスワード照合処理が終了する。   First, when the memory card 30 is mounted in the memory card mounting slot 31 of the master programmable controller 20 in step S13 of FIG. 7 of the first embodiment or step S53 of FIG. 7 of the second embodiment, the master programmable controller 20 The MPU 21 checks whether the password information 101 is registered in the system work ROM 29 in its own programmable controller (step S151). When the password information 101 is registered in the system work ROM 29 (Yes in step S151), the password information in the attached memory card 30 is read (step S152), and the password information 72 is present. (Step S153). If there is password information 72 (Yes in step S153), the password information 101 in the system work ROM 29 of the master programmable controller 20 is compared with the read password information 72 in the memory card 30 (step S154). . If the two match as a result of the collation (Yes in step S155), the transfer parameter in the memory card 30 in step S14 of FIG. 7 of the first embodiment or step S54 of FIG. 7 of the second embodiment. The processing of the system program after the reading processing of 70 is continued (step S156), and the password verification processing ends.

また、ステップS155で2つのパスワード情報が一致しない場合(ステップS155でNoの場合)には、マスタプログラマブルコントローラ20内のパスワード情報101とメモリカード30内のパスワード情報72とが一致しないとして、それぞれの場合についてパスワード照合不一致異常を検出し(ステップS157)、システムプログラムの処理を終了させ(ステップS158)、実施の形態1の図7または実施の形態2の図9の処理が終了する。   If the two password information does not match in step S155 (No in step S155), the password information 101 in the master programmable controller 20 and the password information 72 in the memory card 30 do not match, In this case, a password verification mismatch error is detected (step S157), the processing of the system program is ended (step S158), and the processing of FIG. 7 of the first embodiment or FIG. 9 of the second embodiment is ended.

さらに、ステップS153でメモリカード30内にパスワード情報72が存在しない場合(ステップS153でNoの場合)には、マスタプログラマブルコントローラ20内にのみパスワード情報101が存在することになるので、プログラマブルコントローラ20,40内のデータ読出し禁止の条件下で、実施の形態1の図7のステップS14または実施の形態2の図7のステップS54のメモリカード30内の転送用パラメータ70の読出し処理以降のシステムプログラムの処理を続行し(ステップS159)、パスワード照合処理が終了する。   Further, when the password information 72 does not exist in the memory card 30 in step S153 (in the case of No in step S153), the password information 101 exists only in the master programmable controller 20, so that the programmable controller 20, Under the condition of prohibiting data reading in 40, the system program after the reading process of the transfer parameter 70 in the memory card 30 in step S14 of FIG. 7 of the first embodiment or step S54 of FIG. 7 of the second embodiment is executed. The process continues (step S159), and the password verification process ends.

また、ステップS151でマスタプログラマブルコントローラ20のシステムワークROM29内にパスワード情報101が登録されていない場合(ステップS151でNoの場合)には、MPU21は、装着されたメモリカード30内のパスワード情報72を読出す処理を行い(ステップS160)、パスワード情報72があるかを確認する(ステップS161)。パスワード情報72がない場合(ステップS161でNoの場合)には、マスタプログラマブルコントローラ20内とメモリカード30内の双方にパスワードが設定されていないことになるので、両者が照合するとして、ステップS156へと処理が移り、上述したようにシステムプログラムの処理を続行する。   If the password information 101 is not registered in the system work ROM 29 of the master programmable controller 20 in step S151 (No in step S151), the MPU 21 stores the password information 72 in the attached memory card 30. A reading process is performed (step S160), and it is confirmed whether there is password information 72 (step S161). If there is no password information 72 (No in step S161), no password is set in both the master programmable controller 20 and the memory card 30, so that both collate and go to step S156. The process moves to continue the processing of the system program as described above.

また、ステップS161で装着されたメモリカード30内にパスワード情報72がある場合(ステップS161でYesの場合)には、マスタプログラマブルコントローラ20内にはパスワード情報101が存在せず、メモリカード30内にはパスワード情報72が存在することになり、メモリカード30内のデータ書換え禁止の条件下で、実施の形態1の図7のステップS14または実施の形態2の図7のステップS54のメモリカード30内の転送用パラメータ70の読出し処理以降のシステムプログラムの処理を続行し(ステップS162)、パスワード照合処理が終了する。   If the password information 72 is present in the memory card 30 mounted in step S161 (Yes in step S161), the password information 101 does not exist in the master programmable controller 20, and the memory card 30 In the memory card 30 in the step S14 of FIG. 7 of the first embodiment or the step S54 of FIG. 7 of the second embodiment, the password information 72 exists and the data rewrite prohibition in the memory card 30 is prohibited. The processing of the system program after the reading processing of the transfer parameter 70 is continued (step S162), and the password verification processing ends.

この実施の形態3によれば、メモリカード30を用いてプログラマブルコントローラ20,40のユーザプログラムRAM25,45やユーザデータRAM26,46にアクセスする際に、メモリカード30とマスタプログラマブルコントローラ20にパスワード情報を設定して、両者が一致する場合にのみアクセス可能としたので、プログラマブルコントローラ20,40内のユーザファイルの不正な書込みや読出しを防止し、安全な制御システムを構築することができるという効果を有する。   According to the third embodiment, when the memory card 30 is used to access the user program RAMs 25 and 45 of the programmable controllers 20 and 40 and the user data RAMs 26 and 46, password information is sent to the memory card 30 and the master programmable controller 20. Since it is set and accessible only when both match, it has the effect of preventing unauthorized writing and reading of user files in the programmable controllers 20 and 40 and building a safe control system. .

また、上述した説明では、制御装置としてプログラマブルコントローラを例に挙げて説明してきたが、プログラマブルコントローラのほかに、NCやMC、RC、操作端末である表示器などのベースユニット10上に装着される産業用コントローラであれば、この発明を適用することができる。   In the above description, the programmable controller has been described as an example of the control device. However, in addition to the programmable controller, the control unit is mounted on the base unit 10 such as an NC, MC, RC, or an operation terminal. The present invention can be applied to any industrial controller.

なお、上述した実施の形態1〜3では、マスタプログラマブルコントローラ20にメモリカード装着スロット31を備え、メモリカード30を用いてメモリカード30からデータファイルの書込みまたはメモリカード30へのデータファイルの読出しを行っているが、持ち運び可能な記憶媒体であれば、メモリカード30に限定されるものではない。たとえば、メモリカード30の代わりにRFID(Radio Frequency Identification)タグを用いてもよい。この場合には、メモリカードインタフェース27がRFIDインタフェースに代わり、RFIDタグとの間で所定の無線通信方式で通信を行って、データの読込み/書込みを行う。また、USB(Universal Serial Bus)メモリなどを用いてもよい。   In the first to third embodiments described above, the master programmable controller 20 is provided with the memory card insertion slot 31, and the memory card 30 is used to write data files to or read data files from the memory card 30. However, the storage card is not limited to the memory card 30 as long as it is a portable storage medium. For example, an RFID (Radio Frequency Identification) tag may be used instead of the memory card 30. In this case, instead of the RFID interface, the memory card interface 27 communicates with the RFID tag by a predetermined wireless communication method to read / write data. Further, a USB (Universal Serial Bus) memory or the like may be used.

以上のように、本発明にかかる制御システムは、それぞれ独立したユーザプログラムを実行する制御装置がバスを介して複数接続された制御システムでのユーザプログラムとユーザデータの読出/書込処理に有用である。   As described above, the control system according to the present invention is useful for read / write processing of user programs and user data in a control system in which a plurality of control devices that execute independent user programs are connected via a bus. is there.

図1は、この発明による制御システムの概観を模式的に示す図である。FIG. 1 is a diagram schematically showing an overview of a control system according to the present invention. 図2は、この発明による制御システムの実施の形態1の構成を模式的に示すブロック図である。FIG. 2 is a block diagram schematically showing a configuration of the first embodiment of the control system according to the present invention. 図3は、メモリカードのデータ構造を模式的に示す図である。FIG. 3 is a diagram schematically showing the data structure of the memory card. 図4は、メモリカードのデータ構造を模式的に示す図である。FIG. 4 is a diagram schematically showing the data structure of the memory card. 図5は、メモリカードのデータ構造を模式的に示す図である。FIG. 5 is a diagram schematically showing the data structure of the memory card. 図6は、転送用パラメータの一例を示す図である。FIG. 6 is a diagram illustrating an example of transfer parameters. 図7は、プログラマブルコントローラのシステムプログラムの動作処理の手順の一例を示すフローチャートである。FIG. 7 is a flowchart illustrating an example of a procedure of operation processing of the system program of the programmable controller. 図8は、転送情報のデータ構造の一例を示す図である。FIG. 8 is a diagram illustrating an example of a data structure of transfer information. 図9は、プログラマブルコントローラのシステムプログラムの動作処理の手順の一例を示すフローチャートである。FIG. 9 is a flowchart illustrating an example of a procedure of operation processing of the system program of the programmable controller. 図10は、この発明による制御システムの実施の形態3の構成を模式的に示すブロック図である。FIG. 10 is a block diagram schematically showing the configuration of the third embodiment of the control system according to the present invention. 図11は、システムワークROMに格納されるパスワード情報の一例を模式的に示す図である。FIG. 11 is a diagram schematically illustrating an example of password information stored in the system work ROM. 図12は、メモリカードのデータ構造を模式的に示す図である。FIG. 12 is a diagram schematically showing the data structure of the memory card. 図13は、メモリカードからプログラマブルコントローラへユーザファイルを転送する場合のパスワード照合処理の手順を示すフローチャートである。FIG. 13 is a flowchart showing a procedure of password verification processing when a user file is transferred from the memory card to the programmable controller. 図14は、プログラマブルコントローラからメモリカードへユーザファイルを転送する場合のパスワード照合処理の手順を示すフローチャートである。FIG. 14 is a flowchart showing a procedure of password verification processing when a user file is transferred from the programmable controller to the memory card.

符号の説明Explanation of symbols

10 ベースユニット
11 データバス
20 マスタプログラマブルコントローラ
21,41 MPU
22,42 システムプログラムROM
23,43 システムワークRAM
24,44 データバスインタフェース
25,45 ユーザプログラムRAM
26,46 ユーザデータRAM
27 メモリカードインタフェース
28,47 バス
29 システムワークROM
30 メモリカード
31 メモリカード装着スロット
40,40a,40b スレーブプログラマブルコントローラ
10 Base unit 11 Data bus 20 Master programmable controller 21, 41 MPU
22, 42 System program ROM
23, 43 System work RAM
24, 44 Data bus interface 25, 45 User program RAM
26, 46 User data RAM
27 Memory card interface 28, 47 Bus 29 System work ROM
30 Memory Card 31 Memory Card Installation Slot 40, 40a, 40b Slave Programmable Controller

Claims (3)

データバスを介して相互に接続され、ユーザファイルを記憶する内部記憶手段を有する複数の制御装置と、
ユーザファイルを記憶可能で、持ち運び可能な記憶媒体と、
を備える制御システムにおいて、
前記持ち運び可能な記憶媒体は、前記制御装置または前記持ち運び可能な記憶媒体に格納された転送対象となるユーザファイルをファイル名で指定する転送ファイル情報および前記ユーザファイルの転送先を含む転送用パラメータを記憶し、
前記複数の制御装置のうち1つの制御装置は、
前記持ち運び可能な記憶媒体にアクセスするインタフェース手段と、
前記転送用パラメータにしたがって、前記転送ファイル情報で指定されるユーザファイルを前記転送先に転送する転送手段と、
を備え
前記持ち運び可能な記憶媒体は、第1のパスワード情報をさらに記憶可能であり、
前記制御装置は、
第2のパスワード情報を記憶可能なパスワード情報記憶手段をさらに備え、
前記転送手段は、前記第1および第2のパスワード情報が記憶されているか確認するとともに、記憶されている場合には、前記第2のパスワード情報と、前記第1のパスワード情報とを照合し、前記第1および第2のパスワード情報のうち一方のパスワード情報しか記憶されていない場合に、前記パスワード情報が設定された前記持ち運び可能な記憶媒体または前記制御装置の前記内部記憶手段へのアクセス制限を行うことを特徴とすることを特徴とする制御システム。
A plurality of control devices connected to each other via a data bus and having internal storage means for storing user files;
A portable storage medium that can store user files;
In a control system comprising:
The portable storage medium includes transfer file information for designating a user file to be transferred stored in the control device or the portable storage medium by a file name and a transfer parameter including a transfer destination of the user file. Remember,
One control device among the plurality of control devices is:
Interface means for accessing the portable storage medium;
Transfer means for transferring a user file specified by the transfer file information to the transfer destination according to the transfer parameter;
Equipped with a,
The portable storage medium can further store first password information;
The controller is
Password information storage means capable of storing second password information;
The transfer means checks whether or not the first and second password information is stored, and if stored, compares the second password information with the first password information, When only one of the first and second password information is stored, access restriction to the portable storage medium in which the password information is set or the internal storage means of the control device is restricted. A control system characterized by performing .
前記転送用パラメータは、前記持ち運び可能な記憶媒体から前記複数の制御装置のうち所定の制御装置へのユーザファイルの転送か、あるいは前記複数の制御装置のうち所定の制御装置から前記持ち運び可能な記憶媒体へのユーザファイルの転送かを示す転送方向情報をさらに含むことを特徴とする請求項1に記載の制御システム。  The transfer parameter is a transfer of a user file from the portable storage medium to a predetermined control device among the plurality of control devices, or the portable storage from a predetermined control device among the plurality of control devices. The control system according to claim 1, further comprising transfer direction information indicating whether a user file is transferred to a medium. 前記転送用パラメータに含まれる前記ユーザファイルの転送先は、前記ユーザファイルの転送対象となる制御装置を示す第1の転送先情報と、前記転送対象となる制御装置内でのいずれの内部記憶手段に転送するのかを指定する第2の転送先情報と、を含むことを特徴とする請求項1に記載の制御システム。  The transfer destination of the user file included in the transfer parameter includes first transfer destination information indicating a control device to which the user file is to be transferred, and any internal storage means in the control device to be transferred. 2. The control system according to claim 1, further comprising: second transfer destination information that designates whether or not to transfer to the second transfer destination information.
JP2008509805A 2006-04-07 2007-03-29 Control system Expired - Fee Related JP4759048B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008509805A JP4759048B2 (en) 2006-04-07 2007-03-29 Control system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2006106533 2006-04-07
JP2006106533 2006-04-07
PCT/JP2007/056801 WO2007116798A1 (en) 2006-04-07 2007-03-29 Control system
JP2008509805A JP4759048B2 (en) 2006-04-07 2007-03-29 Control system

Publications (2)

Publication Number Publication Date
JPWO2007116798A1 JPWO2007116798A1 (en) 2009-08-20
JP4759048B2 true JP4759048B2 (en) 2011-08-31

Family

ID=38581092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008509805A Expired - Fee Related JP4759048B2 (en) 2006-04-07 2007-03-29 Control system

Country Status (2)

Country Link
JP (1) JP4759048B2 (en)
WO (1) WO2007116798A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102009019088A1 (en) * 2009-04-20 2010-11-11 Pilz Gmbh & Co. Kg Safety controller for controlling an automated system and method for creating a user program for a safety controller
JP5759885B2 (en) * 2011-12-21 2015-08-05 株式会社日立産機システム Programmable controller
JP5940419B2 (en) * 2012-09-14 2016-06-29 株式会社東芝 Programmable controller
JP6139386B2 (en) * 2013-11-27 2017-05-31 株式会社東芝 Programmable controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02127743A (en) * 1988-11-07 1990-05-16 Nec Corp Memory control system
JPH0816846B2 (en) * 1987-02-25 1996-02-21 オムロン株式会社 Programmable controller
JP2001342891A (en) * 2000-05-30 2001-12-14 Hino Motors Ltd Fuel supply amount control device
JP2005092676A (en) * 2003-09-19 2005-04-07 Omron Corp Programmable controller, unit, and method for editing parameter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816846B2 (en) * 1987-02-25 1996-02-21 オムロン株式会社 Programmable controller
JPH02127743A (en) * 1988-11-07 1990-05-16 Nec Corp Memory control system
JP2001342891A (en) * 2000-05-30 2001-12-14 Hino Motors Ltd Fuel supply amount control device
JP2005092676A (en) * 2003-09-19 2005-04-07 Omron Corp Programmable controller, unit, and method for editing parameter

Also Published As

Publication number Publication date
JPWO2007116798A1 (en) 2009-08-20
WO2007116798A1 (en) 2007-10-18

Similar Documents

Publication Publication Date Title
US7607177B2 (en) Secure compact flash
JP5454933B2 (en) Portable electronic device, IC card, and control method for portable electronic device
EP2377291B1 (en) Portable mobile communication device and method of controlling near field communication
JP4759048B2 (en) Control system
JP6284903B2 (en) COMMUNICATION DEVICE AND COMMUNICATION LIMIT PROGRAM
US8266713B2 (en) Method, system and controller for transmitting and dispatching data stream
JP2008015629A (en) Card type peripheral equipment and host device
US8171149B2 (en) Communication system, terminal device, and method of controlling terminal devices in communication system
JP5500332B2 (en) IC chip, information processing apparatus, software module control method, information processing system and method, and program
JP7020969B2 (en) Portable electronic devices and IC cards
WO2006006388A1 (en) Host device, storage device, and method for accessing storage device
JP4904966B2 (en) IC card with mode change function and IC card program
JP4840012B2 (en) IC card with mode change function and IC card program
JP5226383B2 (en) Microcomputer identification information management system and method
JP4463658B2 (en) Subordinate apparatus of information processing system, operation control program for subordinate apparatus, and operation control method for subordinate apparatus
JP7439847B2 (en) Electronic information storage medium, key data setting method, and program
JP4549731B2 (en) Multi-application IC card with command code that is commonly used by applications
JP2013191117A (en) Ic chip, atr response processing program, and atr response method
JP5932588B2 (en) IC card, portable electronic device, and IC card processing device
JP7397402B2 (en) Electronic information storage medium, data transmission method, and program
JP7042461B2 (en) Recording control system, control device, recording control method and recording medium
KR101980487B1 (en) Usb device for network security
JP2010186286A (en) Controller, host device, authentication information server, and network system
KR20190031947A (en) External storage device using beacon signal and storage managing method
JP6421648B2 (en) Security confirmation method for secure packet, UICC and computer program

Legal Events

Date Code Title Description
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: 20110531

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110603

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140610

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees