WO2013018219A1 - プログラム作成装置及びプログラマブルロジックコントローラ - Google Patents

プログラム作成装置及びプログラマブルロジックコントローラ Download PDF

Info

Publication number
WO2013018219A1
WO2013018219A1 PCT/JP2011/067804 JP2011067804W WO2013018219A1 WO 2013018219 A1 WO2013018219 A1 WO 2013018219A1 JP 2011067804 W JP2011067804 W JP 2011067804W WO 2013018219 A1 WO2013018219 A1 WO 2013018219A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
data
programmable logic
logic controller
editing
Prior art date
Application number
PCT/JP2011/067804
Other languages
English (en)
French (fr)
Inventor
和宏 中南
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to DE112011105475.0T priority Critical patent/DE112011105475B4/de
Priority to CN201180072741.5A priority patent/CN103733150B/zh
Priority to JP2013526698A priority patent/JP5730397B2/ja
Priority to KR1020137034151A priority patent/KR101513393B1/ko
Priority to PCT/JP2011/067804 priority patent/WO2013018219A1/ja
Priority to US14/117,535 priority patent/US9557727B2/en
Priority to TW100138449A priority patent/TWI452516B/zh
Publication of WO2013018219A1 publication Critical patent/WO2013018219A1/ja

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/056Programming the PLC
    • 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
    • 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/13172Remote programming from computer

Definitions

  • the present invention relates to a program simultaneous editing method in a case where a plurality of users simultaneously edit program parts for a certain programmable logic controller in a programmable logic controller system.
  • the programmable logic controller system includes a plurality of control devices such as a programmable logic controller, a communication control unit, and a data conversion unit as constituent devices.
  • control devices such as a programmable logic controller, a communication control unit, and a data conversion unit as constituent devices.
  • the types of data stored in a programmable logic controller include multiple program parts such as device memory allocation information, communication control unit communication settings, and setting information used in the data conversion unit. Relevant data exists. In the following description, data such as device memory allocation information and communication unit communication settings are also referred to as program parts.
  • lock information indicating whether editing is possible is added to each program part stored in the programmable logic controller so that multiple people can edit simultaneously, device memory allocation information, communication control unit communication settings, data For program parts such as setting information used in the conversion unit, control of whether or not editing is possible using the lock information is performed.
  • program parts such as device memory allocation information and communication control unit communication settings may be changed for each user when editing is started, not after editing is completed. I want to know. However, since the user can only grasp the contents of the change after the editing of the program part is completed, there is a problem that the rework due to the change of the program part occurs and the work efficiency is deteriorated.
  • the present invention has been made in view of the above, and obtains a program creation device and a programmable logic controller capable of suppressing rework and improving work efficiency when a program part is simultaneously edited by a plurality of persons. For the purpose.
  • the present invention edits and edits data of program parts of a programmable logic controller constituting a programmable logic controller system in which a plurality of users can edit program parts simultaneously.
  • the program creation device used to write the program part data to the programmable logic controller, and the program component data changed by editing is transmitted to another program creation device that is editing the program part data.
  • the program creation device can set the timing of transmitting program part data changed by editing to another program creation device that is editing the program part data for each program part. By performing fine control of simultaneous editing according to the property, it is possible to suppress rework in designing the programmable controller system.
  • FIG. 1 is a diagram showing a configuration of an embodiment of a program creation device and a programmable logic controller according to the present invention.
  • FIG. 2A is a diagram showing the configuration of the program part editing method setting unit.
  • FIG. 2B is a diagram showing the configuration of the program part editing method.
  • FIG. 3A is a diagram showing a configuration of simultaneous editing control information.
  • FIG. 3B is a diagram showing a configuration of simultaneous editing control information of one device.
  • FIG. 4 is a flowchart showing a processing flow of the data change monitoring unit.
  • FIG. 1 is a diagram showing a configuration of an embodiment of a program creation device and a programmable logic controller according to the present invention.
  • the programmable logic controller system 2 according to the present embodiment and the engineering tools 1 1 to 1 k (k is a natural number of 2 or more) as a program creation device are connected to each other via a communication medium 6 such as a network.
  • the programmable logic controller system 2 includes one programmable logic controller 3 serving as a master and (m-1) programmable logic controllers 4 serving as slaves (here, m is a natural number of 2 or more). They are connected via a bus 5. Note that the programmable logic controllers 4 2 to 4 m serving as slaves are not essential components for the programmable logic controller system 2. In other words, the programmable logic controller system 2 may be configured not to include the programmable logic controllers 4 2 to 4 m serving as slaves.
  • the programmable logic controller 3 serving as a master includes a data communication unit 21, a data update unit 22, and a data memory 23.
  • the data communication unit 21 includes a tool communication unit 21A and another component device communication unit 21B.
  • the tool communication unit 21A is a programmable logic controller 4 2 that becomes a slave via the program component 23A stored in the data memory 23 or the other component device communication unit 21B. to send - a 4 m program was acquired from the parts 23A 2 ⁇ 23A m to the requesting engineering tools 1 1 ⁇ 1 k.
  • the program parts 23A and 23A 2 to 23A m data (change contents) edited from the engineering tools 1 1 to 1 k and the simultaneous editing control information 23B are received.
  • the data update unit 22 includes a program component update unit 22A and a simultaneous editing control information update unit 22B.
  • the data memory 23 is a storage element such as a nonvolatile memory, and holds two types of information, that is, a program part 23A and simultaneous editing control information 23B. The simultaneous editing control information 23B will be described in detail later.
  • the engineering tool 1 w (w is a natural number of 1 ⁇ w ⁇ k) includes a communication unit 11 w , a data change monitoring unit 12 w , a program component editing method setting unit 13 w, and a program component editing unit 10 w .
  • the engineering tools 1 2 to 1 k have the same configuration as that of the engineering tool 11 1 although the internal configuration is not shown.
  • the communication unit 11 w performs data communication with the tool communication unit 21 ⁇ / b> A of the programmable logic controller 3.
  • Data exchanged by communication is a change in program parts and simultaneous editing control information (lock / unlock) of the programmable logic controller 3 as a master and the programmable logic controllers 4 2 to 4 m as slaves.
  • the data change monitoring unit 12 w monitors the user operation and data change on the program component editing unit 10 w , and the user operation content and the data change content via the communication unit 11 w as necessary. Notify the master programmable logic controller 3 and other engineering tools 1 1 to 1 k . The operation of the data change monitoring unit 12 w will be described later in detail.
  • the program component editing unit 10 w is a functional unit as a tool for actually performing editing of program component data of each device of the programmable logic controller system 2. That is, the program component editing unit 10 w allows the user to edit the program components 23A and 23A 2 to 23A m acquired by the communication unit 11 w from the programmable logic controller 3.
  • Program component editing unit 10 w is program parts 23A, when editing 23A 2 ⁇ 23A m, performs the control of the simultaneous editing by the lock according to the simultaneous editing control information 23B obtained from the programmable logic controller 3, known to this control technique Is applicable, and the description is omitted.
  • Data of the program components are edited in the editing unit 10 w program parts 23A, 23A 2 ⁇ 23A m are transmitted through the communication unit 11 w to the programmable logic controller 3 as a master.
  • FIG. 2A is a diagram showing a configuration of the program part editing method setting unit 13w .
  • the program part editing method setting unit 13 w is configured to program part 1 editing method 14 w1 to program part n editing method corresponding to each of program parts 1 to n (where n is a natural number of 2 or more).
  • 14 wn is a diagram showing a configuration of the program part x editing method 14 x (x is a natural number of 1 ⁇ x ⁇ n).
  • the program part x editing method 14 wx is composed of two types of information: advance notification presence / absence information 15 wx and editing method 16 wx .
  • Pre-notification presence / absence information 15 wx is information indicating whether or not to notify other users when the user tries to change the program part x.
  • the editing method 16 wx is information set for each of the program parts 1 to n.
  • the control method for simultaneous editing by lock or the editing of a plurality of users after data input is completed. This is information about which method to apply to the screen.
  • the method can be selected flexibly according to the type and nature of the data, improving work efficiency in designing the programmable logic controller system 2 and reworking it. Can be suppressed.
  • Changes that have been transmitted from the communication unit 11 w to the tool communication unit 21A is, the changes through other construction equipment communication unit 21B from the program component update unit 22A and simultaneous editing control information updating unit 22B to other programmable logic controller Send.
  • the programmable logic controller 3 serving as a master receives the program contents of all the programmable logic controllers existing in the programmable logic controller system 2 and the changed contents of the simultaneous editing control information in a unified manner, and performs transmission processing to other component devices. Can be implemented.
  • the simultaneous editing control of the plurality of programmable logic controllers 3 and 4 2 to 4 m in the programmable logic controller system 2 is centrally managed by one programmable logic controller 3, so that simultaneous editing by a plurality of people in one route is possible. It becomes possible to improve the work efficiency in the design of the programmable logic controller system 2 such that control becomes possible and there is no need to reconnect the cable.
  • the program component update unit 22A has a function of reflecting the program component change content received by the tool communication unit 21A. When changing the program part in its own controller, it is reflected in the program part 23A. When changing program parts of other programmable logic controllers (programmable logic controllers 4 2 to 4 m ), the program parts are transmitted to the other component device communication unit 21B.
  • the simultaneous editing control information updating unit 22B has a function of reflecting the change contents of the simultaneous editing control information received by the tool communication unit 21A.
  • the simultaneous editing control information updating unit 22B reflects the change contents of the simultaneous editing control information of all devices belonging to the programmable logic controller 2 in the simultaneous editing control information 23B.
  • FIG. 3A is a diagram showing a configuration of the simultaneous editing control information 23B.
  • the simultaneous editing control information 23 ⁇ / b> B holds simultaneous editing control information of all devices belonging to the programmable logic controller system 2.
  • the simultaneous editing control information 23B includes device 1 simultaneous editing control information 111 1 to device m simultaneous editing control information 111 m corresponding to each of a plurality of devices.
  • the device 1 simultaneous editing control information 111 1 is information related to the master programmable logic controller 3, and the device 2 simultaneous editing control information 111 2 to device m simultaneous editing control information 111 m are the slave programmable logic controller 4. Information about 2 to 4 m .
  • FIG. 3B is a diagram showing a configuration of simultaneous editing control information of one device. As shown in FIG.
  • the device y simultaneous editing control information 111 y (y is a natural number of 1 ⁇ y ⁇ m) corresponding to the device y is the program component 1 simultaneous editing control corresponding to a plurality of program components 1 to n.
  • the program part x simultaneous editing control information 112 yx is information indicating whether or not the program part x is locked.
  • the slave programmable logic controller 4 z (z is a natural number of 2 ⁇ z ⁇ m) will be described.
  • the programmable logic controller 4 z that is a slave includes a data communication unit 21 z , a data update unit 22 z, and a data memory 23 z , as in the programmable logic controller 3 that is a master.
  • the data communication unit 21 z includes another component device communication unit 21B z .
  • the data update unit 22 z includes a program component update unit 22A z .
  • the data memory 23 z includes a program part 23A z .
  • the other component device communication unit 21B z receives the program component change content from the programmable logic controller 3 serving as a master.
  • Program parts update unit 22A z reflects the program changes that received program part 23A z.
  • FIG. 4 is a flowchart showing the flow of processing of the data change monitoring unit 12w .
  • Data change monitoring unit 12 w is, the user is always monitoring whether or not to start the editing of some program components (step S401). At the timing when the editing of the program part is started, it is determined whether to notify in advance that the editing of the program part has started (step S402). Specifically, since an attribute (preliminary notification presence / absence information 15 wx ) indicating whether to notify in advance is given for each program component, whether to notify in advance is determined based on the information.
  • step S403 the communication unit 11 w, a request for pre-notification to another user (step S403).
  • the contents to be notified to other users include information for identifying the user who started editing and the engineering tool 1 w (user name, terminal ID of the engineering tool 1 w , etc.), and the name of the program component (data name) to be edited It is.
  • a program part edited by the user is controlled by a simultaneous editing control method by locking, or a method of reflecting it on the editing screens of a plurality of users after data input is completed. It is determined which one to use (step S404).
  • the control method for simultaneous editing by lock step S404 / control method for simultaneous editing by lock
  • the change contents of the simultaneous edit control information program component lock
  • the programmable logic controller 3 serving as a master
  • the data memory Control of simultaneous editing by locking based on the simultaneous editing control information 23B stored in 23 is executed (step S405). Since the control method using the lock in step S405 is an existing technique, a description thereof will be omitted.
  • step S404 In the case of a method of reflecting on the editing screens of a plurality of users after completion of data input (step S404 / method of reflecting on the editing screens of a plurality of users after completion of data input), data change is always monitored (step S406). If the data is changed (step S406 / Yes), the changed content is notified to other users (step S407).
  • the present embodiment when a program component of the programmable logic controller system 2 is edited simultaneously by a plurality of people, it is possible to grasp in advance that the program component may be changed, so that the programmable logic controller Since it is possible to suppress rework in the design of the system 2, work efficiency in designing the programmable logic controller system can be improved.
  • two different types of methods such as a control method for simultaneous editing by lock and a method for reflecting data on the editing screens of a plurality of users after completion of data input, can be flexibly combined to determine the type and nature of data.
  • simultaneous editing of a plurality of programmable logic controllers in a programmable logic controller system is centrally managed by one programmable logic controller, so that simultaneous editing by a plurality of people can be controlled by one path.
  • it is possible to improve work efficiency in designing the programmable logic controller system, such as eliminating the need to reconnect the cable.
  • the engineering tool can set both whether to notify in advance that the editing of the program part has been started and the timing for notifying other engineering tools of the data of the edited program part.
  • only one of them may be settable.
  • the program creation device and the programmable logic controller according to the present invention are useful in that rework can be suppressed and work efficiency can be improved when a program part is simultaneously edited by a plurality of persons.

Abstract

 複数のユーザが同時にプログラム部品(23A、23A~23A)を編集可能なプログラマブルロジックコントローラシステム(2)を構成するプログラマブルロジックコントローラ(3、4~4)のプログラム部品(23A、23A~23A)のデータを編集して、編集したプログラム部品(23A、23A~23A)のデータをプログラマブルロジックコントローラ(3、4~4)に書き込むために用いられるエンジニアリングツール(1)であって、編集によって変更したプログラム部品(23A、23A~23A)のデータを、プログラム部品(23A、23A~23A)のデータを編集中の他のエンジニアリングツール(1~1)に送信するタイミングを、プログラム部品(23A、23A~23A)ごとに設定するプログラム部品編集方式設定部(13)を備える。

Description

プログラム作成装置及びプログラマブルロジックコントローラ
 本発明は、プログラマブルロジックコントローラシステムにおいて、あるプログラマブルロジックコントローラに対して、複数のユーザが同時にプログラム部品を編集する場合のプログラム同時編集方式に関する。
 プログラマブルロジックコントローラシステムにおいて、あるプログラマブルロジックコントローラに対して、複数のユーザが同時にプログラム部品を編集する場合、プログラマブルロジックコントローラに格納されたプログラム部品ごとに編集の可否を示すロック情報を付加することにより、プログラム部品ごとに編集の可否を管理し、複数のユーザが同時にデータを編集することが可能である(特許文献1参照)。
 また、複数のユーザが同時にある対象機器に接続している場合、あるクライアント機器が共有データを登録すると、データを登録したクライアント機器を除く他のクライアント機器に対して、登録された内容を直ぐに反映することが可能である(特許文献2参照)。
特開2005-84733号公報 特開2008-210192号公報
 プログラマブルロジックコントローラシステムは、プログラマブルロジックコントローラ、通信制御ユニット、データ変換ユニットなど、複数の制御機器を構成機器として構成される。また、あるプログラマブルロジックコントローラに格納されるデータの種類としては、プログラム部品のほかに、デバイスメモリの割付情報、通信制御ユニットの通信設定、データ変換ユニットで使用する設定情報など、複数のプログラム部品に関係するデータが存在する。なお、以下の説明では、デバイスメモリの割付情報、通信ユニットの通信設定などのデータもプログラム部品と称する。
 プログラマブルロジックコントローラに格納されたプログラム部品ごとに編集の可否を示すロック情報を付加し、複数人が同時に編集可能とする方式を用いた場合、デバイスメモリの割付情報、通信制御ユニットの通信設定、データ変換ユニットで使用する設定情報などのプログラム部品についても、ロック情報を用いた編集可否の制御を実施することとなる。
 デバイスメモリの割付情報や通信制御ユニットの通信設定などのプログラム部品に対して、ロック情報を用いた編集可否の制御を実施した場合、あるユーザが編集している間はその他のユーザは編集できない。その結果、その他のユーザは、自身が編集中のプログラムに関係する可能性が大きいにもかかわらず、編集中のユーザがプログラマブルロジックコントローラに書き込んだ後にしか変更内容を把握できないため、少なからず手戻り(作業のやり直し)が発生し、作業効率が悪化する問題があった。
 また、プログラマブルロジックコントローラシステムにおいては、複数の制御機器が存在することが多い。従来の技術では、ある1台のプログラマブルロジックコントローラが全ての制御機器のプログラム部品の編集可否の制御を一元管理することはできなかった。その場合、プログラマブルロジックコントローラ単位でしかプログラム部品の編集可否を制御できないため、ユーザは制御機器ごとに接続し直す必要があるなど、作業効率が悪化する問題があった。
 また、デバイスメモリの割付情報や通信制御ユニットの通信設定などのプログラム部品は、各々のユーザにとっては編集が完了した後ではなく、編集を開始した時点で、変更される可能性がある旨を予め知っておきたい。しかし、ユーザは、プログラム部品の編集が完了した後に変更内容を把握することしかできないため、プログラム部品が変更されたことによる手戻りが発生し、作業効率が悪化する問題があった。
 本発明は、上記に鑑みてなされたものであって、プログラム部品を複数人で同時編集する際に、手戻りを抑止し、作業効率を向上させることのできるプログラム作成装置及びプログラマブルロジックコントローラを得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、複数のユーザが同時にプログラム部品を編集可能なプログラマブルロジックコントローラシステムを構成するプログラマブルロジックコントローラのプログラム部品のデータを編集して、編集したプログラム部品のデータをプログラマブルロジックコントローラに書き込むために用いられるプログラム作成装置であって、編集によって変更したプログラム部品のデータを、プログラム部品のデータを編集中の他のプログラム作成装置へ送信するタイミングを、プログラム部品ごとに設定するプログラム部品編集方式設定部を備えることを特徴とする。
 本発明にかかるプログラム作成装置は、編集によって変更したプログラム部品のデータを、プログラム部品のデータを編集中の他のプログラム作成装置へ送信するタイミングを、プログラム部品ごとに設定できるため、データの種類や性質に応じてきめ細かな同時編集の制御を実施することにより、プログラマブルコントローラシステムの設計における手戻りを抑止することが可能となるという効果を奏する。
図1は、本発明にかかるプログラム作成装置及びプログラマブルロジックコントローラの実施の形態の構成を示す図である。 図2Aは、プログラム部品編集方式設定部の構成を示す図である。 図2Bは、プログラム部品編集方式の構成を示す図である。 図3Aは、同時編集制御情報の構成を示す図である。 図3Bは、1台の機器の同時編集制御情報の構成を示す図である。 図4は、データ変更監視部の処理の流れを示すフローチャートである。
 以下に、本発明にかかるプログラム作成装置及びプログラマブルロジックコントローラの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態.
 図1は、本発明にかかるプログラム作成装置及びプログラマブルロジックコントローラの実施の形態の構成を示す図である。本実施の形態にかかるプログラマブルロジックコントローラシステム2とプログラム作成装置としてのエンジニアリングツール1~1(kは2以上の自然数)とは、ネットワークなどの通信媒体6を介して互いに接続されている。
 プログラマブルロジックコントローラシステム2は、マスタとなるプログラマブルロジックコントローラ3を1台、スレーブとなるプログラマブルロジックコントローラ4を(m-1)台(ここでは、mは2以上の自然数)備えており、これらはデータバス5を介して接続されている。なお、スレーブとなるプログラマブルロジックコントローラ4~4は、プログラマブルロジックコントローラシステム2に必須の構成ではない。すなわち、プログラマブルロジックコントローラシステム2は、スレーブとなるプログラマブルロジックコントローラ4~4を備えない構成とすることも可能である。
 マスタとなるプログラマブルロジックコントローラ3は、データ通信部21、データ更新部22及びデータメモリ23を有する。
 データ通信部21は、ツール通信部21Aと他構成機器通信部21Bとを備える。ツール通信部21Aは、エンジニアリングツール1~1からの要求に応じて、データメモリ23に記憶されているプログラム部品23Aや、他構成機器通信部21Bを介してスレーブとなるプログラマブルロジックコントローラ4~4から取得したプログラム部品23A~23Aを要求元のエンジニアリングツール1~1へ送信する。また、エンジニアリングツール1~1から編集されたプログラム部品23A、23A~23Aのデータ(変更内容)や同時編集制御情報23Bを受信する。データ更新部22は、プログラム部品更新部22Aと同時編集制御情報更新部22Bとを備える。データメモリ23は、不揮発メモリなどの記憶素子であり、プログラム部品23Aと同時編集制御情報23Bとの2種の情報を保持する。同時編集制御情報23Bについては後段で詳細に説明する。
 エンジニアリングツール1(wは、1≦w≦kの自然数)は、通信部11、データ変更監視部12、プログラム部品編集方式設定部13及びプログラム部品編集部10を備える。なお、エンジニアリングツール1~1については、内部の構成の図示は省略しているが、エンジニアリングツール1と同様の構成を有する。
 通信部11は、プログラマブルロジックコントローラ3のツール通信部21Aとデータ通信を実施する。通信によってやりとりするデータは、マスタとなるプログラマブルロジックコントローラ3及びスレーブとなるプログラマブルロジックコントローラ4~4のプログラム部品や同時編集制御情報(ロック・アンロック)の変更内容である。
 データ変更監視部12は、プログラム部品編集部10上のユーザの操作、及びデータの変更を監視し、ユーザの操作内容、データの変更内容を必要に応じて通信部11を経由し、マスタとなるプログラマブルロジックコントローラ3や他のエンジニアリングツール1~1に通知する。データ変更監視部12の動作については後段で詳細に説明する。
 プログラム部品編集部10は、プログラマブルロジックコントローラシステム2の各機器のプログラム部品のデータの編集作業を実際に行うためのツールとしての機能部である。すなわち、プログラム部品編集部10は、通信部11がプログラマブルロジックコントローラ3から取得したプログラム部品23A、23A~23Aの編集をユーザに行わせる。プログラム部品編集部10は、プログラム部品23A、23A~23Aの編集にあたって、プログラマブルロジックコントローラ3から取得した同時編集制御情報23Bに従ってロックによる同時編集の制御を行うが、この制御には公知技術を適用可能であるため、説明は省略する。プログラム部品編集部10において編集されたプログラム部品23A、23A~23Aのデータは、通信部11を介してマスタとなるプログラマブルロジックコントローラ3へ送信される。
 図2Aは、プログラム部品編集方式設定部13の構成を示す図である。プログラム部品編集方式設定部13は、図2Aに示すように、プログラム部品1~n(ここではnは2以上の自然数)の各々に対応するプログラム部品1編集方式14w1~プログラム部品n編集方式14wnを備えて構成される。図2Bは、プログラム部品x編集方式14(xは、1≦x≦nの自然数)の構成を示す図である。図2Bに示すように、プログラム部品x編集方式14wxは、事前通知有無情報15wxと編集方式16wxとの2種の情報から構成される。
 事前通知有無情報15wxは、ユーザがプログラム部品xを変更しようとする際に、他のユーザへその旨を通知するかどうかの情報である。事前通知有無情報15wxを設けることにより、複数人で同時にプログラマブルロジックコントローラシステム2のプログラム部品を編集する場合に、内容が変更される可能性があることを事前に把握可能となるため、ユーザのプログラミング時の手戻りを抑止できる。
 また、編集方式16wxは、プログラム部品1~プログラム部品nの各々に設定する情報で、プログラム部品xを編集する際、ロックによる同時編集の制御方式、またはデータの入力完了後に複数のユーザの編集画面に反映させる方式のどちらの方式を適用するかの情報である。
 2種の異なる方式をプログラム部品ごとに設定可能にすることにより、データの種類や性質に応じて柔軟に方式を選択できるため、プログラマブルロジックコントローラシステム2の設計における作業効率を向上させるとともに、手戻りを抑制することができる。
 通信部11からツール通信部21Aに送信された変更内容は、プログラム部品更新部22Aや同時編集制御情報更新部22Bから他構成機器通信部21Bを経由して他のプログラマブルロジックコントローラへ変更内容を送信する。これにより、マスタとなるプログラマブルロジックコントローラ3が、プログラマブルロジックコントローラシステム2に存在するすべてのプログラマブルロジックコントローラのプログラム部品や同時編集制御情報の変更内容を一元的に受信し、他構成機器に送信処理を実施することができる。つまり、プログラマブルロジックコントローラシステム2中の複数のプログラマブルロジックコントローラ3、4~4の同時編集の制御を1台のプログラマブルロジックコントローラ3で一元管理することにより、一経路で複数人による同時編集の制御が可能となり、ケーブルを接続し直す必要が無くなるなど、プログラマブルロジックコントローラシステム2の設計における作業効率を向上させることが可能となる。
 プログラム部品更新部22Aは、ツール通信部21Aが受信したプログラム部品変更内容を反映させる機能をもつ。自コントローラ内のプログラム部品を変更する場合は、プログラム部品23Aに反映する。他のプログラマブルロジックコントローラ(プログラマブルロジックコントローラ4~4)のプログラム部品を変更する場合は、他構成機器通信部21Bへ伝達する。
 同時編集制御情報更新部22Bは、ツール通信部21Aが受信した同時編集制御情報の変更内容を反映させる機能をもつ。同時編集制御情報更新部22Bは、プログラマブルロジックコントローラ2に属する全ての機器の同時編集制御情報の変更内容を同時編集制御情報23Bに反映させる。
 図3Aは、同時編集制御情報23Bの構成を示す図である。同時編集制御情報23Bは、プログラマブルロジックコントローラシステム2に属する全ての機器の同時編集制御情報を保持する。図3Aに示すように、同時編集制御情報23Bは、複数の機器の各々に対応する機器1同時編集制御情報111~機器m同時編集制御情報111から構成される。なお、機器1同時編集制御情報111は、マスタとなるプログラマブルロジックコントローラ3に関する情報であり、機器2同時編集制御情報111~機器m同時編集制御情報111は、スレーブとなるプログラマブルロジックコントローラ4~4に関する情報である。図3Bは、1台の機器の同時編集制御情報の構成を示す図である。図3Bに示すように、機器yに対応する機器y同時編集制御情報111(yは、1≦y≦mの自然数)は、複数のプログラム部品1~nに対応するプログラム部品1同時編集制御情報112y1~プログラム部品n同時編集制御情報112ymから構成される。プログラム部品x同時編集制御情報112yxは、プログラム部品xがロックされているか否かを示す情報である。
 スレーブとなるプログラマブルロジックコントローラ4(zは、2≦z≦mの自然数)について説明する。スレーブとなるプログラマブルロジックコントローラ4は、マスタとなるプログラマブルロジックコントローラ3と同様にデータ通信部21、データ更新部22及びデータメモリ23を備える。データ通信部21は、他構成機器通信部21Bを備える。また、データ更新部22は、プログラム部品更新部22Aを備える。さらに、データメモリ23は、プログラム部品23Aを備える。
 他構成機器通信部21Bは、マスタとなるプログラマブルロジックコントローラ3からプログラム部品変更内容を受信する。プログラム部品更新部22Aは、受信したプログラム変更内容をプログラム部品23Aに反映する。
 データ変更監視部12の処理内容について、図4を用いて詳細に説明する。図4は、データ変更監視部12の処理の流れを示すフローチャートである。データ変更監視部12は、ユーザが何らかのプログラム部品の編集を開始したかどうかを常に監視している(ステップS401)。プログラム部品の編集を開始したタイミングで、プログラム部品の編集が開始された旨を事前通知するかどうかを決定する(ステップS402)。具体的には、プログラム部品ごとに、事前通知するかどうかの属性(事前通知有無情報15wx)が付与されているため、その情報に基づき事前通知するかを決定する。事前通知する場合は(ステップS402/Yes)、通信部11に対して、他のユーザへ事前通知を依頼する(ステップS403)。他のユーザに通知する内容は、編集を開始したユーザやエンジニアリングツール1を識別するための情報(ユーザ名やエンジニアリングツール1の端末IDなど)及び編集対象とするプログラム部品名称(データ名)である。
 次に、プログラム部品ごとに付与された編集方式16wxを用いて、ユーザが編集するプログラム部品に関して、ロックによる同時編集の制御方式か、データ入力完了後に複数のユーザの編集画面に反映させる方式のどちらを用いるかを判定する(ステップS404)。ロックによる同時編集の制御方式の場合は(ステップS404/ロックによる同時編集の制御方式)、同時編集制御情報の変更内容(プログラム部品のロック)をマスタとなるプログラマブルロジックコントローラ3へ送信し、データメモリ23に記憶された同時編集制御情報23Bに基づいたロックによる同時編集の制御を実施する(ステップS405)。ステップS405におけるロックによる制御方式は、既存の技術のため、説明は省略する。データの入力完了後に複数のユーザの編集画面に反映させる方式の場合は(ステップS404/データの入力完了後に複数のユーザの編集画面に反映させる方式)、データの変更を常に監視し(ステップS406)、データが変更されれば(ステップS406/Yes)、変更内容を他のユーザに通知する(ステップS407)。
 本実施の形態によれば、複数人で同時にプログラマブルロジックコントローラシステム2のプログラム部品を編集する場合に、プログラム部品が変更される可能性があることを事前に把握可能とすることで、プログラマブルロジックコントローラシステム2の設計に置ける手戻りを抑制することが可能となるため、プログラマブルロジックコントローラシステムの設計における作業効率を向上させることができる。
 また、本実施の形態によれば、ロックによる同時編集の制御方式、及びデータの入力完了後に複数のユーザの編集画面に反映させる方式といった異なる2種の方式を柔軟に組み合わせ、データの種類や性質に応じてきめ細かな同時編集の制御を実施することにより、プログラマブルロジックコントローラシステムの設計における手戻りを抑止することが可能となるため、ユーザの作業効率を向上させることができる。
 さらに、本実施の形態によれば、プログラマブルロジックコントローラシステム中の複数のプログラマブルロジックコントローラの同時編集を1台のプログラマブルロジックコントローラで一元管理することにより、一経路で複数人による同時編集の制御が可能となり、ケーブルを接続し直す必要が無くなるなど、プログラマブルロジックコントローラシステムの設計における作業効率を向上させることが可能である。
 なお、上記実施の形態では、エンジニアリングツールは、プログラム部品の編集が開始された旨を事前通知するか否かと、編集したプログラム部品のデータを他のエンジニアリングツールへ通知するタイミングとの両方を設定可能である場合を例としたが、いずれか片方のみが設定可能であっても良い。
 以上のように、本発明にかかるプログラム作成装置及びプログラマブルロジックコントローラはプログラム部品を複数人で同時編集する際に、手戻りを抑止し、作業効率を向上させることのできる点で有用である。
 1~1 エンジニアリングツール
 2 プログラマブルロジックコントローラシステム
 3 プログラマブルロジックコントローラ(マスタ)
 4,4 プログラマブルロジックコントローラ(スレーブ)
 5 データバス
 6 通信媒体
 10 プログラム部品編集部
 11 通信部
 12 データ変更監視部
 13,13 プログラム部品編集方式設定部
 14wx プログラム部品x編集方式
 15wx 事前通知有無情報
 16wx 編集方式
 21 データ通信部
 21A ツール通信部
 21B 他構成機器通信部
 22 データ更新部
 22A プログラム部品更新部
 22B 同時編集制御情報更新部
 23 データメモリ
 23A プログラム部品
 23B 同時編集制御情報
 111 機器y同時編集制御情報
 112yn プログラム部品n同時編集制御情報

Claims (5)

  1.  複数のユーザが同時にプログラム部品を編集可能なプログラマブルロジックコントローラシステムを構成するプログラマブルロジックコントローラの前記プログラム部品のデータを編集して、該編集した前記プログラム部品のデータを前記プログラマブルロジックコントローラに書き込むために用いられるプログラム作成装置であって、
     前記編集によって変更した前記プログラム部品のデータを、該プログラム部品のデータを編集中の他のプログラム作成装置へ送信するタイミングを、前記プログラム部品ごとに設定するプログラム部品編集方式設定部を備えることを特徴とするプログラム作成装置。
  2.  前記プログラム部品編集方式設定部は、前記変更したプログラム部品のデータを前記他のプログラム作成装置へ送信するタイミングを、前記プログラム部品のデータが変更した時点と、前記変更したプログラム部品のデータを前記プログラマブルロジックコントローラに書き込んだ時点とのいずれかに設定することを特徴とする請求項1に記載のプログラム作成装置。
  3.  複数のユーザが同時にプログラム部品を編集可能なプログラマブルロジックコントローラシステムを構成するプログラマブルロジックコントローラの前記プログラム部品のデータを編集して、該編集したプログラム部品のデータを前記プログラマブルロジックコントローラに書き込むために用いられるプログラム作成装置であって、
     前記編集を開始したことを他のプログラム作成装置に通知するデータ変更監視部を有することを特徴とするプログラム作成装置。
  4.  前記データ変更監視部は、前記編集の対象とするプログラム部品の名称と、自装置の識別情報とを、前記他のプログラム作成装置に通知することを特徴とする請求項3記載のプログラム作成装置。
  5.  他のプログラマブルロジックコントローラと組み合わされることによって、前記他のプログラマブルロジックコントローラ及び自プログラマブルロジックコントローラの各プログラム部品の各々の編集を行う複数のプログラム作成装置が同時に前記プログラム部品を編集可能なプログラマブルロジックコントローラシステムを構成するプログラマブルロジックコントローラであって、
     前記プログラム部品のデータ及び該プログラム部品が編集中であるか否かを示す同時編集制御情報を記憶するデータメモリと、
     前記複数のプログラム作成装置のいずれかからの要求に応じて、要求された前記プログラム部品のデータ及び該プログラム部品が編集中であるか否かを示す同時編集制御情報を前記データメモリから読み出して送信し、かつ、要求元の前記プログラム作成装置から、前記プログラム部品のデータ及び前記同時編集制御情報の各々の前記編集によって変更されたデータを受信するツール通信部と、
     前記ツール通信部が受信した前記プログラム部品のデータ及び前記同時編集制御情報を前記データメモリに記憶させる手段と、
     前記他のプログラマブルロジックコントローラのプログラム部品のデータ及び前記同時編集制御情報を、前記他のプログラマブルコントローラに送信する他構成機器通信部と、
     を備えることを特徴とするプログラマブルロジックコントローラ。
PCT/JP2011/067804 2011-08-03 2011-08-03 プログラム作成装置及びプログラマブルロジックコントローラ WO2013018219A1 (ja)

Priority Applications (7)

Application Number Priority Date Filing Date Title
DE112011105475.0T DE112011105475B4 (de) 2011-08-03 2011-08-03 Programmierbare Logiksteuerung
CN201180072741.5A CN103733150B (zh) 2011-08-03 2011-08-03 程序生成装置及可编程逻辑控制器
JP2013526698A JP5730397B2 (ja) 2011-08-03 2011-08-03 プログラム作成装置及びプログラマブルロジックコントローラ
KR1020137034151A KR101513393B1 (ko) 2011-08-03 2011-08-03 프로그램 작성 장치 및 프로그래머블 로직 컨트롤러
PCT/JP2011/067804 WO2013018219A1 (ja) 2011-08-03 2011-08-03 プログラム作成装置及びプログラマブルロジックコントローラ
US14/117,535 US9557727B2 (en) 2011-08-03 2011-08-03 Program creation device and programmable logic controller
TW100138449A TWI452516B (zh) 2011-08-03 2011-10-24 程式創作裝置及可程式邏輯控制器

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/067804 WO2013018219A1 (ja) 2011-08-03 2011-08-03 プログラム作成装置及びプログラマブルロジックコントローラ

Publications (1)

Publication Number Publication Date
WO2013018219A1 true WO2013018219A1 (ja) 2013-02-07

Family

ID=47628781

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/067804 WO2013018219A1 (ja) 2011-08-03 2011-08-03 プログラム作成装置及びプログラマブルロジックコントローラ

Country Status (7)

Country Link
US (1) US9557727B2 (ja)
JP (1) JP5730397B2 (ja)
KR (1) KR101513393B1 (ja)
CN (1) CN103733150B (ja)
DE (1) DE112011105475B4 (ja)
TW (1) TWI452516B (ja)
WO (1) WO2013018219A1 (ja)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6161835B2 (ja) * 2015-04-01 2017-07-12 三菱電機株式会社 システム開発装置、プログラム開発方法および開発プログラム
JP6521759B2 (ja) * 2015-06-22 2019-05-29 アズビル株式会社 監視システム及びエンジニアリングツール
EP3742242B1 (en) * 2019-05-23 2023-10-04 CODESYS Holding GmbH Distributing source code in an industrial control environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04293123A (ja) * 1991-03-20 1992-10-16 Fujitsu Ltd ファイル編集装置
JPH08202415A (ja) * 1995-01-23 1996-08-09 Yaskawa Electric Corp プログラミング装置のプログラム更新検出方法
JP2000322111A (ja) * 1999-05-07 2000-11-24 Mitsubishi Electric Corp プログラマブルコントローラ用プログラミングシステム、プログラミング装置、管理装置およびプログラミング方法
JP2008210192A (ja) * 2007-02-27 2008-09-11 Fuji Xerox Co Ltd 端末装置、及びプログラム
WO2009158108A2 (en) * 2008-06-25 2009-12-30 Microsoft Corporation Structured coauthoring

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0612310A (ja) * 1992-06-25 1994-01-21 Mitsubishi Electric Corp ファイル同時編集装置
JPH1011115A (ja) 1996-06-27 1998-01-16 Shimadzu Corp 分散形制御装置
JPH1127294A (ja) 1997-07-08 1999-01-29 Lintec Corp 電子掲示板システム
JPH1185487A (ja) 1997-09-03 1999-03-30 Shinko Electric Co Ltd プログラム編集装置
JPH11306173A (ja) 1998-04-17 1999-11-05 Nec Corp 共同作業支援システム及びプログラムを記録した機械読み取り可能な記録媒体
US7194489B2 (en) * 1998-09-28 2007-03-20 Bentley Systems Incorporated System, method and computer program product for collaborative engineering using component and file oriented tools
US6505341B1 (en) 1998-11-10 2003-01-07 Scientronix, Inc. System and method for programming a logic control unit
US20030061349A1 (en) * 2001-09-24 2003-03-27 George Lo Method and system for collaboratively developing programming code for programmable controllers
CN1781063A (zh) * 2003-02-26 2006-05-31 西门子能量及自动化公司 具有线性频率变化的可编程逻辑控制器的脉冲输出功能
JP2005084733A (ja) 2003-09-04 2005-03-31 Mitsubishi Electric Corp プログラム管理システム
JP2005301838A (ja) 2004-04-14 2005-10-27 Sharp Corp 情報処理装置,情報処理システム,ファイル同時編集方法,及びファイル同時編集プログラム
TW200608228A (en) * 2004-08-20 2006-03-01 Delta Electronics Inc Program editing system and method thereof for a programmable logic controller
JP2006277435A (ja) 2005-03-30 2006-10-12 Hitachi Software Eng Co Ltd ソースファイルバージョン管理システム
JP4822905B2 (ja) * 2006-03-31 2011-11-24 富士通株式会社 ブリッジ装置、ブリッジ装置における制御方法、及び制御プログラム
US8407670B2 (en) * 2006-06-02 2013-03-26 Microsoft Corporation Collaborative code conflict detection, notification and resolution
RU2417391C2 (ru) * 2006-08-24 2011-04-27 Сименс Энерджи Энд Отомейшн, Инк. Устройства, системы и способы конфигурирования программируемого логического контроллера
JP2009140443A (ja) 2007-12-11 2009-06-25 Meidensha Corp ソフトウェア開発支援システム、排他制御方法およびプログラム
JP2010143111A (ja) * 2008-12-19 2010-07-01 Ricoh Co Ltd 画像処理装置、データ設定装置、画像処理装置のデータ設定方法およびプログラム
US8448076B2 (en) * 2009-04-27 2013-05-21 Fisher-Rosemount Systems, Inc. Configuring animations and events for operator interface displays in a process control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04293123A (ja) * 1991-03-20 1992-10-16 Fujitsu Ltd ファイル編集装置
JPH08202415A (ja) * 1995-01-23 1996-08-09 Yaskawa Electric Corp プログラミング装置のプログラム更新検出方法
JP2000322111A (ja) * 1999-05-07 2000-11-24 Mitsubishi Electric Corp プログラマブルコントローラ用プログラミングシステム、プログラミング装置、管理装置およびプログラミング方法
JP2008210192A (ja) * 2007-02-27 2008-09-11 Fuji Xerox Co Ltd 端末装置、及びプログラム
WO2009158108A2 (en) * 2008-06-25 2009-12-30 Microsoft Corporation Structured coauthoring

Also Published As

Publication number Publication date
US9557727B2 (en) 2017-01-31
CN103733150B (zh) 2016-04-20
JP5730397B2 (ja) 2015-06-10
TWI452516B (zh) 2014-09-11
KR101513393B1 (ko) 2015-04-17
JPWO2013018219A1 (ja) 2015-03-05
US20140228984A1 (en) 2014-08-14
CN103733150A (zh) 2014-04-16
TW201308202A (zh) 2013-02-16
KR20140019842A (ko) 2014-02-17
DE112011105475B4 (de) 2016-09-22
DE112011105475T5 (de) 2014-04-17

Similar Documents

Publication Publication Date Title
US8442958B2 (en) Server change management
JP6289642B2 (ja) ユーザグループ間で文書共有を実施するための方法及び装置
US9521187B2 (en) Managed filed transfer utilizing dynamic horizontal and vertical scaling
CN101815005B (zh) 网络设备、系统及网络管理方法
JP2010141795A (ja) ネットワークシステム、管理サーバ及び設定スケジューリング方法
JP5730397B2 (ja) プログラム作成装置及びプログラマブルロジックコントローラ
US10496454B2 (en) Transforming plug-in application recipe variables
CN106537368A (zh) 移动设备管理代理器
CN103914286A (zh) 用户界面中标签页的管理方法和管理器
US20100217423A1 (en) Method for Providing Functions in an Industrial Automation System, Control Program and Industrial Automation System
JP6515052B2 (ja) 通信装置、通信システム、通信方法およびプログラム
JP2013020440A (ja) ソフトウェアのライセンス管理システム
US10929326B2 (en) Firm channel paths
EP3719646B1 (en) Method for communicating in a network-distributed process control system and network-distributed process control system
CN111352944B (zh) 数据处理方法、装置、电子设备与存储介质
JP5247750B2 (ja) プログラムコンポーネントコンテナ装置
CN105763532A (zh) 一种登录虚拟桌面的方法及装置
JP2019204561A (ja) 清掃作業管理サーバ、清掃作業管理システム、その制御方法とプログラム
JP6141542B2 (ja) 制御システム
JP2014154149A (ja) リモート制御に対する管理システム及び管理方法
JP2011008361A (ja) 機器管理装置、機器管理システム、機器設定方法、機器設定プログラム、及びそのプログラムを記録した記録媒体
WO2011036616A1 (en) A method and a system for providing a deployment lifecycle management of cryptographic objects
JP2013246569A (ja) ラベル管理支援装置またはラベル管理支援方法
CN115543684A (zh) 双机热备方法及电子设备
CN114462005A (zh) 工程组态数据访问权限控制方法、装置、设备及介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180072741.5

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11870376

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013526698

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 14117535

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20137034151

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1120111054750

Country of ref document: DE

Ref document number: 112011105475

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11870376

Country of ref document: EP

Kind code of ref document: A1